• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Installing .apk in system/app directory

I am still getting to know the ins/outs of my newly rooted phone. I am using an app called PowerManagerPro and it gives the following instructions to install to the system/app directory to activate certain rooted functions:

After root is obtained you need to install the application into the /system/app directory so that it has enough permission to change the location settings. Open a Terminal Emulator app and execute the following command to copy the application to the sdcard (for the full version the name of the application is /data/app/com.acme.android.powermanagerpro.apk):

  • su
  • cp /data/app/com.acme.android.powermanager.apk /sdcard/PowerManager.apk
If you can't find the application in /data/app try /data/apps-private/
Then, un-install Power Manager from the device

Execute the following commands in the terminal emulator to remount the /system directory as read/write and to install the application into the /system/app directory:

  • su
  • mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
  • cp /sdcard/PowerManager.apk /system/app
If you prefer to use adb from your computer, execute these commands:

  • adb remount
  • adb shell cp /sdcard/PowerManager.apk /system/app
Several users have utilized root explorer from the Google marketplace to simplify this process.


I am not able to get this done using the Terminal Emulator, it keeps saying "cp not found". I also cannot find a function in Root Explorer to install the .apk in the the system/app.
Is there another way to install apk's into the system/app folder?
 
The easiest way, at least for me, to get an app into /system/app is to use Root Explorer to copy the apk into /system/app.



To do this:
  • In Root Explorer, copy the apk file you want to put in /system/app
  • Navigate to the /system/app directory
  • Tap the Mount R/W button on the top right
  • Tap Paste
  • Scroll down to the pasted apk, long press on it and select Permissions (you'll see 9 check boxes when you do this)
  • Check the Read and Write buttons for User, and only the Read boxes next to Group and Others, then tap OK (once you're done, the read/write permissions under the app name should be the same as all the other apps listed (rw-r--r--))
  • Reboot.
 
Upvote 0
The easiest way, at least for me, to get an app into /system/app is to use Root Explorer to copy the apk into /system/app.



To do this:
  • In Root Explorer, copy the apk file you want to put in /system/app
  • Navigate to the /system/app directory
  • Tap the Mount R/W button on the top right
  • Tap Paste
  • Scroll down to the pasted apk, long press on it and select Permissions (you'll see 9 check boxes when you do this)
  • Check the Read and Write buttons for User, and only the Read boxes next to Group and Others, then tap OK (once you're done, the read/write permissions under the app name should be the same as all the other apps listed (rw-r--r--))
  • Reboot.

This worked for me, thanks!
As for what rom I'm using, its NexBeast 0.9. So far its great. I am still getting used to the unix commands, busybox ect....

Thanks for all the replies.
 
  • Like
Reactions: scsbo
Upvote 0
The easiest way, at least for me, to get an app into /system/app is to use Root Explorer to copy the apk into /system/app.




To do this:
  • In Root Explorer, copy the apk file you want to put in /system/app
  • Navigate to the /system/app directory
  • Tap the Mount R/W button on the top right
  • Tap Paste
  • Scroll down to the pasted apk, long press on it and select Permissions (you'll see 9 check boxes when you do this)
  • Check the Read and Write buttons for User, and only the Read boxes next to Group and Others, then tap OK (once you're done, the read/write permissions under the app name should be the same as all the other apps listed (rw-r--r--))
  • Reboot.
I have been trying to install the buddies now apk using the method above. The problem that I am having is that I can't modify the permissions to (rw-r--r--). I everytime I delete the file it reappears each time I exit and reopen the system/app folder. I can't uninstall it and it won't allow me to reinstall it either. I get an error message stating that "Activity Not Found - com.sec.android.widgetapp.buddiesnow" when I tried to launch the program. What's the problem. It is the only apk file in the system/app folder with the wrong permissions. I tried to overwrite the odex file with matching permissions. It refused to overwrite the file. What else can I do?
 
Upvote 0
The easiest way, at least for me, to get an app into /system/app is to use Root Explorer to copy the apk into /system/app.

+1 for this also.

I've run into a few mods/tweaks/apps that had install instructions that suggested copy/paste via shell. Since my typing skills aren't the greatest in a shell, I also preferred to do it in a more 'traditional' way, if you please, and root explorer works awesome for it.

Havent tried but I wonder if Astro would work as well?
 
Upvote 0
I was able to copy and past the apk into the /system/app folder. The problem was that the I could change the permissions for the file. When I changed it and closed the file it kept reverting back to the original permissions which were wrong. I eventually uninstalled it using root uninstaller. I tried deleting it several times too but each time I did it kept popping back up in the folder. I was REALLY weird. I would appreciate it if anyone has the buddies now apk file to share it with me. I am having similar problems with samsung apps too.

Thank you,
 
Upvote 0
Havent tried but I wonder if Astro would work as well?
Does Astro have a method to mount /system as read/write? Not the last time I checked, so no.

@ sheni7, for one, do you NEED that app in /system/app? Or are you just wanting to put it there for the thought of it working better? Forgive me I am not familiar with the app. One thing that gives me pause, you said you were having problems with other Samsung apps, that said, the things you read in this section may not help you at all, since this is the Motorola A855/Droid 1 all things root.

Anyways, there's another way to try. It requires terminal emulator on your phone or adb shell on your computer. Either way, get there and here's the commands to try:

Code:
su
mount -o remount,rw /dev/null /system
chmod /system/app/[name of your app goes here] 0644
mount -o remount,ro /dev/null /system
sync
reboot

good luck
 
Upvote 0
The easiest way, at least for me, to get an app into /system/app is to use Root Explorer to copy the apk into /system/app.



To do this:
  • In Root Explorer, copy the apk file you want to put in /system/app
  • Navigate to the /system/app directory
  • Tap the Mount R/W button on the top right
  • Tap Paste
  • Scroll down to the pasted apk, long press on it and select Permissions (you'll see 9 check boxes when you do this)
  • Check the Read and Write buttons for User, and only the Read boxes next to Group and Others, then tap OK (once you're done, the read/write permissions under the app name should be the same as all the other apps listed (rw-r--r--))
  • Reboot.

I've done the above although can not see the app in my installed apps list, and hence can not open it. Any ideas?
 
Upvote 0
i got the stock optimus messenger apk in the system app folder, and rebooted, but its not coming up anywhere.....how do i "install it"

^^ I too would like to know this ^^

I've installed a custom ICS ROM on my SGSII, but really liked the "Mini Paper" widget on the stock ROM (postit.apk). I've tried to install it as a system app following all the above instructions (copying to system/app, giving correct permissions using ES File Explorer, clearing Dalvik Cache, Rebooting) but to no avail.

:-(
 
Upvote 0
i got the stock optimus messenger apk in the system app folder, and rebooted, but its not coming up anywhere.....how do i "install it"

Try following the steps below.

^^ I too would like to know this ^^

I've installed a custom ICS ROM on my SGSII, but really liked the "Mini Paper" widget on the stock ROM (postit.apk). I've tried to install it as a system app following all the above instructions (copying to system/app, giving correct permissions using ES File Explorer, clearing Dalvik Cache, Rebooting) but to no avail.

:-(

But then things _might_ be different for the devices you two are using.

With the Motorola A855, I can copy/push any .apk to the /system/app folder, set the proper permissions, reboot and it's there in my app drawer.

good luck
 
Upvote 0
The easiest way, at least for me, to get an app into /system/app is to use Root Explorer to copy the apk into /system/app.



To do this:
  • In Root Explorer, copy the apk file you want to put in /system/app
  • Navigate to the /system/app directory
  • Tap the Mount R/W button on the top right
  • Tap Paste
  • Scroll down to the pasted apk, long press on it and select Permissions (you'll see 9 check boxes when you do this)
  • Check the Read and Write buttons for User, and only the Read boxes next to Group and Others, then tap OK (once you're done, the read/write permissions under the app name should be the same as all the other apps listed (rw-r--r--))
  • Reboot.

I followed all the steps (including reboot) but I'm still not seeing the app in my app drawer either.

Background: I'm running the eclipse rom on my Motorola Droid Razr (I know this is not a razr forum, but is the closest thing I found related to my issue). The rom deleted all Motoblur apps and I'm trying to re-install some. I got the apk files from my wife's razr system/app folder, but even after the steps above I can't install them.

If I try to actually hit the install button in Rom Manager (after moving files to system/app and changing permissions) it runs the install but at the end I get "application not installed".

Please help! Thanks
 
Upvote 0
If I try to actually hit the install button in Rom Manager (after moving files to system/app and changing permissions) it runs the install but at the end I get "application not installed".

Please help! Thanks

I am not aware of an application install function within Rom Manager, the only thing I know that Rom Manager will install is another rom.

Please elaborate.

Plus, it _could_ be that the blur apps you want to re-install are dependant upon blur actually being on your phone as well.
 
Upvote 0
I am not aware of an application install function within Rom Manager, the only thing I know that Rom Manager will install is another rom.

Please elaborate.

Plus, it _could_ be that the blur apps you want to re-install are dependant upon blur actually being on your phone as well.

Sorry, I meant Root Explorer, when you click on the actual apk and it gives you the option to install....

I have been doing a lot of reading and it does seem that those app may require part of the Motoblur infrastructure that has been removed by the rom, but I have not been able to confirm if this is really it, or if there is a work around to installing these apps.
 
Upvote 0
Sorry, I meant Root Explorer, when you click on the actual apk and it gives you the option to install....

I have been doing a lot of reading and it does seem that those app may require part of the Motoblur infrastructure that has been removed by the rom, but I have not been able to confirm if this is really it, or if there is a work around to installing these apps.


what apps are you trying to install?
 
Upvote 0
what apps are you trying to install?

Mainly the smart CarDock and the SmartDock for the HD dock (the ones that the rom left are much more basic and limited and I use both the car dock and HD docks daily. I also like the email app better than gmail and I also wanted smart actions app. Those are the main ones. Like I mentioned earlier, I have all the apks which I pulled from my wife's razr.
 
Upvote 0
Same issue also on GT-I9000 (Samsung galaxy S), no way to install stock apps from the same phone.
- I took 3 stock apps from original ROM (Gingerbread): DLNA, FM Radio and Double Watch.
- I changed the phone ROM to CM9 (ICS)
- I copied the files, changed permissions, rebooted, etc.

No way, stock apps are not there :(

I'm wondering if it is just an android version issue (Gingerbread vs ICS. 3 apk over 3?! is unlikely), or if I'm still missing something (I go through all the steps and I double checked permissions etc.)

Cheers
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones