yashsingh1/xdaforums huggingface dataset:
[Huawei P8 Questions & Answers] rodlane:
You can extract system.img from the update.app file.
[Huawei P8 Questions & Answers] Mentem:
On my GRA-L09. with Marshmallows (I think rom is B390). I managed to unlock bootloader and install twrp 1.8.7.0 (via new_twrp.img.zip). After that I managed to boot up system ok, so rebooted into recovery. Twrp started and then an installation script started(acvcdently started it when I dropped the phone) installing supersu.

Now when booting up system, it boots up through the boot animation, then it hangs and dont finish the bootup. I can do adb shell to this, I think the supersu install somehow is thevproblem here. I am able to boot twrp (recovery) and fastboot. In twrp boot , I tried to echo SYSTEMLESS=true >> /data/.supersu , but it did not help.

I think this problem should be simple to fix, right?

---------- Post added at 12:19 PM ---------- Previous post was at 12:12 PM ----------

To be clear, I am asking for a way to fix this problem. Thanks in advance
[Huawei P8 Questions & Answers] ralfbergs:
The above command only has any effect when run before you install SuperSu. It causes /system to be modified instead of modifying the boot image/RAM disk.

Now your boot image is hosed. You could probably restore it by overwriting it with a good copy, or you can reflash /system by extracting system.img from your current OS version's update.app and reflashing it in fastboot.
[Huawei P8 Questions & Answers] Mentem:
Ok, Im ptetty sire I dont have boot.img or anything from the update app. Tjing is that the disk was full. Managed to use adb pull on twrp and adb sheöl on twrp to back up data, I realize now that it may been a mistake. Maybe I could use another P8 and use its update app to get needed files?
[Huawei P8 Questions & Answers] ralfbergs:
You should download the flash file ("update.app") for your specific ROM version. Then use a tool (to be found on XDA) to extract system.img.
[Huawei P8 Questions & Answers] Mentem:
Hello , got hold of a B390 Stock rom , extravted .img files with splitupdate (I only have linux machines) got out BOOT.img , but SYSTEM.img failed because of "negative length" I domtvreally know perl well enough to fix that problem , so tried just doing fastboot slash boot BOOT.img and see if I would boot up anyways. Did not work.

Now, what tool can I use to get this system.img out of the update.app (linux) ? Still, would it not be possible to reverse whatever the supersu script did when it installed its files ?

It seems overkill to flash 2G+ of system data to undo supersu, when you have full fs access to everything through twrp recovery?
[Huawei P8 Questions & Answers] Mentem:
Solved the problem by booting into twrp recovery , doing a adb push /sdcard/UPDATE-unSU-signed.zip . then rebooted and the system started in a very ubstablr state, so from there it was necessary to do a factory reset. It took a couple of reboots and attempts until it was possible to start the factory reset.
[Huawei P8 Questions & Answers] hitchmontana:
Where I can change the device name??
[Huawei P8 Questions & Answers] jniklast:
You can't. Maybe try the universal adb driver if you have trouble: https://plus.google.com/u/0/103583939320326217147/posts/BQ5iYJEaaEH
[Huawei P8 Questions & Answers] hitchmontana:
So we have a working root method, thanks a lot for that!!

Next step is replace this terrible staus bar :) anypne has an idea??
[Huawei P8 Questions & Answers] samusalo:
What's so terrible about it?
[Huawei P8 Questions & Answers] IkeaKast:
fix

Disable driver signature verification, it then installed Google nexus adb driver (which worked)
[Huawei P8 Questions & Answers] hitchmontana:
It doesn't look good and there are no functions, years ago we had a status bar like this and i have also no notifications on the lockscreen
[Huawei P8 Questions & Answers] samusalo:
Maybe you should learn to adjust the settings before you judge, because lockscreen notifications work just fine.

You need to give permission to the app in Notification centre. And if you want detailed notifications, you also need to set it on from Settings -> Screen lock & Passwords -> Show detailed notifications.

I also don't get what is wrong with the status bar. I think it's perfect now in EMUI 3.1 when you can hide the carrier name. That was annoying in 3.0.
[Huawei P8 Questions & Answers] hitchmontana:
The detailed settings are locked becaus of the exchange device administrator, I had no problems with that with CM
[Huawei P8 Questions & Answers] samusalo:
You should try Nine.

https://play.google.com/store/apps/details?id=com.ninefolders.hd3

It solved all my Exchange problems and doesn't restrict the phone, as it encrypts the data on an application level.
[Huawei P8 Questions & Answers] hitchmontana:
do you have a button which is called "detailed notification"??
[Huawei P8 Questions & Answers] samusalo:
Yes I do.
[Huawei P8 Questions & Answers] hitchmontana:
Thx it worked now it depends on the screen lock style
[Huawei P8 Questions & Answers] samusalo:
Yes, you have to have the Huawei lock screen on, otherwise it does not work. Great that it works now :)
[Huawei P8 Questions & Answers] alex_zha:
Hi!

I got a Chinese version P8(GRA-CL10) and made it unlocked and decided to root it. But I found the recovery.img(32,866,304 bytes) I extracted from Huawei's ROM(ver: B131) is different from your p8-stock-recovery.img (32,815,104 bytes). I want to know which recovery.img should I use.

The Chinese version ROM(Ver: V100R001C92B131) can be downloaded from:

http://download-c.huawei.com/download/downloadCenter?downloadId=43809&version=90469&siteCode=cn

It's a zip file of 'update.app'.

Would you pls help me to check which recovery.img should be used? Thanks!
[Huawei P8 Questions & Answers] jniklast:
You should most definitely use the recovery.img you extracted. Mine is from the (European) B110 firmware.

Did the rooting itself work on your model?
[Huawei P8 Questions & Answers] alex_zha:
Thanks! I have not started to root it as I'm not sure which recovery to use, and if I extraced the recovery.img correctly.
[Huawei P8 Questions & Answers] chlorophos:
Jniklast, followed your instructions to root my device and it all worked smoothly. Thanks.
[Huawei P8 Questions & Answers] gpgeza:
Hello Guys,

Greetings from Hungary :)

Please help me. I have got a p8 from china and I tried to move in with my accounts, like facebook, gmail and so on, but it didnt worked. I know that this kind of applications are illegal in china and it makes my problem.

Do you have any idea how can I put a european rom on the phone and use all the applications and accounts what I have?

I didn't rooted my phone, and searched a lot for customroms, but I didnt found any kind of good answer.

Thank you in advance for your help!

Kind regards,

Geza
[Huawei P8 Questions & Answers] bitslice:
Successfully rooted my GRA-UL00 bought in Thailand thanks to the cwm recovery image you provided.

I waited for a few days as I wasn't so sure if the stock recovery image available would be compatible with my P8. Luckily, Huawei had just released an OTA update for a quick fix (B131) on June 3rd. So I could extract the recovery from it. ;)

Thanks again! :good::good:
[Huawei P8 Questions & Answers] alex_zha:
Yes, it is rooted in your way. Thanks!
[Huawei P8 Questions & Answers] lavdrim:
Sono riuscito a sbloccare il bootloader del mio Huawei p8 lite

Ho provato tutte le apk e tutti i tool ma mente non riesco a rootare il mio Huawei p8 lite
[Huawei P8 Questions & Answers] SIRKRA:
Ciao ho il P8 Lite anche io e l'ho rootato già 3 volte con successo,

-sblocca bootloader

-attiva opzioni sviluppatore

-debug USB

-quando colleghi usb si installano da soli i driver

-tieni attivo lo schermo perchè la prima volta devi dare autorizzazione al pc tramite schermo ( spunta consenti sempre per non ripetere ogni volta )

-scarica il pacchetto https://mega.co.nz/#!1xgwmKhD!GfktqaV9isc0AESzMfgQ3UwlfljGfhvFFh1_IVPqHiI

-basta seguire le istruzioni a schermo, sono in spagnolo ma si comprende
[Huawei P8 Questions & Answers] pacopa21:
To root p8 lite ale-l21, google search HTCMania web, in Spain we have tutorials, I can not help but link. p8 lite search root HTCMania
[Huawei P8 Questions & Answers] asl0501:
I followed the guide completely but when i type /sbin/recovery --update_package=/su.zip .. My phone just stays black and doesn't reboot..

It's an ambassador-phone from Huawei - maybe that's why??

Anyone? :D
[Huawei P8 Questions & Answers] fedek9001:
Anyone tried call recording with p8 or p8lite ? Not working for me.
[Huawei P8 Questions & Answers] pawciorc:
Hey everyone. I am not sure if it is a correct thread to ask but let me try.

A new P8 is coming to me and it is branded for italian operator TIM.

How difficult would be debranding? Do i need to root the device first? And then what?
[Huawei P8 Questions & Answers] hitchmontana:
Which country?? :)
[Huawei P8 Questions & Answers] asl0501:
Denmark
[Huawei P8 Questions & Answers] hitchmontana:
I've got an ambassador device in switzerland :) it worked for me
[Huawei P8 Questions & Answers] GekkeMitta:
This guide doesnt work for me and with half of the steps, i dont understand what to do... Is there another guide or way to root my P8?! :(. The video on youtube isnt very clear..
[Huawei P8 Questions & Answers] ares008:
w w w .youtube.com/watch?v=pd2LJGymuJY/[/url]
[Huawei P8 Questions & Answers] lavdrim:
Non ho più la recovery stock

Ho provato a ripristinare il telefono ma quando entro in recovery non c'è più la recovery stock Huawei p8 lite.. Non so cosa fare come faccio a recuperare la recovery stock e come installare vi prego aiutatemi
[Huawei P8 Questions & Answers] automaticus:
Hi

First thanks for this tutorial! (#5)

Unfortunately I can't install the su.zip because there is a problem by unmounting /system

# adb shell

# /sbin/recovery --update_package=/su.zip

--> nothing happens, command comes not back

# Ctrl-c

In the log I see the following:

# cat /tmp/recovery.log

-->

E:failed to unmount /system

E:failed to set up expected mounts for install; aborting

Installation aborted.

OTA failed! Please power off the device to keep it in this state and file a bug report!

Do I something wrong or is there a workaround?
[Huawei P8 Questions & Answers] lavdrim:
Amico seguendo la guida in spagnolo ma non funziona sul mio Huawei p8 lite bootloader sbloccato ma non capisco perché non mi fa il root.. Ho provato due o tre volte ma dopo ho deciso di formattare il cellulare ma quando vado in recovery non c'è nemmeno la recovery stock ora non posso fare niente sono disperato :( qualcuno mi può aiutare a installare recovery stock Huawei p8 lite senza la recovery non posso fare niente.. Vi prego trovatemi una soluzione
[Huawei P8 Questions & Answers] Bobbi71:
Remember you have to ask huawei for bl unlock code: You need an unlocked Bootloader (http://huaweip8.jniklast.bplaced.net/unlock.html) and a working adb+fastboot environment. Still waiting for their answer... and then I will try it on my mbp.
[Huawei P8 Questions & Answers] lavdrim:
Come installare recovery stock Huawei P8lite ALE-L21

Ciao amico il bootloader l'ho sbloccato ma quando ho provato a fare il root seguendo una guida in spagnolo non è andato a buon fine il root ho tentato più volte ma niente da fare.. Quando volevo formattare il mio cellulare ho capito che mi mancava la recovery stock ora senza la recovery stock non posso fare niente.. Nonostante avendo la recovery.img stock di Huawei p8 lite non me lo installa nemmeno via adb
[Huawei P8 Questions & Answers] adc055:
Is there way to enabled the second sim support in GRA-L09? I think hardware wise GRA-L09 and GRA-U10 shouldn't have any difference. Need a dev brain here
[Huawei P8 Questions & Answers] vyshy:
Sound problem

Hello. I've have a problem with volume. After a while the volume is going to almost minimal. First I thought it was because I activate to reduce volume on lifting phone, but this is not the cause.

Does anyone have any ideas ?:confused: Thank you !
[Huawei P8 Questions & Answers] adc055:
I have not experienced this problem at all. I have the UK version.
[Huawei P8 Questions & Answers] vyshy:
Sound problem - SOLVED

I've solved my problem by changing language from Romanian to English (UK). Thanks @adc055, you gaved me this idea.
[Huawei P8 Questions & Answers] 007zzz:
When I doing the root percedure

I am stuck in this step adb shell /sbin/recovery --update_package=/su.zip when I enter this command the screen is stop in the cmd no more displays and phone did not reboot
[Huawei P8 Questions & Answers] Bobbi71:
unlock code received! root done ;)
[Huawei P8 Questions & Answers] KauLiTz:
Bootloader failed

Hello i have a Huawei P8 and i wanted to unlock the bootloader but i get a error FAILED (remote password wrong) or something like that ,it's posible that the code provided from huawei it's wrong ? this is the information from my phone please help me :(

HUAWEI GRA-L09

SN: S7M0215428004133

Product ID: 79914738

thank you
[Huawei P8 Questions & Answers] scoobydooby:
I sent a request for unlock code last week and have yet to receive it.. how long did it take for you to receive it?
[Huawei P8 Questions & Answers] Davide.porcelli:
I received it the day after i made the request
[Huawei P8 Questions & Answers] scoobydooby:
Hmm.. okay I will send off again. Thanks for reply.
[Huawei P8 Questions & Answers] samusalo:
Sorry to tell you, but there is a clear difference. GRA-L09 has NFC, but no dual sim, GRA-UL10 has dual sim, but no NFC. It seems one cannot have it all :)

---------- Post added at 06:08 PM ---------- Previous post was at 06:07 PM ----------

You should not publish your IMEI...
[Huawei P8 Questions & Answers] Tybreton:
[Request] CWM or TWRP for huawei p8 with interface

Hi all,

So I search a CWM or TWRP type of recovery with an interface because the CWM proposed for the moment has no interface .

All information about recovery for me P8 is welcome!

thank you
[Huawei P8 Questions & Answers] 220volt:
Has anyone try to root with Kingroot?
[Huawei P8 Questions & Answers] Raffaello-ZG:
Huawei ALE L21

I am now trying to root with a locked bootloader. Huawei ALE L21. first with "Kingo ROOT" and then with "iRoot" I was not successful. :rolleyes:

While a Chinese tablet (Gigatech A33) this combination we managed.

Otherwise, yesterday I bought this phone in Germany.

I'm interested in how to properly root (I've successfully root sony xperia m dual with tovelroot)

One question..,

How they can load with my cell phone or CMW Imig and upload here if someone needs it.

Thanks!
[Huawei P8 Questions & Answers] scoobydooby:
Finally received my unlock code and went through bootload unlock, recovery install and lastly root. Worked like a treat after some confuzzled moments.

Thank you to everyone who helped with all this information. I noticed that Trickstermod doesn't work properly due to busybox not being allowed to install, but otherwise, working great.
[Huawei P8 Questions & Answers] jrsns70:
Guys anybody having problem after rooting devices no longer booting to main program just booting on bootloader every time I restart. Any solution? Thanks in advance
[Huawei P8 Questions & Answers] cyphics:
Hi,

I feel dumb, but I'm stuck at step 4 of the tuto. I flashed the cwm recovery rom, but when I reboot in recovery, I'm stuck with the huawei logo screen indefinitely (not the black screen), and my device does not appear in the adb devices list. So I can't proceed with step 5. Any idea what I'm missing? If relevant, I'm under Debian jessie... Many thanks!
[Huawei P8 Questions & Answers] jrsns70:
Same problem as me, wanna guest u have a Huawei P8 lite ALE-L04? Problem was there is no recovery for the said device at present, guest we have to wait for it to come so we can flash custom ROM or maybe somebody has stock ROM or recovery, please share. Thanks
[Huawei P8 Questions & Answers] rastony:
Hi,

Have read the 8 whole pages but still confused: can we root the P8 Lite (not the P8) with this method/those files?

Mine is ALE-L02. Dunno the difference with ALE-L21 which seems more popular.

ALE-L02 is LTE Cat 4, dual SIM, Android 5.0 Lollipop, EMUI 3.1, etc. but no NFC, no WiFi 5GHz, no USB OTG, no wireless charging...
[Huawei P8 Questions & Answers] hitchmontana:
Still no costum roms for this phone??
[Huawei P8 Questions & Answers] Krystyna:
Huawei P8 how to quickly install Google Play?
[Huawei P8 Questions & Answers] samusalo:
There.

http://www.apkmirror.com/apk/google...google-play-store-5-6-8-android-apk-download/
[Huawei P8 Questions & Answers] 220volt:
If I unlock the bootloader and root, does it affects future firmware updates?
[Huawei P8 Questions & Answers] hitchmontana:
I've just recwived the update but it it doesn't install :(
[Huawei P8 Questions & Answers] 220volt:
Do you have custom recovery? I think you need stock recovery to install updates.

Skickat från min HUAWEI GRA-L09 via Tapatalk
[Huawei P8 Questions & Answers] hitchmontana:
This is what I thought, of course when i have root i have another recovery :)
[Huawei P8 Questions & Answers] jniklast:
I have made a complete TWRP (including graphics) for the P8 (GRA-L09). If you want to test it, tell me if it works or something's missing. This makes rooting a little easier obviously.

http://huaweip8.jniklast.bplaced.net/custom_beta.html
[Huawei P8 Questions & Answers] Tybreton:
Hi, it work fine, thanks a lot for it.
[Huawei P8 Questions & Answers] hitchmontana:
Maybe you can also develop a costum rom??? [emoji2]
[Huawei P8 Questions & Answers] jniklast:
Finished version (internal storage works now): http://huaweip8.jniklast.bplaced.net/recovery.html
[Huawei P8 Questions & Answers] Cactus_development:
Kingo Root (Safe and Stable)

Hey guys, just bought the Huawei P8, and upgrade from my P7.

I was curious about rooting, Unlocking bootloaders, Installing CWM/TWRP and then Cyan, but I guess there's not much development yet, due to some further research people are working on.

-With regards to peoples curiosities, I have used Kingo root. Im a new user. I cant post links yet :( Just Google it!

-Ensure that you un-check to install The browser that can be installed at your choice.

- Full Unroot option available

I find that Super Su has binary updates and checks for these updates every so often, making things more stable. This to is also a valuntary option. Can be installed from the Google Play store.

Let me know how you get on. if it worked for you then give me a thumbs up!

Cheers :highfive:
[Huawei P8 Questions & Answers] 220volt:
King root do not work with P8 yet. But will soon operate according to the developers.

Skickat från min HUAWEI GRA-L09 via Tapatalk
[Huawei P8 Questions & Answers] Tybreton:
Hi,

This version doesn't see the .zip files and my backup files made with the beta3 recovery.

Thanks a lot
[Huawei P8 Questions & Answers] jniklast:
Did you choose the micro sd as storage? In the beta the micro sd was the only storage, now the internal storage is available as well and is the default I think.
[Huawei P8 Questions & Answers] Tybreton:
Hi,

So it's ok now, sorry

Thanks a lot
[Huawei P8 Questions & Answers] Davide.porcelli:
Hi jniklast

I tried to install Your recovery following these steps:

- connected the phone (already rooted with Your procedure) to the pc

- executed the command <<adb reboot bootloader>>

- executed the command <<fastboot flash recovery openrecovery-twrp-2.8.7.0-p8-l09-r1.img>>

but I received the error message

<<target reported max download size of 471859200 bytes

error: cannot load 'openrecovery-twrp-2.8.7.0-p8-l09-r1.img': No error >>

What I 'm doing wrong ?

Thank You in advance
[Huawei P8 Questions & Answers] jniklast:
It can't find the file, so either the name is wrong or it's in the wrong folder.

The current version is -r3, so maybe check if you have that version and change the flash command accordingly. And is the .img in the same directory when you flash it?
[Huawei P8 Questions & Answers] jniklast:
If anybody with a P8 Lite is interested in testing TWRP for it (and knows what he's doing), send me a PM.
[Huawei P8 Questions & Answers] jrsns70:
I have a P8 lite ALE-L04 I can test for u guys not using it for now as using n6 at present
[Huawei P8 Questions & Answers] Davide.porcelli:
Thank You jniklast.

My (stupid) fault. I downloaded a newer version of the recovery but didn't change the file name in the adb command. Works perfectly.

Thank You again for the recovery and the help
[Huawei P8 Questions & Answers] 220volt:
Where can i find stock recovery for P8?
[Huawei P8 Questions & Answers] Tybreton:
Hi,

I've made a Backup with the first version of the twrp (beta3). Use the same twrp to do a restore.

You should uncompress it on your sdcard before :

https://mega.nz/#!h1F0RQCA!5Bs8hjMrqhfR4vMChzQvBCejp5KrK0jgjgsztaEfv9Y
[Huawei P8 Questions & Answers] GABRIPOSI:


Any news ????

Thanks
[Huawei P8 Questions & Answers] jniklast:
What news are you waiting for? Root for the P8 can easily be done:

http://huaweip8.jniklast.bplaced.net/
[Huawei P8 Questions & Answers] hitchmontana:
Custom roms
[Huawei P8 Questions & Answers] dodzs:
Hi, I know that there is disclaimer that this method won't be applicable to P8 Max, but don't you think the p8 max can be rooted the same way... with the unlock bootloader etc? or did I miss sumthin? like maybe the superSU won't be able to be working in the p8 max?
[Huawei P8 Questions & Answers] jniklast:
Yes, it can definitely be rooted in a similar way, but the recovery might not work. It might since it's the same/similar chip, but it would have to be tested.
[Huawei P8 Questions & Answers] wolfgart:
[MENTION=5548021]jniklast[/MENTION] can you please answer me ? You have my pm
[Huawei P8 Questions & Answers] Cactus_development:
It sure does! :D

I used kingo, i have the proof.
[Huawei P8 Questions & Answers] 220volt:
Where do i find this and do i need a computer?

Edit: I download the app but it does not work

and I read lots of bad things about Kingoroot.

Skickat från min HUAWEI GRA-L09 via Tapatalk
[Huawei P8 Questions & Answers] KyrosWeb:
Relock bootloader

Hello everyone. I have bought a huawei p8 3 weeks ago. I have requested the unlock code for bootloader but I have some questions for you.

1) If i unlock the booloader , in future , can i relock it?

2) Someone of you have the cerberus app? And it works properly with root on huawei p8?

Tank you all :)
[Huawei P8 Questions & Answers] aznix2020:
Boot recovery help

