Related
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...
I am trying to make a stock Rom with wireless tether. I have cooked successful time in the past, but this one isn't working. I am using the latest rooted stock ota Rom as a base and just adding wireless tether.
I have noticed the hboot is 0.93 which is different than what my other evo had. His maybe because of the new unrevoke for 2.2.
Any ideas?
Thanks, cody
Cant you just flash the stock rooted rom and install wireless tether?
bender1077 said:
Cant you just flash the stock rooted rom and install wireless tether?
Click to expand...
Click to collapse
i want to cook it into rom. i have a few people that are wanting it. would be nice to keep it there for when and if they hard reset.
if seems even when i do it as you discribed above, it installes wireless tether as ad hoc instead of as an access point. i think thats how its worded.
thanks, Cody
You could install to system by making a flashable zip of the app. If it gets written to system/app it will survive a full wipe.
bender1077 said:
You could install to system by making a flashable zip of the app. If it gets written to system/app it will survive a full wipe.
Click to expand...
Click to collapse
hmmm. how do i make the app a flashable zip? and how do i then make it install into the system/app?
i like this idea
thanks, Cody
I believe REGAW has made a zipmaker tool that would be able to accomplish this.
ALTERNATIVELY you can also push the apk to the /system/app/ folder via ADB, and should install automatically once pushed.
First place the APK in the TOOLS folder of the Android SDK.
CODE:
adb remount
adb push yourfilename.apk /system/app
Let me know if that works for you.
bender1077 said:
I believe REGAW has made a zipmaker tool that would be able to accomplish this.
ALTERNATIVELY you can also push the apk to the /system/app/ folder via ADB, and should install automatically once pushed.
First place the APK in the TOOLS folder of the Android SDK.
CODE:
adb remount
adb push yourfilename.apk /system/app
Let me know if that works for you.
Click to expand...
Click to collapse
lol. funny you post this. i am googleing how to push wireless tether apk with adb on a mac and found this thread. i have almost got it figured out. having fun learning.
Thanks for your help, Cody
ok, new to adb so please excuse me.
i am on a mac so it is....
./adb remount
./abd push wireless_tether_2_0_5-pre8.apk /system/app
it seemed as if the push went fine, but when i go to run the wireless tether on the device it gives me a force close.
so close
in the adb, do i need to remount a second time after i push?
do i need to exit when im done with adb before unpluging my device from the usb?
just thinking it was something silly i did wrong. i am a noob at adb
Ok! Now I'm out of my territory because I am VERY unfamiliar with Apple/Mac. Can anyone else be of any assistance?
adb is adb. don't let that bother you. the fact that i never used or seen adb it the bigger concern. i am going to push a few other apps and see it they work ok.
it seems as if either /system/apps wasn't the correct place to install wireless tether or something happened to it in the push process. this is the exact apk that i manually install on the phone after flash and it works.
hmmm, Cody
No ADB knowledge needed. Just follow instructions.
1. Download mini-adb Here
2. Extract that and put it on your desktop.
3. Go download HTC sync Official Page or HTC sync Direct Download and install it. If you are NOT HTC, then download whatever you need to get the drivers needed for your phone onto your PC (like samsung Kies)
4. Plug your phone into your computer and make sure debugging mode is on.
5. Now go to your mini-adb folder on your desktop and double click RunMe.bat
6. When the black command prompt window pops up, type the following:
adb devices
7. If it lists your Device, then you did it!
8. To push any file, make sure you place it in the same folder as your RunMe.bat, and the command will be
adb push WHATEVERTHEFILENAMEIS /WHEREEVERYOUWANTITTOGO
For example, to push a file called libSwypeCore.so into /system/lib/
Adb remount
adb push libSwypeCore.so /system/lib/
+1 Thanks if this worked for you!
P.S. Technically you have installed ADB by step 5. Step 5 and onwards just tells you how to use it.=P Title doesn't lie.
why not just install Android SDK from http://developer.android.com/sdk/index.html
and you got ADB right after the installation.
By the way if you wanna push something to /system, you have to "adb remount" first to set it "r/w"
When I click runme it opens for a split second and then disappears
I so wish i could of found this earlier to save me the 4 hours of WTF moments i was having.
Also beats not having to install the SDK of 31megs not counting install/setup as well.
jzhyok said:
why not just install Android SDK from http://developer.android.com/sdk/index.html
and you got ADB right after the installation.
By the way if you wanna push something to /system, you have to "adb remount" first to set it "r/w"
Click to expand...
Click to collapse
I almost gave up on adb cuz that way didn't work for me. And yes, I forgot to include adb remount.
this should be stickied for the nooblets.
Fantastic; this is definitely going to make getting CM6 my fiancée's G2 easier. Now, which of the 3 rooting processes below should be the one I use for her stock T-Mobile G2:
http://forum.xda-developers.com/wik...cess_.28Permanent_Root_.2F_.22Permaroot.22.29
http://forum.xda-developers.com/showthread.php?t=834228
http://forum.xda-developers.com/showthread.php?t=886023
Thanks!!
How do I flash a radio with this? Cause I don't see any "fastboot" folder, whatever that is.
BradBot said:
Fantastic; this is definitely going to make getting CM6 my fiancée's G2 easier. Now, which of the 3 rooting processes below should be the one I use for her stock T-Mobile G2:
http://forum.xda-developers.com/wik...cess_.28Permanent_Root_.2F_.22Permaroot.22.29
http://forum.xda-developers.com/showthread.php?t=834228
http://forum.xda-developers.com/showthread.php?t=886023
Thanks!!
Click to expand...
Click to collapse
I edited my post to answer ur Q
convolution said:
I almost gave up on adb cuz that way didn't work for me. And yes, I forgot to include adb remount.
Click to expand...
Click to collapse
Same boat..I saw your post on Jan 20th in the Guide for ADB thread, which is really nice..
But I got to the same point(you also outlined in that thread) of after uninstalling the previous Android usb drivers on my system, and trying to choose a specific location to look for a x86 driver, I was left with Windows not allowing me to click 'OK' to denote the USB driver folder from the Android SDK that I wanted to scan. Not sure what was up, but I was elated to see the link to this thread in your sig.
Thanks for the guide! My Evo 4g Shift thanks u as well
How do I install a Radio with this?
Broman400 said:
How do I install a Radio with this?
Click to expand...
Click to collapse
don't know.
I assume you find the apk, find the lib files, and push stuff to places?
LOL I wiped my laptop cause it had viruses and I forgot how to install ADB so I had to click my own link. LOLL
convolution said:
LOL I wiped my laptop cause it had viruses and I forgot how to install ADB so I had to click my own link. LOLL
Click to expand...
Click to collapse
hahaha
Broman400 said:
How do I install a Radio with this?
Click to expand...
Click to collapse
K I got it. You can only flash a radio if you have S-off.
Download the zip file for the radio. Put it into your SD card. Boot up in recovery. Choose flash zip file. Choose radio zip file. Done.
No adb required.
Gee, thanks past me! I would have forgotten how to get it if it weren't for my own sig!
From: Present Me.
convolution said:
No ADB knowledge needed. Just follow instructions.
1. Download mini-adb Here
2. Extract that and put it on your desktop.
3. Go download HTC sync Official Page or HTC sync Direct Download and install it. If you are NOT HTC, then download whatever you need to get the drivers needed for your phone onto your PC (like samsung Kies)
4. Plug your phone into your computer and make sure debugging mode is on.
5. Now go to your mini-adb folder on your desktop and double click RunMe.bat
6. When the black command prompt window pops up, type the following:
adb devices
7. If it lists your Device, then you did it!
8. To push any file, make sure you place it in the same folder as your RunMe.bat, and the command will be
adb push WHATEVERTHEFILENAMEIS /WHEREEVERYOUWANTITTOGO
For example, to push a file called libSwypeCore.so into /system/lib/
Adb remount
adb push libSwypeCore.so /system/lib/
+1 Thanks if this worked for you!
P.S. Technically you have installed ADB by step 5. Step 5 and onwards just tells you how to use it.=P Title doesn't lie.
Click to expand...
Click to collapse
This archive has some kind of weird ".exe" file. What is this, some kind of balmervirus?
This is an older thread but I'm hoping someone can help me. I had adb installed on my old win7 pc and I had the my nexus drivers installed and everything was good. A month ago I got a new pc that is running win8 and I've had nothing but trouble ever since. I cannot find nexus drivers that will install on windows 8. Is anybody else out there running windows 8 that can help me? The VZW driver exe file would not even install for me and I ran it as an administrator.
ba_hamilton said:
This is an older thread but I'm hoping someone can help me. I had adb installed on my old win7 pc and I had the my nexus drivers installed and everything was good. A month ago I got a new pc that is running win8 and I've had nothing but trouble ever since. I cannot find nexus drivers that will install on windows 8. Is anybody else out there running windows 8 that can help me? The VZW driver exe file would not even install for me and I ran it as an administrator.
Click to expand...
Click to collapse
Yeah... I also gave win8 a try...
I reverted back to win 7. Sorry, can't help you there bro. Have you tried downloading the nexus toolkit and installing gnex drivers using that toolkit?
AW: [GUIDE] Install Portable ADB In 5 Easy Steps
Try this: In Windows 8 install the drivers with Windows 7 Compatibility checked. This did the trick for me while testing adb and rooting a samsung galaxy tab on my windows 8 x64.
I found this tip on only one forum after trying many other tips and drivers around for more than one day and it worked. So all credits to this poster.
Sent from my HTC Desire Z using xda app-developers app
Ok, long story short... I had to completely wipe/format my hard drive on my computer so I lost ever single thing I had.
I completely forgot everything I needed to install for my phone as far as things like ADB. I think it was Android-SDK but I really can't remember.
Can someone help get me going in the right direction again? Many [email protected]@!!
Yeah, you need the android sdk. If all you're after is adb, then I'm sure someone around here has posted a download link to just those files. If you can't find them, then download the sdk and use the sdk manager to download and install the platform tools. For a full install of the sdk with Eclipse and ADT, you'll need to consult Google's install docs on the android developer site.
myersn024 said:
Yeah, you need the android sdk. If all you're after is adb, then I'm sure someone around here has posted a download link to just those files. If you can't find them, then download the sdk and use the sdk manager to download and install the platform tools. For a full install of the sdk with Eclipse and ADT, you'll need to consult Google's install docs on the android developer site.
Click to expand...
Click to collapse
See, I can't remember what I had.
I know it was an android-sdk folder with a few sub-folders like tools in it. I had to browse to that directory when I pushed something via ADB.
So I guess I just need to find and install the android-sdk? I'm not even sure what Eclipse and ADT is..
http://developer.android.com/sdk/index.html
Download the sdk. Adb was moved to the platform-tools folder, so you can run your adb from there, or move it to the tools folder.
Thank you!
I appreciate the help guys
Rippley05 said:
Thank you!
I appreciate the help guys
Click to expand...
Click to collapse
You're welcome.
teh roxxorz said:
You're welcome.
Click to expand...
Click to collapse
I hope I'm doing it right. I unzipped the folder, clicked on tools and read where it said adb was moved. Then I clicked on the android guy (sdk and avd manager) and now it is installing a messload of stuff.
After it's done, I should be able to use ADB but instead of going to c:\android-sdk-windows\tools\ like I used to do, I'll have to change the "tools" to platform-tools correct?
EDIT: I feel liek it is downloading a lot of stuff I don't need =p
Rippley05 said:
I hope I'm doing it right. I unzipped the folder, clicked on tools and read where it said adb was moved. Then I clicked on the android guy (sdk and avd manager) and now it is installing a messload of stuff.
After it's done, I should be able to use ADB but instead of going to c:\android-sdk-windows\tools\ like I used to do, I'll have to change the "tools" to platform-tools correct?
EDIT: I feel liek it is downloading a lot of stuff I don't need =p
Click to expand...
Click to collapse
That is correct, and I also just rename the folder to android, cuz typing all that is a pain.
And you can do that, or copy the adb items from platform-tools into the tool folder itself; tis what I did.
Alright, Windows 7 is different and kinda irritating.
All the SDK stuff went into a folder "downloads" and I let everything install, but I can't seem to find it when I run the command prompt. It was much easier in Windows XP.
If anyone is using windows 7 , could you give me the commands you use to get to the directory. I get an invalid path no matter what I type.
Should I move the SDK folders out of my downloads folder and put them on my desktop?
I put it on the root of C. Then I run cd C:\android-sdk\platform-tools. I think you need HTC sync installed as well.
Rippley05 said:
If anyone is using windows 7 , could you give me the commands you use to get to the directory. I get an invalid path no matter what I type.
Should I move the SDK folders out of my downloads folder and put them on my desktop?
Click to expand...
Click to collapse
Its easier from the desktop
OK I'll install HTC sync. That should still be on my phones SDcard right?
The problem is, I don't know what commands to enter in the command prompt to get to the different directories on my computer. If I move it to the desktop, what commands will get me there?
dglowe343 said:
I put it on the root of C. Then I run cd C:\android-sdk\platform-tools. I think you need HTC sync installed as well.
Click to expand...
Click to collapse
You don't need htc sync, just the hboot drivers.
Rippley05 said:
OK I'll install HTC sync. That should still be on my phones SDcard right?
The problem is, I don't know what commands to enter in the command prompt to get to the different directories on my computer. If I move it to the desktop, what commands will get me there?
Click to expand...
Click to collapse
the commands would be:
cd desktop/android/tools
1. change android to whatever you named your sdk folder
2. change tools to wherever your adb is located.
Names are case sensitive
teh roxxorz said:
the commands would be:
cd desktop/android/tools
1. change android to whatever you named your sdk folder
2. change tools to wherever your adb is located.
Names are case sensitive
Click to expand...
Click to collapse
Sweet I got it!
I tried to do a ADB remount and got AdbWinApi.dll is missing from my computer. I don't have my phone hooked up tho so could that be it?
Rippley05 said:
Sweet I got it!
I tried to do a ADB remount and got AdbWinApi.dll is missing from my computer. I don't have my phone hooked up tho so could that be it?
Click to expand...
Click to collapse
No prob. If you got that error, you missed it from copying the files; just double check that its there in the folder.
teh roxxorz said:
No prob. If you got that error, you missed it from copying the files; just double check that its there in the folder.
Click to expand...
Click to collapse
Ahh ok, I just moved it and it started but said device not found. I assume that IS because my phone isn't connected.
One more quick question and I promise I'll leave u alone. Whenever I push something with adb I always close the box and just unhook my phone. Is that the right method? Because I see adb is still running on my pc until I end the process with my task manager.
Rippley05 said:
Ahh ok, I just moved it and it started but said device not found. I assume that IS because my phone isn't connected.
One more quick question and I promise I'll leave u alone. Whenever I push something with adb I always close the box and just unhook my phone. Is that the right method? Because I see adb is still running on my pc until I end the process with my task manager.
Click to expand...
Click to collapse
Naw you're fine; yea, it;ll show device not connected if you have nothing connected. I personally leave it open in the command prompt after opening it just in case I go back to it. It'll close once you close command prompt.
Sweet. Thanks again Rox.
I've has that stuff installed since I first got my Hero... been a long time since I had to mess with it..
Well hey.
I'll be glad if anyone can help me with this annoying problem.
I've installed Zerojay's Zerorom on my play,
Everything's working perfectly cept for my market that keeps force closing every time I try to run a search on it.
Any help will be greatly appreciated, thanks
Nadebu said:
Well hey.
I'll be glad if anyone can help me with this annoying problem.
I've installed Zerojay's Zerorom on my play,
Everything's working perfectly cept for my market that keeps force closing every time I try to run a search on it.
Any help will be greatly appreciated, thanks
Click to expand...
Click to collapse
Did you try clearing market data and any updates from manage applications? If that dosent work, i will post an .apk of the latest market with instructions on how to push it to your device
Yup.
Tried it, keeps force closing.
Nadebu said:
Yup.
Tried it, keeps force closing.
Click to expand...
Click to collapse
Do you know how to use adb? if you do, Make sure you uninstall any market updates first. Copy the Vending.apk at the bottom of this post to the platform-tools folder in your Android SDK. connect your device with usb debugging enabled, Open a command window and type in:
adb remount
adb push Vending.apk /system/app/
adb reboot
I'm really new at this, so I have no idea how to use ADB..
I've tried to push over the old market into /system/app..
I've wonder if this will work
EDIT :I accidentally deleted the old market files..
Nadebu said:
I'm really new at this, so I have no idea how to use ADB..
I've tried to push over the old market into /system/app..
I've wonder if this will work
EDIT :I accidentally deleted the old market files..
Click to expand...
Click to collapse
It's ok you can delete the old market anyway, If you use a root explorer to copy the .apk to /system/app/ all you have to do then, is long press on Vending.apk, go to change permissions, and change them to rw-r-r. like on the picture ive posted
Thanks!
I got it back, but it still force closes when I try to search..
I even tried installing another rom and I still get that problem.
Nadebu said:
I even tried installing another rom and I still get that problem.
Click to expand...
Click to collapse
Goole search? do you have it installed?