how to add apps to /system/etc/customization - Android Q&A, Help & Troubleshooting

My question is: how to add apps to /system/etc/customization/applications ?
i just copy task killer to this folder and it didn't show in rom as installed...

you have to add it to /system/app

i want to add them to customizations because user will be able to uninstall them if he won't need them..

Dublerek said:
i want to add them to customizations because user will be able to uninstall them if he won't need them..
Click to expand...
Click to collapse
but app in etc folder will never work

then you have to add them to /data/app
there he'll be able to remove them

Can I safely delete apps in /system/etc/customization/applications?

amishxda said:
Can I safely delete apps in /system/etc/customization/applications?
Click to expand...
Click to collapse
2 other ways
in zip root data/app (zip needs access to data partition)
or system/ect/product/applications (my favorite)

xdarkmario said:
2 other ways
in zip root data/app (zip needs access to data partition)
or system/ect/product/applications (my favorite)
Click to expand...
Click to collapse
So do I just copy my APK file to the /system/ect/product/applications folder and it will install on boot?

Hi everyone, I reopen this thread because I need this information. I can't find anything useful that explain where the apks can be put for an installation with the new rom. Why /applications is your favourite folder? there is a reason behind your choice?

Related

[Q] LGs' Widgets and LG Keyboard on custom ROM

Hello to all...!!!
Today I flashed my first custom ROM (void) on my LG P500 and as a noob I have some questions...
1) Where can I find some LG programms (memo and calendar) and the other LG widgets? I mostly interested in widgets "Weather","Calendar","Analog Clock" and "News and weather"
2) Is it possible to have the LG Keyboard on SMS app on this custom ROM which has only the Gingerbread keyboard?
3) When I had the stock ROM I had made a backup with "Titanium Backup" all my apps and I have it saved in my PC.Can restore in custom ROM only the apps which I want?
Thanks in advance....
For 1 and 2 download this: http://sinap.se/oo/void-sapps.zip and apply in recovery.
For 3 the answer is yes, you can restore which app you want.
Thanks you...!
One more question,I don't want to flash back every deleted system app but some of them.How can I do this?
Of course I don't want appadvisor,Car Home and some other crupps...
extract just the app that you want an put the in them data/app folder you need root file manager or from adb
ΟΚ,I'll try it and I will be back....
Thank you!
With the "File Manager" of void ROM,I can't copy-paste the apps into system/app .
What can I do for this?
evripidis said:
With the "File Manager" of void ROM,I can't copy-paste the apps into system/app .
What can I do for this?
Click to expand...
Click to collapse
Yes, you can.
Anyway, if you extract the files from void-sapps.zip you will see 2 folders. One of the is "system", inside of it, another called "app" there are the ".apk's" that you need corresponding to widgets and programs.
The "News and weather" widget is called "GenieWidget".
You can extract the ones you like to the root of your SD and then, from the File Manager in the phone, install them one by one.
before i've said that you had to have root file manager to copy and paste in system/app
or as Noejn says : http://forum.xda-developers.com/showthread.php?t=887281
No, you have to re-sign it. Use a program like this one.
Tutorial: How to flash only some sapps
1. Grab the sapps/gapps package
2. Extract it
3. Go to the extracted folder "/system/app/" and delete the applications you don't want to flash
4. Use the above program (zipsigner) to create a CROM.zip, put the extracted files there so you have 2 folders on the root of the zip: META-INF and SYSTEM. Then sign it and it should create a CROM-s.zip.
5. Rename the CROM-s.zip to MySapps.zip, put it in sdcard and flash.
irondevil said:
before i've said that you had to have root file manager to copy and paste in system/app
or as Noejn says : http://forum.xda-developers.com/showthread.php?t=887281
No, you have to re-sign it. Use a program like this one.
Tutorial: How to flash only some sapps
1. Grab the sapps/gapps package
2. Extract it
3. Go to the extracted folder "/system/app/" and delete the applications you don't want to flash
4. Use the above program (zipsigner) to create a CROM.zip, put the extracted files there so you have 2 folders on the root of the zip: META-INF and SYSTEM. Then sign it and it should create a CROM-s.zip.
5. Rename the CROM-s.zip to MySapps.zip, put it in sdcard and flash.
Click to expand...
Click to collapse
Right, that make sense (to me) if I want to install most of them and leave out just one or two. What about if I only want just -one- widget from the void-sapps.zip?
Isn't better to uncompress void-sapps.zip and take that one out and put it on the SD card, then install it from there?
yes is right what you say but sometimes (for some lg's app) this method don't work
irondevil said:
yes is right what do you say but sometimes (for some lg's app) this method don't work
Click to expand...
Click to collapse
Thanks, that is great to know.
Would be fantastic to know which ones are those app that are not possible to install directly.
i remember livewallpaperspicker livewallpaper other at the moment i forget
irondevil said:
i remember livewallpaperspicker livewallpaper other at the moment i forget
Click to expand...
Click to collapse
Right, and according to this:
http://forum.xda-developers.com/showpost.php?p=10113607&postcount=35
(second part of Noejn questons/answer)
Also is not possible to install directly the Browser and Calendar.
I almost have found what I wanted from sapps zip,but I search for the stock internet browser.Which one of these is that?
I appreciate a lot your help!

add apks to root

hey quick question and i am sorry i am sure this has been asked before but how can i go about adding aps to the update zip for a 16gb tablet so that after i root it the apps are in like with the market app.
thanks,
yonu
Should be able to open the zip (not extract, just open) and add the apk file to /system/app
It should work most of the time, but some apks might not work.
yonu said:
hey quick question and i am sorry i am sure this has been asked before but how can i go about adding aps to the update zip for a 16gb tablet so that after i root it the apps are in like with the market app.
thanks,
yonu
Click to expand...
Click to collapse
just keep in mind that if you put your apks into the system/app the apps you install will be installed into the system/app folder. therefore, all those apks you put in will be considered as system apps and may be difficult to update or reinstall.

Multiple app install: will this work?

Hi
I'm looking for an easy way to batch install all of my already backed up applications on external SD (in *.apk format) after new rom flashing. My phone is rooted (running RR 2.7). what if using a root explorer I just copy all the apk files to data\app and copy some of them to system\app and then reboot the phone? Will all of these application be automatically installed, while apk's copied to data\app will be installed as user apps, and those copied to system\app will install as system apps? Will this work? Is there a problem in this method? If so I may create a CWM based installer that will do this automatically...
I'm talking about 400 apps, about 600MB in total size//
Thanks
How are they backed up? What did you use to do it? I use Titanium Backup. The paid version allows batch operations.
Sent from my SPH-D710 using xda premium
boborone said:
How are they backed up? What did you use to do it? I use Titanium Backup. The paid version allows batch operations.
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
I used an app called File expert. It can simply find the apk file used in the installation and back it up. I can reinstall the app with the backed up apk. I also tried copying a new apk file to data/app and after restarting the app did install correctly. So I want to use this method to restore all of my apps automatically by creating a CWM zip installation. I need to know if this method is safe and will not cause problems...
Thanks
EB10000 said:
I used an app called File expert. It can simply find the apk file used in the installation and back it up. I can reinstall the app with the backed up apk. I also tried copying a new apk file to data/app and after restarting the app did install correctly. So I want to use this method to restore all of my apps automatically by creating a CWM zip installation. I need to know if this method is safe and will not cause problems...
Thanks
Click to expand...
Click to collapse
No need to do any of that crap and mess around. Just use Titanium Backup Pro (paid version) and you can backup all your apps plus the app data so they keep all their settings etc. Then when you install a new rom you can batch install them all back in couple of clicks.
EB10000 said:
I used an app called File expert. It can simply find the apk file used in the installation and back it up. I can reinstall the app with the backed up apk. I also tried copying a new apk file to data/app and after restarting the app did install correctly. So I want to use this method to restore all of my apps automatically by creating a CWM zip installation. I need to know if this method is safe and will not cause problems...
Thanks
Click to expand...
Click to collapse
Don't know that app. You can define the backup folder in TiBu to reinstall your apps that way. Or iirc Rom Toolbox will take a batch of apps and create a cwm zip file to batch install.
Sent from my SPH-D710 using xda premium
EB10000 said:
I used an app called File expert. It can simply find the apk file used in the installation and back it up. I can reinstall the app with the backed up apk. I also tried copying a new apk file to data/app and after restarting the app did install correctly. So I want to use this method to restore all of my apps automatically by creating a CWM zip installation. I need to know if this method is safe and will not cause problems...
Thanks
Click to expand...
Click to collapse
Using CWM zip installation is actually the best method. It is safe and faster too.
Thanks. I'm familiar with TB and MB. I do not need to restore the app's data. I'm just looking for a way to install all my market apps without actually using the market. I noticed that when you reboot the phone, any new apk file in either system/app or data/app gets installed automatically. So I thought maybe I take a CWM setup file (zip with simple copy to system + data updater-script)' and add all of my backed apk's into the data/app directory then I can install this zip file right after I flash a new rom file. For some reason, CM9 recommends that you do not use TB. I also noticed that dev's use this method to add additional apps to their rom.. I just need to know that this method is ok to use and not cause problems like acquire extra space by creating duplicates of each app (I notice using this method that sometime the original apk I copied was reset to a 0Kb file, and a new apk that starts with the name "com.something.something.apk" is created instead. Is this normal?)
Thanks
boborone said:
Don't know that app. You can define the backup folder in TiBu to reinstall your apps that way. Or iirc Rom Toolbox will take a batch of apps and create a cwm zip file to batch install.
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Do you mean this app:
https://play.google.com/store/apps/details?id=com.jrummy.liberty.toolbox
???
I already have it (paid version). I couldn't find a way to creat CWM zip file... Am I missing something?
Thx
EB10000 said:
Do you mean this app:
https://play.google.com/store/apps/details?id=com.jrummy.liberty.toolbox
???
I already have it (paid version). I couldn't find a way to creat CWM zip file... Am I missing something?
Thx
Click to expand...
Click to collapse
I'll help you create a CWM zip template. I'll upload it in about 3 hrs time as soon as i get to my pc
This is a CWM.zip I created for you.
How to:
1. Open the zip file using 7zip, winrar or similar apps (don't extract it)
2. Copy your users apps to data/app, and copy system apps to system/app
3. Close the zip file.
4. Flash the zip file via CWM recovery.
enjoy.
EB10000 said:
Thanks. I'm familiar with TB and MB. I do not need to restore the app's data. I'm just looking for a way to install all my market apps without actually using the market. I noticed that when you reboot the phone, any new apk file in either system/app or data/app gets installed automatically. So I thought maybe I take a CWM setup file (zip with simple copy to system + data updater-script)' and add all of my backed apk's into the data/app directory then I can install this zip file right after I flash a new rom file. For some reason, CM9 recommends that you do not use TB. I also noticed that dev's use this method to add additional apps to their rom.. I just need to know that this method is ok to use and not cause problems like acquire extra space by creating duplicates of each app (I notice using this method that sometime the original apk I copied was reset to a 0Kb file, and a new apk that starts with the name "com.something.something.apk" is created instead. Is this normal?)
Thanks
Click to expand...
Click to collapse
Don't install all your apps to system. Why would you want to da that?
EB10000 said:
Do you mean this app:
https://play.google.com/store/apps/details?id=com.jrummy.liberty.toolbox
???
I already have it (paid version). I couldn't find a way to creat CWM zip file... Am I missing something?
Thx
Click to expand...
Click to collapse
I thought that might be the one, guess not. I'll ask in another thread.
But this guy was kind enough to make one for you. Ought to slap him a thanks.
Sent from my SPH-D710 using xda premium
---------- Post added at 11:45 AM ---------- Previous post was at 11:42 AM ----------
Jokesy said:
This is a CWM.zip I created for you.
How to:
1. Open the zip file using 7zip, winrar or similar apps (don't extract it)
2. Copy your users apps to data/app, and copy system apps to system/app
3. Close the zip file.
4. Flash the zip file via CWM recovery.
enjoy.
Click to expand...
Click to collapse
Thanks man. Hell I'll even take a bite of that.
Sent from my SPH-D710 using xda premium
Jokesy said:
This is a CWM.zip I created for you.
How to:
1. Open the zip file using 7zip, winrar or similar apps (don't extract it)
2. Copy your users apps to data/app, and copy system apps to system/app
3. Close the zip file.
4. Flash the zip file via CWM recovery.
enjoy.
Click to expand...
Click to collapse
Thanks Mate!
tested it with a few apps and it worked great. Is there a file size limitation to cwm.zip? If I add all my apps the zip files grows to about 350MB
Thx
EB10000 said:
Thanks Mate!
tested it with a few apps and it worked great. Is there a file size limitation to cwm.zip? If I add all my apps the zip files grows to about 350MB
Thx
Click to expand...
Click to collapse
Nah. Just take longer.
Sent from my SPH-D710 using xda premium

where to place apps in custom rom

Hello Guys,
I am trying to make/edit my first custom rom (forgive my noob mistakes). As base i am using the Oxygen rom. This rom has all his apps stored in system/app. I inserted an launcher(hololauncher), keyboard(custom htcime) and gallery(quickpick) apk in this folder, but after the rom is flashed these apps are causing fc's and the gallery app isnt even flashed.
I know that not every apk can be placed in the system/app folder, but how can i ensure that these apps will install correctly during flashing.
Depends on apps.
The most common mistake is forgetting to set the permissions to rw-r-r.
Also some apps need their lib files (usually end in .so) in a specific location, like quickpic that can't be turned into a system app just by putting it in system/app address.
Edit: you can ensure these apps are installed correctly by testing.
1 install them normally and convert them to system apps.
2 write down where each of their parts end up (some will always need stuff in data/app or something similar.
4 use a root explorer or adb to copy those files to your pc.
5 modify the flashable zip. Add the files you just copied and modify the updater-script to make sure those files get flashed to the correct location (you might need to include mount data commands if any of the files flash to data/)
6 test!
Some apps might require actual edition by decompiling them, but the above should work for most.
dxppxd said:
Depends on apps.
The most common mistake is forgetting to set the permissions to rw-r-r.
Also some apps need their lib files (usually end in .so) in a specific location, like quickpic that can't be turned into a system app just by putting it in system/app address.
Edit: you can ensure these apps are installed correctly by testing.
1 install them normally and convert them to system apps.
2 write down where each of their parts end up (some will always need stuff in data/app or something similar.
4 use a root explorer or adb to copy those files to your pc.
5 modify the flashable zip. Add the files you just copied and modify the updater-script to make sure those files get flashed to the correct location (you might need to include mount data commands if any of the files flash to data/)
6 test!
Some apps might require actual edition by decompiling them, but the above should work for most.
Click to expand...
Click to collapse
How can I convert it to a system app when it already is installed normally ?
I also saw the option to make a data/app folder, isn't that easier ?
(Take in consideration that I don't use kitchen or adb tools, just winrar and notepadcc )
Sent from my HTC Desire using xda app-developers app
Not talking about adb and kitchen.
there are many app managing apps out there (titanium backup, link2sd) that can convert apps to system apps.
The updater script is in META-INF of the flashable zip (can be edited with notepad).
You only need a rooted device to see where the apps keep their data and copy those files.
dxppxd said:
Not talking about adb and kitchen.
there are many app managing apps out there (titanium backup, link2sd) that can convert apps to system apps.
The updater script is in META-INF of the flashable zip (can be edited with notepad).
You only need a rooted device to see where the apps keep their data and copy those files.
Click to expand...
Click to collapse
Ok that is clear, thanks. What do you think about data/app. Will this work ?
Sent from my HTC Desire using xda app-developers app
winesh said:
Ok that is clear, thanks. What do you think about data/app. Will this work ?
Sent from my HTC Desire using xda app-developers app
Click to expand...
Click to collapse
Yeah, flashing to data app is an option, but if a data wipe or factory reset is applied after flashing the rom (to correct a bootloop for example), those apps are gone.

[Q] Install Apps/APK in CM 9/10 ROM

I have htc explorer and i installed cm9 in it. I want to add facebook in rom. Tell me how can i add apps which are built in with rom.
burhanahmed92 said:
I have htc explorer and i installed cm9 in it. I want to add facebook in rom. Tell me how can i add apps which are built in with rom.
Click to expand...
Click to collapse
paste the the facebook.apk in system/app/here and change the permission to rw-r-r
Make sure you are ROOTED.
For convenience I recommend install an app named ROOT EXPLORER.
*After installing, Download the Latest Facebook.apk extension file.
*Go to ROOT directory > then SYSTEM > then APP
*Paste your Facebook.apk file there.
*Long press on that Facebook.apk file and choose PERMISSIONS
*And Check as shown in figure.
Done
tell in more detail
itsmepawan said:
Make sure you are ROOTED.
For convenience I recommend install an app named ROOT EXPLORER.
*After installing, Download the Latest Facebook.apk extension file.
*Go to ROOT directory > then SYSTEM > then APP
*Paste your Facebook.apk file there.
*Long press on that Facebook.apk file and choose PERMISSIONS
*And Check as shown in figure.
Done
Click to expand...
Click to collapse
can you tell in more detail step by step
burhanahmed92 said:
can you tell in more detail step by step
Click to expand...
Click to collapse
use any file explorer with root permission(like root explorer) and copy the apk to the app folder in system den change its permissions as explained above to rw-r-r
app stop working error
sangalaxy said:
use any file explorer with root permission(like root explorer) and copy the apk to the app folder in system den change its permissions as explained above to rw-r-r
Click to expand...
Click to collapse
i have done as you said after that i restart my mobile then it starts giving app stop responding error
burhanahmed92 said:
i have done as you said after that i restart my mobile then it starts giving app stop responding error
Click to expand...
Click to collapse
try reinstalling it from there
may be it will not work as it not supposed to be a system app
so just install it on internel
othe way
sangalaxy said:
try reinstalling it from there
may be it will not work as it not supposed to be a system app
so just install it on internel
Click to expand...
Click to collapse
is there another way like when i flash rom they install built in with it:angel:
burhanahmed92 said:
is there another way like when i flash rom they install built in with it:angel:
Click to expand...
Click to collapse
you can try the method of copying before flashing the rom but it is too complicated
burhanahmed92 said:
can you tell in more detail step by step
Click to expand...
Click to collapse
OK, here you are.
Make sure your device is ROOTED.
*Install FACEBOOK from Play store.
*Install ROOT EXPLORER from Play Store.
*Open Root Explorer
*If you are in ROOT directory, look for folder named " DATA"
*Open that and look for folder named "APP"
*Open that folder and you will find all installed app in your device (except system apps)
*There you will ring Facebook apk file too. Long press on that file and choose MOVE
*Now go back to ROOT directory and look for folder named "SYSTEM"
*Look for folder named "APP"
*Open that, and at the top you will find MOVE HERE, Click on that (Your Facebook file is now moved to SYSTEM>APP)
*Now after moving, long press on Facebook file and choose the option PERMISSIONS
*Check the necessary boxes as shown.
Done
Good luck
ivarion saidis
itsmepawan said:
OK, here you are.
Make sure your device is ROOTED.
*Install FACEBOOK from Play store.
*Install ROOT EXPLORER from Play Store.
*Open Root Explorer
*If you are in ROOT directory, look for folder named " DATA"
*Open that and look for folder named "APP"
*Open that folder and you will find all installed app in your device (except system apps)
*There you will ring Facebook apk file too. Long press on that file and choose MOVE
*Now go back to ROOT directory and look for folder named "SYSTEM"
*Look for folder named "APP"
*Open that, and at the top you will find MOVE HERE, Click on that (Your Facebook file is now moved to SYSTEM>APP)
*Now after moving, long press on Facebook file and choose the option PERMISSIONS
*Check the necessary boxes as shown.
Done
Good luck
Click to expand...
Click to collapse
after all these steo should i restart
not working start giving not responding error
burhanahmed92 said:
after all these steo should i restart
Click to expand...
Click to collapse
i have done all step u asked gives same errorr
burhanahmed92 said:
after all these steo should i restart
Click to expand...
Click to collapse
You are just modifying the current ROM, Not making the ROM.
If you over right with other ROM while flashing you will loose all the modified data.(like making a Facebook as an System App)
After completion I suggest take a backup of your device.
Edit: If you are getting error, then Move that Facebook file to your Memory Card. After that uninstall Facebook, make sure that FACEBOOK FILE IS NOT ANYWHERE IN YOUR DEVICE EXCEPT YOUR MEMORY CARD. If you find there exist any then Delete that.
Now you are clean, Move that FACEBOOK file from MEMORY CARD to SYSTEM>APP and move there.
After file gets moved, just click on it and choose INSTALL.
Done
Custom Rom
itsmepawan said:
You are just modifying the current ROM, Not making the ROM.
If you over right with other ROM while flashing you will loose all the modified data.(like making a Facebook as an System App)
After completion I suggest take a backup of your device.
Edit: If you are getting error, then Move that Facebook file to your Memory Card. After that uninstall Facebook, make sure that FACEBOOK FILE IS NOT ANYWHERE IN YOUR DEVICE EXCEPT YOUR MEMORY CARD. If you find there exist any then Delete that.
Now you are clean, Move that FACEBOOK file from MEMORY CARD to SYSTEM>APP and move there.
After file gets moved, just click on it and choose INSTALL.
Done
Click to expand...
Click to collapse
i have htc explorer and i have installed CM 9. I want to add facebook in cm9 while flashing it , i mean when i flash cm9 facebook will be added by default. So tell me is it possible
burhanahmed92 said:
i have htc explorer and i have installed CM 9. I want to add facebook in cm9 while flashing it , i mean when i flash cm9 facebook will be added by default. So tell me is it possible
Click to expand...
Click to collapse
Oh man, I thought you just want to modify current ROM.
Off course it is possible, if I tell you step by step it takes long,
I am going to sleep
So I provide you the link for the whole process.
BEFORE APPLYING PLEASE BACKUP YOUR CURRENT DATA.
http://m.tech2.com/how-to/smartphones/how-to-add-or-remove-apps-from-a-custom-rom/907044
Good luck and Good night :sly:

Categories

Resources