[Tutorial] Xperia Z2 Tablet Bootloader Unlocking/Relocking - Xperia Z2 Tablet Android Development

Quick tutorial for unlocking & relocking the bootloader of the Xperia Z2 Tablet
this is the official way to unlock bootloader
WARNING!
MAKE TA BACKUP BEFORE UNLOCKING BOOTLOADER!
​
if you want to backup the TA or keep ur DRM keys,first root the device and then check this out
Warning!
This procedure will wipe the /data partition of your tablet, so you will loss all ur stored data, settings. SDCARD will BE WIPED!!!
For Xperia™ devices released 2013 or later (for example Xperia™ Z and Xperia™ ZL), the SD card of your device will be formatted and you will lose all content (for example photos, music, videos) when you unlock the boot loader.
Click to expand...
Click to collapse
DRM keys WILL be lost forever
schaggo said:
I'd add what losing DRM keys means, e.g. no more Music ID/Gracenote within the Walkman app plus probably most importantly, as asked all the time and all over the place in the T/mint forums: loss of Bravia Engine.
Click to expand...
Click to collapse
older Xperia devices sometimes got issues after unlock of bootloader (BRICK after FOTA update) - you have been warned
why to unlock bootloader?
u can flash custom ROMs/Kernels
u dont need to worry if the new firmware can be rooted or not as with unlocked bootloader u can always ROOT ur device
Sony gives sneak-peaks/preview builds of latest OS which requires unlocked bootloaders, as they did with Xperia 2011/2012 line, so who knows may be Sony may give early builds of next android OS
Most of this is taken from lollylost100's his tutorial from ARC thread (all credits for that concise tutorial go to him, i have elaborated on a few things and added device specific changes)
btw i dont have this device, most of this testing was done remotely on a users phone... so thanks a lot to him for helping out!!!
[ before we begin unlocking bootloader ]
download the fastboot package
IMPORTANT: if you are using Windows 8 you will need to enable few things to allow driver installation
download the latest FlashTool Xperia Driver Pack and install fastboot drivers (common) & adb drivers for this device from the list!
make sure u have a windows PC with USB cable to connect the phone
power down ur tablet and keeping the Volume Up button pressed connect the USB cable to PC this will trigger FASTBOOT mode and windows will start driver installation, which should be automatically done
once drivers are installed just disconnect cable and power on device
[ how to unlock ] (official way)
Go to: http://unlockbootloader.sonymobile.com/ and read everything!
At the bottom click 'Start Unlocking the Bootloader'
First, you should confirm that it is possible to unlock the boot loader of your tablet by checking the service menu. On your tablet, open the dialler and enter *#*#7378423#*#* to access the service menu.
In your phone, tap Service info > Configuration > Rooting Status. If Bootloader unlock allowed says Yes, then you can continue with the next step. If it says No, or if the status is missing, your device cannot be unlocked.
Click to expand...
Click to collapse
after u have verified that u can unlock bootloader, scroll to the bottom of the page and click "Continue"
you will get numerous prompts, read all info and if u agree click on "Accept"/"OK"/"Proceed"
finally u will get a "Create Unlock request" page, enter your IMEI (sometimes the last digit needs to be removed for this to work), name and email address
You should now receive your unique unlock key via EMAIL, SAVE THIS KEY SAFELY
Extract fastboot_with_Android_USB_file.rar and open fastboot folder
Hold SHIFT and right click on the background of the folder
Select 'Open command window here'
Connect your tablet in fastboot mode (turn phone off, hold Volume UP button and plug in USB Cable) [make sure drivers are installed as explained above)
In the cmd windows type in fastboot.exe -i 0x0fce getvar version
If a value is returned (it will return 0.5), it means the tablet is correctly connected
Type in fastboot.exe -i 0x0fce oem unlock 0xKEY and replace KEY with the key which u received earlier.
You're device should now be bootloader unlocked
If this tutorial is too much for you then itskapil wrote a step-by-step guide (and recorded a video also):
-Instructions: http://www.theandroidsoul.com/how-to-unlock-bootloader-xperia-arc-play-neo-pro/
-Video: http://www.youtube.com/watch?v=LRH3pC7MhEA
(the above videos and some steps are for Xperia 2011 devices, but most the steps are same for Xperia Z)
Relock procedure is posted here
regards,
DooMLoRD

Relocking bootloader
With the latest release of Flashtool it is now possible to relock bootloader.
Download the latest flashtool from:
http://forum.xda-developers.com/showthread.php?t=920746
Important
DO NOT USE ANY FTF TO RELOCK BOOTLOADER! THOSE OLD FTFs DO NOT WORK FOR THE 2013 DEVICES!!!
before u relock bootloader u have to be on pure stock kernel (flash only the kernel.sin using flashtool), else the device WILL NOT BOOT after relock
Steps:
now start Flashtool and click on BLU button
u will be asked to connect device in flashmode
once u connect the device u will get a prompt to "Relock"
click on it and when prompted disconnect the device
Want to UNLOCK again after relocking? read this!

Obviously since we must unlock to root, no TA backup can bedone...

Diomorgan said:
Obviously since we must unlock to root, no TA backup can bedone...
Click to expand...
Click to collapse
Asking or telling..........either way, correct. TA needs root, to get root you need to unlock lol

Mikey said:
Asking or telling..........either way, correct. TA needs root, to get root you need to unlock lol
Click to expand...
Click to collapse
I'm confused now.....

Pondy said:
I'm confused now.....
Click to expand...
Click to collapse
No TA backup can be done, the guide is the same of Z1 that can be rooted withouth unlock.

Pondy said:
I'm confused now.....
Click to expand...
Click to collapse
It is very confusing indeed. In other words it actually says, do not unlock yet. Wait for an exploid to be found and released so you can root without unlocking the bootloader. Then you can safely make an TA backup, and then safely unlock the bootloader. If you unlock now, your warranty is void.
Sent from my SGP511 using XDA Free mobile app

When a root exploit is found, unlocking the bootloader or backing up TA is not necessary anymore. (Except if one wants to install a custom ROM or custom kernel.)

Yes, but that's why we here. To install custom roms and kernels I mean..
Sent from my LT26i using XDA Free mobile app

dumbl3 said:
Yes, but that's why we here. To install custom roms and kernels I mean..
Sent from my LT26i using XDA Free mobile app
Click to expand...
Click to collapse
OK thanks for clarifying that! I figured that was the case. And yes thats why I'm here, custom rom! This thing would rock with Slimkat or something similar (if it ever gets ported).

For all those who worry about unlocking I would like to cite Doomlord from the Z2 phone CWM recovery thread:
Dont worry I have been on unlocked Bootloader on all my Xperia phones and honestly there is no functionality that I missed.
Click to expand...
Click to collapse
This!
(Yes, I know, the warranty, blah... )

dumbl3 said:
Yes, but that's why we here. To install custom roms and kernels I mean..
Sent from my LT26i using XDA Free mobile app
Click to expand...
Click to collapse
Actually I have customs on all my device, but on z1 (same for z2) never needed one, just root and exposed framework+adaway.
About unlocking, as far as I know the only "useful feature" you will disable should be the bravia engine.

Bravia Engine (or X-Reality) is not "useful", it's just oversaturating and exaggerating colors in an unnatural way. A feature for noobs, just like "Beats Audio" is a bass-booster for music-unsensible juvenile oomph-oomph listeners.
So it can easily be discarded without ever looking back.

hasenbein1966 said:
Bravia Engine (or X-Reality) is not "useful", it's just oversaturating and exaggerating colors in an unnatural way. A feature for noobs, just like "Beats Audio" is a bass-booster for music-unsensible juvenile oomph-oomph listeners.
So it can easily be discarded without ever looking back.
Click to expand...
Click to collapse
i agree on that but it voids your warranty.
Im not saying we should all wait till your warranty is over, but at least fully test your device before making a irrational decision, dead pixels, speakers, loose corners (have had 2 devices with that problem), waterproof test, etc...

