[UNMAINTAINED][TOOL][LB][ROOT] Backup TA v9.11 for Windows [20140615] - Sony Cross-Device General

UNMAINTAINED! See this post
Backup TA for Sony Xperia
Backup TA can backup and restore the TA partition of the device. When you create a backup before unlocking for the first time, then you will be able to restore to full factory state (including a locked bootloader). This means all DRM keys intact, Bravia Engine working in Album and last but not least your warranty when needed :highfive:.
NOTE: When you did create a backup of your device's TA with another tool or Backup TA v4 or earlier, you are able to convert it to a valid Backup TA package by choosing 'Convert TA.img' from the menu. When you've done this you are able to restore it safely.
READ FIRST: At the bottom of this post is the FAQ. Here you will find answers on the most asked questions. Read them before posting any question in this thread. When you want my support, tell me which device and version of Backup TA you're using and attach the complete output. I can not help you without this and besides it's really not so much to ask in return, now is it? No effort without effort.
This tool currently only works under Windows. Mac, Linux, and native Android will be supported in the future. Using this tool is at your own risk.
Downloads
Changelog
Source (released under MIT license)
Stable releases do have a version tag like this: v1.0 (example)
Beta releases do have a version tag like this: v1.0b2 (example).
COMPATIBLE DEVICES
Sony Xperia Z2
Sony Xperia Z2 Tablet
Sony Xperia Z1 Compact
Sony Xperia Z1
Sony Xperia Z
Sony Xperia Z Tablet
[...]
All Compatible Devices
GUIDE
1. Download the latest version of Backup TA.
2. Extract the ZIP file to a folder location of your choosing.
3. Navigate to the folder location of Backup TA.
4. Make sure no other script or application which is using ADB is running.
5. Make sure the device is booted in normal mode (the way you normally use it).
6. Run Backup-TA.bat
7. Read the last paragraph of the license before continuing.
8. Read the information and follow the instructions given by the tool.
Backup Video Tutorial. Kindly provided by @shem2409:
FAQ
Q: Is my device supported?
A: Look at the supported devices list above this FAQ. When it is not listed, try to make a backup it will tell you if your device is supported.
Q: Do I need root for this?
A: Yes, you do need root for both backup and restore to work. I would advice to use @DooMLoRD's excellent Easy Rooting Toolkit for this, when not already rooted.
Q: Can I use someone else's backup?
A: No, this will hard-brick your device.
Q: Can I restore my TA.img file from Backup TA v4 and earlier or another tool?
A: Yes, choose "Convert TA.img" in the menu.
Q: Does it bring back my DRM keys when I already unlocked my device before making a backup?
A: Not without a backup of the TA before it was ever unlocked.
Q: Can I restore my TA while running a ROM with a non-stock kernel?
A: Yes, but it will soft-brick your device and you need Sony PC Companion or Flashtool to fix it by flashing stock firmware. Best is to first return to a complete stock ROM or at least flash a stock kernel (do not confuse with stock based kernel!) before restoring the TA, this prevents the soft-brick.
Q: Will a restore relock the bootloader?
A: Yes, it will relock the bootloader like it was never unlocked.
Q: What is 'restore dry-run'?
A: When you do a dry-run restore it will perform a regular restore with the exception that it will not write anything to your device. This is helpful to test a backup without actually restoring it.
Q: What is the correct file size for a backup?
A: The TA partition size can differ per model, so there is no one answer to this question. You can rest assured that your backup is fine, also in file size, when the tool says the backup was successful.
Q: Why do multiple backups often differ in size?
A: The TA partition also contains a logging area which changes every time the device boots, which then leads to different compression size per backup file. Nothing to worry about.

DevShaft said:
Backup-TA for Sony Xperia Z / ZL
Backup-TA can backup and restore the TA partition of the device. When you create a backup before unlocking for the first time, then you will be able to restore to full factory state. This means all DRM keys intact, Bravia Engine working in Album and last but not least your warranty when needed :highfive:.
READ: At the bottom of this post is the FAQ. Here you will find answers on the most asked questions. Read them before posting any question in this thread. When you post a question which is already answered in the FAQ, I will ignore you and smile .
This tool only works under Windows. Mac and Linux will not be supported.
Downloads: https://github.com/DevShaft/Backup-TA/tags
Source: https://github.com/DevShaft/Backup-TA (release under MIT license)
FAQ
Q: Do I need root for this?
A: Yes, you do need root for this to work.
Q: Does it really work?
A: Really?
Q: Can I use someone else's backup?
A: No, this will hard-brick your device.
Q: Does it bring back my DRM keys etc. when I already unlocked my device?
A: Not without a backup of the TA before the initial unlock.
Click to expand...
Click to collapse
Great that you made a new one, may keep others from uneccesary bricking their devices :thumbup:
A thing for the FAQ would be the softbrick when restoring on other than stock and and that it only works on totally stock, not bringing DRM keys to other ROMs when unlocked.
Skickat från min C6603 via Tapatalk 2

Just used this tool for my ION, it has worked like a charm !
Thank you a lot !

Good to hear @Marsou77!

So, can we finally speak about that at this stage we all can unlock the bootloader, mess with the phone, install any room, do whatever, and in a couple of months, flash a stock rom, root, and then restore the TA backup having the phone intact, as if I never unlocked my bootloader. RIGHT?

Right! Proof here:> http://forum.xda-developers.com/showthread.php?p=41707765
Sent from my C6603 using xda app-developers app

caqo71 said:
DevShaft said:
Just uploaded Backup-TA v8.4 with the following changes:
Backup-TA v8.4 (2013-05-23)
==============================
Fixed Bugs
----------
- Fixed bug in IMEI input.
- Added choice.com as part of the tool instead of relying on Windows.
Click to expand...
Click to collapse
This means that I have to do a new backup?
.
Click to expand...
Click to collapse
No IMEI input is only for restoring. The bug was when you provided your IMEI before in the same session, you could just leave the input blank the next time you restore and the tool would just continue. It would use the previous input for check, which in most cases would be the same anyway, but is not how it should be.

if i had made backup of my TA for 3 times before i unlock my BL (just to make sure i got plenty of backups) and they all have the same md5 sum, can i be sure that they're not corrupt copies?

They surpassed the integrity check, didn't they?
You can perform a restore dry-run to see if it also passes there. When it does you can be pretty confident all is fine.

DevShaft said:
They surpassed the integrity check, didn't they?
You can perform a restore dry-run to see if it also passes there. When it does you can be pretty confident all is fine.
Click to expand...
Click to collapse
i made the backup using ur earlier v6 tool, not sure if they passed integrity check but the backup process was "successful" according to the tool so i guess it's safe to restore?:silly:
will try to restore on next full charge=] Thx for the great tool!!

tomanlam said:
will try to restore on next full charge=] Thx for the great tool!!
Click to expand...
Click to collapse
Since you made the backups with v6 its better to first try "Restore dry-run" before the actual restore, just to test and see if all goes fine. The integrity checks in the older versions were not as good as they are now.

I just want to feel safe after unlocking bootloader. I want to know that in any moment I can restore My TA and have a "just bought" phone. :fingers-crossed:
So, is it safer now to think like that, or you think that it could be some more bug to or bad issue to think on?.
Thank for your work dude. :good::good::good:

There is one thing that has puzzled me these days which is what happens when Sony decides to changes bits here and there related to the TA. In theory this could lead to a hard-brick when your backup was taken with a firmware on the device older than the firmware when you restore the TA. Now I read Sony has never done such a thing in the past, but it is a risk. So its wise to mark your backups with the firmware you were running when you made the backups and first reflash that firmware (when not already on the device) before restoring. For now you have to do this marking and firmware flashing manually, but it may be automated later on. Still so far Sony has not changed anything related to the workings of TA and thus nothing to worry .

@Caqou71 The tool does all the necessary checks and will NOT allow flashing of a bad TA image. However.. @ DevShaft, is there a command one can use to check MD5 of TA partition before starting the backup? That way nervous users can manually double check. Perhaps you could put this in a later release. E.g. "Save TA partition Md5 to file"
Sent from my C6603 using xda app-developers app

@DevShaft
choice.com is not compatible with 64bits window editions.

DevShaft said:
There is one thing that has puzzled me these days which is what happens when Sony decides to changes bits here and there related to the TA. In theory this could lead to a hard-brick when your backup was taken with a firmware on the device older than the firmware when you restore the TA. Now I read Sony has never done such a thing in the past, but it is a risk. So its wise to mark your backups with the firmware you were running when you made the backups and first reflash that firmware (when not already on the device) before restoring. For now you have to do this marking and firmware flashing manually, but it may be automated later on. Still so far Sony has not changed anything related to the workings of TA and thus nothing to worry .
Click to expand...
Click to collapse
You are right, but if we can flash back any rom with flashtool, the there is no worries.

shoey63 said:
@Caqou71 The tool does all the necessary checks and will NOT allow flashing of a bad TA image. However.. @ DevShaft, is there a command one can use to check MD5 of TA partition before starting the backup? That way nervous users can manually double check. Perhaps you could put this in a later release. E.g. "Save TA partition Md5 to file"
Sent from my C6603 using xda app-developers app
Click to expand...
Click to collapse
I can add an option in the menu to perform an integrity check on a backup and output the MD5s there for users to see.
Sent from my HTC One using xda premium

What is a dry run test?
---------- Post added at 03:51 PM ---------- Previous post was at 03:49 PM ----------
Hello
I took backup twice on FW .434 Generic NL, rooted. And I can see different CRC32 values of .md5 files.. But again I tried and took 3 backups and I can see same CRC32 value of .md5 files.. Why? Is it fine? Shall I go ahead unlock the BL?

wawyed said:
@DevShaft
choice.com is not compatible with 64bits window editions.
Click to expand...
Click to collapse
Ok thanks, will look into it .
Sent from my HTC One using xda premium

caqo71 said:
You are right, but if we can flash back any rom with flashtool, the there is no worries.
Click to expand...
Click to collapse
Correct, yes.
Sent from my HTC One using xda premium

Related

[REF][Guide] Bootloader/Root + FAQ

