I've finally discovered how to install apps as system apps.
1. Download Android SDK and extract it to C:\
2. Set your cmd destination to C:\android-sdk-windows\tools {Click here for a video tutorial}
3. Put the app that you want to install in C:\android-sdk-windows\tools
4. Connect your phone
5. Turn on USB debugging
6. Open cmd.exe and type in order:
adb remount
adb push yourapp.apk /system/app
7. You are done!
thanks for the tip...
I tried to just paste in system app but that didnt work
thanks for writing this it will help a lot of people
Sent from my GT540 using XDA App
actually, it works, but you need to give permission to those apps. you can do it via recovery or root explorer. I did it with root explorer and it seems to work...
Yeah i know but technicaly adb is correct way to do it
permissions: rw-r--r--
Sent from my GT540 using XDA App
pashinator said:
Yeah i know but technicaly adb is correct way to do it
permissions: rw-r--r--
Sent from my GT540 using XDA App
Click to expand...
Click to collapse
chmod 755 ?
Related
Hey guys, I just used root explorer v 2.2 to delete the annoying apps built into the system (amazon mp3)
I am now trying to move my apps into the system so that they cannot easyly be removed. I want to send over lookout and sim checker. That way a theif would not be able to easily delete the apps.
when I select the "move" option (with sim checker) then go to the system apps dirrectpry and then select "paste", it says paste and shows a progress indicator for like 1 second then when I check to see if it actually did the move, it hasn't can anyone help me out
I know I have full root access as I have clicked to allow it and am remounted as r/w so that's not the problem.
Any help to get those two apps into my read only system directory would be greatly apprecaited.
Oh ya I think ill add that I have also tryed to simply change the permissions of the app to readonly (with root explorer) but that did not stop the basic android app manager from uninstalling it.
Try to use adb to move it.
so i went and installed adb, i know its working as well with a little test, could someone please write out a sample command for me to use for this purpose of moving an app out of the apps to sd location and into the system apps.
asb123 said:
so i went and installed adb, i know its working as well with a little test, could someone please write out a sample command for me to use for this purpose of moving an app out of the apps to sd location and into the system apps.
Click to expand...
Click to collapse
mv /system/sd/app/*lookout* /system/app
mv /system/sd/app/*checker* /system/app
It really depends on the name of the file though, if it has lookout in it, then it will be moved to /system/app. The * tells it to move anything with that in the file name
type adb and it will give you the commands + switches
adb pull
adb push
In response to your first attempt, it sounds like system is not being mounted as rw. If it were, the copying would work (I do this all of the time with SUFBS). Try to mount the system as rw via the terminal then copy.
JAguirre1231 said:
mv /system/sd/app/*lookout* /system/app
mv /system/sd/app/*checker* /system/app
It really depends on the name of the file though, if it has lookout in it, then it will be moved to /system/app. The * tells it to move anything with that in the file name
Click to expand...
Click to collapse
so i have the command prompt cd to andorid adk\tools
when i now type in the above :
mv /system/sd/app/*lookout* /system/app
it doesnt recognize the command
so i have C:\android-sdk-windows\tools> mv /system/sd/app/*lookout* /system/app
and it doesnt recognize mv as a command
cloverdale said:
In response to your first attempt, it sounds like system is not being mounted as rw. If it were, the copying would work (I do this all of the time with SUFBS). Try to mount the system as rw via the terminal then copy.
Click to expand...
Click to collapse
hey, sorry for the noob question but could you tell me the command for this. I know in the app i was using it says remount as rw and i do have access to change the system app folder (delted apps) but how can i remount as RW in terminal whats the command? And after, do i need to manually remount back to what i was so that it is back to being unchangeable?
asb123 said:
so i have the command prompt cd to andorid adk\tools
when i now type in the above :
mv /system/sd/app/*lookout* /system/app
it doesnt recognize the command
so i have C:\android-sdk-windows\tools> mv /system/sd/app/*lookout* /system/app
and it doesnt recognize mv as a command
Click to expand...
Click to collapse
If you have the tools directory in your PATH (as you should) no need to cd to the directory. Anyways, sorry to move it in adb do
adb remount
adb shell
*previous commands*
exit
Bingo!
it says failed on /systen/sd/app/com.lookout.apk - cross-device link
asb123 said:
it says failed on /systen/sd/app/com.lookout.apk - cross-device link
Click to expand...
Click to collapse
Ou have 2 android phones plugged in or an emulator running ath the same time
i dont have two phones plugged in and i dont have an emulator that i know of...
but on the bright side i mannaged to solve my problem using droid explorer. I successfully have gotten lookout entrenhed into the system so that it cannot be uninstalled from the menu.
BUT when i tried the same thing for sim checker it did not work, it would not copy into system\apps
i did manage to get it inot system\app but using the copy rather than move option in root explorer, after reinstalling using the simchecker in system\app
but it is showing up as still uninstallable. I have no idea why simcheck is not working but it worked for lookout...
How do I push an app to install?
Sent from my HERO200 using XDA App
MrSpradlen said:
How do I push an app to install?
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
are you rooted?
Code:
adb push /"filenamehere" /location/in/phone
ex) adb push /clock.apk /system/app
ex2) adb push C:\users\NetOpravdanii\Desktop\Handcent_Orange.apk /data/app
*note the "filenamehere" is assuming you put the file you want to push in your tools folder (if running windows) Or your current working dir if running linux/ubuntu*
I recently installed aospGBMod and would like to install Quickoffice. I know that I have to push the apk file into the system/app folder, but I'm not sure how to do so. Can this be done using the terminal emulator and if so what are the commands? Thanks for your help!
You could use one of the following methods:
1. Once connected via USB and having your USB debugging on: adb install <path_to_apk>
2. Move the apk file to the SDcard (doesn't matter where), enable "Install from unknown source" under manage applications and then use a file manager to access the apk, it should ask you to install it... go ahead and install
3. Execute following commands:
adb remount
adb push <location/apk file> /system/apps/
adb remount
adb restart
Hope this helps.
It didn't work. The apk file that I was using was from a sense rom. I wonder if that makes a difference. Is there a way that I could copy the apk file from CM6.1 and push it into the system/app folder? Has anybody else gotten this to work?
Sent from my HTC Hero CDMA using XDA App
Go here: http://forum.xda-developers.com/showpost.php?p=8135299&postcount=1. The post has a link for passionquickoffice.apk. Download it and use any of the above methods to push/install it.
THANK YOU!!!
Ok for some reason I removed an apk file in the system app folder (capture screen I think)
I didnt make a backup before removing but can I just copy over the file from the rom and paste it in as i dont want to reflash again as I have the rom/phone the way I want it
Thanks
Yes you can but after you do that re apply permissions and owner info.
Sent from my GT-I9100 using XDA App
Thanks for info but how do you do that?
Permissions and owner?
Use mount /system and then adb to device while in recovery and open shell. Then do a cd to whatever folder u want and do a chown root /../../../file. Ten using recovery fix permissions or do a chmod.
Sent from my GT-I9100 using XDA App
Hi,
just installed GALACTUSMOD 4.2 XXLT5, i wanted to push/move stock FMRADIO.APK and EMAIL.APK. I already installed Root Explorer to be able to push .apk. but i have one problem. /system has RW option, /system/app no RW option. i tried the other way of pushing using terminal yet still cant locate it. does anyone can fix this? or does anyone can make a tutorial to enable the RW option for /system/app so i could able to move apk's I wanted to have on my phone.
You can't locate what? Check in /preload/symlink/system/app folder. I still don't get what you are trying to achieve. Push apk to phone from pc or?
nokiamodeln91 said:
You can't locate what? Check in /preload/symlink/system/app folder. I still don't get what you are trying to achieve. Push apk to phone from pc or?
Click to expand...
Click to collapse
Hi sir,
Im trying to push Email.apk and FM.apk to GalactusMOD ROM, I'm using root explorer I can locate /preload/symlink/sysmtem/app and system/app but the prob is, there is no R/W option. I cant push or move those APKs. Hope you can help me. thank you
Not sure of the method you are using, but try this.
1. enable USB debugging. Connect phone to PC and open terminal / cmd.
2. run command adb devices to make sure the device is listed.
3. adb root.
4. adb remount
5. adb push Email.apk /system/app
then manually change the permission of the app using root explorer or use chmod command.
nokiamodeln91 said:
Not sure of the method you are using, but try this.
1. enable USB debugging. Connect phone to PC and open terminal / cmd.
2. run command adb devices to make sure the device is listed.
3. adb root.
4. adb remount
5. adb push Email.apk /system/app
then manually change the permission of the app using root explorer or use chmod command.
Click to expand...
Click to collapse
Hello sir,
I've read again all the details of GALACTUSMOD, it says
"My ROM no longer uses System/app! this has all been symlinked to Preload.
so any MODS/THEMES Etc need to be Preload ONLY!!!"
i guess im not gonna able to push or either move apk to system/app
You still can.
nokiamodeln91 said:
You still can.
Click to expand...
Click to collapse
anyway, I got kitkat email, and spirit fm unlocked. thanks for your response. i really dont know how to push apk. using adb no time to read about it. i just know root explorer. maybe someday if i got time. i really need my phone for my clients they're calling and texting.