[Tutorial][Xperia L] Bootloader Unlocking/Relocking - Sony Xperia L

Tutorial for quick unlock/relock bootloader
First things first :-
1. What is bootloader?
> Bootloader is a piece of code that runs before android loads up. Bootloaders usually contain several ways to boot the OS kernel and also contain commands for debugging and/or modifying the kernel environment.
2. Benefits of unlocking bootloader?
> You can flash custom kernels/ROMs.
> You can ALWAYS root your device. (compelling, eh?)
> You can flash alpha builds of newer firmware ( generally newer android version ) which is under testing and not meant for end consumers.
3. Disadvantages of unlocking bootloader? ( Doesn't matter if you have backed up your TA)
> You may void your warranty.
> You may loose some proprietary vendor software such as Bravia Engine, Download Music info etc. due to removal of DRM security keys.
> OTA updater may refuse to update your device and pop up a 'Device's software modified' message.
4. Can i unlock my bootloader?
> Go to dialer
> Type *#*#7378423#*#*
> Service info > Configuration
> Rooting status :
"Bootloader unlock allowed" - You can unlock your bootloader
"Bootloader unlock not allowed" - You cannot unlock your bootloader
5. What is TA?
> Take it simple, restoring the TA img of your device will revert your device to clean state as it was before unlocking bootloader. Thus, all of the aforementioned demerits will start working again.
6. Can I backup my TA?
> Yes, if you haven't unlocked your bootloader.
TA Backup using DevShaft's Tool (needs root access) :
1. Visit the thread and download backup tool from here ( Read everything carefully )
2. Run the tool with usb debugging on.
3. Your TA will be backed up. You can find zip in backup folder.
4. Unzip it and check for TA img file which should be roughly around 2048 KB.
5. There you have it.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Unlocking bootloader :
You can unlock bootloader in two ways:
1. Official way (Instructions included)
2. FlashTool ( Recommended )
1. Generate your unlock key by entering your IMEI. (To check your IMEI - *#06# )
2. After you have the key, use flashtool or cmd prompt to unlock. (easy?)
3. To verify, check rooting status :
"Bootloader unlock done" - Congrats, you've successfully unlocked your bootloader.
Relocking your bootloader :
This is where your backed up TA comes into play :
1, Run the DevShaft tool and choose restore TA.
2. You will need to enter your IMEI.
3. After everything is completed, check again for rooting status.
"Bootloader unlock allowed" - You have relocked your bootloader.
PS: You may run into bootloop or some other problems after unlocking bootloader. Simply flash stock FTF to fix.

Rachit Rawat said:
Tutorial for quick unlock/relock bootloader
First things first :-
1. What is bootloader?
> Bootloader is a piece of code that runs before android loads up. Bootloaders usually contain several ways to boot the OS kernel and also contain commands for debugging and/or modifying the kernel environment.
.
Click to expand...
Click to collapse
Wow...Xperia L's development is going to be in full force ...Thanks for the second and more convenient way for unlocking bootloader

Added to my XL development index thread. Good job!!

i just need more time to read and learn about this case

Anyone unlock bootloader yet? :/

ishanbhatnagr96 said:
Anyone unlock bootloader yet? :/
Click to expand...
Click to collapse
Yes, I've unlocked bootloader.

Ty
Rachit Rawat said:
Tutorial for quick unlock/relock bootloader
First things first :-
1. What is bootloader?
> Bootloader is a piece of code that runs before android loads up. Bootloaders usually contain several ways to boot the OS kernel and also contain commands for debugging and/or modifying the kernel environment.......
[
Click to expand...
Click to collapse
Nice work thank you :good: :highfive:

Navneet Suresh said:
Nice work thank you :good: :highfive:
Click to expand...
Click to collapse
Please dont quote the OP, just a short of it okay, i scrolling to much cause it.
Sent from my C2105

ok
karkand said:
Please dont quote the OP, just a short of it okay, i scrolling to much cause it.
Sent from my C2105
Click to expand...
Click to collapse
Ok sorry i have shortened it :highfive:

how to unlock with flashtool?? since XL doesnt have button on these body....

sanzNya said:
how to unlock with flashtool?? since XL doesnt have button on these body....
Click to expand...
Click to collapse
Press volume down and connect to pc for flashmode, volume up for fastboot. Then just follow the instruction.
Sent from my C2105 using xda premium

allenwalker1998 said:
Press volume down and connect to pc for flashmode, volume up for fastboot. Then just follow the instruction.
Sent from my C2105 using xda premium
Click to expand...
Click to collapse
Mmm....
Thanks mate. Btw. Do you used flashtool or with official ways?
best regards.
sanzNya
sent from my mind via tapatalk 4

sanzNya said:
Mmm....
Thanks mate. Btw. Do you used flashtool or with official ways?
best regards.
sanzNya
sent from my mind via tapatalk 4
Click to expand...
Click to collapse
I use flashtool to unlock, but sometime you must flash stock after unlocking, because it will bootloop after it.

karkand said:
I use flashtool to unlock, but sometime you must flash stock after unlocking, because it will bootloop after it.
Click to expand...
Click to collapse
Hmmm... no need any ''key'' like official ways right?
Just follow the step on latest flashtool. And re-flashed stock (in case if i got botloop).
#edit. If i want to unlock. So i must press which button? fastboot mode or flashtool mode?
best regards.
sanzNya
sent from my mind via tapatalk 4

sanzNya said:
Hmmm... no need any ''key'' like official ways right?
Just follow the step on latest flashtool. And re-flashed stock (in case if i got botloop).
#edit. If i want to unlock. So i must press which button? fastboot mode or flashtool mode?
best regards.
sanzNya
sent from my mind via tapatalk 4
Click to expand...
Click to collapse
Unfortunately, my latest flashtool(0.9.11.0) isn't work with the code generator so I must get key from the official way..
Just press 'BLU' and follow the instructions..
Sent from my C2105 using xda app-developers app

karkand said:
Unfortunately, my latest flashtool(0.9.11.0) isn't work with the code generator so I must get key from the official way..
Just press 'BLU' and follow the instructions..
Sent from my C2105 using xda app-developers app
Click to expand...
Click to collapse
So you still need key frm sony to unlock with flashtool??
best regards.
sanzNya
sent from my mind via tapatalk 4

sanzNya said:
So you still need key frm sony to unlock with flashtool??
best regards.
sanzNya
sent from my mind via tapatalk 4
Click to expand...
Click to collapse
yes, I am, it's very bad that flashtool error when generate the key...
so, are you success to generate with flashtool? give a try, because it will change anything till you not enter key to unlock...

karkand said:
yes, I am, it's very bad that flashtool error when generate the key...
so, are you success to generate with flashtool? give a try, because it will change anything till you not enter key to unlock...
Click to expand...
Click to collapse
Still on vacation now. Im on airport to backhome. Maybe tomorrow morning i'll try. Will give a report asap. Thanks aniway...
best regards.
sanzNya
sent from my mind via tapatalk 4

I used the FlashTool and now my phone does not start, the initial animation is stopped. What can I do?

perfectms said:
I used the FlashTool and now my phone does not start, the initial animation is stopped. What can I do?
Click to expand...
Click to collapse
Flash stock firmware..
best regards.
sanzNya
sent from my mind via tapatalk 4

Related

[TOOL] Lock/Unlock Bootloader + Remove Tampered | Aroma GUI

This tool will allow you remove the Tampered flag from your bootloader. It will also allow you to easily Lock and Unlock your Bootloader directly from recovery.
No root required since it is run in recovery, however you still must be S-OFF.
Before using this tool you need to be sure you are using the latest version of recovery as the M7 U/UL TWRP requires at least version 2.6.3.3 for this package to work. The current downloads for both CWM and TWRP can found below:
The latest M7 U/UL TWRP can be downloaded HERE.
The latest M7 U/UL CWM can be downloaded HERE.
***[UPDATE] - It seems that the latest TWRP 2.6.3.3 has been pulled due to some minor issues. If your TWRP version doesn't work please use CWM for now until a updated TWRP release is made.
This will work for Verizon and Sprint as well, however they have different versions of these recoveries, so please make sure you are using the correct recovery for your device.
Saying this again in case you missed it: YOU MUST BE S-OFF!
To use the tool simply copy the zip file to your phone and then boot to your custom recovery and choose install. Then browse to where you copied the file and select it. The aroma installer will begin. Follow the steps outlined in the pictures below and choose the options you want to run.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Now you can just keep this file on your phone and Lock and Unlock at anytime without a PC and without losing data.
***Credits***
S-trace for originally discovering the location of the lock status flag. See this thread.
scotty1223 for his ADB shell commands. Threads HERE and HERE. Scotty was also very helpful to me in understanding some of the default values.
Just to be clear I did not just copy and paste scotty1223's commands into a aroma installer. The echo command can be problematic in aroma, so I developed original code for all four commands. The end result is the same in that the data in the partitions is changed as needed.
***Download***
Guru Bootloader Reset Tool
md5: fdb8264a8f4741bae22939cd7734f7c2
Enjoy!
If this helped you out please consider a small donation or just a thanks would be great.
Demo and Troubleshooting
Demo Video:
***Troubleshooting***
If the installer stays on this screen fore more than a few seconds, then it means you need to delete/format cache. This can be done within both recoveries. You may need to reboot recovery after clearing cache and begin the installer again. This seems to happen more on CWM than TWRP.
If the installer runs but your bootloader doesn't change, it is proably one of these things:
You are not S-Off
You do not have the latest version of recovery (I recommend TWRP)
+ 1
+1
Worked on int. m7 with hboot version 1.55.
Now have removed my tampered flag :victory:
thx
pOpY
Oh yeah..thanks..a handy tool..
Sent from my HTC One using XDA Premium 4 mobile app
Nice Thanks @crushalot
Quick question (if you have time): why do we need latest recovery? what would happen on an older recovery?
Will this work on Rumrunners custom HBOOT or is a stock HBOOT only recommended?
Sent from my HTC One using Tapatalk
nkk71 said:
Nice Thanks @crushalot
Quick question (if you have time): why do we need latest recovery? what would happen on an older recovery?
Click to expand...
Click to collapse
On older recoveries, the worst that could happen is that it may not work. It won't hurt to try.
The reason you need an updated recovery is because on TWRP before version 2.6.3.3 the partition wasn't writable so the actions didn't work. Older CWM should be ok but I only tested the latest.
Evil-Dragon said:
Will this work on Rumrunners custom HBOOT or is a stock HBOOT only recommended?
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
It will work on any firmware. Hboot is not touched. This only modifies partitions mmcblk0p3 and mmcblk0p7.
crushalot said:
On older recoveries, the worst that could happen is that it may not work. It won't hurt to try.
The reason you need an updated recovery is because on TWRP before version 2.6.3.3 the partition wasn't writable so the actions didn't work. Older CWM should be ok but I only tested the latest.
Click to expand...
Click to collapse
Noted. Thanks
Sent from my HTC One using Tapatalk
Awesome!
I was looking for this... it worked great! Thanks man!
crushalot said:
On older recoveries, the worst that could happen is that it may not work. It won't hurt to try.
The reason you need an updated recovery is because on TWRP before version 2.6.3.3 the partition wasn't writable so the actions didn't work. Older CWM should be ok but I only tested the latest.
Click to expand...
Click to collapse
Hi crushalot, I just noticed TWRP version 2.6.3.3 was pulled and back to 2.6.3.0, just FYI
Awesome that this can be done fron recovery, let alone in an Aroma install! Looks good! :good:
But I am having trouble seeing the use for me personally? Is this so that Ican lock my botloader and download Official OTAs (if thats required)? Or is this just something in case I have to send it off for service?
Or am I missing something here?
DaringDomino3s said:
Awesome that this can be done fron recovery, let alone in an Aroma install! Looks good! :good:
But I am having trouble seeing the use for me personally? Is this so that Ican lock my botloader and download Official OTAs (if thats required)? Or is this just something in case I have to send it off for service?
Or am I missing something here?
Click to expand...
Click to collapse
. Warranty purposes. Or for example in my case if I decided to upgrade my phone with jump, I can make everything look like never even happened. It's quite useful.
Sent from my HTC One using XDA Premium 4 mobile app
nkk71 said:
Hi crushalot, I just noticed TWRP version 2.6.3.3 was pulled and back to 2.6.3.0, just FYI
Click to expand...
Click to collapse
Yeah, seems like it was pulled because the charging while in recovery doesn't work correctly.
It still works for everything else. Not sure if they will just re-release 2.6.3.3 when fixed or make a new version.
I will update the link and info in the OP.
Thanks
DaringDomino3s said:
Awesome that this can be done fron recovery, let alone in an Aroma install! Looks good! :good:
But I am having trouble seeing the use for me personally? Is this so that Ican lock my botloader and download Official OTAs (if thats required)? Or is this just something in case I have to send it off for service?
Or am I missing something here?
Click to expand...
Click to collapse
Also sometimes a locked bootloader is needed for promotions like the 25 GB of Google Drive space.
There can be a variety of reasons one might need to toggle it.
Looking and unlocking won't wipe data? Like a typical htcdev unlock does?
Sent from my HTC One using xda app-developers app
crushalot said:
Yeah, seems like it was pulled because the charging while in recovery doesn't work correctly.
It still works for everything else. Not sure if they will just re-release 2.6.3.3 when fixed or make a new version.
I will update the link and info in the OP.
Thanks
Click to expand...
Click to collapse
I'm still on CWM 6.....2 (the old one, but with updated ts drivers) gonna test ur tool on friday.
Will let u know.
Btw, thanks for all your guru site, I refer to it a lot; PayPal doesn't work in my country so can't contribute. But thanks !!
Love ur work.
Sent from my HTC One using Tapatalk
joho5 said:
Looking and unlocking won't wipe data? Like a typical htcdev unlock does?
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
No, my tool doesn't wipe data during a lock or unlock.
It directly modifies the partitions that conatin the bootloader status, without touching /data or /system

[Q] Flash Stock and Unroot without USB possible? [SOLVED]

Hello Nexus friends!
Hope someone can help me:
Is there a way to flash my nexus 5 back to stock and unroot without USB?
I think my USB port is dead, it doesnt load and I m not able to connect it with any computer. I wiped it but nothing changed.
History:
I flashed and rooted my phone with Nexus Root Toolkit from stock (4.4.2 (KOT49H) i think) now after OTA updates its runnig 4.4.4 (KTU84P).
plz help!
regards
Mike
You could flash a stock recovery flashable ROM....would need root for that obviously.
As far as flashing stock recovery....not sure about that one. Maybe flashify can help? Never used it myself. You need a flashable stock recovery tho.
Also, the boot loader will be unlocked still, so that's kind of a dead giveaway. Nothing you can do about that without connecting to a computer for fastboot.
Need to know the full situation.
If you've lost root you NEED a custom recovery. If you have stock recovery, you NEED root.
OTA removes root and custom recovery.
Please give situation report.
Sent from my Nexus 5 using Tapatalk
rootSU said:
Need to know the full situation.
If you've lost root you NEED a custom recovery. If you have stock recovery, you NEED root.
OTA removes root and custom recovery.
Please give situation report.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
OTA removes ROOT? Didnt know that...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
So now my Phone is unrooted and stock? SuperSU says its not installed but i have the app icon...?
Ok so you're stock unrooted. What recovery have you got?
Sent from my Nexus 5 using Tapatalk
rootSU said:
Ok so you're stock unrooted. What recovery have you got?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Is there a way to read the header of the .ab files?
01-17-2014_13-37.ab (should be Stock 4.4.2 (KOT49H))
But I dont think its unrooted
I want back to stock ROM, RECOVERY, BOOTLOADER... to send it back for warranty repair of the USB port!
Thank you for your efforts!
w1m9 said:
Is there a way to read the header of the .ab files?
01-17-2014_13-37.ab (should be Stock 4.4.2 (KOT49H))
But I dont think its unrooted View attachment 2857791
I want back to stock ROM, RECOVERY, BOOTLOADER... to send it back for warranty repair of the USB port!
Thank you for your efforts!
Click to expand...
Click to collapse
I can walk you through it but I need to know for definite your current situation.
I need you to have either root, or a custom recovery.
To check custom recovery, hold vol down + power to boot to bootloader. Then use Volume up / down to navigate to "recovery" and press power to select. I want to see the recovery screen. Usually OTA will remove root and custom recovery.
Also, use root checker to check if you have root - I expect you will not have it.
First install SuperSU
https://play.google.com/store/apps/details?id=eu.chainfire.supersu
Then install root checker
https://play.google.com/store/apps/details?id=com.joeykrim.rootcheck
rootSU said:
I can walk you through it but I need to know for definite your current situation.
I need you to have either root, or a custom recovery.
To check custom recovery, hold vol down + power to boot to bootloader. Then use Volume up / down to navigate to "recovery" and press power to select. I want to see the recovery screen. Usually OTA will remove root and custom recovery.
Also, use root checker to check if you have root - I expect you will not have it.
First install SuperSU
Then install root checker
Click to expand...
Click to collapse
OK u r right!! It is not rooted... here my recovery
w1m9 said:
OK u r right!! It is not rooted... here my recovery View attachment 2857903
Click to expand...
Click to collapse
OK This means you have full stock rom and stock recovery. Only thing you have that you might not want is an unlocked bootloader, which you need root to fix. Do you want me to "Try" to and help you do tht or are you just going to leave it?
Are you sending it to google or LG?
rootSU said:
OK This means you have full stock rom and stock recovery. Only thing you have that you might not want is an unlocked bootloader, which you need root to fix. Do you want me to "Try" to and help you do tht or are you just going to leave it?
Are you sending it to google or LG?
Click to expand...
Click to collapse
Would be very nice if u help me!!! Do you think its possible without USB?
I dont know if I have to send it back to google or LG? I bought it over the play store from Germany to Austria!
I think my warranty is lost if I send it back with the open bootloader... am I right?
regards
w1m9 said:
Would be very nice if u help me!!! Do you think its possible without USB?
I dont know if I have to send it back to google or LG? I bought it over the play store from Germany to Austria!
I think my warranty is lost if I send it back with the open bootloader... am I right?
regards
Click to expand...
Click to collapse
Google will not reject warranty of hardware failure due to unlocked bootloader. LG might. If you bought it from google, it usuall goes to google, but not sure if changign country changes things. Best to ask google.
Only chance to lock bootloader is to get root by using towelroot. It may or may not work.
https://towelroot.com/tr.apk
Run the app. It is supposed to reboot but sometimes it does not. If it does not, reboot yourself. Then ipen SuperSU and check if it has root.
If it does have root, install bootunlocker https://play.google.com/store/apps/details?id=net.segv11.bootunlocker&hl=en - and reset tamper flag and lock bootloader. Then unroot using SuperSU.
If towelroot doesnt give you root, you cannot lock bootloader
rootSU said:
Google will not reject warranty of hardware failure due to unlocked bootloader. LG might. If you bought it from google, it usuall goes to google, but not sure if changign country changes things. Best to ask google.
Only chance to lock bootloader is to get root by using towelroot. It may or may not work.
https://towelroot.com/tr.apk
Run the app. It is supposed to reboot but sometimes it does not. If it does not, reboot yourself. Then ipen SuperSU and check if it has root.
If it does have root, install bootunlocker https://play.google.com/store/apps/details?id=net.segv11.bootunlocker&hl=en - and reset tamper flag and lock bootloader. Then unroot using SuperSU.
If towelroot doesnt give you root, you cannot lock bootloader
Click to expand...
Click to collapse
Thank u man! U r the best! Everything worked well.
w1m9 said:
Thank u man! U r the best! Everything worked well.
Click to expand...
Click to collapse
No problem.
Sent from my Nexus 5 using Tapatalk
You can flash stock recovery via the TWP app, which allows this
#64268gkyJL#8653%dhjGUKVS357.
howard bamber said:
You can flash stock recovery via the TWP app, which allows this
#64268gkyJL#8653%dhjGUKVS357.
Click to expand...
Click to collapse
He already had stock recovery.
Sent from my Nexus 5 using Tapatalk
want to roll back to original one..
currently i have cyanogen recovery .i wanted get back to the original software(ie, same as the nexus 5 out of the box(which is not rooted and can get os updates from google(OTA)).can u please suggest me the procedure required for it???

[Q&A] [GUIDE] TO UNLOCK YOUR SENSATION FREE - WORKING FOR EVERY SENSATION (noobproof

[Q&A] [GUIDE] TO UNLOCK YOUR SENSATION FREE - WORKING FOR EVERY SENSATION (noobproof
Q&A for [GUIDE] TO UNLOCK YOUR SENSATION FREE - WORKING FOR EVERY SENSATION (noobproof)
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [GUIDE] TO UNLOCK YOUR SENSATION FREE - WORKING FOR EVERY SENSATION (noobproof). If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
not working
xl VipeR lx said:
Method 1 was discovered by a noob - Dav22. Dazweeja came up with a simple ADB command. Skygear for working it in Terminal Emulator
Method 2 was discovered by sieempi (Links at the bottom), STRING: NOT FOUND workaround found by jackmonter5
Big thanks to xplod4202. Risked his Sensation to see if Methd 2 was safe for us all.
And The simple guide : xl Viper lx : I am simply doing what i do best. getting you a noobproof guide and also simplifying the adb/terminal code
All of us will take credit for the collaborating and making of this thread to help everyone unlock with no cost. What???.....Yes thats right......We broke the FTSE index by providing free unlocks! lol
Also 9 people who voted no in the poll, ad voted before we found method 2 which unlocks every sensation
METHOD 1 - USE THIS FIRST
The SIM-Unlock code location for some sensation's (NOT ALL) has been found and confirmed to work for the few users who tested it. Use method 1 below to find your unlock code
(Method 1 ADB guide in post 2 if you don't want to use Terminal Emulator or you just want to use ADB)
Requirements:
-Rooted simlocked Sensation - Enable USB debugging in Settings > Application ->Development
-Terminal Emulator (Download free from the market) or click here to download and install into your phone
Your IMEI Number (Dial "*#06#" in phone keypad to get it)
GUIDE - Method 1
1. Download Terminal Emulator from the market if you havent already done so and Run it. This should bring you a blue screen. Full screen.
2. enter the command "SU".
3. Click allow when Super user pop up appears to give it root access. (If your keyboard disappears, keep hold of menu button to bring it back up)
4. enter the command "strings -n 8 /dev/block/mmcblk0p6"
5. This should give Output a bunch of numbers like in the screenshot! IF IT SAYS STRING: NOT FOUND MOVE TO POST 2 AND USE ADB!
6. The 8 digit number above your IMEI number is your unlock code. See post 2 on how to enter it.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
IF it only brings you a date above your IMEI. Then the unlock code is not present in your device. Move to Method 2
GUIDE - Method 2 - USE IF METHOD 1 FAILED!
Revolutionary achieved radio S-OFF for Sensation (among other devices) which means you can practically do whatever you want with your phone (like actually owning it). This means it makes it vulnerable to all sorts of schemes including sim-unlock. The following method is quite efficient and easy to do and can be done with the need for a computer!
Requirements:
-Rooted simlocked Sensation!
-Clockwork Recovery or Revolutionary Recovery - NEEDED FOR NANDROID BACKUP
-Titanium Backup (Download from the market if you don't have it) - YOU ONLY NEED THIS IF YOU DONT WANT TO OR CAN'T NANDROID BACKUP
WARNING!!!
Backup all your settings/apps/sms/network/APN/Data etc.
Using this method to unlock will wipe your data and apps too! (Factory Resets in other words)
But it's this method that actually resets some other things including your sim-lock status.
Guide - Method 2
1. MAKE A NANDROID BACKUP USING RECOVERY - (Completely switch off your phone, Press Volume down + Power button to get into bootloader, Volume down to recovery then press power button to get into Recovery. Volume down to "Backup and Restore" in recovery. Press Power to backup and your done!
(Make a backup in Titanium backup if you don't want to or can't nandroid backup. Menu > BAtch >Backup systems data + Apps with data)
2. Download PG58DIAG for the Sensation HERE or FROM MULTIUPLOAD
3. Copy the PG58DIAG file into the Root folder of your SD card (The main Folder of your Memory Card)
4. Turn off your phone Fully and reboot into the Bootloader/HBOOT screen (see post 2 on how to get to bootloader screen)
5. Press Volume Down to Enter DIAG - Place the phone horizontally when it asks you too. (Flat)
6. Press power button to select "Clean S58 Data
7. Press power again to "clean S58 Data".
8. POW - your unlocked! Try a SIM card from a different provider!
9. Delete the file from your SD Card (Delete PG58DIAG) and REBOOT!!
Your phone Will set up for the first time, go through it all till you get to your home screen
10. Go back into recovery and restore nandroid backup. same method as step 1 above. but instead of backup, you use restore feature
(Use Titanium Backup to restore if you used it to backup instead of Nandroid backup)(Menu > Batch > Restore System Data + Apps with user data)
Now you’re free to go! Bear in mind, though, in certain circumstances you will lose your data connectivity or network signal. You’ll just need to check your APN, network type etc. and re-enter them; Just run the nandroid restore to get everything back
Thanks to Dav22. for discovery of method 1
Dazweeja for his simple Code to find the unlock
sieempi for Method 2.
Thanks to Team Revolutionary for PG58DIAG and S-off
Don't forget to CLICK THANKS, VOTE and RATE if this guide worked for you.
don't forget to thank the above users too by clicking the links
Click to expand...
Click to collapse
Sorry not working ,goes on bootloader see the file give me security error , bootlaoder Unlock et phone rooted
Dantheone said:
Sorry not working ,goes on bootloader see the file give me security error , bootlaoder Unlock et phone rooted
Click to expand...
Click to collapse
are you on S-OFF?
if not you have to s-off first
hi
rzr86 said:
are you on S-OFF?
if not you have to s-off first
Click to expand...
Click to collapse
hi yes S off , hard to do but done becose we have to do before to root the phone , first i unlock bootloader whit HTC webside , second put S off whit rootSensation and Controlbear and after rooting
Dantheone said:
hi yes S off , hard to do but done becose we have to do before to root the phone , first i unlock bootloader whit HTC webside , second put S off whit rootSensation and Controlbear and after rooting
Click to expand...
Click to collapse
what is your hboot version?
hi hi
rzr86 said:
what is your hboot version?
Click to expand...
Click to collapse
hi hi Hboot 1.27.000 ,i try again OK and give error again Security fail Update fail reeboot ,see on phone Unlocked ,Pyramid PUT SHIP S-OFF RL HBoot 1.27.000 openADSP-v02.6.0.2226.00.0131,eMMC-boot that what i see on my phone on bootloader mode
Dantheone said:
hi hi Hboot 1.27.000 ,i try again OK and give error again Security fail Update fail reeboot ,see on phone Unlocked ,Pyramid PUT SHIP S-OFF RL HBoot 1.27.000 openADSP-v02.6.0.2226.00.0131,eMMC-boot that what i see on my phone on bootloader mode
Click to expand...
Click to collapse
You need to downgrade your hboot version to GB firmware in order to unlock
See the pages between 50-54 of the unlock thread on how to do it
hi
rzr86 said:
You need to downgrade your hboot version to GB firmware in order to unlock
See the pages between 50-54 of the unlock thread on how to do it
Click to expand...
Click to collapse
hi thanks but where pages 50 -54 OK and what is GB firmware ,do U have link for
Dantheone said:
hi thanks but where pages 50 -54 OK and what is GB firmware
Click to expand...
Click to collapse
GB-> gingerbread
See post #531
http://forum.xda-developers.com/showthread.php?t=1232107&page=54
hi
rzr86 said:
GB-> gingerbread
See post #531
http://forum.xda-developers.com/showthread.php?t=1232107&page=54
Click to expand...
Click to collapse
hi i try all and nothing OK ,i want to install recovery put the zip file on sd card and reeboot on bootloader nothing tell no image found but i check before and all image was there ,****ing problem whit this phone , want to donwgrade de firmware from 1.27 to 1.17 for unlocking sim but nothing working i dont know what happen nows
Dantheone said:
hi i try all and nothing OK ,i want to install recovery put the zip file on sd card and reeboot on bootloader nothing tell no image found but i check before and all image was there ,****ing problem whit this phone , want to donwgrade de firmware from 1.27 to 1.17 for unlocking sim but nothing working i dont know what happen nows
Click to expand...
Click to collapse
can you post what zip are you trying to flash from bootloader?
also what problem are you facing exactly with sim unlock?
post your bootloader details
hi
i try to mount PG58Img-cwm5020 to have recovery mode on my cell but not working OK i want to downgrade the firmware to unlock the sim but the phone refuse to do OK , i don't know have some flashing software like i have for my Sony Z2 or for my LG G3 i have too BUT don't see anything for HTC
Dantheone said:
i try to mount PG58Img-cwm5020 to have recovery mode on my cell but not working OK i want to downgrade the firmware to unlock the sim but the phone refuse to do OK , i don't know have some flashing software like i have for my Sony Z2 or for my LG G3 i have too BUT don't see anything for HTC
Click to expand...
Click to collapse
You can flash recovery via fastboot command
The command is fastboot flash recovery recovery.img
rzr86 said:
You can flash recovery via fastboot command
The command is fastboot flash recovery recovery.img
Click to expand...
Click to collapse
how to be in fastboot ?? volume down + power if yes i do that and nothing OK sorry but if nothing working i gone put this phone on garbage that its sorry
Dantheone said:
how to be in fastboot ?? volume down + power if yes i do that and nothing OK sorry but if nothing working i gone put this phone on garbage that its sorry
Click to expand...
Click to collapse
After that select fastboot from bootloader screen(your hboot screen should say fastboot usb)
Connect it to the pc and use the command
rzr86 said:
After that select fastboot from bootloader screen(your hboot screen should say fastboot usb)
Connect it to the pc and use the command
Click to expand...
Click to collapse
ok i go on bootloader whit power +volume down OK i see fastboot choice ,recovery ,factory reset ,simlock and image crc OK i click on fastboot that shom me bootloader ,reboot ,reboot bootloader and power down nothing more Ok NO MORE choice on sorry , i don't understand this phone first time i have problem like that ,all i see here on XDA for this phone not working
Dantheone said:
ok i go on bootloader whit power +volume down OK i see fastboot choice ,recovery ,factory reset ,simlock and image crc OK i click on fastboot that shom me bootloader ,reboot ,reboot bootloader and power down nothing more Ok NO MORE choice on sorry , i don't understand this phone first time i have problem like that ,all i see here on XDA for this phone not working
Click to expand...
Click to collapse
when you click fastboot did you connect it to the pc?
if yes did it show you fastboot usb?
by the way do you have sdk tools installed?(adb,fastboot)
also what os do you have on your pc?
and post the PG58Img-cwm5020 here pls
rzr86 said:
when you click fastboot did you connect it to the pc?
if yes did it show you fastboot usb?
by the way do you have sdk tools installed?(adb,fastboot)
also what os do you have on your pc?
and post the PG58Img-cwm5020 here pls
Click to expand...
Click to collapse
hi hi yes yes SDK driver for the old to the new Android install in my PC ok i use IT for my sony and my LG G3 too ok and i got recovery-clockwork-touch-5.8.0.9-pyramid.img ,that the one is good and YES i see fastboot USB when i plug it on my pcand i got too TWRP-2.8.5.0 pyramid image which one the good one
Dantheone said:
hi hi yes yes SDK driver for the old to the new Android install in my PC ok i use IT for my sony and my LG G3 too ok and i got recovery-clockwork-touch-5.8.0.9-pyramid.img ,that the one is good and YES i see fastboot USB when i plug it on my pcand i got too TWRP-2.8.5.0 pyramid image which one the good one
Click to expand...
Click to collapse
i suggest to change to 4ext recovery
because it has been reported some issues with some versions of TWRP
rzr86 said:
i suggest to change to 4ext recovery
because it has been reported some issues with some versions of TWRP
Click to expand...
Click to collapse
ok i try 3 time to flash whit fasboot your 4Ext recovery and my phone freeze on recovery mode i have to remove battery to recovery it and the .apk version is not free and TRWP RECOVERY fla**** no problem working but failed to flash pgd581 1.17 to downgrade my phone to unlock it

Advanced Stock Kernel and TWRP for Xperia X Compact

I made advanced stock kernel and TWRP for Xperia X Compact.
I don't have X Compact, so there will be no further update.
Please don't ask for update.
Advanced stock kernel
-For 34.1.A.1.198
-ric, dm-verity disabled
-DRM patch from tobias.waldvogel
-SELinux Permissive
-Load recovery from recovery (FOTAKernel) partition
Download:
https://drive.google.com/open?id=0B0j3VJ1Xp5N8bl9xbEFxN1N1Vkk
TWRP 3.0.2
-Fully supports decryption
Download:
https://drive.google.com/open?id=0B0j3VJ1Xp5N8M1ZGbzBBMTdyRnM
1. Reboot into recovery or bootloader
2. Extract boot.img from zip and run this command in fastboot mode:
fastboot flash boot boot.img
If you have no recovery, you also need to flash recovery by this command:
fastboot flash recovery TWRP-3.0.2-2-F5321.img
3. Reboot
4. Done!
* Press volume up or down key when LED is orange to enter into recovery
Kernel source:
https://github.com/AndroPlus-org/android_kernel_sony_msm8956/tree/34.1.A.1.198
Device tree for TWRP:
https://github.com/AndroPlus-org/android_device_sony_kugo
PayPal:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=S2LALLRARKTKC
Credit:
tobias.waldvogel for awasome DRM patch,
nilezon for boot script
Snow_Basinger for testing
and big thanks to other people involved including Sony and TeamWin
AndroPlus said:
I made advanced stock kernel and TWRP for Xperia X Compact.
I don't have X Compact, so there will be no further update.
Please don't ask for update.
Advanced stock kernel
-For 34.1.A.1.198
-ric, dm-verity disabled
-DRM patch from tobias.waldvogel
-SELinux Permissive
-Load recovery from recovery (FOTAKernel) partition
Download:
https://drive.google.com/open?id=0B0j3VJ1Xp5N8bl9xbEFxN1N1Vkk
TWRP 3.0.2
-Fully supports decryption
Download:
https://drive.google.com/open?id=0B0j3VJ1Xp5N8YWJsVGZTc0ZhZUE
1. Reboot into recovery or bootloader
2. Extract boot.img from zip and run this command in fastboot mode:
fastboot flash boot boot.img
If you have no recovery, you also need to flash recovery by this command:
fastboot flash recovery TWRP-3.0.2-2-F5321.img
3. Reboot
4. Done!
* Press volume up or down key when LED is orange to enter into recovery
Kernel source:
https://github.com/AndroPlus-org/android_kernel_sony_msm8956/tree/34.1.A.1.198
Device tree for TWRP:
https://github.com/AndroPlus-org/android_device_sony_kugo
PayPal:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=S2LALLRARKTKC
Credit:
tobias.waldvogel for awasome DRM patch,
nilezon for boot script
Snow_Basinger for testing
and big thanks to other people involved including Sony and TeamWin
Click to expand...
Click to collapse
this is only for unlocked bootloader?
x10isrooted said:
this is only for unlocked bootloader?
Click to expand...
Click to collapse
yes.
I've unlocked the bootloader and have access to recovery. Am I able to root this thing then?
mesajoejoe said:
I've unlocked the bootloader and have access to recovery. Am I able to root this thing then?
Click to expand...
Click to collapse
To root, just install SuperSu zip in TWRP (search it)
mesajoejoe said:
I've unlocked the bootloader and have access to recovery. Am I able to root this thing then?
Click to expand...
Click to collapse
So I think you unlocked the boot loader using the service delivered by Sony, correct? Okay...
But how did you deal with the DRM security keys (TA partitions)? If I get that right within the TA partition there might be some key information which could affect advanced camera functionality? Did you get a backup of the TA partition before unlocking the bootloader?
Thank you for support!
fl3xx said:
So I think you unlocked the boot loader using the service delivered by Sony, correct? Okay...
But how did you deal with the DRM security keys (TA partitions)? If I get that right within the TA partition there might be some key information which could affect advanced camera functionality? Did you get a backup of the TA partition before unlocking the bootloader?
Thank you for support!
Click to expand...
Click to collapse
You don't need to backup TA (at least when you are using) since DRM patch solves camera functionality problem.
has anyone tested this? It basically means we can:
1. unlock the bootloader
2. flash twrp recovery
3. flash this kernel
4. flash superuser
and we have a rooted x compact with working drm (at least some of it).
Is that correct?
charliebigpot said:
has anyone tested this? It basically means we can:
1. unlock the bootloader
2. flash twrp recovery
3. flash this kernel
4. flash superuser
and we have a rooted x compact with working drm (at least some of it).
Is that correct?
Click to expand...
Click to collapse
In theory yes. Though I cannot flash the superuser zip, nor can I mount anything in TWRP at the moment. Before unlocking boot loader and flashing this, I flashed UK for fingerprint sensor so that may be the reason. Tomorrow I plan on testing more.
Sent from my HTC 10
mesajoejoe said:
In theory yes. Though I cannot flash the superuser zip, nor can I mount anything in TWRP at the moment. Before unlocking boot loader and flashing this, I flashed UK for fingerprint sensor so that may be the reason. Tomorrow I plan on testing more.
Sent from my HTC 10
Click to expand...
Click to collapse
Good luck and keep us posted!
charliebigpot said:
Good luck and keep us posted!
Click to expand...
Click to collapse
No luck. It won't install the superuser.zip. In TWRP everything is red, can't mount anything. Can't see internal SD from TWRP, can't format anything. I went back to Customized US from xperifirm and re-flashed kernel and TWRP. Not sure what to do.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
mesajoejoe said:
No luck. It won't install the superuser.zip. In TWRP everything is red, can't mount anything. Can't see internal SD from TWRP, can't format anything. I went back to Customized US from xperifirm and re-flashed kernel and TWRP. Not sure what to do.
Click to expand...
Click to collapse
hmm, can you upload full log (tmp/recovery.log)?
I confirmed this works on F5321 but maybe there's some difference in US.
AndroPlus said:
hmm, can you upload full log (tmp/recovery.log)?
I confirmed this works on F5321 but maybe there's some difference in US.
Click to expand...
Click to collapse
Here ya go.
mesajoejoe said:
Here ya go.
Click to expand...
Click to collapse
Can you check if there is /dev/block/platform/soc/7824900.sdhci ?
e.g.
Code:
ls -l /dev/block/platform/soc/7824900.sdhc
AndroPlus said:
Can you check if there is /dev/block/platform/soc/7824900.sdhci ?
e.g.
Code:
ls -l /dev/block/platform/soc/7824900.sdhc
Click to expand...
Click to collapse
Two things exist there. 7824900.sdhci and 7864900.sdhci Thank you BTW for looking into this. Root access is the only thing holding me back from using this device.
Sent from my HTC 10
mesajoejoe said:
Two things exist there. 7824900.sdhci and 7864900.sdhci Thank you BTW for looking into this. Root access is the only thing holding me back from using this device.
Sent from my HTC 10
Click to expand...
Click to collapse
Thank you, I'll rebuild TWRP later with "7864900.sdhci".
I don't know why there are two path, but 7864900.sdhci should be right path for your device.
oops it was for sdcard...
AndroPlus said:
Thank you, I'll rebuild TWRP later with "7864900.sdhci".
I don't know why there are two path, but 7864900.sdhci should be right path for your device.
oops it was for sdcard...
Click to expand...
Click to collapse
Let me know if there's anything I can assist with.
mesajoejoe said:
Let me know if there's anything I can assist with.
Click to expand...
Click to collapse
Can you try this version?
https://drive.google.com/open?id=0B0j3VJ1Xp5N8M1ZGbzBBMTdyRnM
AndroPlus said:
Can you try this version?
https://drive.google.com/open?id=0B0j3VJ1Xp5N8M1ZGbzBBMTdyRnM
Click to expand...
Click to collapse
Appears to be working. I have mounting access in TWRP, flashed superuser.zip without issue. Thanks!
Well it was kind of working. On US firmware root was functioning but when switching over to UK it stopped. Since then I have not been able to regain root access on US or UK. After flashing the superuser.zip it just hangs on the Sony logo. I've gone back and forth between US and UK, but no luck. TWRP is having issues unmounting /system... not sure if that gives anyone any insight. I'm probably just going to leave it without root access for now. Appreciate your help!
Does it work on CE version
Hey everyone
Can anyone confirm that it works on CE software Version.
Unlock BL is allowed.
Thanks in advance.

Unlock bootloader of Asus Zenfone 3 max (x008da) (zc520tl)-need help...

I wanted to unlock the bootloader for Asus Zenphone 3 MAX (X008DA) (zc520tl). I tried the methods mentioned in the forum. None of it worked...
Asus used to publish bootloader unlocker app in their website. But it's taken off, for this model. I managed to get one from another source. But the app is no longer working.
I tried the afb method with 'oem unlocking' code (fastboot method). But this code is not working.
Thanks and regards bro....
manurahim said:
I wanted to unlock the bootloader for Asus Zenphone 3 MAX (X008DA) (zc520tl). I tried the methods mentioned in the forum. None of it worked...
Asus used to publish bootloader unlocker app in their website. But it's taken off, for this model. I managed to get one from another source. But the app is no longer working.
I tried the afb method with 'oem unlocking' code (fastboot method). But this code is not working.
Thanks and regards bro....
Click to expand...
Click to collapse
i think not working to unlock bootloader for this device right now,i try to unlock use unlock.apk but not working,
Btw pake ufi mungkin work om
shantoze said:
i think not working to unlock bootloader for this device right now,i try to unlock use unlock.apk but not working,
Btw pake ufi mungkin work om
Click to expand...
Click to collapse
Whats 'Btw pake ufi mungkin work om'?
manurahim said:
Whats 'Btw pake ufi mungkin work om'?
Click to expand...
Click to collapse
Hehe.. Sry i think u from Indonesia coz ur name.
Use ufi box maybe work,coz unlocktool.apk from official asus not work
shantoze said:
Hehe.. Sry i think u from Indonesia coz ur name.
Use ufi box maybe work,coz unlocktool.apk from official asus not work
Click to expand...
Click to collapse
UFI box is not affordable at the moment. Thanks for the reply... Never heard about UFI before. Googled it and found what it is... Learning new things... lol...
manurahim said:
UFI box is not affordable at the moment. Thanks for the reply... Never heard about UFI before. Googled it and found what it is... Learning new things... lol...
Click to expand...
Click to collapse
Btw i succes to permanent root
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
use magisk without unlocked bootloader with litle trick ,and install twrp but problem cant mount data on twrp coz decrypt data and internal storage must format to access that,but not possible to install custom room without unlock bootloader i think if repacked from source rom
I couldn't understand
shantoze said:
Btw i succes to permanent rootView attachment 5424995View attachment 5424997 use magisk without unlocked bootloader with litle trick ,and install twrp but problem cant mount data on twrp coz decrypt data and internal storage must format to access that,but not possible to install custom room without unlock bootloader i think if repacked from source romView attachment 5424989View attachment 5424991
Click to expand...
Click to collapse
Are you saying that, you managed to root the phone with Magisk, but couldn't install custom ROM because of unlocked bootloader? Please explain step by step bro.. I want to install custom ROM.
manurahim said:
Are you saying that, you managed to root the phone with Magisk, but couldn't install custom ROM because of unlocked bootloader? Please explain step by step bro.. I want to install custom ROM.
Click to expand...
Click to collapse
Stil wip ,
Btw i try to unpack unlock.apk from official asus to see source code,i see comand "dump.debug.all" and load lib "unlock" but i cant find lib "unlock" in system ,maybe if i have that lib i can created method to unlock without connect server cz the server is dead ithink(btw the voucher SN saved on partition persist,this auto save if we connect to update on settings),the problem just unlock lib
shantoze said:
Stil wip ,
Btw i try to unpack unlock.apk from official asus to see source code,i see comand "dump.debug.all" and load lib "unlock" but i cant find lib "unlock" in system ,maybe if i have that lib i can created method to unlock without connect server cz the server is dead ithink(btw the voucher SN saved on partition persist,this auto save if we connect to update on settings),the problem just unlock lib
Click to expand...
Click to collapse
Oh no... But nice try... You are a genius...

			
				
finally i fix mount all partition on twrp,and fitur backup restore read write file work like charm
Did you manage to unlock bootloader and root the phone?
Also can we install custom rom, after this?
If yes, plz tell me what to be done.
manurahim said:
Did you manage to unlock bootloader and root the phone?
Also can we install custom rom, after this?
If yes, plz tell me what to be done.
Click to expand...
Click to collapse
bootloader still locked,i think we can flash custom rom base stock rom or other rom or port same chipset but must edited fstab in system to encryptable cz if forceencypt in twrp cant mount data and internal storage
shantoze said:
bootloader still locked,i think we can flash custom rom base stock rom or other rom or port same chipset but must edited fstab in system to encryptable cz if forceencypt in twrp cant mount data and internal storage
Click to expand...
Click to collapse
Sounds like rocket science to me. Anyway thanks for your effort. I'm going to dump the phone.
hi. i have the 3/32 gb x008d_1 version. i would like to try your method on getting root and twrp if you dont mind. i tried mtk easy root to get root access and flash twrp using flashify but when booting in recovery it is still stock. also tried boot.img patched using magisk but still not rooted

Categories

Resources