Related
is there a way to uninstall system apps like FLICKR service?
Maybe via console?
Via ADB with the phone in recovery.
adb shell mount /system
adb ls /system/app
then find the apk file you want to delete and:
adb shell rm /system/app/(app name here).apk
You can also delete the files before you install a new version of the ROM you're using. You can delete .apk files from the ROM.zip file to flash so when you flash it they wont install.
philje123 said:
Via ADB with the phone in recovery.
adb shell mount /system
adb ls /system/app
then find the apk file you want to delete and:
adb shell rm /system/app/(app name here).apk
Click to expand...
Click to collapse
you only have to put yourself in adb shell once,
adb shell
mount /system/
ls /system/app/
rm /system/app/xxxx.apk will do lol
btw roms with the new file overlay system can delete system apps normally now, using a file explorer!! ive done it
AndroHero said:
btw roms with the new file overlay system can delete system apps normally now, using a file explorer!! ive done it
Click to expand...
Click to collapse
sounds great
I use root explorer to do this
sent from my mind to yours using the power of suggestion
I'm in recovery and have no idea how to follow that instructions.
I see my options, don't see what you wrote.
Bump, sry
Sent from my HTC Desire using XDA App
Every time I try and us the command "adb push" I get a return that says
cannot stat 'file name' : No such file or directory
Its probably something simple but I'm a newbie to ADB
my complete command is:
adb push vision.lights.so /system/lib/hw/
cannot stat 'vision.lights.so': No such file or directory
Is that file located in the same folder as your adb? If not then you need to setup a path to use adb anywhere. Instructions for that are in the adb guide.
Sent from my HTC Vision using XDA App
Do I need to cd to the directory where that file is before I can push it?
My adb is already set up to run from any directory
Sent from my HTC Vision using XDA App
jbenson said:
Do I need to cd to the directory where that file is before I can push it?
My adb is already set up to run from any directory
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
Yes, you need to be in (cd) the directory that contains the file, or you could use the full path
adb push /download/vision.lights.so /system/lib/hw
It might be slightly different with Windows (c:/ ?)
Sent from my CyanogenMod Vision
Example if your adb is in c:/sdk/tools/
then you would have to cd until you are in tools folder (i.e. c:/sdk/tools/)
Copy your file into the tools folder.
Your command should work.
Example if your adb is in c:/sdk/tools/
then you would have to cd until you are in tools folder (i.e. c:/sdk/tools/)
Copy vision.lights.so into the tools folder.
Your command should work.
Yes yes and yes windows needs c:/whatever assuming its in c
Sent from my HTC Vision using XDA App
Works perfect thank you guys so much for your help!
I was confused as to how it found the file to push but this makes more sense!
Sent from my HTC Vision using XDA App
Does anyone know where I can find QuickOffice for my g2? Im running cm6.1.1 and I downloaded a pdf and when I pressed it it went to quicloffice but when I exit I can't find it on the app.drawer or anywhere ..
Sent from my HTC Vision using XDA App
You can get it from the stock deodex rom and push it to /system/app, I'm about to do that once I get home from work, so I can confirm.. I got the ezpdf from market but I think quick office seems better
Edit: I can confirm that it works by just extracting the Quickoffice.apk in stock deodex rom and push it back to cm, its usable and will also appear in the app drawer now
Sent from my HTC Vision using Tapatalk
def. let us know noodles, this is something im looking to get as well..
Can you give me the exact steps im a noob :/
Sent from my HTC Vision using XDA App
Same here. I have CM6.1.1 and I can see Quickoffice in Titanium but it won't let me restore it.
Download Stock Deodex Rom v1.1 in the Development forums.. look through it, it might be towards the end or so..
You can use 7zip to extract files or windows extract .. so if you haven't gotten it, download it at download.com and install it.
Open the v1.1.zip rom, just double click on it, go to SYSTEM folder then APPS folder and search for Quickoffice.apk at the bottom and just drag it out to the desktop.
Now, either copy it through Terminal Emulator by just putting it to the root of sdcard and type
su
cp /sdcard/Quickoffice.apk /system/app
Or you can use adb, and I bet root explorer aswell as its pretty much all the same concept..
Sent from my HTC Vision
noodles2224 said:
Download Stock Deodex Rom v1.1 in the Development forums.. look through it, it might be towards the end or so..
You can use 7zip to extract files or windows extract .. so if you haven't gotten it, download it at download.com and install it.
Open the v1.1.zip rom, just double click on it, go to SYSTEM folder then APPS folder and search for Quickoffice.apk at the bottom and just drag it out to the desktop.
Now, either copy it through Terminal Emulator by just putting it to the root of sdcard and type
su
cp /sdcard/Quickoffice.apk /system/app
Or you can use adb, and I bet root explorer aswell as its pretty much all the same concept..
Sent from my HTC Vision
Click to expand...
Click to collapse
Before you do the "cp /sdc...." command, you have to mount system using this command: mount -o remount,rw -t yaffs2 /dev/block/mtdblk3 /system
Please correct me if it's wrong, I just copied it from another thread.
Yea you do, but sometimes you don't need to.. well, some that I notice or maybe its because I'm always switching roms and forget which ones which
A shorter one would be
mount -o remount rw /system
Sent from my HTC Vision
This also works and is pretty easy
http://forum.xda-developers.com/showthread.php?t=837599
If you have a nandroid backup of your stock rom you could also restore it and extract from there. Otherwise just flash the stock rom like noodles said and extract from there
Sent from my HTC Vision using XDA App
You don't have to flash the stock rom, just download it to the computer and extract it there
Sent from my HTC Vision
My bad. Thanks!
noodles2224 said:
You don't have to flash the stock rom, just download it to the computer and extract it there
Sent from my HTC Vision
Click to expand...
Click to collapse
Sent from my HTC Vision using XDA App
If you are running CM6.1.1 you can just type this from the tools directory of your androidsdk install in the windows command prompt.
"c:\{android sdk path here}\tools\adb push Quickoffice.apk sdcard/"
then
"c:\{android sdk path here}\tools\adb remount"
that will remount the system partition. Then you can type this
"c:\{android sdk path here}\tools\adb shell"
then you will see this
"#"
then you can type
"# cp sdcard/Quickoffice.apk /system/app"
shadowofzeus said:
If you are running CM6.1.1 you can just type this from the tools directory of your androidsdk install in the windows command prompt.
"c:\{android sdk path here}\tools\adb push Quickoffice.apk sdcard/"
then
"c:\{android sdk path here}\tools\adb remount"
that will remount the system partition. Then you can type this
"c:\{android sdk path here}\tools\adb shell"
then you will see this
"#"
then you can type
"# cp sdcard/Quickoffice.apk /system/app"
Click to expand...
Click to collapse
"Ok".. pretty much exacly what I said..
Sent from my HTC Vision
noodles2224 said:
Download Stock Deodex Rom v1.1 in the Development forums.. look through it, it might be towards the end or so..
You can use 7zip to extract files or windows extract .. so if you haven't gotten it, download it at download.com and install it.
Open the v1.1.zip rom, just double click on it, go to SYSTEM folder then APPS folder and search for Quickoffice.apk at the bottom and just drag it out to the desktop.
Now, either copy it through Terminal Emulator by just putting it to the root of sdcard and type
su
cp /sdcard/Quickoffice.apk /system/app
Or you can use adb, and I bet root explorer aswell as its pretty much all the same concept..
Sent from my HTC Vision
Click to expand...
Click to collapse
Thanks.. I got it to work.
methead said:
Thanks.. I got it to work.
Click to expand...
Click to collapse
...edited...found answer/solution
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.
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?