Hello guys,
I had question for you.
Can i unlock bootloader, then can i flash twrp and flash root + franco kernel + dolby atmos and then remove twrp and re-lock bootloader?
Thanks guys!
No, relocking is same as unlocking... It erases everything and when your system updates on OTP you will lose FK.
thenessus said:
No, relocking is same as unlocking... It erases everything and when your system updates on OTP you will lose FK.
Click to expand...
Click to collapse
It will erase kernel and dolby flashed via zip file too?
TheBigJoe said:
It will erase kernel and dolby flashed via zip file too?
Click to expand...
Click to collapse
the kernel and dolby wont be erased cause they are flashed to system and boot image, but dont lock the bootloader when you are rooted or not full-stock cause you will brick you phone.
you can remove TWRP and flash the stock recovery when you are rooted
Related
Installation Steps (Warranty can be restored whenever you wish)
-------------------------
Before starting your rom flashing journey it is always better to have Flashtool (latest -by androxyde) installed in your PC and your stock rom handy ; incase of any mishappenings.
Type *#*#7378423#*#* in your phone and see if your bootloader status is unlockable under service-->Configuration. Procede with below steps, only if your device is unlockable.
It is important that you follow the steps in order
1) First step for installing a custom rom over a mobile with stock rom is to backup the existing state of bootloader .Usually warranty will get void if any modification is done to bootloader. The below tool ensures that it takes the backup of existing state of bootloader when device is under warranty.
Goto
Backup TA for Sony Xperia (This tool helps you to have a )
http://forum.xda-developers.com/showthread.php?t=2292598.
Download the tool.This tool will backup your DRM Securtiy keys . Successful backup can only be taken after the existing stock rom is rooted (Use towelroot application if your device is not already rooted) .Root it first then follow the process given in above link .
Once this is over , u will have a backup of the existing state of bootloader/TA partition (If you later wish to move back to stock rom from custom rom use the same tool to restore the backup you have just created.This means you will get your Warranty back);
2) Goto this website , follow the steps and get your unlock code via e mail.
Use fastboot mode to unlock your bootloader (Make sure that you have already backuped your existing DRM keys-Step 1).Follow it fully to unlock your bootloader
http://unlockbootloader.sonymobile.com/unlock/step1
3)Download any custom rom zips with recovery, for your mobile from xda developers forum and have fun.Extract boot.img using winrar or winzip .
Flash boot.img via fastboot mode
fastboot flash boot boot.img
fastboot reboot
4)As the device reboots, when you see your LED glow press volume up or down. It will take you to CWM Recovery or TWRP recovery based on the rom that you have downloaded.
5)Just install the custom rom(*.zip ) from within the recovery.
What if that i already have the custom recovery?
So, just wipe data, dalvik, and cache, then flash the zip?
That's it?
AndreIrawan97 said:
What if that i already have the custom recovery?
So, just wipe data, dalvik, and cache, then flash the zip?
That's it?
Click to expand...
Click to collapse
yes.
AndreIrawan97 said:
What if that i already have the custom recovery?
So, just wipe data, dalvik, and cache, then flash the zip?
That's it?
Click to expand...
Click to collapse
Absolutely right. But before installing an custom rom in the first place i hope you have already backed up your DRM keys for warranty purpose(as mentioned in the guide) since if you unlock your bootloader without backing up your DRM keys, DRM keys might be lost forever .
gokukaushik said:
Absolutely right. But before installing an custom rom in the first place i hope you have already backed up your DRM keys for warranty purpose(as mentioned in the guide) since if you unlock your bootloader without backing up your DRM keys, DRM keys might be lost forever .
Click to expand...
Click to collapse
Can i backup my app on stock rom then restore it to a custom rom?
AndreIrawan97 said:
Can i backup my app on stock rom then restore it to a custom rom?
Click to expand...
Click to collapse
Sure. Easiest way to do it is by using an app called, 'Titanium Backup Pro'.But you have to root your stock rom first for this application to run(Use towelroot if you are yet to root).Except for sony proprietary apps like walkman,Album,etc (will run only on stock rom as they use sony developed system libraries/API'S) other apps will get restored/run fine on a custom rom.
gokukaushik said:
Sure. Easiest way to do it is by using an app called, 'Titanium Backup Pro'.But you have to root your stock rom first for this application to run(Use towelroot if you are yet to root).Except for sony proprietary apps like walkman,Album,etc (will run only on stock rom as they use sony developed system libraries/API'S) other apps will get restored/run fine on a custom rom.
Click to expand...
Click to collapse
And one think left.... How to know if my bootloader is unlocked or not?
AndreIrawan97 said:
And one think left.... How to know if my bootloader is unlocked or not?
Click to expand...
Click to collapse
its in the OP....on the phones dialpad, type: *#*#7378423#*#*
then look in > service > configuration
it should show the status as "bootloader locked", "bootloader unlocked", "bootloader unlockable" or "not unlockable" (sorry wording may not be exact, but you'll get the idea)
foomanjackel said:
its in the OP....on the phones dialpad, type: *#*#7378423#*#*
then look in > service > configuration
it should show the status as "bootloader locked", "bootloader unlocked", "bootloader unlockable" or "not unlockable" (sorry wording may not be exact, but you'll get the idea)
Click to expand...
Click to collapse
no.. i mean, how to know if my bootloader is already unlocked or not?
Anyway, what happened if i flash it without unlocking it first?
Sorry, did you type that in the phone and check the status? That's where it will tell you if its already unlocked or if its even unlockable at all.
Do not try to install a custom ROM on your phone if it is not unlocked! Your phone will not boot.
AndreIrawan97 said:
no.. i mean, how to know if my bootloader is already unlocked or not?
Anyway, what happened if i flash it without unlocking it first?
Click to expand...
Click to collapse
Thanks to @ foomanjackel for answering your questions.Regarding your 2nd question, 'Experience is the mother of invention'.Why don't you try and see what happens...just kidding.Couldn't resist it. Practically speaking of you install a custom rom with an custom kernel on a locked bootloader you will hard brick it.It will not boot and chances are that you might not be able to goto flashmode or fastbootmode anymoreto repair it.Reason this happens is that both your recovery and bootloader resides in the same partition in your mobile.If you try to install custom kernel on a locked bootloader in every probability, it not only corrupts your existing stocks kernel but also might corrupt your recovery leaving u helpless.
Theoretically, You should be able to install any custom-stock based rom on a locked bootloader (which runs exactly on ur stock kernel).In other words a custom rom which doesn't come up with a custom kernel but based on your existing stock kernel should be able to run on a locked bootloader.But my advice is you do not risk it.
foomanjackel said:
Sorry, did you type that in the phone and check the status? That's where it will tell you if its already unlocked or if its even unlockable at all.
Do not try to install a custom ROM on your phone if it is not unlocked! Your phone will not boot.
Click to expand...
Click to collapse
Yes it said boot loader unlockable : yes
And couple months ago, i want to unlock my bootloader, but i dont know what went wrong, but my xperia got boot loop...
So is that bcs i already unlocked it? Or... ?
AndreIrawan97 said:
Yes it said boot loader unlockable : yes
And couple months ago, i want to unlock my bootloader, but i dont know what went wrong, but my xperia got boot loop...
So is that bcs i already unlocked it? Or... ?
Click to expand...
Click to collapse
If you get this message "Bootloader unlockable: yes" then your bootloader is still locked.
gokukaushik said:
If you get this message "Bootloader unlockable: yes" then your bootloader is still locked.
Click to expand...
Click to collapse
Is unlocking bootloader can make me lose my root?
AndreIrawan97 said:
Is unlocking bootloader can make me lose my root?
Click to expand...
Click to collapse
I suppose it won't.I don't see the reason why u want to unlock the bootloader unless you want to install a new custom rom.
Hello. I have this model with kitkat 4.4.2 How can i root this device?
You can try the tools from here http://forum.xda-developers.com/showthread.php?t=2559009[URL]
I tried this method but still do not have root. after all, the phone reboot but when I installed supersu appeared the information I do not have installed su binary
sebaxx3 said:
I tried this method but still do not have root. after all, the phone reboot but when I installed supersu appeared the information I do not have installed su binary
Click to expand...
Click to collapse
Its obvious, it happen to me too... you have to install this recovery first http://forum.xda-developers.com/showthread.php?t=2823793
And then flash supersu zip via that recovery...
Hello root d5316
sebaxx3 said:
Hello. I have this model with kitkat 4.4.2 How can i root this device?
Click to expand...
Click to collapse
Do u can root your phone...what do u did it..thanks
Chena_22 said:
Its obvious, it happen to me too... you have to install this recovery first http://forum.xda-developers.com/showthread.php?t=2823793
And then flash supersu zip via that recovery...
Click to expand...
Click to collapse
I'd have to unlock my bootloader, which I do not want to do until I can safely back up my DRM keys and so forth. I know unlocking sony phones removes bravia engine and other stuff.
MortaLPortaL said:
I'd have to unlock my bootloader, which I do not want to do until I can safely back up my DRM keys and so forth. I know unlocking sony phones removes bravia engine and other stuff.
Click to expand...
Click to collapse
no, you dont have to unlock your bootloader to instal that recovery..just need root though
Chena_22 said:
no, you dont have to unlock your bootloader to instal that recovery..just need root though
Click to expand...
Click to collapse
Which is hard because I do not think my model is rootable...yet.
MortaLPortaL said:
Which is hard because I do not think my model is rootable...yet.
Click to expand...
Click to collapse
You can use a pre rooted firmware if you want, check the development section
Chena_22 said:
You can use a pre rooted firmware if you want, check the development section
Click to expand...
Click to collapse
I do not have root or a recovery.
MortaLPortaL said:
I do not have root or a recovery.
Click to expand...
Click to collapse
Can you root the previous firmware?
Chena_22 said:
Can you root the previous firmware?
Click to expand...
Click to collapse
I bought it with this firmware. It's 4.4.2 19.1.A.0.486
So I have no idea.
Plus, the xperia firmware tool says that this is the only firmware for this model(D5316.)
MortaLPortaL said:
I bought it with this firmware. It's 4.4.2 19.1.A.0.486
So I have no idea.
Plus, the xperia firmware tool says that this is the only firmware for this model(D5316.)
Click to expand...
Click to collapse
Have you try to google it?
I have tried googling it but no luck.
Only way for me to root is to unlock bootloader it seems.
EDIT; I got root access!!
I unlocked the bootloader via flashtool. I still have bravia engine/camera/etc.
Details! :beer:
Sent from my Nexus 5
utka said:
Details! :beer:
Sent from my Nexus 5
Click to expand...
Click to collapse
here are the steps I did..I will do my best to provide anything I can.
First thing; unlock the bootloader. I unlocked it via flashtool. i still have bravia engine/clear audio, so that's intact. Put the SUPERSU 2.40 on your SD Card along with the dual recovery flash file from http://forum.xda-developers.com/t2-ultra/development/t2-ultra-xzdualrecovery-qa-t2823793
After that I used fastboot to install the CWM recovery( fastboot.exe flash recovery boot.img), and rebooted.
I rebooted into CWM and flashed the dual recovery. follow the instructions to boot into TWRP(I like this recovery.)and flash SUPERSU 2.40. Wipe cache/dalvik/system. If you get a bootloop, reboot into recovery and flash the pre rooted stock firmware from here; http://forum.xda-developers.com/t2-ultra/development/t2-ultra-d5303-4-4-3-pre-rooted-stock-t2962677. then reboot.
another fun fact? I also successfully backed up the TA Partition. woo!
What file did you flash at first? Is it T2U-SS_DooMLoRD_AdvStkKernel_FW-207_v01.img ?
It didn't work for me, I could not reboot into CWM or whatever custom recovery it contains.
Thank you!
MortaLPortaL said:
here are the steps I did..I will do my best to provide anything I can.
First thing; unlock the bootloader. I unlocked it via flashtool. i still have bravia engine/clear audio, so that's intact. Put the SUPERSU 2.40 on your SD Card along with the dual recovery flash file from http://forum.xda-developers.com/t2-ultra/development/t2-ultra-xzdualrecovery-qa-t2823793
After that I used fastboot to install the CWM recovery( fastboot.exe flash recovery boot.img), and rebooted.
I rebooted into CWM and flashed the dual recovery. follow the instructions to boot into TWRP(I like this recovery.)and flash SUPERSU 2.40. Wipe cache/dalvik/system. If you get a bootloop, reboot into recovery and flash the pre rooted stock firmware from here; http://forum.xda-developers.com/t2-ultra/development/t2-ultra-d5303-4-4-3-pre-rooted-stock-t2962677. then reboot.
another fun fact? I also successfully backed up the TA Partition. woo!
Click to expand...
Click to collapse
Hi Could you please elaborate the fast boot and boot.img steps and their links that you used. I am also want to try my D5316 phone.
Thanks, KP
krishnaprasad said:
Hi Could you please elaborate the fast boot and boot.img steps and their links that you used. I am also want to try my D5316 phone.
Thanks, KP
Click to expand...
Click to collapse
Sure.
BEFORE ANYTHING; Put supersu 2.40 and http://forum.xda-developers.com/t2-ultra/development/t2-ultra-xzdualrecovery-qa-t2823793 on your SD Card!!
I used flashtool(http://www.flashtool.net/downloads.php)to unlock the bootloader first. I still had my TA Keys so it should be fine.
after unlocking the bootloader, reboot into fastboot mode(I think it's while the phone boots up, you hold power+up vol). and use this; http://forum.xda-developers.com/showthread.php?t=2685932 to boot into CWM recovery.
Once you're in CWM, Install the dual recovery and reboot phone. Hold down vol when the green LED turns on, you will reboot into TWRP. Touch controls won't work but if you press the power button and press it again, touch works.
Install SuperSU 2.40 and you should be okay..
That kernel works on 4.4.2? in the CWM thread right in the first post it says requirements 4.3. Need more details before I move forward with this.
I am on a US D5316 running 4.4.2 , build 19.1.A.0.486.
Hey guys im on stock 3.2.8 , i want to flash open beta 9 .. is there any problem about that?
albaniandroid said:
Hey guys im on stock 3.2.8 , i want to flash open beta 9 .. is there any problem about that?
Click to expand...
Click to collapse
What do you need to know?
LS.xD said:
What do you need to know?
Click to expand...
Click to collapse
So im on stock 3.2.8 never flashed beta..and i want to flash open beta 9 .. is there any problem? I just need to unlock bootloader and flash it with adb? Thanks
albaniandroid said:
So im on stock 3.2.8 never flashed beta..and i want to flash open beta 9 .. is there any problem? I just need to unlock bootloader and flash it with adb? Thanks
Click to expand...
Click to collapse
My recommendation:
- unlock the BL
- flash modded TWRP using fastboot
- perform a full wipe using TWRP
- convert "data" partition to F2FS using TWRP
- flash Open Beta 9 uisng TWRP
- flash SuperSU SR5 to gain ROOT access using TWRP
If you need further support, just ask
LS.xD said:
My recommendation:
- unlock the BL
- flash modded TWRP using fastboot
- perform a full wipe using TWRP
- convert "data" partition to F2FS using TWRP
- flash Open Beta 9 uisng TWRP
- flash SuperSU SR5 to gain ROOT access using TWRP
If you need further support, just ask
Click to expand...
Click to collapse
Thanks alot for your time sir..still have a few questions..is there any way to flash it without twrp..i mean without gaining root..i just want to be on community build ?
albaniandroid said:
Thanks alot for your time sir..still have a few questions..is there any way to flash it without twrp..i mean without gaining root..i just want to be on community build ?
Click to expand...
Click to collapse
sure, you can unlock the BL, use the stock recovery and adb
LS.xD said:
sure, you can unlock the BL, use the stock recovery and adb
Click to expand...
Click to collapse
Thanks a lot bro for your time
If I am on stock recovery and unlocked bootloader, is it possible to root my phone without twrp by flashing magisk zip in stock recovery?
Sprinklefart said:
If I am on stock recovery and unlocked bootloader, is it possible to root my phone without twrp by flashing magisk zip in stock recovery?
Click to expand...
Click to collapse
No. Stock recovery will only flash images & zips from OnePlus.
Stock recovery only works with officially signed files from OnePlus.
If you already went through the trouble of unlocking the bootloader then flashing a custom recovery is very easy and straightforward. Otherwise you might as well relock the bootloader.
Theoretically it is possible with MAGISK (even with locked bootloader) but it didn't work for me...
Steps:
1. Extract the boot.img from stock rom zip
2. Patch with Magisk Manager
3. Rename the patched one to boot.img and replace in stock Rom zip
4. Flash the zip in stock revovery
Unluckily I finish with a "Installation failed" error
Did anybody managed this with 5.02 rom and locked bootloader. I got told that for older stock rom it was possible
Sent from my ONEPLUS A5010 using Tapatalk
No, no, no...
What you do is that you let the Magisk Manager patch the stock boot image (as in 1 & 2 above). Then you use fastboot to flash the patched image to your device. No custom recovery needed...
Code:
fastboot flash boot patched_boot.img
Your bootloader has to be unlocked though.
Didgeridoohan said:
No, no, no...
What you do is that you let the Magisk Manager patch the stock boot image (as in 1 & 2 above). Then you use fastboot to flash the patched image to your device. No custom recovery needed...
Code:
fastboot flash boot patched_boot.img
Your bootloader has to be unlocked though.
Click to expand...
Click to collapse
With fastboot I also tried without success. As you told, it is required that the bootloader is unlocked.
Sent from my ONEPLUS A5010 using Tapatalk
Hello how i can uninstall TWRP on Xiaomi Mi A2 Lite..
I want to lock bootloader
Thx
Flash boot.img from stock rom.
Flash stock boot.img.
If you were rooted, I advise you to also flash system.img and vendor.img from stock, because if any app has changed something in system or vendor, you may brick your device by locking the bootloader
Maybe..
GDFI said:
Flash stock boot.img.
If you were rooted, I advise you to also flash system.img and vendor.img from stock, because if any app has changed something in system or vendor, you may brick your device by locking the bootloader
Click to expand...
Click to collapse
Can i Will installl boot.img system.img and Vendor if i installl the stock rom?
Im sorry if you can't understand me my english Is not good.
Thx