yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Futurian:
Great concept! Other app backup/restores never seem to be reliable for me, this should be a worthwhile approach! :)

ROM Before : InsertCoin 1.6.1

Rom After : BulletProof MIUI 1.10.7

Attempted Apps:-

*EBay : App Restored OK, Data (Credentials) not Restored

*MyTeeMob : App Restored OK, Data (Credentials) not Restored

*Spark 360 : App Restored OK, Data (Credentials) Restored OK, Permission Fix Required

*Tagged : App Restored OK, Data (Credentials) not Restored

*tinyCam Monitor Pro : App Restored OK, Data (Cameras/Credentials) not Restored.

Market links populated as expected. :D If possible, I think it's important that phone can keep itself awake during the restore procedure.. I am willing to accept that data won't restore for some apps, when they've got a login requirement it's not normally a big deal.

Would it be possible to include apps that I installed from "Unknown Sources"? I noticed that these don't seem to be appearing in the list of apps to choose from.

Thank you for sharing, great to see it in the Market! :D
[Android Apps and Games] Planet X:
It works on my SGS 2 if I switch on USB debugging option in Application / Development. Very nice. Will now buy it :). Thank you.
[Android Apps and Games] hccssn:
+1 I tried to restore a backup, because I reinstalled my ROM and I have this bug too. If I try to restore only DATA without APK files, It seems to restoring, and write, that the restore was successfull, but the data are missing.

If I treid to restore DATA+APK the was everything OK
[Android Apps and Games] awjones:
Thanks for the feedback! I will look into this when I get off from work... Damn day job! ;)
[Android Apps and Games] all-in:
Thats a must have app man nice job keep on.
[Android Apps and Games] MrAce:
Observations

I am getting the following:

If I try to restore SMS/MMS it appears to work but doesn't - 'No messages'

If I try to restore Apps / Data with an old backup (Aug 11) scans , shows apps while scanning, then shows list of apps to choose from. If I choose a recent backup process starts but dialog doesn't show any apps and then goes back to main screen (no list)

Hope this helps

HTC Sensation CdTDroiD S3N5EaY v1.7.0 XE Android 2.3.5

CWM 5.0.2.0
[Android Apps and Games] awjones:
I just published v1.2 to the Market. It contains some bug fixes and allows you to restore your Wifi settings... I plan on tidying things up more so please keep providing me with any issues that you may have with your device.
[Android Apps and Games] awjones:
Did you reboot your phone to see if your messages appear? Also, are there any messages in the backup you are restoring from?

I pushed v1. 2 to the Market... Can you tell me if this fixes anything for you?
[Android Apps and Games] awjones:
Thanks! I'm going to keep working on it... More features / fixes to come.
[Android Apps and Games] rousseauxy:
Restoring sms/mms doesn't work for me either, rebooted after restoring, didn't show up, only thing it did do was clear my inbox from any messages that where in it. I'm running MIUI 1.8.14
[Android Apps and Games] ziggy34:
Can you add an option to tell it where the backups are stored? Using an Acer A500 tablet. Sdcard is the internal memory, external-sd is the micro SD card. The backups are stored on the micro SD card, the app does not see them.
[Android Apps and Games] awjones:
Yep - I'll add that in one of the next few updates.
[Android Apps and Games] awjones:
Version 1.3 should fix this. Please let me know! :)
[Android Apps and Games] MrAce:
Yep just just downloaded 1.3.1 from market seems to have fixed the 2nd issue - now to try and restore an app.......but I still don't seem to be able to restore messages, after reboot no new messages from backup done yesterday :( In the original post I was restoring to a clean device, I am now trying to recover sms whilst there are already messages on the phone.
[Android Apps and Games] awjones:
Getting closer. :)

Just uploaded v1.3.2 to the Market... Can you give that a try?
[Android Apps and Games] erups:
Installed it, it doesn't find my backup directory (which on externalSD).

Is there a workaround for this?

It looks like there is no configuration windows available.
[Android Apps and Games] awjones:
That's next on my list ;)
[Android Apps and Games] flex59:
update works great.

nexus s cm7.1

thanks
[Android Apps and Games] golokipok:
Will these cross compatible between roms?
[Android Apps and Games] MrAce:
Just tried 1.3.2 but this time it wiped the messages that were there.
[Android Apps and Games] dingolino:
Just installed the licensed version

Yes - this is what I would also like to know. I would assume it for user apps at least.

Could AppExtractor also restore himself?

And could you store all AppExtractor settings to the SD card so that after I am flashing a new rom (with a full wipe) I only need to restore 1 program 1st - AppExtractor - and than I can do the rest with the full Version of AppExtractor.

By the way a "standalone" installation file without market access would be great

Best regards,

dingolino
[Android Apps and Games] MrAce:
1.3.2 restored sms after I deleted the existing Content. Clever:-)
[Android Apps and Games] awjones:
Cool! I found that I needed to reboot to see the changes in my testing.
[Android Apps and Games] flensrowi:
I'm getting "Unable to generate APK listing." when trying to restore apps from a backup made with CWM 5.0.2.0

logcat doesn't show anything useful:

E/su ( 2171): sudb - Opening database
E/su ( 2171): sudb - Database opened
E/su ( 2171): sudb - Database closed
D/su ( 2171): 10263 com.handyandy.appextractor executing 0 /system/bin/sh using shell /system/bin/sh : sh
E/su ( 2176): sudb - Opening database
E/su ( 2176): sudb - Database opened
E/su ( 2176): sudb - Database closed
D/su ( 2176): 10263 com.handyandy.appextractor executing 0 /system/bin/sh using shell /system/bin/sh : sh

CM 7.1 on HTC Desire / Bravo

Superuser 3.0.5
[Android Apps and Games] Stilleh:
Trying to restore sms/mms from a prior LeeDrOiD HD 3.3.3 version on my DHD now running MIUI 1.10.14 freshly squeezed.

Not working.

I have tried clearing the sms content in MIUI and then restoring and rebooting. Nothing.

It would be a wonderful app (and I would buy it in a heartbeat) if it worked...
[Android Apps and Games] mustafa.aziz:
+1 SMS restore does not work
[Android Apps and Games] [Jules]:
I have the same. Haven't been able to restore anything so far.
[Android Apps and Games] ziggy34:
Still not seeing any backups on external SD card on Acer Iconia Tab A500
[Android Apps and Games] KB0SDQ:
sms restore does not work for a lot of this I can restore with titainium backup I guess after I get used to it i will like it better
[Android Apps and Games] awjones:
I added an option to allow you to specify the SD card location. Hit the menu button to access the Settings screen. Can you let me know if that fixes the issue?
[Android Apps and Games] dingolino:
Hi,

- is the file from the 1st post upto date?

- I downloaded the file from the 1st post but did not get a *.apk file but a *.cab file

- would it be possible to store the licences information on the SD card (Titanium Backup is doing this) because before flashing a new rom I would like to add this app to the rom zip file data/app that it is avaialble right after flashing the new rom BUT including the licences to have the full capability of the app

Best regards,

dingolino
[Android Apps and Games] negative13:
Tried restoring backups made from EXT4 recovery. I know it's not YET implemented but AppExtractor was able to see the system files but not the user apks. SMS recovery isn't working too.
[Android Apps and Games] awjones:
Sorry about that - I just updated the APK file on the first post. As far as licensing, I'm not storing a key file anywhere so the AppExtractor Key must be installed on the device for the unlock to work.
[Android Apps and Games] awjones:
Can you give version 1.4.1 a try and let me know if it works now?
[Android Apps and Games] [Jules]:
Still only system apps with v1.4.1 on ext4.