LitoNi said:
i agree on that but it voids your warranty.
Im not saying we should all wait till your warranty is over, but at least fully test your device before making a irrational decision, dead pixels, speakers, loose corners (have had 2 devices with that problem), waterproof test, etc...
Click to expand...
Click to collapse
True, last thing you want is to void the warranty and find out something covered by it goes bad. I can wait. This baby is running nice so far. Dont need custom rom, but im missing that root!!

SD card write
Is anyone else having issue to write to external sdcard ?

nizammoidu said:
Is anyone else having issue to write to external sdcard ?
Click to expand...
Click to collapse
That's the new rule implemented in kit kat, not Sony's fault.
This problem can be solved if root is available
Sent from my C6603 using XDA Premium 4 mobile app

what s that rule? I have been using kitkat with omni since it released in note 2 nd hammerhead. initially it had issues with selinux, then i wrote a patch to omni source as well. but here selinux is not the bad guy I suspect something to QUCOMSEC nd drm keys. l have root, can u give me pointer to fixes. This s my first sony device so I have idea, Thank u

nizammoidu said:
what s that rule? I have been using kitkat with omni since it released in note 2 nd hammerhead. initially it had issues with selinux, then i wrote a patch to omni source as well. but here selinux is not the bad guy I suspect something to QUCOMSEC nd drm keys. l have root, can u give me pointer to fixes. This s my first sony device so I have idea, Thank u
Click to expand...
Click to collapse
custom roms probably already coded it, thats why you didnt encounter the problem. Explanation of the problem can be found here provided by the OP.
If you have root already you can try both of the following,
*please note that Ive tried the xposed module on my Xperia Z running stock kit kat not Z2.
**please note, back up your stuff before proceeding, just incase something goes wrong and wipes your files.
[XPOSED] HandleExternalStorage requires Xposed framework installed. I am currently running this module and working fine.
[Playstore] SDFix: KitKat Writable MicroSD this was suggested by kingvortex in another thread, havent tried it yet, but the reviews seem to suggest it works.

hasenbein1966 said:
Bravia Engine (or X-Reality) is not "useful", it's just oversaturating and exaggerating colors in an unnatural way. A feature for noobs, just like "Beats Audio" is a bass-booster for music-unsensible juvenile oomph-oomph listeners.
So it can easily be discarded without ever looking back.
Click to expand...
Click to collapse
Sorry - but I just have to add my own experience as a "noob".
First: I gave that X-Reality thing a deeper check; I had two Z2 tablets for simultaneously checking how HD videos look with and without that X-Reality feature.
I usually dislike all kinds of "enhancers", whether for audio or video enhancement. First things to switch off.
But I have to admit: X-Reality really works. The Z2 with the feature on produced a far more lively, absorbing experience. It's hard to tell what exactly makes the difference, it's just there. Among other videos, I used the famous Samsung "build-a-helicopter" video for comparison. Contrasts were better, details improved a bit, colors got slightly accentuated, became deeper. The slightly oversaturated color reproduction of the Z2 of course is there - but with and without X-Reality.
In short: Videos were just more fun and pleasant to the eye.
Best of all: You can switch it off; but you don't want to.
To be honest: X-Reality is THE feature preventing me from rooting the Z2 now. I don't care for DRM keys, I don't care for a true-to-life color rendition. But I care for pictures and videos looking simply better.
Quite lenghty explanation - but I guess this is an issue to consider prior to unlocking your bootloader and waving X-Reality goodbye forever.
Second: Beats Audio is a bit more than a "bass-booster for music-unsensible juvenile oomph-oomph listeners".
I seem to be a 45 years old "music-unsensible" listener. In fact, I am a former professional musician, knowing just a bit about sound.
I don't see anything wrong with utilizing software techologies to overcome some of the acoustic issues tiny smartphone or tablet loudspeakers suffer of. It's not just about creating that "oomph-oomph" redneck sound; it's about compensating the shortcomings of problematic speaker setups.
That's what devices like HTCs One clearly demonstrated.
I'd be quite happy if our Z2 had anything similar to offer. :/
So please try to be a bit more reluctant if it comes to demonizing modern features not everybody may like, but which will be gone forever if you go the hasty way.

Related

Root XPS (63 & 67 FW) [Update: 20.03.12]

