[How To Root] [EMUI 5+EMUI 8]+[KangVip Rom V.1.1] Huawei P8 lite 2017 PRA (Prague)

Search This thread

G.Man.

Senior Member
May 18, 2018
96
78
NRW
​
[How To Root]
[2017 Family] Huawei/ Honor series PRA (Prague)
-Android 7.0 -EMUI 5.0

P8 Lite 2017 - PRA-LX1, LX2, LX3, LA-1
P9 Lite 20176
NovaLite
Honor 8 Youth
Rooting has been developed and tested on this device:

Huawei P8 lite 2017 [PRAGUE]
Model number: PRA-LX1
Build number: PRA-LX1C432B170
Free device

You need:
- PC or Windows tablet
- USB cable
- Windows 7 / 8.1 / 10
- Minimal Adb and Fastboot
- OEM unlocking in the developer options active
- Huawei HiSuite (installs all necessary drivers)
OEM and FRP unlocked

Bootloader unlocking:

- Go to this page: Homepage - EMUI - on UNLOCK (Currently offline.),
- then on Account login - and log in with the Huawei ID.
- Then confirm the terms and conditions.
- On the next page, fill in the form. This page is self-explanatory.
- Confirm your entries with "Commit". The unlock code is now displayed immediately.
- Please note down immediately.
- Now start the PRA in fastboot mode and enter fastboot oem unlock in the Adb command window (PC)
- followed by your unlock code. (like this: fastboot oem unlock 123456787890987654)
- Now comes a hint screen, in which the unlocking is pointed out.
- You now have the option to cancel this action. If you confirm with yes, it will be unlocked and a
- Factoryreset will be performed.


FRP - Unlocking:

- After the reboot has just been executed, the device starts the new setup.
- Reject or skip anything related to security and Google. Can be made up later.
- After setup, turn on OEM unlock and USB debugging in the developer settings and boot back into Fastboot mode.
- It should be there now: FRP Unlock

Rooting:

The following is required:

TWRP recovery (prague311.img)
-in the ADB directory

SuperSU2.82-EMUI5-dm-verityPermissive.zip
(By @Tecalote)
-to the Ext Sd

Backup your data using Huawei Backup.

Please enter only flash commands by using Adb.
Reboots only by keyboard combination.

Installing TWRP:
  • Connect the device via USB to the PC and start into the boot loader
  • (Fastboot Mode):
  • Now start adb on the PC and enter it in the terminal:
  • fastboot flash recovery prague311.img
  • Disconnect device from PC and start TWRP: Press Vol + and Power and hold both.
  • When signs or logo appears on the screen, release the buttons.
  • After a few seconds TWRP starts.
  • There the SuperSU2.82-EMUI5-dm-verityPermissive.zip flash
  • and reboot.
  • The device starts twice before it finally boots.
  • Then load from the Playstore the Busybox.apk from Stericson
  • and thus install Busybox into this path:
  • / Su / Xbin

In the future:
All actions in TWRP must be executed wisely.
Learn about the features of this custom recovery.

Note:
The data partition is mountable in TWRP,
but is not reliably secured or restored.
Therefore, never delete the internal memory and data partition,
or perform a factory reset. I have had the experience that too.
Other partition backups will never be restored as they are
were created. A perfect restoring is not possible.
Please do not use TWRP for backup and restore operations.
If a backup or restore should be done, please always without the data partition.
Apply a factory reset only in stock recovery.

This can be done with a regular backup per Huawei data backup.

Button combinations:

  • Fastboot Mode: Vol.- and Power with PC connection
  • Recovery: Vol. + and Power without PC connection
  • eRecovery: Vol. + and Power with PC connection
  • All system reboots always without PC connection.
  • Without PC connection means that the cable from the PRA
  • is separated, only from the PC is not sufficient.

I wish you success!

Root the PRA is now also available with the Magisk-v13./16.

Requirement:

- Firmware from the B164
- not root
Who has already rooted with SuperSu, lets
everything as it is.

Magisk Rooting:

- Install MagiskManager-v5.3.0.apk
- flash Magisk-v14.0.zip by TWRP
- flash BusyBox-Magisk-1.25.zip by TWRP
- reboot and update the MagiskManager.

For this we thank the Magisk developer
@topjohnwu.

[How to unbrick]

The procedure of rescue is risky.
Without appropriate knowledge, I advise.
It is only successful if the instructions are executed exactly.

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!
Unzip the download 2017-08-11-RESCUE.ROM.PRA.OTA.B164.to.170.rar (1.05 GB).
This creates the TWRP backup:
2017-08-11-RESCUE.ROM.PRA.OTA.B164.to.170

installation:​
  • copy my backup to the TWRP backup path to the Ext Sd.
  • (see screenshot)
  • Boot into the Bootloader.
  • Stock Recovery flash by adb.
  • In the recovery start and
  • perform a factory reset.
  • Boot into the Bootloader.
  • TWRP flash by adb.
  • To start TWRP.
  • There data wipe
  • and restore my backup.
  • In the Bootloader start and
  • flash by adb the Stock Recovery.
  • There then again a factory reset.
  • Reboot
  • When the boot process is finished,
  • Go to Settings> Update program> New version> Update.
  • Will not be offered, in the Stock Recovery again perform a factory reset.

The upgrade to the B170 succeeds only with sim-card.

You have now done an official update and a new, clean and up-to-date firmware.

Congratulation!

Thread Update: 2017-11-10

There is also an alternative method. This can work, but it doesn't have to.

Starts the device into eRecovery and tries to recover and download the firmware.
If you had the B170, this one will also be sent to you here offered.
If it works, then immediately starts the download and installation.

Thread update: 2017-12-09
[Rooting B182]
With SuperUser:

  • After the update to the B182
  • surely TWRP already flashed
  • and created a backup.
  • Now installed in TWRP, on the Stock Kernel,
  • the "SuperSU-v2.82. PRA. B182. zip"
  • from the appendix.
  • Reboot and ready.
  • You can use the Busybox from the App
  • suggested path.

With Magisk:
As described above.
Nothing's changed.


Threadupdate: 2017-12-30
Here's the new rescue rom:


Threadupdate: 2018-01-04
Here I have a new possibility to restore a bricked device:

It's an original Huawei UPDATE.APP.
It is designed for emergencies to repair damaged firmware.

However, some functions are limited until the next OTA Update.
The Magazine-Unlocking does not work and other themes cannot be activated.
TWRP backup and restore are faulty and can lead to a brick.
Don't use dual recovery here. eRecovery is mandatory.
After downloading the UPDATE. ZIP you unpack the archive.
Now create the folder dload on the ExtSd
and copies the resulting UPDATE.APP there.
Now in the dialer with the input of *#*#2846579#*#*
call up the secret menu and perform the update. If you can't boot anymore, you start
the update as follows, without USB connection:
Vol. + and vol. - and power and press together and hold on tight. The device goes off and on again.
As soon as text appears on the display, release all keys. Now start after the update process within a few seconds.
After this update the firmware should be repaired.

TWRP and root do not need to be removed as they are overwritten during the update.
The FRP is then locked again.
After the first reboot go to recovery and make a factoryreset and reboot again.
Now disable in the developer options the oem unlocking und your device is full stock wihout the bootscreen: "your device has been unlocked and can't be trusted". If you need twrp and root again, unlock with the huawei unlockcode.

Good luck.

And now we install the OREO-Beta:

Download:
LX1C432B321-PRA log (8.0.0.321)
http://update.hicloud.com:8180/TDS/data/files/p3/s15/G2312/g1699/v130567/f1/full/update.zip
Instructions:

  • The UPDATE.ZIP from the download, nocheck.img and Magisk-v16.0.zip copy to the extSd card.
  • Perform a HW backup
  • Sync your Google Account.
  • Write down Google Login data.
  • Enable OEM unlocking and USB debugging.
  • Perform a factoryreset. (Stock Recovery)
  • Now carry out a short new setup.
  • Reject everything for security and google, or skip it.
  • Can be made up later.
  • Reactivate OEM unlock and USB debugging.
  • Now flash TWRP. (prague311.img)
  • Then install nocheck.img into the recovery partition with TWRP.
  • This is a stock recovery that bypasses the UPDATE.ZIP check and makes it
  • so that it can be installed.
  • Now enter the following command in the TWRP terminal:
  • echo -update_package=/sdcard/update.zip > /cache/recovery/command
  • Please follow the exact spelling!
  • Then enter in the terminal: reboot recovery.
  • The device now boots into the recovery and installs the UPDATE.ZIP.
  • That'll take a while. Afterwards you boot directly to OREO.