I do get to see the Google user apps that got installed on my phone at first boot (which is before I enabled ext4), but none of the apps that are on the ext4 partition are visible.
[Android Apps and Games] negative13:
Still the same. SMS restore still not working too.

Same here.
[Android Apps and Games] dingolino:
Edit: ok - it is a browser issue - with opera I get a *.cab file with chrome I get the *.apk file

I still see a *.cab file and not a *.apk file.

Will try another browser.

dingolino
[Android Apps and Games] awjones:
What is the name of the backup file for your ext4 partition? sd-ext.ext4.tar?
[Android Apps and Games] awjones:
What ROM are you running?
[Android Apps and Games] Falen:
Overwrite or Add data

If I "Restore", will my current data be overwritten or will it just add to my existing data?

Apps/Data?

SMS/MMS?

Contacts?

Wifi Settings?

Thanks.
[Android Apps and Games] [Jules]:
Yes, it is sd-ext.ext4.tar.

# ls -l /sdcard/clockworkmod/backup/2011-10-15.20.46.02
---xrwxr-x 1 system sdcard_r 3145728 Oct 15 20:46 boot.img
---xrwxr-x 1 system sdcard_r 27456 Oct 15 20:51 cache.yaffs2.img
---xrwxr-x 1 system sdcard_r 148893888 Oct 15 20:51 data.yaffs2.img
---xrwxr-x 1 system sdcard_r 352 Oct 15 20:55 nandroid.md5
---xrwxr-x 1 system sdcard_r 4063232 Oct 15 20:46 recovery.img
---xrwxr-x 1 system sdcard_r 353992704 Oct 15 20:54 sd-ext.ext4.tar
---xrwxr-x 1 system sdcard_r 162009408 Oct 15 20:48 system.yaffs2.img
[Android Apps and Games] awjones:
It will overwrite your existing data.
[Android Apps and Games] ziggy34:
OK, thanks, finally had time to try. Got the SD card location set OK, but get "unable to generate apk list"
[Android Apps and Games] Neil Fruit:
I can't seem to get mine to recognize any backup. Am I using to new a version of clockwork? How to I revert to an older version if that is the issue? I have ROM Manager Premium 4.7.0.2

If you could give some more definitive instructions it might help. I am sorry if I am too ignorant to get this (although I don't think that is the case). AE does recognize a few backups on my phone, but none of my current ones (only a couple from back in March).
[Android Apps and Games] [Jules]:
I think I found what's wrong here. I took a look in the apk to see what's going on; here's what basically happens:

# busybox tar -xf /mnt/sdcard/clockworkmod/backup/2011-10-15.20.46.02/sd-ext.ext4.tar -C /mnt/sdcard/appextractor/imgdump data/app
tar: data/app: not found in archive

Which makes sense, because in the tar file there is no data/app but sd-ext/app instead.

Perhaps this is because the backup is made with CWM in recovery mode, and sd-ext is then mounted as /sd-ext, not as /data.

If I change the command in ADB shell to:

# busybox tar -xf /mnt/sdcard/clockworkmod/backup/2011-10-15.20.46.02/sd-ext.ext4.tar -C /mnt/sdcard/appextractor/imgdump sd-ext/app

...then it works just fine and all the apps are extracted.

The app data would still be in the data.yaffs2.img.

Could you please verify and test this, and put it in an update?
[Android Apps and Games] crusader0011:
will check...
[Android Apps and Games] awjones:
You are awesome. ;) I actually put out an update on the Market earlier today. Can you let me know if the update fixes the issue?

Thanks!

Andy
[Android Apps and Games] negative13:
It's working!!! Nice!

Too bad the SMS restore won't work with cross ROMs.
[Android Apps and Games] awjones:
Awesome! Can you tell me if the data is restoring as well? If not, I have a fix.
[Android Apps and Games] negative13:
Tried restoring but data and APK were not restored.
[Android Apps and Games] awjones:
Can you try v1.4.4 and let me know? It's on Market as well as the initial post of this thread.
[Android Apps and Games] negative13:
APK was restored but Data was not. Will try again later, maybe the apps I restored doesn't really have data. :))
[Android Apps and Games] [Jules]:
Have tested the latest update. The application gets restored just fine, but the data does not.

