yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S II SGH-T989] dose8888:
pacman rom flash problem!!!!

I need some help here!!! I'm getting real frustrated trying to flash this pacman ROM....I keep getting stuck on the booting logo it just won't go through the logo...I guess its boot looped...I did everything right on installing it right...wipe/factory reset,flash ROM,flash gapps,reboot...even tried wiping/factory reset,wipe cache,install ROM,install gapps,wipe davlik,fix permissions n reboot...I even tried format system....I don't know what to do now...I have no problem flashing mr1 build 6 AOKP ROM,and one before that was mr1 build 5 AOKP...and also before that I had the cm10 ROM....can somebody help me out here...I really want to check this ROM out....do I need to update my CMW recovery cause I'm working with 5.0.2.6.....or do I need to flash it from my sdcard instead of my internal sdcard cause that's were I flashed the rest of my ROMs....I got the AOKP mr1 build 6 ROM now but like I said I really want to check out pacman ROM...somebody help if somebody can????
[T-Mobile Samsung Galaxy S II SGH-T989] thatdude02:
You need to use Dark side Super Wipe and Super Cache Wipe. Had the exact same issue and all you need is to use those two zips and flash them because the wipe scripts are broken on CWM v5.X.X.

You aren't doing anything wrong, the recovery is. Get those and you will be fine! :)
[T-Mobile Samsung Galaxy S II SGH-T989] krazierokz:
+1 @ thatdude - please do your self a favor and upgrade that CWM version you have the new ones work just wonders plus as ROMs get updated they use different updater script to flash them and that version works fine if you use those super wipe scripts but just update and no more of those problems
[T-Mobile Samsung Galaxy S II SGH-T989] zxstyle07:
Just remember not to use the dark side wipe after you updated your cwm, they break the recovery.
[Galaxy Note 10.1 Accessories] alf11211:
I look at amazon they have a backlit bluetooth keyboard but not a case combo...thank you in advance
[Galaxy Note 10.1 Accessories] alf11211:
I meant to say where can i purchase one..thanks :confused:
[Galaxy Note 10.1 Accessories] kdodd:
they're on ebay but problem i see with them is they come with usb to charge the keyboard and the note doesnt have that unless u use the adapter so it wont charge up as you go
[Nexus 4 Original 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 4 Original Android Development] eep2378:
Possible to use this on OSX(similar to linux)?
[Nexus 4 Original Android Development] tatelucas:
Not sure, try it and tell me if it works. :laugh:
[Nexus 4 Original Android Development] tatelucas:
If someone tried it please let me know if everything's OK.
[Nexus 4 Original Android Development] nocoast:
EVERYTHING WORKS GREAT :D AFTER BATTLING ROOT ALL NIGHT THIS THING WORKED in 2 seconds THANK YOU SO MUCH tatelucas! Now i can start devvin ;) Liquid rom for mako GO!
[Nexus 4 Original Android Development] jnewman1991:
Just used this. Excellent work. Tried using the standard adb way and just couldn't get the bootloader unlocked. Thank you so much for this!
[Nexus 4 Original Android Development] eighty1:
Can this be used for mac as well?

Edit I see this question has been posted. Awaiting confirmation.
[Nexus 4 Original Android Development] tatelucas:
No, I'm sorry it doesn't work on Mac. :(
[Nexus 4 Original Android Development] tatelucas:
That's great!!! I'm really happy to hear that. Please tell me which modes and options you tried. :good:
[Nexus 4 Original Android Development] oldarney:
N73G

Any news on making it work on the nexus 7 3G?

Otherwise it looks like a really good tool for all my Nexi.
[Nexus 4 Original Android Development] harpo1:
I tried the cwm way of unlocking and rooting my N4 and everything seemed to work fine. I did the method where I kept my stock recovery however I can't access it. If I use your tool and flash the stock image will this wipe everything on my device?
[Nexus 4 Original Android Development] tatelucas:
Yes, I'm sorry factory reset option will delete all data.
[Nexus 4 Original Android Development] harpo1:
So it will be just like it came to me from google? Locked and not rooted.
[Nexus 4 Original Android Development] tatelucas:
It will be just like it came from Google, but with unlocked bootloader. If you also want to lock the bootloader you have to run the lock bootloader option after running the Factory reset option.
[Nexus 4 Original Android Development] tatelucas:
Nexus 7 WiFi option should work for all options except for the factory reset option. Please do not flash the Nexus 7 WiFi factory image on your Nexus 7 3G.
[Nexus 4 Original Android Development] folkg:
What is the advantage to locking the bootloader once you are finished?

Also, not that it matters, but will your phone stop receiving OTA updates if you root it?
[Nexus 4 Original Android Development] USSENTERNCC1701E:
It will only stop getting OTA if you replace recovery, you will still get the notice, it just won't install
[Nexus 4 Original Android Development] aSquard:
After rooting using the toolkit, my phone sticks at the 'Google' screen but won't boot into Recovery. Should I try the process again?
[Nexus 4 Original Android Development] tatelucas:
Try again using Manual Mode instead of Auto Mode. Please let me know if everything's OK.
[Nexus 4 Original Android Development] aSquard:
Thanks, I got everything working finally. Had to put the stock recovery again for some reason, and start over. This phone is awesome!!

Sent from Inque and XDA Premium
[Nexus 4 Original Android Development] harpo1:
Just for peoples info this Toolkit doesn't install busybox. At least it didn't for me. I looked in the SU.zip and it's not in there so I'll assume it's not part of the process. Anyway not a complaint just an FYI for anyone using this method. By the way great Toolkit for us linux users.
[Nexus 4 Original Android Development] MXIIA:
Do you know where we can find the udev lines for the Nexus 4?

This hangs at <waiting for device> unless the fastboot/recovery udev line is in.

Something to add in the future would be automatically updating the /etc/udev/rules.d/*-android.rules file

We can find the parameters we need with

udevadm monitor --environment -- udev

while the device is in the mode it needs to be in.

I found some good/working Nexus 7 lines.

# Google Nexus 4
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee0", MODE="0666" # Bootloader
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="d001", MODE="0666" # Recovery

SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee5", MODE="0666" #PTP media
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee6", MODE="0666" #PTP media with USB debug on

SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee1", MODE="0666" #MTP media
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee2", MODE="0666" #MTP media with USB debug on

# Google Nexus 7
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e40", MODE="0666" # Bootloader
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="d001", MODE="0666" # Recovery

SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e43", MODE="0666" # PTP media
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e44", MODE="0666" # PTP media with USB debug on

SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e41", MODE="0666" # MTP media
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e42", MODE="0666" # MTP media with USB debug on

http://bernaerts.dyndns.org/linux/247-ubuntu-automount-nexus7-mtp

I can make Nexus 4 lines tomorrow if the demand is here. I have an exam today so I don't have time to do it right now.

EDIT: ADDED

PM me if you want help, I think I can contribute to this project. I'd also like to correct the grammar with your permission, as English isn't your native language.

Also, where are you downloading the recovery files from? I flashed my Nexus 7 with the touch recovery and it was version 6.0.1.0, the latest off of clockworkmod's site is 6.0.1.9

EDIT: https://code.google.com/p/galaxy-nexus-linux-toolkit/downloads/list

It seems you have files hosted yourself that contain the recovery.img, and su.zip files but you download the factory files from google. Why don't you download the recovery files from http://www.clockworkmod.com/rommanager?

I think you could do some sort of javascript code to get the version number from this page and then use simple bash scripting to download the file

They're uniformly named which should make it easier.
[Nexus 4 Original Android Development] platinumxo:
where do u get 32bit binaries for my 64bit kubuntu 12.10?

Sent via G2x mokee OS
[Nexus 4 Original Android Development] stinkytoes:
will this script work if ADB and fastboot are not installed?

Hi there,

Just wondering if this will work without ADB and fastboot installed - I expect it does but it is not mentioned in the first post.

I don't have my N4 yet but am eagerly waiting for the chance to order it. :)
[Nexus 4 Original Android Development] MXIIA:
It does not need adb or fastboot preinstalled. It has the files for them in the download file.

Sent from my Nexus 7
[Nexus 4 Original Android Development] stinkytoes:
That is cool - Now all I need to do is buy my nexus 4 :)
[Nexus 4 Original Android Development] famewolf:
Any chance of adding TWRP to the list of supported recoveries?

http://xdaforums.com/showthread.php?t=2002326
[Nexus 4 Original Android Development] dorqus:
Just wanted to add that this works fine for me on my Mac I just had to replace the Linux versions of adb and fastboot with the Mac versions.

I can write an update to detect the base os and use the proper versions if it's OK with the op.
[Nexus 4 Original Android Development] tatelucas:
Maybe in the future, but not now. I'm really busy with final exams.

That's awesomeeeee!!! Thanks for reporting!!!!! :good: :laugh:
[Nexus 4 Original Android Development] dorqus:
Been kind of busy, but will see if I can get you something by the end of the weekend w/support for MacOS on it.
[Nexus 4 Original Android Development] MXIIA:
# Google Nexus 4
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee0", MODE="0666" # Bootloader
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="d001", MODE="0666" # Recovery

SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee5", MODE="0666" #PTP media
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee6", MODE="0666" #PTP media with USB debug on

SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee1", MODE="0666" #MTP media
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee2", MODE="0666" #MTP media with USB debug on

# Google Nexus 7
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e40", MODE="0666" # Bootloader
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="d001", MODE="0666" # Recovery

SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e43", MODE="0666" # PTP media
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e44", MODE="0666" # PTP media with USB debug on

SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e41", MODE="0666" # MTP media
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e42", MODE="0666" # MTP media with USB debug on

These are all the udev lines needed for the Nexus 4 and Nexus 7 (I used the 16 GB variety of each)

/etc/udev/rules.d/51-android.rules (the 51 can be any number)
[Nexus 4 Original Android Development] FloMi:
My N4 wont do anything but booting into fastboot - nothing more is happening..

Any ideas whats the problem?

Flo

/E

the terminal says:

"

< waiting for device >

...

"

nothing happening.

All udev rules added
[Nexus 4 Original Android Development] tatelucas:
Please note that you won't be able to install factory image on your Nexus 4 because Google pulls the image out of their servers. You will have to wait until they upload it again.
[Nexus 4 Original Android Development] aelole:
hi

i am getting my nexus 4 tomorrow and preparing my pc to unlock and root it.just want to ask how can i determine that my nexus 4 is mako or whatever?

after unlocking and rooting can i install whatever custom rom i want or there are limits?
[Nexus 4 Original Android Development] MXIIA:
Mako is one of the codenames for the Nexus 4. (along with occam)

All Nexus 4s at the current time are Mako. I believe Mako is the name of the hardware while occam is the software. (I may have them backwards)

After you root and unlock you can install whatever custom rom you want. There is no limit.

I'd advise that you be careful using this toolkit to root, as some people have had problems with it. (read through this thread a bit)

Using it to unlock is working because it's a very simple command to unlock.

Plug device into computer and enable ADB on device then

adb reboot fastboot
fastboot oem unlock
[Nexus 4 Original Android Development] thevoiceless:
Thank you for this.

I was trying to unlock my bootloader myself; I rebooted into fastboot mode and tried to run "fastboot oem unlock", but for some reason my phone wasn't recognized (nothing listed after running "fastboot devices"). I don't know what your script does differently, but it worked for me.
[Nexus 4 Original Android Development] thevoiceless:
Alright, so this worked for unlocking the bootloader but it won't work for flashing CWM. This is the output:

< waiting for device >
sending 'recovery' (7626 KB)...
OKAY [ 0.479s]
writing 'recovery'...
OKAY [ 0.454s]
finished. total time: 0.934s
rebooting...

finished. total time: 0.001s

It finishes instantly, the device reboots, and nothing changes. I still have the stock recovery.

I've tried rebooting to the bootloader using "adb reboot bootloader", which works, but then I'm back to my original issue of fastboot always "waiting for device". Any suggestions?
[Nexus 4 Original Android Development] MrBC:
Got my N4 last night and used this. Worked great for me. I had a little issue when it came to flashing CWM using auto. After switching to Manual it worked and no problems finishing it off.

Thanks so much for this. Makes rooting simple and easy. Plus, it is nice to keep around should anything go wrong :)
[Nexus 4 Original Android Development] Rushing:
Just awesome, thank you :D
[Nexus 4 Original Android Development] ThunderWolf78:
The recovery image the toolkit downloads doesn't work, it's borked somehow and won't flash properly. I had the same problem myself but solved it by fastboot flash recovery recovery.img instead, the trick is that adb must be started as root and fastboot also must be run with su privileges, either using sudo or by su... Hope this helps.

ps -a | grep adb

And then kill - 9 for the corresponding pid's

su

adb - restart

Connect phone and type the fastboot sequence... These steps were which I took, forgive me if I've forgotten something on the way but this should get you started. Which Linux distribution do you run?

I don't know the exact Web address for it, but rommanager.com or something like that or Google twrp2 and download either cwm or twrp 2.3.3.0

Tapatalked from my h4x0r3d up Mako.
[Nexus 4 Original Android Development] tatelucas:
Updated to 2.1.0
[Nexus 4 Original Android Development] kon_fil:
I'm trying to root my N4 and always get the same message

no command

after step 3, never able to boot in recovery . I'm running Linux Mint 13. Any ideas?
[Nexus 4 Original Android Development] Milltach:
After using this tool and unlocking the bootloader all the userfiles and apps are gone :/
[Nexus 4 Original Android Development] MrBC:
Re: [LINUX] Universal Nexus Linux Toolkit v2.1.0 (Unlock, Lock, Root, CWM, Factory Re

That's what happens when you unlock the bootloader.
[Nexus 4 Original Android Development] Milltach:
Well, this explains the problem :D, it's working well on Ubuntu.

Funny thing that Ubuntu alone is not able to recognize the Nexus 4, but the tool is able to finde the device.
[Nexus 4 Original Android Development] MrBC:
Re: [LINUX] Universal Nexus Linux Toolkit v2.1.0 (Unlock, Lock, Root, CWM, Factory Re

It's just something you get used too. Hopefully you did not lose anything important. However you will remember when you get your next Nexus.
[Nexus 4 Original Android Development] stinkytoes:
I was having trouble using the toolkit - but I managed to fix it - I was running an old linux mint 11 distro and previously had adb and fastboot installed (a relic from when I unlocked my nexus S way back in the day) - this seemed to mess with the CWM flash process on my shiny new N4. I solved it by using another machine with a more recent install of mint 13 and running it in manual mode - worked a treat.

Just adding my 2 cents - I guess it is my fault for using an unsupported linux distro
[Nexus 4 Original Android Development] MrBC:
Re: [LINUX] Universal Nexus Linux Toolkit v2.1.0 (Unlock, Lock, Root, CWM, Factory Re

Since the factory image is back up on the server any idea why the the toolkit is not pulling it down when you try and restore to stock?
[Nexus 4 Original Android Development] tatelucas:
I have just updated the links in the source. Please run again unltlauncher.sh and the toolkit will automatically download the new update and you will be able to flash Google factory image on your Nexus 4. Please let me know if everything works fine. Greetings from Buenos Aires, Argentina.
[Nexus 4 Original Android Development] MrBC:
Re: [LINUX] Universal Nexus Linux Toolkit v2.1.0 (Unlock, Lock, Root, CWM, Factory Re

No where near a pc right now but I will go it a go later tonight when I get home. Thanks man :)

UPDATE: Works like a dream, thanks so much.
[Nexus 4 Original Android Development] JanusDC:
I just rooted my N4 with this script. I did the first 3 steps

1. Unlock the Bootloader
2. Flash ClockworkMod Recovery
3. Root the Device

and everything worked as expected (in the last step it took a bit with the image of the Android bot open and an exclamation mark, which made me crazy since I thought something went wrong, but then it continued and booted without problems.

Do I need to do the last steps?

4. Lock the Bootloader
5. Flash Google Factory Image

I mean. Flash the Google Factory Image is to get the original software (which I guess will continue to be rooted), but why would I lock the bootloader again?

Edit I have installed MyBackup Root and it says that my device is not rooted. How do you know the rooting worked? (appart from an app telling it)

Edit++I finally completed the 3rd step manually, following this video http://www.youtube.com/watch?v=VfmulWBobTQ

I don't know if there is something wrong in the script, or maybe the SuperSu doesn't download for some reason or so.

I still want to know what would be the advantage of Locking the Bootloader again and Flashing the Google Factory Image.

Cheers.
[Nexus 4 Original Android Development] tatelucas:
Flashing Google Factory Image will restore your phone back to first use and you will lose all your data. If you lock the bootloader you will be UN-Rooted again. For testing if you're root, you can install Android Terminal Emulator from Play Store, open it and run the command "su", SuperSU will show a pop up asking if you want to give Terminal Emulator Super User permissions. If you accept and the terminal shows a "#" you're rooted.
[Nexus 4 Original Android Development] JanusDC:
Thank you tatelucas. Now I have root, but I had to do it by hand. The 3rd step of the script rebooted the phone in an state that shows the android bot open with a red exclamation mark over its chest. Eventually it comes back to life an booted again without having rooted it.
[Nexus 4 Original Android Development] tatelucas:
Strange :(. Next time try using Manual Mode instead of Automatic Mode.
[Nexus 4 Original Android Development] stinkytoes:
This happened to me as well, the auto method was the problem (and an outdated linux mint 11 install):

What I did was switched to a different PC running a current linux install (latest linux mint I think), and I ran the script in manual mode (ie set the phone to the bootloader and let it flash CWM).

Another thing to check is the location of the CWM recovery image - I am not sure if the script had some trouble locating the image after I downloaded it - I think I had some other files in the directory that it downloaded CWM to in the first place - so try deleting all files in the scripts download location.

Hope that is helpful.
[Nexus 4 Original Android Development] JanusDC:
Re: [LINUX] Universal Nexus Linux Toolkit v2.1.0 (Unlock, Lock, Root, CWM, Factory Re

Well, I'm on a fully updated Arch Linux, so I don't think it is related. I didn't try with manual mode, maybe that would have solved the problem.

I have another question (sorry I am new at this). OTA updates will be done now that I have rooted it? And what if I install another ROM?
[Nexus 4 Original Android Development] Rogoshin:
I get the error: Device offline, and that it is waiting for the device. I plugged my phone in with the usb cable, am i missing some drivers or something?

Sorry fixed it myself
[Nexus 4 Original Android Development] Rogoshin:
Sv: [LINUX] Universal Nexus Linux Toolkit v2.1.0 (Unlock, Lock, Root, CWM, Factory Re

I am now stock at trying to root the phone. I am using Ubuntu 12.10, and when the phone tries to reboot from root, I just get a droid with a red triangle. When the phone reboots there is no root. When you try supersu it says there is no root.

Sendt fra min Nexus 7 med Tapatalk2