Help for root - Huawei P10 Lite Questions & Answers

Hi
Could anyone help me
How to root my p10 lite?
And any way to unlock my bootloder
After huawei closed the link for code?

MoNabil said:
Hi
Could anyone help me
How to root my p10 lite?
And any way to unlock my bootloder
After huawei closed the link for code?
Click to expand...
Click to collapse
Only way to unlock your bootloader is to pay for dc phoenix...

nemanjsb said:
Only way to unlock your bootloader is to pay for dc phoenix...
Click to expand...
Click to collapse
And how much for that?

MoNabil said:
And how much for that?
Click to expand...
Click to collapse
I don't know, register on dc phoenix and u will see.
EDIT: I found in a forum where they say that the price is 5$ for code.

Files you need (P10 Lite): https://mega.nz/#F!TNQiFDrS!LeWgM5bukSz66UEL5zE1Tg
Part 1 - Unlock Bootloader:
Full guide how to unlock your Bootloader via DC-Unlocker or HCU Client - https://forum.xda-developers.com/honor-7x/how-to/how-to-unlock-huawei-bootloader-removal-t3780903
* If you use HCU Client then TURN OFF your Antivirus because it detects parts of the program as a Trojan! But don't worry, it's safe!
Also see this tutorial here - http://hcu-client.com/read-bootloader-code-huawei-phone/
Install ADB drivers (adb-setup-1.4.3.exe)
Once you get the unlock code turn OFF the phone, press and hold only VOL DONW and connect it to PC via USB cable.
The phone will boot in to Bootloader mode.
Open PowerShell or CMD window and use this command:
fastboot oem unlock <your_unlock_code>
On the phone choose YES with the buttons and bootloader will unlock.
The phone will be factory reseted!!!
Part 2 - Root the phone:
Go to Settings -> System -> About Phone -> Click 7-8 times on the Build Number (until you see a message that you're developer)
Go to Settings -> System -> Developer options -> Enable USB Debugging
Turn OFF your Phone, press and hold VOL Down and connect it to the PC via USB cable.
The phone will boot in to Bootloader mode, but this time you will see this:
Bootloader: Unlocked
FRP: Unlocked
Open PowerShell or CMD window and use this command:
fastboot flash ramdisk patched_boot.img
fastboot reboot
That's all. Your phone is rooted with Magisk!
If you need just install latest Magisk Manager.
patched_boot.img is patched stock RAMDISK.img (boot file)
REMEMBER:
1. You CAN NOT install OTA update if you phone is rooted (during instalation gives error)
2. You CAN install only FullOTA update but you will lose the root
3. After every system update (FullOTA) you should run the phone to Bootloader mode and flash patched_boot.img again if you want root

nemanjsb said:
Only way to unlock your bootloader is to pay for dc phoenix...
Click to expand...
Click to collapse
Aalesund said:
Files you need (P10 Lite): https://mega.nz/#F!TNQiFDrS!LeWgM5bukSz66UEL5zE1Tg
Part 1 - Unlock Bootloader:
Full guide how to unlock your Bootloader via DC-Unlocker or HCU Client - https://forum.xda-developers.com/honor-7x/how-to/how-to-unlock-huawei-bootloader-removal-t3780903
* If you use HCU Client then TURN OFF your Antivirus because it detects parts of the program as a Trojan! But don't worry, it's safe!
Also see this tutorial here - http://hcu-client.com/read-bootloader-code-huawei-phone/
Install ADB drivers (adb-setup-1.4.3.exe)
Once you get the unlock code turn OFF the phone, press and hold only VOL DONW and connect it to PC via USB cable.
The phone will boot in to Bootloader mode.
Open PowerShell or CMD window and use this command:
fastboot oem unlock <your_unlock_code>
On the phone choose YES with the buttons and bootloader will unlock.
The phone will be factory reseted!!!
Part 2 - Root the phone:
Go to Settings -> System -> About Phone -> Click 7-8 times on the Build Number (until you see a message that you're developer)
Go to Settings -> System -> Developer options -> Enable USB Debugging
Turn OFF your Phone, press and hold VOL Down and connect it to the PC via USB cable.
The phone will boot in to Bootloader mode, but this time you will see this:
Bootloader: Unlocked
FRP: Unlocked
Open PowerShell or CMD window and use this command:
fastboot flash ramdisk patched_boot.img
fastboot reboot
That's all. Your phone is rooted with Magisk!
If you need just install latest Magisk Manager.
patched_boot.img is patched stock RAMDISK.img (boot file)
REMEMBER:
1. You CAN NOT install OTA update if you phone is rooted (during instalation gives error)
2. You CAN install only FullOTA update but you will lose the root
3. After every system update (FullOTA) you should run the phone to Bootloader mode and flash patched_boot.img again if you want root
Click to expand...
Click to collapse
This is for root or for unlock bootloder?
Can i unlock bootloder with out pay for that?
And what is the way to install rooted roms for my device..

MoNabil said:
This is for root or for unlock bootloder?
Can i unlock bootloder with out pay for that?
And what is the way to install rooted roms for my device..
Click to expand...
Click to collapse
This is unlock bootloader + root.
If you want rooted stock rom, then root is just one simple step: fastboot flash ramdisk patched_boot.img
There is no free way to unlock bootloader.
If you want to install custom roms then flash TWRP:
fastboot flash recovery_ramdisk TWRP.img
But DO NOT flash Pretoriano80's TWRP because it's for stock rom only and isn't support custom roms!!!
Maybe try this:
Haky86's TWRP - https://www.haky86.com/hi6250/twrp-emui-8-hi6250/
Haky86's Android 9.0 - https://www.haky86.com/hi6250/emui-8-hi6250/
ArrowOS and AOSP are stable.

Aalesund said:
This is unlock bootloader + root.
If you want rooted stock rom, then root is just one simple step: fastboot flash ramdisk patched_boot.img
There is no free way to unlock bootloader.
If you want to install custom roms then flash TWRP:
fastboot flash recovery_ramdisk TWRP.img
But DO NOT flash Pretoriano80's TWRP because it's for stock rom only and isn't support custom roms!!!
Maybe try this:
Haky86's TWRP - https://www.haky86.com/hi6250/twrp-emui-8-hi6250/
Haky86's Android 9.0 - https://www.haky86.com/hi6250/twrp-emui-8-hi6250/
ArrowOS and AOSP are stable.
Click to expand...
Click to collapse
Thanks
If i want to install root on my device
It is nessesary to unlock bootloder? or it is just separated step and helps to install roms
With new options and different features... Etc

MoNabil said:
Thanks
If i want to install root on my device
It is nessesary to unlock bootloder? or it is just separated step and helps to install roms
With new options and different features... Etc
Click to expand...
Click to collapse
U must unlock bootloader or u can't flash nothing. Free way to unlock bootloader was with huawei code but now u must pay for dc phoenix...

MoNabil said:
Thanks
If i want to install root on my device
It is nessesary to unlock bootloder? or it is just separated step and helps to install roms
With new options and different features... Etc
Click to expand...
Click to collapse
You are going to screw up your phone in this learning process .Unless you have another phone and this p10 is your 2nd phone then you can try & error .No matter what you must open yr bootloader to proceed next step .Means additional cost for sure .
Good luck

Well, I asked for huawei support for unlock code. I had to send them details and I got the code in almost a month

Hey there guys! Is it still available to get the code directly from huawei? How could I request them the code? I recently received this phone as present and it is as it came from factory but i want to install custom roms in my P10 lite is it still possible?
Thanks in advance for your help, I really wouldn't like to screw up my new phone! Cheers!

Aalesund said:
Files you need (P10 Lite): https://mega.nz/#F!TNQiFDrS!LeWgM5bukSz66UEL5zE1Tg
Part 1 - Unlock Bootloader:
Full guide how to unlock your Bootloader via DC-Unlocker or HCU Client - https://forum.xda-developers.com/honor-7x/how-to/how-to-unlock-huawei-bootloader-removal-t3780903
* If you use HCU Client then TURN OFF your Antivirus because it detects parts of the program as a Trojan! But don't worry, it's safe!
Also see this tutorial here - http://hcu-client.com/read-bootloader-code-huawei-phone/
Install ADB drivers (adb-setup-1.4.3.exe)
Once you get the unlock code turn OFF the phone, press and hold only VOL DONW and connect it to PC via USB cable.
The phone will boot in to Bootloader mode.
Open PowerShell or CMD window and use this command:
fastboot oem unlock <your_unlock_code>
On the phone choose YES with the buttons and bootloader will unlock.
The phone will be factory reseted!!!
Part 2 - Root the phone:
Go to Settings -> System -> About Phone -> Click 7-8 times on the Build Number (until you see a message that you're developer)
Go to Settings -> System -> Developer options -> Enable USB Debugging
Turn OFF your Phone, press and hold VOL Down and connect it to the PC via USB cable.
The phone will boot in to Bootloader mode, but this time you will see this:
Bootloader: Unlocked
FRP: Unlocked
Open PowerShell or CMD window and use this command:
fastboot flash ramdisk patched_boot.img
fastboot reboot
That's all. Your phone is rooted with Magisk!
If you need just install latest Magisk Manager.
patched_boot.img is patched stock RAMDISK.img (boot file)
REMEMBER:
1. You CAN NOT install OTA update if you phone is rooted (during instalation gives error)
2. You CAN install only FullOTA update but you will lose the root
3. After every system update (FullOTA) you should run the phone to Bootloader mode and flash patched_boot.img again if you want root
Click to expand...
Click to collapse
I followed all your steps. It seems all done but the root is not completed at the end. I guess I do something wrong in Part 2...

Related

Revert back to locked state after unofficial unlock (Redmi note 3 pro/SD)

Hi All, I have unlocked the bootloader the unnofical way and i am on global 7.1.7.0(LHOMICL) with twrp and root.
I now have recieved the official sms to unlock from xiaomi.
Already i had to open the phone 3 times to get into edl mode. I really dont wont to open the phone agian.
When i try to unlock the tool answers no need to unlock. I think this is because i flashed the adapted emmc_appsboot.mbn and boot.img thru fastboot.
Do i have to change te rom to another version before i try thru edl or fastboot? What is the best procedure to official unlock now because i read a lot of bricks if they try to revert back to original state.
Can some one give me a detailed guide? Thanx in advance.
You need to flash a fully stock edl ROM on top of your current setup.
This will wipe out your hacked bootloader and throw the original (still locked) one back onto your device.
Then just unlock as usual. I did the procedure myself today already as I got my unlock notification today as well.
Ok thnx for the info. I have changed this global rom 7.1.7.0 in great extend and dont wont to lose this setup.
So can I backup my current setup with twrp with the hacked bootloader.
Flash the complete global 7.1.7.0 in edl mode. Unlock with the unlock tool.
Root the rom and install twrp.
After this can i restore the backup with the hacked bootloader with twrp?
I dont know how the unlock tool of xiaomi works, so i could leave the official bootloader in place when i do the restore with twrp and only replace system and data partition or can i flash all the parts back with twrp to keep the unlock?
Wich procedure will keep the official unlock in place or will this unlock stick always?
davegrond said:
Hi All, I have unlocked the bootloader the unnofical way and i am on global 7.1.7.0(LHOMICL) with twrp and root.
I now have recieved the official sms to unlock from xiaomi.
Already i had to open the phone 3 times to get into edl mode. I really dont wont to open the phone agian.
When i try to unlock the tool answers no need to unlock. I think this is because i flashed the adapted emmc_appsboot.mbn and boot.img thru fastboot.
Do i have to change te rom to another version before i try thru edl or fastboot? What is the best procedure to official unlock now because i read a lot of bricks if they try to revert back to original state.
Can some one give me a detailed guide? Thanx in advance.
Click to expand...
Click to collapse
Plz could you help me and tell me where you got the hacked unlocked bootloader cause I bricked my redmi note 3 pro snap dragon and only only fastboot is available and when I try to flash it I get the message device locked boot locked can not flash and plz hobe me a detaild link and downloads and how to flash also I did not get the unlock code and how to get the locked one back z original plz help best regards
Plz indeed to know how to hack the bootloader cause I bricked my phone and I need to make it life
MrColdbird said:
You need to flash a fully stock edl ROM on top of your current setup.
This will wipe out your hacked bootloader and throw the original (still locked) one back onto your device.
Then just unlock as usual. I did the procedure myself today already as I got my unlock notification today as well.
Click to expand...
Click to collapse
please give a detailed tutorial how to do it. I am now in AOSP with unofficially unlocked bootloader. How to relock it again to unlock officially?
Relock Bootloader
I see many asking how to Relock Bootloader, especially those who had unlocked unofficially.
The steps to be followed are following:
(1) Turn on USB debugging for your phone;
Go to Settings -- About Phone --> Touch 7 times on "MIUI version" to Enable Developer Options.
Now go to Settings - Additional Settings - Developer Options --> USB debugging.
Enable USB Debugging and Connect to PC.
(2) Download Fastboot ROM (file extension .tgz or .tar) from
Code:
http://en.miui.com/a-234.html
(3) Boot into EDL
adb devices (to check it's connected)
adb reboot edl
(4) Use MI Flash Tool to Flash the Fastboot ROM
PS: It is assumed that person knows how to get drivers installed for phone if not already, use ADB command as well as know MI Flash Tool basics.
@BRoy_98 @ioosis @davegrond : hope this helps.
@MrColdbird Thanks for the tip
BRoy_98 said:
please give a detailed tutorial how to do it. I am now in AOSP with unofficially unlocked bootloader. How to relock it again to unlock officially?
Click to expand...
Click to collapse
Thx
Sent from my Redmi Note 3 using XDA-Developers mobile app
Unable to relock
Someone please let me know how to relock the bootloader.
I tried flashing the global rom using flash tool but still it says unlocked when i check it from fastboot mode.
anwar08 said:
Someone please let me know how to relock the bootloader.
I tried flashing the global rom using flash tool but still it says unlocked when i check it from fastboot mode.
Click to expand...
Click to collapse
On MiFlash, select folder of Fastboot ROM, then click on Advanced, and in fastboot script select flash_all_lock.bat. After it, close MiFlash then open it again and check in advanced if flash_all_lock.bat comes selected. If yes, close advanced box and flash ROM. Don't forget to close and open MiFlash after choose flash_all_lock.bat script, it's important step. And you can do it in Fastboot mode, don't need to go to EDL mode to flash the ROM.
andersonaragao said:
On MiFlash, select folder of Fastboot ROM, then click on Advanced, and in fastboot script select flash_all_lock.bat. After it, close MiFlash then open it again and check in advanced if flash_all_lock.bat comes selected. If yes, close advanced box and flash ROM. Don't forget to close and open MiFlash after choose flash_all_lock.bat script, it's important step. And you can do it in Fastboot mode, don't need to go to EDL mode to flash the ROM.
View attachment 3854529 View attachment 3854530 View attachment 3854531 View attachment 3854532
Click to expand...
Click to collapse
Am using the 32 bit beta version and there is no Advanced option
anwar08 said:
Am using the 32 bit beta version and there is no Advanced option
Click to expand...
Click to collapse
see if it's in Configuration.
warranty
does rooting redmi note 3 void warranty bcuz it has a locked bootloader and cannot root without unlocking it ????
and can we lock bootloader again for warranty claims ????
plzz help ???
ty.
Why can't we directly update the device..
Like after flashing miui ROM (7.1)then installing (8.1)....will the bootloader get locked....
?....somebody have any idea place help out
Q. Can the device be rooted without voiding warranty?
A. Yes, by unlocking the BL unofficially.
Q. Once rooted and on MiUI, can I update using Updater?
A. No! You'll lock your BL and end up in a bootloop. Instead, use the updater to download the zip file, reboot into recovery (TWRP or ZCX) flash the zip first and then the universal boot.img patched/lazy flasher and reboot to system.
I followed the method mentioned in the replies to relock the bootloader, i.e, flashed the fastboot rom in edl mode
But for some strange reason, when I entered the fastboot mode and checked whether the bootloader is locked or not by "fastboot oem device-info", it said "Device Unlocked: True"
The main problem came when I booted into the ROM; It broke all kinds of wireless connections. The wifi malfunctioned, the phone wouldn't read the SIM cards etc.
Is there a solution? Please help
Thanks

Wiley Fox Swift2+ Bootloader Unlock

It seems that unlocking the BootLoader on the WileyFox Swift2+ is even easier.
To unlock the boot loader (WARNING!!! This wipes your user data!!!)
Go To 'Settings - About Phone' Tap 'Build Number' seven times to enable 'Developer Options'.
Go To 'Developer Options' Enable 'Advanced Reboot', Enable 'OEM Unlocking'
...## not sure if these next few steps are even needed!!
Connect to computer running "Minimal ADB and Fastboot"
Open command window as administrator (To prevent Win10 messing around).
Enter command "fastboot oem unlock"
...##
Press the phone 'Power Off - Reboot - FastBoot'
PC detects device and states "Follow instructions on device screen"
Phone screen issues dire warnings about unlocking Bootloader.
Proceed and job done Bootloader is Unlocked (device at this point not rooted).
The stock Swift2+ Cyanogen Rom is no longer available - seek out the LineageOS rom instead
I unlocked my bootloader the other day and those are the same steps I did so I can confirm this works.
I then proceeded to root the phone with SuperSU 2.78. Worked a treat.
Swift 2 Plus and SuperSU
FelixPiers said:
I unlocked my bootloader the other day and those are the same steps I did so I can confirm this works.
I then proceeded to root the phone with SuperSU 2.78. Worked a treat.
Click to expand...
Click to collapse
Yes initially the only version of SuperSU I could find was v2.46, which kept failing.
Any help? My reboot menu doesn't have a fastboot option. Yes I have advanced reboot and oem unlocking enabled.
Edit: Sorted it. Turns out you have to reboot into the bootloader.
thejackle123 said:
Any help? My reboot menu doesn't have a fastboot option. Yes I have advanced reboot and oem unlocking enabled.
Edit: Sorted it. Turns out you have to reboot into the bootloader.
Click to expand...
Click to collapse
Is it too hard to google your question?
Works on most devices:
1) Turn off device
2) Hold VOLUME UP button
3) Connect device to PC via usb-cable
I installed SuperSU, before that I installed TWRP. Now I am unable to install the latest update "cm-marmite-a1478a0ee9-to-7aa1c797975e-signed"
When I download this update and perform the actual install, it gives an error. Restarting the phone via TWRP recovery gives the same error. I am getting "Error 7"
So no I want to revert back, to get rid off SuperSU and TWRP to install all updates and then later root the device with TWRP and SuperSU. How do I get the original state of the phone back?
Or do you have any advice how to get the latest update installed?
Thx.
SMessy said:
It seems that unlocking the BootLoader on the WileyFox Swift2+ is even easier.
To unlock the boot loader (WARNING!!! This wipes your user data!!!)
Go To 'Settings - About Phone' Tap 'Build Number' seven times to enable 'Developer Options'.
Go To 'Developer Options' Enable 'Advanced Reboot', Enable 'OEM Unlocking'
...## not sure if these next few steps are even needed!!
Connect to computer running "Minimal ADB and Fastboot"
Open command window as administrator (To prevent Win10 messing around).
Enter command "fastboot oem unlock"
...##
Press the phone 'Power Off - Reboot - FastBoot'
PC detects device and states "Follow instructions on device screen"
Phone screen issues dire warnings about unlocking Bootloader.
Proceed and job done Bootloader is Unlocked (device at this point not rooted).
The stock Swift2+ Cyanogen Rom is here
http://builds.cyngn.com/factory/marmite/cm-13.1.4-ZNH2KAS5RM-marmite-signed-fastboot-c64f8f5d87.zip
Click to expand...
Click to collapse
Hi, mate
unfortunately teh link to the stock rom is not working.
Can u provide me with another working link?
I deleted my rom and i can't find the stock to reanimate my phone.....
EDIT!!!!
All done, device is restored
THy @ll
Rom location
RayfG said:
Hi, mate
unfortunately teh link to the stock rom is not working.
Can u provide me with another working link?
I deleted my rom and i can't find the stock to reanimate my phone.....
EDIT!!!!
All done, device is restored
THy @ll
Click to expand...
Click to collapse
Just to confirm the stock room is still at this location as at 2nd march 2017
http://builds.cyngn.com/factory/marmite/cm-13.1.4-ZNH2KAS5RM-marmite-signed-fastboot-c64f8f5d87.zip
"Just to confirm the stock ROM is still at this location as at 2nd march 2017 :"
Link above does not work now, however below one does.
https://androidfilehost.com/?w=files&flid=126553
Hmmm. I'm going to try again. Before I got fastboot in red and Dvice Status: Locked. But I'll try again, see where I get.
Image of issue: https://ibb.co/jfLPye
edit: Updating to the latest Oreo update (8.1 I think)
---------- Post added at 08:34 AM ---------- Previous post was at 08:14 AM ----------
ohhhhhhh, I had to turn the phone off while connected, already running "adb & fastboot" (not just adb) then (phone connected in USB debugging mode) turn off the phone and hold volume up (no need to hole the power key as connected and I got the option to unlock with a warning that I may void the warranty. Then my phone encrypted/re-encrypted itself (I think it was already encrypted).
Now to flash TWRP (3.2 I think) and flash a custom ROM (Lineage 15.1 / 8.1 Oreo) Not sure if I should root or not. And if I do, should I root before installing 8.1?
got damit i never understand how to flash twrp i followed what google said.
fastboot flash recovery XXX.img it does its thing i reboot still no recovery im on stock cm12 ? i think or cm13 android 6.0)
Hi, trying to unlock my S2+ bootloader with Ubuntu MATE. Have completed all the steps listed, entered fastboot oem unlock into the terminal which now just sits there displaying < waiting for any device >
Any idea where I go from here?
bl91 said:
Hi, trying to unlock my S2+ bootloader with Ubuntu MATE. Have completed all the steps listed, entered fastboot oem unlock into the terminal which now just sits there displaying < waiting for any device >
Any idea where I go from here?
Click to expand...
Click to collapse
your device isn't picked up by fastboot ...first of all install the very latest version of adb ...using the usual Ubuntu story
sudo apt-get install adb
sudo apt-get upgrade
sudo apt-get update
sudo reboot
then switch on your device
go to /settings/about/buildnumber
click until developer settings are enabled
go to developer settings
toggle oem unlock to on
toggle adb to on
WITHOUT SWITCHING OFF
connect device to pc/laptop with original orange wileyfox cable
now your Ubuntu machine
must install drivers and Mount the phone so it should appear as a mounted volume on desktop
now open a terminal
now run the following :
sudo adb
sudo adb devices
now look on your phone and pull down the notification shadse ..make sure you have adb connected and file transfer mode ..if not change from charge to file transfer ...
there should be a pop up window on phone screen asking for permission for adb ..select allways allow and give pernission / authorization ..
now in terminal run adb devices and it should return some value as connected device
run:
adb reboot bootloader
phone will reboot to bootloader
run:
fastboot oem unlock
*use volume up to select yes
**beware will erase DATA ...
***if it doesn't work and adb and fastboot doesn't detect your device it is a driver problem but i haven't used Ubuntu in ages so can't remember steps to update your drivers other than updating the whole adb package
****some ubuntu instructions might be a little off as I've explained previously it's been a while
*****your waiting for device means
-adb service didn't start
+try "sudo adb"
-adb drivers out of date
+try sudo apt-get update
-adb on device not toggled to on
+toggle adb in dev settings
*adb authorization not given **should still see unauthorized device
-bad usb cable
+try another usb cable
-bad usb port
+try a different usb port
_____for clarity double check Ubuntu adb instructions and commands but this should put you on the right track____
---------- Post added at 08:30 AM ---------- Previous post was at 08:19 AM ----------
reggiexp said:
got damit i never understand how to flash twrp i followed what google said.
fastboot flash recovery XXX.img it does its thing i reboot still no recovery im on stock cm12 ? i think or cm13 android 6.0)
Click to expand...
Click to collapse
don't reboot immediately ..stock recovery will be flashed back over twrp
*i assume you know how to get to fastboot
adb reboot bootloader
fastboot oem unlock
*volume up for yes
fastboot flash recovery recovery.img
*make sure you have a copy of twrp called recovery.img in adb folder
when it says sending...
then is says writing ...
then it says done
DON'T REBOOT
UNPLUG USB
***MANUALLY BOOT TO BOOTLOADER USING VOLUME UP AND POWER
**** IN BOOTLOADER SELECT "RECOVERY"
you should then just wait on wileyfox first time it takes a minute or two don't know why then
it should boot to twrp
***you can take stock boot.img and patch it with magisk
-use: fastboot flash boot boot.img
-then you will have magisk and rooted
-using twrp apk or something like root rasher or flasher ..give apk root permission
-download twrp ..flash with apk from inside system ..after flashing select yes to reboot directly to recovery
Thanks very much, I've unlocked my bootloader now! Onto the TWRP, Magisk and LineageOS business now
bl91 said:
Thanks very much, I've unlocked my bootloader now! Onto the TWRP, Magisk and LineageOS business now
Click to expand...
Click to collapse
okay no problem
*i know everybody likes lineage and its usually more stable and the base for many custom roms
however just my 2cents worth ...i tried all the roms for our device ..but the by far the best for me was following the tutorial on how to make our device treble compatible ..
Then ...after 3-4 months of trying different treble GSI's i have stopped on Viper Official Pie 64bit A-only treble system.img ... at least give it a try after trying out lineageOs ..
you might thank me .
I can't get my device to show up usb debugging is on, Advanced Reboot', 'OEM Unlocking' etc. I've been trying for hours and hours. It shows up to transfer files if I want that mode so my PC is recognising it, but it doesn't seem to have drivers for adb. I've tried installing google usb drivers and also this: https://afterthoughtsoftware.com/posts/using-adb-with-wileyfox-swift
sorry if I haven't explained clearly, I'm just so sleepy from going around in circles. :|
I've rooted phones before and never had this issue. please can anybody help?
edit: have fixed I think! did two things at once so not sure which. I revoked usb devices so that my computer would have to ask permission again to connect (or something like this) and also clicked a thing on my PC to allow it to update what I think said driver icons automatically, which I wouldn't have thought would help, but it seemed to find the adb driver this time. I'd probably make more sense if it weren't 1am. :|
When i got my Swift 2 X, it came updated with 8.1 Oreo out of the box and the issue I had was unlocking the bootloader.
Sure fastboot oem unlock unlocked so I could flash recovery and roms but whenever I tried flashing a bootloader via fastboot, it gave me "FAILED (remote: Critical partition flashing is not allowed)". So that part was still locked.
This I fixed way back after searching around on my own about it but since the solution to this aint mentioned around here and I can't be the only one who have encountered this I think, I am just gonna add it in here.
There are now other commands to unlock your device, fastboot flashing unlock that does the exact same thing that fastboot oem unlock does and fastboot flashing unlock_critical is the command that unlocks the bootloader.
Both commands prompts you with the usual to confirm unlock and wipes your data.
It doesn't matter if you already unlocked the device with the oem command or flashing command, fastboot flashing unlock_critical should be able to unlock the bootloader either way.
My swift was also at 8.1 I had no problem unlocking the bootloader.
DH
RavZ75 said:
When i got my Swift 2 X, it came updated with 8.1 Oreo out of the box and the issue I had was unlocking the bootloader.
Sure fastboot oem unlock unlocked so I could flash recovery and roms but whenever I tried flashing a bootloader via fastboot, it gave me "FAILED (remote: Critical partition flashing is not allowed)". So that part was still locked.
This I fixed way back after searching around on my own about it but since the solution to this aint mentioned around here and I can't be the only one who have encountered this I think, I am just gonna add it in here.
There are now other commands to unlock your device, fastboot flashing unlock that does the exact same thing that fastboot oem unlock does and fastboot flashing unlock_critical is the command that unlocks the bootloader.
Both commands prompts you with the usual to confirm unlock and wipes your data.
It doesn't matter if you already unlocked the device with the oem command or flashing command, fastboot flashing unlock_critical should be able to unlock the bootloader either way.
Click to expand...
Click to collapse
bubba_66 said:
My swift was also at 8.1 I had no problem unlocking the bootloader.
DH
Click to expand...
Click to collapse
Doesn't seem that many who have this lock on their bootloaders, the only ones I could find here who had locked bootloaders the same way as I had are in the LineageOS 14.1 thread.
So at least I am not alone with that but sure makes me wonder how it is so for some while others not.
After unlock bootloader Everytime reboot always like this https://ibb.co/NSZR818

Unlocking bootloader

With the huawei support down, could anyone please help me to unlock huawei nova 2i RNE-L22 bootloader and to root it?
DC. UNLOCKER?
https://www.dc-unlocker.com/how-to-read-huawei-bootloader-unlock-code
bootloader unlock codes forbidden
Chisetdel31260 said:
DC. UNLOCKER?
It says
> If your phone runs Android 8 or later with latest security patch - then this service won't work!
I have the latest security patch(March 1, 2019), I've been searching for the past 3 days for a working method to root my mate 10 lite, found nothing.
Huawei stopped providing oem unlock codes, All the services that provided unlock codes for money are now obsolete too.
I'm trying to find a way to root this phone on my own, but I'm not sure where to go from here.
I've read this book today "XDA Developers' Android Hacker's Toolkit", but it teaches how to use rooting methods that are already out there and not how to create your own way to root a device.
Can you provide guidance on where to go from here to learn how to find vulnerabilities in android?
Click to expand...
Click to collapse
"If your phone runs Android 8 or later with latest security patch - then this service won't work! " it's true , you must downgrade to Nougat via HiSuite .
it works
bozka1 said:
"If your phone runs Android 8 or later with latest security patch - then this service won't work! " it's true , you must downgrade to Nougat via HiSuite ane than using Service ROM flash FW with security patch max. april 2018. After you can get bootloader unlock code here
(4€/4$).
Service ROMs you can find here :
Type RNE- or Rhone or Mate 10 lite. Gl!
Click to expand...
Click to collapse
Thanks, it worked!
I got my bootloader unlocker, now I'm installing a custom rom, but there's no much custom roms for mate 10 lite.
m10_lite said:
Thanks, it worked!
I got my bootloader unlocker, now I'm installing a custom rom, but there's no much custom roms for mate 10 lite.
Click to expand...
Click to collapse
Best Custom ROM is Stock ROM & root .
bozka1 said:
Best Custom ROM is Stock ROM & root .
Click to expand...
Click to collapse
Do you have the guide for rooting RNE-L21, stock ROM, Android and EMUI version 8.0?
davideakc said:
Do you have the guide for rooting RNE-L21, stock ROM, Android and EMUI version 8.0?
Click to expand...
Click to collapse
He did already
bozka1 said:
"If your phone runs Android 8 or later with latest security patch - then this service won't work! " it's true , you must downgrade to Nougat via HiSuite ane than using Service ROM flash FW with security patch max. april 2018. After you can get bootloader unlock code here
https://www.dc-unlocker.com/how-to-read-huawei-bootloader-unlock-code
(4€/4$).
Service ROMs you can find here :
https://androidhost.ru/search.html
Type RNE- or Rhone or Mate 10 lite. Gl!
Click to expand...
Click to collapse
ante0 said:
He did already
Click to expand...
Click to collapse
Sorry, I've not explained clearly what i want to do...
I'm already with bootloader unlocked, I need a guide for root the phone
davideakc said:
Sorry, I've not explained clearly what i want to do...
I'm already with bootloader unlocked, I need a guide for root the phone
Click to expand...
Click to collapse
Sorry, I misread. xD
Well, you can either flash TWRP for Oreo. Not sure which is "best" though, take one with decryption support if available for RNE on Oreo. Then you flash Magisk zip in twrp.
Or you can take your stock ramdisk and patch it in Magisk Manager, then flash the patched ramdisk from fastboot.
I would provably go with TWRP and Magisk zip though, as you would need a stock ramdisk from an update.app of your build. So saves some downloading
Basically flash TWRP using fastboot: fastboot flash recovery_ramdisk twrp.img
Reboot to recovery which will end up in TWRP. Flash latest Magisk using the Install button in twrp.
ante0 said:
Sorry, I misread. xD
Well, you can either flash TWRP for Oreo. Not sure which is "best" though, take one with decryption support if available for RNE on Oreo. Then you flash Magisk zip in twrp.
Or you can take your stock ramdisk and patch it in Magisk Manager, then flash the patched ramdisk from fastboot.
I would provably go with TWRP and Magisk zip though, as you would need a stock ramdisk from an update.app of your build. So saves some downloading
Basically flash TWRP using fastboot: fastboot flash recovery_ramdisk twrp.img
Reboot to recovery which will end up in TWRP. Flash latest Magisk using the Install button in twrp.
Click to expand...
Click to collapse
Don't worry, thanks for the fast reply!
davideakc said:
Don't worry, thanks for the fast reply!
Click to expand...
Click to collapse
I can't find any TWRP with decryption. This one might work, it's from the MorfuZ thread: https://mega.nz/#!uD4FlCqL!ERBzP4ZWa2sR8f_wnn15F_cOFCdYVKgfYETjiehQkkQ
So it may or may not have working decryption. But if you have an external SD it doesn't really matter as you'd only transfer magisk to that.
Magisk from here: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Download latest stable.
Flash twrp using fastboot.
Reboot to recovery.
Transfer magisk zip to external SD.
Flash Magisk zip using the Install button
You will probably have to browse to /external_sd manually as it will default to /sdcard in the install browser.
If it fails to install using TWRP:
Open terminal in TWRP from the Advanced button then enter this command:
dd if=/dev/block/bootdevice/by-name/ramdisk of=/external_sd/ramdisk.img
This will dump your stock ramdisk to external sd, which you then can patch in Magisk Manager and flash the output file to 'ramdisk' using fastboot. You will have to install Magisk Manager apk first though, it can be found in the Magisk thread.
davideakc said:
Do you have the guide for rooting RNE-L21, stock ROM, Android and EMUI version 8.0?
Click to expand...
Click to collapse
Only EMUI 8.x !!!
Your device must have an*unlocked bootloader.
Huawei HiSuite installed on your computer because it will install all the USB drivers
Download and install*Minimal ADB and fastboot Tool*on your computer. The folder location should be C:\Program Files(x86)\Minimal ADB and fastboot.
https://www.the***********.com/minimal-adb-and-fastboot-tool-for-windows/
Download*TWRP-oreo-smart.img*file
https://mega.nz/#!Fgd0xa4R!1o5ejzDnkLJLG2tAZG-STtlJ4nnNCHfwwZdOlmOkrVw
Copy the downloaded* TWRP file to the*Minimal ADB and fastboot folder.
Enable OEM unlocking on your phone (developer options) and USB debugging mode.
Now launch MAF32.exe (or cmd-here) file from the Minimal ADB and fastboot folder, a command window will open up.
Turn off your phone and connect to your PC. Reboot to fastboot mode using button combination Power and Volume down.
In the command window, enter the following commands one by one
- fastboot devices - this command will verify connection in fastbot mode (you will see your serial number)
-fastboot flash recovery_ramdisk TWRP-oreo-smart.img
-fastboot reboot - the device will reboot
Now you can boot into TWRP mode using button combination Power and Volume Up or command*
adb reboot recovery
Download and copy to SD card latest Magisk.zip.
Boot your phone into TWRP,* in TWRP main menu tap 'Install', then navigate to the*Magisk.zip , tap it, then ‘Swipe to confirm Flash’.*
When the process is complete, tap Reboot System.
Enjoy !*
bozka1 said:
Only EMUI 8.x !!!
Your device must have an*unlocked bootloader.
Huawei HiSuite installed on your computer because it will install all the USB drivers
Download and install*Minimal ADB and fastboot Tool*on your computer. The folder location should be C:\Program Files(x86)\Minimal ADB and fastboot.
https://www.the***********.com/minimal-adb-and-fastboot-tool-for-windows/
Download*TWRP-oreo-smart.img*file
https://mega.nz/#!ot8TGIIa!1o5ejzDnkLJLG2tAZG-STtlJ4nnNCHfwwZdOlmOkrVw
Copy the downloaded* TWRP file to the*Minimal ADB and fastboot folder.
Enable OEM unlocking on your phone (developer options) and USB debugging mode.
Now launch MAF32.exe (or cmd-here) file from the Minimal ADB and fastboot folder, a command window will open up.
Turn off your phone and connect to your PC. Reboot to fastboot mode using button combination Power and Volume down.
In the command window, enter the following commands one by one
- fastboot devices - this command will verify connection in fastbot mode (you will see your serial number)
-fastboot flash recovery_ramdisk TWRP-oreo-smart.img
-fastboot reboot - the device will reboot
Now you can boot into TWRP mode using button combination Power and Volume Up or command*
adb reboot recovery
Download and copy to SD card latest Magisk.zip.
Boot your phone into TWRP,* in TWRP main menu tap 'Install', then navigate to the*Magisk.zip , tap it, then ‘Swipe to confirm Flash’.*
When the process is complete, tap Reboot System.
Enjoy !*
Click to expand...
Click to collapse
If I do this, I lost all apps and data or not?
davideakc said:
If I do this, I lost all apps and data or not?
Click to expand...
Click to collapse
No you won't, but you should always backup your data.
AztekSoul said:
No you won't, but you should always backup your data.
Click to expand...
Click to collapse
And after flashing that TWRP can I still install Huawei updates like security patches etc... even if I don't have stock recovery?
davideakc said:
And after flashing that TWRP can I still install Huawei updates like security patches etc... even if I don't have stock recovery?
Click to expand...
Click to collapse
Yes you can, although you have to download updates through firmware finder and update with HuRUpdater in twrp.
davideakc said:
And after flashing that TWRP can I still install Huawei updates like security patches etc... even if I don't have stock recovery?
Click to expand...
Click to collapse
Then there is another solution - install TWRP over eRecovery (my own experience) :
- copy to SD card TWRP-oreo-smart.img
- in main TWRP menu tap Install image, then navigate
to the TWRP-oreo-smart, select
eRecovery_ramdisk and confirm Flash . System
reboot.
- Download and copy to the Minimal ADB and fastboot folder RECOVERY_RAMDISK330.img
https://mega.nz/#!I511VK4b!9cGodiCORHOvXndOCHyqcezpHmUk2zeTslqpbZe8pk4
Connect your phone to PC in fastboot mode and install recovery_ramdisk using command
- fastboot flash recovery_ramdisk RECOVERY_RAMDISK330.img
- fastboot reboot
How to boot into TWRP: reboot your phone and press Volume Up key up to 3 seconds to enter TWRP.
bozka1 said:
Then there is another solution - install TWRP over eRecovery (my own experience) :
- copy to SD card TWRP-oreo-smart.img
- in main TWRP menu tap Install image, then navigate
to the TWRP-oreo-smart, select
eRecovery_ramdisk and confirm Flash . System
reboot.
- Download and copy to the Minimal ADB and fastboot folder RECOVERY_RAMDISK330.img
https://mega.nz/#!I511VK4b!9cGodiCORHOvXndOCHyqcezpHmUk2zeTslqpbZe8pk4
Connect your phone to PC in fastboot mode and install recovery_ramdisk using command
- fastboot flash recovery_ramdisk RECOVERY_RAMDISK330.img
- fastboot reboot
How to boot into TWRP: reboot your phone and press Volume Up key up to 3 seconds to enter TWRP.
Click to expand...
Click to collapse
After that, how can I restore factory eRecovery?
davideakc said:
After that, how can I restore factory eRecovery?
Click to expand...
Click to collapse
Okay, one can install Magisk without TWRP. There are plenty of guides on how to do these things in the Mate 10 forums. Of course, TWRP makes things easier ....

Bootloader Unlock Problem

In Depth Test crashes when i tap "start applying"
I am using latest update F.11
Somebody help me please. :crying:
Samanto70 said:
In Depth Test crashes when i tap "start applying"
I am using latest update F.11
Somebody help me please. :crying:
Click to expand...
Click to collapse
Friend no need depth test tool for realme ui
Go system> about phone> tap file build version 7 times
Check developers option have in additional section
Open developers option ( select oem unlocking & usb debugging on )
Now download minimal adb & fastboot files
Open cmd in adb & fastboot files
Put below commands
adb devices ( Phone show pop-up to authorization, Click always and select grant )
adb reboot bootloader ( After type command phone rebooting in bootloader mode )
fastboot flashing unlock ( Now select for bootloader unlocking, Press vol dw and select power key )
Tested by me
Devil440 said:
Friend no need in depth test tool for realme ui
Go system> about phone> tap file build version 7 times
Check developers option have in additional section
Open developers option ( select oem unlocking & usb debugging on )
Now download minimal adb & fastboot files
Open cmd in adb & fastboot files
Put below commands
adb devices ( Phone show pop-up to authorization, Click always and select grant )
adb reboot bootloader ( After type command phone rebooting in bootloader mode )
fastboot flashing unlock ( Now select for bootloader unlocking, Press vol up and select power key )
Tested by me
Click to expand...
Click to collapse
Does this Factory Reset Phone? Do we lose data?
Kr3i0s said:
Does this Factory Reset Phone? Do we lose data?
Click to expand...
Click to collapse
Yes if you unlock bootloader
Your data is erased
So take backup your data after do unlock bootloader
hey
Devil440 said:
Yes if you unlock bootloader
Your data is erased
So take backup your data after do unlock bootloader
Click to expand...
Click to collapse
hey dear..
came to this post while searching for rooting for Realme 2 pro..
well, i hav a query... i need to restore some notes/memos from my phone, the apps i m trying to use for the same requires root access..
but now if i follow your way, it will erase all the data, which lowers the chance of finding & restoring deleted notes & also adds up a new hassle to backup & restore all data in phone ..
can you please suggest me a solution to my issue without erasing data.. ??
awaiting for your response.. thanks in advance..
Devil440 said:
Yes if you unlock bootloader
Your data is erased
So take backup your data after do unlock bootloader
Click to expand...
Click to collapse
sorry for rewriting it...
bro is it work on F.12?
It works on the latest stock ROM
@Devil440 Do you know the proper way to install TWRP after bootloader unlock. Please tell
abhish3k9 said:
@Devil440 Do you know the proper way to install TWRP after bootloader unlock. Please tell
Click to expand...
Click to collapse
Download latest twrp recovery for thats model ( If your model is rmx1801, can download recovery from attachment )
Phone boot into bootloader mode ( Press vol dw + pw )
Open cmd, and type below command
Fastboot flash recovery twrp-3.5.2-20210504-RMX1801.img
After twrp writting, boot in recovery mode and wipe data
Thanks @Devil440. I'm using the Pixel Experience ROM on Android 10.
The only thing remaining now is to install Google Camera for that I need Camera2 API enabled which is possible through Magisk.
Could you tell me how to install Magisk in the ROM?

how to root 11.0.7.7.IN11AA

Hi,
I just bought 8 pro and couldnt find a thread on how to root 11.0.7.7 and unlock the bootloader.
Could someone please guide me.
thanks
issuewith4ghelp said:
Hi,
I just bought 8 pro and couldnt find a thread on how to root 11.0.7.7 and unlock the bootloader.
Could someone please guide me.
thanks
Click to expand...
Click to collapse
To unlock bootloader here are the steps:-
1. Enable Developer options by going to settings-About Phone and then keep tapping build number until a dialogue comes saying developer options are enabled/unlocked/on.
2. Go to Developer options by :-
Settings-system-Developer options.
3. Enable OEM Unlocking.
4. Enable USB debugging.
5. Now be on ur PC.
6. Install latest adb and fastboot drivers. (U can install these):-
SDK Platform Tools release notes | Android Studio | Android Developers
Android SDK Platform-Tools is a component for the Android SDK.
developer.android.com
7. Make a adb folder in local disk of ur PC and paste the fastboot drivers there.
8. Reboot ur OP8T to bootloader after shutting down ur phone by holding power button+ both the volume buttons.
9. Open command prompt in ur PC and connect ur OP8T to ur PC via a USB cable and enter fastboot.
10. Enter:-
fastboot devices
11.After that Enter:-
fastboot flashing unlock
12. Enjoy! Ur bootloader is unlocked.
Steps to root without patching boot image on OOS/Custom ROMs:-
1. Unlock your bootloader.
2. Download LOS recovery from from lineage os homepage
3. Transfer LOS recovery file to your PC and reboot to bootloader.
4. Connect your phone to your PC and open cmd and do this command:-
fastboot flash recovery <filename>.img
5. Reboot to recovery.
6. Click on Apply update.
7. Click on Apply via ADB.
8. Now on ur PC download magisk apk and rename it to magisk.zip, open cmd and do this command:-
adb start-server
9. Open cmd and do this command:-
adb sideload magisk.zip
A prompt saying "Signature Verification Failed, Do you want to install" will show on your phone, click Yes and wait for the installation to complete (It'll show installation complete status 0 on your phone)
10. Reboot to System.
11. Download magisk apk on phone and install it and click ok on the magisk prompt (Your phone will reboot).
12. Voila! Your device is successfully rooted
Thanks worked! any ways to enable to "xray" camera back?
issuewith4ghelp said:
Thanks worked! any ways to enable to "xray" camera back?
Click to expand...
Click to collapse
[GUIDE][ROOT][MAGISK] Photochrom Filter Enabler
Disclaimer: you accept responsibility by flashing this magisk module to your device at your own risk. If you experience any issues with Magisk, please refer to https://github.com/topjohnwu/Magisk/issues This magisk module was created by...
forum.xda-developers.com
Maybe this
issuewith4ghelp said:
This is a easy fast way to update OOS in the future..
Click to expand...
Click to collapse
I do it this way. Due to the global not showing up... Only the incremental seems to be accessible anymore...
issuewith4ghelp said:
How to update to newest global AA build with root, There is no computer needed. Just restore stock boot img backup from exkm, then go into magisk > uninstall > restore images. Then go to OTA and it will let you install no issues. Then, before rebooting, but after OTA install, go back into magisk, click install, install to inactive slot (after OTA) option. Then reboot. You’ve successfully ota updated and kept root in the process, now remember to take a new boot img backup
Click to expand...
Click to collapse
Is it true that if I have root, mobilerm payments via NFC will not work?

Categories

Resources