yashsingh1/xdaforums huggingface dataset:
[P8 Lite (2017) Discussion] :
Not install. Do not flash gaps!!!
[P8 Lite (2017) Discussion] Al-Jalodi:
my phone boot from first time root check is success i use magisk everything works fine till now i reboot my device 4 time to check if it's work and it's success , so thank you sir ChinHon

but :

when i restart my device there is a black screen show three steps or wait 5 sec to boot

and there's no google app so what i can do ?
[P8 Lite (2017) Discussion] :
Instal the original Huawei application Market. With it download you all Gapps.
[P8 Lite (2017) Discussion] Al-Jalodi:
you are awesome man , thank you very much ,

last question please

how i can solve this like in the image

https://www.google.jo/search?q=huawei+phone+is+not+trusted&source=lnms&tbm=isch&sa=X&ved=0ahUKEwjbnqHk64vVAhXLWxQKHV7bAyMQ_AUICygC&biw=1366&bih=662#imgrc=bL51Gpdt1BVb3M:
[P8 Lite (2017) Discussion] :
This display is OK, remains for good.
[P8 Lite (2017) Discussion] Al-Jalodi:
Guys i make a factory reset from twrp i do not swipe only i type yes wipe data and all stock gapps return back then i flash magisk zip file i was afraid for Bricking my device but it's fine i hope the developers make a custom rom for our device
[P8 Lite (2017) Discussion] harlock59:
hi everyone, i'd like to know if PRA-LX1 C530 B130 is already rootable or not ?

my p8 Lite is still in B111 and is rooted and i'm sure i'l lose root when performing an upgrade so i ask if it's possible to re-root after upgrade
[P8 Lite (2017) Discussion] :
Comming soon.......
[P8 Lite (2017) Discussion] :
The root fails after update.

You can test the rooting. If you in bootloop, flash the unsu.zip.
[P8 Lite (2017) Discussion] harlock59:
i'm not sure to have well understood is it possible to reroot after the update ?
[P8 Lite (2017) Discussion] :
Of course this is possible. No problem. Then before give only here notice.
[P8 Lite (2017) Discussion] harlock59:
i tried to update my rooted b111 but at boot moment my phone gets into twrp and i don't get the android robot doing the update install. what should i do to do update my phone

---------- Post added at 12:02 AM ---------- Previous post was at 12:00 AM ----------

do i risk security issues if i don't do the update ?

---------- Post added at 12:03 AM ---------- Previous post was at 12:02 AM ----------

what notice should i give here ?

---------- Post added at 12:05 AM ---------- Previous post was at 12:03 AM ----------

you said you gave me notice i think
[P8 Lite (2017) Discussion] :
There are not the Android robot on Huawei devices. The stock recovery is necessary for an update. Serch here on xda "how to update (OTA) huawei devices, EMUI 5".
[P8 Lite (2017) Discussion] harlock59:
this is normal if you've unlocked your bootloader, you can't skip this screen. just ignore it or press power button if you don't want to wait 5 seconds.

seemingly, on moto g4 it is possible to remove the warning message https://www.youtube.com/watch?v=Rf41ls5hF6c
[P8 Lite (2017) Discussion] :
Look # 164 and 165. !!!
[P8 Lite (2017) Discussion] boofman:
Seems odd but I've managed to Update to B160 from B120 by flashing the file downloaded by the default System Update app through TWRP.
[P8 Lite (2017) Discussion] :
Say sometimes exactly what you have made. Functioned everything? Show sometimes please a Screenshot of the Build.
[P8 Lite (2017) Discussion] boofman:
It's here in our TWRP thread:

https://xdaforums.com/p8lite/p8-lit...very-twrp-huawei-p8-lite-2017-t3591762/page13

I think another member has been able to replicate what I did. Just continue on on that thread I shared.
[P8 Lite (2017) Discussion] Zzrman:
Hi everyone, I got an issue.. when I tried to run my payment app cause of the root so I went checking the safety-net on Magisk manager and I got this result..

Cts profile:false

BasicIntegrity:false

Has somebody faced the same issue?

Regards
[P8 Lite (2017) Discussion] ZzManRoolez:
Hi! I have got a PRA-LX1 Italian with B140 firmware, can I do root or I need to wait for other methods? I'm rooting phones from something like 15 years so I'm not news to brick phone etc, but now this is my main phone and I don't want to risk for now!
[P8 Lite (2017) Discussion] Al-Jalodi:
hello guys just for normal knowledge how i can unroot i flash unspuersu zip file but root access still Existing !!! any solution
[P8 Lite (2017) Discussion] :
On normal rom or v.3?
[P8 Lite (2017) Discussion] Al-Jalodi:
v.3 rom
[P8 Lite (2017) Discussion] :
Ok. bro,

flash UnSu.zip from here and then SuperSu from v.3 thread.
[P8 Lite (2017) Discussion] Al-Jalodi:
i try it brother i flash the zip file but not working
[P8 Lite (2017) Discussion] :
Restore "boot" from stock backup and repeat this procedere.
[P8 Lite (2017) Discussion] ZzManRoolez:
So nobody had rooted B140?
[P8 Lite (2017) Discussion] Al-Jalodi:
i do not have stock boot even i forget to take backup since i root my device , so i flash stock recovery >>factory reset>> then start up the device ( in start up you know the wizard startup start >>> but in factory reset there is no more keyboard so i remove the sim card and turn my device on to skip wizard startup then i install keyboard apk then i install gmscore for people who use snapchat (like me) this is the best way to login before flash su zip file so i install snapchat and login success then i flash twrp recovery then i flash su zip file ) everything works fine for me , big thanks for you MR ChinHon
[P8 Lite (2017) Discussion] :
What you did was professional. I think I've found the beta tester for the next rom.

:) ;)
[P8 Lite (2017) Discussion] :
What would it take for someone to build Lineage OS?, is it really that hard to build it for Huawei devices.
[P8 Lite (2017) Discussion] :
Please post this work also in the v.3 thread, so that other users can learn from it.
[P8 Lite (2017) Discussion] :
This is extremely much work and can only be done by the best developers. In addition, there is no perfect recovery for the PRA.
[P8 Lite (2017) Discussion] :
Oh ok ?. I will upgrade then to OP 3T it has great price now for such device.
[P8 Lite (2017) Discussion] Al-Jalodi:
i'm ready brother , i was always do test rom from my old device lenovo a6000
[P8 Lite (2017) Discussion] :
Ok. Kardeş.
[P8 Lite (2017) Discussion] boofman:
Great job on the K-Rom EMUI 5.0 buddy!

It seems that the guys from the 6X forum are a little more active, maybe when they get around to porting the Lineage ROM, we can port it for our device? They have pretty much the same hardware, and is also the source of our K-ROM, so it would be possible, isn't it? :)
[P8 Lite (2017) Discussion] :
Have ever started to make one for the Mate S. But again canceled. Do not know me enough. I am the EMUI man. For the 6x there is already a 13. But back to MM is not for me.
[P8 Lite (2017) Discussion] :
Hi how can i root honor 8 lite pra la1????
[P8 Lite (2017) Discussion] Al-Jalodi:
Good morning sir , dose your phone is gr3 2017 or in another name is p8lite 2017 >>

so you need :

1- twrp recovery ( prague311 ) from this thread.

2 adb and hisuite app

3 - do like this article : http://rootmygalaxy.net/unlock-bootloader-on-huawei-devices/

4 after unlocked your device , your device will make factory reset

5 active usb debugger every time

6 boot to bootloader flash the twrp recovery

7 boot to recovery thin flash the zip file supersu or magisk zip file

Note read all my posts and Mr ChinHon replay i have pra-la1 middle east device >> Good luck
[P8 Lite (2017) Discussion] actinhic:
Thanks to ChinHon's procedure to make an OTA B164 (with the TWRP backup), I have debranded my (Orange-all-PRA-LX1C109B120) branded phone, adding this (1. and 2.):

1. Restore the backup OTAB164

2. Boot in bootloader and re-unlock with the code (essential or it bricks...)

3. Via adb in bootloader push stock recovery

4. Start stock recovery and make a factory reset