Congratulations!

:)

I've been using OREO for a few hours now and haven't found any bugs yet. They are of course
as it is probably a beta version.

The settings still contain the same firmware entry,
as before installation. I don't know why that is. But it is
actually the EMUI 8 firmware with Google patch from 01.04.2018.

A test of the eRecovery recovery revealed that there the rollback of
EMUI 8 on 5 is offered. I promptly tested it successfully.

Rooting:

  • Install the OREO TWRP via ADB. (FIGO4.img)
  • fastboot flash recovery_ramdisk figo4.img
  • Install the Magisk-v16.zip there.
  • After rebooting the Magisk Manager app and check the root.
  • To what extent an update capability to the following firmware exists,
  • is unfortunately beyond my knowledge and remains to be seen.

Have fun with OREO.

One more comment on the new TWRP:

The TWRP comes from my P smart and is compatible.
More partitions can be backed up there than used to be the case.
However, restoring carries unpredictable risks/results.
Please select only the following partitions for backups in the future:

  1. kernel
  2. Boot Ramdisk
  3. Recovery Ramdisk
  4. System

The data partition can only be backed up after a previous formatting.

You will to get back to EMUI 5:

Starts the eRecovery. There will be a rollback for EMUI 5, at the latest after a Factoryreset.


And now for the final:

[OREO-Custom Rom] Huawei P8 lite 2017 - PRA-LX1 -
K-Rom V.1.1 - EMUI 8, Android 8
On TWRP backup basis:

  • Developed and tested on this device:
  • Huawei P8 lite 2017 (Prague)
  • Model Number: Huawei PRA-LX1
  • Build Number: FIG-LX1 8.0.0.0.046(C432)
  • free device, without branding, with root and
  • TWRP recovery

The OREO beta from this thread is required:
Huawei P8 lite 2017 - PRA-LX1C432B321(8.0.0.321) - EMUI 8/ Android 8 - OREO

Mods:

Call Recorder and KangVip Advanced Settings

It is based on the official Asia-B046 and KangVip version for the Honor V10 (BKL)

Quick guide for experienced users:
Please make a TWRP backup of these partitions,
separately: Kernel, Boot Ramdisk, Recovery Ramdisk and System.
It serves to restore the old system, if you don't like this Rom.
The Rom will be installed as if you were restoring a TWRP backup.
wanted to. All your apps will be preserved.

Further requirements:

  • TWRP Recovery,
  • Root is not necessary,
  • OEM and FRP unlocked,
  • USB debugging on.

You are familiar with the subject? Then let's go!
A Unroot is not necessary.

Preparation:

Your device must be fully equipped. Including all accounts and apps.
Synchronize the accounts as usual. Especially the Google Account.
Perform a backup with the Huawei data backup.
Remove the device pin, Sim Pin, Face Unlock and the fingerprint.

Installation:
  • Download: 2018-04-22-PRA-OREO-K-ROM-V1.1.exe
  • Run this self-extracting archive on the PC.
  • This creates a TWRP backup folder.
  • Copy to the TWRP backup directory on extSd.
  • Restore the backup completely and reboot it into the system.
  • Do not wipe before and after restoring.
  • The installation is now complete.
  • Xposed is not perfectly compatible yet and I will send it later. The system has root
  • with Magisk. Therefore the existing SuperSu app has to be deleted.

Do not use "hide NavBar" in the Kangvip Advanced Settings, as it only works in China Roms.
Hiding the NavBar is integrated in the EMUI 8.

In the K-Advanced Settings / tune cpu, some changes of the Cpu power are possible. Anyone who
Power needed, can do that. Testing the "Save" options is useless. I tested it extensively.
The in-house Huawei energy saving settings are unbeatable. The Advanced Settings
I will not describe in more detail here, as these are very extensive. Most settings can be set to
the screenshots. On these it can also be seen that I have already been
I've made some design changes. See Notification Bar, Desktop and Appdrawer.

Good luck!


Downloads:*

[Team HRC]




The Rom I offer is original Huawei firmware. Modified by Kangvip and reworked by me.
If you like this work, you can make a donation to Kangvip: 志康 黄 Send money with PayPal.Me

