Help to lock BL & unroot & install stock?

dillalade

Senior Member
Sep 28, 2009
1,543
365
113
Richmond
Please can someone advise or point me in the right direction to lock my boot loader. Unroot and flash back to stock please.

Thanks in advance for any insight :thumbup:
 

dillalade

Senior Member
Sep 28, 2009
1,543
365
113
Richmond
Oh dear I don't believe I have the TA backup.

What's my best option to get this device looking and feeling as stock as possible..... And what implications to usability does the lack of TA restore mean? Will it prevent OTA updates

Thank you so much for the insight I didn't even consider TA when rooting. Damn
 
Last edited:

SXUsr

Senior Member
Jul 11, 2010
8,144
2,867
243
Here =)
What's my best option to get this device looking and feeling as stock as possible
Flash a stock ftf, done.
And what implications to usability does the lack of TA restore mean? Will it prevent OTA updates
You loose a few features like mirror link...
"Certain pre-loaded content on your device may also be inaccessible due to the removal of DRM security keys. The secure user data partition may also become inaccessible, and you will not be able to get any more official software upgrades if you unlock the boot loader."
- http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
 
  • Like
Reactions: dillalade

dillalade

Senior Member
Sep 28, 2009
1,543
365
113
Richmond
Flash a stock ftf, done.

You loose a few features like mirror link...

- http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
Thank you for your insight. So much appreciated..

So currently rooted with twrp recovery and PAC ROM.

Do I need to unroot before flashing the stock ftf?
(Using superuser as detailed by @A.android.User below)

You can unroot from superuser/supersu also for stock stuff back u need to reset to default

Sent from my ST23i using XDA Free mobile app

Can I flash this stock ftf for my country (using flash tools I believe) straight from my current set up with twrp & PAC ROM?

Will the ftf also flash back the stock recovery?

Thanks again
 

oshmoun

Senior Member
Aug 29, 2012
1,397
1,458
153
¯\_(ツ)_/¯
Can I flash this stock ftf for my country (using flash tools I believe) straight from my current set up with twrp & PAC ROM?

Will the ftf also flash back the stock recovery?

Thanks again
Yes you can flash the ftf directly, and here's what you'll get:
A stock ROM
unrooted
Lose some features related to DRM keys
No OTA
Stock recovery, which is none as far as i know

This is as close as you'll get to making your device feel locked.
 
  • Like
Reactions: dillalade

oshmoun

Senior Member
Aug 29, 2012
1,397
1,458
153
¯\_(ツ)_/¯
That's wrong. You can still relock your bootloader with flashtool.
Hmmm you're right, one can still relock the bootloader, but the TA partition along with the drm keys will still be missing, which will render the relocking kinda useless.
Better said, I don't understand the reason behind relocking if you're not getting the things you lost back.
@dillalade
If you still want to do it, then here's a link showing how to relock from doomlord, so it's pretty reliable :)
http://forum.xda-developers.com/showpost.php?p=45496437&postcount=2
 
  • Like
Reactions: dillalade

zxz0O0

Senior Member
Apr 18, 2011
1,534
5,158
0
Hmmm you're right, one can still relock the bootloader, but the TA partition along with the drm keys will still be missing, which will render the relocking kinda useless.
Better said, I don't understand the reason behind relocking if you're not getting the things you lost back.
I am guessing that OP wants to return his phone. If he is lucky, they will simply check the rooting status in the service menu and not if DRM keys exist.
 

dillalade

Senior Member
Sep 28, 2009
1,543
365
113
Richmond
Thank you everyone for the input.

If I do Relock the BL will it grant the device OTA updates or is that again TA/DRM reliant?

I just sold the phone on eBay for £200 so want to get it back to stock before I send it out tomorrow.

(Awaiting receipt of a pre ordered Z3c... there had been a significant price drop from £450 down to £350... So £150 for an upgrade seemed fair. )
 

zxz0O0

Senior Member
Apr 18, 2011
1,534
5,158
0
You should get OTA updates if you relock bootloader. I've never tried but at least Sony PC Companian does not complain anymore about a modified device. I hope you informed the buyer that the device was actually unlocked though.
 

dillalade

Senior Member
Sep 28, 2009
1,543
365
113
Richmond
You should get OTA updates if you relock bootloader. I've never tried but at least Sony PC Companian does not complain anymore about a modified device. I hope you informed the buyer that the device was actually unlocked though.
Thanks guys, job done.

Yes the buyer is aware of the phone being previously rooted.

Is it normal for Sony stock ftf rom to have empty APN settings.... if I remember correctly this was also the case when I originally purchased the phone.

Thanks for everything guys
 

SXUsr

Senior Member
Jul 11, 2010
8,144
2,867
243
Here =)
Thanks guys, job done.

Yes the buyer is aware of the phone being previously rooted.

Is it normal for Sony stock ftf rom to have empty APN settings.... if I remember correctly this was also the case when I originally purchased the phone.

Thanks for everything guys
Are they aware the bootloader has been unlocked so might not be able to do what they might be buying it for.
 

oshmoun

Senior Member
Aug 29, 2012
1,397
1,458
153
¯\_(ツ)_/¯
Thanks guys, job done.

Yes the buyer is aware of the phone being previously rooted.

Is it normal for Sony stock ftf rom to have empty APN settings.... if I remember correctly this was also the case when I originally purchased the phone.

Thanks for everything guys
the APN settings get generated depending on the current service provider (currently inserted SIM card). Even then it might be the case that there are no pre-registered APN settings for that provider.
I wouldn't worry about it much ;)

Oh and do inform us once you sell it, and get your new toy :D