ROOT my device (HUAWEI P8) - Huawei P8 Guides, News, & Discussion

Dear supporters,
I have a Huawei P8 (GRA-L09) build number: GRA-L09C423B520, EMUI 4.0.3.
My device have official Android Marshmallow installed with latest OTA updates.
Recently I'm getting notifications from some APPs I need to keep using that I'm running Android v. 6.0 and have to upgrade to Android v. 7.0 at least to continue using them .. and as I have no money to purchase a new devioce, I was trying to get Android ROM 7.0 on my device, this procedure needed to firstly ROOT my device;
I've tried many of your forum guides to ROOT my device, no success! Mayby because my device has a higher build number that what described in your guides! I don't know ...
Steps I managed to successfully finish:
- Installed most recent USB driver on my Windows 10 desktop
- Installed adb/fastboot on my desktop
- Unloacked my device (Huawei p8) bootloader
- Installed twrp-3.1.1-0-grace image on my device
- Not succeeded to install superSU 2.82 via TWRP on my device;
So I'm stuck now! I can't go further installing Android 7.0 Nougat custom ROM ...
Can anyone help me please?
Thanks ...

you can try to flash magisk

TimMeerveld said:
you can try to flash magisk
Click to expand...
Click to collapse
I'm a new to these stuff
Can you please send me some more details ?
Thanks

Well you can download magisk manager from here: magiskmanager dot com then drag the zip file to your phone and startup twrp then install then select magisk manger.zip and flash it away

I can't get root. I have a locked bootloader so i need root to unlock it.
If you have root, what software did you use @MidEasterner?
Magisk dropped support for Huawei @TimMeerveld

Related

magisk v12 - honor 8 - android v7.0 - installation failed

hi
I have a honor 8 (frd-l09), official rom B380 - android v7.0 - EMUI 5.0
I was rooted with traditional supersu, and decided to to switch to magisk. Magisksu seems working well, apps with root needed are working, but magisk manager allways display that magisk is not installed, and a installation failed, when I try to install.
I would like to share magisk manager log but it is empty.
I also tried to reinstall the latest downloaded zip with my twrp recovery, same result. I dont know if it is revelant but the installation process reboot to system, even when reboot after flash option is not selected.
What am I missing? thanks
EDIT : I just read that magisk can not be installed on an adopted storage ... Is there a way to fix it, forcing the installation into a specific folder or do I have to abandon my adopted storage setup?
Same things happend in honor 8 (FRD-AL00) official rom B380 - android v7.0 - EMUI 5.0
I think magisk isn't support honor 8 nougat
Same issue with my unofficial lineage 14.1 - android 7.1.2
So i have this problem too on honor 8 EMUI 5.0.
How can i solve it?
If i send boot.img it helped for this problem?
Edit: in twrp 3.1.0-3-frd it's fixed
https://forum.xda-developers.com/honor-8/development/twrp-t3566563
I'd try an unofficial beta snapshot... There's been a lot of work under the hood since v12.

Flash stock updates when twrp is installed

I found an easy and convenient way to flash Huawei updates when twrp is installed. No data loss. In my case I updated from June to July patch without any hiccups.
1. Download the HWOTA8 folder zip to your device and extract it to the root of your SD card. I provided the link at the bottom of the tutorial.
2. Download the Huawei update and wait till it finished.
3. Boot to twrp and go straight to the HWOTA8 folder.
4. Now install the hwota8_update.zip, this will install a special no check version of the stock recovery.
5. After reboot you'll see a failed update attempt, ignore the message and boot to system.
6. Now that we have the stock recovery you can go straight to the update app in the settings and install the update.
7. After 5 minutes the update should be finished and the device will boot to system.
8. The bootloader will be still unlocked so you can modify again with twrp, magisk and so on. No data loss.
Download
https://mega.nz/#!7AxVwBBZ!W9YyQ7qSAxZo-px8xYR18rBIhycKlqOhS4n8ogTioaI
gude, tried this today to upgrade P10plus from .382 to .385. worked as promissed. afterwards just installed the TWRP and magisk to get back root. thx
Dear Sir,
Thank you for the clear and concise method for flashing stock updates when TWRP is installed.
Please help me with instructions how to upgrade my unlocked, rooted and TWRP installed Android 7 ROM to OREO.
My phone model number is: VKY-L09
Build number: VKY-L09C02B102
EMUI version: 5.1
Android: 7.0
Kernel: 4.1.18-gfd75bb
TWRP: 3.1.0-0
there is only one thing that makes me wonder: i cannot install a differential update, this always fails, so the complete package will download ( almost 3GB ), then the installation will be successful. any idea why?

[ROOT] MediaPad M3 10 BAH-L09 Success!

First- I am NOT Responsible if you brick your Device! You do everything at your own Risk!
As I cannot find successfull thread here guiding to root this tablet I am posting the success with rooting with Magisk, all is seen on Russian forum 4pda,but the firmware I am on is not here ,it was little hard to find it(paid) but at the end it works, I have full root:
1 .You must have UNLOCKED BOOTLOADER!!! You can do it here are 2 threads guiding to it,mine was with DC_unlocker-4USD;
2. You must download Magisk from its original thread :Link
3.You must Look at which firmware you are,download the patched ones :С170B003
С170B253
C100B270
Or you can download you full Rom, extract it using Huawei Firmware Extractor extract the BOOT.img from UPDATE.APP file transfer it to your tablet and using Magisk--> install choose boot.img and patch it, then copy the patched_boot.img from folder "Downloads" in the internal memory back to PC,rename to boot.img.
4.You must have installed ADB and fastboot.
5.Using fastboot command on PC install the patched boot.img to tablet:
-First on your tablet enable Developer Options, thick Enable OEM Unlock,thick USB Debugging on,when connected to PC must ask for Fingerprint Security Rsa key,thick Always Trust to this PC"
-Second Tunoff Tablet, then hold volume Down button and connect to PC with USB Cable,Fastboot menu must appear: With green at bottom must be written that it is not FRP locked! If so -dont do proceed disable remove Huawei Account if you have one!
-Third-copy patched boot.img to folder where is located ADB and fastboot, then hold shift and right click mouse button and click Open Command Prompt here.
Now on fastboot menu enter following:
fastboot.exe flash boot boot.img
At the end everything must be OK!
Reboot with power button and check in Magisk !
Regards
I just wanted to confirm that this method works for my tablet. My Huawei Mediapad M3 10.1" BAH-L09 had bootloader unlocked. Emui5.1.2 and OS 7.0. Following these instructions, I extracted the BOOT.img from the stock ROM, then used Magisk Manager app (6.0.1) to create the patched-boot.img. Flashing this patched-boot.img using fastboot mode with command:
fastboot flash boot patched_boot.img
My tablet now is ROOTED without any problems (camera works normally). In short, just follow exactly these instructions and your tablet will be ROOTED
This works for me on BAH-L09 with Build Number BAH-L09C100B270. My Tab ist now rooted with Magisk 17.1 installed. Next i do flash special version of TWRP from the TWRP Builder site. I took the version for the BAH-W09 (WIFI version of the tab) on my own risk. I KNOW thats not the correct version, so please dont criticize.
Installation via fastboot worked. I can boot into Huawei recovery (Power+Vol-up) and TWRP (Power + Vol-Up and Vol-down same time). System boots without problem too. Also i can flash back the original huawei rcovery.img in fastboot mode.
But there is an issue in this TWRP recovery version 3.2.1-0. It does not decrypt data. I tried to format data and flash "no-verity-opt-encrypt". But there is still an Huawei secure mechanism, that wants me to format data in Huawei recovery again. Without format data my tab do not boot into system.
Next step i tried to get TWRP for my device on TWRP-builder app. but no succes because the build queue ist full. So i have to wait...
Sorry but how did you unlock the bootloader?
DragonautMk said:
Sorry but how did you unlock the bootloader?
Click to expand...
Click to collapse
I used dc-unlocker (you can google for). Its easy but it costs ca. 4 €.
Does this method still works on latest ota ?
The4anoni said:
Does this method still works on latest ota ?
Click to expand...
Click to collapse
My M3 10 lite was on latest frmware C100B270 as i used dc-unlocker. Unlock worked well for me.
Does rooting enable you to install Google Services on the tablet? Is so, how?
Is there an international ROM that can be used (with Google tools)
Thanks! Worked for my Mediapad M3 lite 10 (BAH-L09), but now... How can I update Magisk? The Magisk manager doesn't support the version installed.
Can't install twrp either
---------- Post added at 08:40 PM ---------- Previous post was at 07:51 PM ----------
ossizwei said:
This works for me on BAH-L09 with Build Number BAH-L09C100B270. My Tab ist now rooted with Magisk 17.1 installed. Next i do flash special version of TWRP from the TWRP Builder site. I took the version for the BAH-W09 (WIFI version of the tab) on my own risk. I KNOW thats not the correct version, so please dont criticize.
Installation via fastboot worked. I can boot into Huawei recovery (Power+Vol-up) and TWRP (Power + Vol-Up and Vol-down same time). System boots without problem too. Also i can flash back the original huawei rcovery.img in fastboot mode.
But there is an issue in this TWRP recovery version 3.2.1-0. It does not decrypt data. I tried to format data and flash "no-verity-opt-encrypt". But there is still an Huawei secure mechanism, that wants me to format data in Huawei recovery again. Without format data my tab do not boot into system.
Next step i tried to get TWRP for my device on TWRP-builder app. but no succes because the build queue ist full. So i have to wait...
Click to expand...
Click to collapse
The same for me. Have you got the appropiatte twrp recovery?
wanlus said:
Thanks! Worked for my Mediapad M3 lite 10 (BAH-L09), but now... How can I update Magisk? The Magisk manager doesn't support the version installed.
Can't install twrp either
The same for me. Have you got the appropiatte twrp recovery?
Click to expand...
Click to collapse
This is an old post. Development has going forward. Look here:
For a LineageOS rom
https://forum.xda-developers.com/mediapad-m3/development/rom-t3945684
For TWRP
https://forum.xda-developers.com/mediapad-m3/development/twrp-t3914531
For the first step use the 3.2.0 version of TWRP if you are in Huawei's stock Rom.
For me its the best for this moment. Only issue is, that camera dont work in this early lineage rom. But developer is working on it.
ossizwei said:
This is an old post. Development has going forward. Look here:
For a LineageOS rom
https://forum.xda-developers.com/mediapad-m3/development/rom-t3945684
For TWRP
https://forum.xda-developers.com/mediapad-m3/development/twrp-t3914531
For the first step use the 3.2.0 version of TWRP if you are in Huawei's stock Rom.
For me its the best for this moment. Only issue is, that camera dont work in this early lineage rom. But developer is working on it.
Click to expand...
Click to collapse
Ok, thank you so much. I've got installed Twrp properly, and it boots ok... but no more. Now it stays on the recovery home screen. I'll try again

