ive rooted my phone on my pc no problem and my gfs also. now im trying to root someone elses manually and whe i type in cd AndroidSDK\tools\ it says cannot find path why??? i deleted the androidsdk file and put it back still nothing.
is it at the root of your c drive not in say your downloads folder?
figured it out =X
Joecrack305 said:
ive rooted my phone on my pc no problem and my gfs also. now im trying to root someone elses manually and whe i type in cd AndroidSDK\tools\ it says cannot find path why??? i deleted the androidsdk file and put it back still nothing.
Click to expand...
Click to collapse
hi i had the same problem and i had forgotten i had changed the folder name i had put a space so i had to put it like this Android SDK\tools\
hope it helps
Related
ok i have exhausted my brain with trying to get into all this by myself. All i want to do is change the drawable's and push them back to my phone. I started small by pulling my HtcClockWidget.apk. I pulled res folder edited some imgs and put folder back in. I have also rm via sdk my origanal one from /system/app i cant for the life of me figure out how to open new one back up. I used Freshkitchen to push file back becuase i couldnt do it myself via adb and here i am now. Why cant i open or install this apk. is it becuase of its location in the system? i sure could use a little friendly help. pm or [No1ukno1357 at aol thnks. If i even posted this in right place. I have about ten diff browsers open trying things so i did search before posting lol. ***I did rm old one first.***
adb remount
adb push HtcClockWidget.apk /system/app/
adb reboot
Does that not work ?
-------------------------------------
Sent from my HERO200
well its booting up we will see lol
well it is now pushed to there but how do you install its not own my widgets list anymore and using esfileexplore wont let you touch them pretty much. my logcat is going absolutly nuts lol ok well it loaded it back up but my changes were not made looks the same lol. going to double check that it was correct one i put back in there
did you remove the apk you edited out of your system before pushing it back?
i use this command when i putting apks back into system.
# install /sdcard/HtcClockWidget.apk /system/app/
Some of the widget files are located in com.htc.resources.apk
no1ukno1357 said:
ok i have exhausted my brain with trying to get into all this by myself. All i want to do is change the drawable's and push them back to my phone. I started small by pulling my HtcClockWidget.apk. I pulled res folder edited some imgs and put folder back in. I have also rm via sdk my origanal one from /system/app i cant for the life of me figure out how to open new one back up. I used Freshkitchen to push file back becuase i couldnt do it myself via adb and here i am now. Why cant i open or install this apk. is it becuase of its location in the system? i sure could use a little friendly help. pm or [No1ukno1357 at aol thnks. If i even posted this in right place. I have about ten diff browsers open trying things so i did search before posting lol.
Click to expand...
Click to collapse
why dont u just put the apk into a zip file then use pre kitchen to sign it and then flash it. also some of the backgrounds are in htcresources apk found in the framworks of roms
yes it did install I think I may have edited some of the wrong pics for the clock I wanted. I also was also trying to push file from desktop. lol I sure do appreciate every ones help.
Sent from my HERO
Can someone please point me to a place that explains how to push files via adb? I have Android SDK installed and I know how to do a screen shot using Dalvik Debug Monitor using the ddms.bat file. But other than that, I don't know what I am doing. lol Also, I am not rooted.
I know it can't be that difficult, any help is appreciated! Thanks!
Holy crap, apparently I pushed a new bootanimation via adb and really had no idea what I was doing. lol
So I guess my question is different now.
First, I put the bootanimation.zip file in the platform-tools folder.
Then I launched a CMD prompt and then I went into my Android/Android-SDK\platform-tools\
then I typed in "adb push bootanimation.zip /data/local" and I wasn't even sure it did anything.
So my question now is what made it push the bootanimation file to my xoom? Did it have something to do with the file being in the platform-tools folder, along with the adb.exe file?
I don't really get the question... It pushed the file to the Xoom because you told it to. A better question might be why it did not push the file during your previous attempts, but I cannot answer that without knowing what you tried. Anyways, I just wanted to chime in that since you are already familiar with DDMS, right under the screenshot option is a file explorer that you can use to push files.
edit: actually, I think it may not be possible to push to subfolders in /data using ddms since it cannot see them
sangreal06 said:
I don't really get the question... It pushed the file to the Xoom because you told it to. A better question might be why it did not push the file during your previous attempts, but I cannot answer that without knowing what you tried. Anyways, I just wanted to chime in that since you are already familiar with DDMS, right under the screenshot option is a file explorer that you can use to push files.
edit: actually, I think it may not be possible to push to subfolders in /data using ddms since it cannot see them
Click to expand...
Click to collapse
Yea, I didn't do it in ddms because I did not see the local folder. I did it through the CMD prompt. But my question is how does it know where to push the files by just typing "adb push bootanimation.zip /data/local"? No where in that does it say push it to the xoom. When using adb, does it automatically try to push the file to whatever Android is plugged up? How does it know where and what to push it on? That was my question.
Best place I've found to start is http://developer.android.com/guide/developing/tools/adb.html which gives an overview along with some good details on some of the subcommands. Beyond that, use your favorite search engine.
To answer your question more directly, though, if only one Android device is connected, ADB can figure out how to talk with it. With two or more you'll need to specify the device (which you can get from "adb devices").
HTH
short/y said:
Best place I've found to start is http://developer.android.com/guide/developing/tools/adb.html which gives an overview along with some good details on some of the subcommands. Beyond that, use your favorite search engine.
To answer your question more directly, though, if only one Android device is connected, ADB can figure out how to talk with it. With two or more you'll need to specify the device (which you can get from "adb devices").
HTH
Click to expand...
Click to collapse
Ahh.. cool. I did google it to see what came up and learned a little but nothing ever explained how adb knew what or where to push the file.
But just knowing that it does know, then the rest is pretty easy to figure out. I can follow and type commands well... even though I might not know what they do (which is scary, huh?). lol
Edit: Thanks for the link also.
I got this from XDA somewhere so credit to them:
A:android-sdk-windows installed
B: (on your phone) go to menu>settings>applications>developement and make sure usb debugging is checked.
C: the file you are pushing must be placed in the tools folder of adb so if you are pushing file "build.prop.txt" this needs to be downloaded/copy and pasted in C:\android-sdk-windows\tools
1: go to run and type cmd (or just open your command prompt)
2: cd C:\android-sdk-windows\tools
3: adb remount
4: adb devices *if everything is set up right this should output a serial number*
5: adb push FFFFFFF.FFF /#####/###### *i hope my notes help here you need to put the file name in for the F(s) and in the pound signs you put the destination on the devices example adb push build.prop.txt /system/bin
6. repeat step 3 for multiple files
7. adb reboot this is how you finish
hello i have tried to use one click and when i do it said that cannot stat recovery.img no such file or directory if you could help let me
thanks to colbur87
Its in the zip, but make sure you launch 1click_cwr in the same folder as recovery.img
Dont copy it out or anything like that. The program looks for recovery.img to be in the same folder as 1click_cwr.
ok thanks but i am still having a few problem when adb push recovery.img /data it said failed to copy recovery,img to /data/recovery.img permission denied
i have tried keeping it in a zip and extracting it all to the same folder only when i extract it is when i can run as admin and my phone is rooted so that not the problem
You can't run an executable in a zip file. It must be extracted first. Even if you just click it from within the zip file, it is still extracted to a temporary location......
All you need to do is:
Extract the entire folder somewhere on your computer (right click extract(depending on your os/installed zip program, the menu may be different. Just extract it!))
Run 1click_cwr as admin (right click on the icon and click run as administrator)
That it your done......
Make sure USB Debugging mode is ON.
i did extract it all to the same folder and right click as
admin and it said in the cmd
adb push recovery.img /data it said failed to copy recovery,img to /data/recovery.img permission denied
any help would be greatly appreciated
anything i can do in my super user to allow access
any chance i could run this program in Linux
by the way my debugging is on
Well, there are two error I see there....first: can't push file to phone because premission denied.
2nd: Can't change premissions on the file because its not found (because of 1st error).
I would suggest googling 'permission denied adb push' I found a lot of people with your same problem...I can only speak to my application which worked for me and a lot of other people.
Have you tried setting permissions for the /data folder? Use root explorer and long press /data folder and check all nine boxes.
Sent from my LG-P925 using XDA App
dcmcc99 said:
Have you tried setting permissions for the /data folder? Use root explorer and long press /data folder and check all nine boxes.
Sent from my LG-P925 using XDA App
Click to expand...
Click to collapse
thanks that did it
after using one click and i do a factory reset would that brick my thrill
hello.... I just recently bought a Thrill from a person off craigslist. It came rooted and I hadnt known. Is there anything I should be worried about? like if he installed anything that could be tracking the phone or anything? Also, how can I tell what method he used to root it. Basically, how do i figure out how to unroot it and erase everything so i can have the expirence of actually doing everything myself so i understand it.
just use super one click root to unroot the device but you have down load the right one click
Where is th update. Zip file located
I creaed update.Zip file but im not able to find it
Its located in /sdcard
i still not able to find it
when you create the update.zip file, and it's finished, the notification bar will have a notification about the path, check that. If it's not there, may be the zip was not created successfully.
/mnt/sdcard/update.zip
Was this solved? I can't find the file either.. it's not in the root of the sdcard, I've tried to create it twice and searched for it. Any help would be appreciated!
Thanks.
dont you get a notification of completion of the process and when you pull it down, you can see where its located ?
I'm having the same problem. If I look with root explorer, it exists on the root of the SD, but I can't see it in windows? Maybe it's a 2GB file limit thing or something?
but the update.zip is not more than 4MB
nokiamodeln91 said:
but the update.zip is not more than 4MB
Click to expand...
Click to collapse
Yeah, I tried to make a smaller one, and it's still there but I can't see it in windows. I tried renaming it as well and that didn't work either.
the7thson said:
Was this solved? I can't find the file either.. it's not in the root of the sdcard, I've tried to create it twice and searched for it. Any help would be appreciated!
Thanks.
Click to expand...
Click to collapse
Answering my own question - its definitely located in the root, just not visible in Windows no matter what I do. Use a root explorer to grab it and move it to a flash drive or remote network location, that's what I did and it worked great.
Sent from my Nexus 7 using xda app-developers app
I used wifi file transfer. I was able to download the file from there.
I had this problem. Try simply unplugging your phone from the USB cord, wait 5 seconds, then plug it back into your PC. Your PC should now see the update.zip.
One of common prob's with MTP !!
just do a search in root explorer, i got 4 locations of the same file on my galaxy s3 so you can find it in anyone of those.
and yes it is the same file in all of those locations, i even tried to change the name on one of them to check if all of them changed and they did
/data/media/0/update.zip
/mnt/sdcard/update.zip
/mnt/shell/emulated/0/update.zip
/storage/emulated/0/update.zip
Move the file out of the root directory and put it a folder, any folder. It will then show up on windows.
the7thson said:
Answering my own question - its definitely located in the root, just not visible in Windows no matter what I do. Use a root explorer to grab it and move it to a flash drive or remote network location, that's what I did and it worked great.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
This worked for me! Although I used the stock file manager. After moving the update.zip to another location using file manager, I was able to see the file via Windows as well.
just change the file name and retry. worked for me
C:\> adb pull /sdcard/update.zip
I have a Samsung S3501 and i try to extract the bml5.img file but it does not work. I have rooted yje phone using Kingo and I got a reply telling that it was successfull. I have activated the USB-debugging on th phone device. From the PC emulator I enter the 'adb shell' and 'su' commands before I copy the file entering 'cat /dev/block/bml5>/sdcard/bml5.img'. It returns 'No cuch file or directory'. Then I try again excluding the 'block' path but I receive th same error message. I see on my phone under the sdcard folder that there is actually a file called bml5.img copied to it and I send it to the computer using 'adb pull /sdcard/bml5.img '. It is copied to the PC but IT IS EMPTY!!!. Looks like the path is wrong or something else is wrong and that an empty dummy file is created. Can somebody confirm that this is what it does and do you have any clue why and did anyone else get the same problem. What do I do now? I would be very happy if someone could help me since I am out of ideas and close to give up Thanks in advance, Jane :crying: :fingers-crossed: