[LP][5.X][XPERIA] Debloating Script For Performance , battery Life and more memory - Sony Xperia T2 Ultra

Hey guys, I sharing debloating script for those interested in a higly DEBLOATED LP installation, very slimmed down, battery friendly, faster, with less RAM comsuption etc
It will remove everything that is not important so before proceding be sure to backup full system
RESULT
As said at the top, you'll get a very slimmed down LP FW, battery friendly, very fast, with less RAM comsuption etc
Of course, everything is working great here, I mean all the features I need/use!
you are going to delete more than 160 packages in total with all relevant libs/stuff plus all applications automatically installed by Sony
HOW TO RESTORE SOMETHING
PS. of course I also removed from my FW all the stuff that can be easily downloaded from the Play Store (Gmail, etc)
below you will find the restoring instructions you need to follow to restore any package you may want back
According to what you want to restore, you have to follow two different procedures:
- all the APKs that are inside /system/__Backup/various/etc_custom_apps and /system/__Backup/various/etc_prod_apps are regular APKs that are going to be installed in /data, so you can just run them and then select "install" like a normal APK, easy. You will then see them in Settings > applications > downloaded
- instead, all the things in /system/__Backup/system_app and /system/
__Backup/system_priv-app folders can't be normally installed, but must be restored in the correct /system folders with correct permissions. To do this, see the step-by-step instructions below (in the following example, I am going to restore Chrome app in /system/app and Velvet (Google Search) in /system/priv-app, but of course you can restore how many things as you want at the same time)
Click to expand...
Click to collapse
- with a root file manager like ES, go to /system/__Backup/system_app and MOVE the whole "Chrome" folder to /system/app
- with a root file manager like ES, go to /system/__Backup/system_priv-app and MOVE the whole "Velvet" folder to /system/priv-app
- reboot
- done
Click to expand...
Click to collapse
PS. don't copy but MOVE things back, or permissions will get messed up and you are likely to end up in a bootloop!
Requirements:
- working recovery
- be on LP already, 5.0.2 or 5.1.1, doesn't matter
DISCLAIMER
If you apply my script again please take care I did a pretty massive debloat as I don't use a lot of stuff (social apps, small apps, many of the sony "addons"/special settings etc!!) and this is a working config for me, but for others some functionalities will be probably missing, so mind what you do before apply them! (but again you can restore anything anytime, if interested just go for it)
Click to expand...
Click to collapse
Installation:
1. full nandroid backup to eventually go back to previous any time
2. wipe data, cache and dalvik ***
3. flash debloating script
4. that's all! reboot/enjoy and hit thanks
View attachment Bloatware_Removal_LP.zip
Credits
Many THANKS @ondrejvaroscak and @Puffin617 for some very good advices, @mj084 for some packages descriptions and @moly82 for sharing this

Hi,
In stock debloated ROM whether screen mirroring will work or not, please let me know. Now I am using Decepticon ROM. Which one is better.
Before putting debloating script keeping a backup of all system apps using Titanium Backup is enough or not. Please clear my doubts.

bootloop on latest 5.1.1 d5322

SH1M4BD3 said:
bootloop on latest 5.1.1 d5322
Click to expand...
Click to collapse
Clear delvik catch and restart no such issues same device I have

Fantastic - thank you. Did the job perfectly!

hi i have this phone last month, hand-me-down. does this procedure require root? and what recovery do i have to use?

Related

[Q] Delete Preinstalled Apps - After Root!

