Answering my own question and for others who may need to.
Make a nand back up if the following in twrp.
Data
System
Boot ramsisk
I tried to install a treble ROM but I think the twrp version i'm using didn't allow it.
Going to hope that a compatible treble twrp is released or we are screwed for treble ROMs and let's be honest that's our last hope.
OR
Boot to eRecovery and recover from there, you'll lose all data and recovery but you will retain bootloader unlock.
Related
My device is European L04, currently running North Africa release (the earliest Marshmallow build uploaded) - L04_2016_0316_0900 (B820)
I'd like to unlock the bootloader and root my Honor 6. I've never done it (on this particular device), because I've read enough here to know it's slightly more risky than on other devices, especially when you plan to update the stock rom soon, so I preferred to wait until I have the last important update the device is likely to receive - Android 6.0.
What I want to know (some of the answers are in the topics which I listed below):
MultiTool - I've seen reports of bricks when using MultiTool with EMUI4/Marshmallow - why does it happen? My understanding is that MultiTool is a bundle of adb/fastboot and some recovery images for older Android versions, so my theory is that instead of using MultiTool, I should simply get the proper recovery for Marshmallow and flash it manually with fastboot, right?
unlocking bootloader, rooting, flashing recovery - I think I understand the process; in a nutshell: 'fastboot oem unlock X', 'fastboot flash recovery imagename.img', then flash the proper SU.zip in recovery. Where do I find the code, the Marshmallow recovery image, the SU.zip file?
will recovery backup in TWRP work without any problems?
what is the procedure to go back to stock completely after rooting? Unroot, (then wipe if it's needed?) so I am able to safely flash stock firmware again (since, from what I know, flashing stock on a rooted phone makes itself brick permanently, right? or is it just a soft-brick and it can be fixed?)
is there anything else I should know before proceeding?
What I found so far:
http://forum.xda-developers.com/showpost.php?p=66615082&postcount=502 - two recovery images, TWRP and another one (stock?) for the Marshmallow release
http://forum.xda-developers.com/honor-6/general/honor6-multi-tool-t2963060/page50 some rooting instructions for the L02 beta, see posts 494 and 498; no idea whether this is applicable to final Marshmallow or L04 at all
http://forum.xda-developers.com/honor-6/general/huawei-honor-6-plus-unlock-bootloader-id-t3357259 an app to get the unlock code, seems a bit shady to me though on the first glance
http://forum.xda-developers.com/honor-6/development/honor-6-rooting-method-t2962795 alternate methods for bootloader (through a website or by email), in case the app won't work; also, detailed instructions on unlocking and rooting
Basically, I need to know whether my procedure is more or less right before I proceed. I think the information is quite hard to find and the risks are quite high, so I'd like to make a promise - when I'm done rooting it and I know the correct process, I'm going to make a "Update to Marshmallow, unlock, root" how-to thread for all the people that will need it in the future.
Another two questions...
1. Where do I get proper SuperSU for Marshmallow? I get a boot loop (yeah, I know I have to wait and I did, but it's a pretty obvious bootloop from watching the logcat content, and nothing new happens...) after flashing http://download.chainfire.eu/supersu-stable (2.65).
2. I have unlocked my bootloader and installed TWRP, so recovery and fastboot are functional. I didn't make a backup before flashing the zip and now I'm in a bootloop. How do I restore working Marshmallow? I assume I can either beg somebody to upload a TWRP backup for my H60-L04, or somehow flash the stock over what I have now. Can I simply use manual update from SD? Can I somehow flash Marshmallow again with fastboot? I'm too scared of bricking my device right now so I guess I'll brace myself for a few days without a phone until somebody helps me :/
I just flashed the Marshmallow release I had before the bootloop (I used Huawei Update Extractor and flashed boot, cust, system and recovery with fastboot; then open up Huawei recovery and factory reset for good measure, I'm not sure it was even needed) and the device is working. I'll restore my stuff, install TWRP, make a backup then try out your ZIP. Thanks
edit: thanks again - your zip works indeed. So after the initial hurdles, now I've got working root and a reasonable way of restoring in case I screw something up along the way.
Before making a new topic with the tutorial I have a few more questions.
First of all, why exactly we weren't supposed to update the rooted devices? I'm not currently interested in OTAs (it's pretty obvious that it needs a functional Huawei recovery, and you need to unroot cause an update can make a mess in a rooted system, making it bootloop for example), but can we flash extracted images with fastboot on rooted devices? Logically, we should be able to... How about sdcard update method?
Can we flash Marshmallow on Kitkat? (fastboot, sdcard, local update methods?) Or do we need to update to Lollipop along the way?
Can I flash stock roms in general (evenbetween different Android versions) by using fastboot with {boot, cust, recovery, system} images only? There's a lot of images that you can extract with Huawei Update Extractor - why there's so many if they're not needed?
Hello guys is there anyone willing to help me out?
Im long term HTC user in the past 15 Plus years i was flshing whatever i want and im familiar with this but i switched to Pixel 2 and i want to clear for myself few things prior before to brick it.
I also read this guide: https://forum.xda-developers.com/pixel-2/how-to/guide-unlock-flash-root-pixel-2-walleye-t3702417
But its seems like the thread is not updated and some users mention problems with flashing Magisk etc.
Im fully Stock locked bootloader with the latest Android Pie from 5 January 2018
The Pixel i use is Google Edition worlwide version not loocked to any network etc.
The main reason to want to Bootloader unlock it is because i need the Magisk in order to be able to flash and use few of the must have for me apps that i use all the time.
1st is SAURON audio - without Magisk and TWRP this is not posible.
2nnd few additional Magisk modules that i use non stop in the past few years.
What is not clear for me is the steps and exactly the second steb with Flashing Flashing factory images?!
In HTC i need to get the bootloader unlock S-OFF is i want and flash a TWRP in this case i can flash on top Magisk so here is different and not very clear for me as well.
When im now on the latest Android version from 5 January do i need still to flash FACTORY IMAGE after unlocking the bootloader?
Is anyone willing to help to clear the things out before to mess the device.
Thanks in advance
tsalta said:
Hello guys is there anyone willing to help me out?
Click to expand...
Click to collapse
Hi If you just want to unlock bootloader, there is no reason to flash factory image again. Just allow unlock bootloader in developer options, reboot to bootloader and run fastboot flashing unlock, this will fully wipe/factory reset your device.
Now you could boot/flash TWRP and install magisk.
When will be new monthly update available, flash it with help of this thread:
Code:
https://forum.xda-developers.com/pixel-2/how-to/guide-how-to-install-google-software-t3760033
Good luck :good:
somin.n said:
Hi If you just want to unlock bootloader, there is no reason to flash factory image again. Just allow unlock bootloader in developer options, reboot to bootloader and run fastboot flashing unlock, this will fully wipe/factory reset your device.
Now you could boot/flash TWRP and install magisk.
When will be new monthly update available, flash it with help of this thread:
Code:
https://forum.xda-developers.com/pixel-2/how-to/guide-how-to-install-google-software-t3760033
Good luck :good:
Click to expand...
Click to collapse
Thank you for the info.
So this mean i dont need to flash Image if im with the latest stock Version.
I prefer to stay stock just miss some Magisk modules thats why i wondering what to do.
Can i flash just a Kernel for example KiriSakura after unlock the bootloader and install TWRP just to flash Kiri Kernel with the stock rom im now and other Magisk stuffs like Sauron etc.
Thanks again
Hi exactly, if you run latest stock you havn't flash it again after bootloader unlock.
If you want to petmanently flash twrp, you have to do it before flashing magisk, othetwise you willn't be able to boot os only twrp.
Hello. Just got my phone back from assistance and had my motherboard replaced after an unrecovable hard brick.
Atm I'm on Nougat and I don't plan to update to Oreo, I just wanna root my device again and I would like to do so using Magisk.
So, I've unlocked my bootloader, flashed TWRP 3.1.1-0 and then tried to flash Magisk 19.3 zip: problem is my phone is encrypted so it requires password for encrypting and it fails (as expected), then it wanna do a factory reset and reboot into TWRP which is unable to factory reset properly while eRecovery doesn't have a factory reset option so meh.
I didn't had problems installing Magisk on Oreo but right now I'm pretty tired and cannot figure out what I'm doing wrong on Nougat. Any hint?
How is that you can unlock bootloader in these months?
My father give me the BLL23, and is on stock Rom (nougat)
But I want to try Viper, and that's making me need root, then I need to unlock...
Have you tried Ianmacd's builds? They're friendly with Huawei devices. Sincerely it's weird that official Magisk doesn't work since that topjohnwu has fixed troubles with EMUI some time ago, but give it a try. And here's a dedicated wiki in way to troubleshoot most common errors.
Plus, in way to factory reset as the OS asks, stock recovery is needed as you'll know. Even if the phone is encrypted a password shouldn't be asked after flashing Magisk. That usually is asked by recovery, so i don't know about this.
pantxus said:
How is that you can unlock bootloader in these months?
My father give me the BLL23, and is on stock Rom (nougat)
But I want to try Viper, and that's making me need root, then I need to unlock...
Click to expand...
Click to collapse
Through DC-Unlocker at the cost of 4 euros.
Hi guys, I open this thread to solve problems / doubts of this chinese version of One Plus 7 GM1900 because I guess many will be in my place.
I tell you my case:
My intention is to open bootloader to be able to put custom recovery TWRP and root it with Magisk.
Once I have it, I have doubts:
1. If I want to remove TWRP and Root, and I will leave all stock, what steps should I take?
2. If I am in OOS (for example 9.5.2) with TWRP and root and want to upgrade to a new version of OOS (for example 9.5.6), what steps do I have to follow?
3. I would like to know if this is true, and if so, what would be the solution: I have read that when a Wipe System is made from Twrp, the bootloader can be closed or that the phone does not start in fastboot mode causing a crash. Is this true?. I thought about when I wanted to install a cleaner ROM stock, make a Wipe System, data, cache and dalvik and then flash the rom, and according to that it might not be possible.
Thank you.
Hi, are these Treble GSI roms compatible with the OnePlus 7 (not pro) Chinese version GM 1900 ???
Roms Treble GSI:
https://forum.xda-developers.com/project-treble/trebleenabled-device-development
hardware is the same, firmware also fits from EU/Indian devices. next time just use search.
tURkOsANsE said:
1. If I want to remove TWRP and Root, and I will leave all stock, what steps should I take?
Click to expand...
Click to collapse
Flash the stock ROM and reboot. You'll have a phone with stock recovery and ROM with no root access. It won't relock your bootloader though, so you'll have to do it with: fastboot oem lock
2. If I am in OOS (for example 9.5.2) with TWRP and root and want to upgrade to a new version of OOS (for example 9.5.6), what steps do I have to follow?
Click to expand...
Click to collapse
You always need to flash full ROM zips if you're rooted and want to update. However to keep the custom recovery (TWRP), you need to flash the TWRP installer along with the ROM. Then to not lose root access you'll have to reboot to TWRP and flash Magisk. Just follow these steps:
1. Boot to TWRP
2. Flash ROM
3. Flash TWRP installer
4. Reboot to TWRP
5. Flash Magisk
6. Reboot to system
3. I would like to know if this is true, and if so, what would be the solution: I have read that when a Wipe System is made from Twrp, the bootloader can be closed or that the phone does not start in fastboot mode causing a crash. Is this true?. I thought about when I wanted to install a cleaner ROM stock, make a Wipe System, data, cache and dalvik and then flash the rom, and according to that it might not be possible.
Click to expand...
Click to collapse
I haven't tried that yet. But since TWRP builds are official, I don't think there are bugs like that. Why don't you give it a try and let us all know?
@dewri21 Thank you very much for your answers, you have helped me a lot, thank you for your clear explanations, please like this, help those who are starting in this world.
dewri21 said:
I haven't tried that yet. But since TWRP builds are official, I don't think there are bugs like that. Why don't you give it a try and let us all know?
Click to expand...
Click to collapse
Hehehehe I dare not do it, I could run out of mobile phone and end up with a brick. At the moment if I want to put clean OOS I think I will use Fastboot mode. Let's see if a partner who knows how to get out of a brick does Wipe Sistem and confirms that.
FASTBOOT: https://forum.xda-developers.com/oneplus-7/how-to/rom-stock-fastboot-roms-oneplus-7-t3937478
Hi guys, I am writing to let you know that I have flashed the fastboot 9.5.6 BA ROM in my OnePlus 7 Chinese version GM 1900 and it worked perfectly. I was in TWRP, Root Margisk and Custom Kernel, and now I'm back in Stock. My device being a Chinese version came with ROM AA when removed from the box, and I confirm that the BA version can also be set up by Fastboot.
Add that as it is said, the first restart is slow, it stays a while in the warning screen of bootloader open, but it advances with the start. In my case I have not had to restore factory.
Very happy with this method to be able to return to Stock.
Hello, has anyone tried this on our OnePlus 7 to fix a brick? It seems that it is the MsMdonwloadsTools for our OnePlus 7. Someone who has a brick can try it and tell us if it works.
https://repairmymobile.in/flash/oneplus-7-flash-file/amp/
MsmDownloadTool For OnePLus 7: https://forum.xda-developers.com/oneplus-7/how-to/unbrick-tool-oneplus-7-msmtool-hydrogen-t3953240
noticed we've had some A12 roms for a little while now and for some reason now instead of flashing them, all of them seem to be sideloaded and using that roms custom recovery to sideload it instead of using something like twrp and normally flashing it. any reason this is the case with A12 roms? and is it possible to downgrade from an A12 rom back to OOS 11/10?
The reason for the sideloading is that there's no working version of TWRP for A12 that can decrypt the data partition, hence lineage created a custom recovery and I believe everyone else has copied it. As for the downgrading, you may be able to sideload a stock file, but I'd use the MSM tool to get back to OOS, although you should keep in mind you will need to unlock the bootloader once again.