a2sd on Stock Rom - HTC Pico (Explorer)

I am using stock rom on rooted htc explorer, I tried installing a2sd on it through guide on Darktremor official facebook page but i always get an error meaning I'm not able to install it.
My sd card is ext3 partitioned. I tried installing beta02, using gingerbread. Can anyone tell me how do I install it?

i dont think it will work on stock rom because stock rom doesn't support init.rc script.
may developers can help you in this case
Sent from my HTC Explorer A310e

Visit-http://www.bongizmo.com/blog/moving-all-android-apps-to-sdcard-apps2sd-froyo/
Hit thanks if helped
Sent from my HTC Explorer A310 using xda premium

to run a2sd u need 2 things
1.Init.d and a2sd supported kernel
2.app2sd scripts

Instal busybox first.. then it will work!!

I'm trying to figure this out at the moment too. I think from what I can gather what you need to do is install a custom kernel. As I understand it, most of the Explorer custom kernels should work (although not the ones for the CM ROMs etc.). Something like Cranium or Titanium should do the job.
After installing that, it should be relatively straightforward, provided you haven't already got a FAT32 partition full of apps via link2SD (which I do...).
Hope you get it working, if you manage please do post back here with what you did and how it went, as I will probably be attempting this in the next week or two and would appreciate your experience.

Alright people!
Based on trial and error method:
Step by step instruction for a2SD on stock ROM
1.nandroid backup
2.backup all apps with titanium backup
3.unlink all apps if you're using link2SD and uninstall link2sd
3.1 install busbox from play store and install it.
4.backup and then format sdcard
5.partition with ext in recovery
2gb is enough
6.flash darktremors a2sd beta4 in recovery and then flash cranium kernel #2 or 800MHzkernel or kernel from ateeq ROM
7.wipe cache Dalvik cache and reboot
8.install a2sd gui
9.see if worked in gui
10.click move dalvik 2 sdext
11.wait for it
12.then move app data to sdcard with titanium backup after every app installation
13.enjoy HTC
FAQ:
1.I get "error installing from bla bla bla.zip"status 0
A:
Take the update binary from cranium kernel #2 and put it in the beta4 zip...
Just delete the update binary in beta4 and put the binary from cranium kernel zip
2.Now I get mount requires 4 args got only 3 status bla bla bla
A:
Well this time it'll be complicated..
Now open the update script with any text editor es note editor
You'll find that in beta4.zip you have mount system and then 3 parameters like "/data , etc etc," now you have to add a fourth parameter like this mount("yaffs2", "MTD", "system", "/system"); and the same way for data
If you're crazy enough, all you have to do is just copy and paste all the files in the beta4.zip in it's respective location and then give it permissions 777 (use terminal and es explorer)
And voila your zip finally installs!
That's it people!
If you don't understand anything mentioned here,google it search and search in xda until you find it.
All I can say is that it can be done and actually I'm sending this post from such a dt a2sd enabled stock ROM with 401apps in total!
Anyway all the best
Update:
Link to cranium kerndl: http://d-h.st/nJr
Link to modified a2sd scripts : http://d.pr/f/UF8i
(thanks to sifjar and sakindia)enjoy

ptcpayme said:
3.unlink all apps if you're using link2SD and uninstall link2sd
Click to expand...
Click to collapse
But I have 593MB of linked apps...How can I unlink them into about 18MB of free space on internal memory?
Also out of curiosity, which specific kernel do you use?
Thanks for your list of steps though, should prove quite helpful if I do finally get round to doing this.
EDIT: I am starting the process. I have made a nandroid backup and Titanium Backup of all apps + data. I have also uninstalled almost all my linked apps, moved a few to internal. Hopefully in the next few days I will be able to get DT apps2SD fully functional and then restore the Titanium Backup. I shall probably use cranium #2 kernel, is this the best option?
EDIT: Why do you recommend #2 and not #3? Is #3 buggy?