Glossary
Post 1 FAQ
Post 2 Guides + after rooting
FAQ A.K.A The Basics
What is root?
Root is basically being able to run as a superuser in linux or admin in windows, giving you the ability to go deeper into the file system. It is a pre-requisite for most tweaks.
WTF is bootloader locked/unlocked?
For many people root is enough. However, if you want to change your kernel (for overclock etc.), try leaked builds or have a taste of custom roms such as Cyanogen Mod by FXP, you must unlock the bootloader.
What are ftf files?
They are essentially firmware files. They can be flashed with flashtool, and are used for recovering from a bad flash or getting updates from other regions.
List of ftfs can be found here.
Will be constantly updated.
The guides
Unlocking the bootloader
WARNING: You will lose Bravia Engine 2 for photos FOREVER! Before you start, do a full backup of your phone data with backup and restore app. Remember to take out the SD card after backup or you will LOSE ALL DATA. Unlocking the bootloader WIPES THE INTERNAL MEMORY (and SD CARD if you don’t TAKE IT OUT). YOU HAVE BEEN WARNED!!
First check if your bootloader can be unlocked. Type *#*#7378423#*#* and click service info. If it says bootloader unlockable, you may proceed to unlock it.
Follow Doomlord’s excellent guide here. Feel free to ask questions if in doubt.
Relocking the bootloader
If you want to use PC Companion or Sony Update Service to update your phone, you must relock the bootloader. Follow this thread by alivanov79.
Rooting the phone
DooMLoRD Easy Rooting Toolkit (the very easy way)
1. Follow DooMLoRD's guide here. It's that simple.
Flashing kernels (unlocked bootloaders)
1. Download Superuser zip and place it in the sd card.
2. Install flashtool from HERE.
3. Open up flashtool and select fastboot option by clicking the lightning icon.
4. Turn off your phone and hold the volume up button while plugging in the usb cable.
5. Download Kernel with CWM.
6. Select the kernel you downloaded in flashtool.
7. When the phone restarts, continuously press the volume up key.
8. You should end up in the recovery. Use volume keys to move up and down while using the power button to click.
9. Choose install zip from sdcard >> choose zip from external sd card >> navigate to the superuser zip you downloaded earlier.
10 .Reboot and you are done!
The After Root Guide
First of all, congrats on making it this far. You have proven to yourself to be a daring and adventurous individual. :victory:
Moving app data to SD card
1. Install DirectoryBind here. Choose the latest in alphabetical order.
2. Open up your game and install the data on internal memory. (skip this step if you have already done so)
3. Use a file explorer to create a new folder in your external SD card. Name it "Game data" or whatever.
4. Copy your whole game folder(eg. com.ea.games.nfs13_row ) to the folder you created on your external SD card, eg."Game data". You can use a computer if you want to. Remove the files inside the game folder in the internal memory but leave the game folder intact.
5. Open DirectoryBind and grant superuser permissions.
6. Add new entry by clicking the settings button, a.k.a the 3 dots at the bottom right.
7. Hold on the box for data path and point it towards game data in the "Game data" folder.
8. Hold on the box for target path and link it to the empty folder in internal memory.
9. Do not check the "Transfer files" option.
10. Click add.
11. Turn on the button beside Root Access OK. It mounts the game data at boot.
12. Click settings >> more >> backup database
13. Done!
Thanks for the rooting guide.
I was wondering if you have to unlock the bootloader for Sony xperia SP in order to Root it.
Can I root it without unlocking the bootloader?
Thanks
ahgahg said:
Thanks for the rooting guide.
I was wondering if you have to unlock the bootloader for Sony xperia SP in order to Root it.
Can I root it without unlocking the bootloader?
Thanks
Click to expand...
Click to collapse
+1
Sent from my ST18i using Tapatalk 4 Beta
ahgahg said:
Thanks for the rooting guide.
I was wondering if you have to unlock the bootloader for Sony xperia SP in order to Root it.
Can I root it without unlocking the bootloader?
Thanks
Click to expand...
Click to collapse
I don't think so. Losing bravia engine is not exactly a big deal.
Sent from my Xperia SP using xda premium
jasonwsc said:
I don't think so. Losing bravia engine is not exactly a big deal.
Sent from my Xperia SP using xda premium
Click to expand...
Click to collapse
Are you even serious? BE2 is a big Deal!! without it, your screen would just be a regular low end device screen. The fact that our SP's screen is already inferior to S3's super amoled, and you will still remove the bravia engine? what's wrong with you man. Don't encourage people here to lose their bravia engine.
Guys lets wait for a proper root. It will come. just be patient.
cidane said:
Are you even serious? BE2 is a big Deal!! without it, your screen would just be a regular low end device screen. The fact that our SP's screen is already inferior to S3's super amoled, and you will still remove the bravia engine? what's wrong with you man. Don't encourage people here to lose their bravia engine.
Guys lets wait for a proper root. It will come. just be patient.
Click to expand...
Click to collapse
You lose ONLY for photos, not for videos. It's NOT a big deal, since it oversaturates the photos anyway.
I actually prefer it this way, but unlike you, I respect other people's opinions.
If we re-flash the rom, can we use BE2 again?!
Sent from my ST18i using Tapatalk 4 Beta
frogerra said:
If we re-flash the rom, can we use BE2 again?!
Sent from my ST18i using Tapatalk 4 Beta
Click to expand...
Click to collapse
It will be gone forever if you unlock the bootloader.
jasonwsc said:
You lose ONLY for photos, not for videos. It's NOT a big deal, since it oversaturates the photos anyway.
I actually prefer it this way, but unlike you, I respect other people's opinions.
Click to expand...
Click to collapse
Sorry if my post offended you, what im just trying to say is, not everyone wants to lose their BE2, if it's cool with you then its fine, for everyone else I suggest wait a little bit more. here's a bit of infro from GSMarena btw:
From GSMArena: http://www.gsmarena.com/sony_xperia_sp-review-924p3.php
The TFT screen is backed by the Mobile BRAVIA Engine 2, which enhances contrast and sharpness, brings down noise and saturates colors to make them more pleasing to the eye. The reds in particular tend to really pop out.
The contrast is only average and colors are hardly the best around. Brightness levels are pretty decent, though.
frogerra said:
If we re-flash the rom, can we use BE2 again?!
Sent from my ST18i using Tapatalk 4 Beta
Click to expand...
Click to collapse
AFAIK, you need to backup your TA, before you unlock your bootloader so you can restore it afterwards. Saw it on ZL's forum before. SP's forum is a bit empty, not much info and instructions on tinkering with our device. Im still waiting though
cidane said:
AFAIK, you need to backup your TA, before you unlock your bootloader so you can restore it afterwards. Saw it on ZL's forum before. SP's forum is a bit empty, not much info and instructions on tinkering with our device. Im still waiting though
Click to expand...
Click to collapse
Sorry, I'm don't understand. What the meaning of TA?
Sent from my ST18i using Tapatalk 4 Beta
frogerra said:
Sorry, I'm don't understand. What the meaning of TA?
Sent from my ST18i using Tapatalk 4 Beta
Click to expand...
Click to collapse
Read here: http://forum.xda-developers.com/showthread.php?t=2292598
Xperia SP in not yet included. Hopefull it will be
cidane said:
AFAIK, you need to backup your TA, before you unlock your bootloader so you can restore it afterwards. Saw it on ZL's forum before. SP's forum is a bit empty, not much info and instructions on tinkering with our device. Im still waiting though
Click to expand...
Click to collapse
You can't backup your TA partition without root. :crying:
jasonwsc said:
You can't backup your TA partition without root. :crying:
Click to expand...
Click to collapse
I see, so its better to wait for official root for locked BL
When purchased the phone in india in 1st week of may...when i checked the status of bootloader unlock allowed it said Yes. However, there was a s/w update to the firmware .211 after the update when today i saw the status it says bootloader unlock allowed No...do you think after the firmware upgrade they disabled this option????
puneethv said:
When purchased the phone in india in 1st week of may...when i checked the status of bootloader unlock allowed it said Yes. However, there was a s/w update to the firmware .211 after the update when today i saw the status it says bootloader unlock allowed No...do you think after the firmware upgrade they disabled this option????
Click to expand...
Click to collapse
I guess No.
Did you try any script available for root of other devices in our Xperia SP device. Cause i tried it, which end up in bootloader unlock allowed status to No. After that I reflash the stock firmware using Sony Update service, then I got back to the normal status bootloader unlock allowed status to Yes.
anthonythangaraj said:
I guess No.
Did you try any script available for root of other devices in our Xperia SP device. Cause i tried it, which end up in bootloader unlock allowed status to No. After that I reflash the stock firmware using Sony Update service, then I got back to the normal status bootloader unlock allowed status to Yes.
Click to expand...
Click to collapse
I did try many rooting tool available in XDA where it said tht it might have worked with SP maybe tht caused id....to reflash the stock rom do i need to use the repair tool from pc companion???
cidane said:
Read here: http://forum.xda-developers.com/showthread.php?t=2292598
Xperia SP in not yet included. Hopefull it will be
Click to expand...
Click to collapse
Xperia SP is not yet included because nobody has tried that tool yet
Not for compatiblity reason
And it's likely to be compatible
@jasonwsc adding that tool in the OP would be a nice thing (especially for who cries for his DRM keys)
Sent from my LT26i using xda app-developers app
mirhl said:
Xperia SP is not yet included because nobody has tried that tool yet
Not for compatiblity reason
And it's likely to be compatible
@jasonwsc adding that tool in the OP would be a nice thing (especially for who cries for his DRM keys)
Sent from my LT26i using xda app-developers app
Click to expand...
Click to collapse
It doesn't work without root. Read the thread on backing up TA.
Will put it up once the phone can be rooted without unlocking bootloaders.
Root for locked bootloader is available now based on perfmon exploit by doom lord. You can try it..
Sent from my Xperia U using xda app-developers app

Androxyde Updated FlashTool to 0.9.13 Full Supported Z1

