The #1 Nexus 7 News, Discussion and Fan Site!

2012 Nexus 7 Discussion Forums (1st Generation) => Nexus 7 Root, Hacks, Mods And Development => Topic started by: bjs229 on September 14, 2012, 03:11:21 PM

Title: Trying to root for the first time.
Post by: bjs229 on September 14, 2012, 03:11:21 PM
Well I thought I did enough reading to be able to root my Nexus. I haven't been able of get past the first step. I enabled debugging installed the drivers or so I thought. I installed pda net and now I have the yellow exclamation point on MTP. I can't find the driver for the life of me. I read to check not known device in the pda setup and then I read check Samsung somewhere. I went with unknown like the video stated. I was worried about brick ingredients my device and I can't even install a damn driver. I noticed when in debugging mode my computer doesn't show the Nexus as a drive. Is that normal?
Also super su or su?
Title: Re: Trying to root for the first time.
Post by: S.Prime on September 14, 2012, 05:47:49 PM
Did you follow my guide to rooting that I posted as a sticky in the hacks and mod topic?
Title: Re: Trying to root for the first time.
Post by: bjs229 on September 14, 2012, 05:50:19 PM
I thought I did prime. I read the developers thread too. I will go back to yours.
Title: Re: Trying to root for the first time.
Post by: dden4012 on September 14, 2012, 07:33:10 PM
Disregard removed comment. I need sleep lol
Title: Re: Trying to root for the first time.
Post by: bjs229 on September 14, 2012, 08:29:51 PM
Somehow I was using a totally different program to try and root from another thread. I just used the toolkit from Primes thread. I think it has been updated to 1.5.3 The thing now is some of the screens look different in the tutorial and one line of Lingo confused me.<easy to do I know> ;D When I rooted I did NOT check the And Also Flash: custom recovery tab. Is that a problem? I wanted to have the CWM recovery like explained to make it easier to restore if needed. I think I might have made a mistake because I saw the TWRP file somewhere on the tablet. There was a line in the tutorial that stated Selecting “Do not flash CWM” will allow you to install a custom touch screen recovery (TWRP) shown below if you prefer. It was worded differently and I wasnt sure if I wanted custom checked or not.
Anyway thanks for helping me break my cherry. If I need to go back to reroot do I just check the custom recovery box and reroot? I really want the easiest way to go back to factory if needed.
Title: Re: Trying to root for the first time.
Post by: bjs229 on September 15, 2012, 01:43:35 AM
I think I need to go back to where I was. Everyone of my video apps is stuttering now. YouTube, bsplayer, netflix. I reset my router and the device and still the same.
Title: Re: Trying to root for the first time.
Post by: JayJ on September 15, 2012, 03:40:15 AM
Rooting will not effect those...

So you've successfully rooted but have no custom recovery, is that right?

Just install Goo manager from GP and with that you can flash TWRP Recovery.
Title: Re: Trying to root for the first time.
Post by: S.Prime on September 15, 2012, 04:08:44 AM
JJay is correct rooting will not cause your videos to not play properly. I did not follow your entire process, but it appeared that you used two different methods, so I am not sure what you have done entirely, but If you want to test it use the toolkit to remove root and then worst case scenario perform a factory reset. Then you can root again. Also note, if you just want to add CWM from your current point, just run the Rootkit again and select the CWM option.
Title: Re: Trying to root for the first time.
Post by: JayJ on September 15, 2012, 06:44:13 AM
Don't you use TWRP recovery Prime?

I've been a long time CWM recovery user but I have to say I really do like the UI of TWRP, I've had no problems backing up, deleting backups and flashing ROM's with TWRP including CyanogenMod 10, Paranoid Android, AOKP nightly, Team BAMF, Slim Beam & Codename Android.
I would recommend using TWRP, I personally don't like CWM's new backup system with those blob files that cannot be deleted manually and take up a huge amount of space. Also backups can only be restored if those blob files are present so if you want to backup your backups you have to backup the whole CWM folded including the blob files...

Very annoying IMHO.
Title: Re: Trying to root for the first time.
Post by: S.Prime on September 15, 2012, 12:40:33 PM
Yes I do use TWRP, but I did install CWM at one point, just to see if it would replace TWRP by using the Root Toolkit, which it did, also TWRP will replace CWM when the installation is ran from GooManager. Like you I was unhappy with not being able to delete the CWM backups without running the removal tool from recovery.
Title: Re: Trying to root for the first time.
Post by: bjs229 on September 15, 2012, 01:04:36 PM
I used Primes link to root my Nexus. I had originally d/l a different package but only got as far as installing the drivers on the pc.
I followed the process. The stumbling block I had was whether to check that one box  custom recovery. Do I really need to add anything else right now?
Title: Re: Trying to root for the first time.
Post by: JayJ on September 15, 2012, 01:51:47 PM
It's up to you and what you want to do with root access, if you just want root to run root apps then no you don't need a recovery but if you want to flash custom ROM's then you will need a custom recovery.
If flashing custom ROM's is something your considering but not ready yet then wait until you are ready then install a recovery, no harm installing it now mind...
Title: Re: Trying to root for the first time.
Post by: S.Prime on September 15, 2012, 03:19:04 PM
JayJ is correct on this one, you remain with the stock recovery until you install CWM or TWRP, but you have SuperUser privileges on your tablet at this point so you can install any SU App on your tablet like StickMount or Titanium Backup.
Title: Re: Trying to root for the first time.
Post by: bjs229 on September 15, 2012, 03:50:05 PM
I installed both stick mount and titanium as well. I went back to the toolkit and checked the custom recovery box and rooted again. I would like to play around with roms and learn as much about this whole thing as I can. All the terms and acronyms can be quite confusing and intimidating to a noob. I have been reading as much as I can.
Title: Re: Trying to root for the first time.
Post by: JayJ on September 15, 2012, 04:32:45 PM
The only way to learn is read and try my friend, that's how I've learnt what I know.
Title: Re: Trying to root for the first time.
Post by: S.Prime on September 15, 2012, 06:17:50 PM
Ain't we all :-)
Title: Re: Trying to root for the first time.
Post by: bjs229 on September 15, 2012, 10:37:19 PM
Well I checked the box the last time and when I used quick boot to check my recovery twrp opened. I'm wondering if you check the box or not during the install. I am going to play with it a little more now that I am getting less worried about bricking it. Just wondering. If for some reason I can't start back up can I just use the tool kit and click on the flash stock+unroot can't boot up button and I will be ok?
Title: Re: Trying to root for the first time.
Post by: JayJ on September 15, 2012, 10:42:47 PM
So long as the device boots to the bootloader (power button + volume down) then you can flash the factory image via the Root Toolkit.
Do you have a reboot widget because you won't be able to boot into recovery without help, there's a bug in the N7 that stops you accessing the recovery from the bootloader so you need to install either a reboot widget that allows rebooting into recovery or use either Goo Manager or I think ROM Manager also works for booting to TWRP recovery but that's all it will do.
Title: Re: Trying to root for the first time.
Post by: bjs229 on September 15, 2012, 11:15:41 PM
I have goo manager. I am confused on if you actually need to recover the device and it won't start how do you get to the apps? I don't use widgets just the actual apps. For whatever reason every widget I ever used I felt like it slowed me down or used the battery. Like live wallpapers. I know, I am nuts. I have titanium, quick boot and goo. Is that overkill? I just initiated a backup and two folders showed as choices. Twrp and cwm. I designated it to twrp. I didn't compress the file and I didn't check the md5sum which I didn't really know what it was. It said it was successful although the driver ADB window opened up again which is already installed.
Is that normal to have both TWRP and CWM? I still haven't been able to install the MTP drivers which opens up everytime I plug in the device. Annoying.
Title: Re: Trying to root for the first time.
Post by: JayJ on September 16, 2012, 12:10:11 AM
Goo Manager boots the device into recovery, this can be done solely from the N7 without the need to connect to your PC.
The Root Toolkit can also use a temporary recovery to backup the device but personally I don't use that, I prefer to initiate backs myself. I do this by putting Goo Manager and and selecting Reboot to recovery.

The CWM files should be empty as you've not used CWM, just defined them. They were probably placed there during your initial root, I'm not sure but it didn't matter nite your using TWRP recovery.
Goo Manager is also useful if you start flashing ROM's, I'm using Paranoid Android atm and Goo Manager notifies you of an update to the ROM so long as that ROM is supported by Goo Manager.

I'm getting the MTP driver error too, my N7 still connects to my PC though...
Title: Re: Trying to root for the first time.
Post by: bjs229 on September 16, 2012, 01:33:46 AM
Thanks for all the info Jay. So what do you do if you can't get into the tablet?
Title: Re: Trying to root for the first time.
Post by: JayJ on September 16, 2012, 06:05:46 AM
What you mean if the device bootloops?

I've done that a few times on my N7, for all my flashing experience I was hesitant to do a factory reset through recovery because I was under the impression that a factory reset would wipe the whole device including the user memory (sdcard0).
And this resulted in a bootloop, now if this was my S2 it wouldn't have been a problem because I would just just reboot into recovery and either reflash or restore a backup but obviously you can't do that with the N7 so that left me with having to flash the factory image using the Root Toolkit.
I watched several You Tube videos and people were not doing factory resets, just wiping the cache, dalvik cache and system. My error was not wiping the data partition but after three bootloops and three times flashing the factory image and starting from scratch I decided to I had nothing to loose and tried a full wipe as I do when flashing my S2 and it worked.

So the answer to your question is, if you bootloop your Nexus 7 then you'll need to flash the factory image with the Root Toolkit.
If you flash a custom ROM be sure to select wipe in TWRP and factory reset, wipe dalvik cache and wipe system, flash and wipe dalvik cache and cache again and reboot.
Title: Re: Trying to root for the first time.
Post by: bjs229 on September 16, 2012, 01:09:19 PM
Thanks for the answer on the boot loop. I have just read stories of a bricked device which I thought meant a black screen and no startup. 
Title: Re: Trying to root for the first time.
Post by: JayJ on September 16, 2012, 01:19:18 PM
No problem, hope helps. At least my mistakes can contribute to your success, that's what forums are for...

EDIT: I'm not saying you can't brick an N7, I do think it's quite hard compared to other devices. Playing around with kernels and OC/UC, under volting and playing with BUS frequencies is much more serious than flashing ROM's as the kernel is the the part of the software that communicates directly with the hardware.
Title: Re: Trying to root for the first time.
Post by: bjs229 on September 16, 2012, 04:14:36 PM
Jay where is a good place to start to flash my first new rom? I have goo and it lists roms but I really don't know which to pick. Are the ones that are listed tested and known to work on the Nexus? Do I have to go back to stock or can I just flash from where I am? Is goo the only app I need to do it or is it a combination of apps?
Title: Re: Trying to root for the first time.
Post by: JayJ on September 16, 2012, 05:08:12 PM
Goo Manager is a great place to start, all the ROM's listed under "Browse compatible ROMs" are specifically for the Nexus 7.
I'm using Paranoid Android at the moment, it's an AOSP ROM based on CM10 by some unique features.

Read this...

-PARANOIDANDROID-[2.1,-True-HybridMode,-Size-&-UI-on-Per-App-Basis]]http://rootzwiki.com/index.php?/topic/31264-[JB:CM10:HYBRD]-PARANOIDANDROID-[2.1,-True-HybridMode,-Size-&-UI-on-Per-App-Basis] (http://rootzwiki.com/index.php?/topic/31264-[JB:CM10:HYBRD)

You'll also find ROM's like AOKP (Android Open Lang Project) and official CyanogenMod 10 nightlies in Goo Manager.

For more ROM's check XDA Developers Nexus 7 Android Development, also Rootzwiki Nexus 7 Development sub-forums respectively. I'll post links in a minute...

No need to go back to stock, were you are now is were you want to be.
Download for example Paranoid Android 2.12 and GAPPS zip files within Goo Manager, reboot using Goo Manager into TWRP recovery and perform a nandroid backup.
Now select the wipe option and do "Factory Wipe", "Dalvik Cache" and "System". Press the home button and select "Install", find the goomanager folder on your internal storage via the TWRP file explorer and select the Paranoid Android zip (pa_grouper-2.12-14SEP2012-225348.zip), now tap "Add More Zips" and select the GAPPS zip. You'll see and slider at the bottom of the screen that says "Swipe to Confirm Flash", do as it says and TWRP recovery will flash the ROM to your N7.
Once it's complete, choose "Wipe Cache & Dalvik Cache and then reboot.

If you don't like that ROM either follow the above steps again to flash another ROM or do the wipes and instead of selecting "Install" choose "Restore" to restore your Backup.