yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] theodor.machnich:
Hi all,

I downloaded the script tu my Linux Mint 13 (ubuntu 12.04), when I try to root my device I god the following error, pleas not I use on my machine gvfs-mtp.

Root the device

Before starting the process your device must be in Android Debugging Mode.
In the following instructions you will learn how to do it:

1. Power on your device and connect the device to your PC via USB.
2. Go to 'Settings' >> 'Developer options', turn ON the switch,
and check 'USB debugging'. You're now in Android Debugging Mode!
Note: If you're running Android 4.2 or above, first go to
'Settings' >> 'About phone' and tap 7 times on 'Build number'.
3. Do you want to start the process? [Y/N]: Y

4. Wait for automatically reboot in Recovery Mode.
5. Go to 'install zip from sdcard' >> 'choose zip from sdcard' >> 'UNLT'
and choose 'su.zip'.
6. Go to 'Go back' >> 'reboot system now'.
error: device not found
error: device not found
error: device not found

Press ENTER to return to the main menu...

My Device is a Nexus 4 with the newsts android 4.2.2

I rootet my device bevore under Windows and this works fine, but after the update the root is fare away.

How can I solve this problem, will this new rooting process delete my apps and all the datas on the device and set back to factory...point. etc...

Thanks for help Theo
[Nexus 4 Original Android Development] yeahdat:
Re: [LINUX] Universal Nexus Linux Toolkit v2.1.0 (Unlock, Lock, Root, CWM, Factory Re

Sorry if I missed this but does this work on Windows 7 32 bit
[Nexus 4 Original Android Development] ddz334:
Re: [LINUX] Universal Nexus Linux Toolkit v2.1.0 (Unlock, Lock, Root, CWM, Factory Re

Can we download the zip files to respective folders and run the tool kit.

It's OK if you have no time to hit thanks button

visit http://bijopaul.blogspot.in
[Nexus 4 Original Android Development] ToledoG28:
No. This is linux. There is a windows version. Im sure you can find it with no problems. There is a sticky on general with a huge mako directory.
[Nexus 4 Original Android Development] :
I already have the image stock. I can just throw in the pasta factory, and have them proceed with the installation image stock or tookit will still download the Google server?
[Nexus 4 Original Android Development] :
I have gone all stock with this toolkit and locked my bootloader also.

I tried and tried many ROMs and felt that its time to go stock. There is no problem with the process and it goes without a flaw.

However I want to ask few things. Anyone on stock got the new play store update? I am not getting it. Got a bunch of updates for other google apps but not the play store.

This is my about phone screenshot. I think i have gone to stock properly. If anyone had any input please share it :)
[Nexus 4 Original Android Development] fiskenigaten:
It's only officially available in some countries I think. :^/
[Nexus 4 Original Android Development] butler360:
I needed lib32-ncurses on Arch x64.
[Nexus 4 Original Android Development] tory13579:
Worked like a charm unlocking/rooting/flashing my Girlfriends N4 in 13.04. I used "fastboot oem unlock" to unlock the bootloader though :D

spoke to soon... SuperSU is removed when ROM is flashed... Unlike my N4 where I have permanent root... Guess I will have to install windows on a machine and use another toolkit to get permanent root.
[Nexus 4 Original Android Development] DroidBois:
I'm about to root my stock Nexus 4 (Google direct, un-modified) because Vanilla Android seems lacking in many ways compared to something like Cyanogen... any tips or warnings or advice before I do?

I would prefer to run on Linux to avoid having to screw around with drivers and other crap on Windows.. Linux just seems to be so much more simple and streamlined for this type of thing... Is this the script to use? I'll do the usual backup of everything before I do.

Similarly for my Nexus 10, once I root this I think I'll do the same with my tablet...

If anything being able to customise Quick Tiles is a big bonus and not have to hook up my Linux based phone, via Windows to use this crappy Media Transfer Protocol thing that really is just beyond crappy - why can't we just keep things simple and working??? WTF Google?? Don't be another Apple!

I can't even quick type contact names from the phone keypad?? WTF?? Anyway... I'm sure Google have reasons for trying to behave like Apple and just lock everything down and make it all complicated and difficult to use. I'm sure some 'focus group' suggested that would be an amazing idea.

Anyway, I'm hoping Cyanogen can once more simplify and streamline my life. I just want my phone to work reliably and quickly, and not feel pushed in any direction or other by some marketing focus group or some marketing deal signed with some company somewhere.

Bring on Cyanogen.

I'm running Linux Mint - 64 bit perhaps - so I have to download some libraries? Or would I be better off just running some proven-to-work Linux live CD?

How do I know if my Nexus 4 and 10 models are supported?
[Nexus 4 Original Android Development] DroidBois:
Apologies for the bump all. I really would prefer to use Linux than Windows to root my Nexus 4 and Nexus 10 if I can for reliability and simplicity. I just can't be bothered screwing around with Windows drivers and possible issues. Linux just always seems to work so much easier for pretty much everything, especially talking to a Linux based phone like Android.

And MTP is and all the other c()p is just driving me completely insane.

I just need to know, is the right toolkit to use? Is the best option still a Windows based tool? Or could this work perfectly well still? I just need to be sure I'm using the current / correct version at least.

Thanks!! You're all the best, seriously, you all just rock.
[Nexus 4 Original Android Development] dbellonate:
I have used this toolkit and also installed adb/fastboot via terminal. I have had no issues unlocking/rooting/flashing my N4, this toolkit is complete. Give it a go :)
[Nexus 4 Original Android Development] DroidBois:
Ah cool I will then. I wasn't sure if this was still 'supported' or not so I purchased the Windows toolkit pro version... all good... The dev's here deserve support anyway..

