Related
So I've finally decided to unlock my bootloader so I've been reading a few threads about it but I want to be sure that I'll do it right.
I want to use this method:
http://forum.xda-developers.com/showthread.php?p=12873655
But since I'm on a branded phone I understood that I'll have to flash a generic Rom first to allow the unlocking to be done, am I correct?
I do understand that I'll lose the DRM's and stuff and that while on an unlocked bootloader I cannot use official SE programs (PCC & SEUS) because it will brick the phone correct?
After the unlocking is done I'll still have a fw installed right?
And finally, after unlocking bootloader I'll flash roms in flash mode and kernels and baseband on flashboot mode right?
Thanks for the help guys!
Sent from my LT18i using XDA
Installation Steps (Warranty can be restored whenever you wish)
-------------------------
Before starting your rom flashing journey it is always better to have Flashtool (latest -by androxyde) installed in your PC and your stock rom handy ; incase of any mishappenings.
Type *#*#7378423#*#* in your phone and see if your bootloader status is unlockable under service-->Configuration. Procede with below steps, only if your device is unlockable.
It is important that you follow the steps in order
1) First step for installing a custom rom over a mobile with stock rom is to backup the existing state of bootloader .Usually warranty will get void if any modification is done to bootloader. The below tool ensures that it takes the backup of existing state of bootloader when device is under warranty.
Goto
Backup TA for Sony Xperia (This tool helps you to have a )
http://forum.xda-developers.com/showthread.php?t=2292598.
Download the tool.This tool will backup your DRM Securtiy keys . Successful backup can only be taken after the existing stock rom is rooted (Use towelroot application if your device is not already rooted) .Root it first then follow the process given in above link .
Once this is over , u will have a backup of the existing state of bootloader/TA partition (If you later wish to move back to stock rom from custom rom use the same tool to restore the backup you have just created.This means you will get your Warranty back);
2) Goto this website , follow the steps and get your unlock code via e mail.
Use fastboot mode to unlock your bootloader (Make sure that you have already backuped your existing DRM keys-Step 1).Follow it fully to unlock your bootloader
http://unlockbootloader.sonymobile.com/unlock/step1
3)Download any custom rom zips with recovery, for your mobile from xda developers forum and have fun.Extract boot.img using winrar or winzip .
Flash boot.img via fastboot mode
fastboot flash boot boot.img
fastboot reboot
4)As the device reboots, when you see your LED glow press volume up or down. It will take you to CWM Recovery or TWRP recovery based on the rom that you have downloaded.
5)Just install the custom rom(*.zip ) from within the recovery.
What if that i already have the custom recovery?
So, just wipe data, dalvik, and cache, then flash the zip?
That's it?
AndreIrawan97 said:
What if that i already have the custom recovery?
So, just wipe data, dalvik, and cache, then flash the zip?
That's it?
Click to expand...
Click to collapse
yes.
AndreIrawan97 said:
What if that i already have the custom recovery?
So, just wipe data, dalvik, and cache, then flash the zip?
That's it?
Click to expand...
Click to collapse
Absolutely right. But before installing an custom rom in the first place i hope you have already backed up your DRM keys for warranty purpose(as mentioned in the guide) since if you unlock your bootloader without backing up your DRM keys, DRM keys might be lost forever .
gokukaushik said:
Absolutely right. But before installing an custom rom in the first place i hope you have already backed up your DRM keys for warranty purpose(as mentioned in the guide) since if you unlock your bootloader without backing up your DRM keys, DRM keys might be lost forever .
Click to expand...
Click to collapse
Can i backup my app on stock rom then restore it to a custom rom?
AndreIrawan97 said:
Can i backup my app on stock rom then restore it to a custom rom?
Click to expand...
Click to collapse
Sure. Easiest way to do it is by using an app called, 'Titanium Backup Pro'.But you have to root your stock rom first for this application to run(Use towelroot if you are yet to root).Except for sony proprietary apps like walkman,Album,etc (will run only on stock rom as they use sony developed system libraries/API'S) other apps will get restored/run fine on a custom rom.
gokukaushik said:
Sure. Easiest way to do it is by using an app called, 'Titanium Backup Pro'.But you have to root your stock rom first for this application to run(Use towelroot if you are yet to root).Except for sony proprietary apps like walkman,Album,etc (will run only on stock rom as they use sony developed system libraries/API'S) other apps will get restored/run fine on a custom rom.
Click to expand...
Click to collapse
And one think left.... How to know if my bootloader is unlocked or not?
AndreIrawan97 said:
And one think left.... How to know if my bootloader is unlocked or not?
Click to expand...
Click to collapse
its in the OP....on the phones dialpad, type: *#*#7378423#*#*
then look in > service > configuration
it should show the status as "bootloader locked", "bootloader unlocked", "bootloader unlockable" or "not unlockable" (sorry wording may not be exact, but you'll get the idea)
foomanjackel said:
its in the OP....on the phones dialpad, type: *#*#7378423#*#*
then look in > service > configuration
it should show the status as "bootloader locked", "bootloader unlocked", "bootloader unlockable" or "not unlockable" (sorry wording may not be exact, but you'll get the idea)
Click to expand...
Click to collapse
no.. i mean, how to know if my bootloader is already unlocked or not?
Anyway, what happened if i flash it without unlocking it first?
Sorry, did you type that in the phone and check the status? That's where it will tell you if its already unlocked or if its even unlockable at all.
Do not try to install a custom ROM on your phone if it is not unlocked! Your phone will not boot.
AndreIrawan97 said:
no.. i mean, how to know if my bootloader is already unlocked or not?
Anyway, what happened if i flash it without unlocking it first?
Click to expand...
Click to collapse
Thanks to @ foomanjackel for answering your questions.Regarding your 2nd question, 'Experience is the mother of invention'.Why don't you try and see what happens...just kidding.Couldn't resist it. Practically speaking of you install a custom rom with an custom kernel on a locked bootloader you will hard brick it.It will not boot and chances are that you might not be able to goto flashmode or fastbootmode anymoreto repair it.Reason this happens is that both your recovery and bootloader resides in the same partition in your mobile.If you try to install custom kernel on a locked bootloader in every probability, it not only corrupts your existing stocks kernel but also might corrupt your recovery leaving u helpless.
Theoretically, You should be able to install any custom-stock based rom on a locked bootloader (which runs exactly on ur stock kernel).In other words a custom rom which doesn't come up with a custom kernel but based on your existing stock kernel should be able to run on a locked bootloader.But my advice is you do not risk it.
foomanjackel said:
Sorry, did you type that in the phone and check the status? That's where it will tell you if its already unlocked or if its even unlockable at all.
Do not try to install a custom ROM on your phone if it is not unlocked! Your phone will not boot.
Click to expand...
Click to collapse
Yes it said boot loader unlockable : yes
And couple months ago, i want to unlock my bootloader, but i dont know what went wrong, but my xperia got boot loop...
So is that bcs i already unlocked it? Or... ?
AndreIrawan97 said:
Yes it said boot loader unlockable : yes
And couple months ago, i want to unlock my bootloader, but i dont know what went wrong, but my xperia got boot loop...
So is that bcs i already unlocked it? Or... ?
Click to expand...
Click to collapse
If you get this message "Bootloader unlockable: yes" then your bootloader is still locked.
gokukaushik said:
If you get this message "Bootloader unlockable: yes" then your bootloader is still locked.
Click to expand...
Click to collapse
Is unlocking bootloader can make me lose my root?
AndreIrawan97 said:
Is unlocking bootloader can make me lose my root?
Click to expand...
Click to collapse
I suppose it won't.I don't see the reason why u want to unlock the bootloader unless you want to install a new custom rom.
Hi I am a newbie. I had rooted my phone using Towel-root method and am even using xposed framework and am running stock version. After this to Unlock my Bootloader I fallowed procedures as given by sony, but after i entered unlock command in cmd, my xpeira m went into bootloop.
I tried repaing usning pc companion it said that my mobile has been modified and cant repair, and hence using flashtool flashed stock xperia m rom and had to root again.
But the problem is that I still receive OTA updates from Sony for Walkman and album apps. If my booloader is unlocked I shouldn't be recieving those right ? How can I confirm for sure without flashing anything ?
Another question: Now If i flash CWM from here http://forum.xda-developers.com/xpe...ery-philz-touch-6-41-6-xm-dual-t2795778/page2 will that erase my rom ? I mean do I have to flash my stock rom and reroot after flashing CWM for my device to work ?
i think i have an answer
raghu18 said:
Hi I am a newbie. I had rooted my phone using Towel-root method and am even using xposed framework and am running stock version. After this to Unlock my Bootloader I fallowed procedures as given by sony, but after i entered unlock command in cmd, my xpeira m went into bootloop.
I tried repaing usning pc companion it said that my mobile has been modified and cant repair, and hence using flashtool flashed stock xperia m rom and had to root again.
But the problem is that I still receive OTA updates from Sony for Walkman and album apps. If my booloader is unlocked I shouldn't be recieving those right ? How can I confirm for sure without flashing anything ?
Another question: Now If i flash CWM from here http://forum.xda-developers.com/xpe...ery-philz-touch-6-41-6-xm-dual-t2795778/page2 will that erase my rom ? I mean do I have to flash my stock rom and reroot after flashing CWM for my device to work ?
Click to expand...
Click to collapse
Hi raghu,
see answer to ur first question, i dont think bootloader status will effect ur updates , because at first i tried to install CWM and went into bootloop , before that i unlocked my bootloader using flashtool, so i flashed .ftf file and went back to stock , when i tried to flash CWM i noticed that my bootloader was still unlocked , flashing .ftf didnt change it at all. i dont know whether this happened to me accidentally or it will really doesnt effect ur bootloader status but the answer is bootloader status will not effect ur updats ( as far as i knw).
answer to ur 2nd question is no it wont erase ( i am sure about it :good ur current ROM, if u flash it right. Dont worry i tried that recovery before, its gud and flash carefully, dont end up into bootloop once again ..safe flashing
thnx :good::good:
Your device's bootloader is absolutely locked if you are still receiving the OTA updates (and installing ). And I would suggest you to check the Bootloader status in Flashtool.
No flashing the CWM will not affect your current ROM
XDAOwner!! said:
Your device's bootloader is absolutely locked if you are still receiving the OTA updates (and installing ). And I would suggest you to check the Bootloader status in Flashtool.
No flashing the CWM will not affect your current ROM
Click to expand...
Click to collapse
Thnx mate really helped me.
If I flash cwm on Locked Bootloader
Thank you guys for explanation. Please describe how I can check if my bootloader is locked using flashtool ??? and what happens if cwm is flashed on locked bootloader ( Just in case )
raghu18 said:
Thank you guys for explanation. Please describe how I can check if my bootloader is locked using flashtool ??? and what happens if cwm is flashed on locked bootloader ( Just in case )
Click to expand...
Click to collapse
hey there,
open flashtool and look at the figure below
https://www.dropbox.com/s/ncyza0776myusll/Capture.PNG?dl=0
connect ur phone in flashmode and click on the BLU icon , then it will automatically get the code for ur IMEI and all u need to do is click Unlock and if u flash CWM on locked bootloader it wont work and u may end up in bootloop ( nt sure abt that coz never tried till nw )
hit thanks if this helps.:good::good::good:
hope this helps ,
As far as I am aware only the OTA firmware updates no longer work when you unlock your bootloader, the OTA application updates should work as intended.
For installing the kernel, all you have to do is put your device into fastboot mode, select the kernel with flashtool and then let flashtool work its magic. It won't wipe your ROM as it doesn't touch the /system partition.
You don't even need flashtool to check your bootloader unlock status either. Type in *#*#7378423#*#*, tap Service info, tap Configuration. You will see a section what says rooting status. Underneath rooting status you will find your bootloader status, it will read one of three things;
1) Bootloader unlock allowed: No (meaning you cannot unlock your bootloader, you shouldn't see this as you have unlocked yours by the sounds of the first post)
2) Bootloader unlock allowed: Yes (meaning you can unlock your bootloader, if it says this and you plan on unlocking the bootloader I hope you make backups of your TA partition cause you have no way of locking your bootloader again else. This goes for anybody reading this)
2) Bootloader unlock: Yes (meaning your bootloader is unlocked).
gamer649 said:
You don't even need flashtool to check your bootloader unlock status either. Type in *#*#7378423#*#*, tap Service info, tap Configuration. You will see a section what says rooting status. Underneath rooting status you will find your bootloader status, it will read one of three things;
1) Bootloader unlock allowed: No (meaning you cannot unlock your bootloader, you shouldn't see this as you have unlocked yours by the sounds of the first post)
2) Bootloader unlock allowed: Yes (meaning you can unlock your bootloader, if it says this and you plan on unlocking the bootloader I hope you make backups of your TA partition cause you have no way of locking your bootloader again else. This goes for anybody reading this)
2) Bootloader unlock: Yes (meaning your bootloader is unlocked).
Click to expand...
Click to collapse
Thanks a ton man, You cleared all my doubts. Mine says "Boot Unloacked: Yes" , so I will proceed to flashing cwm. and ya I had taken TA backup.
Thank again
Hi my bro @gamer649 how can I backup my TA partition?
Thanx for ur help
kh34d said:
Hi my bro @gamer649 how can I backup my TA partition?
Thanx for ur help
Click to expand...
Click to collapse
May be you can find in here http://forum.xda-developers.com/showthread.php?t=2484622&page=1
Try this ok
Hi my bro @Nicklas Van Dam.... U r my hero man
u helped me every time
I see u Unlocked ur Bootloader and use ROM with CyanogenMod 12 Alpha Unofficial build 20141121
i want to do like you
plz tell me about ur experience is this rom good?? if u want by message or here
many Thanx for helping me
kh34d said:
Hi my bro @Nicklas Van Dam.... U r my hero man
u helped me every time
I see u Unlocked ur Bootloader and use ROM with CyanogenMod 12 Alpha Unofficial build 20141121
i want to do like you
plz tell me about ur experience is this rom good?? if u want by message or here
many Thanx for helping me
Click to expand...
Click to collapse
hi my friend @kh34d i've been send my experience about my rom that i used, just check out on your inbox, and want you be my friend?
Hello all
I have a question regarding downgrade.
I have a g5 xt 1676 dual sim 16 gb, 3gb ram. Now i am running npps 25.137-72-4 version. As u all know.. getting firmware for full flash is a pain for moto g5. I got this phone in some old firmware, and got two ota updates since then .. and it became 25.137-72-4 version..
Now i want to reflash it to stock firmware. I already have an unlocked bootloader .
So my question is.. since i have unlocked bootloader.. can i downgrade?
I have this firmware - CEDRIC_NPP25.137-33_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC
As you see.. this is 25.137-33
This is the latest i could get. ( Please feel free to share any updated firmware if you have, a twrp backup of untouched stock firmware will also work)
I am concerned about bootloader brick ( if any of you run 25.137-33 firmware, can you please share a picture of booloader screen, so that i can check if its the same as 25.137-72-4.)
So my plan is..
Since i have unlocked bootloader,
1) i hope i can flash 25.137-33 ( dont know if it works since i have updated firmware already) .
2) relock bootloader while flashing
3) receive ota update to update the 25.137-33 to 25.137-72-4.
And stay happy with a locked bootloader with complete stock firmware.
I dont know if this plan works, but i hope i can flash the downgraded firmware since i have unlocked bootloader.
So my primay concern and doubts are..
1) can i downgrade if i have an unlocked bootloader
2) is the bootloader of 25.137-33 same as that of 25.137-72-4
Please help me to solve these.
Below is the bootloader screen of my current firmware. 25.137-72-4
Can any one please check if it matches with the firmware 25.137-33
Any help for anyone? Can i downgrade with An unlocked bootloader?
Hi, I have the XT1670 variant, 32gb single sim
Currently running NPP25.137-93 firmware (actually a debloated version of that firmware).
Here's the picture of my bootloader I think it's the same as yours, I'm not sure if you can downgrade the bootloader, I have flashed the NPL25.137-33 several times in my phone and it always gives me error in the two first flash commands, this being "flash partition got.bin and flash bootloader.img"
The phone still reboots and works as it should
So can you downgrade? Yes I have done it and never had a problem
Can you relock your bootloader? I'm not sure
And I'm not sure if bootloader brick is a thing either
I hope this helps
Sorry I cant upload the picture but my bootloader version is: B8.23 (sha-8fcce1f, 2017-08-04 11:32:36)
salsaelpato said:
Hi, I have the XT1670 variant, 32gb single sim
Currently running NPP25.137-93 firmware (actually a debloated version of that firmware).
Here's the picture of my bootloader I think it's the same as yours, I'm not sure if you can downgrade the bootloader, I have flashed the NPL25.137-33 several times in my phone and it always gives me error in the two first flash commands, this being "flash partition got.bin and flash bootloader.img"
The phone still reboots and works as it should
So can you downgrade? Yes I have done it and never had a problem
Can you relock your bootloader? I'm not sure
And I'm not sure if bootloader brick is a thing either
I hope this helps
Sorry I cant upload the picture but my bootloader version is: B8.23 (sha-8fcce1f, 2017-08-04 11:32:36)
Click to expand...
Click to collapse
You mean 25.137-33 is the version you have with b8.23 bootloader? If so its same.. not downgrade. But i dont know why u get flashing error even using same boot loaded.
1) flash partion got.bin - its the file that is responsible for repartitioning the nand memory and allocate partion for system, user data, kernel , radio, and all others..
2) flash bootloader.img - of course its the bootloader.. but how can it be error when u are flashing the same bootloader again
Do u have an unlocked or locked bootloader?
Unlocked bootloader, I have the version 25.137-93 with b8.23 bootloader, before flashing that firmware I had the 25.137-33 one with the same bootloader, there's a thread in the Moto G5 plus forum explaining how you can relock your bootloader, apparently it can be done, you have to relock your bootloader first in order to flash the complete firmware and receive ota updates
salsaelpato said:
Unlocked bootloader, I have the version 25.137-93 with b8.23 bootloader, before flashing that firmware I had the 25.137-33 one with the same bootloader, there's a thread in the Moto G5 plus forum explaining how you can relock your bootloader, apparently it can be done, you have to relock your bootloader first in order to flash the complete firmware and receive ota updates
Click to expand...
Click to collapse
if you have 25.137-93 full firmware, can you upload it?
showlyshah said:
if you have 25.137-93 full firmware, can you upload it?
Click to expand...
Click to collapse
Sorry I got it from a thread here in XDA but it's a debloated Rom
salsaelpato said:
Sorry I got it from a thread here in XDA but it's a debloated Rom
Click to expand...
Click to collapse
Can you link that forum thread? So that i can ask the dev if he have it?
showlyshah said:
Can you link that forum thread? So that i can ask the dev if he have it?
Click to expand...
Click to collapse
Sure here is
https://forum.xda-developers.com/g5/development/rom-debloated-optimized-t3722396
so i have note 8 pro begonia and i didn't even unlocked bootloader, before i go any further can someone tell me if i can use this video
to install this rom https://forum.xda-developers.com/t/...begonia-begoniain-non-cfw-2021-05-28.4229621/
thanks in advaced
android version 10
miui 12
u need tho unlock the bootloader first before doing that, with bootloader lock its impossible to modifying ur phone
howdeedodat said:
u need tho unlock the bootloader first before doing that, with bootloader lock its impossible to modifying ur phone
Click to expand...
Click to collapse
so after i unlock the bootloader i can follow that video and probably not brick my phone ?
jjucaa said:
so after i unlock the bootloader i can follow that video and probably not brick my phone ?
Click to expand...
Click to collapse
yes