Help Needed: How To Relock & Revert to stock ROM - Sony Xperia Z Ultra

Android 4.4.2 .757 IN
C6802
I have the boot loader unlocked and on DoomKernel v20.
I want to go back to stock Kernel and only have it rooted.
Also have TA backup.
Best way to proceed would be helpful as per the relock thread I need to update kernel.sin first from stock rom.
"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"
1) When I try this option in flashtool, there are 3 files which are being installed. Kernel.sin, rmp.sin and loader.sin. How do I exclude rpm.sin and loader.sin?
2) Once I relock, do i flash the stock rom using flashtool and than restore TA using backupTA or is there another process.
I searched but could not find an appropriate thread with the steps.
Regards
Charles

kidrock23 said:
Android 4.4.2 .757 IN
C6802
I have the boot loader unlocked and on DoomKernel v20.
I want to go back to stock Kernel and only have it rooted.
Also have TA backup.
Best way to proceed would be helpful as per the relock thread I need to update kernel.sin first from stock rom.
"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"
1) When I try this option in flashtool, there are 3 files which are being installed. Kernel.sin, rmp.sin and loader.sin. How do I exclude rpm.sin and loader.sin?
2) Once I relock, do i flash the stock rom using flashtool and than restore TA using backupTA or is there another process.
I searched but could not find an appropriate thread with the steps.
Regards
Charles
Click to expand...
Click to collapse
http://forum.xda-developers.com/xperia-z-ultra/general/guide-everything-root-4-4-4-t2938098 should have the answers, but there are a few ways to reach the end goal.
I would doe it this way
Download the latest india FTF (the one you have?)
Restore TA (this will leave the ZU un-bootable)
Start Flashtool
Select Flashmode
Select the FTF
Uncheck the Wipe DATA (leave checked if you want to have a clean install)
Select only kernel.sin if you want to keep your stuff on the ZU (Don't worry about the other images that will also get prepared, they will only get flashed if they need updating)
Select everything if you want a clean install
Start the flash
Restart ZU in Flashmode

Thanks Blueether, this was pretty simple
Cheers
Regards
Charles

blueether said:
http://forum.xda-developers.com/xperia-z-ultra/general/guide-everything-root-4-4-4-t2938098 should have the answers, but there are a few ways to reach the end goal.
I would doe it this way
Download the latest india FTF (the one you have?)
Restore TA (this will leave the ZU un-bootable)
Start Flashtool
Select Flashmode
Select the FTF
Uncheck the Wipe DATA (leave checked if you want to have a clean install)
Select only kernel.sin if you want to keep your stuff on the ZU (Don't worry about the other images that will also get prepared, they will only get flashed if they need updating)
Select everything if you want a clean install
Start the flash
Restart ZU in Flashmode
Click to expand...
Click to collapse
What about me? I don't have a backed up TA partition. How do the steps go for me?

Same for me here, I didn't back up TA partition but i want to re-lock Bootloader. Is it possible or i am doomed now?? I need to send my device to a Sony Service Center, for replacement and i need to revert to full factory condition otherwise my warranty is void.
I thought that unlocking bootloader doesn't void warranty since it is officially provided by Sony and they don't mention anywhere during the procedure that you loose your warranty but their service representatives have a different opinion.
Sent from my Xperia Z Ultra using Tapatalk

Godaemon said:
Same for me here, I didn't back up TA partition but i want to re-lock Bootloader. Is it possible or i am doomed now?? I need to send my device to a Sony Service Center, for replacement and i need to revert to full factory condition otherwise my warranty is void.
I thought that unlocking bootloader doesn't void warranty since it is officially provided by Sony and they don't mention anywhere during the procedure that you loose your warranty but their service representatives have a different opinion.
Sent from my Xperia Z Ultra using Tapatalk
Click to expand...
Click to collapse
http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
Voiding the warranty
If you unlock the boot loader, you may void the warranty of your device and/or any warranty from your operator. See your device’s warranty statement for details. Additionally, due to the modified device software, Sony’s repair network will likely have to replace key components before it can properly test, repair and verify your device using our repair tools and software. Consequently, if Sony performs a warranty repair, Sony will likely charge you a significant service fee for the additional costs caused by your modification of the software.
Click to expand...
Click to collapse
Looks to be plainly stated to me
To lock the bootloader without a TA backup just use flash tool and the padlock icon

blueether said:
http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
Looks to be plainly stated to me
To lock the bootloader without a TA backup just use flash tool and the padlock icon
Click to expand...
Click to collapse
The padlock icon which shows the lock as open reads "Root device". Are you talking about that one? But its greyed out along with the other ones to the left in the same row.

jenxrj said:
The padlock icon which shows the lock as open reads "Root device". Are you talking about that one? But its greyed out along with the other ones to the left in the same row.
Click to expand...
Click to collapse
Sorry, I got the wrong icon, use the BLU one - I was going by memory and it must have been too long ago that I used flashtool
There is still no guarantee that they will take it with missing keys - good luck

blueether said:
Sorry, I got the wrong icon, use the BLU one - I was going by memory and it must have been too long ago that I used flashtool
There is still no guarantee that they will take it with missing keys - good luck
Click to expand...
Click to collapse
Mate, that is the Bootloader unlock option which I had used to unlock the bootloader initially, I'm not sure it will lock the bootloader mate.
I have another offtopic question for you mate, can you how the memory configuration of a device? I am asking this because, I restored my rom+apps from a nandroid backup which had all my apps and games, and approximately about 5 GB. Naturally, after the restoration, I saw that the internal sd card memory had reduced in size by about ~4-5GB. But the issue is that when I checked the folders from the internal SD card, it says that all folders are only a few mb in size. Where are the files getting restored to and which part of memory is it getting restored to. How much is the phone memory and how much in size is the internal storage[internal sd card]. Where are my apps going? I know their location in root, but I would like to know how where they are mapped from.

jenxrj said:
Mate, that is the Bootloader unlock option which I had used to unlock the bootloader initially, I'm not sure it will lock the bootloader mate.
Click to expand...
Click to collapse
Try it
It should lock it as well when in an unlocked state - I have done this many times when testing root methods pre towelroot
I have another offtopic question for you mate, can you how the memory configuration of a device? I am asking this because, I restored my rom+apps from a nandroid backup which had all my apps and games, and approximately about 5 GB. Naturally, after the restoration, I saw that the internal sd card memory had reduced in size by about ~4-5GB. But the issue is that when I checked the folders from the internal SD card, it says that all folders are only a few mb in size. Where are the files getting restored to and which part of memory is it getting restored to. How much is the phone memory and how much in size is the internal storage[internal sd card]. Where are my apps going? I know their location in root, but I would like to know how where they are mapped from.
Click to expand...
Click to collapse
Pass

blueether said:
Try it
It should lock it as well when in an unlocked state - I have done this many times when testing root methods pre towelroot
Click to expand...
Click to collapse
Is there a way to restore DRM keys from TA backup or any other method after unlocking the BL?

Go here This tool will back up as well as restore
http://forum.xda-developers.com/showthread.php?t=2292598

Related

[noobish] [SOLA] backuping, extracting recovering state of a stock

Am not such a noob, I've been unlocking, flashing, rooting and messing with xdas since my first oldschool qtek ... but am going to ask totally noobish question, which has probably been answered many times and you'll probably hate me for doing so.
anyways...
after my xperia mini pro got smashed accidentaly, I've bought xperia sola today, I couldn't resisted and am just playin' with now...
am probably all about to unlock, flash, overclock and reinstall it, but I'm not going to trust sony completely, so I'm worried about things that got me in past like broken buttons, failing audio jacks etc etc. and for problems like those you're glad for your warranty, long story short, the noobish question is:
please, give me hint, link, short tutorial - which is best way to backup stock rom and state of the phone before unlocking and flashing another bootloader and roms?
for example, am I able to extract some .ftf image of rom or something like that? to be able completely revert all my activity on that phone in case I would have to let it repaired because of some hw issues? simply, which is the safest and best way to revert and fool the service guys if I would have to?
thanx a lot for any link, suggestion or kickstart...
4n60 said:
Am not such a noob, I've been unlocking, flashing, rooting and messing with xdas since my first oldschool qtek ... but am going to ask totally noobish question, which has probably been answered many times and you'll probably hate me for doing so.
anyways...
after my xperia mini pro got smashed accidentaly, I've bought xperia sola today, I couldn't resisted and am just playin' with now...
am probably all about to unlock, flash, overclock and reinstall it, but I'm not going to trust sony completely, so I'm worried about things that got me in past like broken buttons, failing audio jacks etc etc. and for problems like those you're glad for your warranty, long story short, the noobish question is:
please, give me hint, link, short tutorial - which is best way to backup stock rom and state of the phone before unlocking and flashing another bootloader and roms?
for example, am I able to extract some .ftf image of rom or something like that? to be able completely revert all my activity on that phone in case I would have to let it repaired because of some hw issues? simply, which is the safest and best way to revert and fool the service guys if I would have to?
thanx a lot for any link, suggestion or kickstart...
Click to expand...
Click to collapse
you will need... download these things
1) flashtool
2) stock ftf ICS (from dev section)
3) stock ftf GB (may be needed)
just keep these things handy whenever doing anything.....
for everything else read the stickies in this section itself........
@[email protected] said:
you will need... download these things
1) flashtool
2) stock ftf ICS (from dev section)
3) stock ftf GB (may be needed)
just keep these things handy whenever doing anything.....
for everything else read the stickies in this section itself........
Click to expand...
Click to collapse
so, flashing some stock ftf roms and then maybe update via companion or something like that must be sastifying and enough.
anything I might mess up and change via flashtool etc might be reflashed back to locked and stock via ftf...
so, its safe then, if I can revert. thanx...
and any way how to get ftf from stock rom I bought it with? or its too difficult and flashing stock roms from dev section and updating after is enough?
Hi, noobs are welcome! Or half-noobs or whatever...
OK so the official story from Sony is that if you root or unlock the bootloader, they will know and they are not obliged to accept your warranty. However, I've good news, if you return your phone to stock, for example using PC Companion or Update Service (with locked bootloader, or it will brick) then they are unlikely to refuse warranty - in fact, I've never heard of Sony refusing becuase of root.
Even better, many users here who unlocked their bootloaders have sent away for repair and their phone was repaired under warranty, with no cost! That's really good news! :victory:
4n60 said:
so, flashing some stock ftf roms and then maybe update via companion or something like that must be sastifying and enough.
anything I might mess up and change via flashtool etc might be reflashed back to locked and stock via ftf...
so, its safe then, if I can revert. thanx...
and any way how to get ftf from stock rom I bought it with? or its too difficult and flashing stock roms from dev section and updating after is enough?
Click to expand...
Click to collapse
to backup the rom u got with ur fone perform these steps:
1. You need to reinstall the firmware using SUS (Sony Update Service )
2. After completing go to C:\Program Files\Sony Mobile\Update Service\db\13740270\blob_fs\
3. Copy 2 files One of 15 mb and other around +- 200/300 MB into a New folder
4. Run FlashTool > Tools > Decrypt Files
5. Source folder : New folder that you created
6. From Files, Select both of the files and select OK
7. Wait till the decrypting finishes , after it does, a list will appear on the left
8. From Folder list, select all and move everything to the right
9. Fill all the details in the box
10. If the firmware that you are backing up is ICS then mark Disable Final Verification Check and select OK
11. Select your device > Ok
12. You will see the backed up firmware in > C: > flashtool > firmwares