My test case involved the app 'LED Scroller' set up with a random text.

After the restore operation only the directory 'lib' can be found in the application's data directory.

Before the restore the application's data directory contained the directories 'cache', 'databases' and 'shared_prefs' alongside 'libs'.

My random text was stored in an xml file in the directory 'shared_prefs', but it was no longer there after the restore.

In my setup the directory /data/data is symlinked to /mnt/asec/data/data, which can be found in the file data.yaffs2.img, probably as /data/data (not sure about that; haven't been able to open this file on Windows so far).

What's weird is that the application data does appear in /mnt/sdcard/appextractor/imgdump/data/data/.

So extracting all the data from the image file works, but for some reason it doesn't get copied to /data/data/<app>

Appextractor does get su-permission from superuser, however.

Also, the logfiles still only consist of the character '1'.
[Android Apps and Games] awjones:
Okay... So we're getting closer. Basically, the data is extracted to /mnt/sdcard/appextractor/imgdump/data/data/ and after this step, I am running this command:

cp -rf /mnt/sdcard/appextractor/imgdump/data/data /data

This is supposed to dump the data that is extracted into /data/data.

Can you try running the command above and let me know what the output is (or if I need to do something else because /data/data is symlinked?

Thanks for the help!
[Android Apps and Games] [Jules]:
Symlink could be a problem:

# cp -rf /mnt/sdcard/appextractor/imgdump/data/data /data
cp: target '/data/data' is not a directory

It works ok when I replace '/data' with '/mnt/asec/data'. I'm not sure if this path is valid for all roms and devices, though.

I'm not familiar with the parameters to 'cp', but perhaps -d, -L or -H would work. Testing that now.

Not much success:

BusyBox v1.16.2androidfull (2010-08-01 14:57:25 EDT) multi-call binary.

Usage: cp [OPTIONS] SOURCE DEST

Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY

Options:
-a Same as -dpR
-R,-r Recurse
-d,-P Preserve symlinks (default if -R)
-L Follow all symlinks
-H Follow symlinks on command line
-p Preserve file attributes if possible
-f Force overwrite
-i Prompt before overwrite
-l,-s Create (sym)links

# cp -Rf /mnt/sdcard/appextractor/imgdump/data/data /data
cp: target '/data/data' is not a directory
# cp -Rdf /mnt/sdcard/appextractor/imgdump/data/data /data
cp: target '/data/data' is not a directory
# cp -RLf /mnt/sdcard/appextractor/imgdump/data/data /data
cp: target '/data/data' is not a directory
# cp -RHf /mnt/sdcard/appextractor/imgdump/data/data /data
cp: target '/data/data' is not a directory
# cp -RPf /mnt/sdcard/appextractor/imgdump/data/data /data
cp: target '/data/data' is not a directory

Perhaps the version of busybox makes a difference here?
[Android Apps and Games] awjones:
I think I'm going to add a new setting where you can change your "data" location in case you have symlinked your data directory. I'll default it to /data, but then allow you to specify another location such as /mnt/asec/data.

That is probably the most flexible way of handling this (unless somebody can point me in a better direction).
[Android Apps and Games] awjones:
Can you tell me if v1.4.5 makes a difference? You need to go into settings first and specify '/mnt/asec/data' as your App Data location.
[Android Apps and Games] [Jules]:
After specifying /mnt/asec/data as App Data location it all works like a charm!

Now I can really let go of titanium backup. :)

btw, perhaps a method of finding out the mount point for /data/data:

# df /data/data | tail -1 | awk '{ print $6 }'
/mnt/asec/data

This works too:

# df /data/data | tail -1 | awk '{ print $NF }'
/mnt/asec/data

But I'm not sure what result you would get when /data/data isn't a symlink. I think you would just get '/data' as a result.
[Android Apps and Games] awjones:
Awesome! Thanks for letting me know. :)
[Android Apps and Games] awjones:
Thanks! The second method looks like it works on my phone (returns /data). Can you PM me your email address? I can send you the updated version to try so we're sure it still works for you.
[Android Apps and Games] dhero1:
TWRP backup support

