I've searched to the best of my ability in these forums and cant seem to find an answer to my problem...
Ive been looking at a particular thread's information on how to replace my MMS file and default.xml in order to get my MMS functionality working on my Evo 4G flashed to Cricket. http://forum.xda-developers.com/showthread.php?t=793588
Ive installed the SDK, installed the USB driver package within, installed the repository for 2.3.3 (what my phone is running).
I uninstalled all drivers from my phone using USBDeview.
And STILL, after plugging my phone in while in recovery mode (Clockwork mod 2.3.3) my PC will not recognize it as ADB, only as an Android Phone.
I have everything i need setup to push the files to my phone and get back the functionality of my MMS, but I cant seem to figure otu how the heck to get my PC to see my hone as an ADB. Any suggestions?
Did you install the modified unrevoked usb drivers?
Use the original USB cable... had similar problem and that solved it...
Sent from my A500 using xda premium
"Did you install the modified unrevoked usb drivers?"
I don't know what that is... All tutorials I found instructed to just use the USB drivers provided byt he Google Repository built-in to the SDK. Would this solve my problem? If so, where can I find it?
And yes, I'm using the original USB cable.
Is there a way to push files to the /system directory without using ADB? I just want to put 2 files in my /system directory...
PhayzR said:
"Did you install the modified unrevoked usb drivers?"
I don't know what that is... All tutorials I found instructed to just use the USB drivers provided byt he Google Repository built-in to the SDK. Would this solve my problem? If so, where can I find it?
And yes, I'm using the original USB cable.
Is there a way to push files to the /system directory without using ADB? I just want to put 2 files in my /system directory...
Click to expand...
Click to collapse
Here > http://unrevoked.com/rootwiki/doku.php/public/windows_hboot_driver_install
And nope, because you'll need 'permission' to have r/w on the system directory.
PhayzR said:
I've searched to the best of my ability in these forums and cant seem to find an answer to my problem...
Ive been looking at a particular thread's information on how to replace my MMS file and default.xml in order to get my MMS functionality working on my Evo 4G flashed to Cricket. http://forum.xda-developers.com/showthread.php?t=793588
Ive installed the SDK, installed the USB driver package within, installed the repository for 2.3.3 (what my phone is running).
I uninstalled all drivers from my phone using USBDeview.
And STILL, after plugging my phone in while in recovery mode (Clockwork mod 2.3.3) my PC will not recognize it as ADB, only as an Android Phone.
I have everything i need setup to push the files to my phone and get back the functionality of my MMS, but I cant seem to figure otu how the heck to get my PC to see my hone as an ADB. Any suggestions?
Click to expand...
Click to collapse
teh roxxorz said:
And nope, because you'll need 'permission' to have r/w on the system directory.
Click to expand...
Click to collapse
If you can still mount your phone as a usb flash, or disk drive or even take the sd out use an adaptor and transfer the files to the sdcard, now you have 2 of many options but these I prefer
1) You can use Root explorer which I prefer this will give you the option to mount system read write rather easily, then you can just copy or move your files and drop them in where you need them
or
2) You can install terminal on your phone and manually transfer files using the commands
this one I am not positive which one is needed but they will work as long as you have root and busybox
# su
# busybox mount -o remount,rw /system -this will put your system directory into read/write
you may try leaving the busybox off if it doesnt work at first.at the prompt you can use either cp or mv for copy or move I would do copy
should look something like this.
#cp (source directory)/(file you wish to copy) /system/(destination of file add additional directories if needed)
Make note though this is all dependant on you having root and busybox installed. Otherwise this will not work but I would work on getting the usb drivers working.
Sounds funny but did you enable usb debugging in settings/applications?
Sent from my PC36100 using Tapatalk
Sure did. I ended up replacing the default.XML, apn.XML and mms.apk files, but still no luck... I tried using apn backup and restore to install the new apn but no luck there either. Aaaaand when I tried to restore deathsled's jiminy mod, it looks like it just defaults back to cm7 instead. Any idea how I can try running jiminy without deleting my cm7 incase it doesn't work out as planned?
Sent from my PC36100 using XDA App
Still no luck...
Turns out I can't do a full flash (which is apparently what I need to get my MMS and GPS on my Cricket Flashed Evo4G) using ES Explorer or Root explorer. I need to use ADB to do so, but I still can't get the drivers working...
Any ideas?
Related
I'm trying to remove the old facebook and twitter apps from my phone.
They're both stored in /system/app folder.
I've tried everything, Titanium Backup, Root Explorer and tried deleting them through adb they just do not go!
Has anyone got any ideas?
You can't remove them. Simples.
Well you can but you have to remove them from recovery using adb when connected to a PC. We don't have full root when the phone is in the OS and the system folder is read only. Recovery gives you write access but then you have to get in from a command prompt.
Look up the development package from HTC and how to use adb if it's that important. You gain nothing by removing those 2 apps btw other than you won't see them anymore.
sbdags said:
You can't remove them. Simples.
Well you can but you have to remove them from recovery using adb when connected to a PC. We don't have full root when the phone is in the OS and the system folder is read only. Recovery gives you write access but then you have to get in from a command prompt.
Look up the development package from HTC and how to use adb if it's that important. You gain nothing by removing those 2 apps btw other than you won't see them anymore.
Click to expand...
Click to collapse
It's just because they were in the /system/app folder so when i tried to download the updates for them they wouldn't install.
But I've got the new versions anyway now so it's all good.
I'm in the process of routing my 2.2 evo. I'm running on a macbook pro right now but i'm running windows 7 via bootcamp. At first i downloaded all my files while i was using osx and then i copied them over to my c:\ BOOTCAMP partition and set up all the files and put them where they need to be ex. c:\android\tools\xxxxxxx.zip now i plugged in my evo and went to go transfer unrevoked to the sdcard in the command prompt and its not allowing me saying failed to copy permission denied. it didn't work so i redid all the downloading the files set up another directory all while on windows and i'm getting the same error. Can any one help me out with this?
you attempted via adb push?
yes i typed in adb push unrevoke-forever.zip /sdcard/ and it says could not copy "unrevoke-forever.zip" permission denied
I have the same problem
"C:\android\tools>adb push unrevoked-forever.zip /sdcard/
* daemon not running. starting it now *
* daemon started successfully *
failed to copy 'unrevoked-forever.zip' to '/sdcard//unrevoked-forever.zip': Perm
ission denied"
So what do I do to push these files to my evo? Thanks
Did you try
Code:
adb push unrevoked-forever.zip /sdcard/unrevoked-forever.zip
I dunno if it'll make a difference, but it might. Make sure you have USB debugging enabled on the phone (Settings --> Applications --> Development) and that you're setting it to charge-only when you plug it in.
If that doesn't work, I think you can just hook up the Evo in USB disk mode and copy the files that way instead of doing the adb push.
I got things to work by renaming the files and removing the dashes...weird
jspambox said:
I got things to work by renaming the files and removing the dashes...weird
Click to expand...
Click to collapse
Yeah, really weird. Glad that you got it working, though.
bump for this problem, anyone got a fix?
i was able to get all the files on as a disk drive when it goes to the next step adb shell should i go back into charge only mode or should i complete the rest of the process as a disk drive?
it only transfers the files over that will go to /data/local but not /sdcard and the rooting process isnt working for me! anyone care to give me a hand?
infoe said:
it only transfers the files over that will go to /data/local but not /sdcard and the rooting process isnt working for me! anyone care to give me a hand?
Click to expand...
Click to collapse
Your sdcard is not mounted. Select charge only on your phone's usb settings.
Hey-- try sliding down the notifcation bar, switching to disk drive mode then switching back to charge only mode. I was having the same problem and this seemed to fix it. Now I'm en route to my root...ed phone
^^^ Thanks! that worked.. i was searching online to figure out why i couldnt do this and your method of just redoing it worked!
thanks i was having the same problem, it worked for me.
I had the same problem. I switched the USB port and it started working.
do i need to be temp rooted before i perma root with gfree
I believe the temp root is achieved through using RAGE via the wiki section of XDA. It is painless and easy.
I was scared to root myself but decided to just go for it last night. I cannot believe how simple it was! I met a few obstacles on the way, but managed to overcome and now I'm running the CM7 Gingervillain ROM!
where exactly did you put gfree files did you put them in android/tools or did you make a folder in tools them put them in there
everything you need is on the wiki website. the location doesn't really matter because you can navigate to that folder and push using adb.
i just got my g2 now how do i no what version im on my android version is 2.2 and build number is 1.22.531.8
cudahy_boy said:
i just got my g2 now how do i no what version im on my android version is 2.2 and build number is 1.22.531.8
Click to expand...
Click to collapse
You are on Froyo(2.2) ,and your build Number 1.22 means you are OTA updated already.
LGS1231 said:
everything you need is on the wiki website. the location doesn't really matter because you can navigate to that folder and push using adb.
Click to expand...
Click to collapse
As long as he put the folder which contains ADB.exe into his computer's path, if not he will have to place the files he wants to push where ever his ADB.exe file is. In the older version of AndriodSDK its located in the AndriodSDK\tools folder but in the new version r08 of AndriodSDK its located in the AndriodSDK\platform-tools folder.
when i type adb devices nothing shows up anyone no what to do
cudahy_boy said:
when i type adb devices nothing shows up anyone no what to do
Click to expand...
Click to collapse
Do you have the right G2 drivers installed? You can go to the Wiki and get them or here they are to save you some time.
Also installing HTC Sync will install the correct drivers, HTC sync Doesnt work with the G2 because its Sense based but it will install the correct drivers for you. You can go HERE and download HTC Sync for the Desire Z, install it to your computer then hook your phone up and it will install the right drivers.
kool i got it now the problem that i am having is im getting permission denied when pushing
make sure you have usb debugging on and then do not have 'usb connected' when it prompts you.
Sent from my HTC Vision using XDA App
LGS1231 said:
make sure you have usb debugging on and then do not have 'usb connected' when it prompts you.
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
Yes, from what I have seen, if you get that permission denied when pushing files to the SD card then that means that you have the SD card mounted on your computer through USB. All you have to do is plug the phone to your computer with the USB cord then run ADB, don't mount the SD card to your PC.
i got it to work i was writing the wrong path i didnt keep it simple i made folders for gfree instead of putting the contents in tools but thanks for all your help i guess i just want to no is it kool to mix roms and kernels im using Virtuous v0.9.0 Sense with 1.8 g2 fast kernel
Hi All
Apologies if this is in the wrong place or if it has been answered elsewhere, I have been searching all weekend, so hopefully not!
I have recently installed gingervillain v1.0 on my Desire, and wanted to remove some .APKs for programs I do not use, such as DSPManager.
In an effort to do this I have purchased the paid versions of Root Explorer and Titanium Backup. Using Root Explorer I have tried deleting the .APKs from system/app, but to no avail.
In Titanium Backup I have tried using the uninstall feature, but the apps in question, persisted.
So I began running searches in Google and found a few articles which claimed you could for example delete the .APKs in the ZIP archive close and resign, but I tried this several times and could not get it to work.
I have now downloaded the Android SDK and USB driver for ADB. But when attempting to utiilise ADB to delete the .APKs CMD returns "'adb' is not recognized as an internal or external command, operable program or batch file"
After searching the XDA forums i came across a post which stated I needed to amend the path under Environment Variables to the location of the ADB, which I have done (and rebooted my PC).
I am still receiving the ADB is not a ... statement, in CMD.
I am running windows 7 and have tried the above with and without HTC Sync installed.
Thanks in advance
I think you need to be S-Off to delete system apps whilst booted in Android. You can delete the apps from the zip file before you flash it.
GoogleJelly said:
I think you need to be S-Off to delete system apps whilst booted in Android. You can delete the apps from the zip file before you flash it.
Click to expand...
Click to collapse
Thanks Googlejelly, none of the articles i followed mentioned S-Off but I will look into it. Regarding the deletion of aps from the zip, is this something you have done yourself? Everytime I try too I get Error 0x80004005. I did unzip which allowed me to delete without the error, but after flashing the rom, I got stuck in a bootloop.
Sent from my HTC Desire using XDA App
for deleting anything on the system file itself, u def need s-off. i was on a sgs fascinate rooted which came witrh s-off included in its root. so when i came to a htc desire, i figured it would b the same. but it wasnt. u need to s-off to delete sysrem apks like google talk, file manager, etc
if you want to delete apps while android is running you need to be S-OFF.
you can also edit .zip before flashing.
since you get a bootloop you either delete something you should not OR you have to edit updater script (but since you wrote about GingerVillain i doubt it, so probably you just delete some important stuff)
dzumagos said:
if you want to delete apps while android is running you need to be S-OFF.
you can also edit .zip before flashing.
since you get a bootloop you either delete something you should not OR you have to edit updater script (but since you wrote about GingerVillain i doubt it, so probably you just delete some important stuff)
Click to expand...
Click to collapse
Thanks dzumagos. Do you know if I need to resign the zip, after editing? Also do you know why I might be getting the error which is stopping me from deleting the files in the zip?
Sent from my HTC Desire using XDA App
You shouldn't need to unzip the file to take out the apks, just use winzip to access the the zipped file, delete which apks you don't want then exit out of winzip and flash it, if you delete something important it'll probably loop.
I've done this with leedroid 2.3d and took out footprints,teeter,stocks and a couple of other apks, it flashed fine with no problems.
Actually, you don't need to be S-OFF to remove files from system. Can be done via ADB.
You must have the phone connected via recovery (better, since nothing is in use) with USB debugging on.
Run CMD as administrator, then change to the directory where you have the adb.exe (In my case c:\android-sdk-windows\tools\)
Then type in the command adb shell after you should get an information something like starting daemon.
Then type in mount /system
Now, you can remove files with the rm /system/app/(APPFILENAME).apk command.
When finished type umount /system then exit
If you need the list of files, then type ls in the command prompt.
Worked for me, S-ON.
Sent from my customized HTC Desire using TTP
nagypapi said:
Actually, you don't need to be S-OFF to remove files from system. Can be done via ADB.
You must have the phone connected via recovery (better, since nothing is in use) with USB debugging on.
Run CMD as administrator, then change to the directory where you have the adb.exe (In my case c:\android-sdk-windows\tools\)
Then type in the command adb shell after you should get an information something like starting daemon.
Then type in mount /system
Now, you can remove files with the rm /system/app/(APPFILENAME).apk command.
When finished type umount /system then exit
If you need the list of files, then type ls in the command prompt.
Worked for me, S-ON.
Sent from my customized HTC Desire using TTP
Click to expand...
Click to collapse
Would do this but for the aforementioned error.
Sent from my HTC Desire using XDA App
Tried it or not?
Because from what I read you are writing wrong commands.
Dont write adb if you are already in the shell, because that's not a valid command.
All I do is when I download a rom is open it using WinRar and delete the files straight from the archive. I don't extract the files from the archive, just edit it. I add my own font, notification sound, delete the boot animation and I delete some system apps that I don't use. This beats having to S-Off (I have it anyway) but it is a nice work around.
GoogleJelly said:
All I do is when I download a rom is open it using WinRar and delete the files straight from the archive. I don't extract the files from the archive, just edit it. I add my own font, notification sound, delete the boot animation and I delete some system apps that I don't use. This beats having to S-Off (I have it anyway) but it is a nice work around.
Click to expand...
Click to collapse
GoogleJelly - I did the following, uninstalled 7zip, installed winzip, right clicked the archive with the rom, selected "open with winzip", navigated to the system\app\ folder, right clicked DSPManager.apk, selected delete and got this... (see attached). It just freezes everytime and i get the (not responding) postfix
Perfectly willing to accept I am an idiot who has done something wrong. But I really do fail to see what.
Help, this is so frustrating!!!
nagypapi said:
Tried it or not?
Because from what I read you are writing wrong commands.
Dont write adb if you are already in the shell, because that's not a valid command.
Click to expand...
Click to collapse
Sorry nagypapi, you have lost this Noob! I will try to follow your suggestion again, and report back.
Thanks
I don't use Winzip, I use Winrar.
Solved - cannot delete apks
GoogleJelly said:
I don't use Winzip, I use Winrar.
Click to expand...
Click to collapse
That got it *feel like a tool* Thank you Googlejelly!! No More boot loops either.
madffrogs said:
You shouldn't need to unzip the file to take out the apks, just use winzip to access the the zipped file, delete which apks you don't want then exit out of winzip and flash it, if you delete something important it'll probably loop.
I've done this with leedroid 2.3d and took out footprints,teeter,stocks and a couple of other apks, it flashed fine with no problems.
Click to expand...
Click to collapse
Thanks, madffrogs, it work. In this case, I am just removing some 'excessive' files from a CyanogenMod files, and used 7zip.
My S4 LCD screen cracked and went dead. I have root access and can adb in see it as an adb device. I also have titanium backup as an app but I hadn't run a backup in a while. I want to be able to either run a titanium backup from adb and pull the backup to a PC (to do so right now requires unlocking screen which i can't do), or extract the /data directory to a PC. I've already pulled the SIM card and put it in a new phone. Any help would be greatly appreciated as I have some data in certain apps that I want to recover badly.
You should be able to pull up a terminal or cmd prompt and simply type something like adb pull storage/sdcard0/Android/data or adb pull /data/data
Sent from my SGH-M919 using XDA Premium 4 mobile app
---------- Post added at 08:01 PM ---------- Previous post was at 08:00 PM ----------
Or get an MHL OTG cable and plug your phone to your tv.
Sent from my SGH-M919 using XDA Premium 4 mobile app
xdapowerapps said:
You should be able to pull up a terminal or cmd prompt and simply type something like adb pull storage/sdcard0/Android/data or adb pull /data/data
Sent from my SGH-M919 using XDA Premium 4 mobile app
---------- Post added at 08:01 PM ---------- Previous post was at 08:00 PM ----------
Or get an MHL OTG cable and plug your phone to your tv.
Sent from my SGH-M919 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Thanks for the advice. I can get storage/sdcard0/Android/data but this does not pull the same as an adb pull /data/data would. i was also able to pull /system. adb pull /data is not working for some reason, no thoughts why (i.e., it shows 0 files pulled).
re: Android Commander
Launchpad McQuack said:
My S4 LCD screen cracked and went dead. I have root access and can adb in see it as an adb device. I also have titanium backup as an app but I hadn't run a backup in a while. I want to be able to either run a titanium backup from adb and pull the backup to a PC (to do so right now requires unlocking screen which i can't do), or extract the /data directory to a PC. I've already pulled the SIM card and put it in a new phone. Any help would be greatly appreciated as I have some data in certain apps that I want to recover badly.
Click to expand...
Click to collapse
Just download and install "Android Commander" which is a windows utility.
Here is the direct download link for it:
https://docs.google.com/uc?id=0B44Nx1hrRITWOVczc0FzZEt6OFk&export=download
It works just like any other windows explorer but it's made for android and
it has all the adb commands built-in so you won't need to type anything at all.
With that you will be able to access ROOT and copy any files and folders to
an empty folder on your desktop.
The screen does not need to be on in the phone, but if you want root files your
phone needs to be rooted.
It's really excellent and is one of a kind android utility, you
won't need to install anything at all in the phone itself.
Good luck!
Launchpad McQuack said:
Thanks for the advice. I can get storage/sdcard0/Android/data but this does not pull the same as an adb pull /data/data would. i was also able to pull /system. adb pull /data is not working for some reason, no thoughts why (i.e., it shows 0 files pulled).
Click to expand...
Click to collapse
Sounds like it's not mounted. I would recommend using the too Misterjunky mentioned.
Sent from my SGH-M919 using Tapatalk
Misterjunky said:
Just download and install "Android Commander" which is a windows utility.
Here is the direct download link for it:
https://docs.google.com/uc?id=0B44Nx1hrRITWOVczc0FzZEt6OFk&export=download
It works just like any other windows explorer but it's made for android and
it has all the adb commands built-in so you won't need to type anything at all.
With that you will be able to access ROOT and copy any files and folders to
an empty folder on your desktop.
The screen does not need to be on in the phone, but if you want root files your
phone needs to be rooted.
It's really excellent and is one of a kind android utility, you
won't need to install anything at all in the phone itself.
Good luck!
Click to expand...
Click to collapse
Thank you for the suggestion. I installed Android Commander but it is unable to connect. It says "Connected device has status offline and can not be used. Please reboot your device". I did a reboot and it says the same thing. It also has a loading bar that continues to say loading no matter how long I let it run. I don't know if this is because the device connects only as a digital camera (it was the only way to get it to connect to a PC in the beginning) - I can see any image file in windows explorer, including in the root directories. I can see the data/ directories I want in explorer, but I can't see/access the actual files in them via explorer. In explorer, the empty directories are listed under device/Phone/. Is there a way to mount the /Phone directory and then access it, with adb maybe? I've been trying lots of adb protocols and no luck on /data - adb shell ls -R /data gives "opendir failed, Permission denied" and adb root gives "error: device offline". Is there a way to gain permission to this dir (mount?)? Is this because I can't accept the RSA key through the touchscreen? Thanks in advance, I'm a bit clunky with adb.
Launchpad McQuack said:
Thank you for the suggestion. I installed Android Commander but it is unable to connect. It says "Connected device has status offline and can not be used. Please reboot your device". I did a reboot and it says the same thing. It also has a loading bar that continues to say loading no matter how long I let it run. I don't know if this is because the device connects only as a digital camera (it was the only way to get it to connect to a PC in the beginning) - I can see any image file in windows explorer, including in the root directories. I can see the data/ directories I want in explorer, but I can't see/access the actual files in them via explorer. In explorer, the empty directories are listed under device/Phone/. Is there a way to mount the /Phone directory and then access it, with adb maybe? I've been trying lots of adb protocols and no luck on /data - adb shell ls -R /data gives "opendir failed, Permission denied" and adb root gives "error: device offline". Is there a way to gain permission to this dir (mount?)? Is this because I can't accept the RSA key through the touchscreen? Thanks in advance, I'm a bit clunky with adb.
Click to expand...
Click to collapse
Ahhh, yeah, you need to be able to accept the connection. I'd get a cable to hook it up to my TV and transfer over all the important files. This way you can run a full nandroid backup of your phone and restore it afterwards.
Sent from my SGH-M919 using XDA Premium 4 mobile app
xdapowerapps said:
Ahhh, yeah, you need to be able to accept the connection. I'd get a cable to hook it up to my TV and transfer over all the important files. This way you can run a full nandroid backup of your phone and restore it afterwards.
Sent from my SGH-M919 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Thanks for the suggestion. I have an MHL cable that goes micro-USB to USB (and then I can get USB Male-Male), but how do I hook it up to a TV, run a nandroid, and then pull the nandroid to PC?