I rooted because I was fed up with the preinstalled Orange bloatware apps as I need the space! I used unrevoked and I have full root access i.e. I have the superuser app and I have been able to access the system partition and even managed to delete apk files from the system apps directory.
However, despite trying all the suggestions i found on these forums and elsewhere; Root Explorer, System App Remover and Titanium backup, no matter how many times I remove the apps in question, within a short time, the phone reboots and the apps are back again!
Please note that I am only trying to remove the stupid games etc which Orange stuff the ROM with not anything significant.
I really dont fancy flashing a new ROM as I cant be bothered setting up my phone again from scratch, so any advice somebody can give would be REALLY apreciated!!
You need to S-Off your phone, not just root if you want to remove your applications, while the phone is booted.
Search a guide here in the Android Developement section.
Alternatively use ADB to remove the files - your phone must be in recovery mode.
Thanks so much!!
Or better yet, just install one of the custom roms with a2sd. If you don't want a modified one, just use rooted froyo with a2sd, this is a good one http://forum.xda-developers.com/showthread.php?t=789058
david_inuk said:
I rooted because I was fed up with the preinstalled Orange bloatware apps as I need the space! I used unrevoked and I have full root access i.e. I have the superuser app and I have been able to access the system partition and even managed to delete apk files from the system apps directory.
However, despite trying all the suggestions i found on these forums and elsewhere; Root Explorer, System App Remover and Titanium backup, no matter how many times I remove the apps in question, within a short time, the phone reboots and the apps are back again!
Please note that I am only trying to remove the stupid games etc which Orange stuff the ROM with not anything significant.
I really dont fancy flashing a new ROM as I cant be bothered setting up my phone again from scratch, so any advice somebody can give would be REALLY apreciated!!
Click to expand...
Click to collapse
If you are S-ON you can delete them with ADB when you are in recovery mode.
You can also delete them through root explorer from the market. It's not free but it takes two minutes to use and you can see what your deleting if you are unsure
I have the same issue here.
Will try the ADB method when get a chance, but Root Explorer won't delete them - you can delete unwanted games etc, but they are still on the apps list the the files will come back after the reboot - tried this already.
kjur said:
I have the same issue here.
Will try the ADB method when get a chance, but Root Explorer won't delete them - you can delete unwanted games etc, but they are still on the apps list the the files will come back after the reboot - tried this already.
Click to expand...
Click to collapse
really, what rom? i didnt have any issues with the setup mentioned in my sig
vis-tec said:
really, what rom? i didnt have any issues with the setup mentioned in my sig
Click to expand...
Click to collapse
You are S-OFF, so no wonders why you don't have any problems
titanium backup
why not just use titanium backup. its free and a very easy way to uninstall apps.
Again, you need to be s-off to uninstall system apk, which unfortunately all the bloatware is.
Clarification, you need to be s-off to use titanium or root explorer to remove system apk.
veitograf said:
why not just use titanium backup. its free and a very easy way to uninstall apps.
Click to expand...
Click to collapse
Sent from my HTC Desire using XDA App
@vis-tec: It's Orange UK, rooted, but S-ON. ADB method works perfect tough. Tested last night. Also integrated some system apps updates in the ROM via ADB.
titanium backup hasn't work for me either.
only ADB
remember that deleting bloatware does not give you any extra amount of space.
these apps are in \system which is not where apps you download install.
only way of extending you app-space is A2SD+ or DATA2XXX but they tend to slow down the phone
best solution >> S-OFF and ROM designed to run on a custom HBOOT.
u get lots of space, and a super fast rom since dalvik cache stays on NAND
dzumagos said:
remember that deleting bloatware does not give you any extra amount of space.
Click to expand...
Click to collapse
it does.
i've had google maps, youtube updates etc in the /data/app and after deleting bloatware and the old versions of gmaps etc. there was enough space in /system/app to move the updates there.
so now on the /data/app is 8-10MB more for my other apps.
also if i'm right the /system partition is used as cache for apps, so there is more space for this.
and it looks way better when you open 'all apps' drawer - the list is much shorter now and there is only the stuff you need

[CWM Scripts] Relatively painless backup/mod/restore scripts