[Q] Installing CM-10.2 Android-4.3

Hey guys, I've rooted, installed CWM Recovery, Unlocked Bootloader, and installed CyanogenMod on another phone before.
The thing is, I've had this phone for about 6 months and wanted to do the same. However, after browsing through the forums, man are there a lot of scary sh*t going down. I would like the request the procedure to install CyanogenMod safely, without losing any Keys/IMEI/XReality/DRMkeys/Etcetera.
I dont know if the method given by FXP is supposed to be this straight forward, but I too like others, do not want to risk losing important stuff if it can be avoided (Keys/IMEI/XReality/DRMkeys/Etcetera).
HOWTO
Install instructions:
first time
- power off the phone:
- hold vol+ and plug usb to boot into fastboot (blu led)
- fastboot flash boot boot.img (from cm10 zip)
- fastboot reboot
- enter recovery, on boot led will be violet for 3'', during this period press vol+
- flash rom zip
- flash gapps zip
- wipe
- reboot
for update just flash rom zip from recovery
Google Apps are not included in this ROM. You'll need to find those yourself if you want them.
Click to expand...
Click to collapse
Frankly speaking, the forums is pretty much jumbled up, and the existing [Guide] Threads are either incomplete (Lacking important steps), or Unclear (Non-Specific steps).
Perhaps someone could do me a favour by using the template that I have below to help me, and possibly others, to install CM 10.2 on our beast of a phone.
Template:
1. Backup TA and DRMkeys and stuff: http://forum-xda-developers-com/backup
2. Root: http://forum-xda-developers-com/root
3. Recovery : http://forum-xda-developers-com/recovery
4: Unlock Bootloader: http://forum-xda-developers-com/ulbl
5: Install FXP's CM 10.2 :http://forum.xda-developers.com/showthread.php?t=2461286
Something like that would suffice I think, as long as no important steps are missing that would cause me to lose stuff unique to my phone, that cannot be recovered if I didn't back it up.
P.S. My version is 14.1.B.2.257
P.P.S. Thank you in advance.
1. Root
2. Backup TA (VERY IMPORTANT)
3. Install Recovery and unlock the bootloader, or the other way around. Both ways work.
4. Install ROM by following the "guide" that you quoted above.
Sent from my C6833 using Tapatalk
I'm on 14.1.B.2.257, I believe reverting to the previous version causes data to be lost unless you back it up right. *Sighs* How troublesome.
Xenogenics said:
I'm on 14.1.B.2.257, I believe reverting to the previous version causes data to be lost unless you back it up right. *Sighs* How troublesome.
Click to expand...
Click to collapse
you will have to back up the data anyways. I think unlocking the bootloader does a factory reset, as well one is needed going from stock to CM if i unforget correctly
I am also wondering about this. I'm currently running firmware .257.
I understand that I need to back up the TA partition first (though I'm not exactly sure on what I will loose if I don't). I also understand that to do this I need to root the stock rom. I understand that in order to root, I'll need to first downgrade to an earlier firmware using flashtool. However, after that I'm not so sure what I need to do. As far as I can see, the only method of gaining root currently is to use vRoot, which is currently under investigation for IMEI mining.
How else can I root the device? I was thinking of maybe using the recovery for locked bootloaders here: http://forum.xda-developers.com/showthread.php?t=2426739
Following by flashing SuperSU from recovery as per usual.
Will this work, keeping the TA partition intact so that I can back it up before flashing CM? Assuming so, would I even need to downgrade from the .257 firmware at all?
Thanks,
i have CWM now so can flash custom roms like i did on other phones right?
what does unlocking the bootloader give me? unless i'm wrong and i have to unlock to flash?
all i've done so far is do a backup is all. (did a TA backup a while back though)
stiggy2012 said:
I am also wondering about this. I'm currently running firmware .257.
I understand that I need to back up the TA partition first (though I'm not exactly sure on what I will loose if I don't). I also understand that to do this I need to root the stock rom. I understand that in order to root, I'll need to first downgrade to an earlier firmware using flashtool. However, after that I'm not so sure what I need to do. As far as I can see, the only method of gaining root currently is to use vRoot, which is currently under investigation for IMEI mining.
How else can I root the device? I was thinking of maybe using the recovery for locked bootloaders here: http://forum.xda-developers.com/showthread.php?t=2426739
Following by flashing SuperSU from recovery as per usual.
Will this work, keeping the TA partition intact so that I can back it up before flashing CM? Assuming so, would I even need to downgrade from the .257 firmware at all?
Thanks,
Click to expand...
Click to collapse
OK, so looking into this further, you already need to have root to be able to flash the "CWM for locked bootloader" rocovery. So as far as I can see, the only way to get root in order to back up the TA partition is to give your IMEI to the Chinese via vRoot?
Thank god the stock rom is so good.
tommo123 said:
i have CWM now so can flash custom roms like i did on other phones right?
what does unlocking the bootloader give me? unless i'm wrong and i have to unlock to flash?
all i've done so far is do a backup is all. (did a TA backup a while back though)
Click to expand...
Click to collapse
You have to unlock the bootloader to flash custom ROMs. You can flash stock ROMs without unlocking it, but you have to unlock it if you want CM, PAC, PA etc.
Sent from my C6833 using Tapatalk
really, so what would happen if i tried to flash an aosp rom now? would the system partition essentially be read only?
sorry for the Qs but haven't had a locked bootloader since the htc desire (although the s-off for that one was to remap the partitions to allow more room for data) and the reasons for unlocking don't seem to be the same.
tommo123 said:
really, so what would happen if i tried to flash an aosp rom now? would the system partition essentially be read only?
sorry for the Qs but haven't had a locked bootloader since the htc desire (although the s-off for that one was to remap the partitions to allow more room for data) and the reasons for unlocking don't seem to be the same.
Click to expand...
Click to collapse
Nothing will happen if you try it now. You can easily unlock the bootloader by going to Sony's Dev site, request your key and use Flashtool to unlock it. It takes a couple of minutes once you have Flashtool and the drivers installed. It's also perfectly safe to unlock it and you will lose your warranty. BUT you can easily relock it again if something happens to your ZU and the warrenty will be back.
Remember to backup your TA before you unlock your bootloader. It contains a lot if device info and your unique DRM keys. Unlocking the bootloader will wipe the system partition, but you will still have root, photos, music etc. (But do a backup of those just in case).
Sent from my C6833 using Tapatalk
i think that's where i got confused with drivers - unlocking.
i have already done a backup of my TA part so that side of it is ok. i'll leave unlocking until there's a rom i want to try. possibly a complete 4.4 or something.
cheers LM
tommo123 said:
i think that's where i got confused with drivers - unlocking.
i have already done a backup of my TA part so that side of it is ok. i'll leave unlocking until there's a rom i want to try. possibly a complete 4.4 or something.
cheers LM
Click to expand...
Click to collapse
If you've already backed up your TA, it means that you have the drivers installed, so job done All you have to do is to install Flashtool and get your key from Sony (which you will get on your email straight away). Either way, just ask here if/when you want to unlock it so we can guide you through it (it's very easy though).
ran flashtool but gave me driver errors - missing. unable to install the drivers included (i guess due to windows 8 driver signing)

