Related
Thanks to:
Easyloy for Recovery
Ampher for idea
rgusev for bring to idea life
alximiktik for bring needed files
Flashing ROM with QFIL:
Getting ready:
Download and install on your PC:
vcredist_x86.zip
QPST_2.7.422.ZIP
Qualcomm_USBDriver_2.1.0.5.zip or Qualcomm_USB_Drivers.zip
Turn off your Vibe P1.
Hold Volume Up key and plug in USB cable conected to PC.
Open Device Manager on PC (press win+r and type "mmc devmgmt.msc" without quotes) then seek Qualcomm Lenovo HS-USB QDLoader 9008 in COM & LPT ports.
If you can see Qualcomm Lenovo HS-USB QDLoader 9008, you are ready to flash!
Flashing ROM:
Downoad QFIL ROM ( for exampe one of this: https://yadi.sk/d/hY3kNWJGrnpCU?ncrnd=5389 ) and unpack it.
Find QFIL in your Stary menu and launch it.
Select Qualcomm Lenovo HS-USB QDLoader 9008 (COM*) port by using "Select Port..." button
Click "Browse..." near "Programmer patch" field and select prog_emmc_firehose_89**.mbn file from the ROM's folder.
Click "Load XML…" and select "rawprogram0*.xml" file and then select "patch0.xml" file.
Press "Download" button and wait untill it ends (reboot or "ready" message).
If "ready" message appears and device does not go to reboot, then hold Volume UP + Power buttons for ~12 sec.
Flash unlocked bootloader & recovery:
Read "Flashing ROM" manual
Download P1a42_S272_160506_ROW_QPST (+uBL +Recovery + Root +region ) and unpack it.
If you have different ROM installed, then flash S272 (by selecting rawprogram0.xml) otherwise go to the next step.
Flash unlocked bootloader (by selecting rawprogram_unlock.xml) and reboot into ROM.
Open developers options and select "OEM unlock".
Also you can check Bootloader status by rebooting to bootloader and typing "fastboot oem device-info" (without quotes), if it still locked, then type "fastboot oem unlock-go" (without quotes).
After (and only then) bootloader will be unlocked you can flash custom recovery by one of following ways: by QFIL, selecting rawprogram_twrp.xml or bootloader (fastboot flash recovery recovery_twrp.img).
When recovery is flashed, you can get into it by holding Volume UP + Volume DOWN keys while booting or using "adb reboot recovery" console command (without quotes).
Advanced flash unlocked bootloader & recovery:
BootLoader unlock:
Download file: emmc_appsboot.zip
Unzip.
Add listed files from QFIL-ROM to the same folder:
prog_emmc_firehose_8936.mbn
gpt_main0.bin
gpt_backup0.bin
rawprogram0.xml
patch0.xml
Run rawprogram0-fix.bat
Flash using QFIL, by selecting rawprogram0_aboot.xml.
Sometimes you need to do extra staff:
Open developers options and turn on:
ОЕМ unlock
USB debugging
Download: unlock-bl.zip
Unzip.
Plug USB cable and run unlock-bl.bat
wait until "Ready!" or the window disapire
Ready!
Custom recovery (TWRP):
Method one, fastboot:
Download: TWRP-FB.ZIP
Unzip.
Run rec-inst.bat
Method two adb(Root needed):
Download: TWRP.ZIP
Unzip.
Run rec-inst.bat
Root (SuperSU):
If you suscesfully unlocked bootloader and flashed recovery then you can:
download latest SuperSU
Put it to you sdcard (do not unpack it!)
Reboot to recovery and install ZIP.
Region:
To find out which region is set dial ####5993# or ####59930# using stock dialer
To change region:
Put easyimage.zip to root of SDCard
Dial ####682# using stock dialer
To get back to stock (for updating, etc.):
Flash stock ROM with QFIL.
You can use s272 listed above, but you also need to download, unzip and change rawprogram0.xml file before flashing to get stock recovery!
Is this the chinese version or the ROW? As far I know VIBEUI is for China.
If it's ROW I'll try it.
Teddy. said:
Is this the chinese version or the ROW? As far I know VIBEUI is for China.
If it's ROW I'll try it.
Click to expand...
Click to collapse
It's ROW! ROW also based on Vibe UI, but china ROMs has newer versions.
Any way to not install TWRP as I don't need it?Also I'll flash it when I get home.
Sent from my Lenovo P1a42 using XDA-Developers mobile app
Teddy. said:
Any way to not install TWRP as I don't need it?Also I'll flash it when I get home.
Click to expand...
Click to collapse
You can't install root on 6.0 without TWRP, but if you don't need it, woy also don't need to unlock BL, so you cat just flash ctock ROM.
Do I need to wipe my data or not? (I'll still get a backup, but ya know, just to get a titanium backup done.
Teddy. said:
Do I need to wipe my data or not? (I'll still get a backup, but ya know, just to get a titanium backup done.
Click to expand...
Click to collapse
You don't need to do any backup. But if you come to 6.0 from 5.1, you better do!
I flashed ROM everything went good, next thing I flash twrp, works, installed supersu and now I'm left with a phone without OS. I cannot get into download mode using the volume up + usb method and also I can get into the recovery. What can I do?
EDIT: After about 26 hours of just non-stop searching I finally got it flashed again.It was a painful experience but if somebody wipes the /system partition, don't hesistate to pm to help you come back on track.
Thanks for the great tutorial !
What is the difference between flashing unlocked bootloader & recovery: the easy way and advanced ?
Or there is no and both mkethods lead to same end ?
pabgar said:
What is the difference between flashing unlocked bootloader & recovery: the easy way and advanced ?
Or there is no and both mkethods lead to same end ?
Click to expand...
Click to collapse
They are lead to the same end but using different methods: manual, auto, with root or without, etc.
Can i root it without unlocking bootloader???
deadman220 said:
Can i root it without unlocking bootloader???
Click to expand...
Click to collapse
You can root only 5.1. Unlocked bootloader is the only way for 6.0 ROW ROMs.
Is there a way to lock it back or it's permanent?
deadman220 said:
Is there a way to lock it back or it's permanent?
Click to expand...
Click to collapse
You are not unlocking bootloader, you just flashing already unlocked one. So you can just flash it back!
I must say that after Marshmallow update, Vibe P1 is the best smartphone I had ever
Smooth working, great battery life, no problems at all.
After flashing TWRP and applying super su I am struck at Lenovo logo tried clearing cache and dalvik cache too still same
Is fingerpint unlock working on MM after root ?
GPSSlovakia said:
Is fingerpint unlock working on MM after root ?
Click to expand...
Click to collapse
Yes! And I'm using it on rooted ROM and with unlocked BL. But there is one little caveat: you can't unlock device with your finger for first time after reboot (it is MM feature). But after first time it working fine!
Thx for this awesome work .. ur amazing bro
---------- Post added at 11:00 AM ---------- Previous post was at 10:32 AM ----------
I want to ask about how to install updates after recovery .. i can't install updates right now after recovery
MoemenMoemen said:
I want to ask about how to install updates after recovery .. i can't install updates right now after recovery
Click to expand...
Click to collapse
You need to go back to full stock, it's the only way to get OTA.
Please look at "To get back to stock (for updating, etc.):" at first post (just updated it)!
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
Was supposed to flash CM13 Rom. I did a full wipe including system via TWRP.
Before flashing I decided to reboot into recovery, but it didn't. Only gets stuck in the MI logo now. Can't boot into recovery anymore.
I can go into Fastboot mode. Tried flashing twrp via ADB but whenever i type 'adb devices' in command prompt it says device is offline.
Tried to enter EDL via ADB in fastboot mode, it gets stuck at 'waiting for device'.
When plugged in PC, it gets detected as USB ADB interface
Bootloader was unlocked prior, was on xioami.eu ROM before this. I have TWRP system backup of last ROM installed.
Hoping someone can point me in the right direction on what to do next. Very much appreciated, thank you.
Hi Supdow,
I was facing with the same issue and I also thought I bricked my phone... No worries. To solve it is very easy, just unlock your bootloader again with Mi UnlockTool. Than you have access to your recovery again.
Good luck!
Boesila said:
Hi Supdow,
I was facing with the same issue and I also thought I bricked my phone... No worries. To solve it is very easy, just unlock your bootloader again with Mi UnlockTool. Than you have access to your recovery again.
Good luck!
Click to expand...
Click to collapse
Do I have to apply to unlock the bootloader again like the first time?
Boesila said:
Hi Supdow,
I was facing with the same issue and I also thought I bricked my phone... No worries. To solve it is very easy, just unlock your bootloader again with Mi UnlockTool. Than you have access to your recovery again.
Good luck!
Click to expand...
Click to collapse
Was able to unlock bootloader again, but I still can't access recovery. I may have forgotten how to exactly do this since the last time I did it. What do i have to do after unlocking bootloader? I tried flashing TWRP via fastboot but it only gives me an error.
So you have a few options
1. Hold volume+ & - and power (if you have twrp)
2. Take fedosis twrp 3.1 and installer, put twrp 3.1 into extracted installer folder, then shift+right click on installer folder, open cmd, then type
fastboot flash recovery twrp_name.img
fastboot boot twrp_name.img (or do step 1)
3. Just flash dev/stable with miflash (recommendation: go into fastboot, then like step 2 go into cmd and type fastboot oem edl then flash mi rom)
Hope this helps
bekcicandrej said:
So you have a few options
1. Hold volume+ & - and power (if you have twrp)
2. Take fedosis twrp 3.1 and installer, put twrp 3.1 into extracted installer folder, then shift+right click on installer folder, open cmd, then type
fastboot flash recovery twrp_name.img
fastboot boot twrp_name.img (or do step 1)
3. Just flash dev/stable with miflash (recommendation: go into fastboot, then like step 2 go into cmd and type fastboot oem edl then flash mi rom)
Hope this helps
Click to expand...
Click to collapse
Thank you, finally on CM13 fedosis!
Hi all,
I've wanted to go back to Stock OS but when i type "fastboot oem lock" it says "FAILED <remote: Flashing Lock is not allowed."
Everything boots normally to OS 4.5.2. In DEV options the Unlock Bootloader is greyed out and says bootloader is already unlocked.
What can i do?
Cheers
These instructions did work for me with the OnePlus 3/3T. They should also work for the OnePlus5, just make sure that you download the OnePlus5 version of the software and recovery.
https://forums.oneplus.net/threads/...-3-3t-and-go-back-completely-to-stock.456232/
Use this link for the stock recovery: https://forum.xda-developers.com/showpost.php?p=72748921&postcount=5
reayard said:
These instructions did work for me with the OnePlus 3/3T. They should also work for the OnePlus5, just make sure that you download the OnePlus5 version of the software and recovery.
https://forums.oneplus.net/threads/...-3-3t-and-go-back-completely-to-stock.456232/
Use this link for the stock recovery: https://forum.xda-developers.com/showpost.php?p=72748921&postcount=5
Click to expand...
Click to collapse
Hi i tried but does the same when i get to fastboot oem lock (it says Flashing Lock is not allowed).
r1card0amr said:
Hi i tried but does the same when i get to fastboot oem lock (it says Flashing Lock is not allowed).
Click to expand...
Click to collapse
Thanks I asked the same question earlier glad u tried it..I want to make sure we can relock it before I get the phone. Did u enable oem unlocking in the developer options before doing a fastboot oem lock? Also, make sure you are on stock everything including recovery..
mohan_kr said:
Thanks I asked the same question earlier glad u tried it..I want to make sure we can relock it before I get the phone. Did u enable oem unlocking in the developer options before doing a fastboot oem lock? Also, make sure you are on stock everything including recovery..
Click to expand...
Click to collapse
Hello. I first thing I do always is to install drivers. I start by connecting the phone to the laptop in charge mode, then in transfer files mode, MTP or camera. In this way he will recognise all the drivers your laptop needs.
Also I enter in fastboot mode and recovery so the laptop can recognise the drivers and always reboot laptop and phone just to double check.
What I did was: go to Developer Options and enabled Unlock Bootloader and USB Debugging.
Then I accepted the laptop request on my phone and all drives were OK.
I run CMD and typed fastboot devices to see if it recognises my phone and it displayed a serial number. So I proceed next to type fastboot oem unlock and the process went OK and on my phone it asked Yes or No to unlock and I choose yes.
Then I flash a twrp image by typing on CMD: fastboot flash recovery recovery.img (my twrp I'm had other name so I rename it. You need to enable "Show file extensions" in Windows so you can see what the extension is).
I then type fastboot boot recovery.img and the phone entered in Recovery Mode in this case TWRP.
My phone was always connected to the laptop and he open the internal storage window so I drag the supersu inside.
Then on TWRP I wiped dalvik and cache and I went to Install and installed the SupeSU on my internal memory root.
The phone then rebooted and ready to go.
But then I went to developer options and the Unlock bootloader was greyed out. I unroot my phone and flashed a stock recovery for OP5 and the stock image 4.5.2 and when I type fastboot oem lock it always says it can't be flashed.
I need to stock it since I'm giving to a family member and they don't understand much about phones and If there's a problem the warranty doesn't cover.
Just installed supersu to try an app. I never install 3rd party roms.
r1card0amr said:
I need to stock it since I'm giving to a family member and they don't understand much about phones and If there's a problem the warranty doesn't cover.
Click to expand...
Click to collapse
the warranty is not voided with unlocked bootloader..
https://oneplus.net/hk/support/answer/will-rooting-or-unlocking-the-bootloader-void-my-warranty
I found now that if i take pictures or screenshots the Album Folder is empty. I think my phone is bricked. Hence i can't lock the bootloader.
r1card0amr said:
I found now that if i take pictures or screenshots the Album Folder is empty. I think my phone is bricked. Hence i can't lock the bootloader.
Click to expand...
Click to collapse
if your phones boots its not bricked... My guess is that you data is corrupted, i would wipe everything including userdata en reflashing the stock with recovery.
Hogyoku said:
if your phones boots its not bricked... My guess is that you data is corrupted, i would wipe everything including userdata en reflashing the stock with recovery.
Click to expand...
Click to collapse
Hi right before your comment i managed lol.
I re-flash the stock recovery and in recovery i reset and wipe everything. then i install the OS4.5.3 by ADB Sideload and it's working now.
Just wanted to get rid of the inital warning that my bootloader is unlocked. I want to lock again.
I rooted my device with Magisk, and now I want to restore it to factory state.
I flashed stock recovery and OOS several times, wiped everything but fastboot oem lock failed all times (FAILED (remote: Flashing Lock is not allowed)).
Can you help me?
What should I do to relock bootloader?
here is your solution
r1card0amr said:
Hi right before your comment i managed lol.
I re-flash the stock recovery and in recovery i reset and wipe everything. then i install the OS4.5.3 by ADB Sideload and it's working now.
Just wanted to get rid of the inital warning that my bootloader is unlocked. I want to lock again.
Click to expand...
Click to collapse
here in this video u can see in detail how to lock bootloader. hope this help you
https://www.youtube.com/watch?v=CQYCSdDUdAU
HOW TO RELOCK..
Install TWRP and Magisk if you don't have them yet.
Magisk should allow you to slide "OEM unlocking" to "enabled"
Reboot to fastboot
Flash stock recovery via fastboot.
Run locking via fastboot flashing lock
Allow it to reboot and upon start up it will say device corrupted (THIS IS NORMAL)
Boot to recovery via the warning start screen.
Once in recovery, sideload latest FW.
Profit.
I usually do it this way (successfully):
Wipe everything but OTG in TWRP
Format data
Reboot to TWRP
Flash the full stock OOS zip
Reboot to fastboot
Flash stock recovery
Lock bootloader with the fastboot lock command
Has anyone made any progress with this? I too am having the issue as described and have tried the solution by Ricyksydhu, along with solutions from various other places around the net.
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...