Ok, these are specifically for MIUI, but they can easily be adapted to any other rom by editing the shell scripts. I'll explain how they work and it should be fairly apparent how one would need to modify for their particular rom/needs. Don't know if anyone will actually use these, but I thought I'd share. I also think it's a really good example of how CWM can be used for more than just flashing stuff.
So I've been running MIUI for a while now and I'm really happy. One little issue that popped up was every Friday when the rom was updated, the OTA update app icon gained a little "1" badge, indicating an update was available. While it's nice to be notified of the update, I occasionally didn't have the time or interest in updating so the little badge remained. I put that app in a folder, but then the folder had the little 1 badge. After a while, I started deleting the update app after install since I could always download and install updates through ROM Manager just as easily. Then I started deleting the update app from the downloaded ROM zip, along with several other apps I didn't want (Facebook, Twitter, the MIUI FileExplorer, etc) before flashing it. But this entailed downloading the Friday update on my phone, transferring it to my desktop, opening the zip in 7 Zip, deleting the unwanted files, uploading it back to my phone and then flashing. Quite a PITA.
Another issue I ran into was that the built-in MIUI backup app failed to backup my SMS/MMS messages. Actually, I don't know if it was failing to back them up, or failing to properly restore them, but at the end of the day, it wouldn't keep my text messages. I know I could avoid this by just installing each update over the current ROM, but I've always believed cleanly installing an OS helps avoid issues. I prefer to wipe everything, install clean and then restore my data.
So, the solution(s) I came up with was to mod the downloaded ROM zip file right on the phone, and manually backup and restore my data. While it took a little while to get set up, I find it actually works considerably faster and smoother than using MIUI's backup/restore app. I now have 3 simple shell scripts that are run through Clockwork Recovery just like installing any zip - one to mod the ROM after downloading, and two to backup and restore my data. Here they are:
MIUI-Mod.zip
This contains a shell script and a zip binary to handle the adding and deleting of files to/from the downloaded rom zip. When run through CWM, it copies zip and the script to /tmp and runs the script. Because the ROM zip is named differently every Friday, I figured the easiest solution was just to rename it manually. So, this script assumes the ROM zip is named "miui.zip" and is located in the root of the SD card. It's a simply matter to download the ROM on Friday, move it to /sdcard and rename it miui.zip. Here's what the script does in 2 commands:
/tmp/zip -d /sdcard/miui.zip /data/app/Twitter.apk /data/app/Facebook.apk /system/app/Email.apk /system/app/FileExplorer.apk /system/app/Gmail.apk /system/app/MIUI.us_Forums_1.1.2_AdSupported.apk /system/app/Superuser.apk /system/app/Updater.apk /system/app/MIUIStats.apk /system/media/lockscreen/* /system/media/wallpaper/*
/tmp/zip /sdcard/miui.zip /system/app/Gmail.apk
Click to expand...
Click to collapse
The first line simply opens the zip and deletes the listed files: Twitter, Facebook, Email, etc. It also removes all the wallpapers for the lock and main screens (I don't use them, so I didn't want them, but it's a good example of the use of wildcards like *).
The second line adds in the Gmail.apk from my current ROM. The latest versions of the Gmail app included in MIUI lock the mail database, which conflicts with a widget I use, so I just replace it with an older version. Every time I run the script, it removes the included Gmail app and adds in my current one. If you didn't want to add anything to the ROM, you could just delete this line entirely.
Data-Backup.zip
This just runs a shell script that creates a tar file in the root of your sdcard containing the listed files and directories. Tar files retain file permissions and owner information, so everything can be restored seamlessly. Here's how it works, it's pretty simple:
tar -c -f sdcard/backup.tar data/app/com.adobe.flashplayer-1.apk data/data/com.adobe.flashplayer data/app/com.speedsoftware.rootexplorer-1.apk data/data/com.speedsoftware.rootexplorer data/app/com.touchtype.swiftkey-1.apk data/data/com.touchtype.swiftkey data/data/com.android.browser data/data/com.android.deskclock data/data/com.android.launcher data/data/com.android.mms data/data/com.android.phone data/data/com.android.providers.contacts data/data/com.android.providers.settings data/data/com.android.providers.telephony data/data/com.android.providers.userdictionary data/data/com.android.thememanager data/data/com.android.vending data/data/com.google.android.gsf data/data/com.miui.camera data/data/com.miui.notes data/data/com.noshufou.android.su data/system data/misc/wifi
Click to expand...
Click to collapse
This creates the tar file and includes Adobe's Flash player and it's data, Root Explorer and it's data, and SwiftKey and it's data (I paired it down to just these three for this example). After that, it backs up a bunch of other data directories which include the current Browser settings, alarms, launcher settings and home screen layouts including widgets, phone logs, the current theme settings, any MIUI notes, current Wifi connections and, yes, SMS and MMS messages.
Obviously, you'd want to add in your specific apps and data directories. Sure, it takes a little work to set this up, but as I said, backing up is very quick and easy afterwards.
Data-Restore.zip
This just runs a shell script that restores all the files from the backup.tar on your SD card:
tar -xf /sdcard/backup.tar
Click to expand...
Click to collapse
Doesn't need much explanation.
So, the process is:
1-Download the Friday update through ROM Manager, move it to the root of my SD card and rename it to miui.zip
2-Reboot into CWM and run Backup-Data.zip to back up my apps and data
3-Run MIUI-Mod.zip to modify the downloaded MIUI rom
4-Wipe everything (cache/data/system)
5-Install the modded MIUI rom
6-Run Data-Restore to restore apps/data
7-Reboot
It's literally about 5 minutes after downloading the ROM and I'm updated and rebooted with a CLEAN os install and all my apps, data and settings intact, my home screen layouts, keyboard, wallpapers, wifi settings and everything retained.
Some notes:
1-Before running these in CWM, you have to make sure you have system, data and sdcard mounted since the scripts will be reading and/or writing to all of these. When you first reboot to CWM, just go to mounts and manually mount each one. The scripts could certainly be set up to mount them automatically, but mount points vary from phone to phone, and it's not difficult to mount through CWM. Also, after flashing a ROM, the ROM install script may unmount some of these, so before you restore your data, you might have to manually remount.
2-If you're adding anything from your current ROM to the zip (like how I add in my current Gmail.apk), make sure you wipe everything *after* running the mod script, otherwise you're deleting everything and then trying to copy file(s) that were just deleted.
3-I would highly recommend using Notepad++ to edit scripts, since it properly saves Unix line breaks.
4-as always, use at your own risk and a full CWM backup is highly recommended before messing with these.
That's pretty much it. Again, it does take a little while to get set up, but once it is, it's really simple. If you install a new app between updates, you just have to edit the backup script, or you can just keep the scripts maintaining a base setup and reinstall various apps through the market each time. This specific process is probably most useful for ROMs that are updated regularly - nightly or weekly, although I'm sure people can find other uses for running scripts through CWM.
Hope someone might find these useful.
This is really cool. I run Miui and would really like to be able to do a fresh install each week, but hate the hassle of resetting up my phone, even using Titanium backup, it's still a time consuming process. So needless to say, I flash the new rom over top of the old version without wiping just to save time.
So, basically I can open up the data restore zip in 7 zip, add in a few of my apps/data such as Tasker and so forth, close it and flash? If so, that will be great.
Thanks for sharing this!!!
You don't need to touch the Data-Restore.zip, all that does is extract the backup.tar file created with the backup script. What you'd do is open the Data-Backup.zip and edit the backup file (it's just a text file). Add in any of your apps and their corresponding data directories and when you flash the Data-Backup.zip in CWM, it'll back up those files/folders.
To find the files you want to backup, use something like Root Explorer and look in /data/app. There you'll find all the 3rd party apps you've installed. Add each one to the tar command in the backup file just like the ones I included. Then go into /data/data and find each app you want to back up's corresponding data folder. Add them to the tar command too.
Save the file, re-zip it and when you flash it through CWM, it'll back up the new files.
Just what i wanted
I also always install everything from clean system so setting up everything is a pain.
Would this work for Internal storage? I have a Motorola RAZR XT910 and running JBX roms.
Google does install all the apps when i sign in into the new rom but then i always had to move each folder to the correct destination manually using some file explorer. was thinking of making something like this but didnt know how to start. Thanks, I will now try and mod these to suit my phone :good:

[Q] Titanium Backup: restoring after wiping

I have the premium version of Titanium Backup which I have been using for over a year with much success.
I have one query which would make it really awesome if it can be accomplished.
I normally only use it when doing a ROM upgrade. When I am getting ready to upgrade, I delete all my old backups, do a new set of backups on all user apps + system data, and wipe and flash the ROM. Then, when I'm back inside, I go into the Market and download Titanium plus the Pro unlock, and restore the backup.
(First of all, is this what you guys do? restoring all system data shouldn't screw up the features of the new ROM from the old one, right?)
The question is: Is there any way to have Titanium run without having to first go into the Market, find the app plus the unlock, download it, and install it? i.e. If I could just run it straight off the SD card, or install it straight off the SD card without having to use the Market.
Ideally, it would be even better if I could have a startup script on first run where it just restores the full set of apps + system data after I've flashed the ROM.
Is this at all possible?
download or extract from a rom the titanium.apk, put it on sd-card an install the apk after flashing new rom and it´s done.
Ozzah said:
I have the premium version of Titanium Backup which I have been using for over a year with much success.
I have one query which would make it really awesome if it can be accomplished.
I normally only use it when doing a ROM upgrade. When I am getting ready to upgrade, I delete all my old backups, do a new set of backups on all user apps + system data, and wipe and flash the ROM. Then, when I'm back inside, I go into the Market and download Titanium plus the Pro unlock, and restore the backup.
(First of all, is this what you guys do? restoring all system data shouldn't screw up the features of the new ROM from the old one, right?)
The question is: Is there any way to have Titanium run without having to first go into the Market, find the app plus the unlock, download it, and install it? i.e. If I could just run it straight off the SD card, or install it straight off the SD card without having to use the Market.
Ideally, it would be even better if I could have a startup script on first run where it just restores the full set of apps + system data after I've flashed the ROM.
Is this at all possible?
Click to expand...
Click to collapse
Never restore system data as it can and has causes issues. It is only advised to restore user apps and data never system data.
As for your other question no not that I know of. Most roms worth anything already include TIBU so all you have to do is install the pro key and run it.
Start Titanium backup
Goto menu/more/create update>zip
scroll down and hit "create update.zip"
when you install a new Rom just use "add another zip" when in Rom manager or 4EXT recovery
Goto SD card and select "update.zip" from root of SD card
Hope that helps
alchopop said:
Start Titanium backup
Goto menu/more/create update>zip
scroll down and hit "create update.zip"
Click to expand...
Click to collapse
Thanks, that's great!
Do you know if it is smart enough to bundle the Pro unlock into the update.zip? I opened the zip file up and there only appears to be 1 APK in there.
Would it be difficult (or even possible?) to manually adjust the update.zip so that it includes the Pro unlock APK?
Ozzah said:
Thanks, that's great!
Do you know if it is smart enough to bundle the Pro unlock into the update.zip? I opened the zip file up and there only appears to be 1 APK in there.
Would it be difficult (or even possible?) to manually adjust the update.zip so that it includes the Pro unlock APK?
Click to expand...
Click to collapse
Pro unlock is stored on the SD card, no need to worry about it
Sent from my Desire HD using xda premium
restoring
So I'm returning my nexus for a replacement today. Some kind of battery issue that makes it keep turning off every night:
http://forum.xda-developers.com/showthread.php?p=34923533#post34923533
On restoring, if I understand right, I'm going to move my titanium folder back to the new nexus to the SD card area.
Run my TiBU apk and just restore my apps and associated files.
If I understand right, I Should Not restore my system files right? (Although i did a lot of customizing i was hoping could come right over).
Then when i have it all customized again, I'll back up the new system and hopefully it won't have any issues anymore.
Just an android noob talking it through, sound good?
I'll be installing the rom and CM10 again of course before doing this.
zelendel said:
Never restore system data as it can and has causes issues. It is only advised to restore user apps and data never system data.
Click to expand...
Click to collapse
Sorry, i take this opportunity to ask a question i had in mind for a long time: what exactly do you mean by "system data"?
I mean, can i restore stuff like "Settings", or "Wireless network", "Bluetooth associations", "SMS", "Wallpaper" and stuff like this? Is really annoying to have to re-customize from scratch the CyanogenMod settings and similar stuff, everytime i do a full wipe...
sberla54 said:
Sorry, i take this opportunity to ask a question i had in mind for a long time: what exactly do you mean by "system data"?
I mean, can i restore stuff like "Settings", or "Wireless network", "Bluetooth associations", "SMS", "Wallpaper" and stuff like this? Is really annoying to have to re-customize from scratch the CyanogenMod settings and similar stuff, everytime i do a full wipe...
Click to expand...
Click to collapse
You can restore these, they're not system level files (i.e. make the system run)
GuyInTheCorner said:
You can restore these, they're not system level files (i.e. make the system run)
Click to expand...
Click to collapse
Thank you!
So....what's the stuff i DON'T have to restore, because messes up my system?
sberla54 said:
Thank you!
So....what's the stuff i DON'T have to restore, because messes up my system?
Click to expand...
Click to collapse
Do not restore data from SYSTEM apps.
dalanik said:
Do not restore data from SYSTEM apps.
Click to expand...
Click to collapse
Could you tell me a couple of examples?
I'm sorry but i really can't figure out which ones are the system apps. In my opinion, even Settings and Wireless networks are system apps.
Do you mean all the services, frameworks, sms and contacts apps and stuff like this?
sberla54 said:
Could you tell me a couple of examples?
I'm sorry but i really can't figure out which ones are the system apps. In my opinion, even Settings and Wireless networks are system apps.
Do you mean all the services, frameworks, sms and contacts apps and stuff like this?
Click to expand...
Click to collapse
I think he's talking about app names that are red-colored while you're doing the backup in Titanium BackUp.
Am I right?
Cheers
Please delete

[Q] Safely Remove Backup Assistant?

I'm fairly new to the whole root/S-OFF/custom ROM world.
After flashing cmlusco's Touch of Blue ROM, I realized that it did not include Verizon's Backup Assistant. Makes complete sense to not include it, however, I found myself in a situation where I briefly needed it. No problem - I just flashed the Backup Assistant apk through recovery and was able to successfully use it.
Now I want to get rid of it. What is the recommended method for completely removing Backup Assistant? What is the safest method for removing it?
I appreciate any assistance/advice
Use a program like "Titanium Backup" to uninstall the Verizon app. It's free in the play store. Once downloaded, press:
1) Menu button
2) select Filter
3) then check "All apps" under filter status
4) check "User" under filter type
5) click Apply then find and uninstall the Verizon app.
Titanium Backup is very useful if you want to uninstall System apps or regular apps since it is a root app. Just be careful what you uninstall cuz you can uninstall virtually anything (widgets, apps, apk's) using this app.
Or you can just use a root file explorer to navigate to /system/app and delete or rename the VzWBAClient.apk, VzWBAService.apk, VzwLBSPerm.apk, and VZWInstaller.apk. Then reboot and it will be gone.
cmlusco said:
Or you can just use a root file explorer to navigate to /system/app and delete or rename the VzWBAClient.apk, VzWBAService.apk, VzwLBSPerm.apk, and VZWInstaller.apk. Then reboot and it will be gone.
Click to expand...
Click to collapse
It's much faster/easier to just uninstall it with TB
cmlusco said:
Or you can just use a root file explorer to navigate to /system/app and delete or rename the VzWBAClient.apk, VzWBAService.apk, VzwLBSPerm.apk, and VZWInstaller.apk. Then reboot and it will be gone.
Click to expand...
Click to collapse
This is what I ended up doing - thanks for the info.
I was originally going to use Titanium to accomplish this, but it gave a warning that important system files could also be deleted. Given that I've backed everything up, I assume that there wouldn't be any real issues even if Titanium did delete something critical.
Which brings up another question: is Titanium doing the same thing as manually deleting the 4 files listed above? I suppose I could test this by reinstalling Backup Assistant, using Titanium to uninstall, and looking to see what is left...
S2theSea said:
This is what I ended up doing - thanks for the info.
I was originally going to use Titanium to accomplish this, but it gave a warning that important system files could also be deleted. Given that I've backed everything up, I assume that there wouldn't be any real issues even if Titanium did delete something critical.
Which brings up another question: is Titanium doing the same thing as manually deleting the 4 files listed above? I suppose I could test this by reinstalling Backup Assistant, using Titanium to uninstall, and looking to see what is left...
Click to expand...
Click to collapse
Basicly yes its doing the same thing just automating it for you. If you delete with titanium the files get deleted, if you freeze with titanium the files are either renamed or moved.
cmlusco said:
Basicly yes its doing the same thing just automating it for you. If you delete with titanium the files get deleted, if you freeze with titanium the files are either renamed or moved.
Click to expand...
Click to collapse
More good info - thanks again. I appreciate the patience and willingness of the community to help educate newbs like myself.
BTW, excellent work on the Touch of Blue ROM - it's been running nearly perfect for me after ~2 weeks.
S2theSea said:
More good info - thanks again. I appreciate the patience and willingness of the community to help educate newbs like myself.
BTW, excellent work on the Touch of Blue ROM - it's been running nearly perfect for me after ~2 weeks.
Click to expand...
Click to collapse
Thank you, glad you like it.

[Q] [How to] Save the just data from specific apps

Hello guys!
I want to format everything and give a fresh start on my GNexus. I am finding it very laggy and I think that the problem is on using the same app backup for almost an year. I make the full backup in the recovery and after wiping everything and installing a new rom, I restore everything. I believe that there are many apps in my phone that I don't use anymore and are there as trash that needs to be cleaned...
I know about Titanium Backup, but I'm on ART and I never learned how to use the damn program correctly, so there is much complication to just backup some apps. What I really need is a method for backing up JUST the data (ex: the savedata from the games) and not the apk. So that I can wipe everything in the phone (all the partitions), install the rom and fixes and everything and then intall via google play the apps again and put the backed data in its place again.
I don't know if I made myself clear, maybe I'm just complicating, but if you play or played roms on an emulator, you have the rom and its save. I want to backup the save file, delete the rom and the emulator itself. Then install the emulator again (clean install), donwload the roms (clean ones) and put the old save in the place. :good:
Well, thanks in advance :laugh:
Rayaxe said:
I know about Titanium Backup, but I'm on ART and I never learned how to use the damn program correctly,
Click to expand...
Click to collapse
Titanium works on ART now, as is my understanding. It's not complicated to learn. Just select the app and hit backup, and Bingo Bango, you're done.
Then when you restore, you can select just data.
Piece of cake, ace.
yeah, I finnaly made it, my problem was ART, I didn't notice they updated the app ehehe
thanks
Yeah I personally don't recommend tibu. I've tried it myself and had issues related to Android version at the time and I just see this over and over. The other thing is that there are excellent options available without an app. My favorites for backing up just /data/data/<app_data_dir> are:
Code:
#> cp -a /data/data <backup_location>
OR you can use
Code:
#> adb backup -noapk -all
Type adb in terminal on phone or on computer to see more info for this one, that's basically it though. You can use adb to backup directly onto your phone or computer, very useful when you need some space!!
The most important thing though when you're backing up data is to preserve permissions and be able to set new ones for data if the apk owner "id" changes, e.g. app re-installations. Otherwise you'll run into some pretty bad problems.. not so fun. So definitely use a tar archive for file permissions preservation and some fast lzma lzop compression on top of the tar archive. 'busybox tar' usually has all of these options. A lot of roms' busybox and functions get stubbed and made useless, so I would check out Terminal IDE if you want to go this route. 'Definitely want the full gnu options and consistency. Vanir by itself is also good here, and I use it 24/7 for this reason. It really does have a hemi, they're not kidding.
7175 said:
Yeah I personally don't recommend tibu. I've tried it myself and had issues related to Android version at the time and I just see this over and over. The other thing is that there are excellent options available without an app. My favorites for backing up just /data/data/<app_data_dir> are:
Code:
#> cp -a /data/data <backup_location>
OR you can use
Code:
#> adb backup -noapk -all
Type adb in terminal on phone or on computer to see more info for this one, that's basically it though. You can use adb to backup directly onto your phone or computer, very useful when you need some space!!
The most important thing though when you're backing up data is to preserve permissions and be able to set new ones for data if the apk owner "id" changes, e.g. app re-installations. Otherwise you'll run into some pretty bad problems.. not so fun. So definitely use a tar archive for file permissions preservation and some fast lzma lzop compression on top of the tar archive. 'busybox tar' usually has all of these options. A lot of roms' busybox and functions get stubbed and made useless, so I would check out Terminal IDE if you want to go this route. 'Definitely want the full gnu options and consistency. Vanir by itself is also good here, and I use it 24/7 for this reason. It really does have a hemi, they're not kidding.
Click to expand...
Click to collapse
looking for this method, very nice!
thanks, next time I need to backup I will use this xd

Categories

Resources