where can i found stock rom?

Hello.
I know that i am a newbee, but that's it.
So my device story is:
I upgraded it to Last 4.4.2.
I decided that i want to root it.
I search here a way to root it.
I read a lot of threads about it
I doungraded it to 523(somethink like that).
I rooted it with vroot.
I backed up my TA partition with a special program.
I unlocked bootloader.
I upgraded it to Last firmware(757)
I flashed a kernel with 2 recovery
I installed SU with from recovery(i precopied su.rar on sd card).
It's done.
Now my questions are:
1) if my Phone wasn't root, The program for TA shoud show me an error , or it look like it worked? On my device showed exactly like in hamdogg tutorial.
2) how can i check if my bootloader is locked or unlocked?
3) after i instal a costum rom, how can i come back to stock rom? Stock rom is in The hamdogg ftf file?
4) if rom isn't in The ftf file, where can i found it?
My device is c6833 and i started root actions ptwo weeks ago.
Ps: after i rooted with vroot, in my device i don't find a shield( app icon) like in hamdogg tutorial, but i find another one or two apps(i don't remind). Maybe it hapens because i used a New version of vroot and it has another icon.
Thanck you.
Somebody
CHINEZU097 said:
Hello.
I know that i am a newbee, but that's it.
So my device story is:
...
Now my questions are:
1) if my Phone wasn't root, The program for TA shoud show me an error , or it look like it worked? On my device showed exactly like in hamdogg tutorial.
2) how can i check if my bootloader is locked or unlocked?
3) after i instal a costum rom, how can i come back to stock rom? Stock rom is in The hamdogg ftf file?
4) if rom isn't in The ftf file, where can i found it?
My device is c6833 and i started root actions ptwo weeks ago.
Ps: after i rooted with vroot, in my device i don't find a shield( app icon) like in hamdogg tutorial, but i find another one or two apps(i don't remind). Maybe it hapens because i used a New version of vroot and it has another icon.
Thanck you.
Click to expand...
Click to collapse
1/ not quite sure what you are asking here
2/ dial *#*#7378423#*#* and look in the service menu for the bootloader status
3/ Just flash a full FTF normally in the FTF thread in the dev section
vroot is evil - you should have read a little more and used either bin4ry's or [NUT]'s tools. but what's done is done.
blueether said:
1/ not quite sure what you are asking
Click to expand...
Click to collapse
At the first ponit i refer if the program for backup ta partition can show an error if The Phone wasn't root or it can look like the phone was root even if it wasn't.
And one more question:
When i flash a stock ftf file i lose the root?
CHINEZU097 said:
At the first ponit i refer if the program for backup ta partition can show an error if The Phone wasn't root or it can look like the phone was root even if it wasn't.
And one more question:
When i flash a stock ftf file i lose the root?
Click to expand...
Click to collapse
I guess the ta backup program would error as it needs root
yes when you flash a FTF it will wipe out the su app
blueether said:
yes when you flash a FTF it will wipe out the su app
Click to expand...
Click to collapse
I Thanck you very much!!!!

