Nexus 7 - how to on linux - Nexus 7 Q&A, Help & Troubleshooting

Hello All,
I've read that linux does not open up the file system of nexus 7 when connected? Is that right? if yes, how can one transfer files to nexus 7?
Am waiting on my device which should arrive in few days. I really dont want to go some where else to copy my files or use apps to transfer files over the air. My phone is android and linux shows me the sd card folder right away after plugging in...
Also, can you guys please point me towards howto on rooting my device while on linux? I have seen wndows has one click method which is pretty awesome. I realize we might not have one click methods in linux, am willing to do it the hardway too..just need some direction.
Any help would really be appreciated. Thanks for taking your time.
Linux mint user here if that makes any difference. Thanks

Boomboy said:
Hello All,
I've read that linux does not open up the file system of nexus 7 when connected? Is that right? if yes, how can one transfer files to nexus 7?
Am waiting on my device which should arrive in few days. I really dont want to go some where else to copy my files or use apps to transfer files over the air. My phone is android and linux shows me the sd card folder right away after plugging in...
Also, can you guys please point me towards howto on rooting my device while on linux? I have seen wndows has one click method which is pretty awesome. I realize we might not have one click methods in linux, am willing to do it the hardway too..just need some direction.
Any help would really be appreciated. Thanks for taking your time.
Linux mint user here if that makes any difference. Thanks
Click to expand...
Click to collapse
I have no problems loading the file system on my Arch System. However, I personally rooted using Windows and the One-Click. Since all it does is use adb to push files onto the system, it is 100% possible to root and unlock using Linux. Just make sure you have the Android SDK installed. Follow this guide here: http://forum.xda-developers.com/showthread.php?t=1741395 for the acutal rooting
-Twitish

twitish said:
I have no problems loading the file system on my Arch System. However, I personally rooted using Windows and the One-Click. Since all it does is use adb to push files onto the system, it is 100% possible to root and unlock using Linux. Just make sure you have the Android SDK installed. Follow this guide here: http://forum.xda-developers.com/showthread.php?t=1741395 for the acutal rooting
-Twitish
Click to expand...
Click to collapse
Thanks for taking you time out. When you say you had no problem on arch, are you saying the file explorer just showed the nexus files? were you able to just copy and paste stuff into nexus?
Thanks for the link..will go through it

Boomboy said:
Thanks for taking you time out. When you say you had no problem on arch, are you saying the file explorer just showed the nexus files? were you able to just copy and paste stuff into nexus?
Thanks for the link..will go through it
Click to expand...
Click to collapse
By "showing Nexus files" do you mean the SD card? Linux supports PTP / MTP so this won't be a problem. You won't be able to directly view any other files without some other server installed on the Nexus, such as NFS or CIFS. As already stated, if you install the Android SDK, you will be able to root the device using adb / fastboot shell commands.

I think it depends on which distribution you are using. Ubuntu doesn't have mtp support by default.
Sent from my Nexus 7 using Tapatalk 2

gbroon said:
I think it depends on which distribution you are using. Ubuntu doesn't have mtp support by default.
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
Easy to get it though.

Yes, i am able to mount my internal storage in Arch if that's what you are asking. As stated before, you must have MTD support in your distro. Since Mint is based on Ubuntu, you may have to do some work. Sorry, not really sure how in Ubuntu.
Sent from my Nexus 7 using xda app-developers app

twitish said:
I have no problems loading the file system on my Arch System. However, I personally rooted using Windows and the One-Click. Since all it does is use adb to push files onto the system, it is 100% possible to root and unlock using Linux. Just make sure you have the Android SDK installed. Follow this guide here: http://forum.xda-developers.com/showthread.php?t=1741395 for the acutal rooting
-Twitish
Click to expand...
Click to collapse
wmoore said:
Easy to get it though.
Click to expand...
Click to collapse
Thanks a ton buddy! Guess I gotta follow that link as am a Mint user..

Related

[INFO] File transfer on OSX and Linux

I know some people have had issues with transferring files to OSX or Linux distros with their tablet, this is because only windows has MTP drivers by default which honeycomb now uses instead of USB Mass Storage protocol. This is so the tablet can use the internal storage even while being mounted on the PC.
Android file transfer for OSX:
link
This will give you a simple file transfer interface for OSX, just run the program with the tablet connected by USB.
gMTP for Ubuntu/Linux:
link
if gMTP doesn't work for you or if you prefer having storage show up in nautilus:
link
gMTP is actually made for managing music on PMP devices but it will let you manage files as well.
Hope that helps.
Wow! I just found Android file transfer minutes before you posted this. I wish there was a way to see the removable media folder.
Sent from my HTC Eva 4G using Tapatalk
Jocelyn said:
Wow! I just found Android file transfer minutes before you posted this. I wish there was a way to see the removable media folder.
Sent from my HTC Eva 4G using Tapatalk
Click to expand...
Click to collapse
I've actually posted it in several topics, so I got sick of reposting it and made this thread. Hopefully it gets stickied or referenced in a sticky so people will be able to easily find this info since it's pretty critical.
bump for anyone wondering.1
Jocelyn said:
Wow! I just found Android file transfer minutes before you posted this. I wish there was a way to see the removable media folder.
Sent from my HTC Eva 4G using Tapatalk
Click to expand...
Click to collapse
You can see the removable card, it's in the MicroSD folder WITHIN the Device Storage root folder.
seshmaru said:
I know some people have had issues with transferring files to OSX or Linux distros with their tablet, this is because only windows has MTP drivers by default which honeycomb now uses instead of USB Mass Storage protocol. This is so the tablet can use the internal storage even while being mounted on the PC.
Android file transfer for OSX:
link
This will give you a simple file transfer interface for OSX, just run the program with the tablet connected by USB.
gMTP for Ubuntu/Linux:
link
gMTP is actually made for managing music on PMP devices but it will let you manage files as well.
Hope that helps.
Click to expand...
Click to collapse
Anything special need to be done, or extra packages need to be installed to get gMTP working in ubuntu Natty. Installed via cli and then plugged in my device and nothing. is there some sort of trigger on the device? Any help would be greatly appreciated.
Matchstick said:
You can see the removable card, it's in the MicroSD folder WITHIN the Device Storage root folder.
Click to expand...
Click to collapse
But the default mnt point is /mnt/sdcard and I can't get to /mnt Do I need to be rooted to get to access or is there anyway to collapse to /mnt so I can get into mnt/recovery???
rockcrawler said:
Anything special need to be done, or extra packages need to be installed to get gMTP working in ubuntu Natty. Installed via cli and then plugged in my device and nothing. is there some sort of trigger on the device? Any help would be greatly appreciated.
Click to expand...
Click to collapse
Bump..... anyone?
Sent from my CM7 Supersonic
rockcrawler said:
Bump..... anyone?
Sent from my CM7 Supersonic
Click to expand...
Click to collapse
Mine instantly worked on 10.10, so I wouldn't know sorry.
EDIT: I did find this however http://www.xoomforums.com/forum/mot...ussion/691-mount-internal-storage-ubuntu.html
https://launchpad.net/ubuntu/natty/i386/gmtp/0.9-1 this is the one for natty i believe.
edit: nothing comes up when i plug it in. i get no devices found
I'm not having much luck with this either on natty.
I rooted and added custom recovery with mine, and now I can't get it to work even with adb. Tablet works fine, I just can't get to the internal memory from my pc anymore.
Does the vendor id change after adding cmw or rooting?
What is the correct vendor id? I used 091E
ogg1e said:
I'm not having much luck with this either on natty.
I rooted and added custom recovery with mine, and now I can't get it to work even with adb. Tablet works fine, I just can't get to the internal memory from my pc anymore.
Does the vendor id change after adding cmw or rooting?
What is the correct vendor id? I used 091E
Click to expand...
Click to collapse
If you run lsusb, you should see this line:
Bus 002 Device 005: ID 0b05:4e1f ASUSTek Computer, Inc.
The vendorid is 0b05.
I am trying the method using mtpfs (Nautilus) and I'm getting this error when trying to create a directory on the Transformer:
Code:
Error creating directory: Software caused connection abort
And this error when copy a file over to the /sdcard/Pictures folder:
Code:
Error stating file '/media/Tablet/Pictures': Transport endpoint is not connected
Any ideas?
EDIT: I'm rooted with blob v5.
GMTP Lucid 64
After trying mtpfs with no luck, I got gMTP to work with Ubuntu Lucid AMD 64 bit. I think the trick is you need to compile it yourself.

[Q] Droid X on Mac Gingerbread Help

Ok so I have a Droid X with the OTA gingerbread installed. I want to get back and root. Is there some sort of guide for MAC in order to do this? I'm pretty noobish. I rooted my eris and just got my droid X today so hoping I can do this tonight. I don't want to have to install windows or linux or anything on my mac.
As a Mac user, I strongly recommend VirtualBox (or the virtualization software of your choosing) and an Ubuntu install. Then use sbf_flash. Works like a charm. Faster than RSDLite in Windwos and more reliable IMHO. You might be able to get sbf_flash to work with a Linux VM, but it wasn't worth the effort for me since I already had an Ubuntu VM.
As a total noob lets say. Could you give me a step by step so I don't mess this up? Also could I use a bootable linux usb drive?
I used VirtualBox and Ubuntu. I suppose you can use a bootable Linux USB drive it you'd like, but I find it easier just to have VirtualBox installed. I've got a couple of different OS images that I use sporadically.
Step 1: Install VirtualBox
Step 2: Install Ubuntu in Virtualbox
Step 3: Follow instructions here for sbf_flash and Ubuntu: http://forum.xda-developers.com/showthread.php?t=1020203
I'm sure it seems overwhelming, but honestly, it's not that hard.
I can't even get virtualbox installed without an error. Is there an alternative software?
Gingerbread doesn't have a root currently. Only real option to root the OTA is SBF to 2.2, then root that using something such as z4root (which is simply a .apk you save and install on your phone then click the "root" button in the application). Then install the team black hat version of gingerbread
Sent from my DROIDX using XDA App
If you don't have a lot to lose as tthough you just got your phone, you can boot into recovery and wipe your phone to factory settings. That's the least complex way to do it. And none of this requires any specific computer operating system.
Sent from my DROIDX using XDA App
Let's just say that's what you get for using a mac :3
djsupersoak said:
If you don't have a lot to lose as tthough you just got your phone, you can boot into recovery and wipe your phone to factory settings. That's the least complex way to do it. And none of this requires any specific computer operating system.
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
Really? This will work? I can just restore back to factory settings, re fill out my google account, then go from there?
Why don't people do this then, doesn't the SBF and rooting and all that stuff wipe your phone anyways?
djsupersoak said:
If you don't have a lot to lose as tthough you just got your phone, you can boot into recovery and wipe your phone to factory settings. That's the least complex way to do it. And none of this requires any specific computer operating system.
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
And that will just get rid of his data an he still won't be able to root. Op you have to SBF in order to root
mdemps9190 said:
I can't even get virtualbox installed without an error. Is there an alternative software?
Click to expand...
Click to collapse
Odd, never had a problem here. What's the error? Alternatives are Parellels and VMware. You can always succumb to the pressure of Windows and use Boot Camp if you don't like the idea of using a VM. Personally, I don't like the idea of Boot Camp, but to each their own.
Jmoney47 said:
And that will just get rid of his data an he still won't be able to root. Op you have to SBF in order to root
Click to expand...
Click to collapse
Ok. I thought it would factory reset to 2.2 if that was the state he purchased the phone in.
In any case. After you get it to 2.2, root it using a one-click root such as z4root then install the TBH/p3 Gingerbread.
Sent from my DROIDX using XDA App
djsupersoak said:
Ok. I thought it would factory reset to 2.2 if that was the state he purchased the phone in.
In any case. After you get it to 2.2, root it using a one-click root such as z4root then install the TBH/p3 Gingerbread.
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
Factory reset is the same as wiping data in cwm
All very amusing considering there's no reason to load a linux vm; sbf_flash will run on a mac.
If SOMEONE could give me step by step instructions on how to do this sbf flash on my mac then (OR UBUNTU) then that would be helpful. Everything is vague and I'm not going to try and figure this out on my own then brick my new droid x.
openbox9 said:
As a Mac user, I strongly recommend VirtualBox (or the virtualization software of your choosing) and an Ubuntu install. Then use sbf_flash. Works like a charm. Faster than RSDLite in Windwos and more reliable IMHO. You might be able to get sbf_flash to work with a Linux VM, but it wasn't worth the effort for me since I already had an Ubuntu VM.
Click to expand...
Click to collapse
As a Mac Genius ;-) I recommend just using the Mac without any emulator. sbf_flash works flawlessly running in native Mac, Just follow the instructions for Linux by making the script executable and then running with sudo command.
mdemps9190 said:
If SOMEONE could give me step by step instructions on how to do this sbf flash on my mac then (OR UBUNTU) then that would be helpful. Everything is vague and I'm not going to try and figure this out on my own then brick my new droid x.
Click to expand...
Click to collapse
Let's see ...
go find an sbf file; these aren't normally distributed to customers, you may have to search.
download sbf_flash
open a terminal and navigate to the directory where you've downloaded the above two files.
run "chmod +x sbf_flash" to set the program as executable
run "./sbf_flash filename.sbf" using the correct filename to start the reflash process.
connect the phone and perform whatever steps are required to boot the phone into the bootloader. (usually powering on while holding a key combo)
I'll leave it to someone else to spell out each one of those steps in agonizing detail. It's the exact same regardless of linux or mac.
Worst case is your battery dies in the middle of reflashing, and you're forced to buy an external charger to recharge the battery so you can restart the reflash.
How do I navigate to the folder in terminal?
cd is the change directory command in unix/terminal. I say put everything you need on the desktop that way its easy to navigate to it. If you google the DoRoot sequence you can follow those steps to navigate to your file, something like cd yourmacusername/desktop/filename if i remember correctly and then execute the file.
Sent from my DROIDX using XDA App
dplace said:
I recommend just using the Mac without any emulator. sbf_flash works flawlessly running in native Mac, Just follow the instructions for Linux by making the script executable and then running with sudo command.
Click to expand...
Click to collapse
Good to know. I already had an Ubuntu VM configured so I never bothered trying sbf_flash in OS X. Thanks for the tip.
FWIW, a virtual machine isn't an emulator

MTP, Mass Storage, Linux

So I have my Nexus 7. It ran fine when I was under Windows. Now that I'm back to running linux again (Arch Linux) the mass storage isn't working anymore. After a bit of reading around it's apparently because it using the MTP protocol which is a Microsoft based protocol. I understand that there are hacky libraries that I can install that may or may not make it work properly, but that's not what I want. I just want to be able to go back into mass storage mode like it used to be. I don't want to have to deal with some janky proprietary protocol when it isn't necessary. Is there any way to get back mass storage mode like the way it used to be, or are people over android 3.0 just S.O.L? Is there an option is CyanogenMod or is it something they may be working on at some point? The open standards, flexibility and freedom was the entire reason I chose to use android over ios in the first place.. this is really unfortunate.
Not trying to come off as an entitled twat, but this is really frusterating :/
I've never get it to work in Linux. I've tried updating MTP to the latest subversion/cvs and just couldn't get it to do anything.
I have to use adb to transfer anything!
On Ubuntu, I've managed to get it working with mtpfs and gMTP. Not sure how useful that is for Arch though...
rowanparker said:
I've never get it to work in Linux. I've tried updating MTP to the latest subversion/cvs and just couldn't get it to do anything.
I have to use adb to transfer anything!
Click to expand...
Click to collapse
This is what I do as well.
There are ways to get it working but they (for me) were a pain and for some reason yielded super slow transfers.
Sent from my Nexus 7 using Tapatalk 2
HawkiesZA said:
On Ubuntu, I've managed to get it working with mtpfs and gMTP. Not sure how useful that is for Arch though...
Click to expand...
Click to collapse
I use mtpfs and it works, ish.
The bigger the file, the longer it sits there after I use cp, and then after a bit [maybe 10 secs for 350MB file, much longer for bigger files], it will say something about preserving timestamps not being implemented, and it looks like it finished copying. But it has only just started. So I use du to see how big the file is, and for me I get around 14MB/s once it has started transferring. Not too shabby, but the overhead is ridiculous. I want mass storage mode too!
Hi!
I've made a little solution for mounting Nexus 7 to Linux pc.
Using mtpfs was laggy, don't know why, so I used similar tool, called go-mtpfs for that (project link) with some changes (see here).
Just untar attached archive, and run install.sh.
It uses udev to automatically mount and unmount device on plugging/unplugging. (no non-root unmounting though)
Checked on Ubuntu 12.04, but must work with others versions and distros, i guess.
thanks to everyone for your comments and responses. the way everyone is talking it seems really grim... are we really just stuck with trying to make mtp work? there's no way to have it go back into mass storage mode?
i even tried to mount my sd card in cwm and that didn't even work. later on i'm going to try installing twrp to see if that'll allow me to mount my drive properly.
well, neither cwm nor twrp allow me to mount the sdcard. i did a lot of scouring around and i think I may have found why it won't work in recovery either.
It's true that Galaxy Nexus doesn't support UMC because the sdcard is a subfolder of the data partition instead of independent, like in the Galaxy S2. But I was talking about OTG, it is mounting an usb pendrive to save cwm backups there.
Click to expand...
Click to collapse
http://forum.xda-developers.com/archive/index.php/t-1500008.html
i know this is a different device, but i don't see why it would be any different. i'm gunna start mixing and matching kernels with recoveries to see if i can make that work. and if i truly and honestly can't get it working in mass storage mode i'll just stick with adb push.
vpupkin said:
Hi!
I've made a little solution for mounting Nexus 7 to Linux pc.
Using mtpfs was laggy, don't know why, so I used similar tool, called go-mtpfs for that (project link) with some changes (see here).
Just untar attached archive, and run install.sh.
It uses udev to automatically mount and unmount device on plugging/unplugging. (no non-root unmounting though)
Checked on Ubuntu 12.04, but must work with others versions and distros, i guess.
Click to expand...
Click to collapse
Forgot to mention that you have to restart udev
I am finding it's just less hassle to use Airdroid.
gMTP is the only acceptable method I have found in linux but it seems to hang a lot for me.
I found gMTP to be very slow, appearing to hang at times. So I set up Samba and use ES File Explorer on the tablet to access my shared mount points. It's possibly not as fast as AirDroid but is an easy solution, though it means controlling everything from the Nexus 7.
--
Sent from my Nexus 7 using Tapatalk 2
I simply use adb. I was recently turned onto QtADB which is adb with a gui and some other cool features. I would highly recommended it.
I haz no sig
I use gMTP on ubuntu. I really don't have any complaints about it. It does act like it's hanging at times but I've always found it to recover just fine without any additional issues. It's not wicked fast but it does what I need. I often utilize samba and airdroid for specific uses but sometimes I find gMTP to be an easy wired based solution.
mentose457 said:
I simply use adb. I was recently turned onto QtADB which is adb with a gui and some other cool features. I would highly recommended it.
I haz no sig
Click to expand...
Click to collapse
+1000 for you. That solved all my problems working with my files and my android devices.
adb worked perfectly for me! Download the android SDK and then under platform-tools directory,
./adb push <local> <remote>
fgoyti said:
adb worked perfectly for me! Download the android SDK and then under platform-tools directory,
./adb push <local> <remote>
Click to expand...
Click to collapse
Yes but how fast (slow) does it transfer? 1MB/s?
Sent from my SCH-I500 using xda app-developers app
I transferred 500MB in 1-2 minutes. Sorry, didn't record anything more specific but even at 2 min, that works out to 4MB/s which ain't bad
As many have suggested, just read up on adb and use that. If you need to get something off the N7 and dont quite remember were it went to.. adb shell and cd to the sdcard and ls the dir. It'll print everything cd in to the next folder you think it may be in ls.. it'll show the contents. If you dont like having to put things into the android-sdk-linux/platform-tools and then having to cd into that dir everytime. Just add the platform-tools to your PATH and you can issue commands through any directory. It is very unfortunate that MTP leaves us Linux users in the dark.
Also, if you have a rooted kernel such as Siyah for the Galaxy S2, it lets you force mass storage mode. I haven't tested this but it looks like it should work for linux
ÜBER™ said:
As many have suggested, just read up on adb and use that. If you need to get something off the N7 and dont quite remember were it went to.. adb shell and cd to the sdcard and ls the dir. It'll print everything cd in to the next folder you think it may be in ls.. it'll show the contents. If you dont like having to put things into the android-sdk-linux/platform-tools and then having to cd into that dir everytime. Just add the platform-tools to your PATH and you can issue commands through any directory. It is very unfortunate that MTP leaves us Linux users in the dark.
Click to expand...
Click to collapse
Well, with some little configuration, it's not a big thing to configure MTP or even automount-MTP on Linux systems. A small introduction you can find in my blog http://anddisa.blogspot.de
Sent from my Nexus 7 using xda app-developers app