For unlocked bootloaders only!
Please use the recovery now to root any firmware!
http://forum.xda-developers.com/showthread.php?t=1596285
Just flash the SuperSU cwm zip with recovery and your phone will be rooted. To download SuperSU visit this thread:
http://forum.xda-developers.com/showthread.php?t=1538053
Regards
Bin4ry said:
For unlocked bootloaders only!
Download:
http://eddy.uni-duisburg.de/bin4ry/system_xps_prerooted_63fw.img
Connect device in fastboot mode (blue LED).
Open Command prompt and type:
fastboot flash system system_xps_prerooted_63fw.img
This will give you root immediatly after reboot!
A nicer way will come soon. But this should solve first problems
Regards
Click to expand...
Click to collapse
ERRRR u beat me to it
Cholek3 said:
Guys, you're asolutely f***ing amazing. Congrats.
Do you mean Command prompt in ADB or windows?
Click to expand...
Click to collapse
In Windows command prompt. But ou need fastboot installed.
This is only fist shot. If you dont know really what im talking about, then please wait for another image with good instructions
Jozinek said:
I can confirm, that it work, many thanks.
Edit - it work, but i cant downloads anything from Market, so back to stock version without root. Will wait on new kernel
Click to expand...
Click to collapse
If you get market problems go ot Settings -> Apps -> ... -> Search for the market in the list and then delete Data of the App. After that all will work fine.
Regards
Bin4ry said:
In Windows command prompt. But ou need fastboot installed.
This is only fist shot. If you dont know really what im talking about, then please wait for another image with good instructions
Click to expand...
Click to collapse
I know roughly what you are talking about. I know command prompt, although I never used fastboot, as I only owned X10 (until I dropped it and USB port snapped ), so never had to/wanted to unlock bootloader this way. But I want to learn, that's why I am reading all this now, and I need to ask about something I am not sure of.
Just go through the unlock bootloader process and then you will know what fastboot is
After that just type my comamnd with my file in the same directory and you will be done.
Regards
If I were you I would wait till I get ICS on the phone then unlock the bootloader and root the phone.
Quick question. It just wonders me. Sony "supports" unlocking bootloader, which is more dangerous than root. Why rooting is not supported then? Is it because we could unistall third party aplications and Sony has some sort of agreements with them and are obligated by law?
Cholek3 said:
Quick question. It just wonders me. Sony "supports" unlocking bootloader, which is more dangerous than root. Why rooting is not supported then? Is it because we could unistall third party aplications and Sony has some sort of agreements with them and are obligated by law?
Click to expand...
Click to collapse
No you are getting the idea wrong
Long ago we discussed alot with SonyEricsson and together decided this is the best way of doing it.
The reason is simple:
Rooting alone does not give you access to all partitions etc. pp See X10 Forums for that. Sony is very good in hiding partitions
With a bootloader unlock we get fully workable fastboot. We are able to write all partitions and change what we want. (Root too)
Also Sony(Ericsson) is able to track who unlocks and who not AND is able to provide a check mechanism to forbid unlocking of phones which are not owned by the user (for example provider branded phones in contract, the phone is usually property of the provider).
So this is the reason. Unlocked bootloader gives us nearly full access, so no need to worry I am in this game since X10 times (like you or not ?)and we always got the phones working like we wanted.
Our work for CM9 on XPS has started now too.
Regards
Bin4ry said:
No you are getting the idea wrong
Long ago we discussed alot with SonyEricsson and together decided this is the best way of doing it.
The reason is simple:
Rooting alone does not give you access to all partitions etc. pp See X10 Forums for that. Sony is very good in hiding partitions
With a bootloader unlock we get fully workable fastboot. We are able to write all partitions and change what we want. (Root too)
Also Sony(Ericsson) is able to track who unlocks and who not AND is able to provide a check mechanism to forbid unlocking of phones which are not owned by the user (for example provider branded phones in contract, the phone is usually property of the provider).
So this is the reason. Unlocked bootloader gives us nearly full access, so no need to worry I am in this game since X10 times (like you or not ?)and we always got the phones working like we wanted.
Our work for CM9 on XPS has started now too.
Regards
Click to expand...
Click to collapse
See, I was not aware of that "agreement". Now everything seems to make sense. I am android user since I bought X10 back in August 2010. I was more or less following XDA since then as well, but this forum is worldwide community and is almost imposible to keep a track on everything. I would consider myself somewhere between rookie and advanced users. I know how to do certain things (root, how to use ADB, I was changing framwork_res.apk for my own purposes, etc.). My point also is, I am more hardware sort of guy, rather than software. That's why I am glad you guys are here with us.
Will this wipe the phone data or only the system partition ?
Cholek3 said:
My point also is, I am more hardware sort of guy, rather than software. That's why I am glad you guys are here with us.
Click to expand...
Click to collapse
Hehe no problem. I'm hardware and software guy
gbil said:
Will this wipe the phone data or only the system partition ?
Click to expand...
Click to collapse
Well no. But the first step is that you need to unlock bootloader and THIS WILL wipe your data. To flash the systempartition itself will not wipe userdata.
Cholek3 said:
Yes, I agree. But myself, I will wait for root for phones with locked bootloader as well. I assume I will be happy with phone speed, but when CM9 comes out, then I will consider unlockin bootloader.
Click to expand...
Click to collapse
Your choice, i hope too that we will get a nice exploit again soon. But i personally have to time to work on an exploit.
Regards
3Shirts said:
Screw that! There are too many useful reasons for root. My motto:
Got android? Get root!
Click to expand...
Click to collapse
True that, after I heard that you can lock back the bootloader and update it via SEUS or PCC, I'm so gonna root it and true again.
thanks sir at all
every thing is ok bootloader is unlocked now and root is ok
just i face a problem when i restored 340 (programs+games) through titanium backup pro ...... and when opening just only setting application my phone force close setting menu .......i dont know why although i still have 330 mb free in app
thanks in advanced
hasan_abeer said:
thanks sir at all
every thing is ok bootloader is unlocked now and root is ok
just i face a problem when i restored 340 (programs+games) through titanium backup pro ...... and when opening just only setting application my phone force close setting menu .......i dont know why although i still have 330 mb free in app
thanks in advanced
Click to expand...
Click to collapse
So you restored with Titanium. Since Titanium is a Root app and you don't had Root before i think you are trying to restore a backup from another phone.
If you do that you have to assure that you ONLY RESTORE APPS and NOT SETTINGS! Settings from another phone will be most likely incompatible.
So this wil be your problem!
Regards
Bin4ry said:
So you restored with Titanium. Since Titanium is a Root app and you don't had Root before i think you are trying to restore a backup from another phone.
If you do that you have to assure that you ONLY RESTORE APPS and NOT SETTINGS! Settings from another phone will be most likely incompatible.
So this wil be your problem!
Regards
Click to expand...
Click to collapse
thanks sir i do so restore app+data from samsung galaxy note ........what is the best way to restore :
could i reset my phone through setting+pivacy+factory data reset without affecting root or i must reflash this rom in order to save root
thanks again for your hard job
rgrds
hasan_abeer said:
thanks sir i do so restore app+data from samsung galaxy note ........what is the best way to restore :
could i reset my phone through setting+pivacy+factory data reset without affecting root or i must reflash this rom in order to save root
thanks again for your hard job
rgrds
Click to expand...
Click to collapse
Restore only Apps in Titanium not Data! If you factory reset the phone root is still there
Regards
does the super one click work after bootloader unlocked?
unic0de said:
does the super one click work after bootloader unlocked?
Click to expand...
Click to collapse
I don't think it will, otherwise somebody would already confirmed that I think. At the moment the only way is to flash appropriate firmware (only with unlocked bootloader).
Thread cleaned guys.
Constructive posts only, if you want to say thanks then hit the thanks button.
to whom it concern for call recorder over this rom works like a charm both sides very clear and great loud
just use callrecorder by SKVALEX(green color) from market with choosing recording calls from kernel with 2 way recording patch(root required) option
+wav format
enjoy my friends
great thanks to mr Bin4ry for rooting rom
rgrds

Unlock Bootloader

