[Q] N7 root problem - Nexus 7 Q&A, Help & Troubleshooting

I am having a problem with rooting my n7 recently I decided that I would flash back to stock clean wipe sd card and reroot, well it didnt work out that way, flashed back to stock without a problem, then rerooted ok, but then was prompted to install 4.2.1 from google, well I did and here I am cant get rerooted after installing update. I use wugs tool kit and has always worked on my GNex and until now my N7, any ideas anyone?
It seems to see ADB, but no Fastboot? very strange, could I need a fastboot file or something?

Yup, better not to use a toolkit.
Need adb.exe and fastboot.exe in the platform-tools folder of the android sdk and the proper drivers.
It is nice (but not neccesary) to add a path in enviromental variables so you don't have to have files in the same directory always.
Sent from my HTC Vision using Tapatalk 2

demkantor said:
Yup, better not to use a toolkit.
Need adb.exe and fastboot.exe in the platform-tools folder of the android sdk and the proper drivers.
It is nice (but not neccesary) to add a path in enviromental variables so you don't have to have files in the same directory always.
Sent from my HTC Vision using Tapatalk 2
Click to expand...
Click to collapse
could you send me more info, or links I am kind of new to this and would like to know what I did and how to avoid/fix it in the future Thanks.

demkantor said:
Yup, better not to use a toolkit.
Need adb.exe and fastboot.exe in the platform-tools folder of the android sdk and the proper drivers.
It is nice (but not neccesary) to add a path in enviromental variables so you don't have to have files in the same directory always.
Sent from my HTC Vision using Tapatalk 2
Click to expand...
Click to collapse
Nice to see you around.
I cannot forget the tremendous help you and Frankdrey gave me to discover, learn, and use an Android system on my G1.
Without both guidance I would, maybe, use now a toolkit and learn nothing.

@gunner - anytime, I love to help, now you can help others as well! Nice to see ya in the n7 forum too!
@flb
Google search android sdk, download appropriate package for your pc.
Open sdk and download all the tools in it.
To add a path I need to know what platform you are in... actually let me know when the above is finished and what platform your pc is and ill give you the rest of the steps
Sent from my HTC Vision using Tapatalk 2

demkantor said:
@gunner - anytime, I love to help, now you can help others as well! Nice to see ya in the n7 forum too!
@flb
Google search android sdk, download appropriate package for your pc.
Open sdk and download all the tools in it.
To add a path I need to know what platform you are in... actually let me know when the above is finished and what platform your pc is and ill give you the rest of the steps
Sent from my HTC Vision using Tapatalk 2
Click to expand...
Click to collapse
adb for dummies.. http://www.mediafire.com/?qrjo6bi8ayblj1r
this includes everything that is needed so you dont need to grab the whole sdk. easy access to adb and to fastboot.

demkantor said:
@gunner - anytime, I love to help, now you can help others as well! Nice to see ya in the n7 forum too!
@flb
Google search android sdk, download appropriate package for your pc.
Open sdk and download all the tools in it.
To add a path I need to know what platform you are in... actually let me know when the above is finished and what platform your pc is and ill give you the rest of the steps
Sent from my HTC Vision using Tapatalk 2
Click to expand...
Click to collapse
First of all thank you for the help, I'm currently running win7 64 bit. Ill check this post tomorrow and give it a try.

Sure thing, simms22 posted a nice link to just get the adb.exe and fastboot.exe, feel free to download those instead of the sdk as that is larger and you may or may not ever use a lot of the other stuff.
Sent from my HTC Vision using Tapatalk 2

demkantor said:
Sure thing, simms22 posted a nice link to just get the adb.exe and fastboot.exe, feel free to download those instead of the sdk as that is larger and you may or may not ever use a lot of the other stuff.
Sent from my HTC Vision using Tapatalk 2
Click to expand...
Click to collapse
Thank you guys for you efforts, Ill try it today.

You can just copy and paste the fastboot and adb .exe and .dll into c:\Windows instead of adding a variable.
Fast and easy lol just like I like 'em

Success! Thanks guys. I think Ill stay rooted and skip unroot rerooting.

Related

ADB works but fastboot does NOT

I don't know what's going on, and I've been searching for an answer to this for the past 2 hours. I have the latest SDK installed. I'm running the cm7 alpha build, latest one. ADB seems to work just fine. I just typed
adb reboot bootloader
bam, my mt4g is in fastboot mode.
I then typed
fastboot flash splash1 splash.img
and fastboot is not a recognized internal or external command, operable or batch file.
Seriously getting frustrated. I'm gonna smoke a bowl and come back a little more calm. lol
http://dl.dropbox.com/u/11228290/fastboot
Put that in c:\windows\system32
then try your command again.
And then ship the bowl this way.
I'm about to try this. If it works I'm gonna kiss you. Its been hell and a half trying to find this answer. lol
Sent from my HTC Glacier using XDA App
No go. Still the same error.
Sent from my HTC Glacier using XDA App
/b/rotherJudas said:
No go. Still the same error.
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
oh. My bad, thats the linux version. You need the windows version. I have a .bat for that.
Just run the file called adbonly.bat
and feel free to look through the file if you get scared that it asks for admin rights. Just needs to be elevated to write to system32. Then you can run your command from anywhere.
I actually made this as part of a seperate project, but it comes in handy if you need adb and fastboot quick and convenient like.
I finally figured this out. When the sdk updated (changing ADBs location from \sdk\tools\ to \sdk\platform-tools\ it didn't move fastboot.exe or any other files. All I had to do was cut all the files from \tools\ and paste to \platform-tools\
Hopefully this wont cause more problems down the line, which it ALWAYS does with winblows. Lol.
Sent from my HTC Glacier using XDA App
/b/rotherJudas said:
I finally figured this out. When the sdk updated (changing ADBs location from \sdk\tools\ to \sdk\platform-tools\ it didn't move fastboot.exe or any other files. All I had to do was cut all the files from \tools\ to \platform-tools\
Hopefully this wont cause more problems down the line, which it ALWAYS does with winblows. Lol.
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
Yeah that happens. But I swear my .bat would have worked too. lol.
I'm sure it would have. After running your cm7 rom I have total faith. I just didn't want to edit too many system folders on this craptop. Its my 4 year old sisters. Lol.
Sent from my HTC Glacier using XDA App
Thank you so much. I spent an hour last night trying to get clockwork on my friends MT4G and had the same problem.
Looked at my comp when I read this post this morning and that was it, fastboot was still in the old tools folder.
Don't you love how "correcting" our state of mind can change how we see things.
Thanks again.
Sent from my HERO200 using XDA App
pdug said:
Thank you so much. I spent an hour last night trying to get clockwork on my friends MT4G and had the same problem.
Looked at my comp when I read this post this morning and that was it, fastboot was still in the old tools folder.
Don't you love how "correcting" our state of mind can change how we see things.
Thanks again.
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Yeah, lol. I knew it would be something stupid like that. I'm not sure if my environmental variable was set up wrong or what. I have it set to C:\AndroidzSDK\
Should I set it to C:\AndroidSDK\tools\
Or maybe
C:\AndroidSDK\platform-tools\
?
Sent from my HTC Glacier using XDA App
Please post questions in Q&A section.
So I'm just now installing the SDK on my gf's computer and it puts ADB in /tools and Fastboot in /platform-tools. Fastboot refuses to run.
Code:
This application has failed to start because AdbWinApi.dll was not found. Re-installing the application may fix this problem.
What's this about?? I downloaded the sdk.zip (the installer exe wanted me to install the java jdk, which I definitely don't need) and extracted it to C:\android-sdk-windows. Then I ran the SDK manager and installed the platform tools. Should I copy the platform-tools contents into tools or the other way around?
And why would they give me an SDK with a non-working fastboot? Kinda pissed right now...
EDIT - Copied contents of \platform-tools into \tools (DID NOT REPLACE ANY FILES!) and now everything works.
I would still like to know what was going on with this, and is there any advantage to adding the environment variable? I'd like to be able to run commands from any directory if possible, instead of having to cd all over the place.

[SCRIPT] Windows One Click Root Method [3/26/11]

HTC Thunderbolt Windows One Click Root
This is a simple batch file that will guide you in rooting your device.
It is pretty easy to follow along but please take your time and read everything. It has only been tested a few times so please report any errors or issues you find.
Huge thanks to NetForce-TX on IRC for testing along with helping, I owe you!
Also thanks to Jcase for guidance
TeamAndIRC and Captainkrtek (Me) are NOT responsible for any bricks, fires, or damaged/broken hardware due to this process
If you wish to read the batch files contents either open it with notepad or check the pastebin
Instructions are included in the file when running it along with where to get the necessary files.
Prerequisites:
Drivers Installed & Working
SDK Installed with ADB
Exploits.zip with contents extracted to your ADB dir
PG05IMG.zip
Downgrade RUU
A Thunderbolt running 605.6 or 605.9 Firmware
You can download the OneClickRoot here
I will update this from time to time if needed, If you have issues with the batch file please PM me on XDA or find me on irc.andirc.net #Thunderbolt.
I will not reply to your PM if you want me to help you root your phone!
UPDATE: If SU acts up (IE: Force closes) flash this via CWM
Reserved for Linux version
Wow, looks easy! But I'm glad I did it through ADB. Nice job!
pinhead875 said:
Wow, looks easy! But I'm glad I did it through ADB. Nice job!
Click to expand...
Click to collapse
Thanks! It is pretty simple, only a few things you have to do manually (no possible workaround) such as flashing from the bootloader.
Anyone try this yet?
sent using Tapatalk on the TB.
egeorgia said:
Anyone try this yet?
sent using Tapatalk on the TB.
Click to expand...
Click to collapse
Already a few people have tested it, all successes
so we set the phone to debug mode and the usb mode to just charging?
i was going to to the other root ;set up my ADB earlier but chickened out... i already have the files downloaded
Cg006 said:
so we set the phone to debug mode and the usb mode to just charging?
i was going to to the ot her root and set up my abd earlier but chickened out... i already have the files downloaded
Click to expand...
Click to collapse
Yeah exactly, just debug and charging, until you have to copy over the roms then you will set the USB mode to mount SD
I did the long method but I missed the step to get s-off. Can I still use the one click root method sk I can obtain s-off?
alphatectz said:
I did the long method but I missed the step to get s-off. Can I still use the one click root method sk I can obtain s-off?
Click to expand...
Click to collapse
Yes you can, but I reccomend unrooting whatever you have done so far using this http://forum.xda-developers.com/showthread.php?t=1009423
Captainkrtek said:
Yes you can, but I reccomend unrooting whatever you have done so far using this http://forum.xda-developers.com/showthread.php?t=1009423
Click to expand...
Click to collapse
Ok, I'll unroot and use the one click method. Thx
can we get a poll maybe to see success rate
Can we get a Step by Step Instruction Guide? it would be nice for us beginners
ok so after i choose my path where my android sdk platform tools folder is i get
Pushing files via ADB...
This process may take some time, if it takes longer than 30 seconds
Make sure the drivers are install and USB debugging is on.
cannot stat 'psneuter': No such file or directory
cannot stat 'busybox': No such file or directory
cannot stat 'misc.img': No such file or directory
Unable to chmod /data/local/psneuter: No such file or directory
Unable to chmod /data/local/busybox: No such file or directory
so what did i do wrong? i get my serial number when i get type adb devices....
b33zy682 said:
ok so after i choose my path where my android sdk platform tools folder is i get
Pushing files via ADB...
This process may take some time, if it takes longer than 30 seconds
Make sure the drivers are install and USB debugging is on.
cannot stat 'psneuter': No such file or directory
cannot stat 'busybox': No such file or directory
cannot stat 'misc.img': No such file or directory
Unable to chmod /data/local/psneuter: No such file or directory
Unable to chmod /data/local/busybox: No such file or directory
so what did i do wrong? i get my serial number when i get type adb devices....
Click to expand...
Click to collapse
You need to put the contents of exploits.zip in the same directory ADB is in
ok what in that zip needs to go where?
Phone Has been Succesfully Rooted.
Did most of the steps while doing some WoW Raiding. lol
Thank you so much.... now.. should i flash a new rom on this baby?
b33zy682 said:
ok what in that zip needs to go where?
Click to expand...
Click to collapse
take everything that is in exploits.zip and move it to your android sdk directory specifically the location of adb.exe (will either be in platform-tools or tools) as for the two RUUs, they can be anywhere but you will have to move them at one point to your SD card. That is about it
Cg006 said:
Phone Has been Succesfully Rooted.
Did most of the steps while doing some WoW Raiding. lol
Thank you so much.... now.. should i flash a new rom on this baby?
Click to expand...
Click to collapse
Yes you should
Cg006 said:
Phone Has been Succesfully Rooted.
Did most of the steps while doing some WoW Raiding. lol
Thank you so much.... now.. should i flash a new rom on this baby?
Click to expand...
Click to collapse
damn right! lol

[Q] how take screenshot?

any way to take screenshot of the screen?
not rooted, stock 4.5.91
Use the Android SDK.
whats that?
not sure if you need root but you can try screen grabber.
you can always look these things up with search or google.
http://forum.xda-developers.com/showthread.php?t=1009451
this works, thanks
smashcz said:
any way to take screenshot of the screen?
not rooted, stock 4.5.91
Click to expand...
Click to collapse
Get the Android SDK
Go to Start> accessories> cmd
In cmd go to the directory of your android-sdk folder(either by 'CDing' until you are wherever the folder is, or by clicking and dragging the folder into the prompt window)
when you are in the android-sdk folder, do cd tools> type 'ddms'
Make sure you have the latest version of Java
???
Profit
ScreenShot It app works on an unrooted Atrix but it is pricey.
AndroSS is free in the market and doesn't require root.
Sent from my MB860 using XDA Premium App
There is a thread on this forum an app was made specifically for the ATRIX by a member.
Works great.
Edit: there's a link up top lol my bad
Sent from my [email protected] Atrix - OC 1.1ghz

Cant install Cynagenmod 7

Someone please help me.
I already ahve a Rooted DHD. With clock mod receovery installed et.c.
(running Android HD)
but if anyone can tell me, I want to switch to Cynagenmod, Looks more good.
One there Wiki page, When installing the ADB.
http://wiki.cyanogenmod.com/wiki/Howto:_Install_the_Android_SDK#Windows
Im stucked at the 11 and afterwards. I did everything like it, nothing happend, Plugged in the Mobile with the USB bugging mode and did everything what i can.
But it's not working out, please somebody help.
On my computer the SDK didn't install to c:/ by default; it landed in C:\Program Files\Android\android-sdk\platform-tools
You then have to change step 11 to:
In the "Variable values" section, add at the very end the location of the tools & package-tools folder, with a semicolon separating these two paths from the rest, e.g. C:\Program Files\Android\android-sdk-windows\platform-tools;C:\Program Files\Android\android-sdk-windows\tools.
Click to expand...
Click to collapse
And 12 becomes:
The Google USB Driver package only supports select devices out-of-the-box, we will be downloading a modified file that should provide support for all CyanogenMod supported devices:
Download the modified driver inf file: Download
Unzip the file & inside you will see android_winusb.inf. Copy this file to C:\Program Files\Android\android-sdk-windows\extras\google\usb_driver\ replacing the "stock" android_winusb.inf.
Click to expand...
Click to collapse
Dan
I don't get it...why would you need to install Android SDK and ADB drivers to just go from ARHD to Cyanogenmod7?
anetam said:
I don't get it...why would you need to install Android SDK and ADB drivers to just go from ARHD to Cyanogenmod7?
Click to expand...
Click to collapse
No idea, boot into recovery, and wipe data then install from zip, and job done
Hey can you provide an update with how CM7 compares to ARHD 6 as I think i'm getting tired of ARHD. I keep finding little things in ARHD that annoy me but don't want to go through flashing again for no reason, yet
Sent from my HTC Desire HD A9191 using XDA App

VS980 won't start up

Accidental OTA on custom rom. I have tried other posts but nothing works so far. Can someone please help.
Does the phone turn on and show LG?
Sent from my LG-VS980 using Tapatalk
lilxman said:
Does the phone turn on and show LG?
Sent from my LG-VS980 using Tapatalk
Click to expand...
Click to collapse
What happens when you use anything in CWM?
SmurFFF said:
Accidental OTA on custom rom. I have tried other posts but nothing works so far. Can someone please help.
Click to expand...
Click to collapse
the link below will allow you to revert back to stock unrooted 11A.
after that you can take the OTA to 12B, reroot via IORoot and then use FreeGee to install recovery of your choice.
This has saved my phone a couple times from me getting too cocky with screwing around with things i don't fully understand but think I do.
http://forum.xda-developers.com/showthread.php?t=2448960
no download mode
WolfmanJack said:
the link below will allow you to revert back to stock unrooted 11A.
after that you can take the OTA to 12B, reroot via IORoot and then use FreeGee to install recovery of your choice.
This has saved my phone a couple times from me getting too cocky with screwing around with things i don't fully understand but think I do.
http://forum.xda-developers.com/showthread.php?t=2448960
Click to expand...
Click to collapse
cant boot into download mode
lilxman said:
Does the phone turn on and show LG?
Sent from my LG-VS980 using Tapatalk
Click to expand...
Click to collapse
it boots straight into cwm usually, sometimes stuck in lg logo
Hmm OK. At work now, I will look into it when I get home. Just throwing this out there cause it caught me, you just press the volume up button, hold it down, then plug in the USB cable with the LG flash tool open and configured. I kept holding the power button down as well.
Sent from my LG-VS980 using xda app-developers app
staticx57 said:
What happens when you use anything in CWM?
Click to expand...
Click to collapse
i tried flashing new rom but says loki not supported or something
WolfmanJack said:
Hmm OK. At work now, I will look into it when I get home. Just throwing this out there cause it caught me, you just press the volume up button, hold it down, then plug in the USB cable with the LG flash tool open and configured. I kept holding the power button down as well.
Sent from my LG-VS980 using xda app-developers app
Click to expand...
Click to collapse
how do i log into flash tool
SmurFFF said:
how do i log into flash tool
Click to expand...
Click to collapse
Reread the thread there is a file you need to replace that corrects that. Uninstall it, reinstall, replace the file and then attempt to open.
WolfmanJack said:
Reread the thread there is a file you need to replace that corrects that. Uninstall it, reinstall, replace the file and then attempt to open.
Click to expand...
Click to collapse
still no download mode
SmurFFF said:
still no download mode
Click to expand...
Click to collapse
Ok man here ya go, did some digging around here and found these two threads that may help you.
First is a means of pushing TWRP via ADB, not sure if that is the answer for you by you never know till you try.
Second is a means of using Ubuntu or a VM to replace the corruption caused by OTA
http://forum.xda-developers.com/showthread.php?t=2449670
http://forum.xda-developers.com/showthread.php?t=2582142
If those do not work either the only other thing I could think to do would be to get on the lg-g2 IRC channel and request help from a dev that is online.
WolfmanJack said:
Ok man here ya go, did some digging around here and found these two threads that may help you.
First is a means of pushing TWRP via ADB, not sure if that is the answer for you by you never know till you try.
Second is a means of using Ubuntu or a VM to replace the corruption caused by OTA
http://forum.xda-developers.com/showthread.php?t=2449670
http://forum.xda-developers.com/showthread.php?t=2582142
If those do not work either the only other thing I could think to do would be to get on the lg-g2 IRC channel and request help from a dev that is online.
Click to expand...
Click to collapse
i have never done an adb before is there any way u could help
SmurFFF said:
i have never done an adb before is there any way u could help
Click to expand...
Click to collapse
There is a pretty detailed guide somewhere on the forum. I will locate it, read through it and add to it if need be bro.
WolfmanJack said:
There is a pretty detailed guide somewhere on the forum. I will locate it, read through it and add to it if need be bro.
Click to expand...
Click to collapse
thanks sorry about all the questions
SmurFFF said:
thanks sorry about all the questions
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2141817
No worries on the questions man, here is the guide I was talking about. It is pretty straight forward but some areas you may have questions I will let you know what I did.
At one point it talks about setting up system variables or something to that effect. I did not perform this step.
When you open the SDK manager and look at all the packages that are listed it can get a little confusing, for me I just selected all and let the install run it's course. ( took about 20mins ).
Once the install is good it talks about moving a copy of command prompt to the platform tools folder. Not trying to insult your intelligence but it is that simple. Just locate where the .exe for command promt on your computer is, copy it and paste in the platform tools folder.
Once that is done turn your phone on and then plug the phone into your computer. Open the command prompt from the platform tools folder and then type the following:
adb devices
it should populate some brief info about your phone. If not then usb debugging is not enabled on the device. This is why I think this one may not work for you because if it isn't already enabled not sure if there would be a way for you to enable it with the state your device is in, but there are two other ways in the TWRP guide that i already posted about that may work plus the second thread talking about using ubuntu.
WolfmanJack said:
http://forum.xda-developers.com/showthread.php?t=2141817
No worries on the questions man, here is the guide I was talking about. It is pretty straight forward but some areas you may have questions I will let you know what I did.
At one point it talks about setting up system variables or something to that effect. I did not perform this step.
When you open the SDK manager and look at all the packages that are listed it can get a little confusing, for me I just selected all and let the install run it's course. ( took about 20mins ).
Once the install is good it talks about moving a copy of command prompt to the platform tools folder. Not trying to insult your intelligence but it is that simple. Just locate where the .exe for command promt on your computer is, copy it and paste in the platform tools folder.
Once that is done turn your phone on and then plug the phone into your computer. Open the command prompt from the platform tools folder and then type the following:
adb devices
it should populate some brief info about your phone. If not then usb debugging is not enabled on the device. This is why I think this one may not work for you because if it isn't already enabled not sure if there would be a way for you to enable it with the state your device is in, but there are two other ways in the TWRP guide that i already posted about that may work plus the second thread talking about using ubuntu.
Click to expand...
Click to collapse
Ive done everything it said but i cant get it to recognize adb as a command
SmurFFF said:
Ive done everything it said but i cant get it to recognize adb as a command
Click to expand...
Click to collapse
Does it say:
"adb" is not recognized as an internal or external command, operable program or bath file
If so the command promt isnt executing from the platform tools.
attatched is a screenshot of two CMD windows, look at the location listed before where what you type in shows up.
the location on the left is from the cmd opened from the platform tools folder, the one on the right is from opening up command prompt from where it is originally located on my computer. when you open yours compare the locations and let me know what you got.
WolfmanJack said:
Does it say:
"adb" is not recognized as an internal or external command, operable program or bath file
If so the command promt isnt executing from the platform tools.
attatched is a screenshot of two CMD windows, look at the location listed before where what you type in shows up.
the location on the left is from the cmd opened from the platform tools folder, the one on the right is from opening up command prompt from where it is originally located on my computer. when you open yours compare the locations and let me know what you got.
Click to expand...
Click to collapse
im on windows 8 and when i try to find the cmd application i only get a shortcut?
not sure if it differs in windows 8 or not but I know i 7 and older versions it is located C:/windows/system32
also when you copied it did you select paste shortcut or just paste? If you selected paste shortcut that may be your issue, i selected paste and it populates as its own .exe not a short cut. Let me know what you get.

Categories

Resources