[Q]Removing apps - myTouch 3G Slide Q&A, Help & Troubleshooting

Okay so I got my phone rooted and installed froyo with gapps.
Now I am trying to delete some apps with "Root Explorer" it works great untill i reboot the phone and all those deleted apps come back.
How to delete apps and save the image or something?

U will prolly have to remove via adb in recovery mode. Then they will stay gone.
Sent from my Htcclay's Remixed Remix using XDA App

I was trying to do that but my phone stays offline in recovery mode.
Maybe an advice please?

What is the command to remove the apps when in recovery?
Sent from my T-Mobile myTouch 3G Slide using XDA App

You have to mount /system then
adb shell
Click to expand...
Click to collapse
then
cd /system/app
Click to expand...
Click to collapse
then
ls
Click to expand...
Click to collapse
then following to remove app
rm -r Appname.apk
Click to expand...
Click to collapse
But I still cant shell into device while its in recovery mode?
Anyone help?

Did you unplug the phone then plug it back in once you went into recovery (adb devices after that). Otherwise it will say offline. After that:
Cyanogenmod Barebones has the code to remove the apps (and which ones you can remove safely) from adb or terminal.

KCRic said:
Did you unplug the phone then plug it back in once you went into recovery (adb devices after that). Otherwise it will say offline. After that:
Cyanogenmod Barebones has the code to remove the apps (and which ones you can remove safely) from adb or terminal.
Click to expand...
Click to collapse
I did plug it out and back in, even tried to do it few times.
Still says offline

Okay, I do not know how, but I got into phone shell in recovery moed and successfully removed apps.
Thanks for help

Probably restarted adb?
Edit: thx for the remove commands
Sent from my T-Mobile myTouch 3G Slide using XDA App

This thread helped out great, thanks guys!

Related

How to verify your phone is "rooted"

Hi all,
I've recently flashed to MoDaCo 2.2 however I'm just assuming my device got rooted at the same time - but I don't know for sure.
What's the easiest way to verify it has been rooted?
Thanks!
1. use search forum or google..
2. adb shell su
thats it
It keeps saying device not found, but works for my mytouch and G1. Any ideas?
Breakthecycle2 said:
It keeps saying device not found, but works for my mytouch and G1. Any ideas?
Click to expand...
Click to collapse
Have you enabled USB debugging? Settings-Applications-Development
trice1921 said:
Have you enabled USB debugging? Settings-Applications-Development
Click to expand...
Click to collapse
Yup did that too...my other phones pick it up no issues.
I also get the exact same problem (i.e. Device not found) - I guess it is a hint that it isn't rooted maybe (although I assumed it was automatic with flashing MoDaCo 2.2)?
Sound like a problem with your driver. But you should have been able to connect before to install the custom rom?
Download astro file manager and you should be able to see files that you couldn't see before
Sound like a problem with your driver. But you should have been able to connect before to install the custom rom?
Download astro file manager and you should be able to see files that you couldn't see before
robboy said:
Sound like a problem with your driver. But you should have been able to connect before to install the custom rom?
Download astro file manager and you should be able to see files that you couldn't see before
Click to expand...
Click to collapse
OK I got a work around. You need to restore your PC to a point BEFORE you plug in your hero. I did this and now works great.
How I might undo root process?
I think that replace chmod 4755 permision to default in the "su" file, but I don't know how to
No need to do, but I'm intererested in the concept
There is a thread on how to unroot:
Open Windows Console and connect Hero with PC
write this:
fastboot boot cm-hero-recovery.img
adb shell mount /system
adb shell rm /system/app/Superuser.apk
adb shell rm /system/bin/su
adb shell reboot
Click to expand...
Click to collapse
ZenorGR said:
There is a thread on how to unroot:
Click to expand...
Click to collapse
I'm sorry but could don't find ...Thanks!!!
its a sticky.. its really hard NOT to find it
edit: okay it WAS a sticky, but its also on the first site in this subforum.. so no problem to at least SEE it

Deleting system apps after root?? (Root Explorer won't do it)

I used to use "Root Explorer" on my hero to delete system apps before..doesn't seem to work anymore..
solution??
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
did you mount /system in rw mode? (it's ro by default)
U dont have write access to system partition in normal use if i read the tutorial right. U have to do it with an update.zip (editing the update script) or with adb both u have to do in recovery menu from modaco i think. Tell me if i am wrong.
Sry for my bad english
@cezarL yes I did
@xtcislove I wish u were wrong..seems like pain.. anyway to do it without a pc?
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
Damn, you're right. Previously, I had deleted an .apk just to check if it's working, then reinstalled the app right away.
But I just tested now, it looks like after a reboot, the .apk magically reappears, and the application is running as usual
Damn, you're right. Previously, I had deleted an .apk just to check if it's working, then reinstalled the app right away.
But I just tested now, it looks like after a reboot, the .apk magically reappears, and the application is running as usual
Click to expand...
Click to collapse
ye..I'm sure it has something to do with the root limitations Paul mentioned in his rooting guide. hope it'll be fixed soon.
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
Try this: Boot in recovery menu and try the following commands:
adb remount
adb shell rm /system/app/APP.apk
adb shell rm /data/app/APP.apk
where APP.apk is the filename of the apk with the .apk extention, remember case-sensitive!
for example:
adb remount
adb shell rm /system/app/FriendStream.apk
adb shell rm /system/app/FriendStream.odex
take a look before if your app has a odex or try this: (here u need only one command)
adb remount
adb shell rm /system/app/*FriendStream*
Good luck and have fun =)
Edit: Just find a topic =)
hxxp://android.modaco.com/content/htc-hero-hero-modaco-com/297207/removal-of-apps-via-adb/#entry1124362
(replace hxxp with http)
I'm trying to do these things in windows at the moment. No issues getting in the recovery with the windows scripts. But when I try to open a ADB Shell after I've gone to recovery I can't really do anything with it and the recovery hangs (not controllable with the track pad).
Anyone can tell me what I'm doing wrong?
You're not doing anything wrong, from what I've seen opening a new adb instance on Windows will kill the server created by the .bat file used for recovery... which means the connection to the device is lost. I haven't looked into it further, but it might be fixeable somehow.
Ah I see, so basicly you undo the patched recovery by opening a new session. It does work properly under Linux then? I run ubuntu on my netbook so It's not a big issue anyway. Thanks for the tip, gonna try under linux now!
I'm having the same problems as:
http://android.modaco.com/content/h...co-com/307401/removing-sys-apps/#entry1256015
I removed a load of HTC widgets but I get strange entries on the widget menu. Anyone know how to get rid of these?
Also, I removed Stocks (.apk and .odex), now I get a force close on 'Accounts & sync'. Anyone know how to remove Stocks properly?
Cheers.
After running the bat file to get into recovery, start a new cmd prompt in windows and use again adb-nilezon for shell commands instead of ordinary adb, and it wont be killed.
This has worked for me atleast
blackadder1000 said:
Anyone know how to remove Stocks properly?
Click to expand...
Click to collapse
The best, foolproof, failsafe way is to remove them from the rom before installing it... and remember that some services are still required, weather you use them or not.
But, if a system app is already installed you need to remove:
the apk from /system/app
the data from /data/data/appname
the cache from /cache/dalvik-cache
Do not remove Accounts & Sync...
Thanks for the answer.
I guess now is a good time to bake my own ROM!
blackadder1000 said:
Thanks for the answer.
I guess now is a good time to bake my own ROM!
Click to expand...
Click to collapse
Yep, that's what I do... see my sig...

Tried to Root G2 (S-ON)

If on Recovery, it says S-ON, is that a Problem?
triumphantpower said:
If on Recovery, it says S-ON, is that a Problem?
Click to expand...
Click to collapse
If it says S-ON, you don't have permaroot. Did you follow the guide in the wiki?
Sent from my T-Mobile G2 using XDA App
I watched a Video from BlackPrince310. I got far into it, until I had to use the Terminal. I'm not sure what Wiki are you talking about.. Link?
(Thank You for the speedy reply btw)
triumphantpower said:
I watched a Video from BlackPrince310. I got far into it, until I had to use the Terminal. I'm not sure what Wiki are you talking about.. Link?
(Thank You for the speedy reply btw)
Click to expand...
Click to collapse
YouTube *really* shouldn't be the go to for things like this, unless you like bricks. This guide is by the folks who actually engineered the hack: http://forum.xda-developers.com/wik...sion#Rooting_the_Vision_.28G2.2FDZ.29_and_DHD
Sent from my T-Mobile G2 using XDA App
oh alright, Thank You OriginalGabriel.
But is rage an adb command or an app from the Market?
and where would the HTC G2 Drivers have to be installed?
triumphantpower said:
and where would the HTC G2 Drivers have to be installed?
Click to expand...
Click to collapse
If you've used adb (eg. you have the SDK installed on your computer), then you have the drivers already installed. Otherwise, unzip the file and when you plug your computer into your phone, point the hardware wizard to the folder that you unzipped
Rage is an included binary in gfree_temp-root.zip
Got it Thank You.
I got to where I have to use ADB, and while trying to $ adb push su /sdcard/su
It won't let allow me, it'll say access denied. (I've even put adb shell before that command)
I type in adb shell:
*daemon not running. starting it now on port 5037*
*daemon started successfully* and then any other command I type after that is Denied
triumphantpower said:
I type in adb shell:
*daemon not running. starting it now on port 5037*
*daemon started successfully* and then any other command I type after that is Denied
Click to expand...
Click to collapse
on your phone be sure you have menu>settings>applications>development>usb debugging checked (on)
I do. Using this Tutorial: http://forum.xda-developers.com/wik...sion#Rooting_the_Vision_.28G2.2FDZ.29_and_DHD
I got all the way to the Permaroot Section. When I have to issue these commands:
# cd /data/local
# chmod 777 gfree
# ./gfree -f
#sync
my phone reset before I got to type sync.
And before I got the chance to type the next lines of text, I had to turn on my phone issued them and got an error message of file exists and something else. I Booted my phone and it still says SHIP S-ON
triumphantpower said:
I do. Using this Tutorial: http://forum.xda-developers.com/wik...sion#Rooting_the_Vision_.28G2.2FDZ.29_and_DHD
I got all the way to the Permaroot Section. When I have to issue these commands:
# cd /data/local
# chmod 777 gfree
# ./gfree -f
#sync
my phone reset before I got to type sync.
And before I got the chance to type the next lines of text, I had to turn on my phone issued them and got an error message of file exists and something else. I Booted my phone and it still says SHIP S-ON
Click to expand...
Click to collapse
After you do the temp root, shut down adb (I am using a windows machine so I ctrl alt del and find it in task manager and shut it down that way) It should restart by itself when you do the perm root commands. ( you probably know this, but don't enter the # sign, it should be there by itself)
Thank You sooo much! I got the S-Off now finally, thank you very much!
Is there anything else I should do before I decided to Install a Custom ROM? Can I install a ROM from this Recovery? or Do I need to do a further step. According to the Tutorial I have Perm Root now but I've never used this Recovery before
triumphantpower said:
Thank You sooo much! I got the S-Off now finally, thank you very much!
Is there anything else I should do before I decided to Install a Custom ROM? Can I install a ROM from this Recovery? or Do I need to do a further step. According to the Tutorial I have Perm Root now but I've never used this Recovery before
Click to expand...
Click to collapse
Download ROM manager from the market, spend the few bucks for the upgrade and then install clockworkmod recovery through ROM Manager (if you haven't done this already). Then, do some more reading about doing a Nandroid backup and you're ready to go! Now, the fun begins....lol!
I don't mind buying ROM Manager Premium but can I do that with the Free Version? I downloaded the Free Version of ROM Manager v3.0.0.7 and when I selected Flash Clockwork Mod Recovery it gave me "an error occurred while attempting to run privileged commands!". Does the Paid Version go past that or am I missing something?
triumphantpower said:
I don't mind buying ROM Manager Premium but can I do that with the Free Version? I downloaded the Free Version of ROM Manager v3.0.0.7 and when I selected Flash Clockwork Mod Recovery it gave me "an error occurred while attempting to run privileged commands!". Does the Paid Version go past that or am I missing something?
Click to expand...
Click to collapse
do you have the superuser app now in your applications drawer?
edit: Also, disconnect the phone from the USB. That might give ROM manager a problem accessing your sd card if you're still connected.
yeah I have Superuser Permissions but it FC's when you try to open it
triumphantpower said:
yeah I have Superuser Permissions but it FC's when you try to open it
Click to expand...
Click to collapse
Try uninstalling ROM Manager and after that see if you still get a force close when you try to open Superuser.
Interesting Idea. I tried it, and still the same. Superuser FC's @[email protected]
triumphantpower said:
Interesting Idea. I tried it, and still the same. Superuser FC's @[email protected]
Click to expand...
Click to collapse
what happens when, in ROM Manager, you select "fix permissions"?

Pushing ROM using ADB! Help!

Alright so I was an idiot and wiped data and internal storage...I figured I could just mount the phone like I could my Thunderbolt, but apparently not. I have adb installed and currently been going to platform-tools folder and opening command window...type adb devices and it shows my device in recovery...which is good. However as soon as I try to do "adb push C:\android-sdk-windows\platform-tools\baldwinguy77_toro_aosp_011913-120824-signed.zip" and it doesn't do anything and just scrolls through all the available commands you can do...I have tried multiple variations of that and nothing seems to work. Help me please, as I need my phone working and I have been trying to figure this out for about an hour now.
CC268 said:
Alright so I was an idiot and wiped data and internal storage...I figured I could just mount the phone like I could my Thunderbolt, but apparently not. I have adb installed and currently been going to platform-tools folder and opening command window...type adb devices and it shows my device in recovery...which is good. However as soon as I try to do "adb push C:\android-sdk-windows\platform-tools\baldwinguy77_toro_aosp_011913-120824-signed.zip" and it doesn't do anything and just scrolls through all the available commands you can do...I have tried multiple variations of that and nothing seems to work. Help me please, as I need my phone working and I have been trying to figure this out for about an hour now.
Click to expand...
Click to collapse
Use side load.
Cwm : reboot recovery > install zip from side load.
In adb > using the side load command ( refer syntax on phone screen, when pH is in side load mode.)
Press thanks if helped
Sent from my Galaxy Nexus using xda app-developers app
Ashwa said:
Use side load.
Cwm : reboot recovery > install zip from side load.
In adb > using the side load command ( refer syntax on phone screen, when pH is in side load mode.)
Press thanks if helped
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
I am using TWRP btw...how do I use sideload?? I see it in TWRP...but do I open command prompt and do something special??
EDIT: Ahh...finally figured it out and it installed the ROM! Thanks
CC268 said:
Alright so I was an idiot and wiped data and internal storage...I figured I could just mount the phone like I could my Thunderbolt, but apparently not. I have adb installed and currently been going to platform-tools folder and opening command window...type adb devices and it shows my device in recovery...which is good. However as soon as I try to do "adb push C:\android-sdk-windows\platform-tools\baldwinguy77_toro_aosp_011913-120824-signed.zip" and it doesn't do anything and just scrolls through all the available commands you can do...I have tried multiple variations of that and nothing seems to work. Help me please, as I need my phone working and I have been trying to figure this out for about an hour now.
Click to expand...
Click to collapse
cd C:\android-sdk-windows\platform-tools\
adb push baldwinguy77_toro_aosp_011913-120824-signed.zip /sdcard/
You didn't specify the destination.
Sent from my i9250
Ashwa said:
Use side load.
Cwm : reboot recovery > install zip from side load.
In adb > using the side load command ( refer syntax on phone screen, when pH is in side load mode.)
Press thanks if helped
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
bk201doesntexist said:
cd C:\android-sdk-windows\platform-tools\
adb push baldwinguy77_toro_aosp_011913-120824-signed.zip /sdcard/
You didn't specify the destination.
Sent from my i9250
Click to expand...
Click to collapse
But why put /sdcard on the end if there is no sdcard?? By the way I got it to work but didnt put the sdcard on the end
CC268 said:
But why put /sdcard on the end if there is no sdcard??
Click to expand...
Click to collapse
.... Please do some research.
CC268 said:
By the way I got it to work but didnt put the sdcard on the end
Click to expand...
Click to collapse
Through adb? I find that hard to believe, unless you specified another destination.
Sent from my i9250

Engineering Firmware?

Saw this posted on Reddit. Seems to be a full system image but I'm not brave enough to flash it
https://mobile.twitter.com/MotoFirmware/status/522902016763633665?s=09
Slack3r said:
Saw this posted on Reddit. Seems to be a full system image but I'm not brave enough to flash it
https://mobile.twitter.com/MotoFirmware/status/522902016763633665?s=09
Click to expand...
Click to collapse
I think no problem.You can try it.
You can mount it as loop and explore it, I suppose.
Sent from my GT-N7100 using XDA Free mobile app
There are some wifi config files and binaries, the factory test packages, etc..
I found this app, that can be installed in the current system with adb: (motoCompass.apk)
https://drive.google.com/file/d/0BxTLcy78OveNRjZkYzJaRmJ4S0U/view?usp=sharing
More goodies:
Moto 360 gears boot animation: http://youtu.be/Rje-O0P6PJo
Sent from my GT-N7100 using XDA Free mobile app
Here's a dump of the system partition, lots of interesting things!
https://drive.google.com/file/d/0BxTLcy78OveNSmJrdTM2SkxEYVE/view?usp=sharing
Enjoy and share your findings
dproldan said:
There are some wifi config files and binaries, the factory test packages, etc..
I found this app, that can be installed in the current system with adb: (motoCompass.apk)
https://drive.google.com/file/d/0BxTLcy78OveNRjZkYzJaRmJ4S0U/view?usp=sharing
Click to expand...
Click to collapse
I installed the compass app, it's hardly what I would call accurate but it does seem to get the right direction for the most part. Good find!
dproldan said:
More goodies:
Moto 360 gears boot animation: http://youtu.be/Rje-O0P6PJo
Sent from my GT-N7100 using XDA Free mobile app
Click to expand...
Click to collapse
Maybe I'm missing something trying to get the gears animation in my watch. I set up Bluetooth debugging and then tried
adb -e push bootanimation.zip /data/local
I'm a little rusty on adb commands and would appreciate any assistance. Thanks!
neilrl79 said:
Maybe I'm missing something trying to get the gears animation in my watch. I set up Bluetooth debugging and then tried
adb -e push bootanimation.zip /data/local
I'm a little rusty on adb commands and would appreciate any assistance. Thanks!
Click to expand...
Click to collapse
You may need to just give it some time, it took a good 10 minutes or so for it to finish anything for me over bluetooth. It just sat at the prompt without giving me status information or anything.
dproldan said:
There are some wifi config files and binaries, the factory test packages, etc..
I found this app, that can be installed in the current system with adb: (motoCompass.apk)
https://drive.google.com/file/d/0BxTLcy78OveNRjZkYzJaRmJ4S0U/view?usp=sharing
Click to expand...
Click to collapse
WiFi config files for the watch? Interesting..!
neilrl79 said:
Maybe I'm missing something trying to get the gears animation in my watch. I set up Bluetooth debugging and then tried
adb -e push bootanimation.zip /data/local
I'm a little rusty on adb commands and would appreciate any assistance. Thanks!
Click to expand...
Click to collapse
abd won't let you put anything in /data or /system, as it's not running in root mode.
You have to push it to /storage/sdcard0/ then enter an adb shell, get root with su, remount /system and copy the zip from /storage/sdcard0/ to /system/media/
So what can we do with this
Anyone wanna mirror this? It seems they took it down...
r3pwn said:
Anyone wanna mirror this? It seems they took it down...
Click to expand...
Click to collapse
Found it
Here
https://www.androidfilehost.com/?fid=95916177934554712

Categories

Resources