Root Huawei P8 Lite (2017) OREO.

NOTE:I shall not be responsible for any damage cause to your phone by this procedure.
As OREO on Huawei P8 Lite 2017 brings treble support so rooting it is an issue for everyone.
I am here to guide you how to root Huawei P8 Lite 2017 (also known as Honor 8 Lite).
Requirements:
1.Unlocked Bootloader
2.Oreo Updated
3.Current running firmware (mine PRA-LA1C185B366)
4.Huawei Update Extractor (Download Below)
5.Magisk Manager latest apk.
6.Internet Connection.
7.Fastboot installed.
Procedure:
1.Extract RAMDISK.img from your downloaded firmware (or you can dump it using TWRP).
2.Transfer extracted RAMDISK.img to your phone.
3.Now open installed Magisk Manager and click install.
4.Now choose patch boot image and select the extracted RAMDISK.img.
5.It will take 5 min to download zip file and patch RAMDISK.img.
6.Patched RAMDISK.img usually stored in "sdcard/Download/patched-boot.img" or magisk manager will also guide you where the patched boot image stored.
7.Transfer the patched-boot.img to your pc.
8.Now boot your phone in bootloader mode.
9.Flash the patched-boot.img using this command
"fastboot flash ramdisk (path of patched-boot).img" without qoutes.
10.After successful flashing reboot your phone either by holding power button or by using fastboot command.
BOOM your phone is rooted now start playing with magisk modules.
Not to rain on your parade but I have a Honor 6X. And I managed to install Magisk normally. Just flash TWRP, latest Magisk and reboot. Any TWRP available for hi6250 with decryption support?
Mannan Qamar said:
Not to rain on your parade but I have a Honor 6X. And I managed to install Magisk normally. Just flash TWRP, latest Magisk and reboot. Any TWRP available for hi6250 with decryption support?
Click to expand...
Click to collapse
No not yet.
mahrtayyab said:
No not yet.
Click to expand...
Click to collapse
Why is it taking so long? Isn't anybody working on it?
Mannan Qamar said:
Why is it taking so long? Isn't anybody working on it?
Click to expand...
Click to collapse
Huawei has changed the partition scheme along with encryption method totally thats why it is taking so much time.
Good News is devs are working on it and they are hoping that we could decrypt our huawei phone very soon.
I used a different variant of twrp and flashed Magisk. twrp doesnt support OTG but the backups and restore works fine
Megan1976 said:
I used a different variant of twrp and flashed Magisk. twrp doesnt support OTG but the backups and restore works fine
Click to expand...
Click to collapse
which one? Please send xda link
https://drive.google.com/file/d/1-uYbVhzcczReoXblG2QdFGvPfJWe6Oqk/view?usp=drivesdk
On my p8 lite 2017 and p10 lite root is installed by flashing Official Magisk zip via TWRP without any extras, maybe this could work on Emui 9...
DarkJoker360 said:
On my p8 lite 2017 and p10 lite root is installed by flashing Official Magisk zip via TWRP without any extras, maybe this could work on Emui 9...
Click to expand...
Click to collapse
Brow plz help me, i have a Pra-lx2 Oreo, and i want to use your Custom Rom LOS17, can i install twrp and your Rom with Bootloader Locked?? If no, plz help me do unlock Bootloader on pra-lx2 Oreo. plz brow

