[Q] extract downloaded apk from market - Android Software/Hacking General [Developers Only]

Is it possible to save an app that i downloaded from the market to use at a later date?
Basically I downloaded and use MyBackup Root as my backing up app for my phone which is free from the market and i would like to have that apk on my phone so i can install after i flash a new rom rather than going into the market to have to do it all the time.

Create an update zip that you can flash from recovery, there should be "how-to's"
hanging around.
If not post up your apk and me or someone else will create one for you.
Hope this helps

I always use Titanium Backup to restore apps when I flash new roms. Works flawlessly.

If you have root you can copy the .apk to external memory. If your new rom comes with any kind of file explorer, you just open it and it will install.
-----
N1; CM7.0.nightlies

Related

Install Script

Does anyone know can point me to the right direction on creating an install script that can be flash from recovery to install apps? I've tried searching but can't find a solution. Someone suggested from previous threads about using adb to do it but I want to be able to just flash an update and have all the apps install on the phone, thanks in advance.
You can save all apks on your computer and make a .bat file to push. Discussed in this thread for the opposite purpose of rm. http://forum.xda-developers.com/showthread.php?t=663014
Another alternative is to just use Titanium backup, the paid version in Market even saves your market apps link to market.
danknee said:
You can save all apks on your computer and make a .bat file to push. Discussed in this thread for the opposite purpose of rm.
Another alternative is to just use Titanium backup, the paid version in Market even saves your market apps link to market.
Click to expand...
Click to collapse
I can do a batch file for it but there are times when I flash a ROM while away from my computer which I can't use batch file for.
As for the thread you mentioned I did read through all the posts on there and that is how I got my update.zip to remove all the stock apps before the first load after flashing a new ROM. But I also want to add apps that I've already downloaded and apps that I download that is not on the market on the phone.
I found a thread that I can just put the apks in either
Code:
/data/app
or
Code:
/system/sd/app
that it will automatically show up but it only show up for some not all the apps that I have.
Anyone??? What about the developers?
coderli said:
Does anyone know can point me to the right direction on creating an install script that can be flash from recovery to install apps? I've tried searching but can't find a solution. Someone suggested from previous threads about using adb to do it but I want to be able to just flash an update and have all the apps install on the phone, thanks in advance.
Click to expand...
Click to collapse
Download A2SD v2.5: http://www.darktremor.com/files/misc/a2sd-2.5-signed.zip
Then break it out (unzip it).
You should see an install.sh in the root of the zip. Grab that.
Also grab the /META-INF/com/google/android/update-script. That will show you how the install.sh is launched.
That should give you a starting point.

[Q] apk installer zip file to bootstrap app re-installs

Hi all.
I play with quite a few different roms, and currently add a little program apkinstaller to the rom before I load it.
I use the apkinstaller to first re-install TB off the SD card, and then I use TB to re-install everything else, then I go setup my accounts for market and syncing (don't need the cloud servers to do the re-installs wasting bandwidth).
It would be even better if I could put this apkinstaller and TB into a zip file which I could install after loading the rom.
If I can get it to load from a zip file, then I wouldn't even need the apk installer; I would just install TB from the zip file, reboot, and reload from there.
Where can I find information about what I need to do in a zip file to install an apk?
Thanks all.
Yeah I have the same question. Any one have any suggestions?
no-one able to assist
Seems there isn't much interest in replying - I assume this rather than no-one actually knowing.
I need my post count up anyway so I might as well reply with what I have seen. There was a thread somewhere else that I saw someone had a fresh_install.zip script to delete a set of files, and add launcher pro. I guess I need to pull that apart and see what I can work out from it. I only want to do the single file add, so it hopefully will be simple.
easier solution already available
Adding to my own thread again in case anyone else is interested.
I have been looking at the file, and have information about what would need to be done, but now find an easier alternative. It seems that many (most?) of the file managers have an apk installer built in. The roms typically come with a file manager, so I can just use that to start off my re-install process- nothing else required.
Will probably still play with the .zip file though just to understand what it needs.

[Q] Issues with downloading things on SD and seeing them in recovery

I'm running into this issue and don't know what I'm doing wrong. When I download things they automatically go into my sdcard/download folder. I downloaded a theme for the Xoom and I verified it was on my SD card by going into Root Explorer and looking for it.
When I reboot into recovery and go to install the .zip the file doesn't who up at all. Also if my card is corrupted is there a way to wipe from the Xoom itself?
It needs to go in the external folder within your sdcard.
So I have to make a folder called external and move the things? Is there a way to have the browser through downloads to a particular folder instead of me having to do it manually? I prefer to browse XDA from the browser and I like to download things from XDA. I will try that now and see if that works. Thanks I'll post back if it works out for me.
Sent from my PC36100 using XDA App
It won't work
You can't just make a file called external. I assumed that you had installed one of BRD's custom kernel's. This is the only way you can use the external SDcard. I assumed since you had cwm recovery working that you had done this.
Start with this post.
http://forum.xda-developers.com/showthread.php?t=978013
You need to be updated to 3.1 to use the latest kernel.
I also don't know of away to (easily) change the download location with the stock browser. An aftermarket browser may let you change the download location.
Awesome. It worked when I moved it into the extracted folder. I was able to flash the theme.
I was wondering if there was a way to change download path by editing something in root explorer.. Most if not all the things I download are from XDA and are flashable.
ok, guess you got it working

Can't install titanium backup

Here is what it says had to remove it as it was fcin
Sent from my HTC Sensation using xda premium
have the same problem with you..
ppl here suggest use root explorer, go tos system/data/app/ and search for a file with titanium backup odex extension and delete it.,
me myself, try to do those thing above but find no titanium backup extension..
Next time use titanium backup to create an "update.zip" to flash right after you flash whatever rom you want. The update.zip is just the program to install onto your device so you don't have to hunt for the apk in the market.
I'll attach mine to see if it'll help.

[Q] Adding Titanium Backup to custom rom

I'm running a custom rom (CM7.2-RC3-APOCALYPSE-BAREBONE v12-06-12, by itasoulas, based on CM7.2 RC3 by vo-1 v31-05-12) on my Galaxy Ace (GT-S5830D). I'm about to flash a newer version of the custom rom, but I wanted to add Titanium Backup and S2E to the rom, so that my ext partition is mounted automatically after flashing, and Titanium Backup is already on and ready to restore.
I have the apk files for S2E & Titanium, do I just add them to the system/app folder in the rom zip? Or do I put them in the data/app folder, in which case I'd have to create said folder in the rom zip? Please let me know, as it would let me eliminate a whole 2/3 steps in the flash/restore process (flash->install S2E->reboot to mount ext->install Titanium->restore becomes flash->restore).
Any help would be greatly appreciated. I'd post this in the CM7.2-RC3-APOCALYPSE thread, but this is my first post and I'm not allowed to post there yet.
As you can see, I didn't get any response from my post, so I rolled the dice and went for it.
So here's how it works for those who don't know:
To add system apps to a rom, place the apk files in the system/app folder in the zip. If you want the apps installed as user apps, place them in the data/app folder in the zip. Worked like a charm. I flashed, booted, configured S2E (installed w/rom), rebooted, ran Titanium Backup and restored everything.
BTW, I was also able to add the APN info for my carrier into the rom. You can do that by editing the apns-conf file in the system/etc folder in the zip. This is handy because when I flash a custom rom I have no APNs set up, as well as no wireless networks saved, so by doing this I was able to run the initial setup when you first reboot the phone (instead of just skipping it, missing Gapps, and adding my account later).
Hope this helped for anyone who is interested.
Neat. Though I'd likely keep titanium as a user app, I'm definitely going to try this.
Sent from my U8150 using XDA
There is an app to move apps from users space to system space available on the google play. It is called app-mover. It is simple tool. If you are already using link2sd then there is a menu option for moving the apps.

Categories

Resources