SifJar said:
But I have 593MB of linked apps...How can I unlink them into about 18MB of free space on internal memory?
Also out of curiosity, which specific kernel do you use?
Thanks for your list of steps though, should prove quite helpful if I do finally get round to doing this.
EDIT: I am starting the process. I have made a nandroid backup and Titanium Backup of all apps + data. I have also uninstalled almost all my linked apps, moved a few to internal. Hopefully in the next few days I will be able to get DT apps2SD fully functional and then restore the Titanium Backup. I shall probably use cranium #2 kernel, is this the best option?
EDIT: Why do you recommend #2 and not #3? Is #3 buggy?
Click to expand...
Click to collapse
Yes #3 has a major bug..
Delete all apps except essentials..after all you have titanium backup
I'd prefer the 800kernel posted by akya22 but it causes random reboots on my phone.(it might not on other phones though)
Sent from my HTC Explorer A310e using xda app-developers app

ptcpayme said:
Yes #3 has a major bug..
Delete all apps except essentials..after all you have titanium backup
I'd prefer the 800kernel posted by akya22 but it causes random reboots on my phone.(it might not on other phones though)
Sent from my HTC Explorer A310e using xda app-developers app
Click to expand...
Click to collapse
Excellent, thank you. I will probably try this next weekend, I really need my phone during the week and can't afford to risk messing it up, but next weekend I should have time to fix it if I encounter a problem.
Thanks for your help.

Wiping data in some stock roms will end up in a stuck HTC logo
Just backup your fonts folder in data and after wiping data put it back in the data using aroma
Sent from my HTC Explorer A310e using xda app-developers app

Just want to say that I have installed Cranium #2 and DT apps2SD script now, and things seem to working OK. I am in the process of restoring all my apps with Titanium (I sprung for the Pro version, so I could batch restore without clicking "Install" hundreds of times, if anyone else is doing this, I advise doing likewise), currently have about 53MB of free space (I think I maybe need to move data separately or something? I did have 82MB free earlier). But all in all, it seems reasonably successful
Thanks again ptcpayne for your assistance.

SifJar said:
Just want to say that I have installed Cranium #2 and DT apps2SD script now, and things seem to working OK. I am in the process of restoring all my apps with Titanium (I sprung for the Pro version, so I could batch restore without clicking "Install" hundreds of times, if anyone else is doing this, I advise doing likewise), currently have about 53MB of free space (I think I maybe need to move data separately or something? I did have 82MB free earlier). But all in all, it seems reasonably successful
Thanks again ptcpayne for your assistance.
Click to expand...
Click to collapse
Glad to hear it...
You need to move app data to sdcard with titanium backup-first move app data of 1 app and then you can batch move...
Btw,if someone is so poor enough,know that you can batch restore apps with free version of ROM toolbox lite and batch restore data with titanium backup
---------- Post added at 09:23 PM ---------- Previous post was at 09:18 PM ----------
@ sifjar can you tell if you can extract apps from nandroid backup with titanium pro?

ptcpayme said:
Glad to hear it...
You need to move app data to sdcard with titanium backup-first move app data of 1 app and then you can batch move...
Btw,if someone is so poor enough,know that you can batch restore apps with free version of ROM toolbox lite and batch restore data with titanium backup
---------- Post added at 09:23 PM ---------- Previous post was at 09:18 PM ----------
@ sifjar can you tell if you can extract apps from nandroid backup with titanium pro?
Click to expand...
Click to collapse
I ended up opening terminal emulator and typing "a2sd datasd", which did the job just fine. Plus this way I believe it should automatically be done for all future apps.
As for extracting apps from nandroid: Yes, it would appear so.

SifJar said:
I ended up opening terminal emulator and typing "a2sd datasd", which did the job just fine. Plus this way I believe it should automatically be done for all future apps.
As for extracting apps from nandroid: Yes, it would appear so.
Click to expand...
Click to collapse
I tried it...moving data back and forth but sometimes large cups of data are lost..including google accounts..but only during the moving process..
..also, I would like some special data to remain in internal memory like contacts....

ptcpayme said:
I tried it...moving data back and forth but sometimes large cups of data are lost..including google accounts..but only during the moving process..
..also, I would like some special data to remain in internal memory like contacts....
Click to expand...
Click to collapse
I am yet to find any app with data missing, but I haven't run all apps yet since doing this I don't think. The important ones are all fine though.
And I find contacts to be fine from SD.
To each their own I guess