How to unlock bootloader on Sony Xperia M5.
How to unlock bootloader
1.In http://developer.sonymobile.com/unlockbootloader/ choose Sony Xperia M2.
2.Submit Email
3.Submit IMEI
4.And unlock bootloader with intruction.
You get the code? Then we continue.
Download the latest version here or Flashtool http://www.flashtool.net/downloads.php
After installation, go the path C: \ Users \ username \ .flashTool \ registeredDevices here and create a folder with the code-name of your machine (you can find out if flashtool click on BLU and see where in the log are in line «Current device» for example, in line 09/045/2015 23:45:08 - INFO - Current device: C2104 - AB100C2DE3 - 1272-4136_R5B - 1269-5420_15.3.A.1.17 - WORLD-a_15.3.A.1.17 code machine will AB100C2DE3. Code which will write your name and location).
Later in this folder, create a text file and name it «ulcode» (without the quotes). Open, and in it write your unlock code, that you have on the site Sony. Save. Write code very carefully.
Now open flashtool and press the BLU. If everything is correct, in line you should write your code, pressing unlock. All should be ready to unlock.
Working on:E5633
I am not responsible for the broken device. Whatever you do, you do at your own risk
After unlocking bootloader will void the warranty
I forgot write. I get unlock code with my IMEI.
Interesting, I checked my Rooting Info as per the guide and it does say allowed.
I think giving Sony my IMEI will potentially void my warranty claims? Let me think about it.
ykphuah said:
Interesting, I checked my Rooting Info as per the guide and it does say allowed.
I think giving Sony my IMEI will potentially void my warranty claims? Let me think about it.
Click to expand...
Click to collapse
I think, in service centre check bootloader. If bootloader not unlocked, warranty is valid.
This method is working also on M5 dual, 6533
But the next step should be how to gain the root =)
---------- Post added at 03:19 PM ---------- Previous post was at 03:15 PM ----------
ykphuah said:
Interesting, I checked my Rooting Info as per the guide and it does say allowed.
I think giving Sony my IMEI will potentially void my warranty claims? Let me think about it.
Click to expand...
Click to collapse
Probably no.
You could reLock your device from flashtool simply, before visiting the service center.
vsm778 said:
This method is working also on M5 dual, 6533
But the next step should be how to gain the root =)
---------- Post added at 03:19 PM ---------- Previous post was at 03:15 PM ----------
Probably no.
You could reLock your device from flashtool simply, before visiting the service center.
Click to expand...
Click to collapse
Maybe 5633 ?
DukeMcWood said:
Maybe 5633 ?
Click to expand...
Click to collapse
yep, you're right, thanks
hello guys. when you unlock bootloader, can you than record 4k video in H.264 not H.265 and upload it to youtube?
vsm778 said:
This method is working also on M5 dual, 6533
Probably no.
You could reLock your device from flashtool simply, before visiting the service center.
Click to expand...
Click to collapse
Yes, you can relock your bootloader with Flash Tool but your DRM keys are gone forever, proprietary Sony features won't work even after relocking...
Also, it's veeeeeery unlikely, but they may check if your DRM keys still exist in Sony Service Center, in case they don't find them they'll know you've unlocked your bootloader...
How about port TWRP or CWM on Xperia M5 ? If we port recovery, we can get root.
mbc07 said:
Yes, you can relock your bootloader with Flash Tool but your DRM keys are gone forever, proprietary Sony features won't work even after relocking...
Also, it's veeeeeery unlikely, but they may check if your DRM keys still exist in Sony Service Center, in case they don't find them they'll know you've unlocked your bootloader...
Click to expand...
Click to collapse
I think there's a way to do it by backing up the TA partition. That's how Sony Xperia Z1 started. We root, unlock bootloader, backup TA and when we relock, we can actually restore the TA and DRM key
firdyRAY said:
I think there's a way to do it by backing up the TA partition. That's how Sony Xperia Z1 started. We root, unlock bootloader, backup TA and when we relock, we can actually restore the TA and DRM key
Click to expand...
Click to collapse
Err, no. To preserve your DRM keys you need a way to root without unlocking the bootloader (e.g. using an exploit), then you make a backup of your TA partition which will contain your DRM keys. If you unlocked your bootloader without a taking a TA backup first, your DRM keys are gone forever, even if you root your device afterwards and make a backup of your TA partition you won't have any keys at all because they already were wiped when you unlocked the bootloader, this applies to any Sony device.
In other words, currently there's no way of unlocking M5 bootloader and keeping your DRM keys, the hope is Xperia Z5 series or other flagship devices, they draw attention of many developers and like what happened with Z2 and Z3, for example, locked bootloader users probably gonna start a bounty or some kind of incentive for a way to root the locked variant of those flagships, eventually they'll find an exploit that probably can be ported to other devices with less development activity, like Xperia M4/M5.
It's the cat-and-mouse game, new flagships are released, devs will research possible exploits to those new flagship devices and when one is found it's very likely to work with most devices released at the same time (and that probably are unpatched too). Also, in Sony devices, if you have root in one firmware version, you'll automatically have root in any new firmware too (using tools like PRFCreator or dd Flasher)...
(as record, towelroot, developed originally for Galaxy S5, could be used in a lot of Xperia devices from that time, and the Xperia Z3 exploit was successfully ported to Xperia E3 as well and could probably be used in similar devices released around the same time like Xperia C3 and others)
Thank you! What's the chance of the M5 properly supported by custom rom, like FreeXperia and CyanogenMod?
optionalmgrr.la said:
Thank you! What's the chance of the M5 properly supported by custom rom, like FreeXperia and CyanogenMod?
Click to expand...
Click to collapse
I dont know. But, I want port flyme os from meizu devices.
camping here to get notified of root asap..
DukeMcWood said:
How to unlock bootloader on Sony Xperia M5.
How to unlock bootloader
Click to expand...
Click to collapse
Hello Duke,
On Sonymobile page for M5 it is showing that it is due to update to Android 6.0 Marshmellow which is coming soon.
So what do you think? I heard root isnt possible on Android 6.0 , and if rooted they will make it hard for the users.
Is it going to be well? or Rooting is history?
p.s - When I asked a youtube user for the bootloader for M5, he said " root method has been out for months, it would be great if you can put Google to use. no offense". Is this true? whats going on?
thank you.
Ketansa said:
Hello Duke,
On Sonymobile page for M5 it is showing that it is due to update to Android 6.0 Marshmellow which is coming soon.
So what do you think? I heard root isnt possible on Android 6.0 , and if rooted they will make it hard for the users.
Is it going to be well? or Rooting is history?
p.s - When I asked a youtube user for the bootloader for M5, he said " root method has been out for months, it would be great if you can put Google to use. no offense". Is this true? whats going on?
thank you.
Click to expand...
Click to collapse
I dont know about 6.0, because i dont have 6.0. In the near future i maybe port recovery. But i dont have original recovery.img from Xperia M5 for port.
mbc07 said:
Err, no. To preserve your DRM keys you need a way to root without unlocking the bootloader (e.g. using an exploit), then you make a backup of your TA partition which will contain your DRM keys. If you unlocked your bootloader without a taking a TA backup first, your DRM keys are gone forever, even if you root your device afterwards and make a backup of your TA partition you won't have any keys at all because they already were wiped when you unlocked the bootloader, this applies to any Sony device.
In other words, currently there's no way of unlocking M5 bootloader and keeping your DRM keys, the hope is Xperia Z5 series or other flagship devices, they draw attention of many developers and like what happened with Z2 and Z3, for example, locked bootloader users probably gonna start a bounty or some kind of incentive for a way to root the locked variant of those flagships, eventually they'll find an exploit that probably can be ported to other devices with less development activity, like Xperia M4/M5.
It's the cat-and-mouse game, new flagships are released, devs will research possible exploits to those new flagship devices and when one is found it's very likely to work with most devices released at the same time (and that probably are unpatched too). Also, in Sony devices, if you have root in one firmware version, you'll automatically have root in any new firmware too (using tools like PRFCreator or dd Flasher)...
(as record, towelroot, developed originally for Galaxy S5, could be used in a lot of Xperia devices from that time, and the Xperia Z3 exploit was successfully ported to Xperia E3 as well and could probably be used in similar devices released around the same time like Xperia C3 and others)
Click to expand...
Click to collapse
That's very lengthy but good to know. Thank you!
Ketansa said:
Hello Duke,
On Sonymobile page for M5 it is showing that it is due to update to Android 6.0 Marshmellow which is coming soon.
So what do you think? I heard root isnt possible on Android 6.0 , and if rooted they will make it hard for the users.
Is it going to be well? or Rooting is history?
p.s - When I asked a youtube user for the bootloader for M5, he said " root method has been out for months, it would be great if you can put Google to use. no offense". Is this true? whats going on?
thank you.
Click to expand...
Click to collapse
Well i personally don't trust any advice from any other source except for XDA just to be safe because we the internet have too many smart alecks who know nothing and try to act smart by being sarcastic. So i guess the safest thing to do is to check on XDA for root methods and go through the forum to see if it works for others
Ketansa said:
p.s - When I asked a youtube user for the bootloader for M5, he said " root method has been out for months, it would be great if you can put Google to use. no offense". Is this true? whats going on?
thank you.
Click to expand...
Click to collapse
I don't think he have a rooted M5. Before we get root, we must unlock the bootloader first, and this is the part that is not done yet.
firdyRAY said:
That's very lengthy but good to know. Thank you!
Well i personally don't trust any advice from any other source except for XDA just to be safe because we the internet have too many smart alecks who know nothing and try to act smart by being sarcastic. So i guess the safest thing to do is to check on XDA for root methods and go through the forum to see if it works for others
Click to expand...
Click to collapse
Hello Thank you,
Yes you are right, may be he is being Sarcastic or some kind of adware developer for corporates.
Looking in XDA forums.

From Samsung to Sony and confused about Bootloader unlocking.