5. Push TWRP via adb (bootloader) and start in it

6. Re-restore the ChinHon's OTAB164 backup

7. Re-push stock recovery via adb in bootloader

8. Reboot the phone and make the update (OTA), etc

A HUGE HUGE thanks to [MENTION=7295200]ChinHon[/MENTION]
[P8 Lite (2017) Discussion] :
Thank you for reporting this to us. I added it to the tutorial.
[P8 Lite (2017) Discussion] Carkai:
when I try to log in to google account it just says 'there was a problem communicating with google servers. try again later.'

[EDIT] fixed it by installing the newest google play services apk
[P8 Lite (2017) Discussion] :
Go to / system / priv-app / GmsCore / GmsCore.apk.

Exchange this app with this: https://mega.nz/#!01tlUD4b!y7wLK00Hv...xOYbaWTVmG5418

, set the rights to rw-r-r and reboot.

Or perform a normal installation.
[P8 Lite (2017) Discussion] papa_spirito:
Hy guys,

I have a problem with google account too now, I get stucked at checking info or verifying network and then it disappears.

I tried to install the new google play services apk but it doesn't help. I made several factory rest from the stock recovery but it doesn't help neither.

What can I do ?

Cheers
[P8 Lite (2017) Discussion] :
Do the first step #234.
[P8 Lite (2017) Discussion] :
If that does not help, restore from your last, current TWRP backup only the "system".
[P8 Lite (2017) Discussion] papa_spirito:
Do you mean to do again the instructions in the first post ?

I did but the problem is still here. And of course I don't have a backup because I only did the one with HiSuite...
[P8 Lite (2017) Discussion] :
Sorry, I mean # 236.

Go to / system / priv-app / GmsCore / GmsCore.apk.

Exchange this app with this: https://mega.nz/#!01tlUD4b!y7wLK00Hv...xOYbaWTVmG5418, set the rights to rw-r-r and reboot.

Or wait until tomorrow. Sometimes it is also on Google itself. Disappears then overnight.
[P8 Lite (2017) Discussion] papa_spirito:
Hi, thanks for your reply.

This link is broken, could you reupload it ? And how can I set the rights ?

A smartphone without a Gaccount is not that useful lol (no contacts, no agenda...)

Cheers

EDIT : just found the file in another of your post, and did your procedure, but still the same problem :/ Flashing pico gapps doesn't solve the problem neither
[P8 Lite (2017) Discussion] :
What firmware do you have?
[P8 Lite (2017) Discussion] EXE bahotin:
go to SuperSu app. find the Full Unroot options
[P8 Lite (2017) Discussion] papa_spirito:
I have the PRA-LX1-C432B164, EMUI 5.0

EDIT : I solved the problem by flashing the full open gapps package! Ouf! thank you for your help.
[P8 Lite (2017) Discussion] :
Install and run the Chinese google installer app from the V.3 thread. This repairs missing and faulty gapps and services.

After the start of the app, press the blue button.

If that does not help, you must renew the firmware with the rescue system from # 1.

Look (How to unbrick your LX-1)
[P8 Lite (2017) Discussion] EXE bahotin:
Anyone here tried to install GL TOOLS? thanks!
[P8 Lite (2017) Discussion] papa_spirito:
I solved the problem by flashing the full open gapps package!

Thank you for your help and your work.
[P8 Lite (2017) Discussion] daniecb4:
I was trying to restore your backup from #1 post (Thread update 07-09 How to unbrick your LX-1) but it stops witch error:

Unable to wipe Vendor and stops restore from backup. If I skip this from restore it also gives same error Unable to wipe version and Unable to wipe Product.

When I start TWRP it say:

Updating partition details...

failed to mount '/ vendor' (Invalid argument)

failed to mount '/ product' (Invalid argument)

After restore without product, vendor and version system i lose bootloader unlock and system is not going to boot.

Flashing update.zip witch B110 also ends with these errors

