How to install apps automatically - G1 Android Development

Hallo
When update my G1 with a new firmware, i have then to reinstall all apps that i backed up before with Astro.
Is there a way to install all backed up apk file automatically?

This can help
Well dude is saw your post yesterday and i was like thats a good idea... so lets bring it to reality. so i decided to google my a** off in an effort to help ever one who wants and "automatic" way to install all of your backup application from "ASTRO" file mangers backup. Ok first off i don't know to much about writing scripts(it seem like a good way to go for "automatic" installations) only that in notepad you put Whatever.sh
well with all that said...(wow just my explanation)
1)Go to terminal
2)su
3)cp /sdcard/backups/apps/*.* /data/app
and were done its not automatic but Ive tested it and it works its better then going and downloading and installing everything
if some could write a script please do.. thank you
One Love

Related

Auto install after Wipe

smeone has probably already thought of this, but incase not i wanted to throw it out there, back on windows mobile we had the ability to set up SDconfig to instal our cab files after we flashed a new rom, saving us time on doing it ourselves. has anyone started to write a script to automatically grab apps from the market if we have to wipe our phone, i have had to wipe my phone 3 times in less than the month thati've had it and it's a bit of a hassle to try and find all the apps from the market again. just wondering if anyone had any idea on how to do this. i'm not that good at the whole coding thing but it would be great if this was implemented somehow.
You could always copy the apk files and do an "adb install x.apk" after a wipe.
The other option right now is to use ASTRO to back up all your apps. Download it in the market, it will copy all of your apps to your SD. Unfortunately you have to reinstall one at a time, but it puts them all in a list. Between this and Mybackup I don't lose anything when I wipe my phone except for data created by individual apps. I am sure I could back this info up too, but it just isn't important to me. Hope this helps.
trmacdonal said:
The other option right now is to use ASTRO to back up all your apps. Download it in the market, it will copy all of your apps to your SD. Unfortunately you have to reinstall one at a time, but it puts them all in a list. Between this and Mybackup I don't lose anything when I wipe my phone except for data created by individual apps. I am sure I could back this info up too, but it just isn't important to me. Hope this helps.
Click to expand...
Click to collapse
So make an update.zip with all your apks and favorite theme rolled-up. This way you can image your phone and then apply the update and you are set...
Or you can simply roll your own build of your image with your applications/themes already applied so you have a "live" image (so to speak).

For MAC users. Multiple-App installing script

So I was tired of having to install my apps one by one after a wipe or x problem. So with a lot of help from an apple scripting forum, I made this droplet app.
To use it you must have at least adb installed. Connect your phone to your mac via usb. Put all the apps you want installed into a folder. I would avoid naming the folder "untitled folder". I don't know why, I just had a problem when I tried it once. So after all of the apps are in the folder, drag the folder onto this application. All you need to do is wait, the applications will install and you are done.
I am keeping this application in my /android/tools/ folder, just so that I don't lose it.
Feel free to edit the script in any way. Enjoy.
http://www.mediafire.com/?sharekey=c3b7d500bfc2706d1f8e0fff488e27e0e04e75f6e8ebb871
yaaaayyy! great work my friend
great job on this!
is this the same as using adb?
adb push *.apk /data/app/
I would like to have a way to fresh install all the apk after wipe
but i think apk installed via adb would not be automatically tracked for new version by market, right?
kiddyfurby said:
is this the same as using adb?
adb push *.apk /data/app/
I would like to have a way to fresh install all the apk after wipe
but i think apk installed via adb would not be automatically tracked for new version by market, right?
Click to expand...
Click to collapse
this is using the adb install command not push. But I don't know the difference between the two. I have such a small understanding of this. I don't believe that the applications are tracked by the market with this, but I would love to know how it could be done.
Does anyone know if there is a way to install them and have them be tracked?
Solid contribution. Really like what you've done. I don't need it, but I'm sure a lot of people without a full linux distro will enjoy it.
Anything for the mac side of things has got to be good. Mucho props for this.
So I still know nothing about installing the apps so they are recognized by the market. However i did remember that aTrackDog does just that. So as long as most of the programs you install fresh on your device are relatively new, then aTrackDog should be able to help.
I do realize that updating an app(uninstall and reinstalling) takes just as long as the initial install. but at least it would be fewer at a time right?
i noticed that if you restart the phone mid way through installation,
the download would resume after reboot.
so I was thinking if I could inject information into the vending app
that way I can hopefully trick market into downloading the latest app for me
and update tracking would work
I messed around with assets.db->assets10 a bit
I did found the package name and status there, tried adding a new record but the market app is not picking it up
my guess: we might need some corresponding data on google mothership for that to work
i do not like aTrackDog, i prefer native market tracking instead
maybe i can try backing up the whole data folder for the market app next time i wipe
where would the market app save the data once you download it? would we be able to replicate that process? like sending the data from each app we install to the market app? because that would be unbelievable!

Help!! Need mobile home backup apk file for download to pc

Installed the app via the android market and did backups with it before updating my X10i.
But after the update of the phone i cant find this app in the android market place.
But if i got a hold of the apk file and download it to my pc i would be able to put it on the memorycard and install with astro, Am i right?
Yes you are right. or use adb without even transferring it to your phone
The exact name of the app and dev of it?
Protip: goto appbrain top search market
It´s called: MobileHome Backup
I cant post a link to it since i´m a new user here..
I can find the app on the page appbrain and in the appbrain app.
But when i try to install the app it says: There´s no matches in the android market for the search: pname:mobilehome.backup
What to do?? Can i get a hold of the apk file in any other way?
Handy backup for android would work to. Did a backup with that program to before the update just to be sure but now i cant find any of the programs in the market. Why did the market change beacuse of the update?
installed from market (http://www.appbrain.com/app/mobilehome.backup)
backed with Titanium
found on sd
send to myself by mail
attached here
Thats Great!!!
Thanks alot.. =)
The only problem is that the program didn´t restore my messages even tough it said it did... =(
that's a shame :/
else glad i could help
Could i ask you for a major favor?
To do the same thing with this app: Handy backup for android
Did a backup with that program also..
Thanks
anything else, sir?
now you've got me started
I can recomend you to get a program like Titanium Backup
doesnt backup sms' (not from handcent)
else it backs up every single app+data
Thanks alot for beeing so helpfull.. =)
A box of Carlsbergs??
I´ll check it out.
yes please, just send it to my adress right away :>
Hebbem3 said:
Thats Great!!!
Thanks alot.. =)
The only problem is that the program didn´t restore my messages even tough it said it did... =(
Click to expand...
Click to collapse
Hi
Look for "sms backup & restore" in the android market to save your messages.
full version?
Hi sijum,
Is that the full version of Handy backup?
Thanks for sharing that.....

Application Installer from HK ROM

Hey everyone!
So I bought my Play from Hong Kong 4 months ago and it's working great here in the Philippines. Now, I'm already on 4.0 UK Generic ROM to take advantage of the preserve-root-via-OTA trick but as everyone will know I lost some of the apps from HK ROM and some apps are added because they are by default packed with the UK ROM. There was this app from the HK ROM called Application Installer which, as the name implies, is a very simple application that when launched finds all APKs saved on your SD Card and from there you can select to install them. I missed that application because of it's simplicity and straight-forward job. I just can't live with going through File Managers only to install a single APK every time.
Now, will anyone be kind enough to upload here the specific Application Installer APK (can't remember the exact name) extracted from the system/app directory of the HK ROM for Xperia PLAY? I'm already on UK Generic and it would be pain in the butt to reflash again the HK ROM, extract a single apk, then flash back to UK Generic.
Thanks in advance everyone!
PS: If it's in the wrong section, somebody move this please?
Didn't read correctly, ignore.
Sent from my LT15i using XDA App
huh?
was it something i did?
anyone? please?
do you have a HK based ROM? tried looking from it and extracting from it?
as i have said on my first post, i was previously on HK ROM, but now on UK Generic, but flashing back just to get a single apk is not an option as i have lots of apps already installed, settings already set, and virtually no time to do backups, flashing and reflashing, and rooting, and OTA all over again... i could have done that already and not asked here if it was possible for me..
anyone? please? please? need it so badly...
I have the app in my phone, instructions needed for me to extract from my phone and you'll getting it soon enough
you only need root friend, and with the help of Root Explorer or any file manager app that can read through system/app directory, you will find the apk file, copy (NOT CUT) it somewhere in the SD then post it here..
wats the name of the apk? GenericApplicationInstaller? PackageInstaller? I came across this 2, i'll just post it and you try it for yourself okay?
but i have both of those on my system..
and those two don't have specific icons..they use the generic Android icon for apk's..
i remember it having its own icon for itself.. sigh..
how bout this? i have another called CustomizedApplicationInstaller.
If i may ask, what is so desperately needed about this app.
As far as i can tell from your story only thing it does is a batch installaton of apk's.
Ad itś not like you are flashing a new rom every day i suppose.
Just use titanium backup, you can make a backup of all your apps with all settngs and data preserved. it saves it to your sd card, and you can run a batch restore wich restores all your apps.
cause is quite convenient as it searches all the apks you have in your sd card and list out for you so that you won't need to look for every single apk if you wanna install them...........
why dont you use something similar from the market?
beats me, ts wants that, i have it but i have no idea where it is
i already made my point.. i don't have to explain again..
ps: my signature really makes sense..
any ways to pull out from titanium backup?
nvm i think i found it, try this
my oh my just how can i thank thee good sir?
heartache healed!

How to create 1 file for all my market apps - Put this on the SD and never redownload

I constantly flash my device and when doing so I lose all my downloaded apps.
I have seen some post where apps are created for others to download ( all the Google apps in a single file).
I want to be able to take all of my on my phone that I have downloaded from the market place and create just a single file so that after each ROM that is flashed I can load this from my SD card and BAM! they are all back- No more going online and re-downloading them.
Can this be done?
Any help would be greatly appreciated.
Yes its called titanium backup download it from the market. It backs up all your apps
And when u flash a new rom just redownload it from the market and it restores all your apps
I have this but I didn't know how to use it.
All I know is I bought this to remove the tethering manager and that was all I knew how to do.
Thanks for the help.
I feel like a moron
Open titaniun click menu then batch then click run next to back up all user apps. And when every u want to restore click menu batch and run next to restore all apps
Thank you....
Because of this- Now I am running a new rom I just flashed because this wonderful one click restore.

Categories

Resources