I've asked this thread to be added in index. ..it might help someone..
Here is the original post..
http://forum.xda-developers.com/showthread.php?p=31580971
Sent from my HTC Explorer A310e using xda app-developers app

Bump

Man.. these days no one is interested in stock Rom..
this thread is in the index, yet no one is here... :banghead::banghead::banghead:

Minor update:if you have stuck at HTC logo, please install stericson busybox and try again
Mount2SD is another app.. will save you a lot of hassle.
cm10 htc a310e k2.6 w/ smooth of butter

Related

[MOD/TOOL] FlashBack - Flashable Backups

This is a simple tool that will make a flashable backup of your apps.
It only backs up the apps no data, yet. There are alot of ways to do this but this one actually makes a flashable zip file and puts it on you sdcard.
Just flash FlashBack-Installer.zip and open up terminal and type
su
Then type
apps
Run the backup (It takes a minute before it starts going)
Then flash your new rom or whatever and right after flash FlashBack.zip to restore your apps.
Saves alot of time for people who do alot of flashing like me. And this should work with most devices if not all of them. It uses busybox to mount the drives in the updater-script files.
I will be adding more to this so post any ideas or feedback you have.
This works awesome, I know there are other things out there for this but this is so much easier. Thanks for the release man.
---------- Post added at 09:30 PM ---------- Previous post was at 08:36 PM ----------
Sorry about the double post but works on My Touch 4G (Official MIUI TDJ Release).
This is awesome thank you so much!
Can't wait to see if app's data can be backed up
I got a message that said CD: NOT FOUND like right away. No delay after starting it.
It created a .zip file, but nothing was in it.
Am I doing something wrong?
fergie716 said:
This is awesome thank you so much!
Can't wait to see if app's data can be backed up
Click to expand...
Click to collapse
Ya this is very useful and fast. When data can be backed up titanium will sit to the side
mulletcutter said:
Ya this is very useful and fast. When data can be backed up titanium will sit to the side
Click to expand...
Click to collapse
It works now in conjunction with titanium. Titanium works quickly to restore data.
If this thing puts the apps back, titanium can restore the data much easier than it is to restore the apps with titanium.
Sent from my HTC Sensation using XDA App
The Configurator does the same backup and backs up some user data like mms and accounts it also let's you tweak your phone check it out
http://forum.xda-developers.com/showthread.php?t=1314443
Sent from my PG86100 using xda premium
I have a little problem with HyperNonSense 1.5 and this mod. The apps is not backed up.
View attachment 957931

how to backup everthing before flashing a new custom rom