Does it automatically pull down the latest versions of everything like recovery, busybox etc?

Cheers..
[Nexus 4 Original Android Development] dbellonate:
Seems to.
[Nexus 4 Original Android Development] RanceJustice:
Thank you for creating a Linux toolkit! If it truly pulls down the newest possible variants of superuser/SuperSU, busybox and more, then that's fantastic. I'd like to request the ability to pull down/update and give the option to install the TWRP recovery in addition to CWM, if at all possible. Thanks. I hope to see this Linux toolkit expand to have as many features as WugFresh's (who makes an excellent, easy to use, but alas Windows only at the moment - perhaps you and/or the Linux community could work with him to port it over?). Thanks again!
[Nexus 4 Original Android Development] tatelucas:
Updated to latest factory images, superSU and CWM recoveries.
[Nexus 4 Original Android Development] marathone:
Well donate if you want things done!
[Nexus 4 Original Android Development] sid21:
This toolkit is awesome for me as im a more of a linux user

but i ask that can you add the sideload function of zip if i want to format whole system and data etc?

thanks for the kit, i love it

keep up the good work
[Nexus 4 Original Android Development] tatelucas:
Added MAC OSX compatibility!!! :laugh:
[Nexus 4 Original Android Development] tatelucas:
Ok I will try to add this feature in the future. Now I'm busy with college. Thanks for downloading!!
[Nexus 4 Original Android Development] Gary.M:
Is this tested with Galaxy Nexus on stock 4.3?
[Nexus 4 Original Android Development] bogdan_wrc:
any compatibility with 2013 nexus 7?
[Nexus 4 Original Android Development] tatelucas:
I will add compatibility this week.
[Nexus 4 Original Android Development] famewolf:
Any chance to have option to do a twrp backup to pc via script? This option is available in the windows toolkits but I primarily use linux.
[Nexus 4 Original Android Development] bogdan_wrc:
any compatibility added? :)

thank you for your effort.
[Nexus 4 Original Android Development] tatelucas:
I added compatibility last week. Please run the launcher and you will get the latest update with the new nexus 7 option. Please let me know how it worked!
[Nexus 4 Original Android Development] Splaktar:
I'd like to see TWRP added as a recovery option. The OP only lists CWM as an option.

I bet people would be interested in helping out with the code too if it was on GitHub.
[Nexus 4 Original Android Development] bogdan_wrc:
updated :) 2013 appeared between options.

thank you. i will try it full in a couple of days.
[Nexus 4 Original Android Development] plasticarmyman:
anyone get this wortking on Linux Mint 15?...it just won't find the device when it's on the bootloader...
[Nexus 4 Original Android Development] dadaz007:
+1 for TWRP.

Thanks for this tools
[Nexus 4 Original Android Development] skedone:
i have same issue on linux mint 15 to reboots to bootloader but does not find device
[Nexus 4 Original Android Development] MrBC:
Working fine for me on Mint 15
[Nexus 4 Original Android Development] samuelrf:
does this works on Ubuntu 12.04? and for android 4.3 on nexus 4? (hope upgrade for 4.4 kit kat when it's out) :)
[Nexus 4 Original Android Development] samuelrf:
when 4.4 images will be out, will this toolkit get an update for them?
[Nexus 4 Original Android Development] MrBC:
I'm sure they will be updated. You could at least wait for the images to be released
[Nexus 4 Original Android Development] tatelucas:
Updated toolkit to version 2.4.0. Now supports Nexus 5, and TWRP Recovery. Google Factory Images updated too.
[Nexus 4 Original Android Development] tory13579:
Worked perfectly on Debian after a bit of work!

What you need to do:

If on Wheezy you will need to add Jessie or Sid repo to /etc/apt/sources.list (if you are on Jessie or Sid you can skip this)

deb http://ftp.us.debian.org/debian unstable main contrib non-free

Then

sudo apt-get update

And

sudo apt-get install android-tools-fastboot

Once done you can comment out or remove that repo and apt-get update again.

Next, create a udev rule with your favorite editor (I use nano)

First we need the device ID

lsusb

Bus 003 Device 007: ID [B][I][COLOR="Red"]18d1[/COLOR][/I][/B]:4ee1 Google Inc. Nexus 4

the red letters above are what we will focus on (***Yours may be different!!!***)

Now type the below command, you can use any file name as long as it is in ##-filename.rules format.

sudo nano /etc/udev/rules.d/99-android.rules

and add the below line to the file

# Nexus
SUBSYSTEM=="usb", ATTR{idVendor}=="[B][I][COLOR="Red"]18d1[/COLOR][/I][/B]", MODE="0666", OWNER="[COLOR="Magenta"][B]your-login[/B][/COLOR]"

"your-login" will be your username, and the "idVendor}==" line will be the device ID from above.

Save that file and restart udev or reboot your machine (what I do).

sudo service udev restart

You should now see a mounted drive in the file manager that will take you to your Nexus!

:D
[Nexus 4 Original Android Development] ThunderBBR:
Is It working for KOT49H Nexus4 4.4.2 on Mac? Thanks
[Nexus 4 Original Android Development] primski:
does this not work on 5.1.1 anymore ? can't get it right ... it flashed the TWRP recovery and unlocked bootloader, but it won't root it.... is there a specific adb version i need for this?

thanks.
[Android Apps and Games] saiz136:
Hi guys, saw this on Pulse News and just want to share the new version of Play Store.

Just install this like an ordinary app, that works for me. :thumbup:

http://db.tt/9N1hbedw

Don't forget to say thanks if helped you! :

Sent from my Prada 3.0 CM9 Nightly
[Android Apps and Games] sharingan92:
Ok im not being a smartass but have you ever tried searching?

This was posted two days ago

http://xdaforums.com/showthread.php?p=34243799

This is old news and i bet most of xda already has this including myself so for future reference and to save yourself some embarrassment please search before posting
[Android Apps and Games] Daniel Dumile:
Thanks op
[Android Apps and Games] saiz136:
Oh I'm sorry if it was already posted, believe me I used search, but didn't saw the first post though. :(

Sent from Prada 3.0 CM9 Nightly
[Android Apps and Games] sharingan92:
See link i added to my post but be prepared for this to be locked by mod as another member done the same and his thread is now locked
[Sprint Samsung Galaxy Note II] UpsideDownAce:
So I was trying to transfer over some files to my Galaxy Note 2. Every time I tried to, I got an "Error Device is not connected or no longer responding" I don't know what's wrong. I can copy files from my phone to my computer fine. But from the computer to the phone gives me the error. Help?
[Sprint Samsung Galaxy Note II] russds:
Same problem here, but using tmobile nexus 2 T889. Haven't found any solution to it yet.
[Nexus 10 Android Development] tatelucas:
Universal Nexus Linux Toolkit v2.3.0

NOW COMPATIBLE WITH MAC OSX!!!

Universal Nexus Linux Toolkit is a bash script based program that offers an easy way

to do all you need to do before flashing a custom ROM on your Nexus device.

It works with:

1. Nexus 4 [mako]

2. Nexus 10 [manta]

3. Nexus 7 (WiFi) [grouper]

4. Nexus 7 (GSM) [tilapia]

5. Galaxy Nexus (GSM) [maguro]

6. Galaxy Nexus (Verizon) [toro]

7. Galaxy Nexus (Sprint) [toroplus]

8. Nexus S (worldwide version, i9020t and i9023) [crespo]

9. Nexus S (850MHz version, i9020a) [crespo]

10. Nexus S (Korea version, m200) [crespo]

11. Nexus S 4G (d720) [crespo4g]

With this toolkit you will be able to:

- Unlock the bootloader.

- Flash CWM recovery (Standard or Touch).

- Root the phone.

- Lock the bootloader.

- Flash Google Factory Image. (Not available for Sprint Galaxy Nexus)

DOWNLOAD IT FOR LINUX HERE

DOWNLOAD IT FOR MAC OSX HERE

Galaxy Nexus Linux Toolkit is Open Source! See the CODE

HOW TO EXECUTE:

Please extract the .tgz in the place you want, for example in /home/user

Open a terminal and type the following:

>user@linuxormac: cd "THE PATH WHERE IS THE unltlauncher.sh FILE"

>user@linuxormac: bash ./unltlauncher.sh

If you extract it in /home/user/unlt, the path to the .sh must be /home/user/unlt

so you have to type:

>user@linuxormac: cd /home/user/unlt

>user@linuxormac: bash ./unltlauncher.sh

Note: If you're running on a 64 bits OS, please install 32 bits libraries. If you're running on Linux and you didn't configure UDEV rules for your device, please run the script with superuser permissions (sudo bash unltlauncher.sh)

Here are some SCREENSHOTS::good:

I hope you will find it useful! :laugh:

P.S. Sorry for my English. I'm from Argentina!
[Nexus 10 Android Development] tatelucas:
NOTE FOR THOSE WHO DOWNLOAD unlt200.sh instead of the actual unlt201.sh: Please download unlt201.sh because the toolkit will not work on Nexus 10 if you are running unlt200.sh. The new version has the new CWM recovery.
[Nexus 10 Android Development] thcaddict:
Is there anyway this can be used with windows? I am not familiar with Linux but I've been looking around for a windows version of the nexus 10 toolkit
[Nexus 10 Android Development] Komodo Rogue:
I'm wondering this too. I know that virtual machines can be touchy, especially when USB interfaces are involved, so I don't want to try that. Maybe a regular live DVD, or we could use the Wubi installer for ubuntu? I don't know if it's possible to install 32 bit libraries on a live DVD... but I guess I can just download a 32 bit ubuntu image if I go that route (if I can find a blank DVD somewhere!)
[Nexus 10 Android Development] tatelucas:
As Komodo said, a virtual machine is not recommended for running programs which involve USB interfaces.

Try running Ubuntu from a 32 bits Live CD. But I really recommend to have a Linux OS on hard drive.
[Nexus 10 Android Development] fham:
There does exist a Toolkit that peforms the same functions as this one but it is meant solely for the Galaxy Nexus. It works on Win xp, Vista, 7 (both 32 and 64 bit versions). I have used the Win 7 64 bit to unlock and root my GNex.

Check my signature for the link to mskip's GNex Toolkit. mskip is an incredibly helpful person, maybe you guys can persuade him to alter his Toolkit to mirror tatelucas' [OP] Toolkit functionality.

As far as Linux is concerned, I am an old history prof. who has learnt linux myself. It is by far the easiest OS to get into but requires patience to learn the command line structure. I run Mint Maya on an old Windows xp box (secondary machine) to tool around Linux and it functions much better than the OS it originally came with.

Good luck.

I am going to try this on a friend's Nexus S (crespo) on Mint Maya and will report back. It should work as Mint takes off of Ubuntu.
[Nexus 10 Android Development] thcaddict:
has anyone confirmed this to work on Linux? or does it still need to be tested? Im running Ubuntu live cd right now because i wanted to try it, but because i am not familiar at all with linux, i wiould really prefer not to be the guinea pig.
[Nexus 10 Android Development] newellj79:
Well, if the 32gb variety ever comes into stock again somewhere I'll be using this... :(
[Nexus 10 Android Development] vowywowy:
Got to the part where you choose automatic or manual and then it does nothing... I press a then enter and nothing happens.
[Nexus 10 Android Development] tatelucas:
Case Sensitive :p
[Nexus 10 Android Development] gnustomp:
This would work on all distros, unless something really bad is in the script.
[Nexus 10 Android Development] notfaded1:
NEXUS 10 TOOLKIT V1.0.0] Drivers, Backup, Unlock, Root, Flash, Mods + MUCH MORE

FOR WINDOWS

This is what you're going to want as soon as the bugs are worked out all the way:

http://xdaforums.com/showthread.php?t=2001868

Thanks if it helps :^}
[Nexus 10 Android Development] newellj79:
I'm pleased to report that every function of this worked great for me in Ubuntu.
[Nexus 10 Android Development] wryun:
Will running this script wipe my device?