Android filesystem

I guess my Google-fu is weak...
When I connect my N7 to my win 7 box and check the properties in file manager, it says " generic hierarchical".
Is this some variant of Linux ext*?. If so, how is windows able to access it?
Inquiring minds want to know?
AdTHANKSvance.
Simeon
Sent from my Nexus 7 using Tapatalk 2
snevel said:
I guess my Google-fu is weak...
When I connect my N7 to my win 7 box and check the properties in file manager, it says " generic hierarchical".
Is this some variant of Linux ext*?. If so, how is windows able to access it?
Inquiring minds want to know?
AdTHANKSvance.
Simeon
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
The file system is ext4. Don't bother trying to mount it in Windows, use adb to shell to it instead. If you're just trying to copy files to and from user storage, it should work out of the box via MTP.
As he mentioned, it uses ext4, but it's presented to Windows through MTP (http://en.wikipedia.org/wiki/Media_Transfer_Protocol). Makes it easier for most people since they don't have to worry about file systems used, but it's slow as hell on larger files.
I prefer adb myself since it's a lot more flexible.
Einride said:
I prefer adb myself since it's a lot more flexible.
Click to expand...
Click to collapse
Can you tell me more about ADB (or point me to further information)?
ETA: my Google-fu was better for this question....
I found a lot of lot of God information online.
Simeon
Sent from my Nexus 7 using Tapatalk 2

