How to push apk to system partition? - Nexus S Q&A, Help & Troubleshooting

Im coming from a Samsung Vibrant which was my first android phone and I loved it. Now this Nexus S has found my heart but for some reason whenever I try to push an app such as the touchwiz launcher to system/app it moves the app to that folder but for some reason it doesnt install even after reboot. I tried to even reset defaults in the launcher but that was a no go. What am I doing wrong? I am running NSCollab.

try
adb install <path_to_apk>
if its on the same folder as your adb then just type the .apk

that will only install it to SD card, not SYSTEM partition
to install to SYSTEM you will need to include the APK to the ROM to be flashed

aamir123 said:
Im coming from a Samsung Vibrant which was my first android phone and I loved it. Now this Nexus S has found my heart but for some reason whenever I try to push an app such as the touchwiz launcher to system/app it moves the app to that folder but for some reason it doesnt install even after reboot. I tried to even reset defaults in the launcher but that was a no go. What am I doing wrong? I am running NSCollab.
Click to expand...
Click to collapse
Cant you just manually place it there with some like root explorer and manually install it?

I'm just getting to add an apk to an existing rom, I'll try adb install a lil later. But to me its odd since on the vibrant all I had to do was push to system partition and restart
Sent from my Nexus S using XDA App

bringonblink said:
Cant you just manually place it there with some like root explorer and manually install it?
Click to expand...
Click to collapse
yes...place it in the "system/app" folder
you will see all the other apk native to your ROM in that same folder
you may have to fix permissions (r,w/r/r)

rubbamade said:
yes...place it in the "system/app" folder
you will see all the other apk native to your ROM in that same folder
you may have to fix permissions (r,w/r/r)
Click to expand...
Click to collapse
I have fixed permissions and everything but still its a no go. I dont get it, when I try to install in that directory it doesnt install. I figure this is a nexus S thing? Can anyone confirm this working?

I am running CM7 btw and after flashing my vibrant with it I am no longer able to push to system/app in order to install apk. Is this a problem or feature of CM7?

Reboot after changing permission. Btw, what app are you pushing?
Sent from my Nexus S using XDA Premium App

markfavis said:
Reboot after changing permission. Btw, what app are you pushing?
Sent from my Nexus S using XDA Premium App
Click to expand...
Click to collapse
I tried pushing a modded version of the touchwiz launcher from the vibrant, theres a thread here somewhere in which someone was able to push without problems.
Edit: I tried rebooting but still not working. I also tried pushing a video player which others have successfully pushed and was unable to get that working either.

Related

[Q] Installing System Apps

Hi! I searched the forums, but didn't see any answers regarding to this.
I'm trying to install the moded versions of SMS and Phone/Contact apps found in Cyanogenmod ROM over stock 2.3.4.
What I did was to extract Contacts.apk, Mms.apk, and Phone.apk from one of CM releases and copied the APK files to /System/Apps/ via Root Explorer (set it from R/W to R/O) and rebooted the phone, but there was no change.
I then tried to install them (from the same /System/Apps/ location) through Root Explorer, but it doesn't let.
Any help would be much appreciated.
If you are trying this you need to check/change permission on each app...the phone.apk will not work though I've tried and got force closes. The dialer and mms apks will work though. The best way to do this is to push via adb. If you don't have sdk and knowledge of the basic adb and shell commands I would highly reccomend becoming familiar with them.
Sent from my Nexus S 4G using Tapatalk
I have sdk and worked with adb before to root my phone. I'll do some research on how to install apps via adb.
Thank you.
umbrae said:
I have sdk and worked with adb before to root my phone. I'll do some research on how to install apps via adb.
Thank you.
Click to expand...
Click to collapse
Just put the apps on your tool folder and enter the following commands....
adb push "your.apk" system/app
Sent from my Nexus S 4G using Tapatalk
Thanks again. I did that and got confirmation that the files were copied, but the new Mms, for example, wasn't installed.
I tried using "install" command after, but it wouldn't let me. I got a message saying that the file already exists.
I changed the permission and everything, too.
Any ideas?
umbrae said:
Thanks again. I did that and got confirmation that the files were copied, but the new Mms, for example, wasn't installed.
I tried using "install" command after, but it wouldn't let me. I got a message saying that the file already exists.
I changed the permission and everything, too.
Any ideas?
Click to expand...
Click to collapse
That's odd...I usually don't have to change permissions when I push an app. What version of the cm7 mms apk are you using? I used it from the stable 7
Sent from my Nexus S 4G using Tapatalk
sunder74 said:
That's odd...I usually don't have to change permissions when I push an app. What version of the cm7 mms apk are you using? I used it from the stable 7
Click to expand...
Click to collapse
I was using Nighties, but I'll try the latest stable 7. Downloading now.
Just to clarify what I did:
First, used the "adb push" method you suggested and the apk files were copied to system/app. I rebooted, but nothing had changed. I then tried to install the copied files via Root Explorer, but it wouldn't let me. I changed R/O and then Permissions, but still couldn't install.
Then I tried "adb install", but it said file already exists. I changed R/O then Permissions, but still couldn't.
After that, I deleted Mms.apk and Contacts.apk and tried all the methods described above again, but still nothing. The apps weren't installed and I kept getting FC.
Lastly, I manually copied the files again via Root Explorer (changed R/O then changed Permission), but still no change and couldn't install.
Hopefully CM 7 packages I'm downloading would work.

S-Voice from Galaxy S III

I found this bad boy, either install or push to system/app
http://www.mediafire.com/?m7mu6pdt0b63dul
Sent from my SAMSUNG-SGH-I727 using xda premium
DANIEL133337 said:
I found this bad boy, either install or push to system/app
http://www.mediafire.com/?m7mu6pdt0b63dul
Sent from my SAMSUNG-SGH-I727 using xda premium
Click to expand...
Click to collapse
I tried to install and it won't, so I pushed to system/app where is the icon I cant find it anywhere.
Its a rar file, how would we install?
Sent from my SAMSUNG-SGH-I727 using XDA
Kenneth.Torres said:
Its a rar file, how would we install?
Sent from my SAMSUNG-SGH-I727 using XDA
Click to expand...
Click to collapse
Theres an apk file if u extract it but wont install.
Link dead?
Sent from my SAMSUNG-SGH-I727 using xda premium
Not working on Skyrocket with SkyICS 4.2E-2 with latest ICS 4.0.4 UCLE2.
App executes.. give first command and FC,s.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Works on mine
Working here. Move to system, set permissions, and install are the steps that got it working on my skyrocket. Sky ICS UCLA4 Latest + Modem. Nice visuals.
momulah said:
Working here. Move to system, set permissions, and install are the steps that got it working on my skyrocket. Sky ICS UCLA4 Latest + Modem. Nice visuals.
Click to expand...
Click to collapse
First time I tried installing like any other app .. did not install !!
Second time copied to system/app and set permissions using Root Explorer .. rebooted phone, cleared cache and dalvik .. and like I said before, executes .. give first command and FC's.
So .. don't know what you did different .. LOL
LordGeek said:
First time I tried installing like any other app .. did not install !!
Second time copied to system/app and set permissions using Root Explorer .. rebooted phone, cleared cache and dalvik .. and like I said before, executes .. give first command and FC's.
So .. don't know what you did different .. LOL
Click to expand...
Click to collapse
On pc open up file with winzip or winrar and go into lib and armeabi and copy the .so file onto sdcard. Using root explorer copy .so file into system/lib fix permissions and restart phone and all should be ok. I have heard of people having to find their voice talk and voice command files and delete them because they were conflicting with s-voice.
Installed just fine for me from apk. Works pretty good. But once you say a command it stops it doesn't continue listening.
Sent from my I727 using XDA
Installs fine, opens fine, scribes the command you say fine.. But the moment you try and touch any button or click the command you entered it just crashes. And i set permissions...
razorhog said:
On pc open up file with winzip or winrar and go into lib and armeabi and copy the .so file onto sdcard. Using root explorer copy .so file into system/lib fix permissions and restart phone and all should be ok. I have heard of people having to find their voice talk and voice command files and delete them because they were conflicting with s-voice.
Click to expand...
Click to collapse
first thing i did was rename vlingo.apk to .old, and voicetalk.apk to .old. tried copying in the new voicetalk.apk, no luck off the bat, got in, got through the setup screen but force closes after that. Just tried moving the .so file in and wiping the cache's and fixing permissions. still getting a force close. suggestions?
edit: clearing app cache seems to have fixed it, even tried that woodchuck thing. impressive.
edit 2: iphones recognition seems to be about as accurate for what I tried, however it did come up with the answers far quicker.
Here is a new link for those interested. Its a regular apk
https://hotfile.com/dl/156330651/3d66185/S-Voice.apk.html
Sent from my SAMSUNG-SGH-I727 using xda premium
Really nice, can't wait to see it take off
Sent from my SAMSUNG-SGH-I727 using XDA
kannonball2290 said:
Here is a new link for those interested. Its a regular apk
https://hotfile.com/dl/156330651/3d66185/S-Voice.apk.html
Sent from my SAMSUNG-SGH-I727 using xda premium
Click to expand...
Click to collapse
Same issues getting it to work without FC'ing - same suggestions above apply? Going to mess with it but don't have a lot of free time today and tomorrow
So after a bit of playing around i figured out that if you push it to the system/app folder and fix the permissions, then go back in the system/app folder and install the apk like a normal app, its been working fine. Had one FC since, but working 100% better then before. Goodluck!
Sent from my SAMSUNG-SGH-I727 using Xparent ICS Blue Tapatalk 2
Working 100% on cm9 alpha 3...it's a pretty neat feature to have
Sent from my SGH-1727
ROM: CM9
http://forum.xda-developers.com/showthread.php?p=26300180#post26300180
Used the directions from this thread, work well!
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
fastest way
1) put on SD card
2) use root explorer (or whatever app you use, copy file to system/app
3) set permission (RW- R-- R--)
4) reboot
5) look in app drawer and open. works fine hasn't force closed yet.
If you tried another way and it failed you must delete the one out of your system/app, reboot and then follow the steps exactly.
yes you must be on ICS
Im using Alien ICS ★ Build #8 ★ it works great
thanx romracer

How to Add Apps to a Phone?

Ok not sure if this is the right place or what but im a go ahead anyway, i was looking at some custom roms and i notice that some roms had the DownloadproviderUI.apk i tried pulling it and putting it on my phone but nothing i keep getting error messages that the file cant be something.(sorry)
the apk was running on the Triumph and i have a Triumph but its on a custom rom im running a Stock and it cam from a CM7 so is it possible to port the apk file to Stock and how if anything?
The stock rom should have a apk handler with it also, are you trying to download apps from browser and install them? If so just go to settings. Then application . Click unknown resources hit ok, best to have a file explorer to find downloads and install
Sent from my WX435 using xda app-developers app
henslo said:
The stock rom should have a apk handler with it also, are you trying to download apps from browser and install them? If so just go to settings. Then application . Click unknown resources hit ok, best to have a file explorer to find downloads and install
Sent from my WX435 using xda app-developers app
Click to expand...
Click to collapse
No really like that, I know how to do that im talking about if i wanted to take a app from the CM7 roms apk file then add it to my SD card and download it to my phone (i know ill still have to do what you said also) but when i do it says "problem parsing the package" but it comes from a triumph rom so how doo i get this to work on the stock roms?
Hmm, just needing the DownloadproviderUI.apk from cm7? Extract from zip then try pushing it to system/apps and fix permissions, then reboot . Should work
Sent from my WX435 using xda app-developers app
henslo said:
Hmm, just needing the DownloadproviderUI.apk from cm7? Extract from zip then try pushing it to system/apps and fix permissions, then reboot . Should work
Sent from my WX435 using xda app-developers app
Click to expand...
Click to collapse
That Would work but how do i get it to stick to a rom? like if i added it to the System/app folder then flashed the rom? I got the ICS Keyboard to work by adding the LIB files within the app its self to the Rom then flashed and that works but this app isn't the same.
What from are you going to flash? If its a cm7, it'll be there won't have to do that. If you want to add your apps before you flash decompile add recompile zip then flash
Sent from my WX435 using xda app-developers app
Google play store
---------- Post added at 09:20 PM ---------- Previous post was at 09:08 PM ----------
add them with android kitchen
There are a few things that are different with the APK's
if its just a plain old third party app APK, then putting it on the sd card and locating and installing with a file explorer of some sort should work fine
If its a system related app that must be in the system with permissions then theres 2 ways, sometimes one way doesnt work
a. simply open the rom's zip and add it to the system/app folder(sometimes after doing this you'll still need to navigate to the folder and hit install usually itll install itself)
b. the trickier one if a. doesnt work, have the apk on the sd, using a file explorer that will allow you to change permissions, change the system folder from read only to read/write move or copy the apk from the sd card to the system/apps folder, Install it, then switch the folder back to read only and reboot
also keep in mind that if your trying to bring an app from CM7 to Stock some probly just wont work, CM7 is gingerbread based while stock is froyo, gingerbread changed how things like texts, data, camera, and hdmi are read by the phone and how they function or where the files are so it may just not work
Tokens210 said:
There are a few things that are different with the APK's
if its just a plain old third party app APK, then putting it on the sd card and locating and installing with a file explorer of some sort should work fine
If its a system related app that must be in the system with permissions then theres 2 ways, sometimes one way doesnt work
a. simply open the rom's zip and add it to the system/app folder(sometimes after doing this you'll still need to navigate to the folder and hit install usually itll install itself)
b. the trickier one if a. doesnt work, have the apk on the sd, using a file explorer that will allow you to change permissions, change the system folder from read only to read/write move or copy the apk from the sd card to the system/apps folder, Install it, then switch the folder back to read only and reboot
also keep in mind that if your trying to bring an app from CM7 to Stock some probly just wont work, CM7 is gingerbread based while stock is froyo, gingerbread changed how things like texts, data, camera, and hdmi are read by the phone and how they function or where the files are so it may just not work
Click to expand...
Click to collapse
How do you get a .apk to execute(or even see it on a sd card in stock device? without market/file browser?
vizionforever said:
How do you get a .apk to execute(or even see it on a sd card in stock device? without market/file browser?
Click to expand...
Click to collapse
you cant, if it was a System apk then Sometimes, you can put it into the correct folder inside a custom roms Zip and itll install itself
otherwise you need to download some type of file manager so you can navigate thru the folders, then just clicking the apk should pop-up and install menu

[Q] XBSALL'S ICS Ported rom 3D Converter problem

Hi everyone,
I'm sort of like new here, I had a problem entering download mode after flashing xbsall's ics ported rom, that's solved now due to some users posting threads with the same problem. Thank you
I noticed that no one is talking about the 3D Converter not working properly, I tried Angry Birds 1 (Space didnt have 3d functionalities under GB and Star Wars appears to be going the same way, I think Rovio is planning on realeasing another trilogy on the 3DS and that is why they took away 3D functionalities for smartphones).
Anyway, Angry birds 1 3D functionalities were not working properly under the 3D converter so I decided to delete the application through root uninstaller in order to be able to install the GB HRZ.apk version. While I was trying to do that, before being able to touch the uninstall feature, I noticed the root uninstaller did something and it deleted the application but in a wrong way. I was not able to install the HRZ.apk posted inside an xda thread because the system was telling me that it was going to replace a system application, bla bla bla and after going for its installation, it gave me the message that the application was not installed.
Through root explorer I deleted every single com.lge.lge3dconverter / hrz file and folder I could find, I cleaned the dalvic cache feature through the ram booster program and after all that, the system was still telling me the same thing as before when I tried to install the HRZ.apk GB app.
What can I do in order to be able to have a perfectly functional 3D Converter application for my games like I had it when I was using the GB rom? :crying:
Thank you in advance...
U cant install (Most of the time) an system app just by clicking on the . apk like a normal app. you have to use a root explorer an copy your app to the folder /system/app and then set permission to it like the other apps in that folder. then you have to reboot
Sent from my LG-SU760 using xda app-developers app
lzzar said:
U cant install (Most of the time) an system app just by clicking on the . apk like a normal app. you have to use a root explorer an copy your app to the folder /system/app and then set permission to it like the other apps in that folder. then you have to reboot
Sent from my LG-SU760 using xda app-developers app
Click to expand...
Click to collapse
Thank you...
I did what you said, I put the HRZ.apk inside the system / app folder through the root explorer program, checked very single permission available and proceeded with the installation through the root explorer program and the same thing happned:crying: it told me app not installed
If you or anyone has any other idea I'm willing to try...
mdn30 said:
Thank you...
I did what you said, I put the HRZ.apk inside the system / app folder through the root explorer program, checked very single permission available and proceeded with the installation through the root explorer program and the same thing happned:crying: it told me app not installed
If you or anyone has any other idea I'm willing to try...
Click to expand...
Click to collapse
adb install nameofapp.apk in debug mode.
Sorry didnt realise it was a system file adb install won't work.
adb push HRZ.apk /system/app
kidkoala_uk said:
adb install nameofapp.apk in debug mode.
Sorry didnt realise it was a system file adb install won't work.
adb push HRZ.apk /system/app
Click to expand...
Click to collapse
Could you give me a link or instructions on how to use the adb program in order to be able to install the HRZ.apk file?
I keep reading and reading about the abd installation over the internet but nothing concrete...
Thanks...
mdn30;3477323 iproceeded with the installation through the root explorer program and the same thing happned:crying: it told me app not installed
If you or anyone has any other idea I'm willing to try...[/QUOTE said:
U don't install system apps! when you have put your apk in the/ system/app DON'T click on it just reboot and you should see your app in the launcher. D
Sent from my LG-SU760 using xda app-developers app
Click to expand...
Click to collapse
lzzar said:
U don't install system apps! when you have put your apk in the/ system/app DON'T click on it just reboot and you should see your app in the launcher. D
Sent from my LG-SU760 using xda app-developers app
Click to expand...
Click to collapse
Thank you, I did what you said, I put the HRZ.apk GB app inside the /system/app and rebooted the phone, nothing happened, I do not *know what launcher are you talking about...sorry for that.
I did something else too, I put the HRZ.apk inside the /system/apps/boot (or bootloader cant remember) folder and managed to see it inside the Application manager app listed as needing an update (maybe its still detecting the ICS 3d converter app badly uninstalled as installed). I tried to update the app and it gave me an error.
Do you or anyone have or has the xbsall's ics 3d converter apk ? If so, can you put that apk version available here as a download, please?
I know it was the one that was giving me problems but if the system is not letting me install the GB 3.0 version, I need the one that came with the rom in order to see if there is another way to fix the problem...
Thank you and thank you guys for your help...

Stock browser

Since we now have root for the verizon s6, is it possible to get the stock browser and smart manager?
In theory. I was wondering the same thing but I've been working all day so I haven't had time to try
Sent from my SM-G920V using Tapatalk 2
THADDIUS25 said:
Since we now have root for the verizon s6, is it possible to get the stock browser and smart manager?
Click to expand...
Click to collapse
Yes, just follow these instructions http://forum.xda-developers.com/gal...xy-s6-apps-t3041330/post59644234#post59644234
Let me know how it turns out!
Just tried this, the app is in the drawer but when I open it just closes.
THADDIUS25 said:
Just tried this, the app is in the drawer but when I open it just closes.
Click to expand...
Click to collapse
And you correctly changed the permissions in the /system/app folder?
Yes
Check your permissions. I did it and it worked for me. Remember that the folders have different permissions than the files.
Did u move it to the priv app folder or the app folder?
Confirmed that when ALL permissions are set properly it works great! The app and the folders have different permissions like the other guy said
Sent from my SM-G920V using Tapatalk 2
THADDIUS25 said:
Did u move it to the priv app folder or the app folder?
Click to expand...
Click to collapse
Just the /System/App folder. Use Root Explorer to do the permission settings. Just match what other random folders/apps permissions look like in the /System/App folder.
Thanks I got it working!!!
**edit**
Got it!
I've created a tutorial here.
I copied to /system/app, changed the permissions of the SBrowser folder, the apk, the lib folder, and each of the files inside the lib folder, but then I get this when I try to install the apk. What am I doing wrong?
Edit: I must have missed the previous post. Got it working now. Thanks!
Anyone have step by step instructions on how to get smart manager working? I followed the s4 thread, but it is not working for me.
I got the FingerPrint AutoComplete working, check out my thread over at XDA Thread Link.
-not very hopeful for this-
any chance, now that people have the stock browser with root, to get it working without root?
I really don't want to root my phone just yet...
levilib said:
-not very hopeful for this-
any chance, now that people have the stock browser with root, to get it working without root?
I really don't want to root my phone just yet...
Click to expand...
Click to collapse
Not likely

Categories

Resources