I have all apps and media in their places and would like to avoid the setup again.
[Nexus 10 Android Development] newellj79:
This script does multiple things depending on what options you select. Unlocking does wipe a device. The only other option here that does, I beleive, is flashing the factory image.
[Nexus 10 Android Development] wryun:
Thanks for the info. Sounds like the same process as with the Galaxy Nexus.
[Nexus 10 Android Development] tatelucas:
Thanks for letting me know!! I'm really happy to hear that!! :good:
[Nexus 10 Android Development] tpayne1:
DELETED
[Nexus 10 Android Development] Imaulle:
everything is working great in Ubuntu!! any chance for a factory/stock 4.2 for toro though?
[Nexus 10 Android Development] sufehmi:
Failed on Nexus 7, android 4.2.1

Hi, just to let you know that this fails on my Nexus 7 (groupee) which has been upgraded OTA to 4.2.1 (not sure if this is a contributing factor though)

When I try debug it, it's clear that it fails to flash the CMW.

FYI, I was finally able to root my Nexus 7 using this : http://www.androidng.com/root-nexus-10-on-windows-osx-linux - I know, it's for Nexus 10, but amazingly, it works with my Nexus 7 too :D

Hope you find it useful.

cheers,

Harry
[Nexus 10 Android Development] mmhama2:
So I just unlocked the bootloader on my nexus 10 with this tool and my device isn't booting.... just sitting on the boot animation forever. Any advice/help would be greatly appreciated.

***edit*** So I got this problem fixed. If I had to guess I would say that after unlocking the bootloader the factory reset that is run doesn't wipe well enough. I used this http://xdaforums.com/showpost.php?p=34188192&postcount=32 as the fix and my N10 booted right back up.
[Nexus 10 Android Development] vwvanman:
Hi, I'm having trouble with this. I'm running Kubuntu 12.04 trying to root a Nexus 10, ran the script and unlocked the boot loader. Now the device boot loops. I can force it to boot into recovery, so flashed ClockworkMod and then did a factory reset and fixed permissions and wiped the cashes (just in case) but the device still boot loops.

Any ideas anyone?

Thanks in advance
[Nexus 10 Android Development] newellj79:
Try the factory reset option in recovery. Had the same problem and that got me squared away.
[Nexus 10 Android Development] vwvanman:
Found these instructions which solved the problem (thanks to WugFresh)

If you were to bootloop after an unlock, the procedure would just be to factory reset. Once you unlock, the only way to relock is to run the fastboot oem lock command explicitly or use the toolkits OEM lock button. A factory reset only wipes user data and cache and resets system settings to default.

If you were to bootloop after an unlock, you would first power down; hold the power button until your device turned off. Then you would turn it back on while holding both volume buttons at the same time (so the power button and both the up and down volume buttons)... this will bring you into bootloader mode, where you will see a big green START. Use the volume buttons a few times to turn that big green START to the red RECOVERY. Select recovery by using the power button once, then you will see an android on its back with an exclamation mark.