How Can I manage this and restore my LX1 ?
[P8 Lite (2017) Discussion] :
Flash with TWRP the stock recovery and unlock the phone again by code. Then flash by adb TWRP and restore the rescue backup.
[P8 Lite (2017) Discussion] daniecb4:
Done it. Restored rescue backup without product, version and vendor. But it stuck on huawei logo. Looks like bootloop. I can't believe that bootloop is that big problem to solve with this phone. :eek:

At least if nothing help rescue my phone i can send it to guarantee service but i don't want to wait 2-4 weeks :rolleyes:
[P8 Lite (2017) Discussion] :
Now flash the stock recovery and make a factoryreset.
[P8 Lite (2017) Discussion] daniecb4:
Reset failed. I tried click few times. It starts and immediately stops. Only wipe cache works. I did it but still bootloop. BTW how to force eRecovery screen where is factory reset option. Now I enter to it by letting phone bootloop few times.
[P8 Lite (2017) Discussion] :
The reset option in the eRecovery comes by itself, which can not be forced. Here is another possibility for you. Try this, maybe you have success.

https://xdaforums.com/p8lite/p8-lite-2017-discussion/custom-rom-huawei-p8-lite-2017-t3640758
[P8 Lite (2017) Discussion] Manuele1000:
I have a friend with your same problem, and he resolved with a factory reset using twrp. If you want, you can try to do a "Format DATA" in twrp.
[P8 Lite (2017) Discussion] daniecb4:
I remember that my phone stop booting up after factory reset in twrp. I flashed root zip and factory reset after that. I don't know shuold I do this again?

Now when I connect to dc-unlocker it says phone is at B100 firmware. Should I try install this custom [K-Rom V.3] ?
[P8 Lite (2017) Discussion] :
If he does it and it has no success, only the service can help.
[P8 Lite (2017) Discussion] daniecb4:
I will try this custom rom you linked. If it also not help I'll go to huawei service.
[P8 Lite (2017) Discussion] :
Try it. The rom is also on the B100. First flash the rescue rom and then immediately afterwards the V.3. Without reboot in between.
[P8 Lite (2017) Discussion] daniecb4:
Nothing changed. Still bootloop. After it in fastboot I have:

Phone locked

FRP unlock

Does it void warranty?
[P8 Lite (2017) Discussion] :
There is no warranty. Unlock now with code.
[P8 Lite (2017) Discussion] daniecb4:
Unlock bootloader? For what. If I do it I will get warning screen that device is not thrusted... and by default phone had locked bootloader.
[P8 Lite (2017) Discussion] :
Your bootloader must have been unlocked already times. How else came TWRP on the device. With OEM locked you can not flash. Therefore, your restoration does not work.
[P8 Lite (2017) Discussion] daniecb4:
I had unlocked bootloader when I was restoring backups. My question is what is default state in fastboot mode? Phone locked & FRP unlocked? I want to give it back to guarantee service to restore system.
[P8 Lite (2017) Discussion] :
Default is all locked, you can restore system to stock by yourself, you don't need to take it to service, for which you don't have guarantee anymore as you once already unlocked bootloader.
[P8 Lite (2017) Discussion] :
This is correct.
[P8 Lite (2017) Discussion] daniecb4:
Can I somehow lock FRP by myself? I want to give it to service for guarantee on monday if I can't bring it back to life.
[P8 Lite (2017) Discussion] :
You can restore phone with DC-Phoenix, i wiped also everything in TWRP, then fixed with DC-Phoenix by flashing full firmware...
[P8 Lite (2017) Discussion] :
Can not be done without firmware. When you re-set up the firmware, you will be able to set the security settings and set the Google account, the bootloader status will be set to "lock".
[P8 Lite (2017) Discussion] daniecb4:
What you think about dc-phoenix restore. Is it sure I can restore phone?

Wchih firmware should I upload by dc-phoenix?

IMG:

https://preview.ibb.co/kb2c0Q/Bez_tytu_u.png
[P8 Lite (2017) Discussion] :
Do not know me.
[P8 Lite (2017) Discussion] daniecb4:
I check in twrp my phone don't have 3 partitions: /product /version /vendor Thats why I can't restore correctly any backup and even stock rom in dc-phoenix. Can someone help to deal with this?
[P8 Lite (2017) Discussion] Fred_73_:
Video or French Translation?

Hey, all is in the title, is there a video or someone can make a video, if not, can someone translate in French? I understand English really well but this time it's too complicated?idk anything about root... Thank you
[P8 Lite (2017) Discussion] actinhic:
You should have a look on phonandroid's forum, someone explains it very well and gives the procedure (app and website). Bonsoir

http://www.phonandroid.com/forum/root-huawei-p8-lite-2017-android-7-pra-lx1c432b100-t170205.html

Read carefully
[P8 Lite (2017) Discussion] Wilchu:
Hi, just a quick question is this going to work on PRA-LX1C432B123 ?
[P8 Lite (2017) Discussion] Al-Jalodi:
hello how to go back to stock rom , i do not have any backup any solution guys ?
[P8 Lite (2017) Discussion] :
What firmware you had before this ROM?
[P8 Lite (2017) Discussion] Al-Jalodi:
i have this firmware pra-la1c185B166
[P8 Lite (2017) Discussion] :
I was thinking to make you backup of my system so you can restore in twrp, but mine is pra-lx1c432b164
[P8 Lite (2017) Discussion] droidbits:
Hi there.

Thanks first of all for this root method.

Will this work on PRA-LX1C432B162 please?

I ask this because I am on update B162 and I can't find it on the OP.

I also have the P9 Lite 2017 (PRAGUE) version.

I just don't want to flash the wrong TWRP and brick it.

I am also assuming that this root method only works after I unlock the bootloader through the Huawei website correct?

Thanks in advance.
[P8 Lite (2017) Discussion] meymigrou:
Where's the download links? I can't find them =/
[P8 Lite (2017) Discussion] :
https://www.android-hilfe.de/forum/huawei-p8-lite-2017.2980/how-to-root-huawei-p8-lite-2017-pra-lx1-android-7-0-emui-5-0.823799.html
[P8 Lite (2017) Discussion] meymigrou:
Thank you for the link! I tried it but I can't flash anything as it gives me an error. If anyone can help please check this topic.
[P8 Lite (2017) Discussion] Francygal2001:
Can you make the root on the PRA-LX1C432B163?
[P8 Lite (2017) Discussion] f301460:
I have a few questions if anyone is willing to answer them. I have read and understood as much as I can but still questions persist. It would be helpful if someone could clear my confusions regarding [these thing].

1) Usually the method to root and install custom rom is this, no?

a) unlock bootloader b) install custom recovery c) install custom rom

2) Why are bootloaders locked? Generally speaking.

3) Why cannot one do factory reset in TWRP for P8 Lite?

4) Why does one have to flash boot.img along with custom recovery? Why is this necessary?

5) Are there any custom roms out for P8 Lite? Unofficial or official. I have not found any - this is why I am asking.
[P8 Lite (2017) Discussion] :
1. Root is not required to install a custom rom.

2. The manufacturer locks the BL to prevent tampering with the firmware. To maintain the warranty.

3. TWRP is not yet perkekt. The FR can cause a brick. It works only correctly, if one directly before in the stock recovery a FR makes.

4. The boot.img is mostly patched separately with SuperUser and belongs to custom rom.

5. There are here on xda:

-Lineage OS - unofficial

-K-Rom - semi-official.
[P8 Lite (2017) Discussion] f301460:
Hey man. Really thanks for a quick response. Didn't expect anyone to answer at all.

Just need clarifications on a couple of points if you can spare a bit more time.

1) Is it the same with custom recovery? That root is not necessary to install a custom rom?

3) So to clarify, no factory resetting in TWRP. Only in stock recovery. But after I install TWRP then what? No factory resetting at all? Or is it done through the phone settings? I ask for clarity in this because I want to install a custom rom and am used to doing factory resets quite often.

3b) When to expect a perfect TWRP? No rush, merely curious.

4) So to simply install TWRP - custom recovery - I don't need to flash the boot.img. But if I want root - and that through SuperSU - I need to flash boot.img. Is my line of reasoning correct? You say custom rom, but I have not seen mention of any of them in this thread. - You stated in post #190 that "There are still no Custom Rom. TWRP is not perfect enough yet and we still have no Custom Kernel."

