yashsingh1/xdaforums huggingface dataset:
[myTouch 3G, Magic Android Development] uwireless:
I know there's a lot of topics about this issue,

but I really haven't found a fix for it.

All of a sudden, a couple of days ago, anything I try to download off Market doesn't start, it just says "Download starting..." and hangs like that.

I am using wireless connection and I have used only wifi since I got the phone.

Problem occurred (maybe) as a result of these events:

- I have upgraded to the new radio (6.35) and SPL

- I have installed new radio ROM and used new google account to sign in (account2(at)gmail.com)

- I have downgraded radio and SPL

- I have returned to my old ROM by using nandroid restore (and in that ROM I have been using my first google account - account1(at)gmail.com)

So you can here see that the problem occurred after switching radios and switching gmail accounts.

Does anybody have any clue about how to fix this?

To repeat, I cannot download anything off the Market, download just hangs forever.
[myTouch 3G, Magic Android Development] ashish.matrix@gmail.com:
I had also faced some issues with market downloads.

For me it shows downloading.... for a long time but eventually it gets downloaded.

Wait time is also not fixed. Sometimes it gets downloaded immediately and sometimes it takes hours.
[myTouch 3G, Magic Android Development] e_sela:
Problems with WIFI

It happened to me.

You should turn off WIFI wait for few seconds and enable WIFI again.

For me it worked.
[myTouch 3G, Magic Android Development] ashish.matrix@gmail.com:
Also see :

http://www.google.com/support/forum/p/Android+Market/thread?tid=57b5e3efa7477b50&hl=en
[myTouch 3G, Magic Android Development] uwireless:
Thanks for the answers, but unfortunately, I haven't had any luck with fixing the problem...

And the Google Talk fix isn't working (signing in on google talk fixes problem to some people, and downloads start immediately)
[myTouch 3G, Magic Android Development] visitador02:
A poster in the Amon_RA Donut Rom thread commented that he tweaked with the APN settings and that worked. He did not elaborate. You can check that thread and maybe PM him. I forgot who he was.
[8125, K-JAM, P4300, MDA Vario Software Upgrading] fsubartender:
Hello everyone. I am helping my friend upgrade his Cingular 8125 to the newest offical ROM...and or radio.

I have been searching the forums but it seems that many links are dead.

His phone says OS 5.1.70 (Build 14410.1.3). His phone is still officially locked and wants to keep it like that.

Thanks for reading.
[myTouch 3G, Magic Android Development] pierissimo:
***0.6.5***

-Full compatibility with froyo, now it backup application moved to sd (froyo way)

***0.6.4***

-Fixed some issue with froyo

***0.6.3***

-Fixed wifi broke bug

***0.6.2***

-Fixed apn restore bug

***0.6.1***

-Added possibility to restore the call history

-Both script can be launched from phone terminal without any problem.

***0.6***

-rewritten script , is now more stable

-It does backup of applications installed on sd, both "new" and "old" method.

-If there are applications on sd saved in the backup, it asks the location where to install them.

******

In the market there are good applications for android backup.

I made my own script, craft_backup, that allow to backup both applications(apk) and data, saving them in "craft_backup" folder on sdcard.

The restore script (craft_restore), allow to interactively restore this data.

The restore script is divided into phases:

1)Application reinstall( by Wes Garner) : It automatically reinstall all the application in the backup

2)Restore applications data

3)Restore system data that does not cause incompatibility issue: sms,Apn, bookmarks, wifi, user dictionary, call history.

4)fix permissions (by shade@chemlab.org).

Prerequisites:

1) Root permissions

Script installation

Download last version from this link and flash it from recovery

Script execution

Not from recovery!

To backup:

adb shell
craft_backup #You must execute this command on the new shell

To restore (in case of wipe, we have to the repeat the script install operation)

adb remount
adb shell
craft_restore #You must execute this command on the new shell

Sometimes the restore process may seems to be frozen, simply let it work ;)

After the restore, It's possible to have some force close, no fear. If some applications doesn't work(rare), reinstall it.

Sorry for bad english!
[myTouch 3G, Magic Android Development] pierissimo:
I released a new version, some bugfixes.

The script it's fully functional, no force close,etc
[myTouch 3G, Magic Android Development] bcrook:
Will check it out, I suggest you show something during the backup process so that it indicates how far along in the process it is. Something like,

Backing up apps:
Barcode.apk
Maps.apk
.
.
.
APN data
[myTouch 3G, Magic Android Development] pierissimo:
thanx.

The backup process take about a minute, it's short time.

