[Q] remove app from rom - Desire Q&A, Help & Troubleshooting

there is an app to remove program like htc gallery,peep,teeter,google talk,friend stream from a stock 2.2 rooted?
if i want to remove an app from a rom (before flashing it) i have just to delete the apk inside the zip? (from data/app and system/app)
there is a list of app can't be uninstalled
if i want to add an app to a rom just place the apk inside the zip in data/app? os system/app?
tnx

isnt there a app to remove lilke absolute system root tool?

As long as you are still S-on you can't remove anything form the system partition while booted. If you want to remove stuff while S-on you need to do it via ADB in recovery or, like you mentioned, by removing them from the zip before flashing. Just make sure you don't unzip the zip file but just open it and edit the zip and that signature verification (in recovery) has to be disabled.
If you are s-off you can use Root explorer (or Estrong can do it as well I believe and there are probably a lot of other file managers that can do it also) to remove stuff from the system partition. If you know your way around with terminal you can also use a terminal emulator or ADB shell. Don't forget, in all cases, to mount the system partition as r/w and the changes won't take effect until you reboot.

http://forum.xda-developers.com/showthread.php?t=749166&highlight=removing+apps+adb
http://myhtcdesire.com/tutorials/how-to-delete-system-applications-on-rooted-phones

Related

[Q] A2SD+ Forcing to system memory

hi im using LeeDrOiD_V2.1a_A2SD , is there any way to force apps to be run from the system memory instead of the sdcard, as far as i can tell it automatically goes to the sdcard?
would prefer to use the system memory for security software such as wavesecure?
thanks
John
Yes to run it from the system partition so it can not be removed the regular way, you just have to move the apk file from /sd-ext/app/ to /system/app/
This can be done using adb commands when in recovery or by applying the s-off hack and use an app like root explorer.
thanks
the apk file was in the folder /system/sd/app
and root explorer let me enable r/w access in it, without enabling s-off
i'm hoping i did it right
:-0
thanks again
John
Well you might be able to do it this way without s-off but it is not actually on the system partition. It depends on what Rom you are using.
But are you able to uninstall it using the settings menu?
it still gives me the option to uninstall yes, but at this point i just wanted to get it running off the phones memory, rather than off the sd card
thanks
John
ok it turns out root explorer didn't copy them over, so i copied them over with adb commands , and wavesecure doesn't show up as uninstallable
ta
John
jcat00uk said:
ok it turns out root explorer didn't copy them over, so i copied them over with adb commands , and wavesecure doesn't show up as uninstallable
ta
John
Click to expand...
Click to collapse
yeah, most of the programs out there (like root explorer) won't throw out an error if they can'y mount it as R/W... because HTC was clever enough to hide that it can't be mounted RW without S-off

Install apps from recovery!!

guys how can i put a bunch of applications in a zip folder a flash it by recovery.Ive tried putting 3 apps in a zip folder and flshing it via recovery but it says failed..
I tried that a while ago on the g1 with mixed results.
You have to put them in the data/app/ folder the same way they appear on your phone. If you are feeling ambitious, you can also grab the corresponding folder in data/data. You'll have to look for the java package name, not the app name. Lastly, you have to adjust the updater-script in META-INF/com/google/android/ to mount and flash the data folder, not system and then clean out the extra cruft.
You might have to resign the zip or just toggle sig checks.
Other options include using recovery to restore the data partition, but this will be everything, not just your 3 favorite apps. Alternatively, you could write a script that runs from your PC while your phone is in recovery and use the "adb install" command. I think there are also apps that do that for you, such as Titanium backup.
Gee one thanks for the reply but can you plz reexplain "If you are feeling ambitious, you can also grab the corresponding folder in data/data. You'll have to look for the java package name, not the app name. Lastly, you have to adjust the updater-script in META-INF/com/google/android/ to mount and flash the data folder, not system and then clean out the extra cruft.
You might have to resign the zip or just toggle sig checks."
Your phone stores the app in data/app/some.java.name.here so if you use flash those files, your apps will be installed. The app itself stores settings, history, etc in data/data/some.java.name.here If you flash the corresponding folder in data/data, you'll also get all your settings and won't have to bother setting it all up from scratch.
If you use adb or a file explorer to poke around in your data/data and data/app folders, you'll see what I mean.
In order to get the zip to flash, you have to include "instructions" that tell the recovery what to do with the zip. Unzip one of the flashable roms and look in the META-INF/com/google/android folder. There should be two files there. You want to edit the updater-script so that it flashes your data. Most likely, it is set up to flash a custom rom to your system folder. You'll have to do some editing and some trial and error to figure it out, but if you are just flashing the data partition, most of the commands in updater-script will be superfluous.
Lastly, and this the part that everyone hates (second only to adding adb to your path), you either have to sign the zip with jarsigner, signapk, or something similar, or turn off signature checking in your recovery. Signing the zip is essentially adding a digital signature so that your phone knows that the zip is intact. Clockworkmod recovery will let you toggle the signature checks in one of the options- poke around and get familiar with your recovery. It's probably in there somewhere.
I think Titanium backup will let you freeze/unfreeze apps- you might want to consider it.
Thanks
Sent from my HTC Vision using xda premium
Did this work? Like to buy a beer for someone who wants to upload a zip with a file explorer all for a project I have that has no play store or file explorer on it. Thank you

[Q] freeze system app

are there any way to freeze any system application without uninstall?
Does any one use root uninstall?
is it possible to rename file in system/app/ .apk to .backup
Thanks in advance to everyone..
1) Titanium Backup usually used to freeze apps effectively.
2) Root Explorer can be use to rename apk file and preventing it from running. I normally rename apk to rem. No reboot is required as it work immediately after rename done. If you ever need the app run again, just rename it back to apk and it run again.
Thanks so mutch....i think this question will be useful for everyone...
so...only one doubt....is it necessary to remve the relative file in data/data and in data/dalvik-cache??
Not need to remove anything if you're only want to freeze it or disable it like what I mentioned above.
thanks....i will try immediatly
I think,,, rooted device can use R.E renname the *.apk files (/system/app, /data/app)
dos5gw said:
I think,,, rooted device can use R.E renname the *.apk files (/system/app, /data/app)
Click to expand...
Click to collapse
We already talk about it if you read again above. It's assumed OP Defy's is rooted...
bloat freezer is back on the market

[Q] Can you install mods without CWM?

Basically I want to install these mods: http://forum.xda-developers.com/showthread.php?t=1287810
I have the stock rooted kernel (found here http://forum.xda-developers.com/showthread.php?t=1282415) which doesn't include CWM. Is there a way to install these mods without flashing through CWM?
Thanks.
I heard that rom manager now support our phone, it installs latest CWM version 5.0.2.7
I usually use adb push
Looks like you need a custom kernel for Rom Manager to work right now.
Can I just replace the files on my phone with these files and reboot?
use Odin to flash custom kernel with cwm compiled. lostkernel or zedomax's kernel both got cwm.
Sent from my SPH-D710 using xda premium
Yes but can I install these WITHOUT CWM?
romanodog said:
Yes but can I install these WITHOUT CWM?
Click to expand...
Click to collapse
No without custom recovery which is what cwm is you can not flash anything that is not signed by samsung .....you could flash an update through the samsung recovery but everything else will fail signature check .....that is why we use odin and clockwork mod
Sent from my SPH-D710 using xda premium
Technically yes you can. You would have to know how and where to push everything via adb but if you don't know or are uncomfortable I would definitely avoid it.
Hey romanodog you get CWM with stock rooted kernal without having to odin anything. All you have to do is do the following:
1. Go to the thread called " Lets Get Rid of that Yellow Triangle" (http://forum.xda-developers.com/showthread.php?t=1297999)
Note: with the root method you used you wont have the yellow triangle but this is necessary to get cwm on stock kernal.
2. Download and extract the the zip called "chris41g.devphone.org/LoStKernel/FlashzImage.zip" to your desktop or directory of choice
3. now open this folder and delete the file called zImage
4. go to this thread called "Stock Pulled Repacked with CWM5" (http://forum.xda-developers.com/showthread.php?t=1305099)
4. download the StockCWM5.zip file and extract this new zImage to the folder FlashzImage
5. run the bat file
Note: after you replace the zImage you can pretty much follow the how to video done by QbKing77 (thank him) in this thread: http://forum.xda-developers.com/showthread.php?t=1297999
cool thanks man, I will have to try that out
you can do all the mods without cwm quite easily.
just take the files from inside the zip and use a file browser to copy them to the phone.
i use es file explorer mostly, its free and lets you access the root partition.
available in the market.
(you can also use the adb push command if comfortable with a command line from the pc or a terminal emulator such as connectbot from the phone)
the trick is just figuring out where the files go. luckily when you unzip the mod you'll get folders such as
meta-inf
system
ignore the meta-inf
its the system folder you want
system> which will usually contain something like app and framework folders
just copy those files to /system/app and /system/framework viola! either overwriting the files already there or better yet backup those files or rename them first.
no cwm needed but you do need root
p.s. also you may need to reboot for changes to take effect
mjcollum said:
you can do all the mods without cwm quite easily.
just take the files from inside the zip and use a file browser to copy them to the phone.
i use es file explorer mostly, its free and lets you access the root partition.
available in the market.
(you can also use the adb push command if comfortable with a command line from the pc or a terminal emulator such as connectbot from the phone)
the trick is just figuring out where the files go. luckily when you unzip the mod you'll get folders such as
meta-inf
system
ignore the meta-inf
its the system folder you want
system> which will usually contain something like app and framework folders
just copy those files to /system/app and /system/framework viola! either overwriting the files already there or better yet backup those files or rename them first.
no cwm needed but you do need root
p.s. also you may need to reboot for changes to take effect
Click to expand...
Click to collapse
Cool! I thought I could do something like that but I wanted someone to confirm, thanks!
I'm pretty familiar with linux but these phones are a whole new world to me.

How to install notification toggle mod

Basically I wanna install that mod I have a rooted r800i. O understand u have to flash the system hi Rom.zip but what apps do I need and how do I install this.....
Sent from my R800i using XDA App
When it says you have to flash a zip file you dont do it in adb you do it from the phone using clockwork mod recovery, this allows you to change system settings easily with one file (the .zip) as i suspect you haven't unlocked your bootloader you just extract the file to your memory card (usually a system.apk file) use a program such as root explorer on your phone, copy the file to the /system/ path change the permissions like it says on the mod page, and move the file into /system/app
restart the phone and it should be there.
However if you unlocked your bootloader and installed a custom recovery/kernel you could just select the .zip you downloaded and apply it to the system, and its done.
I just followed this...
http://forum.xda-developers.com/showthread.php?t=1207310&highlight=install+in+recovery&page=2
...as was suggested in the notification toggle thread.
All done in less than a minute and working perfectly - no flashing necessary.

Categories

Resources