Pre-load apps with rom flash - T-Mobile Samsung Galaxy S II SGH-T989

Hey guys, I was wondering if there is a way to pre-load some applications into the rom so that they load upon 1st flash.
I have had success only with 2-3 apps out of 30+. This is what I have done.
Open the ROM Zip file with winrar and navigate to system\app directory. I have deleted unwanted bloat (swype, TW launcher, camera.apk, TW camera) and added about 30+ apk files that I would like to have preloaded. I flashed the ROM and after the load screen I begin to get error messages, "unfortunately this application has stopped" (or something along those lines.) A few apps did load, Nova launcher, Jelly Bean style Camera, but programs like Gmail, Maps, gallaxy wallpaper, setcpu, and a few games do not laod.
Now I have started from scratch, and removed the preloaded apps I had moved to the system\app directory. I did remove the bloat listed above. The rom loads fine and I have to spend 30 minutes manually installing each individual app. This is why I would like for it to automatically install all the applications upon 1st boot.
I think it may have to do with the fact that while installing the apps manually I must 1st allow installation of non-market apps under setting/security.
Is there a workaround for this, so that I can load all my apps on 1st flash.
Thanks,

I've heard that there's an app called app2zip which you can backup apps and put into a zip file. Then right before leaving recovery flash the zip and when you're booted you'll have all your apps loaded up
Sent from my SGH-T989 using xda app-developers app

Most apps won't run as system apps. Instead of putting them in system/app Should put your apps in /data/app If the rom you're using already has a data folder you should be good. If it doesn't you'll have to edit the update_script within /META-INF/com/google/android
Sent from my SGH-T989 using xda premium

Tnallen said:
Most apps won't run as system apps. Instead of putting them in system/app Should put your apps in /data/app If the rom you're using already has a data folder you should be good. If it doesn't you'll have to edit the update_script within /META-INF/com/google/android
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
Beat me too it. There are a lot of apps that end up in data/app such as gmail, games, and other apps. Think of it this way, most of the apps in the system area were initially intended to be there. The ones in data/app are like add-ons. normally the ones in system are hard coded in the actual boot code, so unless you can manipulate that area, try the data/app area like Tnallen stated

Related

[Q] One click install all apk file?

Hi. Sometimes(most of the time) whenever we wish to switch to try another custom ROM, we have to wipe all data and hence all the downloaded app will gone. As a result of that, before we even flash new ROMs, we have to do a back-up of all the downloaded app, turning them into apk file into our SD card so that its easier to again reinstall those app.
My question is, is there any app that we can use to install ALL the apk files in our SD Card all at once in just a click of one or two taps? Because its tedious for us to actually install those apps one by one. Especially for me that have installed many apps in my Desire HD.
Thank you. =)
Well, your google backup restores all the market apps automatically, so you do not need to worry about those.
You can copy your apk files into /data/app/ in the rom zip file. Then you do not even have to install them, they will be ready to use immediately.
Oh yea.. I did not even thought of that. Lol. Thank you so much.
Sent from my Desire HD using XDA App
One Click Installer [Root]
Hi, ive developed a new app that does exactly what you are looking for.
https://play.google.com/store/apps/details?id=com.sharon.oneclickinstaller
All apps installs in background without user interaction.
Features:
Background installation without user interaction
Install all apks with with a single click.
Change the directory of apk files or load all apk files.
Delete unwanted apk
Hope you find it useful!
Thanks

[Q] How can I remove "My Services" and "Search People"?

They show up in the app drawer, any way to remove them?
Try with Titanium backup you can uninstall system apps with it.
Well, I went through /system/app and deleted a load of APKs (so now just have 1 page of apps in the app drawer, and then another 2 which I want to get rid of)
I can't find the APKs for these though
http://forum.xda-developers.com/showthread.php?t=1050283
Thats a link to a rom cleaning script which lists many apps and the name of the .apk for that app,you may find what you need to know there.Just watch what you are deleting as could cause system problems
LooieENG said:
Well, I went through /system/app and deleted a load of APKs (so now just have 1 page of apps in the app drawer, and then another 2 which I want to get rid of)
I can't find the APKs for these though
Click to expand...
Click to collapse
If the script doesn't work, you can use the package manager commands through terminal (or adb shell) to determine apk location.
Use root un installer pro
http://www.mediafire.com/?tsr2luf19n9vp9a
Sent from my T-Mobile G2 using XDA Premium App

[Q] system/app folder

After reading a bunch of posts I recently discovered that I could open the zip files to a rom and get into the system/app folder and remove and replace the apps completely in this folder. So since I dont use twitter or facebook I removed them from this location and they vanished off my phone.
Are there any ramifications for messing around in here?
Can I preload apk's that I want into this folder before loading the Rom and have them installed upon boot up? Like putting the apk for Google Currents in there and when I load a new Rom Its there.
Thanks
Can anyone answer this question for me please?
joecr250r said:
After reading a bunch of posts I recently discovered that I could open the zip files to a rom and get into the system/app folder and remove and replace the apps completely in this folder. So since I dont use twitter or facebook I removed them from this location and they vanished off my phone.
Are there any ramifications for messing around in here?
Can I preload apk's that I want into this folder before loading the Rom and have them installed upon boot up? Like putting the apk for Google Currents in there and when I load a new Rom Its there.
Thanks
Click to expand...
Click to collapse
i really dont see why not, just know that those then become ''system'' files. may cause issues with updating. i have heard of people who use calks rom (which has go launcher moved to system/apps) have troubles updating go launcher from the market. obviously youd have to edit the system/app folder every time you flashed a rom, even updates, or else it wouldnt match up right. seems like a major PITA to me
yes it does. Thanks for the input!
Sent from my SPH-D710 using XDA App

Just a question...

what's the different between |system\app and \data\app.
Under \system\app there's bunch of apk ****.apk
Under \data\app there's com.***.***.apk
Thanks
System/app are system apps. Data/app are user apps.
The apks on data are like that because that's the name that they were compiled (or something like that).
So do we need both for out to run?
Sent from my LT28at using xda premium
You need system apps so system can work. Data apps are the ones you download and install.
Sent from my LT26i using Tapatalk
System/app contains all the apks that come with the rom. For android these are system apps which cannot be uninstalled without root permission.
Data/app contains the apks of the apps you as a user have installed. These can be uninstalled normally at without any special root app.
Data/data contains the data of both system and user apps. Each folder in it corresponds to an app.
Data/dalvik-cache contains the dalvik cache created by the phone for user and system apps both. For system apps it is created the first time you start the phone after flashing. That is the reason first boot takes time. For user apps I think dalvik cache is created when it is installed.
HIT THANKS IF I HELPED
Sent from my LT26i using xda premium

moving apps from system/app

I have a few apps like facebook google plus and google maps which are by default installed in XperiaS.
I am rooted stock ics. 45 build.
Can I remove or delete the applications from system/app cause any problems?
And I want to install them from playstore if I need them.
So anyone tell me which.directory does the app we install from playstore are installed so that i.can move apps from sys/app in that folder..
Yes you can and yes, you can easily uninstall/move them.
Use root explorer to move the app/apk that you not want to move from System/app to your SD Card Folder.
Just make sure not to delete or move any system apk, that is required to run the OS.
More Specific instructions by Redstarr1 below- so follow it, u shud b fine.
molzz said:
I have a few apps like facebook google plus and google maps which are by default installed in XperiaS.
I am rooted stock ics. 45 build.
Can I remove or delete the applications from system/app cause any problems?
And I want to install them from playstore if I need them.
So anyone tell me which.directory does the app we install from playstore are installed so that i.can move apps from sys/app in that folder..
Click to expand...
Click to collapse
So auni already told you you can remove apps like Facebook, G+ and Gmaps easily from /system/app. If you want the app back as a "normal" app, you can:
- copy those apps to /data/app, I'd go with one of the following options though
- copy those apps to your external storage and install them like you would any other app (so once you copied the app outside of /system, press it and a dialog will open)
- delete those apps and install them from Play Store.

Categories

Resources