[Tutorial][Xperia M2] Bootloader Unlocking - Sony Xperia M2

Tutorial for quick unlock
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?
> 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
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.

Đã root được chưa?

Great was waiting for some1 to post this....
Now we need a recovery.
After that a rom by me coming up

Shivam Kuchhal said:
Tutorial for quick unlock
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?
> 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
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.
Click to expand...
Click to collapse
Will you Provide roms and recoveries?
Sent from my GT-I8730 using XDA Premium 4 mobile app

dipesh1502 said:
Great was waiting for some1 to post this....
Now we need a recovery.
After that a rom by me coming up
Click to expand...
Click to collapse
paulwollf said:
Will you Provide roms and recoveries?
Sent from my GT-I8730 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I can make a kernel for you guys but I will need testers for that. Interested guys can PM me.
But first wait for Sony to release kernel source for this device.

Shivam Kuchhal said:
I can make a kernel for you guys but I will need testers for that. Interested guys can PM me.
But first wait for Sony to release kernel source for this device.
Click to expand...
Click to collapse
I thought oft buying this phone but whrn i saw that Theres no development i changed my decision and lokking for another device
Sent from my GT-I8730 using XDA Premium 4 mobile app

paulwollf said:
I thought oft buying this phone but whrn i saw that Theres no development i changed my decision and lokking for another device
Sent from my GT-I8730 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Wait for some time.devlopment starts slowly.

dipesh1502 said:
Wait for some time.devlopment starts slowly.
Click to expand...
Click to collapse
Anyone who can provide (official) Roms?
Sent from my GT-I8730 using XDA Premium 4 mobile app

paulwollf said:
Anyone who can provide (official) Roms?
Sent from my GT-I8730 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
U mean to say stock rom.??theres no recovery right now.wait for the OP to make a kernel with recovery.

Ok
Sent from my GT-I8730 using XDA Premium 4 mobile app

paulwollf said:
Ok
Sent from my GT-I8730 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Once the recovery is ready i will try to build some roms.but i dont have the device.hope i can find a good tester.

dipesh1502 said:
Once the recovery is ready i will try to build some roms.but i dont have the device.hope i can find a good tester.
Click to expand...
Click to collapse
If i get one i can test
What are requirements for a "good" tester?
Sent from my GT-I8730 using XDA Premium 4 mobile app

paulwollf said:
If i get one i can test
What are requirements for a "good" tester?
Sent from my GT-I8730 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Haha gud question.
I am searching for this
-Having unlocked bl
-tester has good internet connections
-Willing to flash rom and to tackle bootloops
-Having whatsapp

dipesh1502 said:
Haha gud question.
I am searching for this
-Having unlocked bl
-tester has good internet connections
-Willing to flash rom and to tackle bootloops
-Having whatsapp
Click to expand...
Click to collapse
Is 50 Mbit good?
Sent from my GT-I8730 using XDA Premium 4 mobile app

paulwollf said:
Is 50 Mbit good?
Sent from my GT-I8730 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Haha too good...hope u have whatsapp

dipesh1502 said:
Haha too good...hope u have whatsapp
Click to expand...
Click to collapse
Yes i habe but im afraid oft sharing my Nr with people i talk for the first time especially from other countries
Dont und er stand that wrongly please
Sent from my GT-I8730 using XDA Premium 4 mobile app

paulwollf said:
Yes i habe but im afraid oft sharing my Nr with people i talk for the first time especially from other countries
Dont und er stand that wrongly please
Sent from my GT-I8730 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Aw sad
Ya i understand it rightly

dipesh1502 said:
Aw sad
Ya i understand it rightly
Click to expand...
Click to collapse
There is also xda pm
Sent from my GT-I8730 using XDA Premium 4 mobile app

paulwollf said:
There is also xda pm
Sent from my GT-I8730 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yeah but whatsapp becomes convinient.pm is a bit uncomfortable for me

dipesh1502 said:
Yeah but whatsapp becomes convinient.pm is a bit uncomfortable for me
Click to expand...
Click to collapse
Facebook messenger?
Sent from my GT-I8730 using XDA Premium 4 mobile app

Related

[Kernel] SELinux Permissive and allow ADB to run as root On KitKat XXUENA6

Hello
This kernel, is the kernel stock of XXUENA6, modified just to set SELinux permissive and allow adb to run as root.
Download:
http://www.mediafire.com/download/iy5bkg3kb9dm208/kernel_sapec.zip
Flash it, in custom recovery.
If necessary i can provide a .tar for Odin
Credits:
akshizzle
zamcum said:
Hello
This kernel, is the kernel stock of XXUENA6, modified just to set SELinux permissive and allow adb to run as root.
Download:
http://www.mediafire.com/download/iy5bkg3kb9dm208/kernel_sapec.zip
Flash it, in custom recovery.
If necessary i can provide a .tar for Odin
Credits:
akshizzle
Click to expand...
Click to collapse
First! very good. Can you also provide stock kitkat kernel?
EDIT: In setting, it does not show permissive status. Is it normal?
IzArsha said:
First! very good. Can you also provide stock kitkat kernel?
Click to expand...
Click to collapse
surely:
http://www.mediafire.com/download/g55k77456qs4qhd/kernell_stock.zip
EDIT:
I dont know where is the information present in "Settings" but its not in the kernel, maybe in build.prop...
You can try with your pc, and check if you get Adb connection
Can u modify the kernel so the n900t and the n900w8 and the n900a can use it
Sent from my SM-N900T using XDA Premium 4 mobile app
I can already get adb connection with root with stock kernel and rooted polish official kitkat rom. So....
Sent from my SM-N9005 using XDA Premium 4 mobile app
Wow!! The first kitkat kernel!! Does this mean the source from sammy is already out!!
Sent from my SM-N9005 using xda app-developers app
mateenf said:
Wow!! The first kitkat kernel!! Does this mean the source from sammy is already out!!
Sent from my SM-N9005 using xda app-developers app
Click to expand...
Click to collapse
Nop. There are no sources yet
The changes, are only in ramdisk. Sources are not necessary for this.
antt00 said:
I can already get adb connection with root with stock kernel and rooted polish official kitkat rom. So....
Sent from my SM-N9005 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
It's for Permissive status on SELinux. If you have nothing good to say how about you don't say anything at all? Or you read the actual OP before you make a stupid remark!
zamcum said:
Hello
This kernel, is the kernel stock of XXUENA6, modified just to set SELinux permissive and allow adb to run as root.
Download:
http://www.mediafire.com/download/iy5bkg3kb9dm208/kernel_sapec.zip
Flash it, in custom recovery.
If necessary i can provide a .tar for Odin
Credits:
akshizzle
Click to expand...
Click to collapse
Thank you for this, thanks button mashed!
Sent from my SM-N9005 using XDA Premium 4 mobile app
radicalisto said:
It's for Permissive status on SELinux. If you have nothing good to say how about you don't say anything at all? Or you read the actual OP before you make a stupid remark!
Sent from my SM-N9005 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Did you also read the part in the op "to allow adb connection with root" or you didn't read it either.
For me that is already available with the stock kernel and was just wondering what the op meant by it.
Sent from my SM-N9005 using XDA Premium 4 mobile app
no fastboot connection
tried this kernel in the hope that fastboot get access to the phone.
but it wont work, do you have any solutions for this?
al needed drivver are installed but i couldn´t access the phone by fastboot
Mguttsche said:
tried this kernel in the hope that fastboot get access to the phone.
but it wont work, do you have any solutions for this?
al needed drivver are installed but i couldn´t access the phone by fastboot
Click to expand...
Click to collapse
Hello
If i have some free time, tomorrow i try the fastboot in new version.
If you want, you can get it:
http://www.htcmania.com/showthread.php?t=765737
This one have some fix's and Faux Sound
zamcum said:
Hello
If i have some free time, tomorrow i try the fastboot in new version.
If you want, you can get it:
http://www.htcmania.com/showthread.php?t=765737
This one have some fix's and Faux Sound
Click to expand...
Click to collapse
Thanks in advance
Sent from my SM-N9005 using XDA Premium 4 mobile app
Any progress with the new version?
Sent from my SM-N9005 using XDA Premium 4 mobile app
Hi. Can anybody post the working link for this kernel for Note 3 SM-N9005 (hlte) 4.4 KitKat.
holfman.s said:
Hi. Can anybody post the working link for this kernel for Note 3 SM-N9005 (hlte) 4.4 KitKat.
Click to expand...
Click to collapse
Did you get the new link
joseph- said:
Did you get the new link
Click to expand...
Click to collapse
Hello,
Did anyone got it on 4.4.2?

New bootloader for open devices (now with real recovery)

