A concept of flashing FW without bootloader unlock - Huawei P20 Guides, News, & Discussion

So i get this idea i don't even know where. So first step is to get root access. Like kingoroot that can done this on device without bootloader unlock. Than i'd use TWRP app to flash recovery and lastly flash a custom os. I really dont know if it will work but i will definitely try this sometimes

Or just flash factory firmware without needing root or the bootloader unlocked...

Related

Rooting with unlocked bootloader and no USB

My USB connector is broken, so I need to send the phone in for service. There have been several threads on this issue, and I know that it's possible to relock the bootloader without having fastboot access as long as you have root. Problem is, I lost root on the device and am currently on the most recent 4.1.1 stock OTA. I have access to the stock recovery. Since the bootloader is unlocked, I should be able to flash unsigned code -- how can I restore root without having access to USB, so that I can then relock the bootloader? The stock recovery doesn't recognize any of the zips or imgs that I throw on the root of the sdcard. Thanks.
vadimg said:
My USB connector is broken, so I need to send the phone in for service. There have been several threads on this issue, and I know that it's possible to relock the bootloader without having fastboot access as long as you have root. Problem is, I lost root on the device and am currently on the most recent 4.1.1 stock OTA. I have access to the stock recovery. Since the bootloader is unlocked, I should be able to flash unsigned code -- how can I restore root without having access to USB, so that I can then relock the bootloader? The stock recovery doesn't recognize any of the zips or imgs that I throw on the root of the sdcard. Thanks.
Click to expand...
Click to collapse
AKAIK stock recovery will only flash a signed update.zip on the cache partition.
vadimg said:
My USB connector is broken, so I need to send the phone in for service. There have been several threads on this issue, and I know that it's possible to relock the bootloader without having fastboot access as long as you have root. Problem is, I lost root on the device and am currently on the most recent 4.1.1 stock OTA. I have access to the stock recovery. Since the bootloader is unlocked, I should be able to flash unsigned code -- how can I restore root without having access to USB, so that I can then relock the bootloader? The stock recovery doesn't recognize any of the zips or imgs that I throw on the root of the sdcard. Thanks.
Click to expand...
Click to collapse
Unfortunately if you don't have root AND you don't have a custom recovery AND you don't have a working USB port, you cannot get root nor can you get a custom recovery... Out of luck.
same here
I am exactly in the same situation with my nexus S.
no root, no USB but unlocked bootloader so I can't send it back to samsung.
anyone can help please?
dieu2mars said:
I am exactly in the same situation with my nexus S.
no root, no USB but unlocked bootloader so I can't send it back to samsung.
anyone can help please?
Click to expand...
Click to collapse
So I actually sent my phone into Samsung with the unlocked bootloader, and it looks like they repaired it. So they weren't dicks about something that's clearly a hardware issue. Once I get the phone back, I'll root it and relock the bootloader just in case anything like this happens again and I get less lucky.

[Q] Can I flash stock, unlock bootloader, Root + TWRP and lock the bootloader?

Yes, I do want to flash stock rom, unlock the bootloader in order to install TWRP and Root the system but I also want to lock the bootloader again, if I do this after installing TWRP and Root what will happen? Will I lose both or just the root? Or nothing?
Also, I can use that program available on Play Store to lock the bootloader without losing the settings, this way I wouldn't lose the Root, if I would lose it using the adb command, right?
Thanks in advance.
locking the bootloader does nothing, with or without that program
if you get a OTA and accept it, you will lose your recovery and root, which means you will have to unlock the bootloader and will wipe your device.

[Q] Install Stock Recovery

Hi Experts,
i had rooted my phone a while back and installed custom recovery , and was on stock ROM.
Due to issues on official emails, i had to unroot my phone and relock it.
All is fine, however i did miss 1 step, that is, i still have a diff recovery on it, and i want to install my stock recovery back so that i can install OTA.
I do have the stock recovery (i think).
So is theree a quick way to do that without unlocking the bootloader again or without losing any data?
Let me know PLEASE!
Regards
Manas
niftycalls said:
Hi Experts,
i had rooted my phone a while back and installed custom recovery , and was on stock ROM.
Due to issues on official emails, i had to unroot my phone and relock it.
All is fine, however i did miss 1 step, that is, i still have a diff recovery on it, and i want to install my stock recovery back so that i can install OTA.
I do have the stock recovery (i think).
So is theree a quick way to do that without unlocking the bootloader again or without losing any data?
Let me know PLEASE!
Regards
Manas
Click to expand...
Click to collapse
post result from command fastboot getvar version-main and we will find you the stock recovery
@Thant, the issue is not really finding the stock recovery, i assume i have it, question is -
"All is fine, however i did miss 1 step, that is, i still have a diff recovery on it, and i want to install my stock recovery back so that i can install OTA."
"So is theree a quick way to do that without unlocking the bootloader again or without losing any data?"
niftycalls said:
@Thant, the issue is not really finding the stock recovery, i assume i have it, question is -
"All is fine, however i did miss 1 step, that is, i still have a diff recovery on it, and i want to install my stock recovery back so that i can install OTA."
"So is theree a quick way to do that without unlocking the bootloader again or without losing any data?"
Click to expand...
Click to collapse
as i can remember even if your bootloader is unlocked as long as you have stock recovery you can update.. just make sure you have a backup of all your data.
Phew.. So my booloader is RE LOCKED now, and i just want to install the stock recovery... without losing data or unlocking the bootloader........possible???
niftycalls said:
Phew.. So my booloader is RE LOCKED now, and i just want to install the stock recovery... without losing data or unlocking the bootloader........possible???
Click to expand...
Click to collapse
No.
To flash recovery, your bootloader must be unlocked. Do you still have unlock.bin file?
[email protected]|-|oR said:
No.
To flash recovery, your bootloader must be unlocked. Do you still have unlock.bin file?
Click to expand...
Click to collapse
yess.. i have the unlock.bin, but then i lose all the data no?
niftycalls said:
yess.. i have the unlock.bin, but then i lose all the data no?
Click to expand...
Click to collapse
As far as I remember you will lose data. Make a backup (Titanium, or similar app) of important data, unlock the bootloader, flash stock recovery, reboot, restore data.
And keep the bootloader unlocked!
damn!! if i keep my bootloader unlocked, i keep getting an error from an anitvirus kinda tool tht i had to install so that i receive my office emails. thanks for your help, will do this when i have a lot of time..

How to RE-lock bootloader of oneplus3???