Im thinking of buying a Z5P and while i have searched a lot, i just cant seem to find the answer to a question i have maybe someone here can help. On Sonys developer website there is instructions on how to unlock the bootloader and the last line of the instructions are as follows, note the part in blue text.
Tap Service info > Configuration > Rooting Status. If Bootloader unlock allowed says Yes, then you can continue with the next step. If it says No, or if the status is missing, your device cannot be unlocked.[/B]
My question is how/where do i buy a Z5P that will definitely be Bootloader unlock allowed yes, surely its not just a case of random devices are unlockable is it? I was going to buy this from carphone its sim free so im expecting to be allowed to unlock the bootloader but dont want to buy it only to find i cant.
http://www.carphonewarehouse.com/phones/sony-xperia-z5-premium/handset?colourCode=BLACK
If the phone has no SIM lock, it's bootloader should be unlockable. I say "should" since I am not aware of other factors that keep the bootloader locked, but there might as well be.
On another note, unless you are a fairly advanced user and are set on flashing your device with a custom kernel, I would not recommend a bootloader unlock before root or an option to back up of TA becomes available.
It contains your device's DRM which gets irreversibly lost which makes your camera perform worse(BIONZ stops working), among other things.
CPW is the place to go for unlockable fones. I got my Z5P from there.
Sent from my SGP311 using XDA Free mobile app
As mentioned elsewhere, IN GENERAL (rare exceptions) - if it's SIM-unlocked it'll be bootloader-unlockable. If it's SIM-locked, the bootloader is almost guaranteed to be perma-locked.
While SIM locks and bootloader locks are technolgically independent, in the case of Sony devices (This rule of thumb can NOT be applied to any other manufacturer), SIMlocked devices have a permanent bootloader lock, devices sold without a SIM lock can have bootloader unlocked. Note that in the case of phones sold with a SIM lock that are later unlocked with a PIN - the bootloader lock is still disallowed.
Cheese for the replys everyone I got the phone from the carphone and its boot loader unlock allowed yes
I got the regular z5 instead though.
Hey, Dunno if I have an option or not, but my phone says Bootloader Unlock Allowed: No.
I imagine that it's a no, but is there any way to unlock the BL? If not I may consider swapping the Z5P out for something else, dunno if I can live without root
NJ72 said:
Hey, Dunno if I have an option or not, but my phone says Bootloader Unlock Allowed: No.
I imagine that it's a no, but is there any way to unlock the BL? If not I may consider swapping the Z5P out for something else, dunno if I can live without root
Click to expand...
Click to collapse
Try flashing another firmware through flashtool that is allowed.
KbaB.BroS said:
Try flashing another firmware through flashtool that is allowed.
Click to expand...
Click to collapse
Worth a punt, didn't think about that. The only concern is that Flashtool isn't supported for the Z5p according to Sony's site.
NJ72 said:
Worth a punt, didn't think about that. The only concern is that Flashtool isn't supported for the Z5p according to Sony's site.
Click to expand...
Click to collapse
As long as you use flashmode there is no need to be supported, because the program doesn't know which phone it is in that state. I flashed my Z5P once using flashtool about a week ago.
KbaB.BroS said:
As long as you use flashmode there is no need to be supported, because the program doesn't know which phone it is in that state. I flashed my Z5P once using flashtool about a week ago.
Click to expand...
Click to collapse
OK, cool, thanks.
Where do I get the firmware from for Flashtool? Can I flash something like AurRom using Flashtool?
Sorry for the idiot questions, but I haven't used Flashtool very much at all. Much more familiar with ODIN, ADB and flashing through recovery...
NJ72 said:
OK, cool, thanks.
Where do I get the firmware from for Flashtool? Can I flash something like AurRom using Flashtool?
Sorry for the idiot questions, but I haven't used Flashtool very much at all. Much more familiar with ODIN, ADB and flashing through recovery...
Click to expand...
Click to collapse
Install flashtool from "flashtool.net"
It comes bundled with Xperifirm where you can download ftf files for every Xperia device. You access Xperifirm through the Flashtool program.
You cannot flash AurROM through flashtool because it's not a ftf file. Flash a stock rom and try unlocking the Bootloader afterwards.
And don't worry about asking "stupid questions". This thread is made for every kind of questions, as long as it's about the device.
KbaB.BroS said:
Install flashtool from "flashtool.net"
It comes bundled with Xperifirm where you can download ftf files for every Xperia device. You access Xperifirm through the Flashtool program.
You cannot flash AurROM through flashtool because it's not a ftf file. Flash a stock rom and try unlocking the Bootloader afterwards.
And don't worry about asking "stupid questions". This thread is made for every kind of questions, as long as it's about the device.
Click to expand...
Click to collapse
Thanks very much.
One final question, in the UK I have EE WiFi calling currently - if I install non-carrier specific firmware I will most likely lose this. Is there any way I can backup the existing software so I can revert whether the flashtool flash works or not?
NJ72 said:
Thanks very much.
One final question, in the UK I have EE WiFi calling currently - if I install non-carrier specific firmware I will most likely lose this. Is there any way I can backup the existing software so I can revert whether the flashtool flash works or not?
Click to expand...
Click to collapse
You can try this guide:
http://m.youtube.com/watch?v=F0bSsGxFdks
NJ72 said:
Thanks very much.
One final question, in the UK I have EE WiFi calling currently - if I install non-carrier specific firmware I will most likely lose this. Is there any way I can backup the existing software so I can revert whether the flashtool flash works or not?
Click to expand...
Click to collapse
What you want to do is follow sonys instructions on how to check if your phone is able to unlock bootloader here: http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
If you can unlock your bootloader, which you will know after performing the simple steps provided by sony, then you need to install android studio along with required drivers etc, before you can actually unlock the bootloader.
Android studio can be found here: http://developer.android.com/sdk/installing/index.html?pkg=studio
Read everything throughly, it is important to get all the details regarding usage and installation.
After installing Android studio, you should download all the required SDK's found inside android studio->Configure->SDK Manager.
On the left side you will see several options in the navigation menu.
First go to Appearance & Behavior->System settings->Android SDK. Then in the "window" you have, make sure the first tab is selected (SDK Platforms).
Here you need to check all the android versions your phone(s) run.
Then go to the second tab (SDK Tools) and download:
Android SDK Build Tools
Android SDK Tools 24.4.1
Android SDK Platform-Tools 23.1
Google USB Driver
Android NDK
I am not sure if you really need the NDK one, but the rest I think is required. You can do as I did and choose all if you want.
On the last tab (SDK Update Sites) I have checked everything.
When you have done all of this, you should install Flashtool and go to the install directory and open the Driver folder, where you will find a .exe file. Run this and click next untill you can choose a few items from a list, in this list you should check Fastboot drivers, and USB drivers, and any other options that are relevant to your use, then finish the installation. (The entire installation of Flashtool should be done with 100% admin rights on the user).
After this is done, connect your phone to your pc and go to device management on your pc and you will likely find something similar to this:
If you have this yellow exclamation mark triangle thingy, then you will need to manually install your USB drivers.
Download your driver here: http://developer.sonymobile.com/downloads/drivers/
Then right click the yellow exclamation mark triangle thingy device in device management, and select update driver, then select "Browse my computer for driver software".
On the next window, select "Let me pick from a list of device drivers on my computer".
In the list that appears, select "Show All Devices" and click next.
Click the "Have Disk" button, then navigate to the driver you downloaded, and you will get 3 options in the window on you screen, select "Android ADB Interface" and click next.
Confirm by pressing "Yes" Then press "Install".
If completed without problems you should see "Windows has successfully updated your driver software".
*NOTE* On the above steps, you can also navigate to the folder where you installed android studio, which should be something similar to this: C:\Program Files(x86)\Android\android-sdk\extras\google\usb_driver OR it can be found your USER folder.
and here you can install the usb_driver aswell, which should make most phones support USB debugging and ADB on via your pc.*NOTE*
now reconnect your phone and the exclamation mark triangle thingy should be gone, good!
Next thing you can do is navigate to the installation folder of Android studio, and go to the Platform-Tools folder.
Inside the folder, hold down shift, while right clicking any white empty space inside the folder, and click open terminal here.
In the terminal, type: "adb devices" /Without the " marks. then it should say something about daemon not running etc, when its done, do the same command again, and you should se you device listed. Good, at this point you are ready to unlock bootloader!
If you have succeeded in every step so far, then go ahead and unlock bootloader following sonys instructions!
When you are done, you can simply follow the guides provided in the custom Rom thread itself most of the time.
If not, then a simple way to do it is:
Get all the files you need for the rom flash. That means Kernel, rom img, and a custom recovery like TWRP and SuperSU.
It is REALLY important that all files are for your device specifically!
Put the SuperSU.zip and the custom Rom.zip on your sd card and put it in the phone.
To avoid any trouble, do as I did and save all those files in the Platform-Tools folder, because you need to open the terminal as shown earlier in the post, by holding shift and right clicking in the same folder as the files, this is a must.
Open the terminal from the same folder as the rom, kernel and recovery.
type:
Code:
fastboot flash boot NAMEOFYOUR_KERNEL.img (This is usually boot.img)
fastboot flash recovery NAMEOFYOUR_RECOVERY.img (Usually contains TWRP in name)
fastboot reboot
You should now press volume up key when a led lights up while you see the sony logo, a orange light, not the red one, this will bring you into recovery, from here choose install, then navigate to your SuperSU.zip and install it.
Reboot your phone and you are now rooted, if you also have a custom rom, then place it on your sd card like the SuperSU.zip, but make sure the custom rom is a ZIP file!
Boot into recovery and install the custom rom, wipe cache and dalvick cache.
Congratulations on your custom rom!
Hope this helps a bit, sorry for any errors, but this is exactly how I did it, as far as I can remember!
Btw, this can seem like alot of work, especially when and if you encounter any problems while installing. I know I did encounter ALOT of them, but hopefully with my simple guide you can avoid them!
Luckily, this is just something you have to do once if you do it 100% right!
xirt0n said:
What you want to do is follow sonys instructions on how to check if your phone is able to unlock bootloader here: http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
If you can unlock your bootloader, which you will know after performing the simple steps provided by sony, then you need to install android studio along with required drivers etc, before you can actually unlock the bootloader.
Click to expand...
Click to collapse
The problem he has is that his stock ROM (or the phone itself) doesn't allow bootloader unlocking, probably because of SIM and carrier lock. Therefore he first needs to find a way to make the phone unlockable.
KbaB.BroS said:
The problem he has is that his stock ROM (or the phone itself) doesn't allow bootloader unlocking, probably because of SIM and carrier lock. Therefore he first needs to find a way to make the phone unlockable.
Click to expand...
Click to collapse
I am no expert on this, but doesnt the carrier decide if its locked or not?
I've seen people solve it by flashing different and unbranded firmware, but not for this particular phone tho, but I dont think it's officially possible.
xirt0n said:
I am no expert on this, but doesnt the carrier decide if its locked or not?
I've seen people solve it by flashing different and unbranded firmware, but not for this particular phone tho, but I dont think it's officially possible.
Click to expand...
Click to collapse
At this point he could at least try, he's got nothing to lose. I have never had this problem, because I buy my phones unlocked no carrier involved, so these are only suggestions.
KbaB.BroS said:
At this point he could at least try, he's got nothing to lose. I have never had this problem, because I buy my phones unlocked no carrier involved, so these are only suggestions.
Click to expand...
Click to collapse
Yeah, what I would try is first just try to do a full restore of your phone via PC Companion, and if that doesnt work then id try downloading an unbranded firmware from XperiFirm (If I am not mistaken, those named CUSTOM or something are unbranded) and then flash that via flashtool and see if that works, if not then your last hope is to get it replaced by warranty, which I'd say is fraud if the device isnt actually malfunctioning.
xirt0n said:
Yeah, what I would try is first just try to do a full restore of your phone via PC Companion, and if that doesnt work then id try downloading an unbranded firmware from XperiFirm (If I am not mistaken, those named CUSTOM or something are unbranded) and then flash that via flashtool and see if that works, if not then your last hope is to get it replaced by warranty, which I'd say is fraud if the device isnt actually malfunctioning.
Click to expand...
Click to collapse
I don't think PC Companion works at all, because the only thing it does is downloading identical firmware like the one on the phone. So Flashtool only choice.
I replaced mine with one from flashtool that has a lot less bloatware it originally came with.
KbaB.BroS said:
I don't think PC Companion works at all, because the only thing it does is downloading identical firmware like the one on the phone. So Flashtool only choice.
I replaced mine with one from flashtool that has a lot less bloatware it originally came with.
Click to expand...
Click to collapse
Ok, I never personally used PC companion so I didnt know what it does, I just saw people suggest it around