Not for me, because I don't take money for it. I made this Rom for my purposes.
I love it when these things work. And it does. Now I share it with you.
Here is the link to the original and the developer: 微博正文 - 版版

Many thanks to:
  • KangVIP - Rom
  • topjohnwu - Magisk
  • @Tecalote - SuperSU
  • Chainfire - SuperSu
  • Stephen (Stericson) - Busybox
  • TeamWinRecoveryProject - TWRP
  • Huawei Technologies Co, Ltd. 华为技术有限公司


WARNING !

If all this has worked on my device, it does not mean that it goes with everyone else. Follow exactly the instructions to prevent damage. The execution is your risk.
Never make a factory reset in TWRP. Brick !!! Wipes only in stock recovery.
Tipp:
The current bricks were mostly caused by TWRP. The Data Partition is missing or corrupted. This is done by TWRP, which still generates errors. There is still no TWRP that works properly. Directly after a new update usually goes everything. But at the latest after the rooting come the problems. Then you can not edit the data partition anymore. No backup and no restoration of data partition.

NOTE: Despite careful preparation I can not guarantee that through the implementation of this Guidance does not create damage to the device or operating system, and therefore assume no liability for ensuing damage and malfunction of hardware and software! If you are still unsure, follow these steps: Only perform the procedure if any mentioned conditions (model number, Android version, etc.) apply to you or your device. Read the instructions carefully and completely, check unfamiliar terminology by google or xda. Downloaded files check for viruses. A backup of important settings and data make. The instructions do not perform, if you do not know what you're doing.

These warnings must be, that is logical. In the end, I have experienced this: For testing, I have seven times a complete backup and can also restore. TWRP worked wonderfully now. When I then restored an older backup, the old error came back.
TWRP works correctly: Before the first restoring first in the stock recovery make a factoryreset. Then also in TWRP and there data wipe. Then restore the backup. All goes well. All older backups I have deleted.

This project is finished. There are no more downloads available.
 
Last edited:
  • Like
Reactions: rajib oman

Tecalote

Senior Member
Aug 6, 2015
4,117
3,148
62
Leipzig
Honor Magic4 Pro
I appreciate the work of @G.Man. He tested every possible situation with this Phone to find the best way how to Root it despite the limitations of EMUI 5.0!

He wasn't afraid to bring his phone three or more times nearly to a brick just in the hope to find a possible Root Solution for us, which works pretty much good :cowboy:

Many thanks at this point. Without his testing and work we would not be able to get Root Rights on this Phone with newest SuperSU :)
 
Last edited:

alimentas

Member
Apr 1, 2017
5
0
I bought this phone (pra-lx1) yesterday and i check at the settings that my build number is NRD90M test-keys and i don't have the system update option available and some other stuff(like file manager).

How is this possible on a brand new device??? Is there something i can do without losing warranty?
 

AmINoS007

Senior Member
Apr 19, 2014
370
65
I bought this phone (pra-lx1) yesterday and i check at the settings that my build number is NRD90M test-keys and i don't have the system update option available and some other stuff(like file manager).

How is this possible on a brand new device??? Is there something i can do without losing warranty?
Seriously ? You got a model test then can you show a screen shot ?, I think it would be better to change it
 

alimentas

Member
Apr 1, 2017
5
0
Test model??? Really??

Screenshot_20170401-163518.png
 

harlock59

Member
Mar 11, 2013
45
4
Valenciennes
Hello, i'm trying to unlock my bootlader, i have my unlocking password from huawei and when i type adb devices i get my device, then i boot into fastmode but when i type fastbbot oem unlock followed by my unlocking code it replies FAILED (remote: Command not allowed)

on the lower part on the fastboot mode it's written phone locked and frp lock : what does FRP Lock mean ?
 
Last edited:

alimentas

Member
Apr 1, 2017
5
0
That's not a test model, your oeminfo partition doesn't match the installed firmware. Is yours an operator bought one? or did you buy it unlocked?

Οperator bought one.I just bought it ''factory sealed''.I am fron Greece and this was supposed to be by the place i bought it,αn unbranded EU device.

Is there is something i can do or i change it with a new one????
 

randhackr

Senior Member
Oct 13, 2016
95
29
Οperator bought one.I just bought it ''factory sealed''.I am fron Greece and this was supposed to be by the place i bought it,αn unbranded EU device.