Any one knows how to re-lock the bootloader of one plus 3???
And
How to remove that screen on boot up after unlocking one plus three??? :/
If you read the screen properly ull see the instructions on the screen itself do everything the same way you unlock the bootloader just instead of oem bootloader unlock type oem bootloader lock ...but make sure you're on stock rom and recovery
zubinvig said:
If you read the screen properly ull see the instructions on the screen itself do everything the same way you unlock the bootloader just instead of oem bootloader unlock type oem bootloader lock ...but make sure you're on stock rom and recovery
Click to expand...
Click to collapse
But then My root access will be wiped??
I want root access and dont want than annoying screen
two questions different answer but I would bet if there is a way to remove nag screen a google search would find it. Keep searching threads
there is no reason to re-lock bootloader, its still under warranty through Oneplus even with unlocked bootloader. but if u really want to
1. fastboot flash stock recovery (fastboot flash recovery recovery.img) (make sure u download the file, its somewhere here on the forums
2. reboot and then reboot to fastboot (fastboot oem lock) (i have never re locked a bootloader so i am not sure if it will rewipe ur device again like unlocking it does)
3. boot to OS and get developer options again and uncheck OEM Unlock (do this last)
i would not recommend re locking since it wont void warranty and seemed like a lot people screwed up their devices relocking it, but they also unchecked the oem unlock before flashing stock recovery, also i am not sure if step 2 is needed, i would just make sure u flash stock recovery 1st before doing anything
HELP
I try to relock the bootloader but in this momento my oneplus 3 is blocked...I cant update with the stock rom...please some help!!! :crying:
zubinvig said:
If you read the screen properly ull see the instructions on the screen itself do everything the same way you unlock the bootloader just instead of oem bootloader unlock type oem bootloader lock ...but make sure you're on stock rom and recovery
Click to expand...
Click to collapse
What happens if i follow same steps with installed FREEDOM OS on my oneplus 3. You said make sure you are in stock OS.
Once i have unlocked the phn my device doesn't get recognised by the pc when i use command" fastboot devices".. Now, i'm unable to flash twrp, plz solve my issue.!!!
Arun Ammineni said:
What happens if i follow same steps with installed FREEDOM OS on my oneplus 3. You said make sure you are in stock OS.
Click to expand...
Click to collapse
ecarchi said:
I try to relock the bootloader but in this momento my oneplus 3 is blocked...I cant update with the stock rom...please some help!!! :crying:
Click to expand...
Click to collapse
What part of be on stock OS is so hard to understand?
If you're not absolutely stock when relocking, you will brick your device.
Then good luck trying to enable OEM Unlocking when not being able to boot.
As someone who messes with their phone, relocking your bootloader is one of the worst possible things you can do.
If not done correctly, it WILL brick your device.
If you want to go back to stock, then surely do, there is absolutely no need to relock your boot loader unless you're selling your device to someone or if you're looking to pass SafetyNet for Android Pay or something.
Also, you cannot have the cake as well as eat it. You need to have an unlocked boot loader for root, exposed, etc. There is no way around this.
Phones previously had to be reverse engineered and exploited to gain root access, now OEMs freely allow unlocking.
kgs1992 said:
What part of be on stock OS is so hard to understand?
If you're not absolutely stock when relocking, you will brick your device.
Then good luck trying to enable OEM Unlocking when not being able to boot.
As someone who messes with their phone, relocking your bootloader is one of the worst possible things you can do.
If not done correctly, it WILL brick your device.
If you want to go back to stock, then surely do, there is absolutely no need to relock your boot loader unless you're selling your device to someone or if you're looking to pass SafetyNet for Android Pay or something.
Also, you cannot have the cake as well as eat it. You need to have an unlocked boot loader for root, exposed, etc. There is no way around this.
Phones previously had to be reverse engineered and exploited to gain root access, now OEMs freely allow unlocking.
Click to expand...
Click to collapse
I hope you can read this. I'm not a noob and I am looking to relock my bootloader because I am going to sell it. The person wants it fully stock so I need to relock the bootloader in order to regain access to official Ota updates.
I need to be on complete stock (stock recovery and rom) right? Would you please kindly point me to where I need to go to download the stock Rom and recovery. There's some TWRP flashable OTA zips on Oneplus forums that restore stock Rom and recovery but I want to be sure that that is enough and that I don't end up bricking my device for something as stupid as this. Any help would greatly be appreciated!
Arthurvben said:
I hope you can read this. I'm not a noob and I am looking to relock my bootloader because I am going to sell it. The person wants it fully stock so I need to relock the bootloader in order to regain access to official Ota updates.
I need to be on complete stock (stock recovery and rom) right? Would you please kindly point me to where I need to go to download the stock Rom and recovery. There's some TWRP flashable OTA zips on Oneplus forums that restore stock Rom and recovery but I want to be sure that that is enough and that I don't end up bricking my device for something as stupid as this. Any help would greatly be appreciated!
Click to expand...
Click to collapse
Fash 3.2.4 FW from here.
Follow all instructions from here (except I would suggest sideloading the StockROM before relocking).
Arthurvben said:
I hope you can read this. I'm not a noob and I am looking to relock my bootloader because I am going to sell it. The person wants it fully stock so I need to relock the bootloader in order to regain access to official Ota updates.
I need to be on complete stock (stock recovery and rom) right? Would you please kindly point me to where I need to go to download the stock Rom and recovery. There's some TWRP flashable OTA zips on Oneplus forums that restore stock Rom and recovery but I want to be sure that that is enough and that I don't end up bricking my device for something as stupid as this. Any help would greatly be appreciated!
Click to expand...
Click to collapse
I followed the same guide posted on OnePlus Forum to re-lock my bootloader. Just follow them, it works.
Here is that link from OnePlus forum.
1. I restored my stock rom backup from TWRP
2. Flashed Stock recovery
3. fastboot oem lock
4. Sideload stock ROM
Done.
I unlocked because stock ROM I felt was much stabler and hassle free. Have rooted and played with custom ROMs enough in my Nexus 5 days. Just too much stress and can end up with non-working features. Might root again in future if I find something compelling in custom ROM.
batmobile_bang said:
I followed the same guide posted on OnePlus Forum to re-lock my bootloader. Just follow them, it works.
Here is that link from OnePlus forum.
1. I restored my stock rom backup from TWRP
2. Flashed Stock recovery
3. fastboot oem lock
4. Sideload stock ROM
Done.
I unlocked because stock ROM I felt was much stabler and hassle free. Have rooted and played with custom ROMs enough in my Nexus 5 days. Just too much stress and can end up with non-working features. Might root again in future if I find something compelling in custom ROM.
Click to expand...
Click to collapse
If you unlock bootloader and root device. Do you still get OTA updates if you stay on stock ROM?
borijess said:
If you unlock bootloader and root device. Do you still get OTA updates if you stay on stock ROM?
Click to expand...
Click to collapse
If you unlock device, you will still be able to apply OTA. If you rooted by modifying the /system partition, OTA will fail, but if thou rooted using systemless method, you can apply OTA.
Iam on stock OOS 4.0.3 and i was plagued by the same error
--adb sideload the complete rom (with locked bootloader)-- method worked for me.
Previously i had unlocked bootloader and was on freedom OOS 2.3 with TWRP and then i realized that stock updates are better.
So i installed stock recovery and and tried to flash Stock Firmware 4.0.3 through sideload command and it failed.
then i installed TWRP and then installed stock OOS 4.0.3 and it installed fine but with some error.
Then i installed stock recovery
So i rebooted it and after long time it was installed but then i started getting dm_verity error and also i was frustated with unlocked bootloader message.
So i locked my boot loader first from fastboot oem lock and then sideloaded the stock 4.0.3 again and it really worked.
So now i am on stock rom and stock recovery and no more dm_verity error or unlocked bootloader msg to wait for 5 secs...
Now iam really loving my Oneplus 3..

Best way to root,unlock BL and install custom recovery

I have Xperia z1 compact running stock non-rooted 14.6.A.1.236 rom. My bootloader is locked. I want to be able to install custom roms. What's the best way to root, unlock bl and install custom recovery? I've been searching forum for past few days but most of the download links redirect to d-h.st. and that breaks the chain of needed files.
Also i never used flashtool and i don't know should i use Sony flashtool or "original" one
bolcna said:
I have Xperia z1 compact running stock non-rooted 14.6.A.1.236 rom. My bootloader is locked. I want to be able to install custom roms. What's the best way to root, unlock bl and install custom recovery? I've been searching forum for past few days but most of the download links redirect to d-h.st. and that breaks the chain of needed files.
Also i never used flashtool and i don't know should i use Sony flashtool or "original" one
Click to expand...
Click to collapse
https://forum.xda-developers.com/showpost.php?p=72547776&postcount=6
levone1 said:
https://forum.xda-developers.com/showpost.php?p=72547776&postcount=6
Click to expand...
Click to collapse
Do i have to be rooted to backup TA partition
bolcna said:
Do i have to be rooted to backup TA partition
Click to expand...
Click to collapse
I don't think so. Just need adb...
I guess I don't have to open a new thread for this: I've been reading a lot about this recently and trying to get my thoughts straight about this:
I found PhilZ Dual Recovery (https://forum.xda-developers.com/showthread.php?t=2647480) which works with locked bootloader. Some people wrote there they installed the recovery on 5.0.2, so it seems I have to downgrade first (I'm on 5.1.1), even though it doesn't say that in the manual..? - if you can't answer that I'll ask that later then in the linked thread.
Next thing: I rooted with Kingroot, but want to switch to SuperSU - cant switch because theres a problem with the binary, so I have to flash it anyway through custom recovery.
Can I now root with Kingroot, install PhilZ Dualrecovery and when it boots into Recovery Mode, can I just flash the SuperSu.zip?
OR would I need to boot normally first after custom recovery install, then uninstall Kingroot, to unroot, and THEN flash SuperSU in Recovery?
Ive been using root for years but never really got into flashing before so I'm quite new to that and appreciate your help. Thanks a bunch.
Raiyr said:
I guess I don't have to open a new thread for this: I've been reading a lot about this recently and trying to get my thoughts straight about this:
I found PhilZ Dual Recovery (https://forum.xda-developers.com/showthread.php?t=2647480) which works with locked bootloader. Some people wrote there they installed the recovery on 5.0.2, so it seems I have to downgrade first (I'm on 5.1.1), even though it doesn't say that in the manual..? - if you can't answer that I'll ask that later then in the linked thread.
Next thing: I rooted with Kingroot, but want to switch to SuperSU - cant switch because theres a problem with the binary, so I have to flash it anyway through custom recovery.
Can I now root with Kingroot, install PhilZ Dualrecovery and when it boots into Recovery Mode, can I just flash the SuperSu.zip?
OR would I need to boot normally first after custom recovery install, then uninstall Kingroot, to unroot, and THEN flash SuperSU in Recovery?
Ive been using root for years but never really got into flashing before so I'm quite new to that and appreciate your help. Thanks a bunch.
Click to expand...
Click to collapse
You don't have to downgrade to flash NUT. It's been a while since I did it, but I'm pretty sure that flashing supersu won't totally remove Kingroot. Best thing to do once you're rooted, if you don't want to unlock bl, is probably to install recovery, then in recovery flash a prf, which will wipe your system and install new system with supersu instead of Kingroot.
Raiyr said:
I guess I don't have to open a new thread for this: I've been reading a lot about this recently and trying to get my thoughts straight about this:
I found PhilZ Dual Recovery (https://forum.xda-developers.com/showthread.php?t=2647480) which works with locked bootloader. Some people wrote there they installed the recovery on 5.0.2, so it seems I have to downgrade first (I'm on 5.1.1), even though it doesn't say that in the manual..? - if you can't answer that I'll ask that later then in the linked thread.
Next thing: I rooted with Kingroot, but want to switch to SuperSU - cant switch because theres a problem with the binary, so I have to flash it anyway through custom recovery.
Can I now root with Kingroot, install PhilZ Dualrecovery and when it boots into Recovery Mode, can I just flash the SuperSu.zip?
OR would I need to boot normally first after custom recovery install, then uninstall Kingroot, to unroot, and THEN flash SuperSU in Recovery?
Ive been using root for years but never really got into flashing before so I'm quite new to that and appreciate your help. Thanks a bunch.
Click to expand...
Click to collapse
I don't trust any universal rooting apps. Only way to legit root your phone is to downgrade to kitkat and then root using exploit, then flash prerooted lollipop (that is if you wan't to stay on stock rooted rom). If you don't plan on staying on stock room and only want quick root you have to use kingroot since that's only universal root that can root z1c. When it comes to recovery there you have two choices. To use xzdualrecovery or to unlock bootloader (you will loose drm keys which means you will lose stuff like x-reality) and flash normal recovery. I would go for dual recovery because if you ever wan't to get back to stock you can since stock recovery isn't getting overwritten with xzdr. But if you choose to unlock bootloader first backup TA (you have to be rooted) and then unlock.
Hope this helps
Raiyr said:
I guess I don't have to open a new thread for this: I've been reading a lot about this recently and trying to get my thoughts straight about this:
I found PhilZ Dual Recovery (https://forum.xda-developers.com/showthread.php?t=2647480) which works with locked bootloader. Some people wrote there they installed the recovery on 5.0.2, so it seems I have to downgrade first (I'm on 5.1.1), even though it doesn't say that in the manual..? - if you can't answer that I'll ask that later then in the linked thread.
Next thing: I rooted with Kingroot, but want to switch to SuperSU - cant switch because theres a problem with the binary, so I have to flash it anyway through custom recovery.
Can I now root with Kingroot, install PhilZ Dualrecovery and when it boots into Recovery Mode, can I just flash the SuperSu.zip?
OR would I need to boot normally first after custom recovery install, then uninstall Kingroot, to unroot, and THEN flash SuperSU in Recovery?
Ive been using root for years but never really got into flashing before so I'm quite new to that and appreciate your help. Thanks a bunch.
Click to expand...
Click to collapse
bolcna said:
I don't trust any universal rooting apps. Only way to legit root your phone is to downgrade to kitkat and then root using exploit, then flash prerooted lollipop (that is if you wan't to stay on stock rooted rom). If you don't plan on staying on stock room and only want quick root you have to use kingroot since that's only universal root that can root z1c. When it comes to recovery there you have two choices. To use xzdualrecovery or to unlock bootloader (you will loose drm keys which means you will lose stuff like x-reality) and flash normal recovery. I would go for dual recovery because if you ever wan't to get back to stock you can since stock recovery isn't getting overwritten with xzdr. But if you choose to unlock bootloader first backup TA (you have to be rooted) and then unlock.
Hope this helps
Click to expand...
Click to collapse
I would go with unlock bl method. You can restore TA after rooting so you done lose drm, and it's easy to root with unlocked bl - https://forum.xda-developers.com/showpost.php?p=72547776&postcount=6

Categories

Resources