How to remove htc camera for stock - G1 Q&A, Help & Troubleshooting

I dont know if its been posted...because there are so many post but how do you remove the htc camera that everybody is throwing in their roms to get the stock camera back...i really dont like the htc one! Can someone help

hekuiman said:
I dont know if its been posted...because there are so many post but how do you remove the htc camera that everybody is throwing in their roms to get the stock camera back...i really dont like the htc one! Can someone help
Click to expand...
Click to collapse
you can grab the Camera.apk from whichever build you have and push it into system/app

Just so you know, to push it through terminal terminal (or adb), place that apk on your sdcard:
Code:
su
mount -o rw,remount /dev/block/mtdblock3 /system
rm -r /data/app/HtcCamera.apk
cp /sdcard/Camera.apk /system/app/HtcCamera.apk
You can get the stock camera from JF1.5. Also, you will want to open the update.zip of your current build to check if the apk is called 'Camera.apk' or 'HtcCamera.apk'

Thanks guys!

Related

Installing Launcher.apk [SOLVED USING APPS INSTALLER]

I can't use adb, please don't call me a noob.
I want to install rogro82 modified launcher.
http://forum.xda-developers.com/showthread.php?t=538871&page=10
there's a code in the thread to install using terminal, but it doesn't work.
Can anyone please provide the code to install through terminal.
Thanks!
put it on your sdcard
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cp Launcher.apk /system/app
reboot
try that?
You dont even need the code. Just put the .apk into your sd,download Linda File manager or OI file manager, and install with that. It works like a charm. I myself used Linda.
Thanks, but just found out. (also thanks futango )
You can install it using AppManager... since it's .apk.
So far I have ZERO problems too!
Ah ok, didn't think it would work though ...because it installs to /data/app. Eh whatever. good job getting it to work. Switch thread title please.

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

HOWTO: Custom boot animations on NON-ROOTED phones.

You need adb working.
Download http://www.multiupload.com/SVHPN9AINF into your tools dir of your sdk (/home/jcase/android-sdk/tools/ - c:\android-sdk\tools\ something like that)
go to command line, and change your dir to the tools dir of your sdk
cd /home/jcase/android-sdk/tools - or something like that
run adb push
adb push bootanimation.zip /data/local/
reboot phone. This will override the boot animation in /system/media
Enjoy.
-jcase
yay! first post
and install. works. +1 rep.
Thanks Jcase will try when I get home
Any way to backup the original incase I would like to go back?
adb shell rm /data/local/bootanimation.zip will do it.
the boot process looks in /data/local/ THEN in /system/media. So, if you remove the one you put in /data/local, the original is STILL in /system/media, and is displayed.
Would this work for the Nexus boot animation as long as we change the name of the zip to bootanimation.zip ?
here's the link to the nexus one: sendspace.com/file/0qwx4v
why is it that enevthough I am rooted i get this error when attempting to copy to /system/media?
C:\Users\Derek\Documents\Droid root\android-sdk-windows\tools>adb push bootanimation.zip /system/media
failed to copy 'bootanimation.zip' to '/system/media/bootanimation.zip': Read-on
ly file system
mattoxic,
if its in the right format it should
derekm2j,
mount it as read/write
mount -o rw,remount /dev/block/mtdblock3 /system
or push to data/local
jcase said:
mattoxic,
if its in the right format it should
derekm2j,
mount it as read/write
mount -o rw,remount /dev/block/mtdblock3 /system
or push to data/local
Click to expand...
Click to collapse
thanks a million my linux is a little rusty. now why would it say no space left on device? I know I dont have to do it this way but the blasted thing is telling me no. Therefore, i want to do it this way.
Ok, this must be for 2.1. Cause I am on 1.5 and it will not work. I keep getting the same boot screen.
Chev, not rooted yet?
Nope, just a little chicken$hit. If there was a way to go back I would.
I have a way back to 1.5 if needed, but it doesnt replace the bootloader.
jcase said:
I have a way back to 1.5 if needed, but it doesnt replace the bootloader.
Click to expand...
Click to collapse
You have my attention .
I will post details
Where can I get different boot animations? I'm not sure if i like the Nexus one boot animation much.
Thank you! Works for me!
Question-
Can something like this be done for the Lockscreen?
Chevelle1768 said:
Any way to backup the original incase I would like to go back?
Click to expand...
Click to collapse
The original bootanimation.zip is under /system/media. You dont really need to back it up if you are doing this the non-root way. Just delete /data/local/bootanimation.zip to revert to the original boot animation.
jadesdan said:
Thank you! Works for me!
Question-
Can something like this be done for the Lockscreen?
Click to expand...
Click to collapse
Nope. Need r/w access to /system for that. Need root.
here's a great site with a ton of boot animations for this way
droidboots.com/downloads/boot-animations/
I'm using the nexus one now and it works great.

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] 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