[RECOVERY] Honor 7x bricked with TWRP installed and bootloader accessable - Honor 7X Questions & Answers

I recently tried rooting my phone and got the bootloader unlocked and I have TWRP installed.
But due to some unfortunate actions I can't boot into the OS anymore... After a normal boot it first just shows the message that my device was unlocked and then it boots to the eRecovery page, using the online tool on it just leads to it not finding any package information.
I also tried using the dload service rom files, it installs them but then nothing more happens, the same thing just repeats.
I have an old TWRP backup which includes the vendor_image, vendor, system, cust and kernel. Is there anything I can do with those?
I still have full access to TWRP and fastboot.
Is there anything I can do, to at least get it to a usable state again? It would really suck if the phone would just be paperweight

No worries, you have TWRP so you have full access to all partitions, no need for dload.
It's normal that ROM won't boot along with custom recovery. You probably forgot to disable avb/dm-verity, which is responsible for breaking the boot chain in case of modifications.
You can install GSI or custom ROM, or disable dm-verity to make the phone boot in EMUI.
[ROM][8.1][OpenKirin's RROS Oreo v6.0.0 - For Honor 7X][ Update 01/04/2018 ]
Resurrection Remix O v6.0.0 For Honor 7X (BOND) Compatibility : BND-AL00/AL10/AL20/L21/L22/L24/L31&TL10 *** Beta Version *** About : Resurrection Remix the ROM has been based on LineageOS, and including some features...
forum.xda-developers.com

Related

Problems with custom roms

Hello,
it looks like that I'm unable to install a custom rom on my GX8 (see details out device at the end of the post).
FRP disabled, bootloader unlocked (this is at least what the fastboot/bootloader screen is saying)
I'm able to flash twrp-3.1.1-0-rio.img to recovery
I can use twrp on recovery and it seems to be fully functional
When I use twrp in 'read-only' mode, I'm able to reboot the system (stock firmware)
But when I use twrp in modifing mode, booting the system (stock firmware) is no longer possible (even if I only wipe cache and/or dalvik). Restarting the device will always end in twrp/recovery.
Backup is possible. Restore backup succeeds, but booting the system (stock firmware) is not possible. Restarting the device will always end in twrp/recovery.
Nevertheless trying to install a custom rom from zip in twrp. This leads to the following error message:
"E3004: This package is for device: RIO-L01, hwRIO-L01, RIO-L02, hwRIO-L02, RIO-L03, hwRIO-L03, RIO-AL00, hwRiO-AL00, RIO-CL00, hwRIO-CL00, RIO-TL00, hwRIO-TL00; this device is rio.
Updater process ended with ERROR: 7"
Well, patch the custom rom in lines of http://www.lineageosdownloads.com/fix-error-7-lineage-os/, i.e. modifing the 'updater-script' in the zip. Now installing the custom rom zip in twrp is possible. Still unable to reboot system.
Installing gapps and/or chainfire supersu does not improve the situation.
Giving up back to stock rom in lines of https://forum.xda-developers.com/gx...tall-stock-rom-g8-t3370013/page2#post73008458 . This has (so far) worked for me to get back a working mobile phone.
Any suggestions, anyone?
Kind regards,
aanno
PS:
device:
Prod
HUAWEI RIO-L01
Serial
MUYDU16122xxxxxx
IMEI
867115027xxxxxx
Prod Id
2983xxxx
Unlock
9725092227xxxxxx
stock firmware used:
EMUI 4.0
Build
RIO-L01C432B340
Android
6.0.1
Kernel
3.10.49-g06216b3
Custom
CUSTC432D001
I've encountered the same exact problem when I flashed using twrp-3.1.1-0-rio.img. Had to force update to stock rom after it got stuck on bootloop.
Solved it when using the older TWRP 3.0.2-0 which you can get here:
https://forum.xda-developers.com/gx8/development/huawei-g8-gx8-t3324538
Hope it might help you too.

To install no-verity-opt-encrypt-6.0.zip or not?

I bought now Mi Max 3 (64gb) with unlocked bootloader and installed 10.3.5 Global Stable ROM (10.3..5.0(PEDMIXM)).
I wish to install official TWRP 3.3.1-0 and to root it with Magisk, but now I am in doubt about no-verity-opt-encrypt-6.0.zip, after reading a number of instructions on how to root Mi Max 3.
Do I need to install no-verity-opt-encrypt-6.0.zip ? What heppens if I skip installing no-verity-opt-encrypt-6.0.zip ? When to install official TWRP 3.3.1-0 - before or after TWRP installing ? (Is official TWRP 3.3.1-0 OK, or you advise other TWRP ?)
Many thanks in advance for any help.
Don't install official TWRP 3.3.1-0! It is buggy, no encryption etc.
Only perfect TWRP is OrangeFox TWRP: https://sourceforge.net/projects/orangefox/files/nitrogen/OrangeFox-R10.0-Stable-nitrogen.zip/download
L_e_x_t_e_r said:
Don't install official TWRP 3.3.1-0! It is buggy, no encryption etc.
Only perfect TWRP is OrangeFox TWRP: https://sourceforge.net/projects/orangefox/files/nitrogen/OrangeFox-R10.0-Stable-nitrogen.zip/download
Click to expand...
Click to collapse
Thank you. And what about no-verity-opt-encrypt-6.0.zip?
zost said:
Thank you. And what about no-verity-opt-encrypt-6.0.zip?
Click to expand...
Click to collapse
You can do this with OrangeFox...in settings....
Android is an operating system that gives all the developers access to new mods and applications to serve the user better. You can find tons of new mods that power the Android phone with features that it did not officially equip with. However, these apps and mods require you to have an unlocked bootloader and on top of a rooted device to get it running smoothly on your smartphone. And one of the important verification or security measures taken by the OEMs is the DM-Verify or Device Mapper Verify to reduce the risk percentage after enabling root.
Another important encryption is the no-verity-opt-encrypt which is there to encrypt the bootloader of the Android devices. Besides, this file is important for flashing Custom firmware or rooting.
L_e_x_t_e_r said:
Don't install official TWRP 3.3.1-0! It is buggy, no encryption etc.
Only perfect TWRP is OrangeFox TWRP: https://sourceforge.net/projects/or.../OrangeFox-R10.0-Stable-nitrogen.zip/download
Click to expand...
Click to collapse
I would suggest Ofox 10.0 as opposed to 10.1 as 10.1 sometimes returns error 3 or some **** when flashing some roms

Need help to restore phone from broken OS

Hello!
So, I've messed up. When I tried to install custom ROM with unlocked bootloader and TWRP on my phone I accidentally installed Xperia XZ1 compact version. After that my phone stopped booting, but I still had access to TWRP (without touch support, but mouse works). TWRP was saying that I don't have OS on the phone and it can't mount vendor directory. I've tried to restore OS using newflaser and the latest official ROM from XperiaFirm, after that TWRP stopped complaining that I don't have an OS and vendor directory fixed, but I cannot boot into OS and it still bootlooping. I'm scared to brick it forever and I need help to restore my phone.
SuperStrongDino said:
Hello!
So, I've messed up. When I tried to install custom ROM with unlocked bootloader and TWRP on my phone I accidentally installed Xperia XZ1 compact version. After that my phone stopped booting, but I still had access to TWRP (without touch support, but mouse works). TWRP was saying that I don't have OS on the phone and it can't mount vendor directory. I've tried to restore OS using newflaser and the latest official ROM from XperiaFirm, after that TWRP stopped complaining that I don't have an OS and vendor directory fixed, but I cannot boot into OS and it still bootlooping. I'm scared to brick it forever and I need help to restore my phone.
Click to expand...
Click to collapse
Please use newflasher and xperifirm to install the ROM completely
Then also TWRP will disappear and your phone will run pure stock.

Question Upgrade to LineageOS 19 gone wrong

I need help bad - can't figure out how to get my phone working again and it is basically stuck in fastboot.
This is a POCO F3 (alioth) and I previously had Lineage 18 and TWRP recovery installed (since I like to do full backups)
I flashed new firmware, then the OS, then gapps, rebooted, looks great. Awesome. Now I'm just gonna go back and install the latest TWRP and be done. This is where I must have gone wrong.
I used fastboot flash boot twrp.img with the latest version of TWRP (I had to do the same to sideload Lineage 19 since the older version I had was apparently not compatible and couldn't get the Lineage recovery to load) rebooted to recovery, and TWRP asked for my pattern to decrypt as usual. But it would not accept my pattern. I hit cancel, and because I didn't have access to my data I wasn't able to install TWRP by having it patch the ramdisk. Okay, maybe it's a glitch, I tried booting into TWRP again and got the same thing. When I went to reboot again I noticed the slot was A, instead of B which it had always been previously. So I thought maybe my system partition was on B and switching that would solve it. But after I switched that slot, TWRP has never gotten past the splash screen before it reboots and I can't boot into my system at all. Essentially the only thing I can boot into is Fastboot.
I have tried flashing the latest Lineage recovery (does not boot), an older version of TWRP (boots but sees none of my data) and stock MIUI boot.img (boots to recovery but has no options besides wipe).
I am at a loss here - I know I probably did something wrong in there, but is my system wiped? I have a lot of data on there I'd like to retain. I don't think it is wiped but I don't understand the a/b partition setup or why TWRP boot-loops on me. Any help would be greatly appreciated.
stevencrayne2 said:
Upgrade to LineageOS 19 gone wrong...
I need help bad - can't figure out how to get my phone working again and it is basically stuck in fastboot.
This is a POCO F3 (alioth) and I previously had Lineage 18 and TWRP recovery installed (since I like to do full backups)
Click to expand...
Click to collapse
FWIW althafvly who is one of the LineageOS maintainers of the Xiaomi POCO F3 / Redmi K40 / Mi 11X (alioth) wrote in the post #1 of his XDA thread [ROM][OFFICIAL][alioth/aliothin][12.1] LineageOS 19.1 *(bolded by him)*:
Flashing LineageOS through TWRP is NOT SUPPORTED and NOT ADVISED.
***
I figured out what seems to be a solution for preserving my data - for anyone else who has a similar issue, here are the steps I used to solve:
If Lineage recovery boots for you, by all means use that. I couldn't get it to boot from fastboot.
Select slot A in fastboot. flash latest TWRP to boot_a. Select slot A again. boot to recovery. TWRP should load, it will not decrypt your data but it doesn't wipe it either. Hit cancel there. Then go to advanced and ADB sideload. Sideload Lineage ROM. reboot to recovery, and finally Lineage recovery shows up. Sideload Gapps there and whatever else. Boot to system. DO NOT REINSTALL TWRP.
Apparently TWRP can access the disk somehow, but won't decrypt existing data. Hope this helps someone.

Question Help: Can't flash twrp recovery from PC to my Phone (F3)

I successfully unlocked my bootloader, then I tried flashing the twrp by following munchy's tutorial from YouTube (as someone recommended here). I also used the twrp recovery file he provided in the description, by using the latest platform tools from the official website. It was going pretty good. I even got the TeamWin logo, and also loaded up the twrp interface, and was able to navigate through it. But the problem was my internal storage wasn't showing up. So I booted back to my system normally to see If I can find a solution. Then I think I tried again after restarting to see if it fixes itself, but the same problem was persisting. The next time when I tried again, I used the latest twrp version which I downloaded from the official twrp website.
But since my 3rd attempt, I am not able to see any TeamWin recovery come up on my phone, when I connect I do the "fastboot boot (twrp filename)" command in cmd. When I do the command, nothing shows up. The device remains in the Fastboot mode, or just turns off. When I switch it back on, It turns on normally and boots into the phone without any issues, and I can use it. I've tried switching back to the original twrp version munchy used in the above linked video, but same result.
What did I do wrong here? How do I make my phone get into the twrp recovery when I enter the fastboot boot (twrp filename) command thru my PC? How do I make my Internal Storage available to view int he TWRP recovery so I can install it from my Downloads folder? I am on MIUI 14.0.4 If that helps. My end goal is to install Magisk.
Any tips/guides/suggestions are appreciated.
Installing TWRP and root does not erase your data.
Remove security from the lock screen. (decryption).Normally the latest TWRP decrypts the data.
Install Platform tools ,put the TWRP in the folder and run the commands from the folder.
TWRP SKK, Use A12 if your system is in A12/A13 if system A13.
Rename it to twrp.img
CMD
fastboot boot twrp.img
Powershell
./fastboot boot twrp.img
Once booted, go to Advanced -> Press "Flash current TWRP"
If offered, both slots.
NOSS8 said:
Installing TWRP and root does not erase your data.
Remove security from the lock screen. (decryption).Normally the latest TWRP decrypts the data.
Install Platform tools ,put the TWRP in the folder and run the commands from the folder.
TWRP SKK, Use A12 if your system is in A12/A13 if system A13.
Rename it to twrp.img
CMD
fastboot boot twrp.img
Powershell
./fastboot boot twrp.img
Once booted, go to Advanced -> Press "Flash current TWRP"
If offered, both slots.
Click to expand...
Click to collapse
Thank you. I had put backed the screen lock after the first 2 attempts because someone said to to that on a YT video after they faced the same problem. Now I tried again by removing the screen lock and the latest twrp for my device also boots up just fine. Now the problem Is I still can't access my internal storage .
Still having removed the screen security?
Which rom(fullname)?
Which TWRP?
Try to mount storage.
NOSS8 said:
Still having removed the screen security?
Which rom(fullname)?
Which TWRP?
Click to expand...
Click to collapse
Yes, I removed the screen security, though I can enter TWRP, I can't read the internal storage. MIUI 14.0.4.
I just watched a YT video where the dude does the following:
-TWRP Recovery
- Wipe
- Format Data
- Types 'yes'
then
-TWRP Recovery
- Reboot
- Recovery
- Do not Install
After coming back to recovery after rebooting, he gets a pop up, which at the swipe says "Swipe to allow for modifications" which he swipes, then now after checking the Internal Storage, It's readable now. Is this a possible solution?
Twrp A13, obviously if you don't want to keep the data.
Twrp/wipe format data type yes/reboot TWRP.
If error red lines, reboot TWRP and repeat the operation.
Sideload roms or use OTG.
NOSS8 said:
Twrp A13, obviously if you don't want to keep the data.
Twrp/wipe format data type yes/reboot TWRP.
If error red lines, reboot TWRP and repeat the operation.
Sideload roms or use OTG.
Click to expand...
Click to collapse
what's twrp A13? Also, I just unlocked my bootloader a few hours ago, so my phone has already done a factory reset and i don't have anything to lose except the Magisk APK and .img file in my phone.
But I have a question, will doing the format data just do a factory reset, or will I lose my ROM? Because I'm not trying to install a custom ROM, I just want to Install Magisk as the end goal with my current ROM.
MIUI 14 Android 13 so use this TWRP
plugged the phone into the PC when it is on the TWRP, you will have access to the internal storage. (works on my 12 pro aves twrp A13 Skk).
twrp-3.7.0_12-v7.5_A13-alioth-skkk.img
I'm using the latest one I could find on the TWRP website for my device. Not aware If it supports Android 13 though as it isn't mentioned on the website. Just asking my prev question, will doing the format data from TWRP just do a factory reset, or do I lose the ROM and will have to install a custom ROM?
second question I forgot to ask in my prev post, after i do the format data and put the Magisk APK and twrp img file again on my device, will my device stay decrypted as I formatted the data, or will the problem persist?
sorry If i sound dumb
zoinksy said:
I'm using the latest one I could find on the TWRP website for my device. Not aware If it supports Android 13 though as it isn't mentioned on the website. Just asking my prev question, will doing the format data from TWRP just do a factory reset, or do I lose the ROM and will have to install a custom ROM?
second question I forgot to ask in my prev post, after i do the format data and put the Magisk APK and twrp img file again on my device, will my device stay decrypted as I formatted the data, or will the problem persist?
sorry If i sound dumb
Click to expand...
Click to collapse
Use this TWRP(officiel).
twrp-3.7.0_12-v7.5_A13-alioth-skkk.img
thank you, this is the one I was looking for. Sorry to bother you again, now I installed the Magisk V26.1 apk from TWRP. And when I boot back to system and try opening the magisk manager, this happens. It says downloading, forever. I think I shouldn't have directly downloaded the latest version. So probably have to downgrade it a bit. For that, what will I have to do?
Can I just hold the Magisk icon, and uninstall it simply like any other app? Or do I have to do it from the TWRP? Also, Is it necessary for me to uninstall it before downgrading, or can I just download the apk of older magisk version and flash it from twrp just like I did previously?
It was on my first post.
Installation
The Magic Mask for Android
topjohnwu.github.io
TWRP + Root
Hi all. Hope you are good and safe from Covid-19. If you like TWRP as your recovery and want to keep root access as well, I am going to show you how to do that. Because if you take the stock boot.img and patch it via magisk, you will lose TWRP...
forum.xda-developers.com
Try OrangeFox. I never had problems with it. Been using it for half a year and constantly flash new ROM builds as a tester
Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40 (alioth) build releases | OrangeFox Recovery Downloads
Orangefox recovery for Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40 (alioth)
orangefox.download
cyanGalaxy said:
Try OrangeFox. I never had problems with it. Been using it for half a year and constantly flash new ROM builds as a tester
Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40 (alioth) build releases | OrangeFox Recovery Downloads
Orangefox recovery for Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40 (alioth)
orangefox.download
Click to expand...
Click to collapse
Sure, but currently only in A12.
NOSS8 said:
Sure, but currently only in A12.
Click to expand...
Click to collapse
I use ArrowOS 13
cyanGalaxy said:
I use ArrowOS 13
Click to expand...
Click to collapse
I don't doubt it, the Twrp A12 also works for certain operations on an A13 system but for certain Miui roms some bootloop.
NOSS8 said:
I don't doubt it, the Twrp A12 also works for certain operations on an A13 system but for certain Miui roms some bootloop.
Click to expand...
Click to collapse
Hm ok.
Welp for me on AOSP, it works nicely. I flash a new build (or two) every week. Backup/Restore works as should. UI is nice and modern, imo better than TWRP. That's why I'm recommending it.
Haven't heard anyone saying that they can't view Phone storage on OrangeFox.
Hi,
@NOSS8 , I'd like to ask : I've only some hours to wait to unlock the BL. But one question, as it's yet the stock rom (FW V13.0.11.0, A12), wich twrp should I use ? I want to install a A13 rom (that supposes FW V 14.xxx !)
So :
- fastboot boot twrp (but wich one ?? A12 or 13 ?? ; skkk ? Or ?) (+ "flash current twrp" OR "install it in ramdisk"?)
- reboot recovery
- flash FW V14.xxx
- flash rom
- format data
- reboot system
- flash magisk (last version ? Seems to be 'big' changes ?)
- flash what I need (V4A, DFE (??), ....)
What do you think ?
Thanks a lot ! Main question is about what version of twrp.. Help will be very appreciated !
néonaloj said:
Hi,
@NOSS8 , I'd like to ask : I've only some hours to wait to unlock the BL. But one question, as it's yet the stock rom (FW V13.0.11.0, A12), wich twrp should I use ? I want to install a A13 rom (that supposes FW V 14.xxx !)
So :
- fastboot boot twrp (but wich one ?? A12 or 13 ?? ; skkk ? Or ?) (+ "flash current twrp" OR "install it in ramdisk"?)
- reboot recovery
- flash FW V14.xxx
- flash rom
- format data
- reboot system
- flash magisk (last version ? Seems to be 'big' changes ?)
- flash what I need (V4A, DFE (??), ....)
What do you think ?
Thanks a lot ! Main question is about what version of twrp.. Help will be very appreciated !
Click to expand...
Click to collapse
Instead, use Miflash with a Fastboot rom, you can extract the boot img for root.(don't re lock the bootloader).
You can root without TWRP, but according to this thread, if you root you lose the TWRP and vice versa, I don't know if this is still relevant.(I don't have this device).
If you need ,install the TWRP A13 after flashing the A13.
See this thread for instructions
[Recovery] [13] [12] TWRP & OrangeFox
Since recoveries play a crucial role in flashing firmwares, custom ROMs and offline updates, it is of importance to have access to them. This post is about sources and instructions to working versions of recoveries for Alioth. Platform Tools (aka...
forum.xda-developers.com
***Note:
Use the TWRP SKKK.
Advantage with Miflash, the Fastboot roms contain all the imgs.
EDIT:
omitted link
TWRP + Root
Hi all. Hope you are good and safe from Covid-19. If you like TWRP as your recovery and want to keep root access as well, I am going to show you how to do that. Because if you take the stock boot.img and patch it via magisk, you will lose TWRP...
forum.xda-developers.com
NOSS8 said:
Instead, use Miflash with a Fastboot rom, you can extract the boot img for root.(don't re lock the bootloader).
You can root without TWRP, but according to this thread, if you root you lose the TWRP and vice versa, I don't know if this is still relevant.(I don't have this device).
If you need install the TWRP A13 after flashing the A13.
See this thread for instructions
[Recovery] [13] [12] TWRP & OrangeFox
Since recoveries play a crucial role in flashing firmwares, custom ROMs and offline updates, it is of importance to have access to them. This post is about sources and instructions to working versions of recoveries for Alioth. Platform Tools (aka...
forum.xda-developers.com
***Note:
Use the TWRP SKKK.
Advantage with Miflash, the Fastboot roms contain all the imgs.
Click to expand...
Click to collapse
I'm very greatfull for your quick reply ! Thanks
The device is too a Poco f3, sorry.. This doesn't need to flash magisk for twrp to stick (I had another one I've broken)
But I don't understand what's the advantage to first flash a fastboot rom..? As you say to flash twrp would loose root and vice versa... (I've read the thread you're talking about ofox)
So I wanted to go trough +- the way I mentionned, as A13 as well as ofox 'seems' to work (but I'm carefull with that twrp on stock MIUI A12, and I never used ofox..)
So you do think it's a bad idea ?? The rom I want to flash is crdroid.
I'm more lost now ...
Thanks again !

Categories

Resources