Once you see that screen (which is the pre-screen to stock recovery), just short press all three buttons (both volume buttons and the power button) at the same time to bring up the stock recovery menu. There you will see an option to factory reset, which you can highlight with the volume button, and select with the power button.

So..

1. Unlock

2. Power down

3. Boot back up with all three buttons

4. Select "Recovery"

5. Short press all three buttons to see the stock recovery menu

6. Perform a factory reset

Then just let it boot back up
[Nexus 10 Android Development] tman7510:
port to galaxy note 2

I love that the community has a toolkit for Linux. I also would like to have a toolkit for the galaxy note 2. Is there any way this can be done? I will donate to have a version. There is already a windows version but would like to use Linux with my note 2

Thanks :cowboy:
[Nexus 10 Android Development] tatelucas:
I will try to do it, but I don't guarantee nothing. Please wait 2 weeks. I finish my final exams last week and now with Christmas and New Year Eve I will not be able to work on it. Hope you will understand. :good:
[Nexus 10 Android Development] newellj79:
Yes, I could really use a Linux based version for the sprint galaxy note 2.
[Nexus 10 Android Development] KlaymenDK:
Be cautious!

Last time I rooted a phone, it was the Desire Z which of course had a replaceable SD card. Doing a factory reset on such a device left the SD card (and, thus, "/sdcard") intact.

For the Nexus 4, this thing resets EVERYTHING on internal memory -- including "/sdcard" and the holiday photos etc...! And it even does so from the very first step, unlocking the boot loader (I mention this because it does not seem obvious, in contrast to when flashing a new ROM).

It's been a long time since I last lost data, but there it is. You might want to include this warning on the front page, so nobody else needs to lose more data than they are aware of.

By the way - Nexus 4 users - use the NEWER software in this other thread! I had problems with the software here ("unlt201.tgz"), resulting in a broken recovery, but with the newer software ("unlt202.tgz") it sailed right through. :D
[Nexus 10 Android Development] tatelucas:
Updated to 2.1.0
[Nexus 10 Android Development] Tesla67:
Re: [LINUX] Universal Nexus Linux Toolkit v2.1.0 (Unlock, Lock, Root, CWM, Factory Re

Heyyy I was wondering if it is only unlocking that caused the requirement of a factory reset. I already unlocked mine and had to reset and don't feel like having to download nova again -.- so....... am I going to have to reset if I root or is it only with unlocking?
[Nexus 10 Android Development] Tesla67:
Re: [LINUX] Universal Nexus Linux Toolkit v2.1.0 (Unlock, Lock, Root, CWM, Factory Re

Does not work using stock recovery there is no install from SD selection. So if I flash cwm am I going to lose everything? Or am I missing something?