Installing apps to /system/app - Droid Incredible Q&A, Help & Troubleshooting

Is there any benefits of installing apps to /system/app as opposed to /data/app?
Sent from my ADR6300 using XDA Premium App

I could be wrong but when ever I edit an apk and not sign it, it will not properly run our get recognized if I put it in data/app. But if I move it to the system/app folder it will run.
It has something to do with signature or permissions. Not being checked when in system/app.

neotericpiguy said:
I could be wrong but when ever I edit an apk and not sign it, it will not properly run our get recognized if I put it in data/app. But if I move it to the system/app folder it will run.
It has something to do with signature or permissions. Not being checked when in system/app.
Click to expand...
Click to collapse
Makes sense. Logically if I were HTC or Google or whatev if I ran an unsigned apk from data i ran the risk of something bad happening. But if it were in system, then I probably created it myself, and nothing else is modified... right?

Related

Apps in /system/app dont show up nor do widgets

so i removed friendstream.apk because of forcecloses and htcfacebook for sense i got the apks from a stock rom and used root explorer to mount and paste the files into the /system/app folder so theyre there, but i dont see the apps or widgets but when i try to install them using the app manager on android it says its already installed, any ideas? thanks!
im using damage control 3.2.3 with a custom kernel for damage control 3.7.1, thanks!
Leave them on your sd card and then try installing them using your file explorer.
Sent from my PC36100 using XDA App
i tried their htc apks so they dont install normally ive pushed it before and it worked fine just now its not showing up
zeeyo987 said:
so i removed friendstream.apk because of forcecloses and htcfacebook for sense i got the apks from a stock rom and used root explorer to mount and paste the files into the /system/app folder so theyre there, but i dont see the apps or widgets but when i try to install them using the app manager on android it says its already installed, any ideas? thanks!
im using damage control 3.2.3 with a custom kernel for damage control 3.7.1, thanks!
Click to expand...
Click to collapse
when pusing them to /system/app with root explorer you have to change the permissions of each app you copy over (hold select the app and choose change permissions) i just check off all of the permissions thingys
when pushing through adb it does that automatically
hope that helps
the default ones are all can read and user can write plus read
Thread moved to Q&A.
yea i checked all the permissions and used adb before and still not showing up, lol really frustrating
any ideas guys, really miss friendstream lol
An easy way to fix permissions is through ROM manager.
Download it in the market and select fix apk permissions.
That might do the trick..
Don't forget to reboot.
yea tried that doesnt work, really weird
Very strange, did you try an adb install? Rather than push..

How do I get an app off my phone?

I am trying to change certain images for my XDA premium app but I cannot seem to get my version to install...
I am backing up via "My Backup Root", then placing the modified images in the drawable-hdpi folder inside the app WHILE my SD card is mounted on my computer. I am overwriting all of them (using the same names and keeping the sizes the same). And then I tried installing the modified version through ES file explorer in the my backup root folder, no dice. Then I tried installing it by restoring a backup via my Backup root, but no matter what, my XDA App will not install with the modified images. I am using 7zip to replace images.
So you need to find a way to backup a non-system application while still being able to edit it?
Have you tried going straight into data and pulling the app with ADB? Using Super Manager, Root Explorer or ES?
Hell maybe you have resign it!
If you want to send over the files I'd love to play with it.
How would I pull it using adb pull? I've got ES File Explorer, but it's a non system app.
Using root explorer goto data/app and copy the apk to sdcard. Put sdcard in your pc and pull the apk and modifie. Then install
Sent from my SPH-D700 using Tapatalk
In ES there is a root explorer right?
Go into settings and at the bottom are root options. Enable them.
Then click the SD button at the top left hand corner and you should see your phones root folder. Then data -> app and find the XDA application. Long press and select copy, then paste it to your SD card. it will be named something like com.somethingXDA.apk, or net.somethingXDA.apk, or even org.somethingXDA.apk.
Also try renaming your MyBackup modifyed file to its actual filename. So for example "SetCPU" to "com.mhuang.overclocking.apk" or "XDAPremiumApp" to "com.somethingXDA.apk". I know for some Swype mods you had to do that.
This is my first time using ES File explorer! And I really like it!
I don't understand, I did exactly as Mystery said, and app still not installed. For some odd reason, my edited .png files are smaller less kbs than the original APK. Does changing colors only alter data size?
Overstew said:
I don't understand, I did exactly as Mystery said, and app still not installed. For some odd reason, my edited .png files are smaller less kbs than the original APK. Does changing colors only alter data size?
Click to expand...
Click to collapse
You have to put it in /system/app now, because modifying the APK's contents in any way will invalidate the signature. You could also resign it, but it won't update.
Ok, I'm getting farther and farther, but how do I fix the permissions to paste it in System/App? It's a non system app, shouldn't it be copied into Data/app?
Overstew said:
Ok, I'm getting farther and farther, but how do I fix the permissions to paste it in System/App? It's a non system app, shouldn't it be copied into Data/app?
Click to expand...
Click to collapse
Im not sure how to do it in es , but in root explorer you long press the app and click permissions and put checks in all three of the first column and just the top one in the 2nd column and leve the rest unchecked. Its ok to put it in system/app.
GituSum said:
Im not sure how to do it in es , but in root explorer you long press the app and click permissions and put checks in all three of the first column and just the top one in the 2nd column and leve the rest unchecked. Its ok to put it in system/app.
Click to expand...
Click to collapse
I'll give Root Explorer a try.
Are you decompiling it or just opening it via 7zip and swapping images?? If you aren't decompiling then the signature is fine to run, but not install.. just put it in /data/app.. permissions won't matter.. if you are decompiling, that's a different story.
Sent from my SPH-D700 using XDA App

How to get an APK file form different ROM to work

I like to try similar apps side by side.
For example, I would like to try different camera apps in my phone.
How can I use an apk file of camera extracted from a different ROM and install in my current ROM without removing the stock app.
I tried to push an apk from another ROM to the /system/app folder with appropriate permissions. This did not work. I got an FC.
Is there a way I can accomplish this without much changes?
You have to push it to that folder, but also set the permissions. This is also depending on if it's not tied into the framework. I'm on my phone so I can't dig around right now.
Edit: after changing permissions to 644, reboot.
PonsAsinorem said:
You have to push it to that folder, but also set the permissions. This is also depending on if it's not tied into the framework. I'm on my phone so I can't dig around right now.
Edit: after changing permissions to 644, reboot.
Click to expand...
Click to collapse
thanks for your advice.
What I am trying to do is make an apk I can push or install which would act like an independent application so that I can still keep the stock application.
meazz1 said:
thanks for your advice.
What I am trying to do is make an apk I can push or install which would act like an independent application so that I can still keep the stock application.
Click to expand...
Click to collapse
As long as they're not named the same, so that you're new one won't overwrite the original. You can have multiple apps in the app drawer with the same name. Make a nandroid and give it a shot.
PonsAsinorem said:
As long as they're not named the same, so that you're new one won't overwrite the original. You can have multiple apps in the app drawer with the same name. Make a nandroid and give it a shot.
Click to expand...
Click to collapse
what name are you referring to? Is it the "camera.apk" or "HTCCamera.apk" name or something within the .apk file.
can you give me a hint?
meazz1 said:
what name are you referring to? Is it the "camera.apk" or "HTCCamera.apk" name or something within the .apk file.
can you give me a hint?
Click to expand...
Click to collapse
The .apk name that gets pushed to the system app folder. Example, I run CM7. There is an app called Camera.apk which I don't really like, so I push MiuiCamera.apk to that folder, set the permissions and reboot. Now in my app drawer, there are two Cameras with different icons, (I usually wind up removing the stock Camera.apk).
If the new camera I used was named Camera.apk as well, it would just overwrite the original camera, replacing it, which is something you said you didn't want.

[Q] Can't get Whatsapp to work - Force close

Can't get whatsapp to work. I had it pre-installed when i got the phone. But i deleted it. But re-installed it from the market, now, all i get when i try to log in for the first time i get force close. Anyone else who has this problem?
_terror_ said:
Can't get whatsapp to work. I had it pre-installed when i got the phone. But i deleted it. But re-installed it from the market, now, all i get when i try to log in for the first time i get force close. Anyone else who has this problem?
Click to expand...
Click to collapse
It's dependent on the sony framework as it's preinstalled, push the .apk to /system/app/ and it will work again
AndroHero said:
It's dependent on the sony framework as it's preinstalled, push the .apk to /system/app/ and it will work again
Click to expand...
Click to collapse
i'll get that one a shot get back to you
btw, how do you do that? i have a file explorer app and the .apk file
_terror_ said:
btw, how do you do that? i have a file explorer app and the .apk file
Click to expand...
Click to collapse
You can just copy and paste it to /system/app. Using a file explorer, but you must set the right permissions afterwards, or if you have a pc, you can use adb, just to push the .apk
Sent from my R800i using Tapatalk
AndroHero said:
You can just copy and paste it to /system/app. Using a file explorer, but you must set the right permissions afterwards, or if you have a pc, you can use adb, just to push the .apk
Sent from my R800i using Tapatalk
Click to expand...
Click to collapse
when you say "push the .apk" do you basically mean move the downloaded .apk-file to /system/app then install it from there or what?
_terror_ said:
when you say "push the .apk" do you basically mean move the downloaded .apk-file to /system/app then install it from there or what?
Click to expand...
Click to collapse
No push is a command used by adb, so you would use the command "adb push xxxx.apk /system/app" and that would move the apk to that location, you dont need to install apps to /system/ just copy them there
i have this problem on s5830i
thats no has system folder
what do i?

samsung allshare app

Could someone post the allshare app that comes with the galaxy s2 on here? I just flashed a miui rom but no longer have allshare.
Thanks in advance
Hope this helps
Thanx man...
rodeo_calling said:
Hope this helps
Click to expand...
Click to collapse
I copied the file "Dina.apk" to my Epic 4g touch but it won't install. It goes through the motions then says, "Application not installed".
reekolu said:
I copied the file "Dina.apk" to my Epic 4g touch but it won't install. It goes through the motions then says, "Application not installed".
Click to expand...
Click to collapse
you need to put it in your system/App folder using root explorer and set permissions, it can't be installed using a package installer
I've tried this method on my GS2 with the provided file and I just can't get it to work. It did work with the MicrobesGl live wallpaper though.
Hello,
You can generate a CWM script to install all share and other apps here:
http://chef-droid.cubocreation.net/?lang=en
Did you set the right permissions?
Sent from my GT-I9100 using Tapatalk
I deleted the DigitalClock widget by accident. I know there's plenty in market, but I liked the stock one. Anyway, I have the .apk, moved the .apk to /system/app with Root Explorer and changed the permissions (now it's rw-r--r--). But still, when trying to install, the message "Application not installed" appears.
guimialfaro said:
I deleted the DigitalClock widget by accident. I know there's plenty in market, but I liked the stock one. Anyway, I have the .apk, moved the .apk to /system/app with Root Explorer and changed the permissions (now it's rw-r--r--). But still, when trying to install, the message "Application not installed" appears.
Click to expand...
Click to collapse
when the app is moved into the system/app folder it is then installed, no need running the .apk through a package installer because youll just get the "Application not installed" error, this is because your trying to install a system app which is what the apk is and not a standard installable app.
once moved into the system/app folder and permissions set, check your widgets if not there do a reboot then check again, if its still not there then your doing something wrong or setting the wrong permissions.
If it's not installing, could it be because it's a Samsung app? For example the stock camera, phone and messaging apps just won't install when I'm on CM7. So I'm assuming the same is true for Allshare, though I may be wrong.
pepxl said:
when the app is moved into the system/app folder it is then installed, no need running the .apk through a package installer because youll just get the "Application not installed" error, this is because your trying to install a system app which is what the apk is and not a standard installable app.
once moved into the system/app folder and permissions set, check your widgets if not there do a reboot then check again, if its still not there then your doing something wrong or setting the wrong permissions.
Click to expand...
Click to collapse
Thanks, tried all but the widget won't appear on the list. I guess something is wrong with the .apk then.
holgalee said:
If it's not installing, could it be because it's a Samsung app? For example the stock camera, phone and messaging apps just won't install when I'm on CM7. So I'm assuming the same is true for Allshare, though I may be wrong.
Click to expand...
Click to collapse
Samsung apps will only work on Samsung ROMs unless modded to work on ALL Android devices just like any other app specific to any other ROM
The app in this thread is odexed and for thus wont work with most ROMs as these are deodexed.
pepxl said:
you need to put it in your system/App folder using root explorer and set permissions, it can't be installed using a package installer
Click to expand...
Click to collapse
Keeps telling I can't copy to the folder because it is read only....
imediashare from play store is much better than all share, has built in HD channels and can show your youtube and facebook vids/photo/music
Sent from my GT-I9100 using xda premium
pepxl said:
Samsung apps will only work on Samsung ROMs unless modded to work on ALL Android devices just like any other app specific to any other ROM
Click to expand...
Click to collapse
I just tried to copy the dlna.apk from a galaxy note (unrooted, stock ROM)...tried copying that in the app folder and changed permissions...still didnt work....
rodeo_calling said:
Hope this helps
Click to expand...
Click to collapse
Thanks for this apk mate
Tab 2 7.0 no file copy
I took down the Dnla.zip, renamed it to Dnla.apk and moved it to my Tab 2 7.0. Then I used ES File and tried to move it to Root/System /App but it fails. I understand I need to change permissions for this. How do I accomplish this without rooting the device?
Kumabjorn said:
I took down the Dnla.zip, renamed it to Dnla.apk and moved it to my Tab 2 7.0. Then I used ES File and tried to move it to Root/System /App but it fails. I understand I need to change permissions for this. How do I accomplish this without rooting the device?
Click to expand...
Click to collapse
Move anything to system need ROOT
Sent from my GT-I9100

Categories

Resources