I think I have bricked my phone? - Moto G5 Questions & Answers

After a lot of messing about I managed to unlock the bootloader, install TWRP but now it won't boot into the system, TWRP boots into recovery fine, but when trying to boot in system it just idles on this screen.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
and this is what TWRP looks like but won't let me pick sd card or otg to install mgisk or no verify
is it possible to install custom roms via fastboot instead of having to go down the stock rom path?

Have you installed the official 32 twrp or the 64 bit twrp? have you formatted user data yet in TWRP? if not do a full wipe then flash ROM, GAPPs and reboot

andybr1ggs said:
After a lot of messing about I managed to unlock the bootloader, install TWRP but now it won't boot into the system, TWRP boots into recovery fine, but when trying to boot in system it just idles on this screen.
and this is what TWRP looks like but won't let me pick sd card or otg to install mgisk or no verify
is it possible to install custom roms via fastboot instead of having to go down the stock rom path?
Click to expand...
Click to collapse
Stock rom will not boot if you flash TWRP & select to modify system as clearly explained in my twrp thread
All you need to do is select install then select storage on bottom left - select the storage location you have placed your super user zip
If you haven't got one just connect phone to PC whilst in recovery mode & transfer it over
Or
Format system data cache then reboot to recovery & then flash a custom rom
Also your twrp is out of date - I suggest going to my twrp thread unless you flashing the lineageos 15.1 64bit version then you need the twrp from that thread that supports 64bit rom flashing

TheFixItMan said:
Stock rom will not boot if you flash TWRP & select to modify system as clearly explained in my twrp thread
All you need to do is select install then select storage on bottom left - select the storage location you have placed your super user zip
If you haven't got one just connect phone to PC whilst in recovery mode & transfer it over
Or
Format system data cache then reboot to recovery & then flash a custom rom
Also your twrp is out of date - I suggest going to my twrp thread unless you flashing the lineageos 15.1 64bit version then you need the twrp from that thread that supports 64bit rom flashing
Click to expand...
Click to collapse
thanks for the reply, i managed to get the phone back on stock firmware, so i will follow these comments and double check everything and get the new TWRP thanks again.
(done)
used the format wipe cache advice stopped the error 7

TheFixItMan said:
Stock rom will not boot if you flash TWRP & select to modify system as clearly explained in my twrp thread
All you need to do is select install then select storage on bottom left - select the storage location you have placed your super user zip
If you haven't got one just connect phone to PC whilst in recovery mode & transfer it over
Or
Format system data cache then reboot to recovery & then flash a custom rom
Also your twrp is out of date - I suggest going to my twrp thread unless you flashing the lineageos 15.1 64bit version then you need the twrp from that thread that supports 64bit rom flashing
Click to expand...
Click to collapse
so now i have twrp version 3.2.1.0 is this correct? im also trying to install this but get an error 7
https://forum.xda-developers.com/g5/development/7-1-x-lineageos-14-1-moto-g5-t3611973
im nearly there lol least phone starts up (ps doing this sh** takes my mind off my girlfriend finishing it on christmas eve)

andybr1ggs said:
so now i have twrp version 3.2.1.0 is this correct? im also trying to install this but get an error 7
https://forum.xda-developers.com/g5/development/7-1-x-lineageos-14-1-moto-g5-t3611973
im nearly there lol least phone starts up (ps doing this sh** takes my mind off my girlfriend finishing it on christmas eve)
Click to expand...
Click to collapse
You need to goto
Wipe
Select format data (option on the right)
Reboot to recovery
Select wipe
Advance wipe
Wipe system data cache delvik/art cache
Install
Select rom zip
Install
Select gapps zip (I recommend nano gapps)
Install
Select su add on zip
Wipe art/dalvik cache
Restart
If you still get error 7 you may need to remove the get prop details from the rom zip updater script

is to install this zip
https://build.nethunter.com/android-tools/no-verity-opt-encrypt/no-verity-opt-encrypt-6.0.zip

Related

[RECOVERY] ClockworkMod Recovery *GSM Edition*

ClockworkMod 5.5.0.2 for Galaxy Nexus *GSM Edition*
Download Link
MD5: 445887336a863573997ccbaeedddc984
File Size: 5,427,200 bytes
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
How to Gain Root and Unlock Bootloader
1. Download root package: Link
2. Download CWM: Link
3. Reboot into Fastboot Mode: Power off your device and (Power + Volume Up and Down)
4. Unlock the bootloader if locked (fastboot oem unlock) then reboot into fastboot mode again
5. Temporarily flash CWM (fastboot flash recovery recovery-clockwork-5.5.0.2-maguro.img)
6. Boot into recovery (Press Volume Up twice until you see "Recovery mode" then press the Power button)
7. Using CWM recovery, install su.zip that you downloaded in step 1
8. Reboot into the OS
9. You are now rooted
How to Install ClockworkMod
1. Install Root Explorer from the market and delete /system/recovery-from-boot.p *Mount as R/W first* See this link for help
2. Reboot into Fastboot Mode: Power off your device and (Power + Volume Up and Down)
3. Flash CWM (fastboot flash recovery recovery-clockwork-5.5.0.2-maguro.img)
4. Reboot into OS (fastboot reboot)
5. You now have CWM recovery permanently installed
How to Access ClockworkMod
1. Reboot into Fastboot Mode: Power off your device and (Power + Volume Up and Down)
2. Press Volume Up twice
3. Press the Power button when you see "Recovery mode" selected​
**All credit goes to to Koush and anyone else responsible for ClockworkMod**
Awesome. This will make rooting even easier. Just unlock, flash CWM and then install su from there.
Does this recovery work?
I have flashed the same recovery via rom manager and it just comes up with a black screen
Koush has said he will fix it in the next few days
Sent from my Galaxy Nexus using Tapatalk
Protip: Test something before you post it. This does NOT work at the time of writing.
P
spences10 said:
Does this recovery work?
I have flashed the same recovery via rom manager and it just comes up with a black screen
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
Same here black screen when booting to recovery
punkrjb said:
Same here black screen when booting to recovery
Click to expand...
Click to collapse
This was already posted a few days ago and it was stated that it didnt work and the link removed.
I have removed the link from the original post until its working and then the first person to post the information (or the developer) will have the right to post it.
Mark.
Working download link and new version is now up.
Can, reportedly, also be gotten through the ROM Manager.
FISKER_Q said:
Can, reportedly, also be gotten through the ROM Manager.
Click to expand...
Click to collapse
Yeah, works flashed it and am now flashing one of FitsSnugly's AOSP builds
spences10 said:
Yeah, works flashed it and am now flashing one of FitsSnugly's AOSP builds
Click to expand...
Click to collapse
fitsnugly got a GN build up? WHERE?
Can you backup your stock Recovery before flashing CWM Recovery?
There's some reports on Koush's twitter that superuser doesn't work on CWM on the Nexus
Niksko said:
There's some reports on Koush's twitter that superuser doesn't work on CWM on the Nexus
Click to expand...
Click to collapse
for me its working well. just made backup and using SU after etc. no issue at all
but i installed cwm from ROM manager instead
How does CWM save/store its ROMS, and where does it load from? With the Xoom, without a working SD, it was not possible to use CWM.
If the onboard storage is all one volume with the OS, is the storage included in the backup, and how is the images written if the storage is needed to hold the ROMS to be flashed?
StuMcBill said:
Can you backup your stock Recovery before flashing CWM Recovery?
Click to expand...
Click to collapse
I'd like to know this too. I found something that would back it up, but you need root first. I'd like to be able to back it up before rooting if possible.
Niksko said:
I'd like to know this too. I found something that would back it up, but you need root first. I'd like to be able to back it up before rooting if possible.
Click to expand...
Click to collapse
Rooting shouldn't affect the Recovery partition so you should be able to safely root then backup your stock recovery before installing ClockworkMod Recovery?
Or if someone backs up theirs you could download it and keep a copy of it?
Anyone can post here recovery.fstab ?
I have just installed Rom Manager and I get a FC but it seems to have installed the CWM OK. It successfully rebooted to CWM and I could navigate around but I didn't try flashing anything yet.
The issue may be more with Rom Manager than the recovery
Installed CWM just fine, however when i try to do a nandroid backup it says "Can't mount backup path" or when i try to browse for a zip to install "Can't mount /sdcard/".
My first guess is that it is because i encrypted my phone, but i believe it works on my Xoom, which is encrypted as well... (I will check this later when i have my Xoom nearby)
FYI, this recovery also is confirmed working on my VZW LTE version.
Backups are approximately 6-700MB and are ext4.tar files for system, data and cache.

TWRP Does not appear to stick after reboot - MIUI 10 8.8.3 China Beta / Max 3 128/6

Hi Guys - I installed this twrp via fastboot flash recovery, I am on china dev version MIUI 10 8.8.3 Beta, rebooted to system, powered down, and then volume up & power button to go to recovery - I am greeted by china recovery 3.0 in chinese. It appears twrp does not stick. Device is unlocked bootloader (from vendor), Just flashed over from the fake ROM, this is the 128 GB / 6 GB version phone. What am I doing wrong
Lol, dont understand why you typed "revocery" in your pic but it still understood
badrsj said:
Hi Guys - I installed this twrp via fastboot flash recovery, I am on china dev version MIUI 10 8.8.3 Beta, rebooted to system, powered down, and then volume up & power button to go to recovery - I am greeted by china recovery 3.0 in chinese. It appears twrp does not stick. Device is unlocked bootloader (from vendor), Just flashed over from the fake ROM, this is the 128 GB / 6 GB version phone. What am I doing wrong
Click to expand...
Click to collapse
After flashing china rom, need to boot to fastboot then execute the following commands in adb:
1. fastboot format userdata
2. fastboot flash recovery twrp.......
3. fasboot boot recovery twrp...... so the phone can boot into recovery then follow the rest of the guide if you want to flash xiaomi.eu rom
That's strange, but Orange recovery also reverted
You're right it shouldn't have installed but it did. The Orange recovery also installed, neither stuck tho
Awesome
martin.burgas said:
After flashing china rom, need to boot to fastboot then execute the following commands in adb:
1. fastboot format userdata
2. fastboot flash recovery twrp.......
3. fasboot boot recovery twrp...... so the phone can boot into recovery then follow the rest of the guide if you want to flash xiaomi.eu rom
Click to expand...
Click to collapse
Will try
Thanks
Folks I've hosed it
What's this
Booted to twrp, couldn't find the rom, booted to system.
Lights out
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my SM-N950U1 using Tapatalk
badrsj said:
Folks I've hosed it
What's this
Booted to twrp, couldn't find the rom, booted to system.
Lights outView attachment 4591035
Sent from my SM-N950U1 using Tapatalk
Click to expand...
Click to collapse
I'm straggling with Chinese like most of us here. There is an android app you can install on your other phone which would use your cam to translate Chinese. Try that see if it helps...
What I am getting from this (cannot read chinese) but phone goes into fastboot - So I have formated, deleted the eu rom I had on the internal - so start again install the fastboot rom, twrp into it reboot twrp, have eu rom on SD Card and go from there.
badrsj said:
Folks I've hosed it
What's this
Booted to twrp, couldn't find the rom, booted to system.
Lights out
Click to expand...
Click to collapse
After flashing TWRP you need to change file system from ext4 to f2fs, then reboot recovery, from within twrp, wipe cache,dalvic, data and internal recovery ( do NOT wipe system), mount all possible options ( pc will recognize phone, transfer xiaomi.eu rom from pc to internal memory, go to install and flash rom and wait to boot.
martin.burgas said:
After flashing TWRP you need to change file system from ext4 to f2fs, then reboot recovery, from within twrp, wipe cache,dalvic, data and internal recovery ( do NOT wipe system), mount all possible options ( pc will recognize phone, transfer xiaomi.eu rom from pc to internal memory, go to install and flash rom and wait to boot.
Click to expand...
Click to collapse
Change phone file system
How?
Currently it states reset device and loops off and on.
It's a mess
Sent from my SM-N950U1 using Tapatalk
badrsj said:
Change phone file system
How?
Currently it states reset device and loops off and on.
It's a mess
Click to expand...
Click to collapse
From TWRP Wipe->Advanced wipe->Repair or change file system. Reboot TWRP from within TWRP -> Reboot recovery.
Can I flash this instead
Hi, I'd also flashed miui_MIMAX3Global_V9.6.6.0.OEDMIFD_091e94a919_8.1
Can I flash this rom on top of the above?
Fastboot ROM: http://bigota.d.miui.com/V9.6.7.0.O...EDCNFD_20180705.0000.00_8.1_cn_7c9a1a57f8.tgz
Located here
https://xiaomi.eu/community/threads...-and-recovery-rom-9-6-7-0-for-mi-max-3.45198/
Thanks, I'm afraid I'll brick the device?
Also struggled with twrp, switched back to miui's.
Look the twrp official site, find your device and follow step by step the fastboot method till the end. Worked.
I have solved the TWRP issue, the problem now is that when I flash a ROM it does not seem to work and crashes.
I am worried this is going to get bricked in this process. Maybe just wait for the official Global to come out
Which Partitions Change to F2FS
martin.burgas said:
From TWRP Wipe->Advanced wipe->Repair or change file system. Reboot TWRP from within TWRP -> Reboot recovery.
Click to expand...
Click to collapse
Hi, Which partitions to change to F2FS, If we change the Data Partition that would need to reflash Miui Chinese again?
Many Many Thanks - I am up and running
martin.burgas said:
After flashing TWRP you need to change file system from ext4 to f2fs, then reboot recovery, from within twrp, wipe cache,dalvic, data and internal recovery ( do NOT wipe system), mount all possible options ( pc will recognize phone, transfer xiaomi.eu rom from pc to internal memory, go to install and flash rom and wait to boot.
Click to expand...
Click to collapse
Thanks Martin you're very helpful I am now up and running. I am going to list a list of mistakes
1. I should have used CMD, not Powershell (type CMD in the address bar of the folder where your recovery is)
2. I did not know the sequence of flashing (change to F2FS, reboot recovery from within, Wipe Dalvic, Cache, Data) Then flash
3. I did not know how to boot recovery from fastboot (fastboot boot "recovery.img" "name of your recovery")
4. I did not know to change file system for data, (From TWRP Wipe->Advanced wipe->Repair or change file system. Select Data partition, select F2FS) change it then reboot recovery = see step 2 above.
Thanks Very Much
I am listing these for reference, and for those who help others to know what other errors may be committed.
Twrp supposedly installed -- twice -- but i got nothin'
Hi all,
I love this forum -- despite having a bunch of learning disabilities, I've managed to root a half dozen devices over the years thanks to your patience. This time I'm stumped.
Can't install TWRP. It says it is installed successfully with ADB (see screenshot). I used
twrp-3.3.1-0-nitrogen.img and I'm on I'm on Miui Global 10.3.5 Stable (Android 9PKQ1.181007.001).
Command line confirms installation. MM3 reboots when I enter the fastboot reboot to recovery command but it boots into the main system. I can boot into recovery using power/volume up method but it boots to the stock Mi recovery.
Should I try OrangeFox? Does this have anything to do with dm-verity? Is there anything else I can try to get root?
Originally, I wanted to install LineageOS, but what with locked bootloaders, anti-rollback, DM Verity, etc. , I'm guessing that's over my head and would happily settle for rooted stock.
Best,
Amy
Twrp supposedly installed -- twice -- but i got nothin'
EUREKA!!! I found a simple solution to install TWRP no worries about verity etc and I am rooted!
Genius idea came from Youtuber. Here is the link but I will still describe it in case the video gets removed for some reason.
You do it the regular stuff:
adb reboot bootloader
fastboot flash recovery "twrp filename"
But then while you're still in fastboot enter "fastboot recovery" into the command line and before you hit enter, press and hold volume up on the phone.
It boots into TWRP!
Note that you will keep getting Mi Recovery using volume down/power combo until after you use TWRP install (accessing TWRP with above method) to flash magisk.
Then, TWRP seems to stick. (Although just in case it gets unstuck, I installed the official twrp app from the Play store, since it has a 'boot into recovery' option.

TWRP Recovery For Asus Zenfone Lite L1 (ZA551KL)

Presenting the TWRP Recovery for Asus Zenfone Lite L1 (ZA551KL) (asus_x00r)(Treble Supported)(Encryption Fixed) ​Disclaimer : I am not responsible for any bricked device, all responsibility bears the user.​
First Unlock Boot-loader using official asus ubl tool - Download UBL App
Team Win Recovery Project (TWRP) is the most famous custom recovery used by the people who like to flash custom roms, patches, flashable zips etc. The latest version is TWRP 3.2.3-0.
Flash zips through otg or Micro sd Cards as device is encrypted , if you format data and decry-pt then the Flashlight (torch) and the Camera will not Work.ENCRYPTION IS FIXED NOW
Installation By PC
1. Install fastboot tools - minimal adb and fastboot
2. Download twrp image and rename it as "twrp.img", then copy it to the Minimal ADB and Fastboot folder
3. Boot the device to fastboot mode - press and hold power button and volume down button
4. Connect device to pc
5. Open command prompt from Minimal ADB and Fastboot
6. Run command " fastboot flash recovery twrp.img "
7. Twrp will be flashed immediately
8. To boot in to twrp run " fastboot boot twrp.img " or disconnect device from pc and press and hold power button and volume up button
9. Device will be booted to twrp
NOW LETS DECRY-PT DATA
*Download the data Decrypt patch Zip :- Download
*Put it in otg (pendrive) or microsd card
*Then in twrp , Go to wipe section in twrp and tap on Format data (Important )
*Do not wipe data partiton , you have to format it
*then flash the Decrypt zip from your sdcard or pendrive
*after flashing wipe caches
*then reboot , and see camera and flashlight is working and Storage in Decrypted
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Join telegram group for updates​
Downloads:-
1. Minimal Fastboot and Adb
2.TWRP_3.2.3.0_asus_lite_l1
3. Decrypt Patch Download
Device tree
Credits:
@Ashish Gupta1999 (me)
Tester - for testing a lot of builds time to time
if you like my work you can donate me also
Dose it support g cam portrait mode
Yes works fantastic(front cam)
Doesn't work for me. Anyone have a working root method for Asus zenfone live L1?
dexx121 said:
Doesn't work for me. Anyone have a working root method for Asus zenfone live L1?
Click to expand...
Click to collapse
Live l1 and lite l1 is a completely different devices
This TWRP actually partially works for Live L1 (ZA550KL, SD425). The problems are 1) it can't decrypt /data, 2) it fails to mount /xrom (which is inexistent on the Go variant) and 3) no ADB/MTP, but for flashing ROMs/addons, backing up and restoring, it works nicely. Just letting y'all know about it.
AndyYan said:
This TWRP actually partially works for Live L1 (ZA550KL, SD425). The problems are 1) it can't decrypt /data, 2) it fails to mount /xrom (which is inexistent on the Go variant) and 3) no ADB/MTP, but for flashing ROMs/addons, backing up and restoring, it works nicely. Just letting y'all know about it.
Click to expand...
Click to collapse
there is a specific twrp for live l1
Ashish Gupta1999 said:
there is a specific twrp for live l1
Click to expand...
Click to collapse
Can you link me to the one you know of? I just found another one from TWRP Builder, and it did fix most problems, but I still can't use decrypted data (shows "encryption unsuccessful" on boot). And it doesn't expose /vendor either which is a small letdown. <- Fixed by unpacking and editing recovery.fstab.
AndyYan said:
Can you link me to the one you know of? I just found another one from TWRP Builder, and it did fix most problems, but I still can't use decrypted data (shows "encryption unsuccessful" on boot). And it doesn't expose /vendor either which is a small letdown. <- Fixed by unpacking and editing recovery.fstab.
Click to expand...
Click to collapse
Contact me on telegram @yoursenpai1 i will provide you there
it works
Ashish Gupta1999 said:
Contact me on telegram @yoursenpai1 i will provide you there
Click to expand...
Click to collapse
Something gone wrong. System in boot loop. Able to load TWRP through PC. Tried to flash a new ROM but only 2 options (Boot & Recovery) available. Please help
Abhicr said:
Something gone wrong. System in boot loop. Able to load TWRP through PC. Tried to flash a new ROM but only 2 options (Boot & Recovery) available. Please help
Click to expand...
Click to collapse
All I know there is no rom for this device as of now , if you flash a gsi , it. Will definitely show system image option , for now flash stock rom using stock recovery to unbrick
Ashish Gupta1999 said:
All I know there is no rom for this device as of now , if you flash a gsi , it. Will definitely show system image option , for now flash stock rom using stock recovery to unbrick
Click to expand...
Click to collapse
I used a GSI to update from Oreo to Pie. But the TWRP has only 2 options (boot & Recovery) to flash the .img file. However, I did a restore & back with the old Oreo. I want to upgrade my Asus Lite 1 to Pie!! Is there any possibility to get the mobile back to the factory state including recovery? So, that I can begin from one.
Abhicr said:
I used a GSI to update from Oreo to Pie. But the TWRP has only 2 options (boot & Recovery) to flash the .img file. However, I did a restore & back with the old Oreo. I want to upgrade my Asus Lite 1 to Pie!! Is there any possibility to get the mobile back to the factory state including recovery? So, that I can begin from one.
Click to expand...
Click to collapse
Well there is a fastboot rom available in my telegram channel of lite l1 check in there
Accidentally deleted the OS and now the mobile isn't even switching on. Any solution for this? Anyway I can install an OS ?
My mobile is ASUS Zenfone Lite L1.

DATA decryption on EMUI 9.1?

Hi, is there a simple and WORKING method to decrypt data on EMUI 9.1? On stock and custom ROM? ( I mean DATA section without encryption, you can interact with it in TWRP).
Thanks in advance.
avenger.forsyth said:
Hi, is there a simple and WORKING method to decrypt data on EMUI 9.1? On stock and custom ROM? ( I mean DATA section without encryption, you can interact with it in TWRP).
Thanks in advance.
Click to expand...
Click to collapse
Hello, I sometimes use the following methods.
Unfortunately a factory reset is required.
CUSTOM GSI ROM
Requirements:
- Root
- TWRP (installed over eRecovery, it makes things easier)
- Stock recovery
1. Download the patch
https://mega.nz/file/UptUzCpZ#GbVkUz-e7_Z09D8z3h3Vdbrcq56WDge1A-J9J-pXr0Q
2. In TWRP mount Vendor
3. Flash the .zip patch
4. In TWRP boot into stock recovery and perform factory reset
5. Reboot
STOCK EMUI 9.1
Requirements:
- Root
- Root file manager (Solid Explorer)
1. Install root file manager
2. Open > root/vendor/etc/fstab.hi6250 and
delete all references to 'aes 256' in the line relate to the /data
3. Save changes.
4. Factory reset in Stock recovery.
5. Reboot.
Screenshot shows modified fstab.6250
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thank you man!
-Alf- said:
Hello, I sometimes use the following methods.
Unfortunately a factory reset is required.
CUSTOM GSI ROM
Requirements:
- Root
- TWRP (installed over eRecovery, it makes things easier)
- Stock recovery
1. Download the patch
https://mega.nz/file/UptUzCpZ#GbVkUz-e7_Z09D8z3h3Vdbrcq56WDge1A-J9J-pXr0Q
2. In TWRP mount Vendor
3. Flash the .zip patch
4. In TWRP boot into stock recovery and perform factory reset
5. Reboot
STOCK EMUI 9.1
Requirements:
- Root
- Root file manager (Solid Explorer)
1. Install root file manager
2. Open > root/vendor/etc/fstab.hi6250 and
delete all references to 'aes 256' in the line relate to the /data
3. Save changes.
4. Factory reset in Stock recovery.
5. Reboot.
Screenshot shows modified fstab.6250
View attachment 5385631
Click to expand...
Click to collapse
data still crypted even after doing that
-Alf- said:
Hello, I sometimes use the following methods.
Unfortunately a factory reset is required.
CUSTOM GSI ROM
Requirements:
- Root
- TWRP (installed over eRecovery, it makes things easier)
- Stock recovery
1. Download the patch
https://mega.nz/file/UptUzCpZ#GbVkUz-e7_Z09D8z3h3Vdbrcq56WDge1A-J9J-pXr0Q
2. In TWRP mount Vendor
3. Flash the .zip patch
4. In TWRP boot into stock recovery and perform factory reset
5. Reboot
STOCK EMUI 9.1
Requirements:
- Root
- Root file manager (Solid Explorer)
1. Install root file manager
2. Open > root/vendor/etc/fstab.hi6250 and
delete all references to 'aes 256' in the line relate to the /data
3. Save changes.
4. Factory reset in Stock recovery.
5. Reboot.
Screenshot shows modified fstab.6250
View attachment 5385631
Click to expand...
Click to collapse
I cannot factory reset in stock recovery since the recovery is used for root acces with magisk
jackosbick said:
I cannot factory reset in stock recovery since the recovery is used for root acces with magisk
Click to expand...
Click to collapse
You can
https://forum.xda-developers.com/t/usb-wont-working.4368409/post-86020235
-Alf- said:
You can
https://forum.xda-developers.com/t/usb-wont-working.4368409/post-86020235
Click to expand...
Click to collapse
not working for me, i can keep doing that even 30 times till the phone boot the system
jackosbick said:
not working for me
Click to expand...
Click to collapse
And is there anything that works for you?
-Alf- said:
And is there anything that works for you?
Click to expand...
Click to collapse
I think not, i'm starting to lose hope...
-Alf- said:
And is there anything that works for you?
Click to expand...
Click to collapse
now i'm facing a new problem which i can't determine if is better or worse than the previous one, in twrp i can now see the normal folders ,which i could not before (Alarms, Android, DCIM,....), but they're into the /sdcard folder in the list of the folders named acct, cache, config, cust... any suggestions?

Question Fastboot Boot TWRP wipes OS

As mentioned in the title, fastboot booting a twrp.img to enter a temp TWRP seems to completely wipe everything else on the device, including the current OS. To bypass this I'm using a method in one of the guides using a nonflagged twrp.img to format data, re-fastboot boot into recovery, unmount-remount data. This allows me access to storage again so I can flash a different ROM. If I make the TWRP permanent, booting from new ROM system into recovery also wipes the OS. I'm not sure what other details to provide but I can answer any questions. Help would be appreciated, thank you!
I have never heard of this problem, what TWRP are you using? Firmware? ROM?
Darkaeluz said:
I have never heard of this problem, what TWRP are you using? Firmware? ROM?
Click to expand...
Click to collapse
Started with base MIUI, I believe it was 12, then updated to 12.5, so I got hit with ARB from the start. Switched to custom ROM, I went through crDroid, EvoX, and HavocOS before switching to Descendant 12, which is what I'm on now.
I'm pretty sure the issue began when I was flashing 12 after updating to 12.5 (to make sure all the tail ends were cleaned up I suppose) before flashing crDroid.
edit: I flashed stock through MiFlash so it just didn't work and I moved on, no bricking from ARB with TWRP
I've been using the Nebrassy TWRP, following this guide.
I'm not sure what you mean by firmware. I do not use a custom kernel if that is what you're asking.
FoxTailKitsune said:
Started with base MIUI, I believe it was 12, then updated to 12.5, so I got hit with ARB from the start. Switched to custom ROM, I went through crDroid, EvoX, and HavocOS before switching to Descendant 12, which is what I'm on now.
I'm pretty sure the issue began when I was flashing 12 after updating to 12.5 (to make sure all the tail ends were cleaned up I suppose) before flashing crDroid.
edit: I flashed stock through MiFlash so it just didn't work and I moved on, no bricking from ARB with TWRP
I've been using the Nebrassy TWRP, following this guide.
I'm not sure what you mean by firmware. I do not use a custom kernel if that is what you're asking.
Click to expand...
Click to collapse
Try to flash the latest fastboot original MIUI ROM for your device, that normally gets rid of most conflicts, and I would recommend following the flashing steps from CrDroid 8.1
Darkaeluz said:
Try to flash the latest fastboot original MIUI ROM for your device, that normally gets rid of most conflicts, and I would recommend following the flashing steps from CrDroid 8.1
Click to expand...
Click to collapse
How can I do that when my ARB is higher than stock ROM
Edit: I removed the ARB check in the .bat file and then flashed stock MIUI 12.5.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I get this error after flashing but everything seems fine once booted up.
Edit2: Attempt to flash Descendant 12:
1. Boot into stock ROM, set pin, finish setup
2. Boot into bootloader -> fastboot boot twrp.img
3. Flash descendant.zip -> I get this:
ERROR: failed to mount /system_ext
failed to mount /product
3a. (optionally) make TWRP permanent -> flash current TWRP
same errors
3b. system OS is wiped, sdcard is empty
4. Boot into system. Buggy (most notably audio freezing/cutting out)
4a. fastboot boot twrp.img
4b. OS is wiped, sdcard empty
I tried this twice. First time was 1-3b, second time 1-3, 4-4b.
I will try with the crDroid 8.1 posted TWRP file.
Edit3: using crDroid TWRP file
1. fastboot boot twrp-crdroid.img
2. flash crDroid (auto-flash twrp toggled)
3. reboot recovery
4. flash everything
5. FORMAT VERY IMPORTANT
6. boot system
On further consideration, I made two mistakes. One was getting too fixated on the errors, the other was not formatting after flashing. The twrp file really helped to resolve these issues. Thanks for your help.
FoxTailKitsune said:
How can I do that when my ARB is higher than stock ROM
Edit: I removed the ARB check in the .bat file and then flashed stock MIUI 12.5.
View attachment 5525303
I get this error after flashing but everything seems fine once booted up.
Edit2: Attempt to flash Descendant 12:
1. Boot into stock ROM, set pin, finish setup
2. Boot into bootloader -> fastboot boot twrp.img
3. Flash descendant.zip -> I get this:
ERROR: failed to mount /system_ext
failed to mount /product
3a. (optionally) make TWRP permanent -> flash current TWRP
same errors
3b. system OS is wiped, sdcard is empty
4. Boot into system. Buggy (most notably audio freezing/cutting out)
4a. fastboot boot twrp.img
4b. OS is wiped, sdcard empty
I tried this twice. First time was 1-3b, second time 1-3, 4-4b.
I will try with the crDroid 8.1 posted TWRP file.
Click to expand...
Click to collapse
what MIUI are you trying to flash? what phone do you have? K40?, F3 global? China?
Darkaeluz said:
what MIUI are you trying to flash? what phone do you have? K40?, F3 global? China?
Click to expand...
Click to collapse
12.5.5, the latest official ROM. I have F3 global.
Edit: It seems to be more an issue with Descendant than the other ROMs. PEX and crDroid, although also having mounting errors, did not come with the same ones. /vendor is okay, but it seems to be an error when failing to mount /oem and/or /system(.extensions) -- this would make sense, obviously.
I may try HavocOS and some other ROMS at a later time.

Categories

Resources