Unlock bootloader - bootloader mode reboots phone

Hello, I am a proud new owner of the ZTE blade v8 pro, I have been trying to unlock the bootloader to see if I could work on getting root. I enabled OEM unlocking in the debugging and also ADB. The issue I am having is that every time I either use ADB reboot-bootloader or use the traditional hardware keys to get to the bootloader the device just reboots back to normal. I have even tried recovery mode which has an option for bootloader, but when I select bootloader in recovery (which is working) it still reboots normally. I am new to the forum's but I created this one to see if there is anyone else with this issue that has found a workaround. Thank you in advance!
Most likely they locked access to bootloader and adb commands. Just like they did to the ZTE ZMAX pro. Best advice is return the phone and get something else
Sent from my Z981 using XDA-Developers Legacy app
903tex said:
Most likely they locked access to bootloader and adb commands. Just like they did to the ZTE ZMAX pro. Best advice is return the phone and get something else
Click to expand...
Click to collapse
Thank you for the reply, the only thing that makes me wonder if that is the same is the fact that in the developer options it has a toggle for OEM bootloader unlocking. I have never owned a ZTE device so I am not super experienced with their manufacturer and their ideas on what a good smartphone is but why would they put that option in there if they locked the bootloader and ADB commands? (ADB works in all modes I tested btw). Just trying to see if maybe it is my device or everyone that owns this product. (Example being a corrupt boot image that will start the phone but not fastboot) and once again, thank you for your reply.
:crying:Hello I have the same phone Blade V8 Pro and I hope I don't have to return my phone last night horizontal lines started showing up on the screen I never dropped the phone they show up when in recovery mode also so I know that doesn't look good because recovery is outside the operating system it comes and goes back to normal so is my get worse later on :crying::crying::crying:
Daha3ker said:
Thank you for the reply, the only thing that makes me wonder if that is the same is the fact that in the developer options it has a toggle for OEM bootloader unlocking. I have never owned a ZTE device so I am not super experienced with their manufacturer and their ideas on what a good smartphone is but why would they put that option in there if they locked the bootloader and ADB commands? (ADB works in all modes I tested btw). Just trying to see if maybe it is my device or everyone that owns this product. (Example being a corrupt boot image that will start the phone but not fastboot) and once again, thank you for your reply.
Click to expand...
Click to collapse
I just bought this device a week ago and I was surprised to find "Unlock Bootloader" in Dev Options. I tried the same thing as you (booting into bootloader and recovery) but it didn't work for me either. Did you by any chance managed to figure out how to root the device?
pri10 said:
I just bought this device a week ago and I was surprised to find "Unlock Bootloader" in Dev Options. I tried the same thing as you (booting into bootloader and recovery) but it didn't work for me either. Did you by any chance managed to figure out how to root the device?
Click to expand...
Click to collapse
MiFavor is a tuff bootloader that this company uses. I can find no valid method to write files (locked bootloader) via ADB or FTM. I know its a necro here, but I want to warn anyone thinking they might find a method or one will be discovered... it wont.
jollymonsa said:
MiFavor is a tuff bootloader that this company uses. I can find no valid method to write files (locked bootloader) via ADB or FTM. I know its a necro here, but I want to warn anyone thinking they might find a method or one will be discovered... it wont.
Click to expand...
Click to collapse
Yeah, I realized that. Bought Huawei Mate 9 a couple of weeks ago.
ZTE V8 SE root!?
emilioangeles95 said:
This guide is technically for all ZTE phones. ZTE phones are quite friendly with developers (but still can’t hit the level of Google and HTC).
How to root
Restart your phone to bootloader (“volume down” + “battery”)
Open up your adb tool and rename TWRP as “recovery”. Drag it into the ADB toolkit and input the following command: “fastboot flash recovery recovery.img”. When finished, type “fastboot reboot” then reboot into system
Transfer SuperSU into phone’s internal memory, find the suitable SuperSU version ( SuperSU V2.64 and SuperSU V2.79)
Switch off your phone. Then press “volume up + start” to enter recovery mode
Install SuperSU by sliding it right in
Reboot, and you are all set XD
https://www.unlockbase.com/unlock-phone/zte/
Click to expand...
Click to collapse
lol
Im looking to buy this phone but would like to actually have it rooted, anyone has any idea if the device is rootable or will be in the near future?
catsruul said:
lol
Click to expand...
Click to collapse
so if im looking to root my phone via reboot I can't write that on my system files.. I tried, so how can I Hard set it into boot mode? or any other option rather then trying to write system files w/o root
Blackbear.immortal said:
so if im looking to root my phone via reboot I can't write that on my system files.. I tried, so how can I Hard set it into boot mode? or any other option rather then trying to write system files w/o root
Click to expand...
Click to collapse
Any luck?
BootStomp – A Bootloader Vulnerability Finder
Have you tried this weapon? It is the only solution for ZTE Blade V8 Pro.
BootStomp – A Bootloader Vulnerability Finder
https://pentesttoolz.com/2017/12/10/bootstomp-a-bootloader-vulnerability-finder/
https://github.com/ucsb-seclab/BootStomp
cmon people I'm about to buy the blade v8 pro, it's such a nice phone
if we had an unlocked bootloader and root that would me amazing!!!
ZTE open source website
Found this site that you can download the kernel it appears, it's a ZTE site I guess and, I'm no expert on kernels but it's this file.
ZTE Z978 Marshmallow Kernel(3.18.24)
P853A10V1.0.0B18_kernel.tar.gz
If it isn't the actual kernel I'm sorry as again I'm not an expert, I just would like to be able to root this phone as the hardware is very good for a cheep ass like me. lol
You'll have choose the "smart phone" category and z978 from the selection menu (not too far down), which has most any ZTE device on there also.
Website: opensource.ztedevice.com
I know that you can't load the kernel if you not able to get past the bootloader, but there aren't any posts in the "kernel" section and maybe there may be a clue in the kernel code on how to unlock and root this phone?, but that's above my current skill level and need the pros like y'all to help if you can.
Hope it helps.
This phone would be glorious with lineageos
Bootloader vulnerabilities of Sony Xperia XA (MT6755)
The next task is the implementation of BootStomp: a bootloader vulnerability finder.
https://github.com/ucsb-seclab/BootStomp
The bootloader vulnerabilities of Sony Xperia XA (MT6755 Helio P10) are here:
https://github.com/ucsb-seclab/BootStomp/tree/master/bootloaders
SafeStrap is a Recovery for phones with a locked bootloader. It is just like like TWRP 3.2.1.
https://www.xda-developers.com/snapdragon-samsung-galaxy-s8-galaxy-note-8-safestrap-recovery/
Sent from my takee 1 using XDA Labs
Device Info HW version: 4.9.4
Device Info HW
version: 4.9.4
Check if you can retrieve more info on partitions and other missing components of ZTE Blade V8 Pro using the new version 4.9.4 of Device Info HW, please. The new apk is attached at the end of post #1.
https://forum.xda-developers.com/android/apps-games/app-device-info-hw-t3558335
We dont have root acess for use safestrap recovery.

