Installing stock apps on CM6 - Nexus One Q&A, Help & Troubleshooting

CM6 truly is full of awesome. Some people (like me) just tend to prefer stock counterparts over custom software. To be specific, I want to install the stock Launcher and Music apps. ADW Launcher and the modified music player are good, but as a UX Designer, I find the stock counterparts smoother at the moment.
I got the apks of the two apps from the stock Froyo zip, but they can't be installed. How do I install stock apps on CM6?

anthro said:
CM6 truly is full of awesome. Some people (like me) just tend to prefer stock counterparts over custom software. To be specific, I want to install the stock Launcher and Music apps. ADW Launcher and the modified music player are good, but as a UX Designer, I find the stock counterparts smoother at the moment.
I got the apks of the two apps from the stock Froyo zip, but they can't be installed. How do I install stock apps on CM6?
Click to expand...
Click to collapse
Did you try to push them to the /system/app folder? Also, this should be in q&a, not in the dev section.

Some of us are noobs, what is the correct advice comands to push these files.
Sent from my Nexus One

Mi|enko said:
Did you try to push them to the /system/app folder? Also, this should be in q&a, not in the dev section.
Click to expand...
Click to collapse
This is weird. Pushing didn't work. Both ADW Launcher and the custom music app are still here...

anthro said:
This is weird. Pushing didn't work. Both ADW Launcher and the custom music app are still here...
Click to expand...
Click to collapse
They have different names. Pushing DOES work. You have to uninstall ADW and music app with rm commands.
Code:
adb shell rm /system/app/ADWLauncher.apk
Not entierly sure but the same goes for Music app...
The stock music app is called MusicGoogle.apk
The Cyanogen is just called music.apk.
so..
Code:
adb shell rm /system/app/music.apk
Remember to push the other files before removing these apk's..

Always MAKE A BACKUP before removing any APK file, or any other file for that matter.
Code:
adb pull /system/app/ADWLauncher.apk backups/ADWLauncher.apk
adb shell rm /system/app/ADWLauncher.apk
adb push backups/Launcher2.apk /system/app

Sindroid said:
They have different names. Pushing DOES work. You have to uninstall ADW and music app with rm commands.
Code:
adb shell rm /system/app/ADWLauncher.apk
Not entierly sure but the same goes for Music app...
The stock music app is called MusicGoogle.apk
The Cyanogen is just called music.apk.
so..
Code:
adb shell rm /system/app/music.apk
Remember to push the other files before removing these apk's..
Click to expand...
Click to collapse
I just successfully rm-ed ADWLauncher.apk and Music.apk and pushed Launcher2.apk and MusicGoogle.apk. Unfortunately, I just lost ADWLauncher and the custom Music apps.
Installing the apks still don't work, btw.
Any idea?

Put them in your tools folder, then
cd/
cd/androidsdk/tools
adb remount
adb push whatever.apk /system/app
If you see numbers, it's pushed. If you want to remove stock apps
adb devices
adb shell
rm /system/app/whatever.apk
Sent from my Nexus One using XDA App

blas4me said:
Put them in your tools folder, then
cd/
cd/androidsdk/tools
adb remount
adb push whatever.apk /system/app
If you see numbers, it's pushed. If you want to remove stock apps
adb devices
adb shell
rm /system/app/whatever.apk
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
Done that. Pushed the apks of the apps I want and removed what I dont. Now, either of the launchers and Music apps appear to be "installed"

i want to install the stock mp3 player in the custom ROM.
I hav apk's and .odex's of the stock firmware.
I copy pasted the mp3 player's apk and odex files into the system/app folder in r/w mode (used root explorer).
But still i dint get the stock mp3 player installed in my device.
What do i do ?
How can i get the stock mp3 player working in teh custom rom?
Pls help.
Thank u

Related

Champion v2 problem

My text messaging isnt working anymore why is this the rom is super fast for me i love it but i cant get text messages any one having same prob? or know of a solution?
im on this rom and dont have this problem...try pushing a Mms.apk from another hero build
how do you do that?
Code:
adb remount
adb push [directory on your computer that contains the Mms.apk]/Mms.apk /system/sd/app_s/Mms.apk
adb shell reboot
someone correct me if that is the wrong location
since i am going to assume you do not have adb though
go into the recovery terminal and type
Code:
mount -o rw /dev/block/mmcblk0p2 /system/sd/app_s
cd system/sd/app_s
rm Mms.apk
reboot
then have the Mms.apk from another build on your sdcard(fat32) and install it via astro or some other package installer
again someone correct me if that is the wrong location because i am not on a hero build right now or i would confirm the directories myself
Im pretty sure u cant install system apps with astro. Either try the super user file browser from the market, terminal, or adb
pistol4413 said:
Im pretty sure u cant install system apps with astro. Either try the super user file browser from the market, terminal, or adb
Click to expand...
Click to collapse
i have installed AlarmClock.apk and the modified Mms.apk by rgv151 with astro after deleting the original one with astro, but then again maybe i am special lol

[Question] Stock Launcher?

Hey Everyone
Well i Just Flashed the new CM6 And i love it =D....But
I like the Stock Froyo Luncher
Not a real big Fan of ADW...so is there any way to get the Stock Luncher Back On the NO CM6
Thank for all the help
Download the Launcher2.apk
Put it in the tools folder of your sdk.
Then from command
adb remount
adb push Launcher2.apk /system/app
adb reboot
This will replace and remove ADW after reboot.
Won't replace it.. Will only add it.
you need to remover ADW too as well as push.
adb remount
adb shell rm ADWLauncher.apk/system/app
It replaced it for me when I pushed L2. Adw was gone and there was no listing in the settings.
thanks u guys are the best =D

question about removing apps from ROMS: easy way?

hi, i just had an idea and idk if this has been posted before, so if it has been posted, im sorry.
instead of using terminal emulator, is it possible for me to go into the .zip of the ROM and delete the apps i do not want in the /system/app folder? i want to know if it will "screw up" the ROM and make it unflashable in my hero's recovery. it takes me too long to remove all the apps i want in terminal emulator and think it would be faster doing it the way i described.
**if this question sounds extremely stupid, then im sorry, im still somewhat of a noob at all this rooting stuff**
The zip's have to be signed in order to be flashed. You cannot just open them, modify them, rezip and install. Find out how to sign the OS zip and you can modify all you want.
thanks for answering, thats all i wanted to know
make a bat
open note pad and paste this:
Code:
adb remount
adb shell rm system/app/*Stock*
adb shell rm system/app/IM.apk
adb shell rm system/app/*Facebook*
adb shell rm system/app/Flickr.apk
adb shell rm system/app/Sprint_Navigation.apk
adb shell rm system/app/Sprint_NFL.apk
adb shell rm system/app/Sprint_Nscar.apk
adb shell rm system/app/HTCNew.apk
adb shell rm system/app/com.htc.TwitterWidget.apk
adb shell rm system/app/com.htc.FriendStreamWidget.apk
adb shell rm system/app/com.damaged.DConfig.apk
adb shell rm system/app/HtcTwitter.apk
adb shell rm system/app/HtcFacebook.apk
adb shell rm system/app/FriendStream.apk
the add or remove lines accordingly, substitute one apk for another if you want then save as a .bat file (mine is named removeapks.bat) place in the tools folder if you wish, flash a rom once booted run the .bat file and poof theyre gone
alexnaoumi said:
thanks for answering, thats all i wanted to know
Click to expand...
Click to collapse
There's a tool written in Java that makes signing zip's really easy. It's included in a suite of apps called AndroidMod.zip
Once you have it, the syntax to sign the new zip is simple. Just:
java -jar signapk.jar testkey.x509.pem testkey.pk8 Inputfile.zip outputfile.zip
Or you can get "root manager" from market which does a lot including removal of unwanted system apps.
Sent from my HERO200 using XDA App
I think Fresh Pre kitchen does it also.
Titanium backup is what I use. Haven't had any trouble using it.
Moved to Q&A.
alexnaoumi said:
hi, i just had an idea and idk if this has been posted before, so if it has been posted, im sorry.
instead of using terminal emulator, is it possible for me to go into the .zip of the ROM and delete the apps i do not want in the /system/app folder? i want to know if it will "screw up" the ROM and make it unflashable in my hero's recovery. it takes me too long to remove all the apps i want in terminal emulator and think it would be faster doing it the way i described.
**if this question sounds extremely stupid, then im sorry, im still somewhat of a noob at all this rooting stuff**
Click to expand...
Click to collapse
I like Root Manager also because there is a "multi-select" option so you can select all of the files you'd like to delete. For the "/system/app" folder you can mount as "read/write", then delete the files. I then reboot into recovery, wipe the cache and Dalvick cache, and reboot. I've had no issues doing this. It's not so much how you delete, rather than what you delete. The forums here at XDA (as well as others that you can Google) that tell you what apps are safe to delete and which should remain untouched. As long as you don't delete an apk that is critical to ROM, you should be okay.
bombaatomica said:
The zip's have to be signed in order to be flashed. You cannot just open them, modify them, rezip and install. Find out how to sign the OS zip and you can modify all you want.
Click to expand...
Click to collapse
Since this is my first post, and I cannot post links, do a search on "modaco zipsigner". This is the utility I found for re-signing zip files, and it has worked flawlessly for me.

[Q] where to i push an .apk too?

when pushing an .apk through adb, where to i push it? for example, you put in the .apk file name
com.fede.launcher.v.0.8.1.1.apk/system/???
i don't know where to push it to get it on my hero lol.
can anyone plz help me noob self out?
Where you push it to is completely situational.
If you want the application to be a "system" app you would push it to /system/app/
Code:
adb remount
adb push ./appnamehere.apk /system/app
Like for example a Home such as the one you wrote - LauncherPro.
Otherwise you can push apps to /data/app - which is where most of your market downloaded/non-market (unknown source) apps get installed to.
Code:
adb push ./appnamehere.apk /data/app
(the rest go to /data/app-private but that doesn't matter here)
ok thanks so much for the reply! i will do that. and since i want to put in a new launcher i have to remove the old one first?
You could keep the old one there if you wanted, but if you're never going to use it you might as well remove it

[Q] Stock Captivate Mms.apk on Assonance

So I've recently installed Assonance and have it to the point where I'm almost happy, but I would like to use the stock Captivate Mms.apk. Is this possible? I've tried sending the stock Captivate Mms.apk to the system/app directory, but that did not work.
Thanks for your help.
This is a shameless bump. If it helps anyone, I've also tried to install it via adb, install it via a file explorer from SD, and run it from the system directory with root explorer, all to no avail.
Are you using one from JK3? Or one from Assonance before it had the AOSP MMS? It should work fine. Just push it to /system/app.
MikeyMike01 said:
Are you using one from JK3? Or one from Assonance before it had the AOSP MMS? It should work fine. Just push it to /system/app.
Click to expand...
Click to collapse
I was trying the one from the stock 2.1. I assume that's where my issue lies?
So I found the JK3 ROM and extracted Mms.apk from it, and pushed it to /system/app via adb. I get "Could not launch the requested activity." trying to open it via Launcher Pro. Trying to install it with Root Explorer I get "Application not installed."
Any ideas?
Thanks for you help thus-far.
I'm sorry for posting three times in a row, but at this point I highly doubt anyone is going to reply to this thread unless I bump it.
Does anyone have any ideas at all? I'd really like this solved.
Thank you for your time.
Try this:
adb push Mms.apk /sdcard/
adb shell
su
busybox mount -o rw,remount /system/
cd /system/app
rm Mms.apk
cd /sdcard/
cp Mms.apk /system/app
exit
exit
exit
MikeyMike01 said:
Try this:
adb push Mms.apk /sdcard/
adb shell
su
busybox mount -o rw,remount /system/
cd /system/app
rm Mms.apk
cd /sdcard/
cp Mms.apk /system/app
exit
exit
exit
Click to expand...
Click to collapse
Thanks for your continued assistance, but unfortunately, I get the same issue with that method. I guess I'll just live with the AOSP Mms.apk, unless you have any other ideas
Also, I love the ROM and might have to give Serendipity a try sometime soon.
EDIT: I got it working using the Mms.apk you provided in your Serendipity thread. Thanks for your help again

Categories

Resources