Open Bersam opened 10 years ago
I don't think anyone will try and port the menu structure, but a standalone 'backup.sh' etc should be easy enough, taking a quick look at it it's just a bunch of calls to adb ?
There are a bunch of .EXEs in the tools directory. This is a Windows-only tool.
Here is my branch based on a few minutes I had today: https://github.com/tomchiverton/Backup-TA/tree/master/scripts/linux
I'm just understanding the partition code in the Windows only batch scripts and then backup will be available from Linux.
attn: @luzemario : none of the .exe files are special in any way and will be available in any normal Linux install
Backups should now be supported on Linux
Now we have backups working on Linux, I can't yet think of a good way to test restores. Guess someone will have to brave at some point. Adding them to the Linux scripts shouldn't be too hard
@DevShaft any plans to merge this? TIA
@tomchiverton Not exactly the place to do this, but I wanted to thank you for taking the time to create the linux version of the script. I just successfully backed up my Z3 Compact's TA partition :)
If I get round to restoring, I'll report here.
Thanks!
Note, this is less of an issue now, as modern rooting methods (like http://forum.xda-developers.com/z3-compact/general/recovery-root-mm-575-lb-t3418714 for the Z3 compact) support Linux or if not, tend to be a .bat file of adb commands you can run by hand. Mostly they don't require the bootloader to be unlocked, which destroys the DRM keys, which need this tool to backup and restore them.
@tomchiverton unlocking the bootloader is still needed for alternative ROMs
Use this for TA backup under linux : https://forum.xda-developers.com/crossdevice-dev/sony/universal-dirtycow-based-ta-backup-t3514236 ( Advertisement: Live CD for android: https://forum.xda-developers.com/android/software-hacking/live-iso-adb-fastboot-driver-issues-t3526755 )
Hi @DevShaft, i saw your post in xda about support Mac and Linux. It would be great if you port these bat stuff to bash to use it in Mac and Linux and even Windows itself.