[Q] Installing System Apps - Nexus S Q&A, Help & Troubleshooting

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.

Related

Rooted, trying to reinstall deleted Stock.apk

I had a questions about restoring the deleted Stocks app. I rooted with the new unrevoked last night and then installed Titanium to remove apps. I prematurely removed the Stocks app and I have been trying to get it back since.
I've tried multiple routes, from this Wildefire thread http://forum.xda-developers.com/showthread.php?t=738147 I tried the apk via adb and Root Explorer. Neither worked.
Then I downloaded the stock odexed EVO rom from this thread http://forum.xda-developers.com/showthread.php?t=874251, grabbd the stock.apk and moved it to my \system\apps folder with Root Explorer. I've restarted, tried clearing the Dalvik Cache, pushing it via adb, none have worked.
Right now it's still sitting in the \system\app folder.
I wanted to see if there was anything else I can try to get it back? Or am I doing something wrong?
Thanks in advance.
I take it you are running stock Rom. I think the best way is to make a nandroid of the stock Rom that you are running, with ClockworkMod. Once done download Myn's Rom or sprint lovers. Both of this Rom's have the stock Sprint apps. When flashing the Roms, please, make sure to use Rom Manager and flash ClockworkMod, than flash Amo-ra; is located at the buttom as an alternate recovery. Than once you flash the Rom, let it load, than flash clockworkMod again, than go into recovery, than restore,advance restore, select the newest nandroid, and just restore data. This will give you all the stock apps. OR just try this.
http://forum.xda-developers.com/showthread.php?t=832388
Here are some more apk's.
http://forum.xda-developers.com/showthread.php?t=901393
grab the apk out of the stock rom you have, then in adb do this
adb remount
adb push Stock.apk /system/app
if you need to push the odex do this also
adb push Stock.odex /system/app
the important thing is the remount to make the system/app read write
you can go to the rom file open the file then open system then open app and add the apk you want and reload the rom into the phone that sit more simple
ifly4vamerica said:
grab the apk out of the stock rom you have, then in adb do this
adb remount
adb push Stock.apk /system/app
if you need to push the odex do this also
adb push Stock.odex /system/app
the important thing is the remount to make the system/app read write
Click to expand...
Click to collapse
I did the above while booted in recovery mode with the system mounted. It successfully went in the system/app folder. I see it in Root Explorer, although it still doesn't show up in the apps menu. Oh well.
baker2gs said:
I did the above while booted in recovery mode with the system mounted. It successfully went in the system/app folder. I see it in Root Explorer, although it still doesn't show up in the apps menu. Oh well.
Click to expand...
Click to collapse
Yeah it doesn't work right if you are in recovery because it messes with permissions I heard. Just do it with phone plugged in to computer and on. If that doesn't work you can try deleting the apk and then using
Adb remount
Adb install stock.apk
Don't know if these will work but worth a try. Last resort is find a flashable zip that writes something to system/app and drop the apk in there.
Evo Sent
ifly4vamerica said:
Yeah it doesn't work right if you are in recovery because it messes with permissions I heard. Just do it with phone plugged in to computer and on. If that doesn't work you can try deleting the apk and then using
Adb remount
Adb install stock.apk
Don't know if these will work but worth a try. Last resort is find a flashable zip that writes something to system/app and drop the apk in there.
Evo Sent
Click to expand...
Click to collapse
When I run that command with the phone on charge mode with debugging on plugged into the computer I get a "remount failed: Operation not permitted".
I installed the Sync drivers and tried it with that but it didn't work either.
Any suggestions? Thanks for your help by the way.
baker2gs said:
When I run that command with the phone on charge mode with debugging on plugged into the computer I get a "remount failed: Operation not permitted".
I installed the Sync drivers and tried it with that but it didn't work either.
Any suggestions? Thanks for your help by the way.
Click to expand...
Click to collapse
I can't help with that, never ran in to that problem before, are you nand unlocked and s-off?
ifly4vamerica said:
I can't help with that, never ran in to that problem before, are you nand unlocked and s-off?
Click to expand...
Click to collapse
Yes to both, I have been trying to do research on it. It may be the stock rom...
I tried some workarounds but they didn't work. Thanks for your help.
baker2gs said:
Yes to both, I have been trying to do research on it. It may be the stock rom...
I tried some workarounds but they didn't work. Thanks for your help.
Click to expand...
Click to collapse
No problem, sorry I couldn't help.
Evo Sent
Just an update, I tried the .zip route you suggested. I created a Titanium back up and threw the Stock.apk in the zip. I ran the update.zip in recovery. It placed Stock.apk in the system/app folder but the app still does not appear in the apps menu. Thanks again.

How to push apk to system partition?

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.

[Q] Frustrated with theme install

Hello all,
I have a Rogers Xperia play, 2.3.3. (UK firmware, already rooted).
Locked bootloader, and sim lock, so I can't use the SE website to unlock. Hence I can't get to fastboot, and use any kind of clockwork mod recovery etc..
I made a theme in the UOT kitchen. I provided my framwork-res, and SystemUI files to the site.
How the F#$% do I install this theme? I've read some instructions on using ADB (http://forum.xda-developers.com/showthread.php?t=1065789), but last time I tried that (ADB itself works correctly and sees my phone) using a theme on the Xperia Play forum, my phone went in a reboot loop.
I'd like to avoid having to reinstall my apps again, yes I know I can get a backup application, but that's not the point of this thread
Any advice on how to install this would be appreciated.
Same here but with sim unlocked, Sony Ericsson Xperia Play Rooted 2.3.3 bootloader locked ,i tried 6 times ,3 times without changing permissions ,3 with changing permissions and no result i only managed to change the SystemUI.apk to work and not get in the bootloop and the framework-res.apk makes the phone get in the bootloop
same problem here.......Waiting for a newbie tutorial
Have to tried using root explorer to install your theme? It's really easy to do I had a hard time using adb to install my theme too I kept going into bootloop but once I used root explorer got it installed in a few minutes
Sent from my R800i using XDA App
just copy the .apk's to the platform-tools folder, fire up adb and type in
adb remount
adb push framework-res.apk /system/framework
adb push systemui.apk /system/app
adb reboot
Done
thatsupnow said:
Have to tried using root explorer to install your theme? It's really easy to do I had a hard time using adb to install my theme too I kept going into bootloop but once I used root explorer got it installed in a few minutes
Sent from my R800i using XDA App
Click to expand...
Click to collapse
I tried it aswell but I also got a boot loop.
I'm confused about these permissions :S
GetPatriotized said:
I tried it aswell but I also got a boot loop.
I'm confused about these permissions :S
Click to expand...
Click to collapse
You will get a bootloop, if the theme you are tying to install, has an incompatible framework.... You should always make sure the theme is made for your firmware version, as for the permissions, its only if you use root explorer, if you use adb the correct permissions will already be set
AndroHero said:
You will get a bootloop, if the theme you are tying to install, has an incompatible framework.... You should always make sure the theme is made for your firmware version, as for the permissions, its only if you use root explorer, if you use adb the correct permissions will already be set
Click to expand...
Click to collapse
I'm on 2.3.3 UK with Rogers Xperia Play.
I'm using root explorer because I'm lost with ADB
If that's the case the make sure you set permissions rw-r--r-- before you move them into the proper folders. Have fun dude
Sent from my R800i using XDA App
Just to ad to @thatsupnow's post, move them to /system first and then set permissions there and then move to the correct folder as he said. That should keep you out of bootloop as long as you use compatible themes or your own cooked framework/systemUI as @androhero also mentioned
Regards Dousan...
I JUST MANAGED TO INSTALL A THEME WOOhOO
now how to do it:
1.copy the SystemUi.apk,framework-res.apk etc. on you SD Card
2.Use a File Explorer that can change permissions (I used Root Explorer from market,pm me for a link if you don't have money to buy it)
3.Copy SystemUi.apk to /System not /system/app and there change the permissions to rw-r--r-- (Be carefull , i accidentaly left rw-r--r-x and it didn't work)
4.Now replace the SystemUi.apk from system/app/ with the one from /system/
5.You will need to restart the phone (i couldn't because many Force Closes so i removed the battery then placed back) and now you have the new Notification Bar
6.Now do the 2-3-4-5 steps with framework-res.apk and this time the phone will restart itself after you copy it.
Where SystemUi.apk and Framework-res.apk go:
SystemUi.apk => /system/app
Framework-res.apk => /system/framework
AndroHero said:
just copy the .apk's to the platform-tools folder, fire up adb and type in
adb remount
adb push framework-res.apk /system/framework
adb push systemui.apk /system/app
adb reboot
Done
Click to expand...
Click to collapse
On a side note to this I had a little fun with ninjamorph and changed colors on some .png's in both systemui and framework-res and ended up with nearly all my apps fc'ing. Couldn't get adb to remount and got a permissions denied error. Then did a adb shell instaed and that worked. Check link for command's:
http://forum.xda-developers.com/showpost.php?p=13984118&postcount=3
Regards Dousan...
How to I change it to rw-r--r-- ?
Like what format is that?
I'm in the pop op where it shows the 9 boxes.
Owner,group,others etc. do you have a picture or something?
GetPatriotized said:
How to I change it to rw-r--r-- ?
Like what format is that?
I'm in the pop op where it shows the 9 boxes.
Owner,group,others etc. do you have a picture or something?
Click to expand...
Click to collapse
User-Group-Others- rw-r--r--

[MOD] Black & white Emoji on system font

If you ever wondering what your iPhone/Mac friends were sending you, wonder no more.
To install: You need root! Download the .ZIP attached to this thread. Make a backup first of the following fonts under your /system/fonts folder! If you don't find some of these in your /system/fonts folder, don't worry.
DroidSansArabic.ttf
DroidSansFallback.ttf
DroidSansHebrew.ttf
DroidSansThai.ttf
gcsh00d-hkscs.ttf
Then, extract the zip to the /system/fonts folder and replace all fonts it tells you to replace. That's it!
For those of you who have your phone plugged in to your computer and prefer a command line, extract the ZIP to an ADB folder. Open a command prompt in the directory and then type:
adb shell
su
mount -o remount rw /system
chmod 777 /system/fonts
adb push DroidSansArabic.ttf /system/fonts/
adb push DroidSansFallback.ttf /system/fonts/
adb push DroidSansHebrew.ttf /system/fonts/
adb push DroidSansThai.ttf /system/fonts/
adb push gcsh00d-hkscs.ttf /system/fonts/
I'm thinking of modding some other system fonts with these files I found, I will update this thread if I ever do. Enjoy.
Nice. Thank you so much, this kicks all sorts of ass.
This is amazing.
Does this replace the stock smileys or is there a way for us to insert them?
Mms.apk with Emoji support
I lifted the MMS apk from AOKP, which is modified from cm9. Has full emoji support baked right in.
https://www.dropbox.com/s/0btrygelu5004f2/Mms.apk
You have to go in to settings and enable emoji support.
how do i install it. when i try to it says an existing package by the same name with a conflicting signature is already installed
Darealshht said:
how do i install it. when i try to it says an existing package by the same name with a conflicting signature is already installed
Click to expand...
Click to collapse
I used es file explorer. The messaging app is stored in /system/app
Just backup the old messaging app by renaming the file extension to .apk.bak or something, and then drop the mms.apk in to the /system/app folder. Make sure permissions are set to -rw-rw-rw. Reboot the phone when finished.
Edit: You'll need to have root access, and have "Root Explorer" and "Mount File System" enabled in es file manager.
thanks works well
Thanks! I tried changing the fonts but it did not change anything for me. I replaced the MMS.apk and it looks great.
im having problems sending MMS when i try it just doesnt even show up it just disappears as soon as i hit send
Darealshht said:
im having problems sending MMS when i try it just doesnt even show up it just disappears as soon as i hit send
Click to expand...
Click to collapse
Blast, you're right. I hadn't tried sending an MMS yet but the same thing happens when I try. I'll mess around with it a bit when I'm off work and see what I can do.
Edit: I didn't do anything, and it seems to be working now. I sent a couple of test MMS messages, and they just straight up disappeared...but then when the person I sent them to replied they all just magically reappeared. Now it seems to be working fine.
Mine is working fine too. Try reinstalling the app.
Sent from my HTC One X using Tapatalk 2
its still not working for me after the person replied :/ did u reboot your phone?
---------- Post added at 01:54 PM ---------- Previous post was at 01:47 PM ----------
reinstalled rebooted and still nothing :/
There was a second file called message with an extension ".odex" I moved that one out as well. I reboot the phone too.
After putting the new mms.apk in make sure you reboot the phone. Good luck.
Sent from my HTC One X using Tapatalk 2
still not working idk what else to do
Can you send regular sms messages? If not try downloading tha apk again. Force stop the app and clean cache.
Sent from my HTC One X using Tapatalk 2
Darealshht said:
still not working idk what else to do
Click to expand...
Click to collapse
Try this - it didn't work for me until I tried inserting a picture from an app other than the gallery. I tried sending two pictures from the gallery, neither of them appeared. I then tried attaching a image using ES file explorer instead, and that one didn't appear immediately, but it did show up after a moment. After that, I had no trouble attaching an image from the gallery app.
Just wanted to say thanks to you guys. I got it to work after reinstalling it thru the download manager. I have a question. There's a software update for my phone from at&t but when I try to install it it says there was a problem with my software. I'm new to android so is it because I'm rooted? If so can I unroot to upgrade?
Do not update, unless you do not want root again.... Well at least for a while.
Sent from my HTC One X using Tapatalk 2
Either way I can't because it won't update for someone reason
I have follow all the steps and now can type emoji but there is another problem: My HTC One X can't display traditional chinese and korean character Could you help me with a solution?

Spice Stellar MI 500

Hi, I have a spice stellar mi 500. i tried rooting the phone which worked fine and then I tried removing some of the system apps like Rail yatra,, facebook, dhingana. i was able to remove them and then i finally booted my device. Since then I am getting the error "unfortunately system UI has stopped working" I am not able to open apps or receive calls. the system hangs. not even able to unroot the phone now as any apps will hang. even the control bar does not slide from the top. I am screwed. I have tried factory reset several times. in all different ways like from with system recovery or android settings. but i guess i am out of luck. can someone help me. :crying::crying::crying::crying::crying::crying::crying::crying:
depanakar said:
Hi, I have a spice stellar mi 500. i tried rooting the phone which worked fine and then I tried removing some of the system apps like Rail yatra,, facebook, dhingana. i was able to remove them and then i finally booted my device. Since then I am getting the error "unfortunately system UI has stopped working" I am not able to open apps or receive calls. the system hangs. not even able to unroot the phone now as any apps will hang. even the control bar does not slide from the top. I am screwed. I have tried factory reset several times. in all different ways like from with system recovery or android settings. but i guess i am out of luck. can someone help me. :crying::crying::crying::crying::crying::crying::crying::crying:
Click to expand...
Click to collapse
You have most probably messed the systemUI.apk which is located in /system/app or files associated with it. Did you remove any other apk's in which you weren't sure what it does?
In this case, Factory reset won't work because it just wipes user data and /system partition remains in tact. The nearest possible thing to do is to flash a stock ROM if exists or copy the deleted apk's borrowing from some one else's phone and place those apk's in /system/app partition setting the correct permission.
I remember exactly what I deleted. I I uninstalled Dhingana.com, Facebook and Rail yatra. I cannot start third party apps though I can install them. So I am not sure how to place the systemUI.apk in the directory /system/app. Can it be done through inbuilt file manager?
depankar said:
I remember exactly what I deleted. I I uninstalled Dhingana.com, Facebook and Rail yatra. I cannot start third party apps though I can install them. So I am not sure how to place the systemUI.apk in the directory /system/app. Can it be done through inbuilt file manager?
Click to expand...
Click to collapse
Nope, I guess not possible through default file manager. You have to use ES File Explorer File Manager or Root Explorer to place it in /system/app and change its permissions to rw-r-r.
coolsandie said:
Nope, I guess not possible through default file manager. You have to use ES File Explorer File Manager or Root Explorer to place it in /system/app and change its permissions to rw-r-r.
Click to expand...
Click to collapse
it get an error when i try yo copy the file to \system\app\. the error is copy failed. i am doing this with supersu previelege using esexplorer
coolsandie said:
Nope, I guess not possible through default file manager. You have to use ES File Explorer File Manager or Root Explorer to place it in /system/app and change its permissions to rw-r-r.
Click to expand...
Click to collapse
I tried replacing systemUI.apk to \system\app folder using esexplorer but i got error. error: copy failed.
is there a possibility I can get hold of a stock rom and flash it using update from SD card. the default android update manager?
depankar said:
I tried replacing systemUI.apk to \system\app folder using esexplorer but i got error. error: copy failed.
is there a possibility I can get hold of a stock rom and flash it using update from SD card. the default android update manager?
Click to expand...
Click to collapse
Make sure you've mounted the /system partition as R/W before attempting to Copy or setting permissions.
coolsandie said:
Make sure you've mounted the /system partition as R/W before attempting to Copy or setting permissions.
Click to expand...
Click to collapse
now how do i do that ? sorry for my questions.

Categories

Resources