Hi all,
I have a great news
http://developer.sonymobile.com/201...for-a-range-of-unlocked-xperia-devices-video/
Bootloader is compatible with open devices roms and also enables real recovery (Volume Down + Power)
to flash recovery partition on device you have to
fastboot flash recovery recovery.img
Happy Cooking
J
PS.
in case latest software does not appear just press "all Services"
flash latest software available and on top new loader
Just tested, and it works good.
Not having separated recovery is probably the thing that bothered me most in Sony development.
And can confirm PM on 3.10 is working now.
Thanks jerpelea!
When I download this recovery?
Sent from my Xperia M2 LTE using XDA Free mobile app
AssoDiPicche said:
When I download this recovery?
Sent from my Xperia M2 LTE using XDA Free mobile app
Click to expand...
Click to collapse
You pick a recovery you want yourself.
@jerpelea good news
Verstuurd vanaf mijn GT-I9505 met Tapatalk
How Can i verify bootloader version?
What's old one?
What's New one?
ImArlet said:
How Can i verify bootloader version?
What's old one?
What's New one?
Click to expand...
Click to collapse
Bootloader version you can see in EMMA after you plug in the phone, about certain versions, I don't know.
@galaxyfreak
I managed to flash New bootloader and then "recovery.img" on it!
So is that recovery stays there no matter what firmware/kernel i put on the phone?
ImArlet said:
@galaxyfreak
I managed to flash New bootloader and then "recovery.img" on it!
So is that recovery stays there no matter what firmware/kernel i put on the phone?
Click to expand...
Click to collapse
Yes!
@galaxyfreak
I dont really know who's make recovery'es but if you make
Can you make CWM because "CM Recovery" does not allow flash 3rd party zips!
ImArlet said:
@galaxyfreak
I dont really know who's make recovery'es but if you make
Can you make CWM because "CM Recovery" does not allow flash 3rd party zips!
Click to expand...
Click to collapse
I'll upload CM Recovery with signature checking disabled in a few hours.
To
galaxyfreak said:
I'll upload CM Recovery with signature checking disabled in a few hours.
Click to expand...
Click to collapse
Why "CM Recovery"?
CWM is all the time being the Best and popular recovery and have a backup option!
Maybe wrong thread to ask such questions?
ImArlet said:
To
Why "CM Recovery"?
CWM is all the time being the Best and popular recovery and have a backup option!
Maybe wrong thread to ask such questions?
Click to expand...
Click to collapse
It is a wrong thread but screw it.
Because I build CM ROMs and CM recovery is default there.
I do agree that they've dropped CWM way too early, but I think it's not compatible with 5.0 zip layout, so it's either this or TWRP (which is kind of an OmniROM thing).
No matching service for my phone
using D2305.
Any help?
Sent from my D2305 using Tapatalk
pradhana said:
No matching service for my phone
using D2305.
Any help?
Sent from my D2305 using Tapatalk
Click to expand...
Click to collapse
Only for lte single sim phones...
Sent from my D2403 using XDA Free mobile app
@galaxyfreak
Hello I like to ask you is the new recovery that you provided in your CM12.1 thread compatible with stock official kitkat roms?
I like to thank you for the work you put into to cm12.1 and previous versions.
and looking forward to the true recovery soon
HatchetEgg said:
@galaxyfreak
Hello I like to ask you is the new recovery that you provided in your CM12.1 thread compatible with stock official kitkat roms?
Click to expand...
Click to collapse
It should work.
@galaxyfreak
OK thanks for the reply. I have used the fastboot method to flash the recovery and found no change to that part of the system.
Just flashed new bootloader and yes: PM is working now with latest kernel/AOSP.
Thank you!!
Further testing will be done and posted in other M2 forums.
Konstantinosj77 said:
Only for lte single sim phones...
Sent from my D2403 using XDA Free mobile app
Click to expand...
Click to collapse
Well...
Thank you
Sent from my D2305 using Tapatalk

Can all versions of Xperia Z5 be rooted?