Any plans for supporting TWRP backups in addition to CWM?
[Android Apps and Games] awjones:
Have you tried changing your Nandroid Backup Location in the settings and setting it to the path of the TWRP backups? I'm not familiar with TWRP... What are the file names that it creates for its backups?
[Android Apps and Games] dhero1:
I'd already tried substituting the TWRP backup path location but no go. The path looks like /sdcard/TWRP/BACKUPS/HT06XHLnnnnn/mmddyyyyhhmmss/fname.[mtd, yaffs].[win, win.md5]

At least, that's my best guess for the file naming convention being used ... :)
[Android Apps and Games] awjones:
Do you know if the .win files are YAFFS images or are they some other image type? It looks like TWRP might also use some kind of compression?
[Android Apps and Games] dhero1:
I'd like to help but I didn't write the TWRP recovery, I just use it ... :/

TeamWin folks wrote the app - about all I know, sorry. :(
[Android Apps and Games] 10507:
Can you make this to work with sd-ext.reiserfs.tar ?

In restore Apps/Data, when I click on user apps nothing show up. But when I choose all both app, only system apps show up. I think this is caused by my sd-ext.

Thanks
[Android Apps and Games] TheATHEiST:
Gutted :(

I actually mis-assumed what this app was for. I assumed a while back that it was an app that could create a flashable zip file.

Does anybody know of a app that can create a flashable zip file of user apps?

Would be great to be able to backup apps and then flash after flashing rom instead of having to go into OS and then install Titanium backp and then restore that way.
[Android Apps and Games] awjones:
Can you rename your file to sd-ext.ext3.tar and see if this makes it work? If it does, let me know and I'll make the change.

Thanks!
[Android Apps and Games] 10507:
Yes, it does work after renaming sd-ext.reiserfs.tar to sd-ext.ext3.tar. So, does that mean we have to rename the file every time we want to restore app from backup?

Thanks
[Android Apps and Games] awjones:
For now... But I will modify the code and push out an update so you won't have to.
[Android Apps and Games] 10507:
This would be awesome. Thanks for all your hard work.
[Android Apps and Games] awjones:
I just published an update to the Market (v1.4.7). Can you give that a try and let me know?
[Android Apps and Games] 10507:
Yes, the new update v 1.4.7 works fine with my sd-ext format. Now, I will definitely buy the pro version.

Thanks a million,
[Android Apps and Games] awjones:
Thanks for the support! I'm doing what I can to make this work for as many people as possible. I've only got a Droid X to work with, so feedback regarding other devices helps me a ton! :)
[Android Apps and Games] TheATHEiST:
Could you add a feature to create a flashable zip for apps/data? :)

That would be an awesome feature!
[Android Apps and Games] negative13:
Tried restoring from an EXT4 recovery. Both user and system apps were detected but upon restoring user apps, data was not recovered. This was from CM7 to MIUI.

I thought the latest update can detect /data already?
[Android Apps and Games] [Jules]:
When the restore is complete, do you see the application data directories on /mnt/sdcard/appextractor/imgdump/data/data/?

If you have adb installed you can check what the data detection does on your device by typing:

adb shell "df /data/data | tail -1 | awk '{ print $NF }'"

@awjones: Maybe setting the data directory in options should be available, but with a button to perform the detection? People could then always change it manually if it doesn't work for their device.

Same thing if people have problems with sdcard location; a button for 'detecting' the location to give a suggestion.
[Android Apps and Games] negative13:
There's no /data/data in my appextractor directory, just sd-ext/app/

