System/App Folder

zalooa

Member
Dec 27, 2006
42
72
0
Los Angeles
Hello All,

I have been working on customizing my Sprint S3 for a while, this forum as usual has been so immensely helpful.

I have modified several key things, i prefer to not use the kitchen, not thats it not useful but the main tools just work for me( apktool, smali.jar, baksmali.jar)

I have been poking and prodding every file in the stock S3 rom that I got from XDA, it is DeOdexed which frankly is so much easier to work with.

Without me ranting and boring all of you to death, I want to know if anyone has a list of apps that I can add to the system/app folder and work right out of the rom when I start it. Just flash rom and they work.

Examples:

I know for a fact the following work by simply dropping them into the system/app folder
esexplorer
Titanium Backup
Safe wallet
Amazon app store

The issue is not every app I "place" inside this folder will install, in fact they cause crashes if opened in the rom after installation. I read here somewhere that certain apps install libraries and need to be installed manually, but I am sure that something can be done to be mitigated for this issue would allow me to install more apps like AdAway and many more instead of me modifying the hosts file. Is this even possible or would this be a developer issue that is not meant to be solved as I do not understand how some apps work flawlessly and some just fail miserably. I have even heard to install with a flashable zip but come on I mean 4 more clicks to get a rom working the way I want :p nahhh.
 
  • Like
Reactions: vladman

zalooa

Member
Dec 27, 2006
42
72
0
Los Angeles
Not Sure

So, got some views, must be a tough one to answer, I figured when an APK is installed, it is similar to when a program is installed and folders are created on its own, I suppose I lack knowledge on how some programs do not require such things and others require manual installation. Anyone have any insight on my logic?
 

Ricky Divjakovski

Recognized Developer / Recognized Contributor
Feb 4, 2013
5,214
7,595
263
25
Sydney
So, got some views, must be a tough one to answer, I figured when an APK is installed, it is similar to when a program is installed and folders are created on its own, I suppose I lack knowledge on how some programs do not require such things and others require manual installation. Anyone have any insight on my logic?
yeah, ive had the same problem, summarised it as only some apps like facebook, twitter and a few others didnt crash, id blame it on the updated google play services
 

owain94

Inactive Recognized Developer
Sep 21, 2010
3,538
6,041
0
26
The Hague
yeah, ive had the same problem, summarised it as only some apps like facebook, twitter and a few others didnt crash, id blame it on the updated google play services
Can't help you sorry about that but i just wanted to give my opinion on this

i wouldn't appreciate it when i buy a computer that it got preinstalled things like itunes because i maybe have a iPod or iPad and especially nto when it's hard to remove

If google killed the drag and drop hey i added an app to the system behavior i would like to say this to them
Thanks you google!

Why add app to a ROM when user can download them from the play store?
And if you want to add them so badly why not add them to /data/app so they are easier to delete for regular users?
 

Ricky Divjakovski

Recognized Developer / Recognized Contributor
Feb 4, 2013
5,214
7,595
263
25
Sydney
Can't help you sorry about that but i just wanted to give my opinion on this

i wouldn't appreciate it when i buy a computer that it got preinstalled things like itunes because i maybe have a iPod or iPad and especially nto when it's hard to remove

If google killed the drag and drop hey i added an app to the system behavior i would like to say this to them
Thanks you google!

Why add app to a ROM when user can download them from the play store?
And if you want to add them so badly why not add them to /data/app so they are easier to delete for regular users?
Some people roms depend on xposed and some modules though, also dsp manager for enhanced sound capabilities!
Although I know were your coming from!
 

CNexus

Senior Member
May 17, 2012
9,009
13,993
263
~/android
Some people roms depend on xposed and some modules though, also dsp manager for enhanced sound capabilities!
Although I know were your coming from!
Yeah, but that's different
Those have a purpose to users who download the rom, whereas bloat that the majority of people don't use does not
 

CNexus

Senior Member
May 17, 2012
9,009
13,993
263
~/android
but thats what hes trying to say, regardless of if it has a purpose these .apk files are crashing..
Yeah, sorry I was just replying to your post, not to the OP

I've actually looked into this and it looks like to get stuff to work right when you stick it in /system/app, you need to add lib files into the apk itself and then drop it in /system/app
 

Ricky Divjakovski

Recognized Developer / Recognized Contributor
Feb 4, 2013
5,214
7,595
263
25
Sydney
Yeah, sorry I was just replying to your post, not to the OP

I've actually looked into this and it looks like to get stuff to work right when you stick it in /system/app, you need to add lib files into the apk itself and then drop it in /system/app
i know :p

---------- Post added at 01:07 AM ---------- Previous post was at 01:06 AM ----------

Yeah, sorry I was just replying to your post, not to the OP

I've actually looked into this and it looks like to get stuff to work right when you stick it in /system/app, you need to add lib files into the apk itself and then drop it in /system/app
also i found out that most of the time the cause of this is the api level? hmmm, confusing...
 

owain94

Inactive Recognized Developer
Sep 21, 2010
3,538
6,041
0
26
The Hague
Some people roms depend on xposed and some modules though, also dsp manager for enhanced sound capabilities!
Although I know were your coming from!
ROMs never depend on xposed

cooked aka winzipped ROMs maybe do but well that's not a proper way to make a ROM

If users want xposed they can just install it no problem

DSP manager easy just drop the sources files in the folder and build easy as that

and if you really want to "winzip" a rom you can just add the libs for DSP Manager to the system/lib folder

if you take a look at the sources https://github.com/CyanogenMod/android_packages_apps_DSPManager

you'll see a folder called cyanogen-dsp if you look in there and open the Android.mk file you can just easily spot the two modief files for DSP manager

https://github.com/CyanogenMod/android_packages_apps_DSPManager/blob/cm-10.2/cyanogen-dsp/Android.mk

one is a conf file and one is a lib

but well just building from source is way better and even easier...
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone