Need help to root on Ubuntu - Nexus 7 (2013) General

Hey guys just got my new nexus7 .. Looked all over but couldn't find anywhere on how to root unlock and install custom recovery via Ubuntu or I might not have looked properly . so if anyone know any link or something please point me towards the right direction . thanks
Sent from my Nexus 7 using xda premium

Install adb http://androidforums.com/lg-spirit-4g/692656-install-adb-windows-ubuntu-12-04-12-10-a.html if not you can take the easier way and use a tool kit
Sent from my Nexus 7 using Tapatalk 4
---------- Post added at 11:49 PM ---------- Previous post was at 11:47 PM ----------
And a step by step http://nexus7root.com/new-nexus-7-root/how-to-root-new-nexus-7-2013/
Sent from my Nexus 7 using Tapatalk 4

why u no use windows

Well thanks . but I already have adb set up . I only need instructions on how to root this baby on Ubuntu . sorry for not being more clear .
Sent from my Nexus 7 using xda premium

Me likey Ubuntu
Sent from my Nexus 7 using xda premium

pantmunu said:
Well thanks . but I already have adb set up . I only need instructions on how to root this baby on Ubuntu . sorry for not being more clear .
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Rooting is just flash a zip file via recovery so you don't even need a PC to do that. Just download the file straight to your internal storage.

Not just root .. I need to unlock and install a custom recovery . I am asking if there is a way to do it on Ubuntu . has anybody created any one click tool like in windows for Ubuntu os
Sent from my Nexus 7 using xda premium

After using
Code:
sudo apt-get install android-tools-adb
sudo apt-get install android-tools-fastboot
the command is the same for unlocking
Code:
fastboot oem unlock
then
Code:
cd Downloads
fastboot flash recovery openrecovery-twrp-2.6.0.0-flo.img

Only run Ubuntu myself.
http://forum.xda-developers.com/showthread.php?t=2380126

Installed the SDK and fastboot but when I type the command it just says waiting for device.
And when I type adb devices it says
????? Device offline
Sent from my SPH-L710 using xda premium

pantmunu said:
Installed the SDK and fastboot but when I type the command it just says waiting for device.
And when I type adb devices it says
????? Device offline
Sent from my SPH-L710 using xda premium
Click to expand...
Click to collapse
All you need is fastboot to root your device.

I get the waiting on device thing too on fedora. I found I can only run fastboot as root (don't know why). adb runs fine as normal user.

So the fastboot commands are the same in Ubuntu as in Windows, and yet the OP was asking for help?

Yea they are the same but I didn't know that . that's why I asked it. And I still am not able to root it. will try later tonight and see. Anyways thanks for the info and help guys . much appreciated.
Sent from my SPH-L710 using xda premium

After I set the path for adb sometimes I use chmod 755 * if adb is having trouble finding devices, oem unlock, reboot, dl super su zip, place it in sd card, fastboot and flash recovery file, reboot into recovery, flash supersu zip, reboot, all good
Sent from my Nexus 4 using Tapatalk 4

Yup. That's what I should have done. Will give it a try for sure after work today. Thank u again.
Sent from my SPH-L710 using xda premium

Related

SOLVED - I have a bricking situation...please help

Please help me. I recently unlocked and rooted my Nexus 7 and then installed Glazed Jellybean. The ROM was fine apart from borders on the homescreen so I attempted to replace this launcher with the stock launcher from a Nandroid backup using Titanium Backup. Long story short I now have a device that won't go past the boot animation, and to further complicate matters:
1) I believe a general bug on the Nexus 7 is that you can't boot straight into recovery from the bootloader. I have this issue.
2) I cannot boot up to use Rom Manager to get to recovery that way, to reflash the ROM
3) I did not enable USB debugging within the new ROM before this happened so I can't use ADB commands to get to recovery
What can I do? Have I managed to brick an almost unbrickable device.
Please, please, please help me???
Adb works during boot.
Sent from my Nexus 7 using xda app-developers app
ace7196 said:
Adb works during boot.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
I am pretty sure that the bootloader has adb access in it, so try adb while in the bootloader.
ace7196 said:
Adb works during boot.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
I get "Errorevice not found" when trying to execute "adb reboot recovery"
Did you ever have adb working? Just checking
Sent from my Nexus 7 using xda app-developers app
Thanks for the replies but I posted too soon. I have it all sorted now having pushed a stock image in fastboot. Didn't realise fastboot worked independently of adb.
Boot loop is not as scary as f up the bootloader or recovery
Sent from my Nexus 7 using xda app-developers app

Can't update TWRP

I can't update twrp past 2.3 to flash KitKat if I flash via terminal I get error 1 and goomanager is just being weird.
Here's the catch though. I cant plug it into a PC as it won't read it. So I can't do fastboot or adb.
Sent from my SCH-I535 using Tapatalk
Well the best way to flash a recovery is with fastboot so I highly recommend to figure out your issue with PC not recognizing phone. Are you using windows or Linux?
Sent from my Nexus 4 using XDA Premium 4 mobile app
I have tried all 3. Win osx and linix
Sent from my SCH-I535 using Tapatalk
Linux*
Sent from my SCH-I535 using Tapatalk
Try Flashify. Download the recovery.img and flash it to the recovery partition.
http://forum.xda-developers.com/showthread.php?p=41374534
Maybe this will help load the proper drivers for windows or rules for Linux, sorry I stay away from apple so can't help there.
Unless its a hardware issue it should be easy to fix.
Otherwise you will need to add the flash binary to your ROM to use terminal emulator, supposing the command you enter are correct
flash_image recovery /locationofrecoveey/nameofrecovery.img
Sent from my Nexus 4 using XDA Premium 4 mobile app
Its hardware related. I was told it was stuck in otg mode. Whatever that means.
Sent from my SCH-I535 using Tapatalk

no boot in to rom, only recovery???

hi,
i am on D802 stock rom rooted and TWRP/CWM installed and last night i had some kind stock update, and now phone don't boot in to rom, all the time boot in to recovery no matter wich type of reebot i use,
i also can install new rom via recowery but does not boot in to rom??
i also can NOT enter download mode...
please help
:crying:
Look around in the here for the commands, but what you will have to do is format the fota and misc partitions using adb shell and the dd cmd. Then phone will boot allowing you to install a working recovery, rom and your off and running
Sent from my VS980 4G using Tapatalk
thanks i am in to it but i am looking for laf.img D802 32gb
thanks for your help!!
P
hi!
can you please help me with dd command for formating fota and misc, i still have data on internal sdcard and i dont want to lose it,
thanks!
Peter
wyrdtrtle said:
Look around in the here for the commands, but what you will have to do is format the fota and misc partitions using adb shell and the dd cmd. Then phone will boot allowing you to install a working recovery, rom and your off and running
Sent from my VS980 4G using Tapatalk
Click to expand...
Click to collapse
Use Terminal in TWRP:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
-Matt
http://forum.xda-developers.com/showthread.php?p=49353878
[FIX] Installed TWRP and now you're stuck after OTA?
This thread has the instructions and the second did cmd if the first one alone doesn't do it. Good luck
Sent from my Nexus 7 2013 using XDA Premium 4 mobile app
I got it thanks to all!!
this helps 100%
you rock!
wyrdtrtle said:
http://forum.xda-developers.com/showthread.php?p=49353878
[FIX] Installed TWRP and now you're stuck after OTA?
This thread has the instructions and the second did cmd if the first one alone doesn't do it. Good luck
Sent from my Nexus 7 2013 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Glad i could help
Sent from my VS980 4G using Tapatalk
Connect to PC. If ur a Samsung user, download a stock firmware. download Odin.
Next click PDA on Odin and choose the downloaded firmware . extension will be ".tar.md5" . this will take 10 mins. After that your device will be factory reset like a new ones. But its worth it.
Sent from my Nexus 4 using XDA Premium HD app

Going from 4.2.2 to 4.4.2

Hi there, I'm currently rooted with 4.2.2 and I want to upgrade to the latest which I believe is 4.4.2, after a brief check I don't see the toolkits supporting this so can someone give me a clue on what to do? Is it upgrade to 4.3 then 4.4 and finally 4.4.2 or can I just jump from my current to 4.4.2?
Sent from my Nexus 10 using xda app-developers app
TomAshcroft said:
Hi there, I'm currently rooted with 4.2.2 and I want to upgrade to the latest which I believe is 4.4.2, after a brief check I don't see the toolkits supporting this so can someone give me a clue on what to do? Is it upgrade to 4.3 then 4.4 and finally 4.4.2 or can I just jump from my current to 4.4.2?
Sent from my Nexus 10 using xda app-developers app
Click to expand...
Click to collapse
If your on stock ROM and kernel and recovery just check for updates under about tablet system updates. If your running a custom ROM or kernel then you'll want to get to stock first. Also you can just download the factory image and adb flash it. Just search how to install 4.4,2 factory image with adb on nexus 10. There's plenty of guides.
Sent from my white LG Nexus 5
abdel12345 said:
If your on stock ROM and kernel and recovery just check for updates under about tablet system updates. If your running a custom ROM or kernel then you'll want to get to stock first. Also you can just download the factory image and adb flash it. Just search how to install 4.4,2 factory image with adb on nexus 10. There's plenty of guides.
Sent from my white LG Nexus 5
Click to expand...
Click to collapse
Adb? I think you mean fastboot ?
Sent from my Galaxy Nexus using XDA Premium HD app
mrgnex said:
Adb? I think you mean fastboot ?
Sent from my Galaxy Nexus using XDA Premium HD app
Click to expand...
Click to collapse
Yes fastboot my bad. I meant use adb commands to flash like fastboot flash ...
My brain was dead from stuyding lol
Sent from my white LG Nexus 5
I want to remain rooted though, also I'm trying to use the system update but it says restarting in 10, counts down then doesn't restart.
Since I want to remain rooted but just upgrade to 4.4.2 what can I do? I can't find an appropriate video.
Sent from my Nexus 10 using xda app-developers app
Well attaining root again only takes about 1 minute....
Sent from my Nexus 10 using XDA Premium 4 mobile app
TomAshcroft said:
I want to remain rooted though, also I'm trying to use the system update but it says restarting in 10, counts down then doesn't restart.
Since I want to remain rooted but just upgrade to 4.4.2 what can I do? I can't find an appropriate video.
Sent from my Nexus 10 using xda app-developers app
Click to expand...
Click to collapse
Just update and root again. It takes a minute using one of the toolkits. Or you can just flash the super su zip which is even quicker if you have a custom recovery. Either way it's easy and quick
Sent from my white LG Nexus 5
I can't use system updates, it won't restart after counting down from 10 it just hangs there. I also don't think the toolkits have 4.4.2, I'm pretty sure I downloaded the right files, I just don't know the commands to use in CMD.
Sent from my Nexus 10 using xda app-developers app
TomAshcroft said:
I can't use system updates, it won't restart after counting down from 10 it just hangs there. I also don't think the toolkits have 4.4.2, I'm pretty sure I downloaded the right files, I just don't know the commands to use in CMD.
Sent from my Nexus 10 using xda app-developers app
Click to expand...
Click to collapse
Wugs toolkit has it.
Extract it and put it in the correct folder with Fastboot capabilities and use the commands
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img (this'll give you stock recovery)
fastboot flash userdata userdata.img (only do this one if you want to completely reset and delete everything on your internal SD card. Don't do this step of you want to keep your files like pictures and music on SD card)
Sent from my white LG Nexus 5
Okay, going to try Wugs. Ah, I'm mistaken then, I just have the factory image and update superSU zip files.
See this is what I don't get, it asks me my build, which is 4.2.2. And then asks to download the image, but I want 4.4.2 so do o just change it to that?
Sent from my Nexus 10 using xda app-developers app
TomAshcroft said:
Okay, going to try Wugs. Ah, I'm mistaken then, I just have the factory image and update superSU zip files.
See this is what I don't get, it asks me my build, which is 4.2.2. And then asks to download the image, but I want 4.4.2 so do o just change it to that?
Sent from my Nexus 10 using xda app-developers app
Click to expand...
Click to collapse
Yeah. Choose 4.4.2. Asking your build is just so when you flash kernnel and recoveries it flashes a compatible one. But since your just flashing stock images. Just do that. But again remember it'll wipe everything so backup your SD card to a computer first
Sent from my white LG Nexus 5
Okay trying this now, which option would I choose as my boot loader is already unlocked and I'm already rooted
Sent from my Nexus 10 using xda app-developers app
I managed to get to the point where it boots TWRP and then just had "waiting for device"
Edit: got to this same point 3 times now, tried rebooting but I'm still on 4.2.2, could you tell me what files I need to go ahead and flash it using cmd?
Sent from my Nexus 10 using xda app-developers app
If you use Wigs toolkit you can flash the new update if you do a complete restore with in root. Then you can re root. Just go to flash stock + unroot then click the images drop down down box. Pick the mantaray-manta : android 4.4.4- build KOT49H then click the button that shows automatically download. After install re root and restore. Backup everything first it makes a quicker restore.
Sent from my Nexus 10 using xda app-developers app
TomAshcroft said:
I managed to get to the point where it boots TWRP and then just had "waiting for device"
Edit: got to this same point 3 times now, tried rebooting but I'm still on 4.2.2, could you tell me what files I need to go ahead and flash it using cmd?
Sent from my Nexus 10 using xda app-developers app
Click to expand...
Click to collapse
Gimme a sec ill type this up for ya, I just want to make sure its good and detailed.
Sent from my Nexus 10 using XDA Premium 4 mobile app
---------- Post added at 06:33 AM ---------- Previous post was at 05:43 AM ----------
First, go download the image:
https://developers.google.com/android/nexus/images
While that is downloading, make a new folder on the desktop and name it FLASH, also for extracting the file once it is downloaded I reccomend total commander:
http://www.ghisler.com/download.htm
Also head over to here to download adb and fastboot without the android sdk:
https://docs.google.com/file/d/0B1MWexkzYR_bV2VlaF9UcHVBU00/edit?usp=docslist_api
Once the zip file with adb and fastboot is downloaded extract the files into the FLASH folder. Now that we've done all this the image should be downloaded, extract the contents to the FLASH folder. Now open up command prompt. In command prompt type the following(excluding the quotation marks):
"cd C:\Users\*username*\Desktop\FLASH"
*username* Is the name of the user. Now turn off your device then boot your device into fastboot mode(hold the power+volume up+volume down buttons) once your device is in fastboot mode connect it to your computer. In command prompt type(again excluding quotations):
"fastboot devices"
After that you should see your nexus device in fastboot mode, if you have no important data and don't care about losing everything(me) you can just type this in command prompt(no quotations):
"flash-all"
But if that does not work or you do have important things, type:
"fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img”
Sent from my Nexus 10 using XDA Premium 4 mobile app
Hi guys thanks for all the help, I decided to go with Wugs toolkit, unrooted, then re rooted with 4.4.2. All worked fine just need to restore my data now
Sent from my Nexus 10 using xda app-developers app

Help, i dont have system, how to flash rom

Okay, I don't have system on my Nexus 4, but I can enter in recovery and bootloader, also, I cant put zip files on y phone because my PC doesnt recognize nexus in my computer. HELP!
Adb sideload. Look it up
Sent from my Nexus 4 using Tapatalk
dethrat said:
Adb sideload. Look it up
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
Im noob here what is adb sideload, wtf. :0 PLS DWOAAOW
You're going to have to get your pc to recognize your device. Google tool adb fastboot drivers.
Sent from my Nexus 5
Okay it's fine now. I used toolkit
Sent from my Nexus 4 using xda app-developers app

Categories

Resources