Upon running the command, it says /data.
[Android Apps and Games] [Jules]:
Looks like the detection works fine, but somehow the data itself doesn't get extracted.

Can you find out the name of the backup of the data partition? For me it's data.yaffs2.img
[Android Apps and Games] awjones:
What version are you running? I just published v1.4.8. It fixes an issue with large yaffs image files. Can you let me know if that helps?
[Android Apps and Games] [Jules]:
Oh, not me. It's negative13 who has a problem restoring data. I haven't tested 1.4.8 yet. Will do that now.

edit: Just tested 1.4.8: it extracts and restores the app and the data fine for me.
[Android Apps and Games] negative13:
Same here.

I'm was running 1.4.7. I tried restoring apps and data from CM7 to MIUI. No data was restored.
[Android Apps and Games] awjones:
Does 1.4.8 work for you?
[Android Apps and Games] pguerr411:
What is the reason for appextractor?

DOESN'T TITANIUM BACKUP DO THE SAME THING?

I can backup an app and app+data using Titanium.

What is the benefit of having this "AppExtractor"??

AM I MISSING SOMETHING?

:confused:
[Android Apps and Games] [Jules]:
Titanium backs up the apps and data separately. AppExtractor simply extracts the apps and data from your nandroid backups, so it doesn't require extra space on your sdcard.

It saves the time and effort of creating the separate Titanium backups.
[Android Apps and Games] sherpa25:
Hi, tried running the app but it keeps saying I don't have Busybox, even though I already have it, as I'm using TB Pro and have already installed 1.19.2 in xbin.
[Android Apps and Games] awjones:
Have you tried running the busybox installer again?
[Android Apps and Games] sherpa25:
I tried, but Busybox installation didn't proceed as it confirmed that I already have it (v1.19.2) installed. Then Appextractor persists revalidating that it requires Busybox to be installed. It's like it doesn't see my Busybox installation.
[Android Apps and Games] Paparasee:
@awjones,

Wanted to ask you if its possible to implement an option for us to save a selected list / action.

That is for example, right now If I have 40 apps (system + user), I select "Both", I check (tick) 24 apps, I then click "Restore Data" and press "O" and its done.

Is it possible to remove the four buttons "Restore Apk+Data", "Restore Apk", "Restore Data", "Cancel" and replace it with check boxes ... "Apk", "Data" and two buttons "Ok" & "Cancel". The user ticks either one or both and presses OK.

My request then is after the user selects the apps required "AND" the type (apk/Data) they have an option to save the setting as a "Preset". The next time, the user can run the "Preset" and thereby avoid going through the pain of ticking each app required and choosing app or data or both.

The above will be really helpful for people that have a fixed sett of apps and keep changing / updating their roms. Maybe even the user can be allow to select a preset and append or remove from the list and re-save the preset.

Hope this can happen :)
[Android Apps and Games] mobidzid:
+1

10chars
[Android Apps and Games] awjones:
Thanks for the feedback! I'll take a look at what I might be able to do. I like the idea... I just don't want to make the interface too complex for the average user. Maybe I can offer an "advanced" mode or something of that nature.
[Android Apps and Games] R^7Z:
Or better yet, an option to backup a list and restore that list?
[Android Apps and Games] starkmapper:
I'm running CM7.1 on a SGS I9000

CWM creates two data images:

- data.ext4.tar

- datadata.yaffs2.img

I am able to restore apps, but app-data isn't restored.

Neither are SMS-messages (makes sense as they reside on /data/data as well)
[Android Apps and Games] awjones:
So you have both of those files in the same backup directory? Is the img file named "datadata.yaffs2.img" or did you mean "data.yaffs2.img"?

Let me know and I should be able to fix this.

Thanks!
[Android Apps and Games] srkmagnus:
Great app. I have not used it yet but see how I could have benefited from this a long time ago without having to re-load a backup. Thanks for developing it.