4b) Can you explain why flashing boot.img is necessary - even with SuperSu?

6) [Extra question] Are custom kernels mini custom roms? Meaning they assist in enhancing the device but only specific parts? I have looked them and read about them but still don't get the entire premise.

Thanks again for answering man. Really appreciated. Thank you.
[P8 Lite (2017) Discussion] :
To install a CR you do not need root. Either the rom is rooted or must be rootet.

Look here for roms + recoverys:

https://xdaforums.com/p8lite/p8-lite-2017-discussion/how-to-dual-recovery-huawei-pra-prague-t3652487

https://xdaforums.com/p8lite/p8-lite-2017-discussion/custom-rom-huawei-p8-lite-2017-t3640758

https://xdaforums.com/p8lite/p8-lite-2017-discussion/recovery-twrp-huawei-p8-lite-2017-t3591762

https://xdaforums.com/p8lite/development/rom-lineageos-14-1-huawei-p8-lite-2017-t3649292

3b. This is not always necessary. Is explained in the installation instructions.

6. The answer google please. An explanation is very extensive.

Before you change anything to Huawei devices, inform yourself well here in the forum. It is all here described and explained. Good descriptions are also available on 4pda / ru and android-hilfe / de.
[P8 Lite (2017) Discussion] f301460:
I'll do that thanks. And thanks for the links. They are very helpful. I doubt I would have found them without spending hours + getting headaches digging through stuff.

If I could ask you one more thing, it would be answer for 3). How do you go about reformatting the phone after installing twrp? Is the latest TWRP released by haky 86 - 3.1.1-2 - stable enough to format in TWRP? I just need a clear answer to this. If the answer is really simple, I am really not seeing it. Everything else - installing custom rom, kernels, etc - I'll get through it slowly.

I'm still unsure about a few things but I won't bother you with them.
[P8 Lite (2017) Discussion] :
The TWRP I offer anywhere is that of hacky86, just renamed.

So it becomes perfect:

1. flash stock recovery

2. factoryreset

3. flash TWRP recovery

4. factoryreset or other wipes

Never Wipe the internal memory.
[P8 Lite (2017) Discussion] :
Have the thread brought up to date.
[P8 Lite (2017) Discussion] rodolphep:
Hello,

Has anyone be able to intsall Magisk , cause I'm really struggling with this.

Below is what I've done so far, trying to install it

-I've restored the backup provided by [MENTION=7295200]ChinHon[/MENTION]

-reboot and went through the first start wizard

-reboot to TWRP

-Flash unSU.zip and reboot system, then reboot in TWRP

-In TWRP, with ADB Sideload (Sdcard content is encrypted, I can't find zips pasted before) I flash Magisk 13.1 and got an error "Boot image patched by other programs"

-To fix that, I reebot in bootloader and flash an "untouched" boot.img found on another forum and reboot to TWRP

-In TWRP, once again I flash Magisk 13.1 (with no error) and then Busybox and reboot

-There I'm stuck on the warning message "Your device can be trusted..." but the phone refuse to boot, I have to restore a backup of the boot.img i've made to make it boot

I really need Magisk because it's required to get xposed (PurifyOs version)

My guess the "untouched" boot.img i found is not the good one, maybe [MENTION=7295200]ChinHon[/MENTION] or someone else provide me the stock boot.img (I mean not modified by root procedures) or maybe you guys have other suggestions?

Thanks!
[P8 Lite (2017) Discussion] :
Boot stock img PRA:

https://mega.nz/#!Flk20Tga!-oQ6I630JHr167R9WfUS7n-zkS2T4ZRf4qtSDZMPkpQ
[P8 Lite (2017) Discussion] rodolphep:
Thanks! Unfortunately, I'm still stuck on boot screen. I'm really out of ideas...
[P8 Lite (2017) Discussion] :
This was the mistake. I have specially written this here in #1:

This TWRP backup rom is not suitable for normal use. It was created for the following purpose:

- Rescue of bricked phones.

- Force an OTA update.

Do not root this rom​

!

Instal it new and make the update. You are able to do the new, clean B170 then with Magisk root.