Magisk with stock Android 10 / 11, MicroG with Android 10 stock

After some time I got a second Axon 10 and I spend some time figuring out what was possible with this phone in terms of root, custom ROM etc.
My results are as follows.
What is working:
Android 9 + Magisk and TWRP
Android 9 + TWRP + Custom ROMs (LineageOS 16 and patched GSI)
Android 10 + Magisk and TWRP
Android 10 + Magisk and MicroG flashed via Magisk (= stock ROM without Google Services)
Android 11 + Magisk
What is not working:
Android 11 + Magisk + TWRP (TWRP logo flashes randomly but TWRP does not load).
Android 11 + Magisk + MicroG (the nanolx patching script does not work with Android 11 as of yet)
Encryption in Custom ROMs
Method to flash files via EDL
Unzip / unrar my files into the backup\full folder of the EDL tool and choose restore + full in the tool.
Unlock Bootloader:
Before you try any of the files, you MUST unlock your bootloader!
BACKUP of your data as it will be lost!
Download the EDL tool from this Thread
If your phone is not on android 9, you must go back to Android 9 first. e.g. by using my Android 9 1.9 backup.
After you restored it, restart while holding the volume + key and do a factory reset / format data.
Boot into EDL again and unlock the bootloader.
Now you are on android 9 with unlocked bootloader.
From here you can follow the other guides in the form and install TWRP or lineageos. Or flash one of my files below.
Flashing EDL files:
Unzip / unrar my files into the backup\full folder of the EDL tool and choose restore + full in the tool.
I put all my files into this MEGA account: MEGA
Android 10 version 2.9 Magisk + TWRP
Android 11 version 3.5 stock
Android 11 version 3.5 Magisk
Android 10 version 2.10 stock
Android 10 version 2.10 Magisk (TWRP can be flashed with Magisk)
Install MicroG:
Only works on Android 9 and 10.
Before you install MicroG you must patch the stock ROM to allow for signature spoofing.
The patcher script I used is on https://downloads.nanolx.org/NanoDroid/Stable/ When I write these lines the up-to-date-version is NanoDroid-patcher-23.1.2.20210117.zip
Reboot.
Install MicroG from the Magisk repository.
After a restart there will be error messages that google apps keep crashing. With each warning, disable the apps one by one.
When you reboot again, no errors should appear and MicroG should report that it is fully working.
You can add the Bromite Framework and give F-droid system rights. Both are available from the Magisk repo.
Updates will likely install the Google apps again and uninstall Magisk...
Revive phone:
Not really related, but I bricked my phone several times.
If your phones does not boot anymore or hangs in a bootloop, try accessing the EDL mode.
The easy way:
Boot while holding volume -
The hard way:
Old Volume +, volume - and power until you end up in EDL. The screen will be black, so it helps if you have the Phone connected to Windows and can hear the system sound when the USB sees a connection.
In anyway you can then use the EDL tool to restore / flash an EDL image.
On custom ROM support:
Well there is LineageOS 16 by Unjustified Dev. https://forum.xda-developers.com/t/rom-unofficial-zte-axon-10-pro-9-lineageos-16-0.3992127/ It works well. But has a patch level that is outdated by now.
On top of it you can install the GSI ROMs created by Rafyvitto. The latest one is Resurrection Remix https://forum.xda-developers.com/t/...nofficial-resurrection-remix-q-8-6-7.4172527/
with a security patch level of mid 2021. Which is recent enough to use. The stock roms are not much better.
With both Custom ROMs, encryption is not working which poses a privacy/security risk when your phone is stolen. Do not forget that your phone does not only contain your photos and data but also your passwords to your accounts.
Added Android 10 2.10 files.
Its nice to see anything new for this phone. I wish I can use these roms but I have the American version.
Hi and thanks for your work and your files.
I'm stuck on "Loading the programmer: prog_ufs_firehose_sdm855.elf >>>", if I try to recover your edl files with EDL Tool, v 3.25.
I have to choose option 2: "Restore Full EDL from backup", right?
Is there a way to check if the bootlaoder is really unlocked?
Thanks in advance
OK, I was able to solve the problem with the "programmer" and try the backups. The next step was almost clear. The device is stuck in bootloop. I've already tried all the backups I could find on Mega. After the EDL Tool has done its work and the device has restarted, the mobile phone goes into the boot loop. And now? So the starting position was: Android 9 with an open bootloader. Maybe someone has an idea?
After I couldn't get the device out of the bootloop, I flashed the A2020G_PRO_V1.6_FULL_EDL via MiFlash and then did an OTA update to 1.8.
Then I tried unlocking the bootloader again, which unfortunately didn't work. The flash is carried out without errors, but the device then apparently does not start in the desired Fastboot mode.
Thanks for your guide. However am I missing something with the Android 11+Magisk installation? I restored all the correct files and everything flashed correctly, however upon reboot there is no Magisk installed anywhere. Did a factory reset after the flash and still not there. Tried installing Magisk via his github and tried patching the boot.img again and it says success but after rebooting it says Magisk is not installed.
brian117 said:
Thanks for your guide. However am I missing something with the Android 11+Magisk installation? I restored all the correct files and everything flashed correctly, however upon reboot there is no Magisk installed anywhere. Did a factory reset after the flash and still not there. Tried installing Magisk via his github and tried patching the boot.img again and it says success but after rebooting it says Magisk is not installed.
Click to expand...
Click to collapse
Maybe you need to switch the slot in TWRP. It sounds as if you install it to the other slot (like A) an then boot B. Or vice versa.

Categories

Resources