[Q] Just rooted, if I upgrade will I lose root though?

So today I managed to root my Z2
Following advice from o0 Matt 0o in another thread, I downgraded from 4.4.4 to 4.42 using flashtool, then using the rootkitXperia_20140719 install.bat the phone is now rooted (for some reason it would not find adb even though running adb from a cmd prompt worked!)
Anyway, now I am on 4.4.2 with root, if I upgrade back to stock 4.4.4 rom will I lose the root?
EDIT: I have installed dual recovery, is there a pre packaged rooted rom for:
Android 4.4.4
23.0.1.A.0.167
United Kingdom - 3 - 1281-2574
Click to expand...
Click to collapse
Dont really want to create a rooted package myself, the steps can be confusing
Thanks!
Since you have dual recovery on 4.4.2 you can use the pre-rooted package by niaboc79 (can be found in the Android Development section) or any pre-rooted stock based ROM based on 4.4.4. It is all down to your preference.
I doubt there will be a 3 branded pre-rooted package either.
Actually you're right I should just get one of those roms which is not branded which would look better anyway
One last thing what is the steps to backup ta partition? At some point I will unlock bootloader but don't want to lose the dry keys
Cheers
Ned_Flanders said:
Actually you're right I should just get one of those roms which is not branded which would look better anyway
One last thing what is the steps to backup ta partition? At some point I will unlock bootloader but don't want to lose the dry keys
Cheers
Click to expand...
Click to collapse
In the Sony cross device development section there is the backup TA tool, simply use that. Also, make sure to upload your backup to a cloud service or something like that, in case your hard drive goes kaput and you need it to relock your bootloader.
Please remember that unlocking the bootloader wipes the internal SD card (not the user one). Also, restoring the TA backup relocks the bootloader so make sure you are on a stock ROM and kernel when you restore the backup.
gamer649 said:
In the Sony cross device development section there is the backup TA tool, simply use that. Also, make sure to upload your backup to a cloud service or something like that, in case your hard drive goes kaput and you need it to relock your bootloader.
Please remember that unlocking the bootloader wipes the internal SD card (not the user one). Also, restoring the TA backup relocks the bootloader so make sure you are on a stock ROM and kernel when you restore the backup.
Click to expand...
Click to collapse
Cool thanks for the tips :good:

Root E5823 6.0.1 32.2.a.0.305

Hi All,
I am looking for a tutorial that explains how to root the cellphone build under 32.2.a.0.305 running with Marshmallow. I haven't found any topic that state someone succeeded to root this one. Any chance someone can give me some guidance. On some other website it is mentionned that we cannot root it for the moment. So I was thinking maybe downgrade it and go back to Lollipop? But even for that I need some guidance.
Thanks in advance.
Cheers.
francisci said:
Hi All,
I am looking for a tutorial that explains how to root the cellphone build under 32.2.a.0.305 running with Marshmallow. I haven't found any topic that state someone succeeded to root this one. Any chance someone can give me some guidance. On some other website it is mentionned that we cannot root it for the moment. So I was thinking maybe downgrade it and go back to Lollipop? But even for that I need some guidance.
Thanks in advance.
Cheers.
Click to expand...
Click to collapse
Theres a perfectly detailed guide in general section , you should downgrade to lolipop so you can use the temp root tool to back up drm keys before unlocking the bootloader , but if you dont care about drm keys , you can in fact just skip to the boorloader unlock part and root. Its so simple , but i would suggest going through the whole proccess and back up your drm keys cuz once lost , forever lost so ... Yah
madshark2009 said:
Theres a perfectly detailed guide in general section , you should downgrade to lolipop so you can use the temp root tool to back up drm keys before unlocking the bootloader , but if you dont care about drm keys , you can in fact just skip to the boorloader unlock part and root. Its so simple , but i would suggest going through the whole proccess and back up your drm keys cuz once lost , forever lost so ... Yah
Click to expand...
Click to collapse
Hi Madshark
Thanks for your prompt reply. Appreciate it.
I'm at rookie level in terms or rooting smartphone, so I don't know even the basics. Can you send me the link of the "detailed guide" and also explain me what does the "drm keys" stand for?
francisci said:
Hi Madshark
Thanks for your prompt reply. Appreciate it.
I'm at rookie level in terms or rooting smartphone, so I don't know even the basics. Can you send me the link of the "detailed guide" and also explain me what does the "drm keys" stand for?
Click to expand...
Click to collapse
this is the link to the post that I used and followed its instructions to root my phone personally.
http://forum.xda-developers.com/z5-compact/general/how-to-backup-restore-ta-partition-root-t3479532
if you lose DRM keys (and that happens when unlocking the bootloader) then some functions in the device will stop working like Bravia engine, Track ID, etc and on our z5 compact some say even stock camera stops from working, and when you lose those keys you can NEVER get them back because each device has its OWN TA partition that includes its OWN DRM keys and no other device has the same so thats why each and every one who owns an Xperia device must perform this TA backup in case they ever wanted to get back to stock (unroot and relock bootloader) they can restore these keys and functions to factory functionality. if you dont back them up and unlocked the boot loader then you will never get some functions to get back to working properly if you ever wanted to get back to stock and relock your boot loader!
However; there is some thing that is called DRM fix in certain roms that when you install these roms, you will not feel like you lost your functions because they already include a fix that behaves like the DRM keys.
still, losing your DRM keys will cause your device to lose its warranty and if you didnt back them up then you will never get it back even if you relocked your bootloader. so I personally backed them up because my device has a 2 year warranty and I dont want to waste them if any thing goes wrong I would restore them and send it to get fixed.
yet the only problem is warranty to me so if you have no warranty or dont care about it you can skip the back up process but yet again I dont like taking chances so just back them up its a 2 minute thing.
and I say again, all stock based roms in this Z5 compact forum have drm fix...
and to give you my personal opinion I dont like the Xperia z5 compact rooted because as I saw, there is so little roms and so little kernel variations and all the stable roms are based on stock MM firmware and CM roms arent fully stable yet , (they are but they have bugs that I hate having) and I only rooted so i can increase the volume of my phone speakers and headset and increase the strength of the torch but it all turns out to be that all sound mods have bugs and torch mod only work properly on any thing but STOCK ftf but any thing besides stock ftf isnt fully stable so I dont see any point in rooting this device I so regret buying it I should have checked how little the modifications are that can be made on it I owned Z2 and HTC devices in the past and boy! if I wanted to try different things every day for the past 2 years I wouldnt have finished by now there is sooo much to test and so much to try and to customize ...
the only rom that can be customized and can be enjoyed as much that we have is Kryptonian - the rom of awesomeness!
I hope I was helpful
madshark2009 said:
this is the link to the post that I used and followed its instructions to root my phone personally.
http://forum.xda-developers.com/z5-compact/general/how-to-backup-restore-ta-partition-root-t3479532
if you lose DRM keys (and that happens when unlocking the bootloader) then some functions in the device will stop working like Bravia engine, Track ID, etc and on our z5 compact some say even stock camera stops from working, and when you lose those keys you can NEVER get them back because each device has its OWN TA partition that includes its OWN DRM keys and no other device has the same so thats why each and every one who owns an Xperia device must perform this TA backup in case they ever wanted to get back to stock (unroot and relock bootloader) they can restore these keys and functions to factory functionality. if you dont back them up and unlocked the boot loader then you will never get some functions to get back to working properly if you ever wanted to get back to stock and relock your boot loader!
However; there is some thing that is called DRM fix in certain roms that when you install these roms, you will not feel like you lost your functions because they already include a fix that behaves like the DRM keys.
still, losing your DRM keys will cause your device to lose its warranty and if you didnt back them up then you will never get it back even if you relocked your bootloader. so I personally backed them up because my device has a 2 year warranty and I dont want to waste them if any thing goes wrong I would restore them and send it to get fixed.
yet the only problem is warranty to me so if you have no warranty or dont care about it you can skip the back up process but yet again I dont like taking chances so just back them up its a 2 minute thing.
and I say again, all stock based roms in this Z5 compact forum have drm fix...
and to give you my personal opinion I dont like the Xperia z5 compact rooted because as I saw, there is so little roms and so little kernel variations and all the stable roms are based on stock MM firmware and CM roms arent fully stable yet , (they are but they have bugs that I hate having) and I only rooted so i can increase the volume of my phone speakers and headset and increase the strength of the torch but it all turns out to be that all sound mods have bugs and torch mod only work properly on any thing but STOCK ftf but any thing besides stock ftf isnt fully stable so I dont see any point in rooting this device I so regret buying it I should have checked how little the modifications are that can be made on it I owned Z2 and HTC devices in the past and boy! if I wanted to try different things every day for the past 2 years I wouldnt have finished by now there is sooo much to test and so much to try and to customize ...
the only rom that can be customized and can be enjoyed as much that we have is Kryptonian - the rom of awesomeness!
I hope I was helpful
Click to expand...
Click to collapse
Very helpful ! Thanks v much - I'll let you know if I succeed!
Ok, 2 more things.
Probably the most important: warranty has nothing to do with DRM keys, unlocked bootloader or what more. Sony is not/never gonna repair smartphones when there're problems caused by custom ROM or kernel, they're not gonna fix a bootloop caused by a bad flashing procedure and so on. But it's not true that you're automatically losing warranty by unlocking bootloader or getting root access.
Next to that, you don't have to go through that process of backing up your own TA, if you don't want. It's much easier to root and flash a kernel with DRM keys patched. Procedure to root is really simple. Flash new rom, unlock bootloader, fastboot to flash compatible twrp , flash supersu, flash modded kernel, done. There're already quite some tutorials to guide you through this proces.
--jenana-- said:
Ok, 2 more things.
Probably the most important: warranty has nothing to do with DRM keys, unlocked bootloader or what more. Sony is not/never gonna repair smartphones when there're problems caused by custom ROM or kernel, they're not gonna fix a bootloop caused by a bad flashing procedure and so on. But it's not true that you're automatically losing warranty by unlocking bootloader or getting root access.
Next to that, you don't have to go through that process of backing up your own TA, if you don't want. It's much easier to root and flash a kernel with DRM keys patched. Procedure to root is really simple. Flash new rom, unlock bootloader, fastboot to flash compatible twrp , flash supersu, flash modded kernel, done. There're already quite some tutorials to guide you through this proces.
Click to expand...
Click to collapse
Yah well if the bootloader is unlocked and the system has modification on it , they have every right to refuse fixing it for you because its hard to prove that what bricked the device isnt some modification that you made... Unless they have a really good heart , i had a z2 before and it was rooted but the ftf on it was custom but was on it for like 7 months and all the mods were working properly untill all of the sudden it wont turn on so they told me that what i.did caused it but i didnt do anything wrong i know they lying but can u prove it!? No..
Hi guys,
How do I flash the boot.img using cmd and fastboot ?
francisci said:
Hi guys,
How do I flash the boot.img using cmd and fastboot ?
Click to expand...
Click to collapse
first you gotta download ADB folder
you can find it here if im not wrong : http://forum.xda-developers.com/showthread.php?t=2588979
then place the adb folder in C:\
I think it automatically place it there when installing so no need to do that if so
2. go to cmd (start - type in CMD) and once it launches direct it to where the adb folder is "cd c:\adb" without the quotes of course
3. to flash boot type in "fastboot flash boot boot.img" without quotes and one space step between words only.
4. to flash recovert just type is "fastboot flash recovery "recovery name".img wihtout the quotes and copy recovery name exactly the way it is.
that it
keep in mind that any time you want to flash any thing , that thing must be inside the adb folder for example ,boot.img file must be there in the adb folder with all the other files when installing adb, and also recovery and every other thing you want to flash using fastboot.
hope this is helpful.
Hi madshark, thanks again for your help. I have been able to flash the boot img and then rename twrp into recovery and flash it as well.
Now I'm stuck the device cannot reboot so I cannot transfert the SuperSU files in to the device...
And when I type adb devices in cmd, it do not mention the device ! Seems that I'm facing an issue.
francisci said:
Hi madshark, thanks again for your help. I have been able to flash the boot img and then rename twrp into recovery and flash it as well.
Now I'm stuck the device cannot reboot so I cannot transfert the SuperSU files in to the device...
And when I type adb devices in cmd, it do not mention the device ! Seems that I'm facing an issue.
Click to expand...
Click to collapse
well youre new, mistakes like these happen Ive been there, sorry for the late reply XDA isnt giving me notification
any way, make sure after backup TA (which is on lolipop firmware) you gotta get back to original .305 firmware (MM) the process of you getting back to lolipop in the first place is so you can use Ivoyroot tool for temporary root so you can backup your TA partition, once that is done you must get back to .305 because you are flashing a kernel (boot.img) that is for build .305 I guess the guide guy didnt mention this?
second when I said copy recovery name as it is I meant what recovery name you have for example
fastboot flash recovery twrp-3.0.2-0-E5823-20160417.img
thats my recovery name the one that I downloaded, yours might say some thing else its OK I meant copy YOUR recovery name to CMD the way it is exactly in the ADB folder
and now your stuck, if your bootloader is already unlocked, just flash .305 firmware with flashtool the same way you flashed the lolipop firmware, once that is done, do the first boot settings and once device is launched into the software , just flash boot again
make sure you follow instructions to the POINT, so you gotta turn of your phone, press the volume up button keep it pressed while connecting your phone to the PC and flash boot and recovery and thats it
and after youre done with this process , then you turn on your phone connect it to your PC and place the superSU zip file in it and then go to recovery and flash it
adb isnt recognizing your device?
thats weird if you just connect your device nothing will happen, so you turn off your phone and press the volume up button and connect it, (thats how you enter fastboot mode) and if still doesnt recognize then do what I told you to do already and see what happens next
keep me updated and if its urgent just send me a PM because I dont see notification otherwise...
Thanks Madshark for your help, it has finally worked!

Categories

Resources