Custom rom support

Hey all,
Early days of course, but just wondering if any devs wanna post if they're intending on getting this device to bring some custom rom magic?
I'm on it <3 Just published my Treble GSI flashing Guide over here too
Miustone said:
I'm on it <3 Just published my Treble GSI flashing Guide over here too
Click to expand...
Click to collapse
Ohh exciting! Thanks for getting getting in touch.
Just curious what your style of custom rom will be? Modified stock, pixel experience, Resurrection Remix style etc?
(UPDATE - just seen your GSI thread now - great work!)
Also you may not know this, but do you have an opinion on bootloader unlocking and camera features being lost? Apparently on older devices it was possible to backup the TA partition etc to avoid this, though indeed this may be unknown territory until we actually get the device (hopefully Thurs 18th June for me!)
cd993 said:
Ohh exciting! Thanks for getting getting in touch.
Just curious what your style of custom rom will be? Modified stock, pixel experience, Resurrection Remix style etc?
(UPDATE - just seen your GSI thread now - great work!)
Also you may not know this, but do you have an opinion on bootloader unlocking and camera features being lost? Apparently on older devices it was possible to backup the TA partition etc to avoid this, though indeed this may be unknown territory until we actually get the device (hopefully Thurs 18th June for me!)
Click to expand...
Click to collapse
Glad You found it. There is more to come...
About the bootloader unlocks. No worries! Sony isnt using the old Camera tech anymore. Means your Pictures and Videos will be Just fine after unlocking. You can dump Your TA with NewFlasher from XDA which is also recommended for flashing new Xperias with Treble. The only Thing You will loose is the Creator Mode somehow (Don't know how it works on the Mark 2 but i haven't Seen or missed it in my Xperia 5 yet...). It are good Times for Xperia and custom ROM Fans. Hope we will get a great Community again after so many years with ugly DRM fixing and lost functionalities...
Hope You will enjoy Your Xperia :fingers-crossed:
BR
PS: Check Out My Xperia 1 & 5 Threads. MARS_SOM will also Support the new Mark 2 once i have a Tester...
Miustone said:
Glad You found it. There is more to come...
About the bootloader unlocks. No worries! Sony isnt using the old Camera tech anymore. Means your Pictures and Videos will be Just fine after unlocking. You can dump Your TA with NewFlasher from XDA which is also recommended for flashing new Xperias with Treble. The only Thing You will loose is the Creator Mode somehow (Don't know how it works on the Mark 2 but i haven't Seen or missed it in my Xperia 5 yet...). It are good Times for Xperia and custom ROM Fans. Hope we will get a great Community again after so many years with ugly DRM fixing and lost functionalities...
Hope You will enjoy Your Xperia :fingers-crossed:
BR
PS: Check Out My Xperia 1 & 5 Threads. MARS_SOM will also Support the new Mark 2 once i have a Tester...
Click to expand...
Click to collapse
Ah this is fantastic news!
Ideally I'd love to root stock on day 1 of getting the device. Am I right in thinking that I should do the following:
1) Backup TA (what's the best way to do this?)
2) Unlock bootloader (via official Sony website)
3) extract boot img (via fastboot or download the latest stock rom? I'm new to xperia so unsure how it all goes for these devices!)
4) patch boot img with magisk
5) flash rooted boot img
Your help is greatly appreciated!
I for one will be active in the community and I suspect it'll grow rather popular!
Will check out the MARS_SOM....
cd993 said:
Ah this is fantastic news!
Ideally I'd love to root stock on day 1 of getting the device. Am I right in thinking that I should do the following:
1) Backup TA (what's the best way to do this?)
2) Unlock bootloader (via official Sony website)
3) extract boot img (via fastboot or download the latest stock rom? I'm new to xperia so unsure how it all goes for these devices!)
4) patch boot img with magisk
5) flash rooted boot img
Your help is greatly appreciated!
I for one will be active in the community and I suspect it'll grow rather popular!
Will check out the MARS_SOM....
Click to expand...
Click to collapse
1) Download NewFlasher from XDA. It will ask You as first or second step to backup TA (Trim Area). Use the included Drivers if needed and awnser all other Prompts with y for yes to flash full firmwares. Do this before unlocking as first step... NewFlasher is for newer Devices so please don't use the old flashing tools...
2) Correct. It will also give You the needed fastboot base for the following steps
3) Download XperiFirm and UnSin from XDA (Same Guy called Igor Eisberg or so). He's a VIP for us...
Download the Correct Firmware for Your Device and extract the boot Sin File with UnSin by drag and drop on the UnSin.exe.
4)You will get an boot Img File which can be rooted with the Magisk Manager before You flash it. Keep Recovery, AVB and Encryption Option Boxes marked under advanced options for the patching...
5) Flash the Patched Boot Image with fastboot like "fastboot flash boot_a boot.img" and "fastboot flash boot_b boot.img" to flash Root to both A/B Slots (Since it's a Treble A/B Device with 2 Slots).
That will be it. After that can You install the MARS_SOM if You want to. I'm releasing BETA2 today and hope it works on the Mark 2 too :angel:
Miustone said:
1) Download NewFlasher from XDA. It will ask You as first or second step to backup TA (Trim Area). Use the included Drivers if needed and awnser all other Prompts with y for yes to flash full firmwares. Do this before unlocking as first step... NewFlasher is for newer Devices so please don't use the old flashing tools...
2) Correct. It will also give You the needed fastboot base for the following steps
3) Download XperiFirm and UnSin from XDA (Same Guy called Igor Eisberg or so). He's a VIP for us...
Download the Correct Firmware for Your Device and extract the boot Sin File with UnSin by drag and drop on the UnSin.exe.
4)You will get an boot Img File which can be rooted with the Magisk Manager before You flash it. Keep Recovery, AVB and Encryption Option Boxes marked under advanced options for the patching...
5) Flash the Patched Boot Image with fastboot like "fastboot flash boot_a boot.img" and "fastboot flash boot_b boot.img" to flash Root to both A/B Slots (Since it's a Treble A/B Device with 2 Slots).
That will be it. After that can You install the MARS_SOM if You want to. I'm releasing BETA2 today and hope it works on the Mark 2 too :angel:
Click to expand...
Click to collapse
Great!
Regarding the TA backup, at what point would I restore that backup? As I really would wish to avoid such loss of any functionality (especially on day 1 haha) and so ideally I think I'll only go for this if/when it can be confirmed that unlocking the bootloader/restoring the TA backup has zero negative effects.
It'll be my intention, best case scenario, to root stock firmware (for theme, ad blocking etc), enjoy it for a short while to get a feel for the device, then play around with custom roms (plus gcam etc) ?
I'll be very keen to try out MARS_SOM, looks like you keep it all stock but with loads of extra tweaks for performance etc sounds great!
I already pre-ordered and can be a tester.. pre ordered the US version from Best buy.
daillcyruz said:
I already pre-ordered and can be a tester.. pre ordered the US version from Best buy.
Click to expand...
Click to collapse
When is your estimated delivery date, July?
I'm UK O2 and hopefully it's arriving this coming Thursday 18th
Unsure if I'm brave enough to unlock straight away for the risk of losing some camera functionality/features, so I may wait to see if someone less concerned tries first..... Lol
daillcyruz said:
I already pre-ordered and can be a tester.. pre ordered the US version from Best buy.
Click to expand...
Click to collapse
Would be an honor to Me! Contact me once You're unlocked :highfive:
cd993 said:
When is your estimated delivery date, July?
I'm UK O2 and hopefully it's arriving this coming Thursday 18th
Unsure if I'm brave enough to unlock straight away for the risk of losing some camera functionality/features, so I may wait to see if someone less concerned tries first..... Lol
Click to expand...
Click to collapse
After some more Research does it looks like that SONY isn't using DRMs for the Cameras anymore at all, after many claims from Customers over the last Years. The only DRM stuff thats left was for Netflix and the Xperia Services. I haven't seen any Claims or Problems besides that... But let's see If the Xperia 1 II suprises us
Miustone said:
Would be an honor to Me! Contact me once You're unlocked :highfive:
After some more Research does it looks like that SONY isn't using DRMs for the Cameras anymore at all, after many claims from Customers over the last Years. The only DRM stuff thats left was for Netflix and the Xperia Services. I haven't seen any Claims or Problems besides that... But let's see If the Xperia 1 II suprises us
Click to expand...
Click to collapse
Highly reassuring!
Out of curiosity at you please able to link me to this research? I'll give it a read.
Hopefully it'll be here this Thursday and so I'll enjoy stock for some time and then take the plunge to unlock!
cd993 said:
Highly reassuring!
Out of curiosity at you please able to link me to this research? I'll give it a read.
Hopefully it'll be here this Thursday and so I'll enjoy stock for some time and then take the plunge to unlock!
Click to expand...
Click to collapse
Haven't all links here, but My Xperia 5 proofs and this may also be interesting:
https://forum.xda-developers.com/xperia-1/help/xperia-1-drm-keys-locking-bootloader-t4079715
There will be no difference once You locked the BL and after flashing Stock again. Your unlock Key will be unique so You May want to keep it on a Safe place in Case You want to unlock again. But Like said, everything works fine over here except for Xperia Services where You can't Login after unlocking...
Miustone said:
Haven't all links here, but My Xperia 5 proofs and this may also be interesting:
https://forum.xda-developers.com/xperia-1/help/xperia-1-drm-keys-locking-bootloader-t4079715
There will be no difference once You locked the BL and after flashing Stock again. Your unlock Key will be unique so You May want to keep it on a Safe place in Case You want to unlock again. But Like said, everything works fine over here except for Xperia Services where You can't Login after unlocking...
Click to expand...
Click to collapse
Great stuff, thanks matey.
I reckon I'll run stock for a few days after getting it Thurs and mayyyybe I'll root over the weekend or after a week or so.
I'll keep in touch!
Thanks again
cd993 said:
Great stuff, thanks matey.
I reckon I'll run stock for a few days after getting it Thurs and mayyyybe I'll root over the weekend or after a week or so.
I'll keep in touch!
Thanks again
Click to expand...
Click to collapse
Here You Go! https://forum.xda-developers.com/xperia-1/how-to/xperia-1-root-guide-t3938304/page16
Mate @Pandemic faced that the Repair after locking does the Trick. Missed to mentition that...
I will work on eXistenZ rom at some point.
If you don't know my rom, eXistenZ is stock with all best features from Havoc, Bliss, Pixel experience and Lineage ?
niaboc79 said:
I will work on eXistenZ rom at some point.
If you don't know my rom, eXistenZ is stock with all best features from Havoc, Bliss, Pixel experience and Lineage ?
Click to expand...
Click to collapse
That's wicked, I would love that!!
Does anyone know if ROMs are vastly different for XQ-AT51 (global single sim version) and XQ-AT52 (global dual sim version)? I preordered while it was not know that it is gonna be a single sim only in EU, so I returned the bundle and am gonna order the dual sim from Wondamobile. Guess flashing custom ROMs made for AT51 won't do the trick?
cd993 said:
When is your estimated delivery date, July?
I'm UK O2 and hopefully it's arriving this coming Thursday 18th
Unsure if I'm brave enough to unlock straight away for the risk of losing some camera functionality/features, so I may wait to see if someone less concerned tries first..... Lol
Click to expand...
Click to collapse
Well it did say 24 of July but I cancelled going to order from Amazon to get free headphones they say the same date also
vyp54 said:
Does anyone know if ROMs are vastly different for XQ-AT51 (global single sim version) and XQ-AT52 (global dual sim version)? I preordered while it was not know that it is gonna be a single sim only in EU, so I returned the bundle and am gonna order the dual sim from Wondamobile. Guess flashing custom ROMs made for AT51 won't do the trick?
Click to expand...
Click to collapse
Single or dual sim variant doesn't matter ?
Miustone said:
1) Download NewFlasher from XDA. It will ask You as first or second step to backup TA (Trim Area). Use the included Drivers if needed and awnser all other Prompts with y for yes to flash full firmwares. Do this before unlocking as first step... NewFlasher is for newer Devices so please don't use the old flashing tools...
2) Correct. It will also give You the needed fastboot base for the following steps
Click to expand...
Click to collapse
Hi Miustone,
Maybe you know what I'm doing wrong. Every time I try to run newflasher.exe I get the error
Code:
No usb device with vid:0x0fce pid:0xb00b !
USB debugging is enabled.
OEM Unlocking is NOT toggled.
USB is set to File Transfer mode.
I cannot change the controlled by setting from "This device" to "Connected device."
I am using the USB C to USB C cable that came with the phone.
I tried every configuration possible with this cable (even though it shouldn't matter).
ADB is recognizing the phone.
I tried running it as admin.
I tried with the drivers that come with the phone.
I tried with the gordonGate drivers.
I tried with the manual drivers from Sony.
Any help will be greatly appreciate!
Thanks
Edit: added another item to the list

Categories

Resources