how to remove gallery? - G1 General

Hey guys, I'm not sure what I did, but I have 2 galleries on my phone, and its a bit annoying. How do I remove one of them through terminal?
I was able to remove one of my "music" when I pushed HTC Music through, using this...
su
rm -r /system/app/Music.apk

Code:
su
rm -r /system/app/HTCAlbum.apk

thanksss im going to see if that works.

ya it works thanks
-closed

You probably have the htc camera thats why you have 2 galleries. You should make sure your camera still works after you remove the htcgallery.

bmfc187 said:
Code:
su
rm -r /system/app/HTCAlbum.apk
Click to expand...
Click to collapse
Didn't work for me, after putting this terminal said rm: cannot remove ' /system/app/HTCAlbum.apk': Read-only file system.

I'm having this issue as well and the above terminal command doesnt work. Anybody have any other ideas?

Sounds like you got a mixture of 2 camera setups
busybox mount -o rw, remount /system
Then run the other command provided above. (Provided you have htc album, the non htc album is built into camera)
What build is giving you 2 albums. Wipe and reflash.

Thanks soulife...
i have been asking a similar question for weeks now
how to remove the system music app since I pushed HTC music?
I had no idea why it was not working until your busybox input command. Im still not use to working with the g1 on that level (damn DOS)

I think it came from flashing htcmusic onto my cyanogen build. Thanks. Will try out your method.

Related

Can't delete Apps (A2SD)

Hi,
Ive got a problem. Yesterday i did the update from Dude 1.1 to 1.2, first without wiping, but then the G1 reboot when i want to download an app.
So i wiped it and it works fine. INternal Memory is 355MB free.
Today i wanna delete the APP SMS/MMS because i use chompSMS, but the G1 says that it cant delete. ("Uninstall not successful" "SMS/MMS could not be uninstalled")
So what could i do?
Thanx for ya help
if im not wrong in saying this, the stock sms mms program needs to be on the phone. chomp doesnt get your messages
it gets them from the stock messaging app.
Not sure what you're trying to uninstall (haven't heard of an app called SMS/MMS). However, if you're trying to remove the application "Messaging", you can't. Just disable notifications in the Messaging program and use chomp as the default.
Its the same with this Amazon Mp3 app, i cant uninstall it, what do i wrong? Or how can i get this app off my phone( dude 1.2 full)
You can't uninstall those programs..
G1StefanG1 said:
Its the same with this Amazon Mp3 app, i cant uninstall it, what do i wrong? Or how can i get this app off my phone( dude 1.2 full)
Click to expand...
Click to collapse
If you are using a G1 build, its in /system/app. Remount the system partition and delete it from that directory.
Yeah great, thanx for ya help.
But now I now i'll gonna be beaten for that question, but can you explain me what you mean with 'remount the system partition"?
I've looked it up with ASTRO Filemanager and its really in /system/app, but i cant delete it from there, if i want to it says again "error deleting file".
Just searched a bit around and found the remount command that i know from a2sd, so i think i have to go to Terminal at G1,
#su
#mount -o rw,remount /dev/block/mtdblock3 /system
#rm com.amazon.mp3 /system/app
Is this right? So then i'm gonna eating my shoes But i think it isnt so i ask you before i delete complete G1
Or is it enough to remount with that command above and then go with ASTRO FIlemanager to that directory and delete it?
G1StefanG1 said:
Yeah great, thanx for ya help.
But now I now i'll gonna be beaten for that question, but can you explain me what you mean with 'remount the system partition"?
I've looked it up with ASTRO Filemanager and its really in /system/app, but i cant delete it from there, if i want to it says again "error deleting file".
Just searched a bit around and found the remount command that i know from a2sd, so i think i have to go to Terminal at G1,
#su
#mount -o rw,remount /dev/block/mtdblock3 /system
#rm com.amazon.mp3 /system/app
Is this right? So then i'm gonna eating my shoes But i think it isnt so i ask you before i delete complete G1
Or is it enough to remount with that command above and then go with ASTRO FIlemanager to that directory and delete it?
Click to expand...
Click to collapse
Yes, you remount it that way (or with DroidSans) and rm the Amazon file. I would still recommend against deleting the messaging one though.
I tried it this way, but it says error "Read only file".
I think i just let it on the phone and try to ignore that app.
G1StefanG1 said:
I tried it this way, but it says error "Read only file".
I think i just let it on the phone and try to ignore that app.
Click to expand...
Click to collapse
use this code to remove amazon
Code:
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
rm -r /system/app/com.amazon.mp3
that will remove amazon but removing messaging will make your system EXTREMELY unstable and most likely unusable
The problem was that i don't add the Fileending ".apk"
Thanx for ya help, tubaking182. It worked with your Command with adding .apk
Got the next problem, now i want to delete the Messenger App 'IM' but even if i do the same with 'amazon mp3' it says rm: cannot remove '/system/app/com.android.im.apk': No such file or directory
So what i am doing wrong, i tried it with "rm -r /system/app/com.android.im.apk"
"rm -r /system/app/com.android.im"
And many more but i get ever the same output -> No such file...
That means theres no such file...doesn't exist.
IT might be named IM.apk
Mh you're right!
I dont know how it tells me 'com.android.im' in ASTRO Filebrowser, and why i could delete it with IM.apk
With AmazonMP3 i have also to write: com.amazon.mp3.apk
Doesn't matter, THANK YOU for the fast help
amazon
spend a couple bucks and get root explorer, it is well worth it, and then its very easy to delete anything after that.
Wait wait let me get this right ... with root explorer i could avoid the whole going to terminal and typing all that code and just simply delete the apk from root explorer program and thats it >?
Can it really be that easy ... tell me thats the case
Also when you use the terminal code or the root explorer method ( if it can be done like that) when you go to applications in the phone menu to view list of apps you still see the amazon mp3 app in the system .. how do i remove that also
Chosen_on184 said:
Wait wait let me get this right ... with root explorer i could avoid the whole going to terminal and typing all that code and just simply delete the apk from root explorer program and thats it >?
Can it really be that easy ... tell me thats the case
Also when you use the terminal code or the root explorer method ( if it can be done like that) when you go to applications in the phone menu to view list of apps you still see the amazon mp3 app in the system .. how do i remove that also
Click to expand...
Click to collapse
I'm testing right now..

Menu Unlock working on EVO

I managed to get the Menu Unlock from team douche to work on the EVO.
http://forum.xda-developers.com/showthread.php?p=6276938
I removed the HtcLockScreen (before removing it didn't work) and have made other mods so it may not work straight away but if this is a feature you like as I do then you might be happy to know it does work.
Where do you disable HTC Lock Screen.
rscrobinmx99 said:
Where do you disable HTC Lock Screen.
Click to expand...
Click to collapse
You need to remove completely, but it is a system app so you cannot simply uninstall.
You can remove this by:
If you installed the Android SDK you should be able to use ADB to remove system apps.
ADB:
adb remount
adb shell
cd /system/app/
rm HtcLockScreen.apk
adb reboot
Terminal Emulator is a free app on the market that also works great. Here is the code to enter when in TE:
TERMINAL EMULATOR:
su
cd /system/app/
mount -o remount,rw /dev/mtdblock3 /system
rm HtcLockScreen.apk
reboot
DONE AND DONE!
Sounds difficult prolly not gonna do it.
joeavery2 said:
I managed to get the Menu Unlock from team douche to work on the EVO.
http://forum.xda-developers.com/showthread.php?p=6276938
I removed the HtcLockScreen (before removing it didn't work) and have made other mods so it may not work straight away but if this is a feature you like as I do then you might be happy to know it does work.
Click to expand...
Click to collapse
Can you share? Thx.
Bump for great justice

[SOLVED] Uninstall Swype?

I need to uninstall swype and reinstall it. Ive tried over writing it with the default apk but its not removing a theme I installed with metamorph. If I can uninstall it, a fresh install should fix it.
I just dont know how to remove it
I don't know if you want to go to this extreme, but I did. I fudged up the phone real good by removing and installing stuff. I finally got fed up and flashed it back to stock and applied root again. This time I'll keep my fingers out of it. I hated touchwiz in the beginning, but now it's kinda growing on me. I've never had an iphone but the home and drawer remind me of iphone wannabe. It's okay for now.
Sent from my SPH-D700 using XDA App
There a tool over at sdx-developers that can remove that when root explorer can't. I forget the name of it. There's also a pay app in the market that I think is called root manager that can successfully remove crap too. I didn't have much luck putting the general swype 1.61 in. It refused to install. That's when I think I just flashed it back to factory image. A full reset/wipe wouldn't fix it either.
Sent from my SPH-D700 using XDA App
I had to do this a few days ago for similar reasons. This is what I did:
First, you have to open your browser or other app with a text field. Select the text field then long press the text field again and switch the input method to the stock android kb.
Next, you have to make sure /system is mounted as r/w. The early versions of the the rooting scripts did not remount correctly but the newer ones supposedly fix it. I just looked in the initial rooting .bat file (on the PC) for the remount command and used adb to remount /system.
You can test if it's remounted correctly by renaming Swype.apk to Swype.bak with Root Explorer then going up a level and back to /system/app. If it's not mounted correctly it will show as Swype.apk again. If it shows as Swype.bak still, then you just have to copy the original Swype.apk to /system/app and then switch input method back to Swype!
Sent from my Epic 4G using XDA App
yea its mounting in r-r, thats def my problem, cant change swype.apk with root explorer
so i need to re-root?
I don't know what's causing it but root explorer doesn't seem to work properly on the phone (not sdcard) filesystem in the system app folder. It's stuck in rw mode. People have said different things why but I forgot. I did noobnl's latest flash and it's still not working right. His script is removing the old root and my phone doesn't have that on there. I don't know what to tell ya. Maybe I should look for another root file manager.
kennethlongshaw said:
yea its mounting in r-r, thats def my problem, cant change swype.apk with root explorer
so i need to re-root?
Click to expand...
Click to collapse
I don't know if re-rooting will fix it or not. You could try. Here's the exact steps I took using adb from the PC:
Code:
adb shell
su
ls /system/app/S* (just shows Swype.apk is in fact in /system/app)
mount -t rfs -o remount,rw /dev/block/stl9 /system
mv /system/app/Swype.apk /system/app/Swype.bak
ls /system/app/S* (just to confirm Swype.apk is now Swype.bak)
cp /sdcard/download/Swype.apk /system/app/Swype.apk (or replace first argument with path of the good Swype.apk on your phone)
ls /system/app/S* (just to confirm Swype.apk and Swype.bak are both there)
reboot (reboots the phone, dunno if its really necessary)
dwyw42 said:
I don't know if re-rooting will fix it or not. You could try. Here's the exact steps I took using adb from the PC:
Code:
adb shell
su
ls /system/app/S* (just shows Swype.apk is in fact in /system/app)
mount -t rfs -o remount,rw /dev/block/stl9 /system
mv /system/app/Swype.apk /system/app/Swype.bak
ls /system/app/S* (just to confirm Swype.apk is now Swype.bak)
cp /sdcard/download/Swype.apk /system/app/Swype.apk (or replace first argument with path of the good Swype.apk on your phone)
ls /system/app/S* (just to confirm Swype.apk and Swype.bak are both there)
reboot (reboots the phone, dunno if its really necessary)
Click to expand...
Click to collapse
mmmm. That fixed. it. I owe you a beer
kennethlongshaw said:
mmmm. That fixed. it. I owe you a beer
Click to expand...
Click to collapse
Hi guyz.
I cant delete swype.apt file from /system/app/*
i am using SUFBS program (reed/write option enabled)
i tried use command in terminal:
Code:
su
mount -t rfs -o remount,rw /dev/block/stl9 /system
but i get only;
Code:
permission denied
z4root show info that my phone is rooted
PDA i5800XXJI2
any ideas how to del that file? :]

Custom Rom App Removal

hey guys,
how would i go about removing apps from an installed custom rom?
ive tried titanium back... doesnt work, tried pulling the apps from the pack nothing,
ive tried root exploits and it just sends your phone into an almost
"paperweight"
like state,
any further moves i can do to remove various bits ? there as some things i just genuinely dont want.
Telling which rom and which apps might help
[ROM] Pays-ROM HD SPARTA v1.0 [ULTRA LIGHT] [19/NOV/10]
[ROM] Pays-ROM HD SPARTA v1.0 [ULTRA LIGHT]
i cant list the apps i want to remove as im off to work, but can you do some background work into it for me??
fkofilee said:
[ROM] Pays-ROM HD SPARTA v1.0 [ULTRA LIGHT]
i cant list the apps i want to remove as im off to work, but can you do some background work into it for me??
Click to expand...
Click to collapse
Have you tried doing it from terminal?
Code:
adb remount
adb shell
su
cd /system/app
ls *
rm INSERTANNOYINGAPPNAMEHERE
reboot
adb pull is not for deleting apps. It is for copying the app to your computer.
when i say pull... lol. i mean removing them from the system completely
fkofilee said:
when i say pull... lol. i mean removing them from the system completely
Click to expand...
Click to collapse
I've just discovered there are issues where /system isn't getting wiped correctly prior to a new rom being flashed. Keep getting apps from other roms and such sitting in my /system folder even after a wipe and flash - at this stage I assume CWM is bugged? Could be your issue is related.
nope the ADB coding doesnt work as its almost like there is a PERMANENT R/w lock on the section i need to remove apps from
unfortunately the issues AERNT related, as ive wiped everything before, these apps are pre installed on the ROM. What does me with this is that the root exploit to remove these apps as in Titanium backup ... just turns the phone into a very expensive paperweight till the battery is remove
weather apps (widgets etc,)
Twitter apps , teet and various other bits i want to remove
fkofilee said:
unfortunately the issues AERNT related, as ive wiped everything before, these apps are pre installed on the ROM. What does me with this is that the root exploit to remove these apps as in Titanium backup ... just turns the phone into a very expensive paperweight till the battery is remove
weather apps (widgets etc,)
Twitter apps , teet and various other bits i want to remove
Click to expand...
Click to collapse
Get a new rom ???
hmm flash a new rom??this is the most refined rom i can find for DHD.
for that reason its more of a hassle to flash new roms
I would rather crack it, mind you i might be really thick asking this. that code you gave me have i got to get the adb.exe from android SDK and do this via a cmd.exe window on my pc or have i got to do it on my phone via termnial emulator.
how weird!!!... i used to terminal emulator to allow su (I.E to give system SU Permissions and now i can remove the apps ) haha
Shocked!!
Admin Please close & Deleted Thread.
fkofilee said:
hmm flash a new rom??this is the most refined rom i can find for DHD.
for that reason its more of a hassle to flash new roms
I would rather crack it, mind you i might be really thick asking this. that code you gave me have i got to get the adb.exe from android SDK and do this via a cmd.exe window on my pc or have i got to do it on my phone via termnial emulator.
Click to expand...
Click to collapse
Yes from the android sdk. It *should* work from a terminal emulator as well if you run these commands first to mount the /system/app directory as read/write:
Code:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
chmod 777 /system/app
Other option would be to use the root explorer app, it is a paid app though well worth it.
dr.m0x said:
Yes from the android sdk. It *should* work from a terminal emulator as well if you run these commands first to mount the /system/app directory as read/write:
Code:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
chmod 777 /system/app
Other option would be to use the root explorer app, it is a paid app though well worth it.
Click to expand...
Click to collapse
Weird thing is i tried root explorer , and it still wouldnt R/W the app folder... but as i said now solved... slightly weird though that i completely missed that lil bit on the su permissions for the system directly.
fkofilee said:
Weird thing is i tried root explorer , and it still wouldnt R/W the app folder... but as i said now solved... slightly weird though that i completely missed that lil bit on the su permissions for the system directly.
Click to expand...
Click to collapse
Yeah you ninja'd my last post
Glad to hear you're gtg now.
but mind you the mount script i ran and it didnt work lol.... maybe i did them the wrong way round, (Raise SU first then do mount cmd??)
dr.m0x said:
Have you tried doing it from terminal?
Code:
adb remount
adb shell
su
cd /system/app
ls *
rm INSERTANNOYINGAPPNAMEHERE
reboot
adb pull is not for deleting apps. It is for copying the app to your computer.
Click to expand...
Click to collapse
Works. Thanks!

How to Install/Remove System Apps on Android [MUST HAVE ROOT]

########## IMPORTANT UPDATE ##########
There is an APP available that makes this much simpler
* No Console Commands Needed
* You still MUST HAVE ROOT
* It must be installed on internal memory to work correctly
* Be sure you know what a system app does before you remove it.
* If you remove a vital app you could mess up your system completely.
The APP is Called: "System APP Remover"
Here's a Link to Download it: http://www.megaupload.com/?d=ZFC2C1R7
Mirror Download Link: http://www.mediafire.com/?h3n3ftbwilshcvn
######################################
Here are the console commands for installing/removing system apps in android console emulator, very easy ; )
You must have ROOT and console emulator, I found this very helpful, so I hope it helps others as well...
_____________________________________________________________________________________
Install App to System:
Place APK file in the root folder on your sd card.
Open terminal and enter these commands:
# su
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
# cat /sdcard/filename.apk > /system/app/filename.apk
# mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system
# reboot
_____________________________________________________________________________________
Remove App from System (Be careful what you remove):
# mount -o remount,rw /system
# rm /system/app/Filename.apk
[Optional, to make read-only again]
# mount -o remount,r /system
[When Finished]
# reboot
_____________________________________________________________________________________
****KEY****
"#" means root command will follow
[Notes are in these brackets and aren't commands]
- ENJOY
ALSO...
**** I'm new to Android APP creation, but if anyone can automate this script to make a simple One-Click GUI APP that would be awesome, all I ask is that you put my name in the co-dev/"Thanks to" list for the app, just so I can say I helped ;-) ****
- CuriousAndroid
I am trying to reinstall some files I uninstalled. I went to the following link on this site and found some apps that people said could be removed - http://forum.xda-developers.com/showthread.php?t=773142
however, my Act1 video player now quits whenever I receive an incoming text, so I need to reinstall some programs and see which one is causing the problem
I downloaded an app called Android Terminal Emulator by Jack Palevich. I tried a "reboot" command (without the #) but it said reboot operation not permitted. Is this the Emulator I need to reinstall files? Am I doing something wrong?
--------------
EDITED:
ok nevermind, i realized the "su" command gives superuser access needed for the reboot....going to try to install files now
yeah, to use any root commands "su" must be used first otherwise the shell will think your just some generic user with limited privileges and nothing will work.
It's very important to identify any apps you plan on removing before you attempt it to make sure it isn't needed by another process.
You got lucky, some apps once removed can cause the whole rom to fail, so be careful!
- CuriousAndroid
well i think i messed something up...is there a way to recover back to stock after using the sdx stock app remover? i removed the video player but tried reinstalling it...when i uninstalled it from sdx, i noticed my other video player (Act1) would quit whenever i'd get an incoming text
i have all the .apks backed up, but after attempting to reinstall the stock video player, it hangs in MyFiles...then i reset back to factory (no Act1), and it can't play my videos, i get the error "No applications can perform this action"
Is there a way to recovery back to stock with all applications installed and in tact? i have all the .apks, but this video player won't work, after following your instructions above
thanks
It will work. Check the following:
* All shell commands are CASE-sensitive, so if the app is called Vending.apk you can't type vending.apk
* for the command to work you must have the apk on the root of your SDcard, not in sub-directories.
* if you have a copy of the rom you installed you can unzip it on your PC and find the system app folder, which you can use to cross-refference with the system/app folder on your phone to see if your missing something else.
in terminal you can list system apps like this:
# su
# cd /system/app/
# ls | more
[that will allow you hit space bar to navigate through app list if it's longer than a page,press ESC when done to go back to prompt]
* If all else fails you can backup your settings to your sd card and re-install your rom (as a last resort)
-Good Luck
curiousandroid said:
Install App to System:
Place APK file in the root folder on your sd card.
Open terminal and enter these commands:
# su
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
# cat /sdcard/filename.apk > /system/app/filename.apk
# mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system
# reboot
_____________________________________________________________________________________
Remove App from System (Be careful what you remove):
# mount -o remount,rw /system
# rm /system/app/Filename.apk
[Optional, to make read-only again]
# mount -o remount,r /system
[When Finished]
# reboot
_____________________________________________________________________________________
****KEY****
"#" means root command will follow
[Notes are in these brackets and aren't commands]
- ENJOY
ALSO...
**** I'm new to Android APP creation, but if anyone can automate this script to make a simple One-Click GUI APP that would be awesome, all I ask is that you put my name in the co-dev/"Thanks to" list for the app, just so I can say I helped ;-) ****
- CuriousAndroid
Click to expand...
Click to collapse
When I am doing the first part here of installing app to system I dont just simply do that first I can already have an app ready to go that I want to move to sd card right? I am just making sure I didnt have to do that simply first before I even start moving the apps. This site has be great and thanks for everybody help. Wish I would have known have this site way back when.
What is "yaffs2" standing for? I type "yaffs" instead of "yaffs2". What has this done to my system? Do I have to expect any "side-effects"?
When I call # ls | more to list the directories content, the apk is listed but it is not installed yet. Is there anything else i have to do?
yaffs is nand flash filesystem
yaffs2 is more elaborate updated version
yaff2 has greater support
so if your device isnt supported by yaffs1, it may not work.
it's best to follow the commands as they're written.
apps still appear as apks in system/apps folder after installation.
Haha thats funny!! I downloaded this app.. put it on my sdcard.. installed it and when i tried to open it it said " Shame on you for trying to pirate a 1.00 app "
If you have Applanet just go there and look for Systemapp Remover - it's a bit older version but seems to do the job.
By mistake my contacts.apk is removed. Above trick also not worked. my phone is LG GT540. Pl suggest any other way.
rajhan9412 said:
By mistake my contacts.apk is removed. Above trick also not worked. my phone is LG GT540. Pl suggest any other way.
Click to expand...
Click to collapse
Grab the contacts.apk from the rom you're running and push it back in. Btw titanium backup removes system/apps without terminal commands while allowing to to make a backup first in case u want. it back or for little hickups such as this.
Sent from transparent xda app by theimpaler747
I did everything right, and the apps that I removed disappeared from the app drawer. But, after I reboot my phone, they show up again.
What can I do?
In terminal type
ls system/app
Hit enter and see if said apps are in the list
Sent from my HTC Sensation 4G using XDA App
i got a better method.
app is called app quarantine
it need root and is totally free
it can quaratine every app including rom apps and system apps
really that thing awesome. no manuall backup needed anymore and as long you dont brick the os you can easy try and error - but of course still be carefull and login and activate com.brain.logic.provider lol
Hi there i use root explorer and that is the easiest way i think to remove system apps on android phones [root required] you can download root explorer from the market or get it from 4shared just search for root explorer.apk install it and navigate to /system/apps/ and the app you wish to delete long press the app and delete make sure you mount as read/write instead of read only.
Hope this helps 
@0mpranav
actually its not and actually you didnt read my post
i advertise this little peace of freeware because it really made my day (im not related in anyway to the developer)
the quarantine removes it but store it automatically in another directory
just multiselect and press one button DONE
no need to single delete something because you always should backup first
for example turns out on samsungs device EMAIl application is also related to exchange sync - huh i was happy to restore it
really take a look -
btw i hate the root explorer - for some taksts might be usefull but fileexpert is way better in that and its free as the quaratine app is too
bofh999 said:
actually its not and actually you didnt read my post
i advertise this little peace of freeware because it really made my day (im not related in anyway to the developer)
the quarantine removes it but store it automatically in another directory
just multiselect and press one button DONE
no need to single delete something because you always should backup first
for example turns out on samsungs device EMAIl application is also related to exchange sync - huh i was happy to restore it
really take a look -
btw i hate the root explorer - for some taksts might be usefull but fileexpert is way better in that and its free as the quaratine app is too
Click to expand...
Click to collapse
You were right mate got problems in upgrading my nexus one coz i deleted the .odex system apps directly without any backup but upgraded to 2.3.6 with some trial and error method but lost root access any help would be appriciated 
@0mpranav
Installing system app
Hi, i have the same problem. I tried Root Explorer, and the Shell Commands method (with Cat command), the files i copy are in there, with all the permissions and everything, but when i reboot, none of them are installed, and my "contacts" app is still broken. Can anyone help please?
Nevermind, found the problem. I needed the exact files for my Atrix 4G with the same android version.

Categories

Resources