Open carmenfdezb opened 7 years ago
Hi all, I have the same issue and frequenting xda forum I found out many people having the same problem (https://forum.xda-developers.com/oneplus-x/development/unofficial-twrp-3-0-2-0-recovery-onyx-t3471584).
Installing twrp-3.0.3-0-onyx.img don't help.
Another one with the same problem here. It seems (as written in the forum links above) that the number build differences are the main problem. (ONE E1003_14_161107 vs ONE E1003_15_161107)
As a-l-e-it wrote in the thread linked under me, he found out that there are differences between old and new number builds here: https://forum.xda-developers.com/showpost.php?p=70301747&postcount=144
Is it possible to do something with that information?
Seems that the kernel needs to be patched to add emmc5 support. When i do a dmsg in the terminal i get
mmc0: unrecognised EXT_CSD revision 8
mmc0: Error -22 whilst initialising MMC card
Traced it back to /drivers/mmc/core/mmc.c where the latest revision is 4.5
Hi @ChzeRub!! Do you have an OnePlus X with build number '15'? Do you know how can we solve this problem?
https://github.com/NachiketNamjoshi/BlackReactor_onyx/blob/BR-TWRP/drivers/mmc/core/mmc.c#L360-L365. I believe this is the culprit . It should be changed to
if (card->ext_csd.rev > 9) {
pr_err("%s: unrecognised EXT_CSD revision %d\n",
mmc_hostname(card->host), card->ext_csd.rev);
err = -EINVAL;
goto out;
}
or plainly removed
Can you submit a patchset to the android_bootable_recovery project at https://gerrit.omnirom.org?
I submitted a patch here https://github.com/NachiketNamjoshi/BlackReactor_onyx/commit/ffe096e0c5e8a5cc23dea8fc4be859ee5deed96c .
We require it to be sent and reviewed at our gerrit instance. Thank for your attention to this.
On Sat, Feb 25, 2017 at 2:17 PM, ChzeRub notifications@github.com wrote:
I submitted a patch here NachiketNamjoshi/BlackReactor_onyx@ffe096e https://github.com/NachiketNamjoshi/BlackReactor_onyx/commit/ffe096e0c5e8a5cc23dea8fc4be859ee5deed96c .
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/TeamWin/android_device_oneplus_onyx/issues/10#issuecomment-282505818, or mute the thread https://github.com/notifications/unsubscribe-auth/AKt1bRSi6moxrNN-TMgyoWWuVZ-lC1khks5rgH5fgaJpZM4LVYvh .
I uploaded a built twrp with the kernel patch above. You can find it here
Did you push it to the project on gerrit.twrp.me and add me as a reviewer?
On Sun, Feb 26, 2017 at 10:37 AM, ChzeRub notifications@github.com wrote:
I uploaded a built twrp with the kernel patch above. You can find it here: https://forum.xda-developers.com/oneplus-x/help/twrp-access-internal-storage-t3513748/page11
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/TeamWin/android_device_oneplus_onyx/issues/10#issuecomment-282564227, or mute the thread https://github.com/notifications/unsubscribe-auth/AKt1bR2yQvYRSSDc1wo9EeDrQXPArinsks5rgZxAgaJpZM4LVYvh .
It wasn't an issue with twrp. Just the kernel source for the oneplus x. I used This kernel source to build with the above patch. I haven't commited a patch there yet.
Has anyone informed the maintainer: http://forum.xda-developers.com/oneplus-x/development/unofficial-twrp-3-0-2-0-recovery-onyx-t3471584
I just submitted the patch to lineage os onyx kernel and i submitted a patch a yesterday to the maintainers kernel. It's up to him to get a new version online on the official twrp website. In the meantime you can use the twrp build i posted on xda.
So I know this is an old issue but it's still open and it seems to be affecting me. If I flash twrp-3.2.1-0-onyx.img, I can't access any storage in recovery, but if I flash 3.1.1-1, it works fine. Blu_spark v41 behaves the same, no access to any storage.
edit: I found a version that works, if anyone else is affected: https://forum.xda-developers.com/oneplus-x/orig-development/recovery-twrp-r1-03-05-t3600887
I've installed twrp-3.0.2-0-onyx in my phone using 'fastboot flash recovery'.
After using 'fastboot boot ', I enter TWRP, but I cannot access to internal memory.
I can't do anything because all the storages are 0 Mb, and there are mounting errors:
If I power off my phone, TWRP shows 'No OS installed':
If I turn on my phone and then reboot to recovery, TWRP isn't installed and Oxygen Recovery is back.
I was testing all versions of TWRP, downloaded from https://dl.twrp.me/onyx/, but none seems work.
For more info: http://forum.xda-developers.com/oneplus-x/help/twrp-access-internal-storage-t3513748
Phone info: