removing apps force - G1 Q&A, Help & Troubleshooting

is there anyway to remove apps like peeps from hero rom and will it break the system?

Yes there is, you can do it with any app you want and the system will be fine. I use the terminal as it's easiest:
Gain su
Code:
su
First we need to know the name of the apk:
Code:
cd /system/sd/app_s/
ls
This will show you the name of the packages. You could also find that out by opening to zip file of the rom and going to the data/app_s directory if you have a computer near you.
Now remove the .apk and .odex (it may not have an odex file, we'll run the command just incase it does, if it doesn't it will tell you there's no such file, no biggie)
Code:
rm -r name.apk
rm -r name.odex
Some apps like peep also have widgets. Peep's widget is named com.htc.TwitterWidget.apk, so remove that too.

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

how do you delete system applications

im having a problem figuring it out?
hey
you can either find the system.apk you want and adb it out
or recompile the update.zip file and remove the apks you dont want
tho word of warning messing around with system apks can cause some system instabilites
or rm -r /system/app/nameofapp.apk
or you can...
purchase the SUFBS, a rooted browser, from the market.
You can set /system and /data to rewritable with the push of a button and just delete them through the file browser or use the builtin terminal to do it as described above.

How to replace fonts without USB?

I like to use Helvetica, so every time I flash a new cyanogen ROM, I find myself having to hook up USB and copying over the ttf files from my desktop.
Code:
adb remount
adb push ~/android/fonts/Helvetica/DroidSans.ttf system/fonts
adb push ~/android/fonts/Helvetica/DroidSans-Bold.ttf system/fonts
adb shell reboot
Can someone help me figure out how to do this directly on the phone?
I have the ttf files on my SD card, but I can't figure out how to copy them over to /system/fonts.
I tried using Better Terminal Emulator (a) but it's a pain to type it all, and (b) it doesn't allow it.
Is there a way to create a script to do this?
Can the script be made into an app/icon on my home screen?
It would be great if someone wrote up an app that could change fonts in general.
Thanks!
d0g said:
I like to use Helvetica, so every time I flash a new cyanogen ROM, I find myself having to hook up USB and copying over the ttf files from my desktop.
Code:
adb remount
adb push ~/android/fonts/Helvetica/DroidSans.ttf system/fonts
adb push ~/android/fonts/Helvetica/DroidSans-Bold.ttf system/fonts
adb shell reboot
Can someone help me figure out how to do this directly on the phone?
I have the ttf files on my SD card, but I can't figure out how to copy them over to /system/fonts.
I tried using Better Terminal Emulator (a) but it's a pain to type it all, and (b) it doesn't allow it.
Is there a way to create a script to do this?
Can the script be made into an app/icon on my home screen?
It would be great if someone wrote up an app that could change fonts in general.
Thanks!
Click to expand...
Click to collapse
Is there a way to post in the correct section?
Anyways, have them on the root of your sdcard and
Code:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cp /sdcard/*.ttf /system/fonts
reboot
That should change the fonts.
Gscript
d0g said:
I like to use Helvetica, so every time I flash a new cyanogen ROM, I find myself having to hook up USB and copying over the ttf files from my desktop.
Code:
adb remount
adb push ~/android/fonts/Helvetica/DroidSans.ttf system/fonts
adb push ~/android/fonts/Helvetica/DroidSans-Bold.ttf system/fonts
adb shell reboot
Can someone help me figure out how to do this directly on the phone?
I have the ttf files on my SD card, but I can't figure out how to copy them over to /system/fonts.
I tried using Better Terminal Emulator (a) but it's a pain to type it all, and (b) it doesn't allow it.
Is there a way to create a script to do this?
Can the script be made into an app/icon on my home screen?
It would be great if someone wrote up an app that could change fonts in general.
Thanks!
Click to expand...
Click to collapse
ever heard of "gscript" .. it's pretty simple to create a script to do whatever you want it to do .. ie. "cp /sdcard/*.ttf /system/fonts" .. no USB needed .. come to think of it i don't use a USB connection for any of my G1 needs
Thanks! That worked!
I found this handy app -- GScripts (on the market) -- that let me set up the script to run with one click.
PS: I'm sorry -- which section should this go in? Regular Q&A?

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

Categories

Resources