I'm going to buy a used Xperia Z5. To confirm, can ALL VERSIONS be rooted and have a custom recovery (such as TWRP) installed on them? It would be E6653 but not sure which country it is made in or designed for.
before buying just check for bootloader status by typing in the dialer app
*#*#service#*#* > Service info> Configuration
In this section it should be like this under
Rooting Status:
Booloader unlock allowed : yes
if its like that then you are good to go.
DeathStroke said:
before buying just check for bootloader status by typing in the dialer app
*#*#service#*#* > Service info> Configuration
In this section it should be like this under
Rooting Status:
Booloader unlock allowed : yes
if its like that then you are good to go.
Click to expand...
Click to collapse
so there's no way to root if it doesn't allow unlocking the bootloader?
xporj said:
so there's no way to root if it doesn't allow unlocking the bootloader?
Click to expand...
Click to collapse
No as of now.
Sent from my E6683 using Tapatalk
DeathStroke said:
No as of now.
Sent from my E6683 using Tapatalk
Click to expand...
Click to collapse
Does this apply to the Z5 premium as well?
lightningglasses said:
Does this apply to the Z5 premium as well?
Click to expand...
Click to collapse
Yes.
Sent from my E6683 using Tapatalk

Where to download European firmware?

Hello,
My Mate 9 is running C636B110 (Asia firmware) and I have just received BL unlock code.
After BL unlock (wipe), I would like to go for TWRP, Root & xposed too if available.
Where can I download latest full European firmware and can it be flash by fastboot or other methods?
read funky huawei and bootloader related threads!
hoyin007 said:
Hello,
My Mate 9 is running C636B110 (Asia firmware) and I have just received BL unlock code.
After BL unlock (wipe), I would like to go for TWRP, Root & xposed too if available.
Where can I download latest full European firmware and can it be flash by fastboot or other methods?
Click to expand...
Click to collapse
Are you request your unlock code from huawei? Thanks
Sent from my SM-N9208 using XDA-Developers mobile app
raychak said:
Are you request your unlock code from huawei? Thanks
Sent from my SM-N9208 using XDA-Developers mobile app
Click to expand...
Click to collapse
I did try it but Huawei Asia refuse to given unlock code. At the end I got the code from https://play.google.com/store/apps/details?id=unlock.boot.huawei&hl=en_GB
bonerp said:
read funky huawei and bootloader related threads!
Click to expand...
Click to collapse
I did but UK Virgin broadband Superhub cannot change DNS setting.
So I am asking any offline method.
Use a router between you and your ISP
hoyin007 said:
I did try it but Huawei Asia refuse to given unlock code. At the end I got the code from https://play.google.com/store/apps/details?id=unlock.boot.huawei&hl=en_GB
Click to expand...
Click to collapse
Same here, but the app you mentioned also failed to provide the unlock code for my Mate 9. What type of information need to provide to the app? Thanks
Sent from my SM-N9208 using XDA-Developers mobile app
raychak said:
Same here, but the app you mentioned also failed to provide the unlock code for my Mate 9. What type of information need to provide to the app? Thanks
Sent from my SM-N9208 using XDA-Developers mobile app
Click to expand...
Click to collapse
Nothing! Use the in App buttons to find IMEI & Serial no. Somehow the auto detect Serial is different than Sys info.
The code works as Bootloader show red Unlock message instead now.
hoyin007 said:
Nothing! Use the in App buttons to find IMEI & Serial no. Somehow the auto detect Serial is different than Sys info.
The code works as Bootloader show red Unlock message instead now.
Click to expand...
Click to collapse
The serial no detected automatically? Mine only detected the IMEI but no serial number... did you insertrd SIM card? Thanks
Sent from my SM-N9208 using XDA-Developers mobile app
raychak said:
The serial no detected automatically? Mine only detected the IMEI but no serial number... did you insertrd SIM card? Thanks
Sent from my SM-N9208 using XDA-Developers mobile app
Click to expand...
Click to collapse
Yes, I do have working sim card.
Just tried the TWRP, it can start successfully.
Next would be try cross flashing....
hoyin007 said:
I did but UK Virgin broadband Superhub cannot change DNS setting.
So I am asking any offline method.
Click to expand...
Click to collapse
Just change the setting on your adaptor on the pc as my home hub 5 i can not change dns either this way worked for me

Help Unlocking bootloader