Is there is something i can do or i change it with a new one????

Dial *#*#2846579#*#* (this opens project menu), select Network information Query and vendor country info a report back what you've got there.
 

randhackr

Senior Member
Oct 13, 2016
95
29
i've succeeded unlocking my bootloader, i had to go to developer mode enable oem unlock then retry fastboot mode then it worked.

Yes you need to enable the oem unlock option to disable the frp lock.

Is your phone not branded to any operator? If it is not could you use the twrp that is used for the rooting process to dump the oeminfo partition of your phone?
 

randhackr

Senior Member
Oct 13, 2016
95
29
That 's what i got.

Vendor:hw
Country:eu

That's strange. You seem to have a stock oeminfo. You could try o use the firmware finder in the playstore to try to update your phone to the b118 firmware. You should have something like the screenshot that I uploaded.
 

Attachments

  • Screenshot_20170401-155241.png
    Screenshot_20170401-155241.png
    90.6 KB · Views: 1,422

harlock59

Member
Mar 11, 2013
45
4
Valenciennes
i didn't understand what i had to do after unlocking bootloader, i have RootBoxLX1.rar but i don't know how to use it, i've unrared it but what should i do to make them work ?
 

randhackr

Senior Member
Oct 13, 2016
95
29
i didn't understand what i had to do after unlocking bootloader, i have RootBoxLX1.rar but i don't know how to use it, i've unrared it but what should i do to make them work ?

I only installed twrp, but as far as I understand you must use fastboot to flash the modified boot.img provided in the rar file.
 

harlock59

Member
Mar 11, 2013
45
4
Valenciennes
I only installed twrp, but as far as I understand you must use fastboot to flash the modified boot.img provided in the rar file.

how can i install twrp and where can i find twrp for huawei pra-lx1or what is the command line to flash the modified boot.img ?

---------- Post added at 05:36 PM ---------- Previous post was at 05:32 PM ----------

isn't there a mistype (mis spelling) fastboot flash boat boot_root.img shouldn't it be fastboot flash boot boot_root.img ???
 

randhackr

Senior Member
Oct 13, 2016
95
29
how can i install twrp and where can i find twrp for huawei pra-lx1or what is the command line to flash the modified boot.img ?

---------- Post added at 05:36 PM ---------- Previous post was at 05:32 PM ----------

isn't there a mistype (mis spelling) fastboot flash boat boot_root.img shouldn't it be fastboot flash boot boot_root.img ???

Check this post https://xdaforums.com/showpost.php?p=71601405&postcount=62

Edit: Yes there is a misspelling it should be boot
 
V

veromax

Guest
i didn't understand what i had to do after unlocking bootloader, i have RootBoxLX1.rar but i don't know how to use it, i've unrared it but what should i do to make them work ?

Extract RootBoxLX1.rar, gets so all necessary files. Then work the Root instructions. TWRP may not be on the device separate the original Recovery.
 
V

veromax

Guest
I have changed the write errors boat to boot.
Sorry
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    I appreciate the work of @G.Man. He tested every possible situation with this Phone to find the best way how to Root it despite the limitations of EMUI 5.0!

    He wasn't afraid to bring his phone three or more times nearly to a brick just in the hope to find a possible Root Solution for us, which works pretty much good :cowboy:

    Many thanks at this point. Without his testing and work we would not be able to get Root Rights on this Phone with newest SuperSU :)
    3
    So you will release twrp soon?
    I wish you success !!!
    Sure, at least I need to download the stock PRA-LX1C432B115 firmware to restore stock recovery in case of bootloop :)
    P.S: I already make minimal device tree and once rooted i can pull all proprietary libs to make first rom.
    3
    I manage to unlock frp and bootloader without problems and now start download omni 7.0 source code and make twrp with stock kernel until Huawei release sources of Linux 4.1.
    3
    Got SuperSu on P8 Lite 2017 without flashing that boot.img, I just made a twrp (that already available for downloading) by my self and flash supersu. (Y).
    3
    Nice, Linux 4.1 :laugh: And you want develope for this phone now? How is the security patch level on this phone?
    well, if huawei release it kernel source, of course i will make roms, here security patches..and some antutu points. then only issue is internal storage is very small but i guess can be solved with an sdcard with a class higher than 10..