Here's a video tutorial for rooting Nexus 7 that works for all Windows, Mac, and Linux:
http://androidroot.org/watch_video.php?v=B7GHRGAAB72G
I should have Mac and Linux using Mac and Linux also if anyone needs it but you should be able to do it easily by changing all "fastboot" to "fastboot-mac" or "fastboot-linux".
Related
Good morning Gents and Ladies
This is my first post in xda-developers.
I am planning to buy a smartphone for pen-testing besides of other normal smartphone usage sutff.
My choices have bioled down to the Sony Xperia Z, and the Samsung Galaxy S4...
Only problem is tha i do not know how to root these devices.... by what i have seen so far, it requires flashing the ROM, of them, but i have no access to Windows computers... i only have an Ubuntu 12.04 installation in my laptop, but all the tutorials i have seen so far, involve using some sort of win applications....
I need to root the device in order to get Kali linux, or backtrack linux, or BackBuntu to run in a chroot in an SD card... as well as to install ANTI, and dSploit...
Any hints of how to do this using Linux..??
and more.. the kernel images used in the rooting process are no longer hosted in the websites, where can i get them..?
best regards
Alex
You don't need Windows to root the device. I've successfully rooted the device with locked and unlocked bootloader under linux. You can just run the needed adb commands under linux if you have the android sdk installed.
Downloading Android SDK now... Installed Eclipse already...
djselbeck said:
You don't need Windows to root the device. I've successfully rooted the device with locked and unlocked bootloader under linux. You can just run the needed adb commands under linux if you have the android sdk installed.
Click to expand...
Click to collapse
Hi, thanks for the answer, is the source code of ADB packed in the SDK, and i just need to build an executable, ? or is it just a stand-alone binary..?
BRGDS
Alex
All you need is the platform-tools folder from the sdk. The binary for adb will be present for your platform. I rooted on a mac.
Sent from my Nexus 10 using Tapatalk HD
There are already few threads about Ubuntu desktop on nexus 7 in this forum. But there is a reason behind why I started a new thread. And that the rest of the threads requires a desktop or laptop with Ubuntu installed to install Ubuntu on your nexus 7. Or it's about running Ubuntu over android Using VNC. But this thread is about installing Ubuntu using a windows PC.
This is a developer edition install it at your own risk.
This will erase your android and all your data so create a backup first.
There is a GUI based installer on Ubuntu desktop to install Ubuntu on your nexus 7 called "Ubuntu Nexus 7 installer". But what if you don't have a PC running on Ubuntu like me. You can still install Ubuntu using your Windows PC(I don't have a MAC but there should be some similarities in this processes).
Things that you are going to need are:
* Nexus 7(Boot-loader unlocked) + USB cable
* Android SDK
* Ubuntu Files
I think you already got the first two of them. If yes download "raring-preinstalled-desktop-armhf+nexus7.bootimg" and "raring-preinstalled-desktop-armhf+nexus7.img.gz" from here.
Once you've downloaded the required files extract the "raring-preinstalled-desktop-armhf+nexus7.img.gz " using a extractor of your choice (I used win RAR). You will get a file named "raring-preinstalled-desktop-armhf+nexus7.raw" now change the extension from ".raw" to ".img".
Now place this two files into "platform-tools" folder under your "Android SDK". Open command window in this folder(Shift + right click for Windows I'm not sure about MAC). Connect your Nexus 7 in fast-boot mode. Now write the bellow command one by one following by enter.
fastboot erase boot
fastboot erase userdata
fastboot flash boot raring-preinstalled-desktop-armhf+nexus7.bootimg
fastboot flash userdata raring-preinstalled-desktop-armhf+nexus7.img
And you are done installing Ubuntu desktop on you Nexus 7. Now reboot your device or write "fastboot reboot" in command window.
Now this is gonna take a while. In my case it took about 7 min to reboot into Ubuntu.
Enjoy nexus 7 like a desktop.
## There are too many bugs. Please report the bugs to help the developers.
## It's more comfortable to use with a hardware mouse and keyboard.
## If you have problem getting on-screen keyboard on log in screen use the device Vertically.
Reference: Ubuntu Wiki
There is already a very extensive thread on this right here in the general section, and has been since it was released 5-6 months ago. http://forum.xda-developers.com/showthread.php?p=33313017
Btw, it can also be installed using multirom, so you do not have to lose your current
Android os, or any data. http://forum.xda-developers.com/showthread.php?p=34577838
Sent from my Nexus 7 using xda premium
Multirom is fun for you because you've got the 32GB and 16GB one. Everyone doesn't.
rebel1699 said:
There is already a very extensive thread on this right here in the general section, and has been since it was released 5-6 months ago. http://forum.xda-developers.com/showthread.php?p=33313017
Btw, it can also be installed using multirom, so you do not have to lose your current
Android os, or any data. http://forum.xda-developers.com/showthread.php?p=34577838
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
If I'm not wrong it says "You need Ubuntu to install Ubuntu on your Nexus 7".
But what if you don't have Ubuntu but you have a Windows PC and want to install Ubuntu on your Nexus 7.
I agree with the matter of multirom.
So before I installed CyanogenMod I had linux running through terminal and vnc viewer on the stock Barnes and noble ROM. But once I upgraded to any CyanogenMod ROM it stopped working and does not let me run commands as [email protected] Currently I am on CM11 nightly.
Sent from my BN Nook HD using xda app-developers app
Blue49974 said:
So before I installed CyanogenMod I had linux running through terminal and vnc viewer on the stock Barnes and noble ROM. But once I upgraded to any CyanogenMod ROM it stopped working and does not let me run commands as [email protected] Currently I am on CM11 nightly.
Sent from my BN Nook HD using xda app-developers app
Click to expand...
Click to collapse
So if I have this right, you are SSHing into a linux pc via terminal and VNCing into a linux pc via an app. All fine and good. That shouldn't have any bearing on the linux pc itself if your logging into the linux pc exactly the same as before.
More likely I think your logging in differently in some way, upgraded the linux distro (which changed something), changed something on the linux pc yourself or haven't changed something that needs to change, forgot to switch to root user, or some other thing on the linux pc.
ssh, vnc, rdp, or whatever are basically just a way of bringing the computer to you. What happens there is happening on the computer not the android device.
sandsofmyst said:
So if I have this right, you are SSHing into a linux pc via terminal and VNCing into a linux pc via an app. All fine and good. That shouldn't have any bearing on the linux pc itself if your logging into the linux pc exactly the same as before.
More likely I think your logging in differently in some way, upgraded the linux distro (which changed something), changed something on the linux pc yourself or haven't changed something that needs to change, forgot to switch to root user, or some other thing on the linux pc.
ssh, vnc, rdp, or whatever are basically just a way of bringing the computer to you. What happens there is happening on the computer not the android device.
Click to expand...
Click to collapse
I am actually trying to run a arm linux system from terminal and VNC into it on the same device (Nook HD). I used 2 apps one is called Linux on Android and the other is called Linux Deploy. This worked on all of the stock roms but non of the CyanogenMod ROMS. Not sure if this is a conflict with the CyanogenMod build or whats up with it.
I just upgraded my Laptop to Linux mint 17 cinnamon bu t i am not able to access my storage of my mi3 like that in windows.When i connect my mi3 to laptop only driver installation partion on mi3 appears(have attached screenshot) not the storage(In windows both appears).If you have solution please give it step by step ,i am new to linux
kaapro9 said:
I just upgraded my Laptop to Linux mint 17 cinnamon bu t i am not able to access my storage of my mi3 like that in windows.When i connect my mi3 to laptop only driver installation partion on mi3 appears(have attached screenshot) not the storage(In windows both appears).If you have solution please give it step by step ,i am new to linux
Click to expand...
Click to collapse
1) Install SDK and setup adb
simple script to setup sdk and adb on linux, tested on old version linux mint as im using Ubuntu 14.04 now http://forum.xda-developers.com/showthread.php?t=1459945
just in case the udev rules is not available on above link. http://rootzwiki.com/topic/258-udev-rules-for-any-device-no-more-starting-adb-with-sudo/
2) Add below code inside android 99rules
#Xiaomi
SUBSYSTEM==usb, SYSFS{idVendor}==2717, MODE=0368
3) Voila, u can now use mtp into linux
4) other than that, u can use ftp. It is built inside the mi file explorer and connect it using Filezilla or simply type the ftp host into web broser.
Hi,
I would like to know if someone can explain how to build a rom for MI5 on MAC, if it's not possible, i have a windows VPS, thanks.
You can use VirtualBox(VB) to install Ubuntu. VirtualBox is a VM software and what it does is to emulate a computer inside your computer. This allows you to run your MacOS while having VB on to run Ubuntu. From there on, you can use the guide given in Cyanogen mod wiki to build the ROM for Mi 5!