Related
I love the speed of Cyan's Rom, but I hate the HTC camera. Video is always choppy. I don't think I had this problem with the default camera.
Is it possible to swap the cameras?
bittermormon said:
I love the speed of Cyan's Rom, but I hate the HTC camera. Video is always choppy. I don't think I had this problem with the default camera.
Is it possible to swap the cameras?
Click to expand...
Click to collapse
ADB commands to switch out the .apk's of the camera and camcorder with the "default" camera from another build (most likely JF's because that's all Google)
lukekirstein said:
ADB commands to switch out the .apk's of the camera and camcorder with the "default" camera from another build (most likely JF's because that's all Google)
Click to expand...
Click to collapse
ummm, thanks for the reply, but did you mean to list the ADB commands? have playd a little with this in the past but haven't had any luck, so any help would be appreciated. As for now I think I am going to reformat to ext2 and play with Haykuro's Ion r1 for a day or 2.
if you ALREADY HAVE the camera.apk you want to install...then good. IF NOT, go download JF1.51 and pretty sure it will have the Google version camera.apk...MAKE A NANDROID BACKUP BEFORE YOU BEGIN!! I AM NOT RESPONSIBLE FOR ACCIDENTS! This is a simple procedure, so please pay attention and do this carefully, Its not my fault if your phone gets bricked. That being said, i have done this more than once and never bricked my phone. THAT being said, I CANNOT GUARANTEE YOU THE SAME RESULTS, SO PLEASE! PLEASE! BACKUP YOUR DEVICE AND YOUR DATA BEFORE ATTEMPTING THIS!
First go into terminal on your device and type:
Code:
su
mount -o rw,remount -t yaffs2, /dev/block/mtdblock3 /system
rm /system/app/camera.apk
rm /system/app/HTCAlbum.apk
this removes the HTC versions from your phone. Then just go ahead and push the google version camera.apk. The adb commands are:
Code:
adb push /exact/path/to/your/camera.apk /system/app
remember, DO NOT type "/exact/path/to..." replace this line with the path on your computer where you have the camera.apk, for example,
/Desktop/Android/camera.apk is where mine would be...
then thats it. FYI, the HTC version has a separate gallery, the HTCAlbum.apk...THE GOOGLE VERSION DOES NOT HAVE A SEPARATE .APK FOR THE GALLERY. once you have pushed to google camera.apk you SHOULD have the camera and gallery and all...Good Luck!
-BMFC
bmfc187 said:
MAKE A NANDROID BACKUP BEFORE YOU BEGIN!!
Click to expand...
Click to collapse
Where's the fun in that??
bmfc187 said:
FYI, the HTC version has a separate gallery, the HTCAlbum.apk...THE GOOGLE VERSION DOES NOT HAVE A SEPARATE .APK FOR THE GALLERY.
Click to expand...
Click to collapse
I think that's what threw me off in the first place. Thanks for the help, I think I'll give it a shot after I get sick of Ion.
bittermormon said:
Where's the fun in that??
Click to expand...
Click to collapse
If you mess up sometimes you're screwed
bmfc187 said:
once you have pushed to google camera.apk you SHOULD have the camera and gallery and all...Good Luck!
-BMFC
Click to expand...
Click to collapse
Ok so here's the problem I have had in the past, and am still having. I backed up and remover the HTC CAmera and HTCAlbum, but even after I push Camera.apk from JF's ROM, it doesn't show up. No Camera and no Gallery.
Having the same problems. I'd also like to restore the stock camera application, but after replacing the apk and so files from the JF1.51 build (and rebooting), neither Camera nor Gallery appears in the app drawer.
Any thoughts?
rogers dream
hi!
does anyone know if this procedure will work fine on a Rogers Dream? Should replacing the apk files work okay?
Thanks!
silvrhat
silvrhat7 said:
hi!
does anyone know if this procedure will work fine on a Rogers Dream? Should replacing the apk files work okay?
Thanks!
silvrhat
Click to expand...
Click to collapse
Nandroid Backup, do it and if it fails just restore backup. There's no reason it shouldn't.
I'm running Cyan 4.0.2 and I'm trying to push the camera.apk from the rooted T-Mobile builds and when I push the files and try to install the apk it says it can't be installed on this phone. Do I need to push the .odex files also? Another thing, what are the commands for console to delete the data/data files for the htc stuff?
Anyone know why I can't push the stock camera to cyan 4.0.2?
How are you going about it? Are you using console or are you trying to use the package installer?
Copy the old camera file from an old rom. I found one with the JF1.5 build.
mount /dev/block/mtdblock5 /data
mount /dev/block/mmcblk0p1 /sdcard
rm -r /data/app_s/HTCCamera.apk
rm -r /data/app_s/HTCCamera.odex
mv /sdcard/Camera.apk /data/app_s
This will delete the HTC camera and put the old one back. The ODEX file should be created once the .apk file installs. Hope this helps!
it says HTCCamera.apk couldn't be found
What rom are you using?
EDIT: Try this -- Using Cyan4.0.1 (I assumed that you were using JacxHeroski1.5r2..my bad!)
[cpde]mount /dev/block/mtdblock3 /system
mount /dev/block/mmcblk0p1 /sdcard
rm -r /system/app/Camera.apk
rm -r /system/app/Camera.odex
mv /sdcard/Camera.apk /system/app[/code]
I'm using 4.0.2 (pretty much the same as 4.0.1) but shouldn't I have to remove the gallery.apk also? What about the folders in /data/data? Should I remove those too?
I'm looking at the file structure and can't find there is a /data/data. As far as the gallery you shouldn't need to (didn't realize that it was updated.) But if you'd like to push that it would be:
Code:
mount /dev/block/mtdblock5 /data
mount /dev/block/mmcblk0p1 /sdcard
rm -r /system/app/HTCCamera.apk
rm -r /system/app/HTCCamera.odex (may or not be there)
mv /sdcard/Camera.apk /system/app
I've been looking and cannot find anything regarding a Gallery/Album.apk. But it should be able to use the Gallery that's already installed. Let me know how it goes.
ThR1LL said:
I'm running Cyan 4.0.2 and I'm trying to push the camera.apk from the rooted T-Mobile builds and when I push the files and try to install the apk it says it can't be installed on this phone. Do I need to push the .odex files also? Another thing, what are the commands for console to delete the data/data files for the htc stuff?
Click to expand...
Click to collapse
They're folders i believe.
Try "rmdir foldername"
bmfc187 said:
if you ALREADY HAVE the camera.apk you want to install...then good. IF NOT, go download JF1.51 and pretty sure it will have the Google version camera.apk...MAKE A NANDROID BACKUP BEFORE YOU BEGIN!! I AM NOT RESPONSIBLE FOR ACCIDENTS! This is a simple procedure, so please pay attention and do this carefully, Its not my fault if your phone gets bricked. That being said, i have done this more than once and never bricked my phone. THAT being said, I CANNOT GUARANTEE YOU THE SAME RESULTS, SO PLEASE! PLEASE! BACKUP YOUR DEVICE AND YOUR DATA BEFORE ATTEMPTING THIS!
First go into terminal on your device and type:
Code:
su
mount -o rw,remount -t yaffs2, /dev/block/mtdblock3 /system
rm -r /system/app/camera.apk
rm -r /system/app/HTCAlbum.apk
this removes the HTC versions from your phone. Then just go ahead and push the google version camera.apk. The adb commands are:
Code:
adb push /exact/path/to/your/camera.apk /system/app
remember, DO NOT type "/exact/path/to..." replace this line with the path on your computer where you have the camera.apk, for example,
/Desktop/Android/camera.apk is where mine would be...
then thats it. FYI, the HTC version has a separate gallery, the HTCAlbum.apk...THE GOOGLE VERSION DOES NOT HAVE A SEPARATE .APK FOR THE GALLERY. once you have pushed to google camera.apk you SHOULD have the camera and gallery and all...Good Luck!
-BMFC
Click to expand...
Click to collapse
This is what I tried to do at first but it kinda failed
nolimit78 said:
I'm looking at the file structure and can't find there is a /data/data. As far as the gallery you shouldn't need to (didn't realize that it was updated.)
I've been looking and cannot find anything regarding a Gallery/Album.apk. But it should be able to use the Gallery that's already installed. Let me know how it goes.
Click to expand...
Click to collapse
i think i figured out the data command its like
Code:
rm -r /data/data/com.android.camera
rm -r /data/data/com.htc.album
or something like that
There's a few default apps I'd like to remove (work email, email etc. stuff I know I'll never use). Can anyone tell me if this is possible? And if so, how do I do it?
Thanks!
Funkstar De Luxe said:
There's a few default apps I'd like to remove (work email, email etc. stuff I know I'll never use). Can anyone tell me if this is possible? And if so, how do I do it?
Thanks!
Click to expand...
Click to collapse
Hey, Give this a go - this is how i do it. (Not to sure what Work Email APK is can't seem to find how its named.
So you need to mount the filesystem for read/write.
Code:
adb remout
Just to be on the safe side you can pull the apk so you have it as a backup..
Code:
adb pull /system/app/Email.apk Email.apk.bak
And now you can go delete the apk...
Code:
adb shell rm /system/app/Email.apk
And another one becuase amazon mp3 is useless...
Code:
adb shell rm /system/app/com.amazon.mp3.apk
Now all you need to do is just reboot
Code:
adb shell reboot
And they have gone
If you need some help on adb take a look here, http://forum.xda-developers.com/showthread.php?t=532719
Great, thanks! Can you tell me how I go about finding which .apk is related to which app?
Funkstar De Luxe said:
Great, thanks! Can you tell me how I go about finding which .apk is related to which app?
Click to expand...
Click to collapse
Its all in the names of the apk, Best way to look at them would to be download 'Astro' off of the market and search the /system/app dir there
ls system/sd/app
and
ls/system/app
will give you listings of all apps, you will usually have a pretty good idea which apk is where (just by looking at names, it will be something like com.xxxx.xxxxx.apk where some of the xxxx will be app name)
It is usually a good idea to refresh your dalvik-cache at the same time so after you're done nuking unneeded apps type
rm -r /system/sd/dalvik-cache
reboot
It will take a while for a reboot because system will rebuild all odex files.
Obviously all of this needs to be done in su mode and back up your existing state just to be safe.
Good luck.
Hello,
I did a search and could not find anything. Is there an app available on the Market to remove stock apps from Android? I know there is a terminal command I can use but I have to input the command every time Cyan releases a new build.
Just wondering if there was an easier solution.
Thanks!
Resign the rom after you extact what you don't want, or any root explorer will delete the files after you change it to r/w instead of read-only.
also with root access just go into terminal and mount your phone as rw and remove them that way
There is an app called .... SU something or other. It is a file browser with read/write permissions. You can install/uninstall all sorts of apps, including system apps, or so says the creator.
I haven't tried it yet since it is a paid app and I can do them for free through terminal... but it seems like a good app!
here is the link to the thread he has here on XDA
http://forum.xda-developers.com/showthread.php?t=530271
Try GScript
Ssantos6981 said:
There is an app called .... SU something or other. It is a file browser with read/write permissions. You can install/uninstall all sorts of apps, including system apps, or so says the creator.
I haven't tried it yet since it is a paid app and I can do them for free through terminal... but it seems like a good app!
here is the link to the thread he has here on XDA
http://forum.xda-developers.com/showthread.php?t=530271
Click to expand...
Click to collapse
Thanks, I will look into that. Sounds like that is exactly what I am looking for.
.PaNiNi. said:
also with root access just go into terminal and mount your phone as rw and remove them that way
Click to expand...
Click to collapse
Thats what I have been doing. I want to avoid having to run the terminal commands every time I flash a new cyan update.
Looking for a more automated solution.
Thanks though!
.PaNiNi. said:
also with root access just go into terminal and mount your phone as rw and remove them that way
Click to expand...
Click to collapse
What are the comands exactly thru terminal emulator to remove stock apps like amazon?
g1g said:
What are the comands exactly thru terminal emulator to remove stock apps like amazon?
Click to expand...
Click to collapse
su
mount -o rw,remount /system
rm -r /system/app/com.amazon.mp3.apk
rm -r /data/data/com.amazon.mp3
exit
exit
I would say use GScript to do it, but an app could be work. Select the programs you want to remove then it runs the scripts to remove it then reboot your phone. But you want to be careful removing certain apps, it could make your phone unstable or not work.
Never really saw the need to remove these apps other than not seeing them. Never saw a big difference in performance of my phone.
I've used GScript and the following script to remove useless (to me, anyway) apps from every Cyanogen ROM with no problem.
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
rm /system/app/com.amazon.mp3.apk
rm /system/app/AlarmClock.apk
rm /system/app/Calculator.apk
rm /system/app/Development.apk
rm /system/app/Email.apk
rm /system/app/Mail.apk
rm /system/app/LatinIME.apk
rm /system/app/Music.apk
rm /system/app/Talk.apk
rm /system/sd/app/teeter.apk
reboot
There's no noticeable boost in performance, other than a few MB increase in free space and a tidier app drawer, I don't know if any of the apps use system resources unless they're opened. It's mainly for aesthetics. AFAIK, these are the only apps you can delete without crippling the phone's essential functions. I know you can remove /system/app/LatinIME.apk ONLY if you use HTC_IME.apk and never try to uninstall it. The log collector in Cyanogen's ROMs is also safe to delete as long as you don't care about easy log collecting (ie not having to use logcat in terminal or adb).
try this app
antirock said:
Hello,
I did a search and could not find anything. Is there an app available on the Market to remove stock apps from Android? I know there is a terminal command I can use but I have to input the command every time Cyan releases a new build.
Just wondering if there was an easier solution.
Thanks!
Click to expand...
Click to collapse
try this it works for me REMOVED LINK TO A KNOWN WAREZ SITE
Can anyone tell me how to remce IM I just don't like that app and can't FIGURE IT OUT plz help
tuppaacc said:
Can anyone tell me how to remce IM I just don't like that app and can't FIGURE IT OUT plz help
Click to expand...
Click to collapse
You can't. From what I have experienced, you can remove IM.apk with no problem, but not ImProvider.apk, as removing it breaks the ROM (massive FC's). The icon for the app still shows up in the app drawer, as it's part of ImProvider.apk, but clicking it does nothing. Your best bet it to use Irrenhaus's Advanced Launcher and just hide the icon.
rob.turner said:
You can't. From what I have experienced, you can remove IM.apk with no problem, but not ImProvider.apk, as removing it breaks the ROM (massive FC's). The icon for the app still shows up in the app drawer, as it's part of ImProvider.apk, but clicking it does nothing. Your best bet it to use Irrenhaus's Advanced Launcher and just hide the icon.
Click to expand...
Click to collapse
Yeah! I remove the im.apk but the icon still there thanks anyways I almost removed the improvider.apk but I read in some other forums it would damage my rom. Thanks for the heads up tho
erase message app?? factory one!?
is there any way you can delete the original message (white envelope) without fuccin up my messages.. im using handcent sms... and i use my blacklist..but i hate tha other messaging program since it still shows it
i dont wanna use private sms.. so dont mention it..
anywho..just get at me!
Again, just use the Advanced Launcher (I swear I'm not affiliated with the project in any way, it's just an awesome mod) and hide it, and be sure to turn off message retrieval and notifications in the stock messaging app's options. Deleting any stock app that has to do with core functions of the phone (IM, messaging, browser, phone, etc.) is never a good idea, you're just asking for problems if you do. The apps listed in my other post in this thread are pretty much the only stock apps you can delete without causing problems.
saprano614 said:
try this it works for me REMOVED LINK TO A KNOWN WAREZ SITE
Click to expand...
Click to collapse
First and final warning.
Read the rules of this forum prior to posting links to apps
I would LOVE to be able to remove the Music program. If I have my bluetooth headset on with phone and media enabled it plays a file every time I hang up. It drives me NUTS. If I disable the BT media it doesn't happen, but then I don't hear the notifications in the headset...
Does anybody know if it's okay to remove the stock music program?
Thanks again for all the help on here.
Siegel
I finally got adb working and tried:
adb uninstall Music.apk
and I just get a failure.
I apologize for my total noobness, but I saw this:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
rm /system/app/com.amazon.mp3.apk
rm /system/app/AlarmClock.apk
rm /system/app/Calculator.apk
rm /system/app/Development.apk
rm /system/app/Email.apk
rm /system/app/Mail.apk
rm /system/app/LatinIME.apk
rm /system/app/Music.apk
rm /system/app/Talk.apk
rm /system/sd/app/teeter.apk
reboot
How do I use that?
Thanks,
Siegel
I have a Motorola Cliq, Also a G1. I was wondering. Is there a way to pull an APK from an unrooted phone? I can "adb shell" into the phone and look at it's contents. I see the APK i want to copy but since i don't have root, it says "CP Permission Denied"... Is there a way of pulling or copying an APK if the phone is not rooted???
Did you try adb remount first?
Karolis said:
Did you try adb remount first?
Click to expand...
Click to collapse
yes, I tried ADB remount but it doesn't work... I can do adb devices and it'll show but it won't mount it as rw... it just lists the contents but can't copy,move,pull or push.
Where is the apk located? If it's in /system and it's read-only in theory you should still be able to pull it. Don't know why you're using 'cp' rather than adb pull.. If it's in data/app-private then no you won't be able to pull it. Hence the ADP1 has root but can't download paid apps (to prevent piracy)..
Solved
I tried CP, MV, PULL, PUSH... nothing worked because the phone is not rooted... BUT I SOLVED THE PROBLEM!
Here's what my goal was. My wife got a Motorola Cliq. It came with the TeleNav program and i wanted to put it on my G1... I couldn't get it out because the phone's not rooted....
I fixed the problem though...
I installed ASTRO File Manager on the Motorola Cliq, located the APK and used the e-mail option to e-mail it to myself... that actually worked... woot woot!
Installed it on the G1 and it works like a charm... so now I have Turn by Turn directions on my G1.
follow up question because i'm attempting to do the same thing, just trying to extract the apk. where exactly did you find that file using astro, i've been looking but haven't seen it
jbearamus said:
follow up question because i'm attempting to do the same thing, just trying to extract the apk. where exactly did you find that file using astro, i've been looking but haven't seen it
Click to expand...
Click to collapse
Apps should be in /data/app.
Also, you could have used ADB
Code:
adb pull /data/app/app.to.pull.apk C:\apps
Ooglez said:
Apps should be in /data/app.
Also, you could have used ADB
Code:
adb pull /data/app/app.to.pull.apk C:\apps
Click to expand...
Click to collapse
now i understand the fact that i have a different device may screw things up, but when i look in the data file it says "directory is empty" and when i executed that command via cmd prompt it says remote object...does not exist
the new google maps in market hs turn by turns as well...
Problem solved through other means, thanks for the help!
Hi all,
Was not really sure where to put this apologies if its the wrong place.
I recently created my own analog clock, I'm using CM7 RC0, I simply replaced the clock background .png in the original desktopclock.apk, renamed it, signed it and then installed it through filemanager.
Now, it works fine! I was very happy, until I rebooted my phone today, got back onto the desktop and it had reset to the original anolog clock! Tried it again and sure enough everytime I reboot I have to reinstall the .apk!
Anybody have any idea why on earth this would happen?
Many thanks,
Sean
This was originally brought to my attention with the HTC_IME mod by Jonasl. I installed a themed version over the top of the one already installed by default in /system/app and on reboot the original (quite frankly ugly) keyboard was back...
for some reason I do not know, you have to manually un-install the previous version. Don't know why...
use this http://forum.xda-developers.com/showthread.php?t=644909
to un-install the original apk for the clock, then push your app into /system/app using adb. reboot and it should all be sorted... I hope.
Great stuff, thank you for your help. Now I wonder how to do this using linux, I will look into it, at least I know what the problem is
wiiija said:
Great stuff, thank you for your help. Now I wonder how to do this using linux, I will look into it, at least I know what the problem is
Click to expand...
Click to collapse
I'm on linux right now, and I did this to remove my stock messaging app not 3 hours ago...
Just open up your terminal and use adb, assuming you have the androidsdk on your computer...
If you don't it's going to be a little harder, you're going to have to find a root exploring file manager and delete the analog clock app from /system/app and then you're going to have to put the new one there AFTER rebooting.
If you want adb just ask and I'll tell you how to get it.
1. download the android sdk from http://dl.google.com/android/android-sdk_r12-linux_x86.tgz
2. open up the .tgz and extract it to /home/-your_user_name/androidsdk
3. open up terminal and type
su
PATH=$PATH:/home/-your_user_name/androidsdk/tools
adb
adb devices <-------(make sure your device is connected and in debug mode. If that fails just boot into recovery)
qiuness said:
adb shell
su
cd /system/app
mount -o rw,remount /system
rm -r analogclock.apk
Click to expand...
Click to collapse
4. install your new, themed app
abd push /path/to/your/app.apk /system/app
5. reboot.
Brilliant guys thank you very much, its all sorted, easy once you know how