Updated Working twrp and decrypt steps for hannah & nora - Moto E5 Guides, News, & Discussion

hey guys i finally got my twrp back up and running here it is and i fixed format issue it had also supports f2fs now which is what stock uses and added a couple extra parititons it mounts and backs up
use cmd to flash twrp:
fastboot flash recovery updated-hannah-twrp-2019.img
hannah twrp:
https://drive.google.com/file/d/1ahEDJRaW6ZbpF7EgokQtQ6TEJ8yBUa9d/view?usp=drivesdk
cmd for nora:
fastboot flash recovery nora-twrp.img
nora twrp:
https://drive.google.com/file/d/12IPnevc7si2sNpxChMtPo5JJgwY4DJXh/view?usp=drivesdk
Sry i went MIA had alot happen lately so anyways im back here u go
for decryption patch a backed up boot.img with magisk beta both preserve boxes unchecked then flash in twrp as boot.img and flash zip below thanks @whodat711 for zip
https://drive.google.com/file/d/1-C4-ktJmW_oeyP1f5SAPGy3CX90mDuts/view?usp=drivesdk
then format data not wipe but format data button then type yes and press back all the way to main menu then flash masgisk 18.0.zip then reboot and it will not encrypt and u will have to start over as if phone is brand new ie. setting up google but enjoy ur decrypted e5+......
1.boot twrp and backup boot.img
2.make patched boot.img with magisk all perserve boxes unchecked while making it with magisk manager
3.flash twrp
4.flash patched boot.img and decryption zip from third link in post
5.format button in wipe section
6.flash magisk
7.reboot

Stock ROM MetroPcs xT1927-4 Hannah_T running good
skullkid383 said:
First and foremost I want to thank everyone in the twrp building group on telegram and @TwrpBuilder for the amazing guide on how to build twrp and guidance they gave to build this twrp
https://github.com/TwrpBuilder/twrpbuilder_tree_generator/wiki
So here is the twrp I built
https://drive.google.com/file/d/1aNTE6iAQQ4Ty1Zr1oM9ADb7xX_slrTzt/view?usp=drivesdk
After u flash twrp u need to edit fstab to disable force encryption then wipe phone flash latest beta magisk and ur all set
Refer to this guide for
Force encryption fstab file and how to disable force encryption thanks for this @CodyF86
https://forum.xda-developers.com/moto-e5/development/recovery-twrp-moto-e-5-play-james-t3796323
Click to expand...
Click to collapse
just installed your Hannah-twrp.img and it booted just fine everything works thanks

Can you correct me if I'm wrong. So once I finish this process. I can go in and out of recovery with out computer. Also Then I can put apps directly into priv system with correct read and write,plus it will stick on reboots. Just wondering to .If this means I can flash custom kernals and roms with no worries other than normal issues. Thanks for your work.

Thank you so much for this!

jokono421 said:
Can you correct me if I'm wrong. So once I finish this process. I can go in and out of recovery with out computer. Also Then I can put apps directly into priv system with correct read and write,plus it will stick on reboots. Just wondering to .If this means I can flash custom kernals and roms with no worries other than normal issues. Thanks for your work.
Click to expand...
Click to collapse
Yes sir

jokono421 said:
Can you correct me if I'm wrong. So once I finish this process. I can go in and out of recovery with out computer. Also Then I can put apps directly into priv system with correct read and write,plus it will stick on reboots. Just wondering to .If this means I can flash custom kernals and roms with no worries other than normal issues.
Click to expand...
Click to collapse
So you can actually boot from device now yes awesome ...

Keeps trying to force encryption but fails when flashing a gsi.
Is there a way around this? No verity for this device?

JimmyJurner said:
Keeps trying to force encryption but fails when flashing a gsi.
Is there a way around this? No verity for this device?
Click to expand...
Click to collapse
Are u on stock with root I got easy solution for u to follow if fstab guide above is to hard

Hey skullkid383, thankyou for your work on this!! Twrp flashed and works NP. But I cannot decrypt. Following steps, the step you mount before pushing in twrp adb does not work, no such folder. The push goes thru fine although the mount did not. Format data worked, I can see internal storage and move things to and from PC through tether. But when I reboot its sticks on moto screen. When I flash back to patched boot for magisk the is boots to an "decryption unsuccessful" msg and asks me to reset the phone endlessly. Any help pls?

Project89Odin said:
Hey skullkid383, thankyou for your work on this!! Twrp flashed and works NP. But I cannot decrypt. Following steps, the step you mount before pushing in twrp adb does not work, no such folder. The push goes thru fine although the mount did not. Format data worked, I can see internal storage and move things to and from PC through tether. But when I reboot its sticks on moto screen. When I flash back to patched boot for magisk the is boots to an "decryption unsuccessful" msg and asks me to reset the phone endlessly. Any help pls?
Click to expand...
Click to collapse
I'm looking into how to flash fstab in a zip cause I don't think fstab worked for some reason try patched boot.img here see if it changes anything wipe after flash https://drive.google.com/file/d/1s-nS6rLk1tnO1JVFO1emTJdGcO6mNhBk/view?usp=drivesdk

With this boot and wiping after fastboot and twrp installs it boots past moto logo but hangs with the decryption unsuccessful msg

Project89Odin said:
With this boot and wiping after fastboot and twrp installs it boots past moto logo but hangs with the decryption unsuccessful msg
Click to expand...
Click to collapse
Ok so ur fstab is not edited for some reason so do u have a old stock backup I will have u change fstab manually in stock then boot to the twrp and wipe

I do not, I'll have to fastboot flash everything back to revert to stock. Was rockin with no SD tonight.

Project89Odin said:
I do not, I'll have to fastboot flash everything back to revert to stock. Was rockin with no SD tonight.
Click to expand...
Click to collapse
Grrr always make backup rule number one lol ok I'm looking into getting a flashable zip made but in mean Time revert stock tell me when booted

Back up fully stock, not even twrp lol. Metropcs variant btw

Project89Odin said:
Back up fully stock, not even twrp lol. Metropcs variant btw
Click to expand...
Click to collapse
1st make a backup just in case:
Ok here we go flash twrp and magisk beta then patched boot.img boot system get a file explorer with root permissions edit fstab.qcom find it here: /vendor/etc.
just replace current one with one I'm uploading
in guide to make easier to find wipe then u should be good of course flash magisk beta after u wipe as well

Hmm still decryption unsuccessful. About to reflash to stock. Sorry for the slow response. I have the next several hours free to test. I don't have an SD card, so i rooted the old way, using your patched boot, then used es file explorer to replace fstab, rebooted to confirm, and fstabs permissions had changed from rw r r to rw rw so it stuck. once I format data and internal becomes visible I move magisk over, flash then reboot and get dencryption unsuccessful. Also even flashing the recovery before formatting resulted in it being lost every reboot, only after format data it stuck.

Project89Odin said:
Hmm still decryption unsuccessful. About to reflash to stock. Sorry for the slow response. I have the next several hours free to test. I don't have an SD card, so i rooted the old way, using your patched boot, then used es file explorer to replace fstab, rebooted to confirm, and fstabs permissions had changed from rw r r to rw rw so it stuck. once I format data and internal becomes visible I move magisk over, flash then reboot and get dencryption unsuccessful. Also even flashing the recovery before formatting resulted in it being lost every reboot, only after format data it stuck.
Click to expand...
Click to collapse
Ok I am going to build new one in awhile my PC screen broke idk when but until then the link to Hannah twrp is down till I fix it

Ah man, so instead of fastboot flashing everything back to stock, I figured I'd just flash stock recovery back, after the decryption unsuccessful route. Flashed stock recovery, when it booted and asked me to reset the phone instead of going to twrp this time it went to the stock recovery image of a reset...phone booted, got to looking around and holy crap I'm decrypted! flashed your twrp and now I'm rooted with twrp and decrypted!! So maybe boot twrp the first time when formatting data and decrypting so when you boot and the device asks you to reset because of decryption failure it can use stock recovery to complete the process, then flash twrp for the finish? Your incredibly helpful man, again thankyou for all of your efforts and work on this!!

Still wanna fix twrp found a issue in formatting data I wanna fix but it shall take some time to get it done link is down til then cause it's something that needs fixed first before I put it back up

Related

[Recovery Release] Working TWRP for Sony L1 (G3311 Single SIM others to be confirmed)

