[Q] Install apk from /system/app - Galaxy S II Q&A, Help & Troubleshooting

How do i install apk as system apk?
I tried to paste the apk's with root explorer to /system/apps and grant permissions of "rw-r--r--" and reboot
but its still don't work..
Is there another way?

You just need to paste the .apk in the External SD card/Internal storage and Install from there. Simple. No need for Root Explorer for that.
Regards.

Alternatively, I usually just email the apk and then open it on the phone. It gives a direct install button option in the email itself, downloads and installs like any other app from the market.

I just installed Cognition S2 1.42 and it removed some of the system app like Social Hub and AccuWeather widget, so i would like to install them again.
In Cognition thread said for installing the removed apps you need to transfer them to "/system/apps".
I tried that but it didn't work, after web searching I found that I need to change the permissions to "rw-r--r--", I tried that ether and it didn't work.
So is there other way to do it?
Thanks for replying

Related

[Q] Clarification on apk files please

Is there a difference between apk files downloaded as an installer file and the apk files i find in my system/app folder?
The reason I ask is this:
I have both wired and wireless tether on "ROM a" and not wired tether on "ROM b". I want to copy the apk for wired tether out of my system/app folder in "a" onto my sd card so that I can install it on "b". Hopefully I could then flash "ROM b"(that doesn't already have the app) and navigate to the sd card with root explorer and click the apk, and have it install the app.
Should work right?
Or are there different kinds of apk files, ones that contain an installer and ones that just act as an application?
Thanks!
I believe that you could store the apk on the SD card, wipe and flash the new Rom, and then yes, use root explorer (be sure to remember and set correct permissions, have root explorer in r/w mode, and place the file back in system/apps) and then reboot. SHOULD work, but as always I'd suggest doing a NAND backup first, in case this doesn't work. If it doesn't, try using adb to push the file to system/apps.
Sent from my Eris Lightning 3.02

ICS calendar app isn't showing all appoints...

I'm using my evo and my calendar app is from the kings shooter 3d and it's a great calendar app. When I sync'd the calendar app on my ics photon it only shows some of the things. Pretty much anything I manually put on my calendar isn't coming up. I have the basketball schedule, holidays, and other repeating events showing up, but nothing else. I would like to install the other calendar app so I pulled it off the rom and tried to install, but it wouldn't let it. Does anyone know how I can use the calendar app from my evo rom? Or correct the problem from my current ics calendar app? Thank you
Did you just trying installing the apk? Or did you move it into /system/app folder? If you move to that folder with Root Explorer set permissions and reboot it should work. Dont forget to rename the normal calendar to .apk.bak so if it doesn't work you can just rename it back to .apk and reboot and be back to normal.
w0lf215 said:
Did you just trying installing the apk? Or did you move it into /system/app folder? If you move to that folder with Root Explorer set permissions and reboot it should work. Dont forget to rename the normal calendar to .apk.bak so if it doesn't work you can just rename it back to .apk and reboot and be back to normal.
Click to expand...
Click to collapse
I pulled the apk file from the rom and emailed it to myself so it downloaded and I tried to install but it wouldn't let me. Oh ok, I'll try your method. I'll have to read how to set permissions. I have a copy of root explorer and that wouldn't work either, but I have Astro and I was able to edit files with it too, but I would like to get my root explorer working also. Thanks wolf
w0lf215 said:
Did you just trying installing the apk? Or did you move it into /system/app folder? If you move to that folder with Root Explorer set permissions and reboot it should work. Dont forget to rename the normal calendar to .apk.bak so if it doesn't work you can just rename it back to .apk and reboot and be back to normal.
Click to expand...
Click to collapse
I tried using a few file explorers even root explorer and none will let me change the name. Root explorer actually says cannot be changed because it is read only. I'm using CM7.2 now. How can I make the files read and writable?

[Q] install default MusicPlayer.apk in system/app

Hej,
So I try to push the musicplayer.apk in the system/app folder with terminal, that works as I reboot but it's not installed. but it's in the folder system/app and rw-r-r... do I have to instal it from the system/app folder? or should it automaticly instal it when it reboots?
what am I doing wrong?
grts,
lio
Try installing it normally by transferring apk file to sdcard and installing it using some file explorer, then move the apk from /data/app to /system/app using root explorer and set the permissions to match with those of the other apps
Sent from my painfully slow connection, so consider pressing thanks to provide some relief
droidiser said:
Try installing it normally by transferring apk file to sdcard and installing it using some file explorer, then move the apk from /data/app to /system/app using root explorer and set the permissions to match with those of the other apps
Sent from my painfully slow connection, so consider pressing thanks to provide some relief
Click to expand...
Click to collapse
If I try to install it, it says "app not installed". I'll look for a better apk. you know where to find default apps for sgs2? I just like the MusicPlayer.apk from the stockrom. it can sort by folder and it's easy to use!!
and a little question, can I get notifications in my email if someone replies or sends me a message on xda or something. cause I have to check it post by post...
oke found a good musicplayer!!! Mortplayer! it's free and maybe even better...
thanks!!!

Cannot install apps by copying apk's to /app

Hi
Ever since I've upgraded to new Sammy JB, I cannot simply install any app by CWM zip or manually by copying the apk to /data/app or /system/app
If I copy the apk and restart it won't install. If I use root explorer and go to the apk location (i.e /data/app/) I see it has a generic android icon. If I click on it and select install, It the parse error.. However, if I copy or move this apk to anywhere on the sdcard, the original apk's icon will restore and i can now install it by clicking it... I tried changing permissions but it did not help... I tried full factory reset and installing another JB based rom (LS8 or LSD WanamLite or NeatROM) but I always get the same problem. Placing the apk on /preload/symlink/app did not work either...
Any ideas what could be the problem?
Thanks

Official PlayStore apk install and More for android wear

1.- Move all these apks to the /system/priv-app folder of the android wear watch, and chmod 644 all apks with adb/terminal or change permissions to rw,r,r and change the owner to System and the group to System with file manager.
/system/Priv-app Apks -
ES filee explorer https://app.box.com/s/j4u1hiwymkbyvh4py2welvn88puyrn8w
Google Backup transport https://app.box.com/s/tvothkbt7yv0vw3fd6rcuxuf2vwa09qw
Google calendar sync https://app.box.com/s/i4ribv2kta4nhapb93tsesblgm3efvox
Google onetime init https://app.box.com/s/llxqniqy3thddj11g4jletk5qxpduw08
Google partner setup https://app.box.com/s/yg18h5rhs8d3ozdgmd2cufjgkynm55rs
UCBrowser https://app.box.com/s/misbdk8dg2nw1pz01ik8zrhxemvk5v9l
PlayStore https://app.box.com/s/cndzlazkq1z3599u39r842ocn7addlra
2.-Reboot watch to recovery and wipe dalvik and cache partitions.
3.- delete and move the dummy apks to system/priv-app folder
Google Play Store dummy apk https://app.box.com/s/thyhe4fscsbfnzacjpzh8ee5ufz5t8wu
UC Browser dummy apk https://app.box.com/s/epbyt8q2s1un5weigxeugphglbrjo01z
4.- Install these apks with ES file explorer -might not need to install all apks but that's what I use
Apks- https://app.box.com/s/rf5870pwmaeym7i132tlf5nt7uho72eg
4.- Reboot watch twice
Let me know how it goes!
Reserved
Hello,
thanks for this. But I need help.
I get this message: "com.google.process.gapps has stopped". Can you help me please ?
Thanks
mister-gwada97one said:
Hello,
thanks for this. But I need help.
I get this message: "com.google.process.gapps has stopped". Can you help me please ?
Thanks
Click to expand...
Click to collapse
Did you get apks installed ok?
iAppleDev said:
Did you get apks installed ok?
Click to expand...
Click to collapse
Yes I got all intalled ok. I did everything as you said.
I can't figure out what's wrong.
Does UCBrowser open and work?
"Google play services has stopped to work" after this process. I can´t get uc browser or play store working (installing as user apps as shown at step 3) If I move it to priv-app, UC browser works, but playstore´s still crashing. I don´t understand the dummy apks and its purpose...
If I install the dummy and before the user app UC browser, it doesn´t work. It needs to be pushed on priv-app to get networking
iAppleDev said:
Does UCBrowser open and work?
Click to expand...
Click to collapse
I got UC Browser working in system/app folder.
prototovsky said:
"Google play services has stopped to work" after this process. I can´t get uc browser or play store working (installing as user apps as shown at step 3) If I move it to priv-app, UC browser works, but playstore´s still crashing. I don´t understand the dummy apks and its purpose...
If I install the dummy and before the user app UC browser, it doesn´t work. It needs to be pushed on priv-app to get networking
Click to expand...
Click to collapse
Yes I guess it needs to be done first! If you use /system/app mover to move playStore to system then after it reboots install the newer PlayStore apk as an user with ES file explorer then delete the play store apk on the system/priv-app folder and add the older dummy apk again and it should work! I think it needs to be installed to system for real first then update it then move the older dummy apk to /system folder after you've updated it, the point of the dummy apk is to save space! if you want you could just leave the real apk in the System/folder
iAppleDev said:
Yes I guess it needs to be done first! If you use /system/app mover to move playStore to system then after it reboots install the newer PlayStore apk as an user with ES file explorer then delete the play store apk on the system/priv-app folder and add the older dummy apk again and it should work! I think it needs to be installed to system for real first then update it then move the older dummy apk to /system folder after you've updated it, the point of the dummy apk is to save space! if you want you could just leave the real apk in the System/folder
Click to expand...
Click to collapse
I don´t understand the steps. If I install something outside from priv-app, it won´t work on network, that´s a fact. I think google play services must be in priv-app also with play store and other google apps, but I don´t have space enought on /system partition (the play store crashes saying google play services has stopped, and I cannot install play services as user app because it says that already exists). Why it already exists? Must I delete the default Android wear Play services and replace with this new package? And what´s the installation order?
1- Install the dummy as user app and move it to /system with permissions, etc.
2- Reboot and install the real google play apk as user app
3- Reinstall the dummy on /system again (mantaining the real Gplay as user app and getting free space on /system)
Is this?
I only got UC browser working while being on priv-app, but nothing with play store... Really I´m trying to get it working
Yes any apps in the system folders get networking! And if you update that app it moves it to /data and still works as long as an dummy apk is in system folder. And yes I might have use the adb -r command to install play services or threw ES file explorer as an update? I'm not to sure
iAppleDev said:
Yes any apps in the system folders get networking! And if you update that app it moves it to /data and still works as long as an dummy apk is in system folder. And yes I might have use the adb -r command to install play services or threw ES file explorer as an update? I'm not to sure
Click to expand...
Click to collapse
Then, how I update an app for save space on /system? And how I install new play services without corrupting anything?
And what´s adb -r command for?
Sorry for all of that questions, but I´m interested in learning And thanks for all!
Have you tried to install play services apk with ES file explorer or threw adb? Android wear has play services installed already so it's just an update! It's called prebuiltGmsCoreForClockworkWearable.apk on my watch and is in the priv-app folder!
you have to install the app or apps to the /system/priv-app or /system/app folder first - you can use the app /system/app mover or adb or terminal or file manager. then you need to use ES File explorer and install an newer version of the same app and it will be updated and re-installed to the /Data partition where there is more space, it does not remove the apk from the /system folders but it's not used only checked for and wastes space so that's why the dummy apk is used. If you don't want to install other apps to system then just install PlayStore or UCBrowser and leave it in system but there isn't much space 30+mb.
adb install -r package.name.apk reinstalls the app without replacing the data like an update.
Ahh I found what was going on I forgot an apk GoogleAccountManager.apk it don't need to be in the system folder but if you reset the watch it will get deleted too unless it's in the system folder!
Can you upload it please? I'll try it
@iAppleDev : Hello, is there a way to store google contacts directly on the watch please ?
mister-gwada97one said:
@iAppleDev : Hello, is there a way to store google contacts directly on the watch please ?
Click to expand...
Click to collapse
Nope
iAppleDev said:
1.- Move all these apks to the /system/priv-app folder of the android wear watch, and chmod 644 all apks with adb/terminal or change permissions to rw,r,r and change the owner to System and the group to System with file manager.
/system/Priv-app Apks -
ES filee explorer https://app.box.com/s/j4u1hiwymkbyvh4py2welvn88puyrn8w
Google Backup transport https://app.box.com/s/tvothkbt7yv0vw3fd6rcuxuf2vwa09qw
Google calendar sync https://app.box.com/s/i4ribv2kta4nhapb93tsesblgm3efvox
Google onetime init https://app.box.com/s/llxqniqy3thddj11g4jletk5qxpduw08
Google partner setup https://app.box.com/s/yg18h5rhs8d3ozdgmd2cufjgkynm55rs
UCBrowser https://app.box.com/s/misbdk8dg2nw1pz01ik8zrhxemvk5v9l
PlayStore https://app.box.com/s/cndzlazkq1z3599u39r842ocn7addlra
2.-Reboot watch to recovery and wipe dalvik and cache partitions.
3.- delete and move the dummy apks to system/priv-app folder
Google Play Store dummy apk https://app.box.com/s/thyhe4fscsbfnzacjpzh8ee5ufz5t8wu
UC Browser dummy apk https://app.box.com/s/epbyt8q2s1un5weigxeugphglbrjo01z
4.- Install these apks with ES file explorer -might not need to install all apks but that's what I use
Apks- https://app.box.com/s/rf5870pwmaeym7i132tlf5nt7uho72eg
4.- Reboot watch twice
Let me know how it goes!
Click to expand...
Click to collapse
Hi, may I ask, what is the purpose of doing this? Is it for times when Android Wear becomes unstable?
I have put the apps to /system/priv-app. I chmod-ed them to 644. But i am not able to change user/group.
when in sdcard/Downloads the files are shown as root:sdcard_r. chown system:system filename result in no error, but ls -al still delivers root:sdcard_r
after putting the files in system/priv-app i am shown to have no rights to change user/group (no rights to write on system?). I dont know how to get these rights. Standard linux code doesnt work, necessary commands not integrated in wear?
In the file manager of twrp i dont find any option to change user/group. ES File Explorer is installed, but activation of root explorer returns an error. And yes, the device IS rooted
Edit:
When in /system/priv-app by adb shell su the files are shown root/root as user/group.
So the whole procedure results in:
I can start ES File Explorer (only through native GUI, not wear mini launcher, dont know why) - but i am not able to install an apk by it. Every try results in no app/no gesture. Now i am stuck...
Edit:
Ok, i made it by TWRP/Terminal. baaaaad work with that smaaaall keyboard and big fingers...
but it doesnt look as if that was the big point. File Explorer still cant get root explorer and i still cant install apps...
iAppleDev said:
1.- Move all these apks to the /system/priv-app folder of the android wear watch, and chmod 644 all apks with adb/terminal or change permissions to rw,r,r and change the owner to System and the group to System with file manager.
/system/Priv-app Apks -
ES filee explorer https://app.box.com/s/j4u1hiwymkbyvh4py2welvn88puyrn8w
Google Backup transport https://app.box.com/s/tvothkbt7yv0vw3fd6rcuxuf2vwa09qw
Google calendar sync https://app.box.com/s/i4ribv2kta4nhapb93tsesblgm3efvox
Google onetime init https://app.box.com/s/llxqniqy3thddj11g4jletk5qxpduw08
Google partner setup https://app.box.com/s/yg18h5rhs8d3ozdgmd2cufjgkynm55rs
UCBrowser https://app.box.com/s/misbdk8dg2nw1pz01ik8zrhxemvk5v9l
PlayStore https://app.box.com/s/cndzlazkq1z3599u39r842ocn7addlra
2.-Reboot watch to recovery and wipe dalvik and cache partitions.
3.- delete and move the dummy apks to system/priv-app folder
Google Play Store dummy apk https://app.box.com/s/thyhe4fscsbfnzacjpzh8ee5ufz5t8wu
UC Browser dummy apk https://app.box.com/s/epbyt8q2s1un5weigxeugphglbrjo01z
4.- Install these apks with ES file explorer -might not need to install all apks but that's what I use
Apks- https://app.box.com/s/rf5870pwmaeym7i132tlf5nt7uho72eg
4.- Reboot watch twice
Let me know how it goes!
Click to expand...
Click to collapse
Do you have root for this? If so how have you granted access if superuser doesnt work yet? Also how do you change the groups? And do the apks need to be in a folder in system/priv-app like they are in our phones? I moved all the apks but none of them installed I have TWRP but im still trying ti work out my root on Sony Smartwatch 3

Categories

Resources