TWRP, Root, Xposed - Huawei P10 Lite Questions & Answers

My last android was a lollipop version and I guess there are a lot of changes and security "improvements".
On my Huawei P10 Lite (WAS-LX1 8.0.0.367 C02 / EMUI 8.0.0) I want to flash TWRP, root the stock ROM. I want also to use Xposed, but i'm afraid to not brick the phone, I also saw something regarding FRP, bootload unlock.
If it's not possible and you consider that it's more simple to install directly a custom rom, then which one?
Somebody can guide me?

For root or install a custom rom you will need unlock the bootloader and that requires an unlock code, you can get the code with DC Unlocker but it cost you some money.

VALYYYY said:
My last android was a lollipop version and I guess there are a lot of changes and security "improvements".
On my Huawei P10 Lite (WAS-LX1 8.0.0.367 C02 / EMUI 8.0.0) I want to flash TWRP, root the stock ROM. I want also to use Xposed, but i'm afraid to not brick the phone, I also saw something regarding FRP, bootload unlock.
If it's not possible and you consider that it's more simple to install directly a custom rom, then which one?
Somebody can guide me?
Click to expand...
Click to collapse
First you need to use DC-Unlocker to get a bootloader code. It will cost you 4€. Then unlock your bootloader. Then install this TWRP. It works perfectly in stock EMUI 8, but in custom roms it doesn't even boot and also make sure to use "fastboot flash recovery_ramdisk" and not "fastboot flash recovery". Then flash the latest magisk. And for Xposed you'll have to use v90 beta 4 version on stock EMUI 8 otherwise you'll get a bootloop. And it's not for magisk, you'll have to flash it in TWRP.

DeathBell said:
First you need to use DC-Unlocker to get a bootloader code. It will cost you 4€. Then unlock your bootloader. Then install this TWRP. It works perfectly in stock EMUI 8, but in custom roms it doesn't even boot and also make sure to use "fastboot flash recovery_ramdisk" and not "fastboot flash recovery". Then flash the latest magisk. And for Xposed you'll have to use v90 beta 4 version on stock EMUI 8 otherwise you'll get a bootloop. And it's not for magisk, you'll have to flash it in TWRP.
Click to expand...
Click to collapse
Does the DC-UNLOCKED read huawei p10 8.0.0.367?

How can Dc_Unlocker made an Bootloader Unlock Code? HUAWEI doesn't give any Bootloader Unlock Codes for anyone Out!
I would really like to Flash Costum Recovery and Root my P10Lite(WAS_LX1) android&emui 8!
Or can I flash With Stock Recovery Magisk and later Root Device and Flash Costum Recovery/Rom with locked Bootloader? Or Unlock Bootloader other Option?
Thanks a lot for every tip

Overload87 said:
How can Dc_Unlocker made an Bootloader Unlock Code? HUAWEI doesn't give any Bootloader Unlock Codes for anyone Out!
I would really like to Flash Costum Recovery and Root my P10Lite(WAS_LX1) android&emui 8!
Or can I flash With Stock Recovery Magisk and later Root Device and Flash Costum Recovery/Rom with locked Bootloader? Or Unlock Bootloader other Option?
Thanks a lot for every tip
Click to expand...
Click to collapse
You can't flash nothing with locked bootloader. You need to pay for dc phoenix credit.

Overload87 said:
How can Dc_Unlocker made an Bootloader Unlock Code? HUAWEI doesn't give any Bootloader Unlock Codes for anyone Out!
I would really like to Flash Costum Recovery and Root my P10Lite(WAS_LX1) android&emui 8!
Or can I flash With Stock Recovery Magisk and later Root Device and Flash Costum Recovery/Rom with locked Bootloader? Or Unlock Bootloader other Option?
Thanks a lot for every tip
Click to expand...
Click to collapse
DC have "backdoors" try search on their site something about bl codes.. It is your one solution because with locked bl you can't flash nothing..So pay for bl code --> unlock it --> do flash

Dejvid50 said:
DC have "backdoors" try search on their site something about bl codes.. It is your one solution because with locked bl you can't flash nothing..So pay for bl code --> unlock it --> do flash
Click to expand...
Click to collapse
Okay thanks,
So I decided their is an Universal Code(Key Gen.)for All Huawei/&other devices to generate an Unlock Code with the Imei Nummbers I think.
With the Right Knowing everyone could generate his Own Unlock Code.
Thanks for your Help now I Understand a bit more about Flashing and Bootloaders.

DeathBell said:
First you need to use DC-Unlocker to get a bootloader code. It will cost you 4€. Then unlock your bootloader. Then install this TWRP. It works perfectly in stock EMUI 8, but in custom roms it doesn't even boot and also make sure to use "fastboot flash recovery_ramdisk" and not "fastboot flash recovery". Then flash the latest magisk. And for Xposed you'll have to use v90 beta 4 version on stock EMUI 8 otherwise you'll get a bootloop. And it's not for magisk, you'll have to flash it in TWRP.
Click to expand...
Click to collapse
Thanks for your advices! Already done everything you said. Everything is working well, except one thing: GravityBox seems that it does no effect on my stock rom. Any idea how to make these tweaks work?

Overload87 said:
How can Dc_Unlocker made an Bootloader Unlock Code? HUAWEI doesn't give any Bootloader Unlock Codes for anyone Out!
I would really like to Flash Costum Recovery and Root my P10Lite(WAS_LX1) android&emui 8!
Or can I flash With Stock Recovery Magisk and later Root Device and Flash Costum Recovery/Rom with locked Bootloader? Or Unlock Bootloader other Option?
Thanks a lot for every tip
Click to expand...
Click to collapse
they encrypting the unlock code from the imei...thats all

Related

boot loader unlock and root

please any body suggest me an easy way(any way) to unlock boot loader and root my device,my ultimate wish is to root my device to remove bloatware. I searched the entire forum for a way to root my device but there are lot of conflicting opinions some say unlocked boot loader is a must for root , some threads say root is required for unlocking the boot loader,i am confused ,please give some advice by witch i can ultimately root my device
my device- ZE550KL
OS - MARSHMALLOW 6.0.1
with locked boot loader and unrooted
2GB ram
I will be grateful to you and ill be glad
I don't know if you can get root if you are on MM without fully switching to CM13.
I think it's pretty "easy", it's depend from the person to person though
There's already thread to unlock BL (no relock atm), and getting root is simply flash supersu.zip
It's just my thoughts, I'm not saying you must do what I'm going to write down here, so I'm not responsible if anything happen
* You need, say TWRP, to get root, how to get TWRP? "flash" recovery right?
* flash custom img (recovery) only possible if BL unlocked, you got bootloop if still locked
* so what if we just boot to twrp? Leave that stock recovery? We don't need that unlocked BL right?
* then the problem come from supersu, default su installation on M+ come in "systemless" mode, which modifying the boot.img, as point 2 above, we can't have non-stock img flashed on locked BL
* so how about make supersu "system", it did work on L with locked BL anyway, it's not modifying any boot.img,
* you could got root w/o unlocking BL by booting twrp, and flash su in system mode
Personally I'm not able to test this, because I love breaking things :silly:
Sent from my ASUS_Z00RD using XDA Labs
testeraphy said:
There's already thread to unlock BL (no relock atm), and getting root is simply flash supersu.zip
Click to expand...
Click to collapse
Can you point me to this? I can't seem to find it
THanks
Brett8187 said:
Can you point me to this? I can't seem to find it
THanks
Click to expand...
Click to collapse
Really? I don't even need the search function to find this
http://forum.xda-developers.com/zen...de-unlock-bootloader-asus-unlock-app-t3405850
*ooh, I should studying using forum tags
Sent from my ASUS_Z00RD using XDA Labs

Relocking Bootloader

Is there a way to relock bootloader? I tried flashing stock rom via TWRP but the prompt still shows that Device cannot be trusted blalbla unlocked.
Can anyone give me a way how to relock my BL? I also tried SRK tool with relock bootloader with my Unlock code, but it doesnt work.
Thanks
EDIT: Please lock thread. I tried locking via eRecovery and it worked. Thanks
Update your device. Use the full update rom like b161, 201 or whatever you like. That will remove the unlocked bootloader and root as well.
​
ErvinSoliven said:
Update your device. Use the full update rom like b161, 201 or whatever you like. That will remove the unlocked bootloader and root as well.
Click to expand...
Click to collapse
are u tested it?
mi.alkhamis said:
​
are u tested it?
Click to expand...
Click to collapse
Yes is tested: at any update (via dialer or three key pressed) with stock firmware, you lose root, twrp and unlocked bootloader (if you have root, twrp and bootloader unlocked).
gtdaniel said:
Yes is tested: at any update (via dialer or three key pressed) with stock firmware, you lose root, twrp and unlocked bootloader (if you have root, twrp and bootloader unlocked).
Click to expand...
Click to collapse
thanks for quick reply/
another question .
i have vns-l21c900b140 .Which ROM root and boot loader problem solved ?
and i download vns-l21c432b160 can i flash this file without any problem such as Antenna ؟i
You have to debrand your phone to make it C432 from C900. Read around forum...

Freshly bought Mi A1 - to OTA or not to OTA?

Hey guys,
want to mod my freshly bought Mi A1 to the max, but I'm not sure if i should OTA first or better start modding right away?
I already unlocked the bootloader and it didnt wipe it - it also has 7.1 installed still. Generally I'm usually reluctant to do official updates because they usually make modding harder - but I tried booting the treble TWRP installer .img through fastboot (without installing it) and it failed because some partition was missing it said.. so I just want to hear if OTA is necessary to use the latest custom roms or if i can keep the old bootloader etc?
Would be cool if someone who knows could say smth about that.
Or is updating through OTA actually recommended even when not planning to ever use stock roms?
zroice said:
Hey guys,
want to mod my freshly bought Mi A1 to the max, but I'm not sure if i should OTA first or better start modding right away?
I already unlocked the bootloader and it didnt wipe it - it also has 7.1 installed still. Generally I'm usually reluctant to do official updates because they usually make modding harder - but I tried booting the treble TWRP installer .img through fastboot (without installing it) and it failed because some partition was missing it said.. so I just want to hear if OTA is necessary to use the latest custom roms or if i can keep the old bootloader etc?
Would be cool if someone who knows could say smth about that.
Or is updating through OTA actually recommended even when not planning to ever use stock roms?
Click to expand...
Click to collapse
If security matters for you yes
The only thing you'll share with a custom ROM is the bootloader
Since may update locking or relocking the bootloader will wipe your data
It's your choice
but it will still work as easy as before to unlock/lock with just a fastboot command, right?
and will a custom rom work with a locked bootloader? Like first unlock, install custom rom + kernel, then relock?
zroice said:
but it will still work as easy as before to unlock/lock with just a fastboot command, right?
and will a custom rom work with a locked bootloader? Like first unlock, install custom rom + kernel, then relock?
Click to expand...
Click to collapse
You have to enable it in Developer settings.
zroice said:
but it will still work as easy as before to unlock/lock with just a fastboot command, right?
and will a custom rom work with a locked bootloader? Like first unlock, install custom rom + kernel, then relock?
Click to expand...
Click to collapse
It will always be that easy to unlock and relock the bootloader
No don't relock on anything that is out of stock (custom kernel , magisk, custom ROM etc) this will lead to a softbrick and you'll have to be on edl more to reflash a stock rom
What's the interest of having a locked bootloader with a custom ROM? You won't pass the safety net anyway
Just keep it unlock
You can do ota with an unlocked bootloader
Dead-neM said:
It will always be that easy to unlock and relock the bootloader
No don't relock on anything that is out of stock (custom kernel , magisk, custom ROM etc) this will lead to a softbrick and you'll have to be on edl more to reflash a stock rom
What's the interest of having a locked bootloader with a custom ROM? You won't pass the safety net anyway
Just keep it unlock
You can do ota with an unlocked bootloader
Click to expand...
Click to collapse
alright. thanks very much for explaining in details - exactly what i was looking for.
What's the use of your android one device if you will not update it, that's what you pay for.
HidekiRyuga said:
What's the use of your android one device if you will not update it, that's what you pay for.
Click to expand...
Click to collapse
hahahaaa exactly the point :laugh:
well once you have everything "perfectly set up" updates can ruin it. but yea relocking the bootloader really was a stupid idea - it was the idea to make it tamper proof but since custom kernels wont boot with locked bootloader that wouldnt work.

Back to stock after unlocking bootloader?