Hi there
I want to unlock my bootloader and I tried through sony's website but I could not succeed.
How can I unlock it without sony's guiding website and installing Android Studio.
Any help plz?
Hello Billabomb75
First check if you can unlock your bootloader by entering *#*#7378423#*#* in the Phone app.
Then click service info and then click on configuration.
Under rooting status it should say bootloader unlock allowed to unlock the bootloader.
If it says bootloader unlock not allowed you cannot unlock your bootloader.
Sent from my Sony Xperia M2 using XDA Labs
sieghartRM said:
Hello Billabomb75
First check if you can unlock your bootloader by entering *#*#7378423#*#* in the Phone app.
Then click service info and then click on configuration.
Under rooting status it should say bootloader unlock allowed to unlock the bootloader.
If it says bootloader unlock not allowed you cannot unlock your bootloader.
Sent from my Sony Xperia M2 using XDA Labs
Click to expand...
Click to collapse
Please see the link
I just dont get how to unlock my bootloader
https://imgur.com/a/AtgjN
Billabomb75 said:
Please see the link
I just dont get how to unlock my bootloader
https://imgur.com/a/AtgjN
Click to expand...
Click to collapse
If you would like to backup your TA partition for warranty then check this forum https://forum.xda-developers.com/showthread.php?t=2292598.
The first thing to do to unlock your bootloader is to go to this https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/ website and choose your device, then after clicking continue you will need to enter your email for a confirmation email and tick agree to terms and conditions and click submit.
After opening the link in the confirmation email it will ask for IMEI which you should enter in and tick the two agree to terms and conditions and click submit.
Now check your email again it should have the unlock code for your device.
Finally launch flashtool and click on unlock icon, then connect device in fastboot mode( if connected then disconnect phone from PC, power off device, while pressing volume up button connect your phone to your PC), now it should ask you for your unlock code which you can copy and paste from the email Sony sent you and then click unlock.
This should unlock your bootloader.
Sent from my Sony Xperia M2 using XDA Labs
sieghartRM said:
If you would like to backup your TA partition for warranty then check this forum https://forum.xda-developers.com/showthread.php?t=2292598.
The first thing to do to unlock your bootloader is to go to this https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/ website and choose your device, then after clicking continue you will need to enter your email for a confirmation email and tick agree to terms and conditions and click submit.
After opening the link in the confirmation email it will ask for IMEI which you should enter in and tick the two agree to terms and conditions and click submit.
Now check your email again it should have the unlock code for your device.
Finally launch flashtool and click on unlock icon, then connect device in fastboot mode( if connected then disconnect phone from PC, power off device, while pressing volume up button connect your phone to your PC), now it should ask you for your unlock code which you can copy and paste from the email Sony sent you and then click unlock.
This should unlock your bootloader.
Sent from my Sony Xperia M2 using XDA Labs
Click to expand...
Click to collapse
Which Flashtool should I use ??
Can you give me a link please?
Billabomb75 said:
Which Flashtool should I use ??
Can you give me a link please?
Click to expand...
Click to collapse
Download the flashtool from here http://www.flashtool.net/downloads.php.
Sent from my Sony Xperia M2 using XDA Labs
sieghartRM said:
Download the flashtool from here http://www.flashtool.net/downloads.php.
Sent from my Sony Xperia M2 using XDA Labs
Click to expand...
Click to collapse
Gonna give it a try thanks
I've tried the flashtool method and it tells me to install drivers in the flashtool drivers.
I did install the drivers but it keep failing.
Billabomb75 said:
I've tried the flashtool method and it tells me to install drivers in the flashtool drivers.
I did install the drivers but it keep failing.
Click to expand...
Click to collapse
Odd do you have windows 10?
Sent from my Sony Xperia M2 using XDA Labs
sieghartRM said:
Odd do you have windows 10?
Sent from my Sony Xperia M2 using XDA Labs
Click to expand...
Click to collapse
Yes ive been using windows 10 since Jan 2016 but recently got a ssd so its weird that drivers wont install
Billabomb75 said:
Yes ive been using windows 10 since Jan 2016 but recently got a ssd so its weird that drivers wont install
Click to expand...
Click to collapse
Check out speedy56 reply in this thread https://forum.xda-developers.com/showthread.php?p=62325666. It may help with your drivers not installing problem.
Sent from my Sony Xperia M2 using XDA Labs
Billabomb75 said:
Yes ive been using windows 10 since Jan 2016 but recently got a ssd so its weird that drivers wont install
Click to expand...
Click to collapse
sieghartRM said:
Check out speedy56 reply in this thread https://forum.xda-developers.com/showthread.php?p=62325666. It may help with your drivers not installing problem.
Sent from my Sony Xperia M2 using XDA Labs
Click to expand...
Click to collapse
Hi just want to thank you, I finally unlocked bootloader and loaded a diffrent Rom thanks a mill

Categories

Resources