The restore script take longer, and indicates the operation and the datas being processed!
[myTouch 3G, Magic Android Development] bcrook:
Hmm okay, mine didnt work. It wasnt doing anything. If its quick the status is less important, maybe just:

Backing up apps...
Backing up settings
Done!
[myTouch 3G, Magic Android Development] pierissimo:
do you mean the restore script doesn't work?

do you exec "adb shell craft_backup" ?

it must be executed in new phone shell, otherwise it does not work, like this:

adb shell #first
craft_restore #after
[myTouch 3G, Magic Android Development] bcrook:
Ignore me - it works. I think the adb push went bad. It is working great now.

Thanks!
[myTouch 3G, Magic Android Development] pierissimo:
;)

It takes a bit long, about 30 minutes on 100 application reinstall, just let it works
[myTouch 3G, Magic Android Development] pierissimo:
How was it?
[myTouch 3G, Magic Android Development] Thesniperz:
does it backup everything on the phone?

can you specify which data you want to backup?

can i backup/restore sms?

tnx.
[myTouch 3G, Magic Android Development] pierissimo:
It lets you choose what to backup.

It allow to backup all applications and applications data, sms, Apn, bookmarks, wifi, user dictionary(user dictionary is in testing)
[myTouch 3G, Magic Android Development] pierissimo:
updated, now it will make the backup of application on sd too.
[myTouch 3G, Magic Android Development] Dodopepper:
Pierissimo perchè non fai un'applicazione da caricare sul market? Sarebbe una gran cosa davvero!

Try translate in english :(

Pierissimo you should create an application by that script
[myTouch 3G, Magic Android Development] pierissimo:
When i will have free time to work on java!! ;)
[myTouch 3G, Magic Android Development] fryguy18:
Bump

I had this running and was browsing the web to kill time, forgot about it, and my phone rebooted.

The vibrate on my desk scared the sh*t out of me.

Anyways... awesome work dev.
[myTouch 3G, Magic Android Development] pierissimo:
thanx man, perhaps I'll put the request to reboot, during the night the vibro is a bit tragic ;)
[myTouch 3G, Magic Android Development] fryguy18:
I wouldn't worry about it... I was more just commenting in the section because I don't want it to be forgotten. I was using titanium backup before I found this, and this is a much better alternative
[myTouch 3G, Magic Android Development] pierissimo:
Yes i got it ;)

Thanx tor the feedback man!
[myTouch 3G, Magic Android Development] pierissimo:
any suggestion for the script for next version?
[myTouch 3G, Magic Android Development] MOUSEY:
Hi,

I had tried various backup solutions and even bought MyBackup Pro but there is a certain feature in which I had found to be lack of:-

Refreshing of the device market repository to sync with applications is what am I looking for. When we do an installation (or restore) on a fresh device through adb, mybackup or other apps, the device market repository was not updated, therefore any newer version of these applications would not be prompted off from the market app.

Unless there is a step, option or feature in the Android OS that I had missed. I would really like to see this feature to be implemented on application backup utilities.
[myTouch 3G, Magic Android Development] pierissimo:
This is implemented in this script.

Restored apps will be notified to be upgraded, as they are market "installed" on market....

thanx
[myTouch 3G, Magic Android Development] MOUSEY:
Thanks for the prompt response, I'll give it a go - that feature alone will make me leave any other backup solution; paid or unpaid.
[myTouch 3G, Magic Android Development] MOUSEY:
A good suggestion is to write some windows batch scripts to

1) Install craft_backup

2) To perform backup

3) To restore from backups

as per your given steps in page 1. Next is to put them together with your zip files so that users can just download and run these scripts from within windows environment.
[myTouch 3G, Magic Android Development] pierissimo:
thanx for the suggestions, I'll work on it!
[myTouch 3G, Magic Android Development] pierissimo:
Updated to version 0.5.2, and made a update zip file
[myTouch 3G, Magic Android Development] DMzda:
Will this work on a HTC Hero? And will the restore work between different ROMs?
[myTouch 3G, Magic Android Development] pierissimo:
This script doesn't cause incompatibility problem between roms... it should be work.

Could you post the output of "adb shell mount" command?I ask out for curiosity

Thanx
[myTouch 3G, Magic Android Development] DMzda:
This is what I get:

rootfs on / type rootfs (ro)
tmpfs on /dev type tmpfs (rw,mode=755)
devpts on /dev/pts type devpts (rw,mode=600)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /sqlite_stmt_journals type tmpfs (rw,size=4096k)
/dev/block/mtdblock3 on /system type yaffs2 (ro)
/dev/block/mtdblock5 on /data type yaffs2 (rw,nosuid,nodev)
/dev/block/mtdblock4 on /cache type yaffs2 (rw,nosuid,nodev)
/dev/block/mmcblk0p2 on /sd-ext type ext3 (rw,noatime,nodiratime,errors=continue
,data=ordered)
/dev/block//vold/179:1 on /sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,uid=
1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=is
o8859-1,shortname=mixed,utf8,errors=remount-ro)
[myTouch 3G, Magic Android Development] pierissimo:
thanx ;)

have you already tried?
[myTouch 3G, Magic Android Development] telukgong:
Need help with craft_backup

I flashed the file and run craft_backup found the following message while running craft_backup from adb shell. Please any suggestions, thank you.

adb shell

#craft_backup

English or italian?(e/i)i

i

[: not found

--- Cancello la cache

rm failed for /data/data/com.android.browser/cache/webviewCache, No such file o

directory

rm failed for /data/data/com.android.vending/cache, No such file or directory

--- Backup configurazione Android e dati applicazioni

[: not found

--- Backup configurazione wifi

[: not found

--- Backup applicazioni

[: not found

--- Backup applicazioni protette

[: not found

--- Apn backup

[: not found

--------------------------------------------------------------

Backup completato

--------------------------------------------------------------
[myTouch 3G, Magic Android Development] pierissimo:
do you have busybox in /system/xbin and a rooted rom?
[myTouch 3G, Magic Android Development] telukgong:
I have rooted rom eclair2.1 And busybox from st0kes.
[myTouch 3G, Magic Android Development] pierissimo:
try to log as superuser first:

adb shell
su
craft_backup
[myTouch 3G, Magic Android Development] DMzda:
I tried the backup, and it seemed to work, but I don't think it backed up the Apps on SD. I haven't tried the restore yet, and I probably won't for a while.

Thanks :)
[myTouch 3G, Magic Android Development] pierissimo:
It does backup of /data/app and /data/app-private in case of symbolic link(app2sd) too.... It should works ;)
[myTouch 3G, Magic Android Development] telukgong:
I did log with su and it showed the same message.
[myTouch 3G, Magic Android Development] pierissimo:
What craft_backup version do you have?

try to manually install busybox:

http://de.codeplex.com/wikipage?tit... a rooted device&referringTitle=Documentation
[myTouch 3G, Magic Android Development] DMzda:
I checked the files, but none of my apps on my SD were backed up.

EDIT: I can see all the apps on root explorer (/sd-ext/app). Is there a way I can add this to the backup?
[myTouch 3G, Magic Android Development] psycotic11:
does this work across different roms? i'm having issues backing up from one rom and restoring to another
[myTouch 3G, Magic Android Development] RtOaNn:
I did a craft backup on RA-1.6.2H and restored it on SuperD. So far, have no FCs yet. But still testing.

One issue though, my home screen widgets are all not loaded properly. I need to delete them from my home screen & reload them.
[myTouch 3G, Magic Android Development] pierissimo:
glad to be useful ;)

what method of app2sd do you use? could you post the output of "ls -l /data/app" ?

The script is made to work between differents roms, what issue do you have?

Yes, there is this issue with all home replacements...
[myTouch 3G, Magic Android Development] psycotic11:
The particular issue i'm having is trying to backup a ROM that has apps2sd enabled by default (eclair AME by ahgmsk) to a ROM that doesn't (marsdroid)

all the apps show as "installed" (on the market) but they don't work, nor do they show up anywhere.
[myTouch 3G, Magic Android Development] pierissimo:
Did the installation process ended regularly?

I suggest you to try the restore process once again
[myTouch 3G, Magic Android Development] psycotic11:
I've tried a few times, it doesn't restore apps nor homescreen.

I opted not to restore system settings as that caused a freeze every time.
[myTouch 3G, Magic Android Development] pierissimo:
try to manually install busybox:

http://de.codeplex.com/wikipage?tit... a rooted device&referringTitle=Documentation
[myTouch 3G, Magic Android Development] RtOaNn:
It's ok, small matter. The automatic installation of apps offsets this small hiccup.

Thanks for the script!
[myTouch 3G, Magic Android Development] psycotic11:
Already did that as I thought it was necessary. Maybe the backup procedure went wrong. Its okay, ill keep testing.
[myTouch 3G, Magic Android Development] miata:
Hi there,

I installed and run craft_backup successfully (ROM MyHero 2.5). Verified that all apps and data is in /sdcard/craft_back/*.tar

Upgraded ROM to OpenEclair 1.2.2 DietEclair and then reinstall craft backup via recovery. From there tried to adb shell craft_restore , but android complains its not in path, so did adb shell /system/bin/craft_restore instead. The program started and i selected e for english but it went to italian anyway. It ran when i choose s (s/n) but there are alot of not found error messages but it does seems to go through all the backed up apps and data. Then it says restore completed.

Normal bootup the phone only to find nothing has been restored :(

Does it matters if i have not created/sign in to google on the new ROM ? or did i make a mistake anywhere ???

Thanks.
[myTouch 3G, Magic Android Development] pierissimo:
the script will have to run not from recovery, but from normal boot-up system!! ;)
[myTouch 3G, Magic Android Development] miata:
Thanks for the quick help !! :)

Its restoring properly now, but i just remembered i forgot to adb remount hahaha...

have these errors:

Do you want to restore system setting that are not deeply integrated with OS (bo

okmarks,sms,apn, wifi,etc. )? (y/n)y

y

+%m-%d-%Y %H:%M:%S: not found

+%s: not found

--- Restoring slight system data

etc/apns-conf.xml

tar: cannot remove old file etc/apns-conf.xml: Read-only file system

data/misc/wifi/wpa_supplicant.conf

and the rest of the application is still restoring/installing ... will update the progress again ..

Thanks again..
[myTouch 3G, Magic Android Development] pierissimo:
+%m-%d-%Y %H:%M:%S: not found
+%s: not found

It's a bug about data, will be fixed in the next version ;)

ps. have you gave "adb remount" before the "craft_restore"?
[myTouch 3G, Magic Android Development] miata:
ok, the restoration process completed after like 10 minutes ..

booted up and check , keep getting com.android.phone Force Close, basically every OS related stuff like wifi , sms , calendar all are having force close

apart from that contacts, call logs, gmail accounts, messages all seems not restored ...

Other third party's apps seems to be ok

nvm, i will try with adb remount later and report again :)

Thanks
[myTouch 3G, Magic Android Development] pierissimo:
It restores sms, apn, user dictionary, wifi settings.... contacts are stored online ;). "adb remount" it's important !

I upped a new version that solves all busybox related issue.
[myTouch 3G, Magic Android Development] miata:
yeah, no worries bout the contacts and calendar can sync it back easily :)

i re did the process again this time with adb remount.

Same result ... all third party apps restored properly but sms, apn, dictionary and wifi settings all not available and keep getting Force Close for every system related software that is activated. Most prominently is the com.android.phone because it keep trying to activate radio...

Giving up and going back to MyHero for now.

Anyway, thanks for all the help :)
[myTouch 3G, Magic Android Development] pierissimo:
I don't know why :)

I recently switched from a superd to openeclair without any issue....
[myTouch 3G, Magic Android Development] miata:
not sure whether is it because MyHero(CupCake) and OpenEclair ??

cuz if not mistaken, superD (Donut) is already using many Eclair stuffs ...
[myTouch 3G, Magic Android Development] pierissimo:
Yes but, the script does not make any differences between android versions...

all operation are fully compatible.

Did the backup process went well?
[myTouch 3G, Magic Android Development] miata:
yeah, the backup went well ... completed successfully without problem.

Maybe I'll do another 1 backup and try it again :)
[myTouch 3G, Magic Android Development] pierissimo:
ok try with new version!
[myTouch 3G, Magic Android Development] miata:
ok downloaded 5.3 and flash it via recovery RA1.62

It says:

Install from sdcard ...

Finding update package ...

Opening update package ...

Verifying update package ...

Installing update ...

E:Can't chown/mod /system/app/ (no such file or directory)

E:Failure at line 4: set_perm_recursive 0 0 0755 0644 SYSTEM:app/

Installation aborted

:(
[myTouch 3G, Magic Android Development] pierissimo:
ook one moment :)
[myTouch 3G, Magic Android Development] psycotic11:
i just downloaded the latest version and cant even get to the restore process

backup went well

restore -> hit E for english, starts in spanish, i don't want to risk restoring when everytime i hit (s) for si i assume, it says NOT FOUND [
[myTouch 3G, Magic Android Development] pierissimo:
:eek: i tried with same recovery and it works!! **** you are getting so many issues :D
[myTouch 3G, Magic Android Development] miata:
hahaha .. well , so do you think its the ROM ??? or is there any pre-requisite ??? does it matters how many partition the SD card have ??
[myTouch 3G, Magic Android Development] pierissimo:
how do you launch the script?
[myTouch 3G, Magic Android Development] pierissimo:
pre-requisite is have root on rom... nothing else!
[myTouch 3G, Magic Android Development] psycotic11:
adb remount

adb shell

# craft_restore

EDIT

this is while the phone is on, in home screen. is that correct to do?
[myTouch 3G, Magic Android Development] pierissimo:
yes it's correct..

post the error messages
[myTouch 3G, Magic Android Development] psycotic11:
"English or italian? (e/i)e

e

[:not found

Questa procedura riprisistinera' il backup, continuare? (s/n)"
[myTouch 3G, Magic Android Development] miata:
yes , i do have root

btw,when i tried to ls -l my /system and i see that my app is actually a link "app -> /data/app_s"

but when i tried to look at /data there are no app_s directory , does that give a problem ?
[myTouch 3G, Magic Android Development] pierissimo:
try with this script, extract it in /sdcard/ and then

adb remount
adb shell
sh /sdcard/craft_restore
[myTouch 3G, Magic Android Development] pierissimo:
post the output of ls -l /system/bin
[myTouch 3G, Magic Android Development] psycotic11:
still doing it :(
[myTouch 3G, Magic Android Development] pierissimo:
what rom do you have?
[myTouch 3G, Magic Android Development] pierissimo:
well...seems ok....

Perhaps cupcake store slight system settings in a different way, try to not restore them during restore process
[myTouch 3G, Magic Android Development] psycotic11:
backup from

MARSDROID

attempt restore to

SUPER HERO (the new 2.1 rom)
[myTouch 3G, Magic Android Development] pierissimo:
check if you have this files:

/system/bin/busybox

/system/bin/sh

if you already have them, I don't know anymore...
[myTouch 3G, Magic Android Development] miata:
ok, can give that a try...

but that means i can only restore apps + data right ??

guess that is better than nothing :)

Thanks for help bro !! Certainly a good app !!
[myTouch 3G, Magic Android Development] pierissimo:
right.... it's a pity that does not work fully! patience! ;)
[myTouch 3G, Magic Android Development] psycotic11:
i do have them :)

it's ok, i will go back to marsdroid anyway because this new rom doesn't have a few features that i need.

will try backup to there and report
[myTouch 3G, Magic Android Development] pierissimo:
thanx man ;)
[myTouch 3G, Magic Android Development] psycotic11:
works great

few things

taskiller force closed, reinstall fixed it (i don't think it saved my ignore list, btw)

doesn't save alarms!
[myTouch 3G, Magic Android Development] pierissimo:
alarms should be restored in slight system data!!
[myTouch 3G, Magic Android Development] psycotic11:
it restored everything else except alarms, no idea why :p

GREAT work by the way, this is much better than any other backup solution i have tried
[myTouch 3G, Magic Android Development] pierissimo:
I keep it up, it could be useful

ps. Comments about the script? suggestions?
[myTouch 3G, Magic Android Development] amjad_2020:
i try to restore and then it say :

# craft_restore

craft_restore

English or italian?(e/i)e

e

[: not found

Questa procedura ripristinera' il backup, continuare? (s/n)

s

[: not found

--------------------------------------------------------------

Il backup, non ripristiner├á i dati di sistema che potrebbero causare problemi d

i compatibilit├á tra diverse ROM. L'operazione sar├á un p├▓ lunga, dipende anche

dal numero di applicazioni da ripristinare

--------------------------------------------------------------

Vuoi reinstallare le applicazioni? (s/n)

s

[: not found

Vuoi ripristinare comunque i dati delle applicazioni? NON CONSIGLIATO(s/n)
[myTouch 3G, Magic Android Development] pierissimo:
what version of craft_* do you have?

do craft_backup went well? In whitch rom have you done the backup?

Give me more information
[myTouch 3G, Magic Android Development] amjad_2020:
i have craft_backup_v0.5.3-signed.zip the backup was okay i have backup from

OpenEclair 1.2.2 old radio and now i have SUPER-HERO

----------------------------

OpenEclair

http://xdaforums.com/showthread.php?t=641499

SUPER-HERO

http://xdaforums.com/showthread.php?t=642393
[myTouch 3G, Magic Android Development] pierissimo:
ok, you are the second user with same issue with Super-Hero.

I'll give a look.
[myTouch 3G, Magic Android Development] pierissimo:
ok, the problems seems to be the "read" command on SuperHero.

Tomorrow I'll release a version with parameters support.

;)