I have unlock and flash recovery using this method huaweip8.jniklast.bplaced.net/index.html but now I cant booth into recovery mode to install the SU.zip now matter how hard/long I press the vol.up + power botton, after the logo shows it turns to black then after a few seconds it will vibrate and show the logo again. I can boot normally the phone. the only problem is booting into recovery. Please help.
[Huawei P8 Questions & Answers] jniklast:
First of all, you should boot into recovery by pressing both vol+ and vol- along with power.

And if it still doesn't work, try to download the img again and flash it. It might be corrupted during download. I will add an MD5 hash later to avoid that problem.
[Huawei P8 Questions & Answers] KyrosWeb:
Relock bootloader

Hello everybody. I've unlocked the bootloader of my Huawei P8 because i need root. Unfortunately i need to send my device to huawuei assistance because i noticed a little defect of the display. So i've reflashed the stock recovery ,reflashed the stock firmware (with the application "updater") putting into the integrated memory (because i haven't an SD) the folder "dload" .After that i've done also a factory reset with the stock recovery. So to relock the bootloader i try to launch the command by terminal:

"fastboot oem relock code"

But i have this error : FAILED (remote: root type is risk)

Please help me.
[Huawei P8 Questions & Answers] :
Maybe you need to request the relock code to the Huawei Support. Just guessing.
[Huawei P8 Questions & Answers] KyrosWeb:
I don't think because I have read that some people have solved this problem. But I don't know how. I've tried to reflash the boot.img the system.img and the recovery.img but nothing. Help me

Inviato dal mio HUAWEI GRA-L09 utilizzando Tapatalk
[Huawei P8 Questions & Answers] Leechoonhwee:
On the Nexus devices, the command is "fastboot oem lock" so you might wanna try that.