New FlashTool Updated To Full Supported Xperia Z1 With (FlashTool Driver 1.1)
Available Download Now
http://www.flashtool.net/ (Official Site)
Mirror Link: (Dev-Host)
http://d-h.st/Xrv
anyone succesfully root the xperia z1 with flashtool?. Cheers.
No, it's not supported.
Follow the routing goes in the development section
Sent from my C6903 using xda premium
No Mac release of 0.9.13 yet
Rekoil said:
No Mac release of 0.9.13 yet
Click to expand...
Click to collapse
How about now?
Troll
You can't report a negative...
Sent from my C6903 using xda premium
While flashing a stock firmware over another stock firmware, do we have to exclude anything from the package.????
I saw an option to exclude TA as well. So if i don't exclude it, will i lose my original DRM keys??
crk1995 said:
While flashing a stock firmware over another stock firmware, do we have to exclude anything from the package.????
I saw an option to exclude TA as well. So if i don't exclude it, will i lose my original DRM keys??
Click to expand...
Click to collapse
you can only lose your TA partition if you unlock your bootloader, flashing a firmware ftf file does not touch that. please search and read the available threads on how to flash a firmware file and what you can and cannot check, the only things that people sometimes uncheck is wipe data, cache etc
sofir786 said:
you can only lose your TA partition if you unlock your bootloader, flashing a firmware ftf file does not touch that. please search and read the available threads on how to flash a firmware file and what you can and cannot check, the only things that people sometimes uncheck is wipe data, cache etc
Click to expand...
Click to collapse
Actually I'm new to Sony Xperia line. So i m a bit scared about all this TA thing.
I have watched some videos but none has an option to exclude ta but mine has. I m still not convinced. Can you confirm that you have done it with your phone and did you have an option to exclude TA in your flashtool software...
Thanks in advance. Sorry to bother you.
crk1995 said:
Actually I'm new to Sony Xperia line. So i m a bit scared about all this TA thing.
I have watched some videos but none has an option to exclude ta but mine has. I m still not convinced. Can you confirm that you have done it with your phone and did you have an option to exclude TA in your flashtool software...
Thanks in advance. Sorry to bother you.
Click to expand...
Click to collapse
Just use a tool (or my guide if you're not a Windows user) to backup your TA partition and you won't have to worry about a thing (except losing the backup ).
Rekoil said:
Just use a tool (or my guide if you're not a Windows user) to backup your TA partition and you won't have to worry about a thing (except losing the backup ).
Click to expand...
Click to collapse
Actually the problem is that i m updated to the latest firmware which cannot be rooted at the moment. So i want to first revert back to previous firmware and then root and backup.
And in the guide i didnt find the option for exclude TA in the screenshot.
crk1995 said:
Actually I'm new to Sony Xperia line. So i m a bit scared about all this TA thing.
I have watched some videos but none has an option to exclude ta but mine has. I m still not convinced. Can you confirm that you have done it with your phone and did you have an option to exclude TA in your flashtool software...
Thanks in advance. Sorry to bother you.
Click to expand...
Click to collapse
When ive flashed ftf files, i have never checked anything in the exclude section of the flash tool, leave that as it is.
There are 2 versions of flashtool, one is an official from Sony, this tool does not have the option and can only be used with a unlocked bootloader. The flashtool that can be found here in the forum can be used wether you have unlocked or not, it was originally designed back when the Sony Ericsson Xperia X10 came out.
So to conclude
1. Make sure you have the latest version of flashtool installed.
2. Download your preferred firmware.
3. Open flashtool and click the lightning icon at top left.
4. make sure bootmode selected is Flashmode.
5. Select your firmware file when prompted.
6. Flashtool will now process the file (give it a minute or 2 to do this)
7. It will now prompt for you to connect phone in flash mode.
8. make sure your phone is turned off, in order to connect in flash mode while holding volume down
connect the usb, keep everything held down until the flash starts.
9. Follow onscreen instructions, it will take around 5 minutes for this to flash, flashtool will tell you went to
disconnect and reboot.
crk1995 said:
Actually the problem is that i m updated to the latest firmware which cannot be rooted at the moment. So i want to first revert back to previous firmware and then root and backup.
And in the guide i didnt find the option for exclude TA in the screenshot.
Click to expand...
Click to collapse
Or just wait for a root exploit to show up for the latest version. I mean unless you're planning to flash CyanogenMod or something now then why worry about it?
sofir786 said:
When ive flashed ftf files, i have never checked anything in the exclude section of the flash tool, leave that as it is.
There are 2 versions of flashtool, one is an official from Sony, this tool does not have the option and can only be used with a unlocked bootloader. The flashtool that can be found here in the forum can be used wether you have unlocked or not, it was originally designed back when the Sony Ericsson Xperia X10 came out.
So to conclude
1. Make sure you have the latest version of flashtool installed.
2. Download your preferred firmware.
3. Open flashtool and click the lightning icon at top left.
4. make sure bootmode selected is Flashmode.
5. Select your firmware file when prompted.
6. Flashtool will now process the file (give it a minute or 2 to do this)
7. It will now prompt for you to connect phone in flash mode.
8. make sure your phone is turned off, in order to connect in flash mode while holding volume down
connect the usb, keep everything held down until the flash starts.
9. Follow onscreen instructions, it will take around 5 minutes for this to flash, flashtool will tell you went to
disconnect and reboot.
Click to expand...
Click to collapse
CORRECTION:
sony's official flash tool is for locked bootloader and not unlocked bootloader.
And the Sony's official flashtool require some login details. i went through a new user option. But i didnt receive a confirmation email.
I m giving flashtool a try now. Lets see what happens. God save me...:laugh:
crk1995 said:
CORRECTION:
sony's official flash tool is for locked bootloader and not unlocked bootloader.
And the Sony's official flashtool require some login details. i went through a new user option. But i didnt receive a confirmation email.
I m giving flashtool a try now. Lets see what happens. God save me...:laugh:
Click to expand...
Click to collapse
You missed something, you're supposed to edit the configuration file so that the program will allow use without a login. But it only works for unlocked bootloaders.
Follow the instructions in the link below and you'll get it running:
http://developer.sonymobile.com/services/flash-tool/how-to-download-and-install-the-flash-tool/
crk1995 said:
CORRECTION:
sony's official flash tool is for locked bootloader and not unlocked bootloader.
And the Sony's official flashtool require some login details. i went through a new user option. But i didnt receive a confirmation email.
I m giving flashtool a try now. Lets see what happens. God save me...:laugh:
Click to expand...
Click to collapse
Sony's flashtool only works if you have a unlocked bootloader, go ahead try and use it if you dont believe me, the software will actaully tell you, but hey go ahead.
---------- Post added at 08:58 AM ---------- Previous post was at 08:54 AM ----------
crk1995 said:
CORRECTION:
sony's official flash tool is for locked bootloader and not unlocked bootloader.
And the Sony's official flashtool require some login details. i went through a new user option. But i didnt receive a confirmation email.
I m giving flashtool a try now. Lets see what happens. God save me...:laugh:
Click to expand...
Click to collapse
http://developer.sonymobile.com/services/flash-tool/
Read that if you don't believe me, read the first paragraph!
i quote "Flash tool for Xperia™ devices
Here you can learn more about the flash tool for Xperia™ devices, which is a desktop application that you can use to flash Sony software on your unlocked Xperia™ device. This is useful if you’ve for example flashed a custom ROM on your device, and want to go change to a standard Sony software. This flash tool can only be used by Xperia™ devices having an unlocked boot loader. Please note that your phone still stays unlocked, and that the warranty may still be voided."
sofir786 said:
Sony's flashtool only works if you have a unlocked bootloader, go ahead try and use it if you dont believe me, the software will actaully tell you, but hey go ahead.
---------- Post added at 08:58 AM ---------- Previous post was at 08:54 AM ----------
http://developer.sonymobile.com/services/flash-tool/
Read that if you don't believe me, read the first paragraph!
i quote "Flash tool for Xperia™ devices
Here you can learn more about the flash tool for Xperia™ devices, which is a desktop application that you can use to flash Sony software on your unlocked Xperia™ device. This is useful if you’ve for example flashed a custom ROM on your device, and want to go change to a standard Sony software. This flash tool can only be used by Xperia™ devices having an unlocked boot loader. Please note that your phone still stays unlocked, and that the warranty may still be voided."
Click to expand...
Click to collapse
OHHH!! Thank You for correcting me...
I m damn scared right now...to flash even a stock rom on new device.. This was not the case with samsung. They didnt have this bootloader thing earlier, dont know about current gen samsung phones.
crk1995 said:
OHHH!! Thank You for correcting me...
I m damn scared right now...to flash even a stock rom on new device.. This was not the case with samsung. They didnt have this bootloader thing earlier, dont know about current gen samsung phones.
Click to expand...
Click to collapse
Do not touch the bootloader at the moment, there is a reason why people are not unlocking their bootloader as doing this breaks camera functionality. Don't be scared, it is quite a simple procedure.
Flashing with flash tool will NOT break your phone and you can airways force a repair with pccompanion.
Just try it, it's perfectly safe
Sent from my C6903 using xda premium
crk1995 said:
OHHH!! Thank You for correcting me...
I m damn scared right now...to flash even a stock rom on new device.. This was not the case with samsung. They didnt have this bootloader thing earlier, dont know about current gen samsung phones.
Click to expand...
Click to collapse
New Samsungs are worse, you can't restore them to a state where Samsung can't detect that you've been running custom software on it.
sofir786 said:
Do not touch the bootloader at the moment, there is a reason why people are not unlocking their bootloader as doing this breaks camera functionality. Don't be scared, it is quite a simple procedure.
Click to expand...
Click to collapse
Unless you have a TA backup in which case you can do whatever you want.
I'm too much of a ***** to confirm the following theory, but I wouldn't be completely surprised if someone who flashed the wrong TA-backup was able to start the phone in fastboot mode, unlock the bootloader again (perhaps with the unlock token matching the new TA), and flash his own TA from CyanogenMod or something. (Do not quote me on this please, not taking responsibility for someone breaking their phone trying this.)
Restoring a ta that did not come from your phone will result in a hard brick, nobody should try it EVER
Sent from my C6903 using xda premium

[Q] Backing up phone BEFORE rooting?

I'm about to take my baby steps and root my Nexus 4 for the first time. I've read the sticky's and have a good idea of what I'd be doing, but I don't see much in the way of backing things up before root and as I understand, rooting wipes your data. Can anyone help me on this or at least better understand what I should do?
I'm also having difficulty understanding the whole bootloader and custom recovery too but not too much trouble. I'd just like to know how to install a custom recovery and how much risk I'm at of messing up my bootloader.
PGvossman said:
I'm about to take my baby steps and root my Nexus 4 for the first time. I've read the sticky's and have a good idea of what I'd be doing, but I don't see much in the way of backing things up before root and as I understand, rooting wipes your data. Can anyone help me on this or at least better understand what I should do?
I'm also having difficulty understanding the whole bootloader and custom recovery too but not too much trouble. I'd just like to know how to install a custom recovery and how much risk I'm at of messing up my bootloader.
Click to expand...
Click to collapse
Rooting does not wipe data, the unlocking process does. There is no really good way to backup everything prior to unlokcing, you could use My Backup but you should really use the Pro version which is $4.99 (Many people swear by it for unrooted phones, I have no real experience with it). Wugfresh's toolkit has a backup and restore when doing unlock, but honestly, it messed up my phone and I had to factory default anyways.
As long as you are syncing stuff to Google (contacts, pictures, videos, etc), have Android Backup& Restore enabled (handles apps and common system settings), SMS Backup & Restore (text and pix messages), and you pull of the other files you want, there is no real need to backup at all. I swap ROMs all the time, and this is all I do to go from one ROM to another.
As far as the actual rooting process, ie. flashing SuperSU, there is no need to backup prior to that... all that is going to do is add a few files in some system directories and that's it.
The greatest thing about a Nexus device is it's ability to be modified... and within normal means it is virtually unbrickable, so give it a shot, and if you screw it up ask for help, thousands of people here have done it and can help, and if you still can't figure out a problem just restore the Google system images and whoalla... your phone is back to out of box condition.
You are able to root and unlock without wiping any data. Just check out my guide (the link is in the stickies, too)
mihahn said:
You are able to root and unlock without wiping any data. Just check out my guide (the link is in the stickies, too)
Click to expand...
Click to collapse
I opened your links but they all seem to be about Xperia devices.
I don't quite understand. Isn't the unlocking process needed to root the phone, thereby loosing all the data?
easy
before rooting, you hav to unlock bootloader and it wipes your all pics videos etc so better backup in your pc and thn try root. foloow guide ,its easy, or search on youtube for videos...
parveen75 said:
before rooting, you hav to unlock bootloader and it wipes your all pics videos etc so better backup in your pc and thn try root. foloow guide ,its easy, or search on youtube for videos...
Click to expand...
Click to collapse
OK I guess that makes sense. Does that include phone contacts, SMS and passwords?
And I suppose my final question is the danger of the bootloader. Is it possible for a newbie like myself to ruin something accidentally?
PGvossman said:
I opened your links but they all seem to be about Xperia devices.
I don't quite understand. Isn't the unlocking process needed to root the phone, thereby loosing all the data?
Click to expand...
Click to collapse
Yeah I meant the one in the stickies here, I'll add the guide to my signature later
But I meant this guide. It'll root before unlocking the bootloader and you are able to unlock without wiping then. Check it out
PGvossman said:
OK I guess that makes sense. Does that include phone contacts, SMS and passwords?
And I suppose my final question is the danger of the bootloader. Is it possible for a newbie like myself to ruin something accidentally?
Click to expand...
Click to collapse
I m also a newbie earlier . lol.. Only follow guide corectly for rooting.. U wl b good to go
Sent from my Nexus 4 using XDA Premium 4 mobile app
mihahn said:
Yeah I meant the one in the stickies here, I'll add the guide to my signature later
But I meant this guide. It'll root before unlocking the bootloader and you are able to unlock without wiping then. Check it out
Click to expand...
Click to collapse
Thanks. Where does the whole custom recovery and such come into play on this though?
PGvossman said:
Thanks. Where does the whole custom recovery and such come into play on this though?
Click to expand...
Click to collapse
It's not necessary to flash the recovery, but you may flash it if you want to and if you need it
Couple ways to do a backup without root.
Use adb,
eg. adb backup -all -apk -nosystem
Then pull files you want to backup
eg. adb pull /sdcard/
Or use helium app available from play store which is basically a gui for the adb backup command.
Thanks. I notice the -nosystem command, does that mean it won't back up system details?
I suppose my final question is Windows 8 support. I saw a thread a while back when you have to do something extra for the drivers and I can't seem to see it in the sticky threads.

Root E5823 on marshmallow

For those who didn't know already: yes, there's a way to root Z5 compact with MM. Bootloader needs to be unlocked.
(1) Install Marshmallow. I did it with flashtool. (I used E5823_32.1.A.1.163_1299-0270_R7C)
--> Clean install, if not, you'll get Google Play Store and Google Play Service to be forced to close.
(2) Install another kernel over here. It's AndroPlus kernel, and I choose the latest version (v20).
--> extract boot.img
-->> (in fastboot mode: power down + press vol up + insert USB) fastboot flash boot boot.img
Edit 20/03/2016: Don't use this version of TWRP. It won't work.
(3) Install TWRP over here, like found in this threat. It's TWRP 3.0.0
--> rename recovery.img
-->> fastboot flash recovery recovery.img
(4) Flash SuperSU like you can find here. I flashed v2.65
You can reboot, your Z5 compact will be on Android 6.0 with Root Access.
By the way, read this before you try to install Xposed.
It's possible to install Xposed. I used v80-sdk23-arm64.zip (framework to flash) and XposedInstaller_3.0_alpha4.apk as installer.
thanks for the summary. It might be worth mentioning that there's a way to keep the DRM functionalities with unlocked bootloader, even when the keys are erased. http://forum.xda-developers.com/xperia-z5/development/sony-credentials-restore-unlocking-t3296383
Didn't try it for myself, but according to the replys, it looks very promising.
Won't hurt you to mention its for Unlocked Bootloader (UB)...
Thanks for the guide, I'll try this once I get home.
E: Clean install means I should wipe my userdata?
bubimir13 said:
Won't hurt you to mention its for Unlocked Bootloader (UB)...
Click to expand...
Click to collapse
You're 100% right. I didn't think about that, because my bootloader was already unlocked.
Kallu609 said:
Thanks for the guide, I'll try this once I get home.
E: Clean install means I should wipe my userdata?
Click to expand...
Click to collapse
Clean install = you need to wipe userdata (not SD card)
Dirty install = you flash new ROM without changing existing userdata.
So indeed, you need to start on a blank canvas and reinstall your apps.
--> If you're using a password manager, like LastPass or something else, it's way easier to start off from a clean system. If you're not using a password manager yet, maybe it's time to reconsider using one.
for me a big point to mention here: sdcard is not workin gat the moment..
so you do have to place all things you need to flash on internal storage.
youvedone said:
for me a big point to mention here: sdcard is not workin gat the moment..
so you do have to place all things you need to flash on internal storage.
Click to expand...
Click to collapse
Weird...
For me, having root access didn't change anything to SD card performance. Which means (for me):
- no problem to install/flash SuperSU using my external SD card.
- no difference after root was installed. I still can flash anything from SD Card.
does it have to be E5823_32.1.A.1.163_1299-0270_R7C?
I'm currently on 32.1.A.1.163_1298_7782_R9C.
should i flash the R7C one?
youvedone said:
for me a big point to mention here: sdcard is not workin gat the moment..
so you do have to place all things you need to flash on internal storage.
Click to expand...
Click to collapse
Helleren said:
does it have to be E5823_32.1.A.1.163_1299-0270_R7C?
I'm currently on 32.1.A.1.163_1298_7782_R9C.
should i flash the R7C one?
Click to expand...
Click to collapse
I only wanted to share the way *I* did it. (because different people mentioned there's no root for Z5C)
I guess it will work with any E5823_32.1.A.* and. it. could also work with other/newer kernels/TWRP/superSU... but I didn't test anything else than this device and this setup. + I know for me it didn't work with TWRP 2.8.7.
toxic_garden said:
thanks for the summary. It might be worth mentioning that there's a way to keep the DRM functionalities with unlocked bootloader, even when the keys are erased. http://forum.xda-developers.com/xperia-z5/development/sony-credentials-restore-unlocking-t3296383
Didn't try it for myself, but according to the replys, it looks very promising.
Click to expand...
Click to collapse
The solution to restore drm functions is already included in the Andropluskernel
---------- Post added at 07:16 PM ---------- Previous post was at 07:15 PM ----------
youvedone said:
for me a big point to mention here: sdcard is not workin gat the moment..
so you do have to place all things you need to flash on internal storage.
Click to expand...
Click to collapse
For me sdcard is working normally under Marshmallow, but can't be mounted in TWRP
--jenana-- said:
I only wanted to share the way *I* did it. (because different people mentioned there's no root for Z5C)
I guess it will work with any E5823_32.1.A.* and. it. could also work with other/newer kernels/TWRP/superSU... but I didn't test anything else than this device and this setup. + I know for me it didn't work with TWRP 2.8.7.
Click to expand...
Click to collapse
Allright,I'll give it a go with the Nordic combined firmware.
Has anybody tried to encrypt after rooting?
Anybody knows if this could work on a E5803 model?
Sent from my E5803 using Tapatalk
I don't really understand the Kernel stuff. But would this just be a workaround to get root for now?
Is it stable?
Would you recommend waiting for a future release?
Thanks!
vibo2013 said:
The solution to restore drm functions is already included in the Andropluskernel
Hang on.... so do i have to follow the guide to update the drm functions or you saying the kernel already has this built in? as in all i need to do is flash the kernel and rom
And can i backup my TA like on the z1c.
Thanks
kam
Click to expand...
Click to collapse
do_salah said:
vibo2013 said:
The solution to restore drm functions is already included in the Andropluskernel
Hang on.... so do i have to follow the guide to update the drm functions or you saying the kernel already has this built in? as in all i need to do is flash the kernel and rom
And can i backup my TA like on the z1c.
Thanks
kam
Click to expand...
Click to collapse
"...Added DRM functions restore patch (thanks tobias.waldvogel)
--This is just a fallback and you have to delete contents of /data/credmgr to enable restore patch...."
Thats what the Changelog on the Androplus Kernel Website says
Click to expand...
Click to collapse
For me scared is working to! I also did not wipe my user data. I just flashed the german vodafone firmware over my existing LP 5.0.2 using flashtool, which kept all my apps. The rest was done as described in the first post. The only app which caused trouble was spotify, I just reinstalled it and everything was fine ...
kevinwu128 said:
I don't really understand the Kernel stuff. But would this just be a workaround to get root for now?
Is it stable?
Would you recommend waiting for a future release?
Thanks!
Click to expand...
Click to collapse
No, nothing about this is stable.
-- Dirty flash of MM could mean that certain apps or parts of the system become unstable.
-- TWRP 3.0 is only released a few days ago. Could contain bugs, who knows...
-- AndroPlus kernel is work in progress. Literally "status: testing". And for more info about that kernel, you can always read/ask in that threat (I don't know the ins and outs of kernels at all)
-- Xposed + it's modules: all work in progress. Some could be stable, some could be buggy.
For now, this is a way to get root. Maybe other developers come with different methods to root, maybe not. But getting root access means: f*ck*ng around with your system on the deepest possible level and breaking some "stability" sony intended to give us. If you would like to take advantage of what root access can give you: give it a try. If you're afraid to break anything: stay away from it or be prepared that you'll have to start over from scratch.
Yes forgot that to clear. Sdcard is working in running system, but not in twrp. Thats no big deal, only nice to know...
And I've tried it german customied did work.. Schud not make any difference as long as it the same version number...
Drm restoration I couldnt check until now.
Nice that I now can restore my app data with titanium backup
---------- Post added at 12:25 AM ---------- Previous post was at 12:20 AM ----------
--jenana-- said:
Weird...
For me, having root access didn't change anything to SD card performance. Which means (for me):
- no problem to install/flash SuperSU using my external SD card.
- no difference after root was installed. I still can flash anything from SD Card.
Click to expand...
Click to collapse
I'll think I have to try again. Perhaps the first boot something was going wrong.. But I couldn't access sdcard and flash supersu from the card with twrp. SoI booted, copied supersu to internal "sdcard" and from there it worked.. I also tried to mount sdcard.. No reaction (but also only at first boot)
--jenana-- said:
No, nothing about this is stable.
-- Dirty flash of MM could mean that certain apps or parts of the system become unstable.
-- TWRP 3.0 is only released a few days ago. Could contain bugs, who knows...
-- AndroPlus kernel is work in progress. Literally "status: testing". And for more info about that kernel, you can always read/ask in that threat (I don't know the ins and outs of kernels at all)
-- Xposed + it's modules: all work in progress. Some could be stable, some could be buggy.
For now, this is a way to get root. Maybe other developers come with different methods to root, maybe not. But getting root access means: f*ck*ng around with your system on the deepest possible level and breaking some "stability" sony intended to give us. If you would like to take advantage of what root access can give you: give it a try. If you're afraid to break anything: stay away from it or be prepared that you'll have to start over from scratch.
Click to expand...
Click to collapse
Thanks for the reply, i can't stand lollipop anymore so i'll give it a try ! I'll update once done!

zxz0O0's temporay root for locked bootloader and (somehow) debloating

I wanted to share two things with you guys here in Tablet z forum:
1- First of all, @zxz0O0 has developed a code based on the CVE-2015-1805 vulnerability that gives temporary root access to a select range of devices (including Tablet Z4). Let me try to explain in my words what that means. A full blown root gives permanent read/write access to /system and /data partitions. On an unrooted Tablet Z4 you only have read access to /system and no access to /data. With this root, you will be able to have a temporary terminal or adb session that gives you read access to /system and read/write access to /data. Why not write access to /system? Because Sony runs a service called RIC on Xperia devices that makes it impossible to mount /system as writable. In the past this would be patched by modifying the system partition. But in the recent Kernels sony has implemented a mechanism (dm-verity) which checks /system and if it is modified the device does not boot. So even if this (or any other) root method gave you the ability to write in /system you could not use it because your device would not restart the next time you turn it off. The solution would be to patch the kernel which requires an unlocked bootloader. IF you unlock your bootloader you lose your TA partition permanently which includes some of the Xperia features and licenses that have to do with image processing and some DRM. So a lot of us do not want to unlock the bootloader.
Then what good is this new root method? Since it gives you read access to the system partitions you can use this method to back up your TA partition. The idea is that if you ever unlock your bootloader you may be able to use this TA back up to return the system to its original state if you ever decide to relock it. Another benefit is that tools like Titanium back up which require access to the /data partition can now function (in a limited sense) although someone has to work out the details of that.
To download the pack that allows backup and restore of the TA partition go to http://forum.xda-developers.com/crossdevice-dev/sony/iovyroot-temp-root-tool-t3349597
After you create the backup, you can unlock the bootloader, and use your TA backup and the procedure outlined here: http://forum.xda-developers.com/xperia-z5/development/root-automatic-repack-stock-kernel-dm-t3301605 to create a csutom kernel that uses all the good stuff in the TA backup and emulates an environment where your tablet behaves like one with an unlocked bootloader. The camera denoising algorithm and all other Sony proprietary software which would be disabled after unlocking the bootloader should work.
If you want to return the tablet to its unlocked condition you will need this TA backup. Some explanation about retrieving the TA partition from this backup, if you unlock the bootloader and decide to relock it, is given here http://forum.xda-developers.com/showpost.php?p=66142823&postcount=16 and methods to do so are outlined at: http://forum.xda-developers.com/showpost.php?p=66158970&postcount=68
Note that to use this root you need to downgrade to lollipop (preferably version 28.0.A.8.260)
I have explained procedures to use the above tools here http://forum.xda-developers.com/z4-tablet/general/guide-safe-bootloader-unlock-restore-t3362391 at length.
2- Now, here is the use I have found for this temporary root: I was always bothered by the fact that not only I could not (easily) get the 17 hour advertised on-screen use out of my tablet, the standby power consumption was always too much. Whereas I could optimize my other (rooted) devices to only drain 1-2% a day in standby, tablet Z4 seems to settle for nothing less that 5-10% a day in standby. This is what you can do to get excellent standby power from your tablet:
A) Say goodbye to your google apps (with the exception of Chrome and Maps) and other marginally advantageous apps. They wake your device up all the time when it is supposed be sleeping and endlessly chat with google servers even if you turn all the communications off in the google settings. So disable all of the apps listed in the attached pictures , plus lifelog,via settings. Don't complain about not being able to use the gmail or youtube apps. Other great replacements exist. Leave "Google App" active if you use the voice search or voice typing feature. Also uninstall the pre-loaded apps that you aren't using like facebook (which is cancer for any phone), Lifelog, Privilege, spotify, etc.
B) In settings under wifi open the advance menu turn off both "network notification" and "scanning always available", and change "keep wifi on" to "only when plugged in"
C) Under "power management" in settings, activate stamina mode and extended standby (no need to activate extended usage).
D) Finally (and here is where the temp root becomes useful) extract the file "iovyroot" from the file in the above link and put it in your adb directory. Open a command terminal and type:
Code:
adb push root\iovyroot /data/local/tmp/iovyroot
adb shell chmod 777 /data/local/tmp/iovyroot
adb shell
This gives you an android terminal shell. Continue with the following:
Code:
/data/local/tmp/iovyroot
pm disable com.sonyericsson.idd.agent
pm disable com.sonymobile.entrance
pm disable com.sonyericsson.updatecenter
pm disable com.sonymobile.anondata
pm disable com.dsi.ant.server
pm disable com.sonymobile.gmailreaderservice
pm disable com.sonymobile.googleanalyticsproxy
pm disable com.sonymobile.mx.android
pm disable com.sonymobile.enterprise.service
pm disable com.sonymobile.synchub
pm disable com.sonymobile.phoneusage
That is it. You just disabled the update service and a bunch of other things and extended your standby battery life. These settings will survive a reboot.
Let me know how it works out for you. If you find other creative uses for this temp root share here.
This is the BEST and probably the most right to the real point post ive ever readed in this particular forum since I joined....
Forgive me if I say I have had lost the faith on sony's z4t development here... It's a real pleasure to know there's still ppl working on what I think should be the right development direction on gettin' control of our loved devices, instead of breaking them and throw a lot of expensive features to the flush.
Thanks again mate to share it.
Interesting, if I downgrade do I also lose my Marshmallow data and settings (i.e. is it the same as factory reset?)
BTW Finally this tablet becomes viable, almost a year after its release...
Stevethegreat said:
Interesting, if I downgrade do I also lose my Marshmallow data and settings (i.e. is it the same as factory reset?)
BTW Finally this tablet becomes viable, almost a year after its release...
Click to expand...
Click to collapse
If you want to have a stable system you will need to overwrite the user data which means you will lose your apps and settings and possibly (depending on how you flash) your internal storage so make a back up.
In general application data of Android firmware are not downward compatible with older versions.
Hmm, but if you can also temp root then you can backup everything using TitaniumBackup anyway before unlocking.
So if I understand this right, if you can back up TA we can infact unlock the bootloader now with no loss of DRM ?
So can now actually get full root based on that ?
najoor said:
If you want to have a stable system you will need to overwrite the user data which means you will lose your apps and settings and possibly (depending on how you flash) your internal storage so make a back up.
In general application data of Android firmware are not downward compatible with older versions.
Click to expand...
Click to collapse
I will only downgrade to get a TA Backup, so stability is not an issue to me (after the TA Backup, I'll go back to MM and probably unlock it).
My only issue would be if downgrading would actually harm my data and/or my capacity to get the TA backup properly (if I'm not wipe first I mean).
Stevethegreat said:
I will only downgrade to get a TA Backup, so stability is not an issue to me (after the TA Backup, I'll go back to MM and probably unlock it).
My only issue would be if downgrading would actually harm my data and/or my capacity to get the TA backup properly (if I'm not wipe first I mean).
Click to expand...
Click to collapse
I don't think it will affect the TA back up process by it may harm you application data (not your sdcard data). The reason is that on every reboot android cleans up the) /data partition as much as it can (for example if it sees that an app has been uninstall but it has left some data behind). I'm doing so lollipop may corrupt some of your marshmallow data,
Why don't you take a backup of your data before a downgrade and the restore them later? The tablet itself has a utility to do it and I hear Helium is a tool that backs up your app data without the need for root.
najoor said:
I don't think it will affect the TA back up process by it may harm you application data (not your sdcard data). The reason is that on every reboot android cleans up the) /data partition as much as it can (for example if it sees that an app has been uninstall but it has left some data behind). I'm doing so lollipop may corrupt some of your marshmallow data,
Why don't you take a backup of your data before a downgrade and the restore them later? The tablet itself has a utility to do it and I hear Helium is a tool that backs up your app data without the need for root.
Click to expand...
Click to collapse
Mostly to save time as I have too much data. I though to do it like this
Downgrade to Lollipop -> Use the Exploit -> TA Backup -> Upgrade back to Marshmallow.
In principle everything should have had worked as by the end of it I would be back to Marshmallow (I would not linger into Lollipop). But now that you're telling me that lollipop may corrupt my data permanently I have second thoughts.
I thought, that my data would not work well on Lollipop, but that wouldn't matter to me; but now you're telling me that they won't work when I'll back in Marshmallow too, which is a totally different beast. Am I understanding you correctly?
Does everyone need to downgrade tho?
Once we have the TA partition available to restore, once its made available online surely everyone else can just restore the same one?
Or is the key unique?
Kinda assuming here that all the stuff that needs the TA partition will work with an unlocked bootloader, or does it have to be locked to be usable again?
Edit: Can we restore TA partition after unlocking bootloader?
Yes but this will also relock the bootloader.
Bugger
Ultimately never rooted my device for fear of losing something (that I will never use anyway!)
DRM Keys are unique, in fact that's the whole point of TA backups.
Also there's a talk (on the other thread) of a tool that would merge your particular keys with a particular custom kernel.
That way you'd keep all Sony Exclusive features, but also be able to make use of root apps. It would be great if such a tool becomes usable with AndroPlus Kernel...
Nice, had all but given up hope of being able to unlock my Z4 so that sounds promising!
I am looking for a high-end tablet and it seemed the Z4 Tablet was the best one for me over the Pixel C and even the iPad Air 2..though I did consider the budget Nvidia Shield K1 also.
The next thing I did was see if the bootloader could be unlocked and custom ROMs installed as I really hate the Sony UI that I have experienced with my sisters M2, and I never stick to the stock ROM in any of my phones. I just love knowing and doing customising!!
..Unfortunately, it seems like I will be stuck with it so I may have to look for another brand now
D0MINO said:
I am looking for a high-end tablet and it seemed the Z4 Tablet was the best one for me over the Pixel C and even the iPad Air 2..though I did consider the budget Nvidia Shield K1 also.
The next thing I did was see if the bootloader could be unlocked and custom ROMs installed as I really hate the Sony UI that I have experienced with my sisters M2, and I never stick to the stock ROM in any of my phones. I just love knowing and doing customising!!
..Unfortunately, it seems like I will be stuck with it so I may have to look for another brand now
Click to expand...
Click to collapse
I don't know how you got that impression, since the whole point of the OP and the links I posted with it is that you will not be stuck with the stock firmware.
So to summarize the points mentioned in the OP:
As of today, the following is possible with a tablet Z4:
1- The TA partition can be backed up.
2- The booloader can be unlocked.
3- The unlocking is reversible with the help of the backed up TA pertition
4- When the bootloader is unlocked a custom kernel can be flashed (currently one is posted in the Z4 forum courtesy of @AndroPlus).
5- When the bootloader is unlocked the stick Kernel can be patched to retrieve the Xperia proprietary facilities that are lost to the unlocking process (courtesy of @tobias.waldvogel).
6- When the bootloader is unlocked /system can be fully modified. That means flashing completely custom ROMs.
So you can either make your own modification to the system, or wait for someone to make a ROM. In light of the above possibilities it is only a matter of time before customs ROMs start to pop up.
By the way, to the extent that the stock firmware is customizable without unlocking the bootloader, it is actually a good ROM and you can change a lot of things from the general appearance to the default launcher.
PS: Tablet Z4 is my second Sony tablet and the third Sony mobile device and I have about 10 of this kind of devices at any given time. The other android devices are miles behind in terms of elegance and manufacturing quality. There is just something about a Sony device that is unique and unmatched.
Can anyone confirm how to re-lock the bootloader once unlocked?
I would say:
1. Flash a stock firmware (the lollipop version that you used to backup the TA partition).
2. Use the iovyroot temp root batch tarestore to restore your TA partition.
3. Reboot and that's it: you are back to unlocked bootloader unrooted original drm included stock firmware.
Anyone already tried?
Thank you.
I unlocked the bootloader and rooted the device SGP771.
Bevor that, i backed up the TA.
Then i flashed the androplus kernel.
Everything works great.
But you cannot modify androplus kernel with that tool. That means DRM restore is only possible on stock rom.
When you restore TA to stock rom, your bootloader will be in a lockes status again and there is no more root. Too bad
odicamillo said:
Can anyone confirm how to re-lock the bootloader once unlocked?
I would say:
1. Flash a stock firmware (the lollipop version that you used to backup the TA partition).
2. Use the iovyroot temp root batch tarestore to restore your TA partition.
3. Reboot and that's it: you are back to unlocked bootloader unrooted original drm included stock firmware.
Anyone already tried?
Thank you.
Click to expand...
Click to collapse
Can ta be restored on any fw like marshmallow or can it only be restored on the fw that you backed it up from?
This looks very promising, thanks OP.
Has anyone else managed to get it to work as described?
Thanks in advance
najoor said:
I don't know how you got that impression, since the whole point of the OP and the links I posted with it is that you will not be stuck with the stock firmware.
So to summarize the points mentioned in the OP:
As of today, the following is possible with a tablet Z4:
1- The TA partition can be backed up.
2- The booloader can be unlocked.
3- The unlocking is reversible with the help of the backed up TA pertition
4- When the bootloader is unlocked a custom kernel can be flashed (currently one is posted in the Z4 forum courtesy of @AndroPlus).
5- When the bootloader is unlocked the stick Kernel can be patched to retrieve the Xperia proprietary facilities that are lost to the unlocking process (courtesy of @tobias.waldvogel).
6- When the bootloader is unlocked /system can be fully modified. That means flashing completely custom ROMs.
So you can either make your own modification to the system, or wait for someone to make a ROM. In light of the above possibilities it is only a matter of time before customs ROMs start to pop up.
By the way, to the extent that the stock firmware is customizable without unlocking the bootloader, it is actually a good ROM and you can change a lot of things from the general appearance to the default launcher.
PS: Tablet Z4 is my second Sony tablet and the third Sony mobile device and I have about 10 of this kind of devices at any given time. The other android devices are miles behind in terms of elegance and manufacturing quality. There is just something about a Sony device that is unique and unmatched.
Click to expand...
Click to collapse
Dear najoor,
are you telling us that, now, we can unlock a z4 tablet which has the "rooting status: Bootloader unlock allowed: NO" , in the service info/configuration area ?!?
if it is the case, i would be delighted to know how to proceed step by step, as i would love to install a lineage rooted custom rom on it (it is the SGP771 one,with phone capability)!!!
thank you
kind regards from France
retikulatus said:
Dear najoor,
are you telling us that, now, we can unlock a z4 tablet which has the "rooting status: Bootloader unlock allowed: NO" , in the service info/configuration area ?!?
if it is the case, i would be delighted to know how to proceed step by step, as i would love to install a lineage rooted custom rom on it (it is the SGP771 one,with phone capability)!!!
thank you
kind regards from France
Click to expand...
Click to collapse
Unfortunately if that is the case you cannot unlock the bootloader.
I am just curious, why does yours look like that? Do you have myXperia or some other find-my-phone service activated on your phone?
najoor said:
Unfortunately if that is the case you cannot unlock the bootloader.
I am just curious, why does yours look like that? Do you have myXperia or some other find-my-phone service activated on your phone?
Click to expand...
Click to collapse
Thanks for the fast reply even if you ruined my hopes
no, i don't think i have myXperia , i checked on my apps and find nothing.
Since i had display issues with my tab s (sm-t800), i tried the z4 tablet for its LCD screen instead of the super amoled of samsung...
My bootloader was already locked when i purchased it, i updated it thinking it will change that but unfortunatly that did nothing.
It wasn't a new one though, perhaps the previews owner messed up with it and got its bootloader locked :/
Because it is some kind of lotery to have a bootloader unlockable with sony, i will wait patiently until samsumg release its 16:9/10 tab s4: imho, the tab s3 actual 4:3 format is a nonsense....
Thank you again
Kind regards from France

Categories

Resources