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...
Related
I moved from an HD2 to the Evo this week (no more TMobile, woot!). I am very familiar with custom WMO ROMS, Hard SPL, blah blah...
I have nearly zero Android development, custom ROM knowledge, etc, however.
I'd like to flash a custom ROM based on the factory, without all the Sprint programs preloaded.
Clearly I need to root; I am on steady ground with that knowledge. After that? Not so clear. There doesn't seem to be a thread with the steps I need to proceed.
Any info would be invaluable, thanks!
(PS - side question: why does Android launch all sort of processes in the background seemingly at random?)
ifiweresolucky said:
I moved from an HD2 to the Evo this week (no more TMobile, woot!). I am very familiar with custom WMO ROMS, Hard SPL, blah blah...
I have nearly zero Android development, custom ROM knowledge, etc, however.
I'd like to flash a custom ROM based on the factory, without all the Sprint programs preloaded.
Clearly I need to root; I am on steady ground with that knowledge. After that? Not so clear. There doesn't seem to be a thread with the steps I need to proceed.
Any info would be invaluable, thanks!
(PS - side question: why does Android launch all sort of processes in the background seemingly at random?)
Click to expand...
Click to collapse
This should be in Q & A.. But unless someone creates a rom with the apps removed. Its easier to just do it yourself.
If you did toasts method of rooting. Boot into recovery and type this
adb remount
adb shell
cd /system/app
ls
This displays all apps on the phone. Do this to delete them.
rm NameOfApp.apk
rm NameOfApp.odex
It is caps sensitive and make sure you type the apk exactly as its written.
Jus10o said:
This should be in Q & A.. But unless someone creates a rom with the apps removed. Its easier to just do it yourself.
If you did toasts method of rooting. Boot into recovery and type this
adb remount
adb shell
cd /system/app
ls
This displays all apps on the phone. Do this to delete them.
rm NameOfApp.apk
rm NameOfApp.odex
It is caps sensitive and make sure you type the apk exactly as its written.
Click to expand...
Click to collapse
any reason adb remount isn't working for me? I do adb devices and my devices is there but when i type adb remount i get "remount faild: Invalid argument"
I started Toasts root directions, placing PC36IMG.zip on the base directory of the SD card. Shut down, loaded with the Vol Down and Power buttons. The bootloader checked the file on the SD card but then stopped on the white screen.
It seems it was supposed to proceed automatically? But I am dropped off with options on the white screen: FASTBOOT, RECOVERY, CLEAR STORAGE, SIMLOCK, and HBOOT USB.
Directions show Vol Up and Down for previous and next and Power for select.
Alright, I resolved this issue. I recopied the file to the SD card and made sure to eject drive before shutting the device down. Seemed to make all the difference! Proceeding with the remainder of Toast's directions now...
p-slim said:
any reason adb remount isn't working for me? I do adb devices and my devices is there but when i type adb remount i get "remount faild: Invalid argument"
Click to expand...
Click to collapse
I'm running in to the same issue...
rgordon3091 said:
I'm running in to the same issue...
Click to expand...
Click to collapse
i fixed it. you have to do this.
adb shell
mount /dev/block/mtdblock4 /system
cd /system/app
ls
Getting error trying to remove nascar..
Code:
rm Sprint_NASCAR.apk
rm failed for Sprint_NASCAR.apk, Directory not empty
Any ideas?
That's Linux trying to protect you. Essentially the rm command by default just removes one file at a time.
Try...
rm -r NameOfFolder
...to delete recursively.
Sent from my EVO 4G using Tapatalk
Go see the thread in the apps sub-forum about this. I have a post (#28, I believe) with the exact code to remove the bloatware. You can just copy any paste.
-------------
Sent from my HTC EVO 4G using Tapatalk Pro.
nick325i said:
Getting error trying to remove nascar..
Code:
rm Sprint_NASCAR.apk
rm failed for Sprint_NASCAR.apk, Directory not empty
Any ideas?
Click to expand...
Click to collapse
you shouldn't have a problem deleting the apk, because an apk is not a directory.
i deleted it without the same message.
p-slim said:
i fixed it. you have to do this.
adb shell
mount /dev/block/mtdblock4 /system
cd /system/app
ls
Click to expand...
Click to collapse
'
hmmm i put im adb shell then i got a "#" so i put in "mount /dev/block/mtdblock4 /system"
and i got mount:mounting /dev/block/mtdblock4 /system failed: No such file or directory
so what did i do wrong?
Found the issue. Thanks all
Jus10o said:
This should be in Q & A.. But unless someone creates a rom with the apps removed. Its easier to just do it yourself.
If you did toasts method of rooting. Boot into recovery and type this
adb remount
adb shell
cd /system/app
ls
This displays all apps on the phone. Do this to delete them.
rm NameOfApp.apk
rm NameOfApp.odex
It is caps sensitive and make sure you type the apk exactly as its written.
Click to expand...
Click to collapse
By the way, when I "cd /system/app" and then "ls" I see only NamesOfApps.apk. There are displayed no *.odex files. Is that normal?
thread dead?
IDK if this threads still monitored by anyone, but here's my question: I don't use adb, but I just rused root explorer to locate sprint crap, and added a .bak to the end of all of them to essentially 'disable' them. Is this a safe method? Will Android system waste energy looking for them anymore (they no longer show in app tray, but are they still using resources) ? Thanks much.
scottspa74 said:
IDK if this threads still monitored by anyone, but here's my question: I don't use adb, but I just rused root explorer to locate sprint crap, and added a .bak to the end of all of them to essentially 'disable' them. Is this a safe method? Will Android system waste energy looking for them anymore (they no longer show in app tray, but are they still using resources) ? Thanks much.
Click to expand...
Click to collapse
I was just about to say something similar. I had uninstalled Nascar using Titanium Backup, and the found out that I cant do the 2.2 OTA unless its there. TB didn't have the ability to restore it for some reason, so I got an APK from XDA, and put it in the system/app folder via Root Explorer. Then, I had to reset the permissions to match the other APK's, and it showed up and launched perfectly. Even did an update. Much easier than all that adb stuff, I think.
I used system app uninstaller for a buck on the market.. Easy and all there with the icons for easy to find and delete sprint and gapps.
Sent from my PC36100 using XDA App
scottspa74 said:
IDK if this threads still monitored by anyone, but here's my question: I don't use adb, but I just rused root explorer to locate sprint crap, and added a .bak to the end of all of them to essentially 'disable' them. Is this a safe method? Will Android system waste energy looking for them anymore (they no longer show in app tray, but are they still using resources) ? Thanks much.
Click to expand...
Click to collapse
Thats a good way.. If something goes wrong just have to rename.
Sent from my PC36100 using XDA App
Flash this zip and it should remove most of the Sprint apps. It will back them up to /sdx on your SD card so if anything is removed that you want, it will still be there. It's signed to work with RA.
http://grathwohl.me/uploads/android/evo/Sprint-Apps-Remover-signed.zip
I've seen a few people reference my post, but my post was really just trying to ask if anyone knew if, now that I've renamed them, and they don't run, they shouldn't be using up resources? Right, is that correct, or am I wrong in thinkin this?
And thanks cosine83, that's a really helpful post for a lot of people.
Isn't Hulu supposed to be playable on Froyo? Doesn't seem to work on the Evo with netarchy's Froyo stock-rooted ROM. I've been researching this topic for a fix, and I've seen something done for Nexus One and CM6 users but I don't want to loose 4G. I thought being able to watch Hulu was one of the most hyped about features of having Froyo.
You need a hacked version of Flash, and to change your UAString to Desktop. Search in the Nexus One forum for details.
Engadget has a walkthrough for the Nexus One. All but actually playing a video worked great on my Evo running CM6 :/. maybe you will have more luck on the Sense browser..
Here's another link I found for the Nexus One: forum.xda-developers.com/showthread.php?t=688054
I tried installing the apk but it would not not install.
XevoX said:
Here's another link I found for the Nexus One: forum.xda-developers.com/showthread.php?t=688054
I tried installing the apk but it would not not install.
Click to expand...
Click to collapse
Did you by chance already have flash installed? If yes, you need to uninstall it first.... If no, what was the error? Did you use adb to install? or? I have that version installed on my phone (running cm6)...
Hairongreenfire said:
Engadget has a walkthrough for the Nexus One. All but actually playing a video worked great on my Evo running CM6 :/. maybe you will have more luck on the Sense browser..
Click to expand...
Click to collapse
I have Hulu working just fine via the default browser on CM6 nightly and RC1. Read the instructions and try again.
I appreciate the help fellas, but I'm looking for a stock-rooted Froyo solution. With the CM6 ROM you have to give up 4G, FM Radio, etc.
[QUOTE=spiicytuna;7455905]Did you by chance already have flash installed? If yes, you need to uninstall it first.... If no, what was the error? Did you use adb to install? or? I have that version installed on my phone (running cm6)...[/QUOTE]
How do I go about uninstalling Flash? I tried installing the apk straight up with estrong.
XevoX said:
I appreciate the help fellas, but I'm looking for a stock-rooted Froyo solution. With the CM6 ROM you have to give up 4G, FM Radio, etc.
spiicytuna said:
Did you by chance already have flash installed? If yes, you need to uninstall it first.... If no, what was the error? Did you use adb to install? or? I have that version installed on my phone (running cm6)...
Click to expand...
Click to collapse
How do I go about uninstalling Flash? I tried installing the apk straight up with estrong.
Click to expand...
Click to collapse
1) Uninstall Flash from the Settings>Applications>Manage Applications>All menu.
2) Install the hacked Nexus One version of Flash with Hulu support, via ADB.
3) Open any page in your browser then go to the url "about:debug" (without the quotes) and then go to Menu>Settings. Scroll all the way down to the bottom, select UAString, and change from Android to Desktop.
4) Go to http://www.hulu.com/
5) Enjoy.
drmacinyasha said:
1) Uninstall Flash from the Settings>Applications>Manage Applications>All menu.
2) Install the hacked Nexus One version of Flash with Hulu support, via ADB.
3) Open any page in your browser then go to the url "about:debug" (without the quotes) and then go to Menu>Settings. Scroll all the way down to the bottom, select UAString, and change from Android to Desktop.
4) Go to http://www.hulu.com/
5) Enjoy.
Click to expand...
Click to collapse
doesnt seem to uninstall that way...
mrloserpunk said:
doesnt seem to uninstall that way...
Click to expand...
Click to collapse
The leaked Sense 2.2 ROM has Flash 10.1 installed from the get-go, so you can't uninstall it in a traditional way. If you go into /system/app/ there is install_flash_player.apk. I renamed it "install_flash_player.apkz" (this makes it so Android doesn't recognize it, pretty much the same as just deleting it) so I could see what that would change. It doesn't remove Flash 10.1 from Menu > Settings > Applications, but it did stop Flash from loading in the browser. You could try that, but I don't know how far it'd get you.
cloud858rk said:
The leaked Sense 2.2 ROM has Flash 10.1 installed from the get-go, so you can't uninstall it in a traditional way. If you go into /system/app/ there is install_flash_player.apk. I renamed it "install_flash_player.apkz" (this makes it so Android doesn't recognize it, pretty much the same as just deleting it) so I could see what that would change. It doesn't remove Flash 10.1 from Menu > Settings > Applications, but it did stop Flash from loading in the browser. You could try that, but I don't know how far it'd get you.
Click to expand...
Click to collapse
I tried that way. Still get the can't install error. Flash
Uninstall is greyed out in stock 2.2 with root.
if you're rooted, use adb, shell in, navigate to where the apk is in system/app, rm it, then navigate to the data/data/ folder that the data is stored, rm that too. reboot. install the modified flash apk.
if you know part of the file name (adobe, or flash, or whatever), use adb shell, then
find -name "*partofthenameyouknow*.*"
it'll spit out the locations of the apk, data, and cache. then just rm -rf all those files. reboot. install the modified flash apk
timothydonohue said:
if you're rooted, use adb, shell in, navigate to where the apk is in system/app, rm it, then navigate to the data/data/ folder that the data is stored, rm that too. reboot. install the modified flash apk.
if you know part of the file name (adobe, or flash, or whatever), use adb shell, then
find -name "*partofthenameyouknow*.*"
it'll spit out the locations of the apk, data, and cache. then just rm -rf all those files. reboot. install the modified flash apk
Click to expand...
Click to collapse
Im getting closer. I did what you said. Was able to get the Flash 10.1 from the Nexus forum installed. When I got to Hulu, it still gives me "not available on your platform" error.
Edit: I forgot the about:debug command. Although, I did that, it still didnt work. I then downloaded the Hulu app made by someone, and
whala, Hulu is working.
Thanks
what hulu app? I could not locate it.... man this looks like a pain in the rear.... no way to simply change the way hulu see's my EVO? like a useragent string or is flash giving me away?
Owell, at least southparkstudios is working fine
mrloserpunk said:
what hulu app? I could not locate it.... man this looks like a pain in the rear.... no way to simply change the way hulu see's my EVO? like a useragent string or is flash giving me away?
Owell, at least southparkstudios is working fine
Click to expand...
Click to collapse
Actually, not a PIA at all.
Just fyi, I didnt use any ADB commands, just did it all on the phone using SUFBS.
1> Simply what was mentioned above. Remove the Adobe Flash stuff from the System/app and Data/Data area.
- I did this by renaming the directories using SUFBS on my phone.
2> Reboot Phone.
3> Install the Modified Flash (Found in the Nexus Thread)
- Once again, I just downloaded on the phone and used SUFBS to install.
4> Reboot Phone
5> Go to Browser, type about:debug and GO. Then go to Settings and down at the bottom, change the UAString to Desktop.
6> Whala.
This thread helped me out alot: (Widget here too).
http://forum.xda-developers.com/showthread.php?t=686765&highlight=hulu
AWESOME! Huge help, I got it done using winSCP. Incredibly easy. Thanks alot! Today has been a great day for my Evo... it got 2.2, SSH, Flash w/hulu... whats next a gold back cover? Thanks again!!
This fix (manually deleting the apk's) requires a full root, right?
dallashigh said:
This fix (manually deleting the apk's) requires a full root, right?
Click to expand...
Click to collapse
Yep.
Is Hulu still working for you guys? I get "The requested video cannot be displayed in your region" message now. I read that this will happen after you reboot....
mrloserpunk said:
doesnt seem to uninstall that way...
Click to expand...
Click to collapse
If you still havent got it to work,grab Android Mate from the market and use that to install the hacked flash version.It will ask if you want to replace the original flash so there is no need to uninstall it first.Then do the about:bug from your browser and you'll be good to go.
tsunami0ne said:
Yep.
Click to expand...
Click to collapse
Thanks. I was 99% sure, but I wanted confirmation before I wasted any of my time.
I am an Unrevoked3 user (I know, I know. No lectures please), and was pretty pissed about this. Then I discovered that NAND is unlocked when I'm in the ClockworkMod recovery. So I booted into recovery and did the following on my PC:
Code:
adb shell
mount -o rw -t yaffs2 /dev/block/mtdblock4 /system
mount -o rw -t yaffs2 /dev/block/mtdblock6 /data
cd /system
mv install_flash_player.apk install_flash_player.ap_
cd lib
mv libflashplayer.so libflashplayer.s_
cd /data/data
rm -r com.adobe.flashplayer
cd com.android.browser/app_plugins/
rm -r com.adobe.flashplayer
umount /system
umount /data
exit
adb reboot
Then I installed the hacked APK, did the UA fix and was rockin and rollin.
Note the remount flag is not necessary above, because the partitions are not already mounted. In fact, if you try to use the remount flag, it will fail. I have .tar backups of the two directories deleted, if anyone by chance needs them to restore.
tsunami0ne said:
Is Hulu still working for you guys? I get "The requested video cannot be displayed in your region" message now. I read that this will happen after you reboot....
Click to expand...
Click to collapse
When you reboot, the UA reverts to default and you have to change it back to Desktop again.
Alright, when I turn my phone on LauncherPro keeps forceclosing on me, and I can't do ****. I just get 'the application LauncherPro doesn't answer', and an option to force close. When I push force close, the same message pops up again, so I can't access my phone. Is there any way I can fix this via adb or something? What I think caused the problem was that I downloaded and adb pushed a LauncherProPlus.apk (don't know the exact .apk name of it) to my phone (extremely stupid, I know).
Also, is there an adb command to view your phones files? Please help me out with this.
Have you tried wiping dalvik from recovery and then rebooting?
If that doesnt work, you could try pushing another launchers apk to /system/app or /data/app.
Or do you have a backup that you can restore?
Sent from my HTC Desire using Tapatalk
Just remove the launcherpro apk again with adb. It's either a normal adb command or you have to use a shell. Make sure you have a other launcher on the phone when doing this.
If this sounds to complicated and you pushed the apk to /system you can reflash your rom without wiping data.
Sent from my HTC Desire using XDA App
mikep99 said:
Have you tried wiping dalvik from recovery and then rebooting?
If that doesnt work, you could try pushing another launchers apk to /system/app or /data/app.
Or do you have a backup that you can restore?
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
Do you have an adw.apk or something? I'd like to try this first, as I have no recent backup. What do you mean wiping dalvik?
nvm guys, I managed to uninstall LauncherPro by adding a shortcut to installed programs on widgetlocker. I didn't manage to remove it with adb for some reason. Thanks anyways! Appreciate it.
Try wiping dalvik cache through recovery first.
Boot phone with vol down and power. Then choose recovery.
In the advanced menu, there should be the option to wipe dalvik cache.
Reboot.
Sent from my HTC Desire using Tapatalk
Actually, I have one more question. I downloaded this file: http://www.4shared.com/file/EMhprjdn/LauncherPro_Plus_v083.htm and pushed it to my /system/app using ''adb push file name and location /system/app''. Now I can't find any way to delete it, doesn't work with any file manager, neither do I have any adb command. This is a problem because as long as I have this file in my /system/app, I obviously can't use LauncherPro downloaded from the market. Anyone know how?
You need to do...
adb remount
adb shell
cd /system/app
rm launcherproplus.apk
This is going from what I remember. Check the apk name also.
You can do
ls -al before the rm command to list the files in the directory.
Sent from my HTC Desire using Tapatalk
mikep99 said:
You need to do...
adb remount
adb shell
cd /system/app
rm launcherproplus.apk
This is going from what I remember. Check the apk name also.
You can do
ls -al before the rm command to list the files in the directory.
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
Thanks a bunch, but when I do ls -al, it says the launcherpro.apk name is ''LauncherPro Plus v0.8.3.apk''. An .apk isn't supposed to have spaces I guess? Anyway, when I type in rm LauncherPro Plus v0.8.3.apk I get:
# rm LauncherPro Plus v0.8.3.apk
rm: can't remove 'LauncherPro': No such file or directory
rm: can't remove 'Plus': No such file or directory
rm: can't remove 'v0.8.3.apk': No such file or directory
Can you try putting the apk name in quotes?
rm "xxxx.apk"
Sent from my HTC Desire using Tapatalk
No, that didn't work either... damn
Tried single quotes? rm 'Xxx xx.apk'
Sent from my HTC Desire using Tapatalk
When I tried that I got:
# rm 'LauncherPro Plus v0.8.3.apk'
rm: can't remove 'LauncherPro Plus v0.8.3.apk': Directory not empty
At least seems like a step forward
And you're booted into recovery?
Also, try putting
su
Before issuing the command.
Sent from my HTC Desire using Tapatalk
mikep99 said:
And you're booted into recovery?
Also, try putting
su
Before issuing the command.
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
Guess like this; su rm 'LauncherPro Plus v0.8.3.apk'
but that gave me permission denied.
I tried booting into recovery earlier, but when I did that ''adb remount'' didn't work.
btw, i really appreciate all your help. thanks a lot mate
Ok, you need to be in recovery.
There's an option in one of the menus to 'mount system' - choose that.
Then try
adb shell
cd /system/app
rm 'xxxxxx.apk'
You wont have access to delete from /system while your phone is booted as I don't think you're S-OFF.
Sent from my HTC Desire using Tapatalk
It worked! Thank you so much! You literally saved my day!
No problem mate, happy to help
Might be worth taking a backup for the future
Sent from my HTC Desire using Tapatalk
Will definitely do that!
Hi Guys,
I am having pretty much the exact same problem as CH3Z, however i'm having problems locating LauncherPro.apk (free ver).
I've tried using the ls -al command and it doesnt show up there so i'm stuck @ the moment on what to do. I understand that i need the exact name of the apk but i dont know where it is. Any help would be appreciated.
Am running SuperNova Gingersense ROM.
What's up XDA?
I've been messing around with my Xperia Play and i successfully got it rooted. My next task is to get all the annoying icons and processes that are running in the background deleted to make my phone run like a champ (Also i just like the clean appearance of only the applications that i use in my menu, perhaps OCD).
With that said i have tried a few different ways to get my system folder writeable but nothing seems to work as I am unable to delete anything in that folder.
My questions are the following:
1) How to delete files out of this folder.
2) Is there a way to do this via computer so i don't have to mess around with an explorer application on my phone.
Thanks for the help thus far everyone!
FoXide- said:
What's up XDA?
I've been messing around with my Xperia Play and i successfully got it rooted. My next task is to get all the annoying icons and processes that are running in the background deleted to make my phone run like a champ (Also i just like the clean appearance of only the applications that i use in my menu, perhaps OCD).
With that said i have tried a few different ways to get my system folder writeable but nothing seems to work as I am unable to delete anything in that folder.
My questions are the following:
1) How to delete files out of this folder.
2) Is there a way to do this via computer so i don't have to mess around with an explorer application on my phone.
Thanks for the help thus far everyone!
Click to expand...
Click to collapse
You can delete system apps with adb. Here are some commands you may find useful:
"adb remount" - This will remount /system/ as R/W.
"ls /system/app/" This will list all the .apk's in /system/app/
"rm /system/app/***.apk" - this will delete the specified .apk file.
Thanks for the help.
I was able to get the abd to list out all the files in the apps folder but when i type adb remount it gives me an error saying "remount failed: Operation not permitted"
Any tips?
FoXide- said:
Thanks for the help.
I was able to get the abd to list out all the files in the apps folder but when i type adb remount it gives me an error saying "remount failed: Operation not permitted"
Any tips?
Click to expand...
Click to collapse
It's because you do not have insecure adb. Download and install this .apk. after install run it, and your device will reboot. You now have insecure adb and can remount /system/. also once installed you can uninstall app
http://loadbalancing.modaco.com/download.php?url=mf/?8qqca688rvbwcfk
You are a boss! I got it to work but i had to use a slightl different command to remove apps "adb shell rm -r /system/app/***.apk"
My last question is seeing as how your location is Manchester, are you going for city or united? =P
FoXide- said:
You are a boss! I got it to work but i had to use a slightl different command to remove apps "adb shell rm -r /system/app/***.apk"
My last question is seeing as how your location is Manchester, are you going for city or united? =P
Click to expand...
Click to collapse
Yeah sorry you have to be logged into shell for the remove command to work
I'm a man utd fan, city don't scare me there just throwing there money about ....... but they will run out just like chelski
This archive contains the missing apks and stickers that are lost when using the HTC Dev unlock tool.
You can install the apks inside manually, but the png files must be placed into /data/preload/ in order for the gallery app to find them.
Instructions for re-installation. (Busybox must be installed)
Code:
adb push preload.tgz /sdcard/
adb shell
su
cd /data/
tar -xvf /sdcard/preload.tgz
chown root:root /data/preload
chmod 771 /data/preload
chmod 644 /data/preload/*
pm install /data/preload/Flashlight.apk
pm install /data/preload/Calculator.apk
reboot
Download here: http://www.cheatersedge.org/android/m8/preload.tgz
Wow thanks. Did not even realize it was gone.
Sent from my HTC One_M8 using Tapatalk
FYI, wiping /data/ with TWRP erases these preloads as well.
Sent from my HTC One_M8 using Tapatalk
Hey I know this is not specifically related but everytime I remove an app via TB they come back upon reboot (T-Mobile Tv, Lookout, etc etc)
How do I stop them from coming back (delete for good)? Thanks
S-off or try http://forum.xda-developers.com/showthread.php?t=2702575
[Guide] How to have write protection disabled on boot with stock rom
Sent from my HTC One_M8 using Tapatalk
I am uploading a ROM right now that restores these files.
Weird, I'm HTCdev unlocked but I still have the flashlight app but calculator is gone. Weird.
Fenny said:
This archive contains the missing apks and stickers that are lost when using the HTC Dev unlock tool.
You can install the apks inside manually, but the png files must be placed into /data/preload/ in order for the gallery app to find them.
Instructions for re-installation. (Busybox must be installed)
Code:
adb push preload.tgz /sdcard/
adb shell
su
cd /data/
tar -xvf /sdcard/preload.tgz
chown root:root /data/preload
chmod 771 /data/preload
chmod 644 /data/preload/*
pm install /data/preload/Flashlight.apk
pm install /data/preload/Calculator.apk
reboot
Download here: http://www.cheatersedge.org/android/m8/preload.tgz
Click to expand...
Click to collapse
How would I go about executing these commands? I have tried a command prompt with the phone powered into the OS and with it in fastboot but continue to get device not recognized. Could I place the file on my phone and use terminal emulator?
ghettovirtuoso said:
How would I go about executing these commands? I have tried a command prompt with the phone powered into the OS and with it in fastboot but continue to get device not recognized. Could I place the file on my phone and use terminal emulator?
Click to expand...
Click to collapse
Problem fixed! I needed to update my adb tools, was working with outdate ones because they did everything I needed until now.
I tried the commands, but the tar command doesn't seem to work. Do I have to install something to make tar work?
I used Root Explorer to extract the files, then moved them to /data/preload, then changed the permissions using adb. I think I got it correct. How can I tell if the stickers are installed correctly? What uses them? I saw a comment about the gallery but I can't see where that uses them?
Thanks!
fclifton said:
I tried the commands, but the tar command doesn't seem to work. Do I have to install something to make tar work?
I used Root Explorer to extract the files, then moved them to /data/preload, then changed the permissions using adb. I think I got it correct. How can I tell if the stickers are installed correctly? What uses them? I saw a comment about the gallery but I can't see where that uses them?
Thanks!
Click to expand...
Click to collapse
Take a pic and edit it. If you can use the stickers you see in folder and the apps are install then I assume all went well.
Sent from my HTC One_M8 using XDA Free mobile app
ghettovirtuoso said:
Take a pic and edit it. If you can use the stickers you see in folder and the apps are install then I assume all went well.
Click to expand...
Click to collapse
Apparently all went well. I have the apps and the stickers work. :good:
What about tar? Should it have been available?
fclifton said:
Apparently all went well. I have the apps and the stickers work. :good:
What about tar? Should it have been available?
Click to expand...
Click to collapse
I know nothing of a tar. I'm not an expert. I was just able to follow the post. Sorry.
Sent from my HTC One_M8 using XDA Free mobile app
Couldn't install apps from adb
Everything in the op worked up to the point where I tried to install the Flashlight and Calculator apks. I got the following error-
pm install /data/preload/Flashlight.apk
pkg: /data/preload/Flashlight.apk
Failure [INSTALL_FAILED_INVALID_URI]
I was able to use a file manager to find the apks in the /data/preload/ folder and install them through android.
Is this enough to receive any OTAs? Would I need to convert them to system apps?