Requirements:
1. Bootloader Must Be Unlocked.
2. Have a backup of your working Magisk Patched boot.img saved to your External SDcard.​A little INFO:
The Sony L1 recovery seems to be disabled by SONY for some unknown and Probably stupid reason.
I have tried all ways to get the TWRP and Stock recovery to boot up from the fotakernel partition (recovery) but TWRP and even the stock recovery refuse to boot.
Anyway to cut a very long story short I am releasing this TWRP which is 95% functional and needs to be flashed to the boot partition
Working Method/flow:
Make sure you have a Back up of your working Boot.img "You know the one you used to root the device in the first place".
For ease of use You can use this app by XDA dev @wanam (Thread here) app on playstore Here You can also use this app to flash the v5-twrp-l1.img to your "boot" partition or you can go old skool and use dd (Via adb shell) or use the Magisk patched_boot.img you first rooted with..
Make SURE to Copy this working boot.img to your External SDcard.
When you require TWRP flash the downloaded TWRP to your boot partition using Fastboot (cmd's below) or the above app then reboot
You will now boot to TWRP.
Do what you need to do in TWRP.
IMPORTANT:
Remember Just before you leave TWRP go to INSTALL choose your external SDCard choose "image" from the install screen find your boot.img and select "boot" with the little radio button.
Once flashed choose reboot system.
Now when you boot you will be back to normal :good:
Things Not Working:
1. You will not be able to mount encrypted data therefore you would need to FORMAT your data and then leave it unencrypted.
SuperSU and Magisk will disable forceencrypt for you.
2. Does not Charge or show battery % so I don't know if it's actually charging. (Probably Qnovo battery module used by sony)
It will probably work on all variants but I am not able to test that.
It's use is for backups and restores wipes and installs for which it seems fully functional. :good:
Install Instructios.
Boot to the bootloader then
Code:
fastboot flash boot v5-twrp-l1.img
Then
Code:
fastboot reboot
Download HERE v5-twrp-l1.img
Hi @bigrammy!! I have it booting ok, obviously encryption is not working! I was able to do a backup but couldn't boot back into system, just keeps going back to twrp! I had to flashi the patched 3313 boot image from another post to get back into system! Good work though! Tested on g3311
Chronic2k13 said:
Hi @bigrammy!! I have it booting ok, obviously encryption is not working! I was able to do a backup but couldn't boot back into system, just keeps going back to twrp! I had to flashi the patched 3313 boot image from another post to get back into system! Good work though! Tested on g3311
Click to expand...
Click to collapse
:laugh:
Ok maybe I should update the OP as it seems it's not really clear enough that obviously the boot is replaced by the recovery.
Method would be make sure you have a Back up your working Boot.img You know the one you used to root the device in the first place.
You can also use dd (Via adb shell) or a app from the playstore or better still use the Magisk patched_boot.img .
Copy this working boot.img to your External SDcard.
When required flash the recovery to your boot partition using Fastboot then reboot
You will now boot to TWRP.
Do what you need to do in TWRP.
Then just before you leave TWRP go to INSTALL choose your external SDCard choose "image" from the install screen find your boot.img and select "boot" with the little radio button.
Once flashed choose reboot system.
Now when you boot you will be back to normal :good:
OP Updated let me know if it's clearer to understand now.
Thanks for reporting back. :good:
I'll give it a go! Many thanks! Just one question though. How do I enter recovery mode from then on? Is it still power down, power and volume down yeah?
Chronic2k13 said:
I'll give it a go! Many thanks! Just one question though. How do I enter recovery mode from then on? Is it still power down, power and volume down yeah?
Click to expand...
Click to collapse
I don't think you have really read or understood the OP
You are only ever flashing the "boot partition".
When you need to use TWRP you flash the TWRP.img to the boot partition and when your done you flash back your boot.img again to the boot partition as in the OP.
BTW Have you ever been able to enter the STOCK recovery using Power and Volume Down or using any commands
My phone could not enter the STOCK recovery at all let alone a custom one and since no one ever replied to my question about this I assumed this was the case for everyone as many sony devices from 7.0 had the recovery disabled?
I'm unable to get into stock recovery too!
So,
If we don't have a Recovery partition maybe we can
Create one...
Tutorial in here
https://iwf1.com/how-to-re-partitio...-all-options-included-change-size-fs-type-etc
I'll try it if i have time.
I tested twrp 2 times
Worked every time.
I've tried to install superSu.zip via twrp, looked all right, rebooted the phone and now it's in bootloop for over 2 hours...
It's getting hotter... i ca't turn it off
The only thing that works is keeping Power and Volume Up pressed and it looks restarting...
What can i do to revive it safely?
alegatorul said:
I tested twrp 2 times
Worked every time.
I've tried to install superSu.zip via twrp, looked all right, rebooted the phone and now it's in bootloop for over 2 hours...
It's getting hotter... i ca't turn it off
The only thing that works is keeping Power and Volume Up pressed and it looks restarting...
What can i do to revive it safely?
Click to expand...
Click to collapse
Mate you really need to be careful unless you really know what your doing
You will likely brick the phone if you continue to blindly mess with re-partitioning and the like.
If you were in TWRP which was flashed to the boot partition as directed in the OP then flashing the supersu.zip will simply modify your TWRP.img not your boot.img since TWRP is living in the boot partition at the time you run the .zip hence your looping.
This device has bootloader issues since it will not allow the booting of another partition except "boot" recovery, fotakernel, rdimage, all tested all failed to boot the TWRP recovery and stock recovery.
There is another method used by some sony devices but this will need to be heavily modified for this MediaTek SoC and will require a lot of study and script re-writes.
Spending all this time on a device that's pretty much obsolete before it was launched since it's not planned to receive oreo and Sony 90% locked down the bootloader is kinda futile so use the phone for what it is then throw it in the bin when done in a year or two.
Mate, you are right
Hi, please make recovery for L1 G3312 i hope you can do it.
tweak8 said:
Hi, please make recovery for L1 G3312 i hope you can do it.
Click to expand...
Click to collapse
I think this one may very well work for the dual SIM also so please try it and then report back with some actual details.
eg: bootloader status, firmware version, your region, etc etc.
Thanks.
Works great on the G3113 model, thank you for developing this! Now hoping to find a custom rom to install via .zip.
This "HERE v5-twrp-l1.img" is working in my Xperia L1 G3312.
But, after installing TWRP, phone does not get into boot normally. Everytime it boots into recovery mode. I think that it needs separate twrp partition. This twrp is overwriting the main boot. If anyone can make separate partition for TWRP recovery. This problem will be solved.
Hello. I ignored all your post like a retard and basically just went to the last step to flash the image. The twrp works but it wouldn't boot into normal mode but just boot to twrp everytime so I downloaded some random boot image I saw online and installed it. Now it's just stuck in the sony logo and won't even turn off. Is there anything I can do or is it rip for good?
dumb person said:
Hello. I ignored all your post like a retard and basically just went to the last step to flash the image. The twrp works but it wouldn't boot into normal mode but just boot to twrp everytime so I downloaded some random boot image I saw online and installed it. Now it's just stuck in the sony logo and won't even turn off. Is there anything I can do or is it rip for good?
Click to expand...
Click to collapse
No it's only the boot.img Flash the boot.img in this thread https://forum.xda-developers.com/xperia-l1/how-to/root-l1-g3313-magisk-t3693350 if you can get into fastboot that is.
If not then use FlashTool to flash the stock boot.sin and system.sin only. That should get you working again.
This "HERE v5-twrp-l1.img" is working in my Xperia L1 G3312.
But, after installing TWRP, phone does not get into boot normally. Everytime it boots into recovery mode. I think that it needs separate twrp partition. This twrp is overwriting the main boot. If anyone can make separate partition for TWRP recovery. This problem will be solved.
In twrp mode, I can do everything smoothly..... but phone does not get into boot normally..... After installing stock boot again, phone boot into normally, but twrp has gone completely..... So, it is clear that boot & twrp partition overwrites each other due to no separate partition.... So, we need separate partition for boot & twrp.... then everything will be solved...
bigrammy said:
No it's only the boot.img Flash the boot.img in this thread https://forum.xda-developers.com/xperia-l1/how-to/root-l1-g3313-magisk-t3693350 if you can get into fastboot that is.
If not then use FlashTool to flash the stock boot.sin and system.sin only. That should get you working again.
Click to expand...
Click to collapse
I downloaded the boot from the link you posted and flashed it. Now it phone works again. Many thanks!!
riadjblicd said:
This "HERE v5-twrp-l1.img" is working in my Xperia L1 G3312.
But, after installing TWRP, phone does not get into boot normally. Everytime it boots into recovery mode. I think that it needs separate twrp partition. This twrp is overwriting the main boot. If anyone can make separate partition for TWRP recovery. This problem will be solved.
In twrp mode, I can do everything smoothly..... but phone does not get into boot normally..... After installing stock boot again, phone boot into normally, but twrp has gone completely..... So, it is clear that boot & twrp partition overwrites each other due to no separate partition.... So, we need separate partition for boot & twrp.... then everything will be solved...
Click to expand...
Click to collapse
Yes but Sony Disabled the recovery partition (fotakernel) by design so you can not boot from it.
The OP is clear about the need to flash the TWRP to your boot partition and the reason I also give full instruction in the workflow/method but people simply don't read anymore it seems. :crying:
TWRP can be injected into the boot.img so you can boot normally or boot TWRP using the volume keys at boot time but I can't be bothered working on this since Sony are not going to update the Android Version.
While the phone is OK I have far better phones to spend my time on at the moment.
how to backup boot.img without root? if its impossible then how do i root this phone?

In need of help! TWRP!

first some back story:
it's been a long time since i did a lot of rooting so i lost a lot of knowledge.
I got the phone close to release in the EU.
There was only BETA stage twrp at the time.
So i flashed this unstable twrp and rooted with magisk.
And i run stock Oxy Rom.
But the main problem is, whenever i boot into recovery, twrp ask me for a password. (i have none) so i press continue.
And it then ask for unmodified system partition. (not sure what to select here)
But when i swipe to allow modification, i can't find the root of the phone? i cannot find the download folder where i flash updates or other modified apk's.
It's all just numbers and random letter. i have no idea on how to proceed or how to update twrp safely without falling into boot loop and other problems.
Some help would be appriciated. Thank you.
saitek1911 said:
first some back story:
it's been a long time since i did a lot of rooting so i lost a lot of knowledge.
I got the phone close to release in the EU.
There was only BETA stage twrp at the time.
So i flashed this unstable twrp and rooted with magisk.
And i run stock Oxy Rom.
But the main problem is, whenever i boot into recovery, twrp ask me for a password. (i have none) so i press continue.
And it then ask for unmodified system partition. (not sure what to select here)
But when i swipe to allow modification, i can't find the root of the phone? i cannot find the download folder where i flash updates or other modified apk's.
It's all just numbers and random letter. i have no idea on how to proceed or how to update twrp safely without falling into boot loop and other problems.
Some help would be appriciated. Thank you.
Click to expand...
Click to collapse
Boot to bootloader, flash original boot img than follow the guide to flash original twrp
Hitman478™ said:
Boot to bootloader, flash original boot img than follow the guide to flash original twrp
Click to expand...
Click to collapse
and which of my problems does this solve?
First of all flash official TWRP now. Makes no sense to use the unofficial version because its not stable.
Enter PW -> decrypt data for TWRP
No PW -> hieroglyphs
I successfully used official twrp, version 3.2.2 and then did a "format data" and then used fastboot again to install the full rom.
Kollachi said:
First of all flash official TWRP now. Makes no sense to use the unofficial version because its not stable.
Enter PW -> decrypt data for TWRP
No PW -> hieroglyphs
Click to expand...
Click to collapse
ok i figured it out, added a password. and now it shows correct folder names etc. thanks.
saitek1911 said:
first some back story:
it's been a long time since i did a lot of rooting so i lost a lot of knowledge.
I got the phone close to release in the EU.
There was only BETA stage twrp at the time.
So i flashed this unstable twrp and rooted with magisk.
And i run stock Oxy Rom.
But the main problem is, whenever i boot into recovery, twrp ask me for a password. (i have none) so i press continue.
And it then ask for unmodified system partition. (not sure what to select here)
But when i swipe to allow modification, i can't find the root of the phone? i cannot find the download folder where i flash updates or other modified apk's.
It's all just numbers and random letter. i have no idea on how to proceed or how to update twrp safely without falling into boot loop and other problems.
Some help would be appriciated. Thank you.
Click to expand...
Click to collapse
U have corrupted u r data partation u have to factory reset along with wiping internal storage and then transfer u r rom File through MTP in sd card of phone and then flash rom.
Or u can flash fastboot flashable rom via fastboot mode.
Then install your official twrp via fastboot mide after installing rom.
Now twrp will detect all data from sd card
pankspoo said:
U have corrupted u r data partation u have to factory reset along with wiping internal storage and then transfer u r rom File through MTP in sd card of phone and then flash rom.
Click to expand...
Click to collapse
Thank you, all i did was add a four digit code when twrp asked me for a password. now the folders are showing up correctly. not just random numbers and letters.
still need to update twrp safely. can i flash a new twrp within twrp or do i need to update via computer?
saitek1911 said:
Thank you, all i did was add a four digit code when twrp asked me for a password. now the folders are showing up correctly. not just random numbers and letters.
still need to update twrp safely. can i flash a new twrp within twrp or do i need to update via computer?
Click to expand...
Click to collapse
U can directly flash new twrp installer in current recovery no problem
saitek1911 said:
and which of my problems does this solve?
Click to expand...
Click to collapse
All of your problems i presume
Can Anyone help me, please? I have somehow the same problem. The phone literally itself without doing anything started doing a download(odin) mode loop. So I deleted data, dalvik, cache, system partitions without internal storage since it has very very important files for me and a lot of projects for the university!!! and before and after the folders in internal storage in twrp shows as random numbers and letters. I don't know why since when the phone was working normally I was protecting it by fingerprint and a password. And when I installed a stock ROM after it without wiping the internal storage. The storage is showing in negative. If anyone can help me this would be super appreciated and helpful. Thank you!
Hitman478™ said:
Boot to bootloader, flash original boot img than follow the guide to flash original twrp
Click to expand...
Click to collapse
Can you help please?
Madara818181 said:
Can Anyone help me, please? I have somehow the same problem. The phone literally itself without doing anything started doing a download(odin) mode loop. So I deleted data, dalvik, cache, system partitions without internal storage since it has very very important files for me and a lot of projects for the university!!! and before and after the folders in internal storage in twrp shows as random numbers and letters. I don't know why since when the phone was working normally I was protecting it by fingerprint and a password. And when I installed a stock ROM after it without wiping the internal storage. The storage is showing in negative. If anyone can help me this would be super appreciated and helpful. Thank you!
Click to expand...
Click to collapse
If it is already showing folders with random file names in the internal storage it means it needs to format data (to remove file encryption) which deletes all files in the internal storage.
Don't wipe system because it removes your OS.
Always secure backup before messing your device.
Hitman478™ said:
Boot to bootloader, flash original boot img than follow the guide to flash original twrp
Click to expand...
Click to collapse
You may try this boot.img just rename to boot.img only.
Credits to RR10 TG channel by Enzo #CatGang.
tiga016 said:
If it is already showing folders with random file names in the internal storage it means it needs to format data (to remove file encryption) which deletes all files in the internal storage.
Don't wipe system because it removes your OS.
Always secure backup before messing your device.
You may try this boot.img just rename to boot.img only.
Credits to RR10 TG channel by Enzo #CatGang.
Click to expand...
Click to collapse
Thanks Man. All my university stuff is in the phone's internal storage so wiping it is no no for me and I need the files today!!! I flashed the boot.img file you attached using TWRP but now the phone is in a boot loop and it did not solve anything!!! Sorry for this but what the f**k should I do man. All my important files are on the phone!!!
Madara818181 said:
Thanks Man. All my university stuff is in the phone's internal storage so wiping it is no no for me and I need the files today!!! I flashed the boot.img file you attached using TWRP but now the phone is in a boot loop and it did not solve anything!!! Sorry for this but what the f**k should I do man. All my important files are on the phone!!!
Click to expand...
Click to collapse
Sorry I thought you are also literally same issues with OP but then it's not. Are you able to reboot to twrp? And what is the whole story of you device? I mean if you are rooted, what ROM you came from and all that you did before the issues occur. And did you tried to switch slot? Since you wiped everything with system included then you have no OS installed. Did you tried to flash OS via OTG? Or flash via fastboot.
I flashed another os without deleting the internal storage but the storage is now showing in negative values. Story is The phone literally itself without doing anything started doing a download(odin) mode loop. So I deleted data, dalvik, cache, system partitions without internal storage since it has very very important files for me and a lot of projects for the university!!! and before and after the folders in internal storage in twrp shows as random numbers and letters. I don't know why since when the phone was working normally I was protecting it by fingerprint and a password. And when I installed a stock ROM after it without wiping the internal storage. The storage is showing in negative and yes I can still boot into twrp
tiga016 said:
Sorry I thought you are also literally same issues with OP but then it's not. Are you able to reboot to twrp? And what is the whole story of you device? I mean if you are rooted, what ROM you came from and all that you did before the issues occur. And did you tried to switch slot? Since you wiped everything with system included then you have no OS installed. Did you tried to flash OS via OTG? Or flash via fastboot.
Click to expand...
Click to collapse
This is the story
Madara818181 said:
This is the story
Click to expand...
Click to collapse
I know that but it seems incomplete. It did not mention what I ask recently. It is always a need for detailed story.

OP6 got stuck with corrupted internal storage

Hello, i'm a bit in trouble with my internal storage.
Yesterday i wanted to update to newest havoc os so i prepared as usual and wiped system and data under advanced wipe in TWRP ( twrp-3.2.3-0-enchilada(mtp) from joemossjr ).
Then things went strange... op6 reboots itself and since there was no system installed got stuck. i rebooted to TWRP and it started like first time install.
I wanted to do the TWRP Setup but TWRP freezes everytime and after some seconds the device reboots.
I tried different TWRP (joemossjr, eng.stck), tried flashing manually with fastboot flash boot_a twrp.img fastboot flash boot_b twrp.img and even with Tool All In One from mauronofrio
but only recovery that doesn't freeze is newest official TWRP 3.2.3.0.
But now i can't get access to my internal storage. The TWRP filemanager and adb shell are showing weird folders ( see attached jpg ).
It seems something is corrupted... i also tried to flash stock op6 rom in fastboot "OnePlus6Oxygen_22_OTA_015_all_1808102118_770880-FASTBOOT" with flash-all-partitions-fastboot.bat.
Seems to work but got stuck at bootanimation...
flashed back official TWRP and i think i have to install magisk now but don't know how to do because i have no access to my internal storage.
at this point i wish they would have included a sdcard slot
suggestion anyone?
It's not corrupted, but it's encrypted, when you flashed the havoc rom you kinda ****ed up with the encryption method so now you got files that are encrypted and that you can't decryp, so your solution is to format your internal storage, sorry for you, and if anyone have another solution i would take it
do an adb sideload for magisk zip , that should help
adb sideload sadly doesn't work, just "Starting ADB Sideload feature" ...
and on cmd when i try to adb sideload i got an "error: closed"
can't figure out why the files should be encrypted... makes no sense to me
now i flashed flash-system-boot-vendor.bat
phone boots till startup wizard and then after few seconds freeze and reboot
gdre said:
now i flashed flash-system-boot-vendor.bat
phone boots till startup wizard and then after few seconds freeze and reboot
Click to expand...
Click to collapse
Format data. Problem fixed. This is the ONLY SOLUTION that will work.
Yup, you need to format the data and start all clean and i hope you did a full twrp backup
yes i do always make a backup before flashing something... my problem is i don't have access to files on internal storage.
Data partition is not my problem because all my apps are stored with titanium backup but in the freaking internal memory.
i wiped data partition but it doesnt help... now i have all folders like after complete reset. but i dont know how to get access to my old files in /sdcard folder.
i think of deleting internal storage also and start from scratch and try some data recovery tools... maybe i have some luck.
use Tool all in one
gdre said:
yes i do always make a backup before flashing something... my problem is i don't have access to files on internal storage.
Data partition is not my problem because all my apps are stored with titanium backup but in the freaking internal memory.
i wiped data partition but it doesnt help... now i have all folders like after complete reset. but i dont know how to get access to my old files in /sdcard folder.
i think of deleting internal storage also and start from scratch and try some data recovery tools... maybe i have some luck.
Click to expand...
Click to collapse
Did you ever actually try to flash the Havoc update? What's going on is that you flashed a rom on the August security patch and OOS is still on July. You can't roll back to an earlier patch. Only a rom on the current patch will work.
If it doesn't work, as several have said, you have to format data, not just wipe. That will unfortunately, erase everything on your phone, but there's no other way to go back to OOS.
ok iElvis... things start getting interesting
hmm i want to try that but how should i be able to do that...
how does it work flashing the havoc with all in one tool or could it be done in fastboot mode per cmd?
the phone came with oos 5.1.5 and used that a while then with xXx NoLimits 2.4 over it for a few weeks.
after that havoc os from 6.8.18 for a month or so and i want that as daily driver.
then yesterday updated with fresh install to version from 28.8.18 and setup everything then after reboot wifi was complete dead and SIM also.
flashed newest smurf kernel over and all worked again till next reboot.
i decided to install again from scratch and thats the point where things getting weird...
gdre said:
ok iElvis... things start getting interesting
hmm i want to try that but how should i be able to do that...
how does it work flashing the havoc with all in one tool or could it be done in fastboot mode per cmd?
the phone came with oos 5.1.5 and used that a while then with xXx NoLimits 2.4 over it for a few weeks.
after that havoc os from 6.8.18 for a month or so and i want that as daily driver.
then yesterday updated with fresh install to version from 28.8.18 and setup everything then after reboot wifi was complete dead and SIM also.
flashed newest smurf kernel over and all worked again till next reboot.
i decided to install again from scratch and thats the point where things getting weird...
Click to expand...
Click to collapse
Yep, that's the security patch issue. Once you're on a patch, going back to an earlier one will break encryption. I don't believe there's any other option beyond formatting data.
iElvis said:
Yep, that's the security patch issue. Once you're on a patch, going back to an earlier one will break encryption. I don't believe there's any other option beyond formatting data.
Click to expand...
Click to collapse
ok... formated whole storage and installed OnePlus6Oxygen_22_OTA_012_all_1806140300_e4bacf-FASTBOOT_5.1.8.
but while first setup stll freeze and reboot. also wiped again with stock recovery with no change.
bootloader is unlocked... should i now flash patched boot image with magisk for 5.1.8?
https://forum.xda-developers.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665
Using this will save you time before you **** something up
gdre said:
Hello, i'm a bit in trouble with my internal storage.
Yesterday i wanted to update to newest havoc os so i prepared as usual and wiped system and data under advanced wipe in TWRP ( twrp-3.2.3-0-enchilada(mtp) from joemossjr ).
Then things went strange... op6 reboots itself and since there was no system installed got stuck. i rebooted to TWRP and it started like first time install.
I wanted to do the TWRP Setup but TWRP freezes everytime and after some seconds the device reboots.
I tried different TWRP (joemossjr, eng.stck), tried flashing manually with fastboot flash boot_a twrp.img fastboot flash boot_b twrp.img and even with Tool All In One from mauronofrio
but only recovery that doesn't freeze is newest official TWRP 3.2.3.0.
But now i can't get access to my internal storage. The TWRP filemanager and adb shell are showing weird folders ( see attached jpg ).
It seems something is corrupted... i also tried to flash stock op6 rom in fastboot "OnePlus6Oxygen_22_OTA_015_all_1808102118_770880-FASTBOOT" with flash-all-partitions-fastboot.bat.
Seems to work but got stuck at bootanimation...
flashed back official TWRP and i think i have to install magisk now but don't know how to do because i have no access to my internal storage.
at this point i wish they would have included a sdcard slot
suggestion anyone?
Click to expand...
Click to collapse
This was happens every day after when i try to mod my device.
When i see weired Folder. I boot to fastboot then flash fastboot twrp. Img.(this will shows all folders with normal names)
Then flash liquid remix rom(its my saviour)
Then flash twrp.Installer.
Then reboot to Recovery and restore my liquid rom backup and boom its boot to everything normal.
Here i want to say that keep one liquidremix rom in otg pendrive.
After fastboot twrp command when u gets working twrp.
Install that rom via otg, and flash twrp installer and then reboot back to twrp and then clean flash rom u want it will work without doing formatting or fastboot flashing stock rom which erase everything everytime
@ whizeguy... did that as mentioned before and gave me the freeze after first time reboot
@ pankspoo... ok i cant understand what is causing this issue but if you say that did the trick for you than i will buy me a otg adapter and check that out.
silly that i already deleted everything and sadly with no affort...
but i dont understand why im not able to boot anymore even after deleting everything
gdre said:
@ whizeguy... did that as mentioned before and gave me the freeze after first time reboot
@ pankspoo... ok i cant understand what is causing this issue but if you say that did the trick for you than i will buy me a otg adapter and check that out.
silly that i already deleted everything and sadly with no affort...
but i dont understand why im not able to boot anymore even after deleting everything
Click to expand...
Click to collapse
Fastboot method of installing rom will work 100%, have u used flash all. Bat (just unzip ur downloaded fastboot rom, connect phone to comp in fastboot mode and click on flash all bat file) command while installation.
Use that command because u have soft bricked u r device.
That installation will boot to normal oos rom.
I think u r doing something wrong.
Hmm thats exactly what i did.
In cmd there are some errors like sparse blabla but finally it completes but with freeze and reboots during startup assistent.
I bought an otg adapter today. Flashed liquid remix and that worked! All seems fine no freezes and reboots but wifi and signal still broken...
Very confusing
gdre said:
Hmm thats exactly what i did.
In cmd there are some errors like sparse blabla but finally it completes but with freeze and reboots during startup assistent.
I bought an otg adapter today. Flashed liquid remix and that worked! All seems fine no freezes and reboots but wifi and signal still broken...
Very confusing
Click to expand...
Click to collapse
U have u r efs backup? If have then restore it via twrp.
That will give u ur signal and wifi
That is what im thinking of...in fastboot there are no infos at bootloader and baseband Version. unfortunately my efs Backup is gone since internal storage messed up.
If i could recover some data that could help but 2 tools i tried yet didnt work.
Tomorrow ill try making raw dump and see If this would help.. still looking for the best guide or method

Files are gibberish

I was on Havoc OS and tried to go back to stable OS throught TWRP. The plan was to flash stock OOS 9.04 then TWRP blu spark then reboot to recovery again and flash again stock OOS 9.04 and again TWRP and then reboot again to recovery to do a wipe and finally boot up and setup. The problem is that after flashing OOS over Havoc and then TWRP, when I selected to reboot to recovery it did but all files seem to be gibberish. I think this means that the device is encrypted cause when entering TWRP it doesn't ask me for my password. I know that if I do a full wipe it will 99% fix but I want my files in data/media. Is there a solution???
Please help!
I had this happen to me after a failed rom update, all the directories were numbers and hex code, there was no way for me to fix it other than flash using the bricktool
Sorry
eltarod said:
I was on Havoc OS and tried to go back to stable OS throught TWRP. The plan was to flash stock OOS 9.04 then TWRP blu spark then reboot to recovery again and flash again stock OOS 9.04 and again TWRP and then reboot again to recovery to do a wipe and finally boot up and setup. The problem is that after flashing OOS over Havoc and then TWRP, when I selected to reboot to recovery it did but all files seem to be gibberish. I think this means that the device is encrypted cause when entering TWRP it doesn't ask me for my password. I know that if I do a full wipe it will 99% fix but I want my files in data/media. Is there a solution???
Please help!
Click to expand...
Click to collapse
Probably because the Security Patch level was higher on Havoc.
You could try flashing Havoc again, but i don't know how since your storage is encrypted ...
Last time i tried this, it failed to boot, and switched slots, booting into the old ROM.
But if you flashed OOS two times, it's impossible.
There must be a way since I know the password to decrypt the files... Right?
I did flash Havoc successfully again with sideload method but doesn't seem to work. Maybe install Gapps too?
Ok so I flashed havoc+gapps. Phone booted up and I was in working condition but folders and files stayed encrypt and can't be moved with PC or anything. Should I give up and go to MsmDownloadTool ?
eltarod said:
Ok so I flashed havoc+gapps. Phone booted up and I was in working condition but folders and files stayed encrypt and can't be moved with PC or anything. Should I give up and go to MsmDownloadTool ?
Click to expand...
Click to collapse
No need to use Msmdownloadtool, you can use fastboot ROM and boot the phone in fastboot mode. You will lose your files as always (the moment the encription broke you lost your key and the files are permanently encripted), but the procedure is much less painful than the Msmdownloadtool.
Just format your internal storage (using format data) in twrp and you can flash oos and boot into the rom without any issues. I do that all the time whenever I need to flash back oos from custome roms. No need for those msmtool or even fastboot rom..
eltarod said:
There must be a way since I know the password to decrypt the files... Right?
I did flash Havoc successfully again with sideload method but doesn't seem to work. Maybe install Gapps too?
Click to expand...
Click to collapse
Did you try flashing Havoc, then going back to TWRP ? I worked for me when i had the issue, having the good ROM flashed and active on the slot allowed me to enter my password in Blu_Spark TWRP.
By the way, MSMDownloadTool will just Format Everything and flash OOS, so if you're stuck, better just flash OOS from recovery and Format Data, same result, less hassle.
You should solve with last beta cause It has the same patch security.
Just boot TWRP recovery through fastboot (via a PC!) , works for me when encryption messes up.
P.S. - Always have a backup before flashing ANYTHING.
---------- Post added at 10:20 AM ---------- Previous post was at 10:15 AM ----------
eltarod said:
Ok so I flashed havoc+gapps. Phone booted up and I was in working condition but folders and files stayed encrypt and can't be moved with PC or anything. Should I give up and go to MsmDownloadTool ?
Click to expand...
Click to collapse
If my last post before doesn't work, try switching boot slots.
Thanks for all the replies. Didn't have the time to try what all of you suggested. Finally I formated everything and lost a couple of things but I couldn't stay without a phone.

How To Successfully Install Twrp For G7 Play

Im Pretty Sure Everyone that will read this thread will have an unlocked bootloader.
Requirments: an Unlocked Bootloader. A PC. And Some Knowledge about Android Coustomization.
So for twrp to boot Correctly Your Going to need a modified dtbo image with out it your going to have twrp boot into a black screen with minimal file transfer capabilities
The DTBO image i use is This One
https://drive.google.com/file/d/1pV6-LbNoMG0J8vcyAWN0QWYGx67vxBgT/view?usp=sharing
next your going to need a twrp thats stable i suggest this one
https://drive.google.com/file/d/13MROGlEA_TdgHFTaiqOswo4w0NgXhGbx/view?usp=sharing
now that you have the files
first hold power and volume up till you see a black screen with text saying fastboot flash mode
now we are going to get the recovery installed by running two commands in fastboot
first command fastboot flash dtbo /path/to/yours.img
run the next command fastboot boot twrp4.img
now you should see the twrp recovery splash screen
now we are going to go to mount this will pop up a file transfer window on your pc
drag twrp4.img to a directory you know where its at
backout of mount and go to install
select the directory where your twrp4.img is at
then click install image
it should show you that twrp is there click on twrp4.img
select install to recovery ramdisk
swipe to confirm flash
wait till its done then click back
go to advanced click fix recovery bootloop
swipe to confirm
then go back click reboot
select recovery
you can unplug your phone now
and you will see twrp is now installed on your device
click reboot select poweroff
hold volume down and power untill you see that text again from fastboot
this time use volume up to scroll through your options untill you find recovery mode then press power
you will be booted into twrp do that for when ever you need to access your recovery
hope this tutorial helps
and thanks to spaceminer for making this twrp
and thanks to scritch007 for modifing the dtbo img
it doesnt work we need a flashable.zip method
---------- Post added at 07:35 AM ---------- Previous post was at 07:11 AM ----------
must add must wipe data first , flash disable verity.zip will post , then install recovery to ramdisk after copying it to the sdcard , didnt click fix recovery bootloop and it works perfectly fine
thenatti said:
it doesnt work we need a flashable.zip method
---------- Post added at 07:35 AM ---------- Previous post was at 07:11 AM ----------
must add must wipe data first , flash disable verity.zip will post , then install recovery to ramdisk after copying it to the sdcard , didnt click fix recovery bootloop and it works perfectly fine
Click to expand...
Click to collapse
flash this after format data , then follow steps mentioned above , thank you everyone for your hardwork on bringing us a stable release
thenatti said:
flash this after format data , then follow steps mentioned above , thank you everyone for your hardwork on bringing us a stable release
Click to expand...
Click to collapse
Yeah I forgot to put the decryptor zip in the tutorial
I did use it tho ill edit the tutorial in a few
Linuxassassin said:
Yeah I forgot to put the decryptor zip in the tutorial
I did use it tho ill edit the tutorial in a few
Click to expand...
Click to collapse
I noticed with stock firmware it boot loops I'm currently running the dot os treble image and it's consistent , but not with stock unless there is no data ,.but when data is created it boot loops , I recommend flashing the treble gsi image , the only bug is no proper notch support and I don't have a Linux but to attempt to create an overlay
thenatti said:
I noticed with stock firmware it boot loops I'm currently running the dot os treble image and it's consistent , but not with stock unless there is no data ,.but when data is created it boot loops , I recommend flashing the treble gsi image , the only bug is no proper notch support and I don't have a Linux but to attempt to create an overlay
Click to expand...
Click to collapse
the notch is
the notch isnt terible to be honest also to flash gapps get the device id apk will help you certify your device to be able to install stuff from the google play store
Well. The touchscreen is not working for me. But I think is because I am on 1952-1.
Savinu' said:
Well. The touchscreen is not working for me. But I think is because I am on 1952-1.
Click to expand...
Click to collapse
what slot are you on
Linuxassassin said:
what slot are you on
Click to expand...
Click to collapse
On slot a
thenatti said:
flash this after format data , then follow steps mentioned above , thank you everyone for your hardwork on bringing us a stable release
Click to expand...
Click to collapse
Can you tell me the right how should I flash this zip? I'm new to TWRP and Magisk, and I'm trying to get root for my G7 Play. I know there is the sideload flashing from ADB and the install update option in stock recovery, but I don't know if one of them is the way to flash it or if it's a way that I don't know.
Thanks in advance
on my moto g7 play xt1952-2 the touchscreen stopped how to solve?
great job
big thank you to all that had a hand in getting a working twrp for the g7 play!!! it worked perfectly the first time i did it
Fails to install twrp to recovery ramdisk
Hi!
I've tried to follow the guide but somehow I fail to install the twrp image to the recovery ramdisk.
When updating partition details, it fails to mount '/vendor' (invalid argument)
Then when it tries to backing up the boot it fails:
cd /tmp/repackorig/ && /sbin/magiskboot --unpack -h '/tmp/repackorig/boot.img' process ended with Error 1. Error unpacking image.
Any suggestions to solve this?
Output from recovery.log
[IMAGE FLASH STARTED]
Image to flash: '/sdcard/twrp4.img'
Unpacking Boot...
Backing up Boot...
I:Reading '/dev/block/bootdevice/by-name/boot_b', writing '/tmp/repackorig//boot.emmc.win'
I:Restored default metadata for /tmp/repackorig//boot.emmc.win
Parsing boot image: [/tmp/repackorig/boot.img]
cd /tmp/repackorig/ && /sbin/magiskboot --unpack -h '/tmp/repackorig/boot.img' process ended with ERROR: 1
I:Error unpacking /tmp/repackorig/boot.img!
Error unpacking image.
I:Set page: 'action_complete'
Iperation_end - status=1
Got stuck trying to follow the above recipe as it hasn't yet been edited to include the additional details about for example the no-verity thing... Would appreciate an update. Thx.
There's a new build that should work on all models including RETUS. You guys can find that here. It has /vendor & /oem backup and restore but they're untested. I do need some help with it if anyone here is savvy enough. In it's current state, it bootloops with the stock OS installed. But not when a GSI is installed. The recovery loop fix in twrp doesn't work, and I'm not sure how to make it work.
need help
i can boot to twrp using fastboot but any other time it just flashes and wont load plz help also i dont have root just saying
Spaceminer said:
There's a new build that should work on all models including RETUS. You guys can find that here. It has /vendor & /oem backup and restore but they're untested. I do need some help with it if anyone here is savvy enough. In it's current state, it bootloops with the stock OS installed. But not when a GSI is installed. The recovery loop fix in twrp doesn't work, and I'm not sure how to make it work.
Click to expand...
Click to collapse
I'm pretty sure I've sussed it out.
I noticed that G7 River has an extra step.. once TWRP in ramdisk and also bootloop fix ran...
They use https://dl.twrp.me/river/twrp-installer-3.3.1-2-river.zip.html
So , Hope you don't mind, I unpacked your TWRP and exchanged the ramdisk-trwp.cpio in the river zip with yours.
Flashed it after the bootloop fix and it installs to boot a and b.
I then formatted data, installed latest canary magisk manager zip
then no verity from here
it's succesfully rebooted to setup (as I formatted data obviously) .... now to go through setup... but the fact it's got this far looks good
CFKod said:
I'm pretty sure I've sussed it out.
I noticed that G7 River has an extra step.. once TWRP in ramdisk and also bootloop fix ran...
They use https://dl.twrp.me/river/twrp-installer-3.3.1-2-river.zip.html
So , Hope you don't mind, I unpacked your TWRP and exchanged the ramdisk-trwp.cpio in the river zip with yours.
Flashed it after the bootloop fix and it installs to boot a and b.
I then formatted data, installed latest canary magisk manager zip
then no verity from here
it's succesfully rebooted to setup (as I formatted data obviously) .... now to go through setup... but the fact it's got this far looks good
Click to expand...
Click to collapse
I'm not upset at all, if anything I am very pleased. Nice work!
Man so close but still not quite. Installed magisk manager but no root...
When I reboot to Twrp it shows the two front screen but then starts having a seizure flashing n ****....... Works to fastboot into the IMG again...
So close.. ummmm
CFKod said:
Man so close but still not quite. Installed magisk manager but no root...
When I reboot to Twrp it shows the two front screen but then starts having a seizure flashing n ****....... Works to fastboot into the IMG again...
So close.. ummmm
Click to expand...
Click to collapse
Try dumping the boot.img after you've done everything to install twrp, then manually patch it with magisk, and flash it with fastboot.

Categories

Resources