guy's here i am with a all in one collection to backup everthing before flashing a custom rom........
first basically backup your rom by using clockwork mod recovery as anything may go wrong just to be on the safer side.......
then download the file in the attachment.....
there are 3 apk files install them and backup your contacts apps and messages to your sd make a backup of them in your pc..........
after flashing your new rom.......
restore them from your sd...
for apps you will find afolder named appmonster you will nedd to install all the apk files in that folder.........
this is a guide for noobs and releatively new tinkerers of roms......
press thanks if i helped you.....
and rate the thread......
devs dont comment saying everyone knows this there might be someone in need of this info....
happy flashing
ajay8055 said:
guy's here i am with a all in one collection to backup everthing before flashing a custom rom........
first basically backup your rom by using clockwork mod recovery as anything may go wrong just to be on the safer side.......
then download the file in the attachment.....
there are 3 apk files install them and backup your contacts apps and messages to your sd make a backup of them in your pc..........
after flashing your new rom.......
restore them from your sd...
for apps you will find afolder named appmonster you will nedd to install all the apk files in that folder.........
this is a guide for noobs and releatively new tinkerers of roms......
press thanks if i helped you.....
and rate the thread......
devs dont comment saying everyone knows this there might be someone in need of this info....
happy flashing
Click to expand...
Click to collapse
Thnx for ur effort but i wanna kno that how can we restore all apps including app data and app setting in a new rom?
what if you get a hard brick while flashing some ROM?
---------- Post added at 09:42 AM ---------- Previous post was at 09:41 AM ----------
amandeep152 said:
Thnx for ur effort but i wanna kno that how can we restore all apps including app data and app setting in a new rom?
Click to expand...
Click to collapse
afaik, you need to reinstall those backup apps and then select restore option.
Gooooood thread
amandeep152 said:
Thnx for ur effort but i wanna kno that how can we restore all apps including app data and app setting in a new rom?
Click to expand...
Click to collapse
in sd card you will find a seperate folder for app data if you have installed apps on sd.....if its in internal memory go to data-data and find that app folder check screenshots...and backup that folder before flashing a new rom and paste the folder back where it was to get all app data and setting...this is a lenghty procedure...to save time just copy all the folders instead of single one...this will serve as a app data and setting backup
dont forget to press thanks.....
bricking chances are zeroing these days....i am creating a seperate thread for do's and dont's of flashing read that....
ajay8055 said:
guy's here i am with a all in one collection to backup everthing before flashing a custom rom........
first basically backup your rom by using clockwork mod recovery as anything may go wrong just to be on the safer side.......
then download the file in the attachment.....
there are 3 apk files install them and backup your contacts apps and messages to your sd make a backup of them in your pc..........
after flashing your new rom.......
restore them from your sd...
for apps you will find afolder named appmonster you will nedd to install all the apk files in that folder.........
this is a guide for noobs and releatively new tinkerers of roms......
press thanks if i helped you.....
and rate the thread......
devs dont comment saying everyone knows this there might be someone in need of this info....
happy flashing
Click to expand...
Click to collapse
use titanium backup!!
no need of separate apps to take backups of different things...
just a few clicks, and you have all your apps + personal data + app data + cache (optional) backed up, and ready to restore...
and titanium auto restores its data (from previous roms) when you install it in a new rom...
Thanks for the suggestion
I will includE it too
Sent from my GT-S5670 using xda premium
amandeep152 said:
Thnx for ur effort but i wanna kno that how can we restore all apps including app data and app setting in a new rom?
Click to expand...
Click to collapse
ajay8055 said:
guy's here i am with a all in one collection to backup everthing before flashing a custom rom........
....
happy flashing
Click to expand...
Click to collapse
this can be done simply by an app called "TITANIUM BACKUP "...
its very easy to use.. n you can backup data n all your settings...
anyways..
nice start n thread..
first basically backup your rom by using clockwork mod??
what if you dont have CWM?
(Arc with official ICS, not rooted, locked BL)

[SC-02C] Any Rom Patcher by Simmo [Updated : 2013/06/16]