Hey there,
I've read about GooglePay not working after unlocking bootloader. I don't know if I will ever use GooglePay but I want to know if I can go back to stock (lock bootloader?) some day after unlocking to start using GooglePay.
Cheers
Google Pay works even with Magisk.
But yes, you can lock your bootloader again with adb/fastboot ot Mi Flash, when you want.
Schnedi said:
Google Pay works even with Magisk.
But yes, you can lock your bootloader again with adb/fastboot ot Mi Flash, when you want.
Click to expand...
Click to collapse
Can you lock your bootloader again after installing Lineage?
bicalov said:
Can you lock your bootloader again after installing Lineage?
Click to expand...
Click to collapse
You can relock BL only if you first go back to stock
Locking BL pulls low-level Factory reset (not sure would it even work if you are on LN or other custom ROM and/or custom Recovery or would it simply brick your phone that you will need then paid assistance with EDL account to unbrick)
(Besides, what would you do then in future if you lock BL when you have LN - you would never be able to unlock again because you must be on stock for unlocking. And with relocked BL you would not be able to flash anything anymore)
Thank you for this explenation,

Going Back to Miui

Hey
I have question about firmware flashing,
I am currently using pe and i want to go back miui
Am i need flash firmware before flashing miui
or just flashing miui enough ?
Download fastboot rom from miui website and install through fastboot
Visit this link for instructions
ammaralidj said:
Download fastboot rom from miui website and install through fastboot
Visit this link for instructions
Click to expand...
Click to collapse
Can i flash rom via twrp? Will it work ?
No fastboot roms for fastboot mode only and you will loose root. It means you need to reroot your device if you wish
TWRP is for custom roms only.
Ded Moroza said:
Hey
I have question about firmware flashing,
I am currently using pe and i want to go back miui
Am i need flash firmware before flashing miui
or just flashing miui enough ?
Click to expand...
Click to collapse
You can either do a clean flash with TWRP/ORANGE or do flash with MIFlashTool with Fastboot ROM. (Depends of what you want to keep or lose, eg. the bootloader unlocked) with Fastboot ROM it will reset and relock the bootloader (of course you can unlocked it again with unlock tool without problem), with MIUI recovery ROMS will be the same steps as flashing a custom ROM, it might re-write the stock recovery after the reboot but the bootloader will remain unlocked.
BlackGarnett said:
You can either do a clean flash with TWRP/ORANGE or do flash with MIFlashTool with Fastboot ROM. (Depends of what you want to keep or lose, eg. the bootloader unlocked) with Fastboot ROM it will reset and relock the bootloader (of course you can unlocked it again with unlock tool without problem), with MIUI recovery ROMS will be the same steps as flashing a custom ROM, it might re-write the stock recovery after the reboot but the bootloader will remain unlocked.
Click to expand...
Click to collapse
Is unlocked bootloader disadvantageous for an ordinary, blah phone ?
Should I flash via fastboot and lock bootloader ?
Ded Moroza said:
Is unlocked bootloader disadvantageous for an ordinary, blah phone ?
Should I flash via fastboot and lock bootloader ?
Click to expand...
Click to collapse
Some apps doesn't work properly, like Netflix for example.
If you're just using regular MIUI without root or any mods like magisk better leave it locked.
You don't have to lock the bootloader when using Miflashtool, just choose "Clean all" and not "Clean all and lock" at the bottom of the ui.
Gonime said:
Some apps doesn't work properly, like Netflix for example.
If you're just using regular MIUI without root or any mods like magisk better leave it locked.
Click to expand...
Click to collapse
Last question
While bootloader locked, can i flash twrp and magisk ?
CGA1 said:
You don't have to lock the bootloader when using Miflashtool, just choose "Clean all" and not "Clean all and lock" at the bottom of the ui.
Click to expand...
Click to collapse
Ok thanks but im gonna lock it
Ded Moroza said:
Last question
While bootloader locked, can i flash twrp and magisk ?
Click to expand...
Click to collapse
No, you can't when you lock bootloader you can't flash any recovery, etc.
BlackGarnett said:
No, you can't when you lock bootloader you can't flash any recovery, etc.
Click to expand...
Click to collapse
Alright thanks much
Ded Moroza said:
Last question
While bootloader locked, can i flash twrp and magisk ?
Click to expand...
Click to collapse
No, definitely not. Unless you want to brick your device.

Categories

Resources