Need help rooting on ubuntu

Hi, I've been having all sorts of problems trying to root/unlock with my windows7 PC. Another xda user even remoted into my computer and was unable to install the correct drivers.
I was able to unlock using a 13 year old xp PC, but when trying to unlock, the computer would freeze up every time.
Anyway, I've set up a dual boot system on my PC with win7 and unbuntu. I was hoping someone would be able to point me in the right direction to show me how to install the correct drivers in unbuntu (I'm a complete noob at it). Thanks in advance.
Sent from my Nexus 4 using xda app-developers app
Austin Ag06 said:
Hi, I've been having all sorts of problems trying to root/unlock with my windows7 PC. Another xda user even remoted into my computer and was unable to install the correct drivers.
I was able to unlock using a 13 year old xp PC, but when trying to unlock, the computer would freeze up every time.
Anyway, I've set up a dual boot system on my PC with win7 and unbuntu. I was hoping someone would be able to point me in the right direction to show me how to install the correct drivers in unbuntu (I'm a complete noob at it). Thanks in advance.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Do you have the android sdk installed? If you have no idea what that is then it is a no. If you don't then you will need to install it first.
Root
I upladed a package for you that that will automate the install process. You will have to put in the password you use to login and at one point.
To run the package, unzip the attachment to you desktop and open a terminal.
run:
Code:
cd ~/Desktop/root/
chmod a+x install_sdk.sh
chmod a+x root_nexus4.sh
./install_sdk.sh
You will have to choose which packages to install for the android sdk. A screen will popup in the middle of the install and give you options to select the packages. Check to "Tools" folder and continue. This link might help.
When this is finished run
Code:
./root_nexus4.sh
Thanks for the replies. I don't have the SDK installed. Do I need it to install the required drivers?
Sent from my Nexus 4 using xda app-developers app
Austin Ag06 said:
Thanks for the replies. I don't have the SDK installed. Do I need it to install the required drivers?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
There are no drivers to install like windows.
Post #62 in the thread below is a walk through for getting everything setup on Ubuntu 12.10
http://forum.xda-developers.com/showthread.php?p=19446284
Note: The java files have changed to version 7 so the commands in the walkthrough need to be changed to reflect this. ADB does not work without java installed. You also have to manually enter the Nexus 4 into the list of devices which is covered under the editing udev section of the post.
If your not familiar with Linux this isn't easy to get setup, Linux isn't windows that's for sure. You might be better served trying to use one of the toolkits to root your phone. I've used mskips toolkit without any problems.
http://forum.xda-developers.com/showthread.php?t=1995688
---------- Post added at 10:25 AM ---------- Previous post was at 09:59 AM ----------
Austin Ag06 said:
Hi, I've been having all sorts of problems trying to root/unlock with my windows7 PC. Another xda user even remoted into my computer and was unable to install the correct drivers.
I was able to unlock using a 13 year old xp PC, but when trying to unlock, the computer would freeze up every time.
Anyway, I've set up a dual boot system on my PC with win7 and unbuntu. I was hoping someone would be able to point me in the right direction to show me how to install the correct drivers in unbuntu (I'm a complete noob at it). Thanks in advance.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Do you have java installed properly in windows 7 and did you use the sdk manager to download and install the proper packages including the drivers?
http://developer.android.com/sdk/win-usb.html
Austin Ag06 said:
Thanks for the replies. I don't have the SDK installed. Do I need it to install the required drivers?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
In Ubuntu you do not need drivers. I attached a file that will automate the sdk install process. However, I did not include a java jdk installation. You will need that installed on ubuntu in order for the sdk to work. In the SDK there is a tool called "adb", and another called "fastboot". These two tools are what you will use to root your phone using ubuntu. If you absolutely need help installing the java jdk then let me know. Otherwise a google search "install java jdk ubuntu 12.04" should lead you to some good guides. NOTE: I am assuming you are using Ubuntu 12.04. Check which version you actually have.
Thanks for the links. I'll do some reading and try to get this set up tonight.
Austin Ag06 said:
Thanks for the links. I'll do some reading and try to get this set up tonight.
Click to expand...
Click to collapse
I just built an Ubuntu 12.10 box a couple weeks ago and followed the instructions in the link and it worked with no problems. Hardest part is setting up java as I had the instructions up on my windows pc and couldn't cut and paste the commands, the syntax has to be 100% correct or the command won't run and it was hard to judge where I needed to use spaces or not. This is the one thing I hate about Linux and that's having no executables to easily install things like java like there are in windows.

Categories

Resources