Simmo's SC-02C Any Rom Patcher
with special thanks to wjchen0 for the ntt gps kernel module
Tested and working with ICS and JB 4.1.x
JB 4.2 works, but requires a Siyah based kernel or a kernel designed specificially for the SC-02C, such as KBC.
Please press the Thanks button if it works for you.
Code:
Modem: SC02C-OMLPL
Apps: ClockworkMod SuperUser
Busybox
Tweaks: Set NTP server (jp.pool.ntp.org)
Free tethering (tether_dun_required=0)
NTT GPS & compass fix
Facebook ContactsProvider database patch (is_restricted=0)
Black camera viewfinder fix for the Docomo rom
CyanogenMod APN xml (with spmode)
Samsung JellyBean fonts (incl. Japanese)
SP-Mode Mail with Push & Docomo Account Authenticator
Docomo emoji library
How to get a working JellyBean rom.
Root your phone and install a custom kernel. Reboot into CWM.
Download a custom rom. I recommend WanamLite or NeatRom.
Download my tweaker.
Install the rom first, then my tweaker.
Reboot, then you're done.
Note : You must install the tweaker every time you do a full wipe.
If you are running Jelly Bean then you can install CommuniCase by Docomo, instead of using SP-Mode Mail.
Changes:
2013/06/16
Updated the DcomoAccountAuthenticator to work with Docomo CommuniCase.
Added support for Docomo emojis in keyboard that use it.
Reverted to the OMLPL modem, as I found it works better.
2013/02/04
Updated the system modules and modem from the latest OMMP4 rom.
2013/01/28
The gps module has a bug that cuases the system to hang at the docomo logo.
You must install this new update to stop it happening.
If you already have the "stuck at docomo logo" problem, download the new tweaker and install on top. It deletes the corrupted file.
reserved
reserved
reserved
reserved
SimmoF said:
reserved
Click to expand...
Click to collapse
which update file you mean?
I download the latest tweak for any rom
and still stuck at docomo log/....
---------- Post added at 01:33 PM ---------- Previous post was at 01:16 PM ----------
and i can not find the file to delete...
wendac said:
which update file you mean?
I download the latest tweak for any rom
and still stuck at docomo log/....
---------- Post added at 01:33 PM ---------- Previous post was at 01:16 PM ----------
and i can not find the file to delete...
Click to expand...
Click to collapse
I just updated again.
You can download "Simmo's SC-02C Any-Rom Tweaker 20130128b.zip"
Install this and it deletes the file for you.
Please post if it fixes it.
SimmoF said:
I just updated again.
You can download "Simmo's SC-02C Any-Rom Tweaker 20130128b.zip"
Install this and it deletes the file for you.
Please post if it fixes it.
Click to expand...
Click to collapse
it does not work for me.....
wendac said:
it does not work for me.....
Click to expand...
Click to collapse
please mount /data first in the mounts and storage menu in philz recovery menu
Works great
Great tweak. Working for me so far and I had a few issues myself. I will say that in order to get the ROM (I'm using Wanamlite 14.0 and the 23 Toggles) and the tweaker working properly I did have to do a full wipe.
I will just recommend that anyone who wants this to work BACKUP - BACKUP - BACKUP.
I also used Titanium Backup (correctly - Thanks Simmo :silly: ) to backup all user apps. Don't worry about the system apps - the ROM takes care of them.
My order of installation -
1 - BACKUP your current ROM - again - BACKUP your current ROM
2 - Use Titanium Backup (use this guide) to back up your user apps so you can get them back afterwards. When using Titanium Backup for the first time on a new ROM, you may get the message about using the phone's original ID, ignore it, let it use the new one.
3 - Follow SimmoF's instructions in the first post
4 - Reboot and enjoy.
Thanks again to SimmoF - buy him a beer.
rushter said:
Great tweak. Working for me so far and I had a few issues myself. I will say that in order to get the ROM (I'm using Wanamlite 14.0 and the 23 Toggles) and the tweaker working properly I did have to do a full wipe.
I will just recommend that anyone who wants this to work BACKUP - BACKUP - BACKUP.
I also used Titanium Backup (correctly - Thanks Simmo :silly: ) to backup all user apps. Don't worry about the system apps - the ROM takes care of them.
My order of installation -
1 - BACKUP your current ROM - again - BACKUP your current ROM
2 - Use Titanium Backup (use this guide) to back up your user apps so you can get them back afterwards. When using Titanium Backup for the first time on a new ROM, you may get the message about using the phone's original ID, ignore it, let it use the new one.
3 - Follow SimmoF's instructions in the first post
4 - Reboot and enjoy.
Thanks again to SimmoF - buy him a beer.
Click to expand...
Click to collapse
i fully wipe and follow simmon's way to install the rom
it is ok
but after i restore my app by titanium back up
it stuck at the docomo logo again...
wendac said:
i fully wipe and follow simmon's way to install the rom
it is ok
but after i restore my app by titanium back up
it stuck at the docomo logo again...
Click to expand...
Click to collapse
Then it obviously appears that it is not the ROM or the tweaker causing the problem. Please be sure that you have the right Tweaker B version and boot into recovery and run it through again.
If not, I would say try again but after the ROM installs let it reboot before installing everything else. Run through the google setup stuff, don't do the samsung stuff, skip it.
Then go in and only restore user apps. I always thought I knew Titanium Backup well, but, as Simmo pointed out to me, I was wrong. Go ahead and JUST RESTORE YOUR USER APPS - NO SYSTEM APPS OR DATA. You may also have to go in and set your apn to the spmode.ne.jp .
This is what worked for me. After you have done that and just the ROM and your restoration works, test with a few reboots. Then go and get the tweaker file again. Just to be safe.
I know that, myself, if I let everything settle and check for running operation, then install the 23 toggles, tweaks and sp push files, it works.
If you get stuck at the boot logo AND you have downloaded the Tweaker B version of the file before wiping again - try to boot into recovery and just run the tweaker file as suggested.
DON'T GIVE UP!!!
It's a very smooth ROM. So far...
Re: [SC-02C] Any Rom Patcher by Simmo [Updated : 2013/01/28]
Finally set up everything.
Trick is not to use titanium back up to restore data.
Btw how can I use other kernel ?
And any suggestion for battery
Now on wanamlite Rom with simmon tweak.
Sent from my GT-I9100 using Tapatalk 2
Thanks Simmo's
I have tried the two Roms; and this issues have been persist
- The SD card can't read.
- Can't read the memoir or the SD card via the computer
- Can't instal any APK.
Re: [SC-02C] Any Rom Patcher by Simmo [Updated : 2013/01/28]
[email protected] said:
Thanks Simmo's
I have tried the two Roms; and this issues have been persist
- The SD card can't read.
- Can't read the memoir or the SD card via the computer
- Can't instal any APK.
Click to expand...
Click to collapse
Run a disk checker.
If on windows. Mount as USB device.
Open a command window on the PX.
Run the command "chkdsk driveletter: /f"
That should fix it. If it says partition type is RAW, then something strange happened and it needs to be formatted.
If your internal /data partition is damaged, you need to do something different. Tell me a If that fixes your problem.
Sent from my GT-I9100 using Tapatalk 2
SimmoF said:
Run a disk checker.
If on windows. Mount as USB device.
Open a command window on the PX.
Run the command "chkdsk driveletter: /f"
That should fix it. If it says partition type is RAW, then something strange happened and it needs to be formatted.
If your internal /data partition is damaged, you need to do something different. Tell me a If that fixes your problem.
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
- The SD can't read via the device, but with computer it's work
- The internal memoir appear just with 2 gb
- When i try to instal any APK from internet (ex Google play) it doesn't work.
rushter said:
Then it obviously appears that it is not the ROM or the tweaker causing the problem. Please be sure that you have the right Tweaker B version and boot into recovery and run it through again.
If not, I would say try again but after the ROM installs let it reboot before installing everything else. Run through the google setup stuff, don't do the samsung stuff, skip it.
Then go in and only restore user apps. I always thought I knew Titanium Backup well, but, as Simmo pointed out to me, I was wrong. Go ahead and JUST RESTORE YOUR USER APPS - NO SYSTEM APPS OR DATA. You may also have to go in and set your apn to the spmode.ne.jp .
This is what worked for me. After you have done that and just the ROM and your restoration works, test with a few reboots. Then go and get the tweaker file again. Just to be safe.
I know that, myself, if I let everything settle and check for running operation, then install the 23 toggles, tweaks and sp push files, it works.
If you get stuck at the boot logo AND you have downloaded the Tweaker B version of the file before wiping again - try to boot into recovery and just run the tweaker file as suggested.
DON'T GIVE UP!!!
It's a very smooth ROM. So far...
Click to expand...
Click to collapse
how is your battery consumption\ for wanamlite?
I know this rom is great but the battery really decrease too fast. Even I close the mobile data and wifi. It drops around 5% per hr. compared to cm9, it is far too high
XXLS8 has issues. the XXLSJ leak is much better actually.
I recommend going back to the leak or going to cm10.1
I am playing around with cm10.1 at the moment.
XXLS8 sucks.
Re: [SC-02C] Any Rom Patcher by Simmo [Updated : 2013/02/04]
I've been trying to download your tweaker on and off now for about two weeks. Tried different combinations with different browsers to no avail.
Every time I click on the file, it just opens up and shows the files in the zip. Its pretty to look at but .....
Can you not just upload to xda???
(Direct download)
Sent from my GT-I9100 using xda premium
Can't download zip from Google Drive on phone
E43JAP said:
I've been trying to download your tweaker on and off now for about two weeks. Tried different combinations with different browsers to no avail.
Every time I click on the file, it just opens up and shows the files in the zip. Its pretty to look at but .....
Can you not just upload to xda???
(Direct download)
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
I had the same problem. It's not the zip file that is a problem - it's google drive
First, I am assuming that you are doing this from the phone itself.
I used Firefox and this is what you need to do -
1-Click the link to download the file and once you are in the directory where you see the zip click on it.
2-It will open and show you the contents of the zip - don't worry
3-Click the menu key on your phone and one of the choices listed will be show as desktop or something like that - click it
4-Let page reload
5-Now at the top of where the zip file is shown, you will see some menu choices - File Edit, etc.......
6-Click File and I think the bottom choice is download. Click that and it should download the zip file.
It will give it a random name but you should be able to get things figured out from here.
Please thank me below and make sure you get simon (or Me - haha) a beer.

[APP][ROOT][3.0+] Backup2Tar v0.1 Flashable App+Data Backup using Tar.

Backup2Tar is a Free backup tool that I created to help restore my apps after flashing a new rom.
How it works :
Select which apps to backup from the UI
The app generates a tar file on your sdcard (update.tar.gz) with the package files and data.
Finally, the app will generate restore_tar.zip which contains busybox and a small shell script to find update.tar.gz and extract it.
As of right now it's a very simple app, there are no options at all and I made it for personal use and to (re-)learn Java.
FAQ :
Why tar?
because it's the standard archive format on Linux, preserves permissions and user information.
But all the cool kids use zip files.
Yes, sure you can hack a nice updater-script to fix permissions on all files, but it's bound to screw up permissions some way or the other, specially with apps that have executable files in their /data/data/.
Your icons suck
Feel free to create new icons for the app and I will gladly use them.
Is there anyway to help?
Provide me with ideas, ways to improve it, better artwork and feel free to donate!
TODO :
Toggle saving apps' data and/or cache.
Store other important settings (wifi, gps, etc).
Clean up the source code and publish it.
Tested Devices :
N7000 (running 4.1.2 / Phillz Kernel).
Rooted 3.0.0, 4.0.3, 4.2.2 Android emulators (tested using update-binary, not from recovery).
All comments / suggestions are welcome.
Changelog :
v0.1
Initial alpha release.
Sounds useful, downloading now. Thanks!
Sent from my SGH-I897 using XDA
Will this backup my paid apps or only non "protected" apps?
famewolf said:
Will this backup my paid apps or only non "protected" apps?
Click to expand...
Click to collapse
I'm not sure, I don't have any protected apps at the moment to try with.
If you can test and report back it would be great.
The app copies /data/app/xxx.apk and /data/data/xxx, so if the protected files aren't in /data/data they won't be copied.
life.eq.null said:
I'm not sure, I don't have any protected apps at the moment to try with.
If you can test and report back it would be great.
The app copies /data/app/xxx.apk and /data/data/xxx, so if the protected files aren't in /data/data they won't be copied.
Click to expand...
Click to collapse
I'll see if I can get some time to install and try it.
Have you considered adding /system/app and it's associated data to the list? An app might be included in one rom and not in another so I'd still want the ability to back it up even if it has to back it up to /data
Also I didn't see it in the screenshots but if not there a single checkbox to backup ALL apps in list would be highly useful rather than having to click all of them.
You can backup system apps as well.
I found a bug in restoring, some apps won't restore right without "reinstalling" using the package manager, gonna try to figure out how to call the package manager from recovery.
Workaround to fix the apps that aren't working after restoring is to use adb shell.
PHP:
$ adb shell
$ su
# tar tzf /sdcard/update.tar.gz | grep data/app/ | while read APK; do pm install -r "/$APK"; done
This basicly will use the package manager to "properly" install all the apk.
I will release a fixed version later today.
I will add check-all option as well, I'm still getting the hang of action bars and such.
does this script preserve "move to sd" location? i mean, i used a lot "move to sd" standard android function, to move many big apps to sdcard/.android_secure folder... of course, none of the those that use widgets...
i found that restoring with titanium backup does not preserve this: if i batch restore my apps, it fills up my internal memory (samsung note n7000), and i've to move a bunch of them to sd before redoing restore of the remaining ones... very boring...
is there a way to restore apps EXACTLY in the same location where they were when backupped? thanks
Is it possible to backup the whole ext partition as well? As Im using Link2Sd and to restore it quite tedious. My apps + games are out of the internal space.. So, I extend using ext partition.
Can we flash the backup to stock unrooted rom ,from the stock recovery??
Sent from my GT-I9070 using xda premium
no answers in days from the developer to a fresh project... then no development at all? hope not...
mrshark said:
no answers in days from the developer to a fresh project... then no development at all? hope not...
Click to expand...
Click to collapse
You posted your original question late on the 28th and this most recent complaint early on the 30th at least by my timezone....perhaps you have an unreasonable expectation as to how soon he needs to respond to you.
famewolf said:
You posted your original question late on the 28th and this most recent complaint early on the 30th at least by my timezone....perhaps you have an unreasonable expectation as to how soon he needs to respond to you.
Click to expand...
Click to collapse
3 weeks is enough?

Problem with Titanium Backup in android 6

Hi
I just root my device with elemntalX kenrel and supersu 2.52 but Titanium is not working, its my problem or titanium not working on 6 ? BTW i'm desperate , all my data is unavailabe now!!
siamak5561 said:
Hi
I just root my device with elemntalX kenrel and supersu 2.52 but Titanium is not working, its my problem or titanium not working on 6 ? BTW i'm desperate , all my data is unavailabe now!!
Click to expand...
Click to collapse
That's why u always make a backup, I don't understand, why did u wipe the device to root? U don't need to, unless u had to unlock the bootloader to, but that's simple enough, just make a backup, and no titanium backup probably doesn't work with 6.0 yet
Sent from my Nexus 6 using Tapatalk
Exactly
BTW Backup+ works on M.
EInstead of being unhelpful and spammy like the posts above, I'll help. Revert to supersu 2.49 and install the appropriate elemental x kernel.
soupysoup said:
That's why u always make a backup, I don't understand, why did u wipe the device to root? U don't need to, unless u had to unlock the bootloader to, but that's simple enough, just make a backup, and no titanium backup probably doesn't work with 6.0 yet
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
I had the same issue, and although I didn't have the time to investigate it much, the problem seems to be the following:
Backups used to be located at
Code:
storage/emulated/0/TitaniumBackup (sdcard)
and they are now saved to
Code:
storage/emulated/legacy/TitaniumBackup
The second path is only accessible with a root browser. I think that if you've rooted your phone and you move (or better yet copy some for testing) your backups there, TB will see them again.
At first I thought it was a bug with TB and Android M, but now I start to wonder if it has something to do with ElementalX since I've also flashed that kernel to my device.
Use SELinuxModeChanger (Google it, is not in the play store) to set permisive mode. That worked for me
Sent from my Nexus 5 using Tapatalk
SELinux permissive mode is the solution! Kernel Audiutor has an installable plugin for changing SELinux mode.
Permissive mode is not working for me, for some reason. TitaniumBackup on Android 6.0/ElementalX v6.02/SuperSU v2.52 still saves at ''storage/emulated/legacy/TitaniumBackup'.
I tried both SELinuxModeChanger and the permissive.zip flashable that ElementalX post is supplying.
hermes2xgreat said:
EInstead of being unhelpful and spammy like the posts above, I'll help. Revert to supersu 2.49 and install the appropriate elemental x kernel.
Click to expand...
Click to collapse
6.0 support was added with SuperSU 2.50+. Stop being unhelpful and spammy.
I'm having problem with titanium bkp. I had backup all my apps with data on 5.1.1 and flashed 6.0.1 rom. Now titanium bkp doesn't detect my bkp.
Tried many things like
copy bkp files to internal,
just made an app bkp and copy my bkp files to that folder etc.
still my TB doesn't detect my old bkp
Can you make sure that the filename casing is as TiBkp expects it?
Move away TitaniumBackup and data/com.keramidas.TitaniumBackup, then create a backup and see what TiBkp creates for these two folders.
I've had instances of TiBkp not seeing data/com.keramidas.TitaniumBackup because it was named Data/com.keramidas.TitaniumBackup (note the uppercase D at Data).

Categories

Resources