[Samsung Galaxy Nexus] MystaMax:
Did not work for me

This isn't working properly on windows 7 (32-bit, w/ Java 7) or Ubuntu 12.04 (64-bit, open-jre6 or open-jre7).

Ubuntu java version on last attempt:

java version "1.7.0_03"

OpenJDK Runtime Environment (IcedTea7 2.1.1pre) (7~u3-2.1.1~pre1-1ubuntu3)

OpenJDK 64-Bit Server VM (build 22.0-b10, mixed mode)

Ubuntu Errors

commandline output when launching (device not connected):

Created Folder:/tmp/TempCASUALC5385A97/
Control Change requested but Statics.MasterLock is set.
This CASUAL package contains a method to root and install busybox for the i9250 Galaxy Nexus. This package uses a root exploit so there is no need to wipe your data when rooting. Your device must be in Development Mode.
1. Choose Galaxy Nexus Root option first
2. Install the Busybox
3. Install the proper recovery for your device
4. Use recovery to backup your device before installing ROMs
*Important note* Choose the proper CWM recovery for your device.

This CASUAL package contains a method to root and install busybox for the i9250 Galaxy Nexus. This package uses a root exploit so there is no need to wipe your data when rooting. Your device must be in Development Mode.
1. Choose Galaxy Nexus Root option first
2. Install the Busybox
3. Install the proper recovery for your device
4. Use recovery to backup your device before installing ROMs
*Important note* Choose the proper CWM recovery for your device.

Deploying ADB
Found Linux Computer
Attempting to write /tmp/TempCASUALC5385A97/adb
File verified.
Setting executable /tmp/TempCASUALC5385A97/adb. Result=true
Attempting to write /tmp/TempCASUALC5385A97/adb_usb.ini
File verified.

###executing: /tmp/TempCASUALC5385A97/adb###
arrayToString [Ljava.lang.String;@2eee572c expanded to: /tmp/TempCASUALC5385A97/adb devices
Problem while executing /tmp/TempCASUALC5385A97/adb devices in Shell.sendShellCommand() Received
Device List:CritERROR!!!
Searching for scripts
null
Picking Jar File:/maxData/maxHome/Downloads/GalaxyNexusRoot-Busybox-CWM-Unlock.jar
Found: Galaxy Nexus root versions 4.0.1 and 4.0.2
Found: Install Busybox
Found: Install Galaxy Nexus GSM CWM Recovery
Found: Install Galaxy Nexus CDMA CWM Recovery
Found: Galaxy Nexus Unlock GSM
Found: Galaxy Nexus Lock GSM
From Resource: true

--Galaxy Nexus root versions 4.0.1 and 4.0.2--

--Galaxy Nexus root versions 4.0.1 and 4.0.2--
This will root your Galaxy Nexus on version 4.0.1 or 4.0.2. it will not work on 4.0.4. All credits due to efrant: http://xdaforums.com/showthread.php?t=1531865

This will root your Galaxy Nexus on version 4.0.1 or 4.0.2. it will not work on 4.0.4. All credits due to efrant: http://xdaforums.com/showthread.php?t=1531865

Extracting archive....
Unzipping Superuser.apk
Unzipping su
Unzipping mempodroid
Unzipping rootGN.sh
Exiting comboBoxUpdate()
State Change Detected, The new state is: 1
State Connected
Controls Enabled status: true

Before I even plug my phone up, it says link status ready, device connected. This does not happen on windows.

I plug my device up, click "Do It", and here is what the terminal spits out:

Script Activated
Script known as Galaxy Nexus root versions 4.0.1 and 4.0.2 is running
Controls Enabled status: false
Selected resourceGalaxy Nexus root versions 4.0.1 and 4.0.2
Lines in Script 31
Executing Scripted Datastreamjava.io.DataInputStream@4b96fac5
CASUAL has initiated a multithreaded execution environment
Controls Enabled status: true
Reading datastreamjava.io.DataInputStream@4b96fac5
SCRIPT COMMAND:$ECHO Pushing Mempodroid exploit
Received ECHO command$ECHO Pushing Mempodroid exploit
Removing leading space.
Pushing Mempodroid exploit
Pushing Mempodroid exploit
SCRIPT COMMAND:push "$ZIPFILEmempodroid" /data/local/tmp/mempodroid
Expanded $ZIPFILE: push "/tmp/TempCASUAL2B7B4ACF/Galaxy Nexus root versions 4.0.1 and 4.0.2/mempodroid" /data/local/tmp/mempodroid
Error: [Ljava.lang.Object; cannot be cast to [Ljava.lang.String;

It just hangs with the above... I'm not even sure what it is suppose to say or do when it succeeds. After I close the java app, the terminal spits out:

###executing: /tmp/TempCASUAL54787E77/adb###
arrayToString [Ljava.lang.String;@335ac93d expanded to: /tmp/TempCASUAL54787E77/adb kill-server
Problem while executing /tmp/TempCASUAL54787E77/adb kill-server in Shell.sendShellCommand() Received

Actually, if I choose any option from the drop down menu, be it, Install Galaxy Nexus CDMA CWM Recovery, Install Busybox, or Galaxy Nexus Root, then click "Do It", the terminal says,

Error: [Ljava.lang.Object; cannot be cast to [Ljava.lang.String;

Windows 7

On Windows, it does not state link status and device connected before anything is connected, good start. I connect the device & run the java app from the commandline.

This is from launching the java app from powershell:

PS C:\Users\max\Downloads> java -jar .\GalaxyNexusRoot-Busybox-CWM-Unlock.jar
Created Folder:C:\Users\max\AppData\Local\Temp\maxTEMPCASUAL31D369D5\
Control Change requested but Statics.MasterLock is set.
This CASUAL package contains a method to root and install busybox for the i9250 Galaxy Nexus. This package uses a root e
xploit so there is no need to wipe your data when rooting. Your device must be in Development Mode.
1. Choose Galaxy Nexus Root option first
2. Install the Busybox
3. Install the proper recovery for your device
4. Use recovery to backup your device before installing ROMs
*Important note* Choose the proper CWM recovery for your device.

This CASUAL package contains a method to root and install busybox for the i9250 Galaxy Nexus. This package uses a root e
xploit so there is no need to wipe your data when rooting. Your device must be in Development Mode.
1. Choose Galaxy Nexus Root option first
2. Install the Busybox
3. Install the proper recovery for your device
4. Use recovery to backup your device before installing ROMs
*Important note* Choose the proper CWM recovery for your device.

Deploying ADB
Found Windows Computer
Attempting to write C:\Users\max\AppData\Local\Temp\maxTEMPCASUAL31D369D5\Elevate.exe
File verified.
Attempting to write C:\Users\max\AppData\Local\Temp\maxTEMPCASUAL31D369D5\adb.exe
File verified.
Attempting to write C:\Users\max\AppData\Local\Temp\maxTEMPCASUAL31D369D5\AdbWinApi.dll
File verified.
Attempting to write C:\Users\max\AppData\Local\Temp\maxTEMPCASUAL31D369D5\AdbWinUsbApi.dll
File verified.
Attempting to write C:\Users\max\AppData\Local\Temp\maxTEMPCASUAL31D369D5\adb_usb.ini
File verified.

###executing: C:\Users\max\AppData\Local\Temp\maxTEMPCASUAL31D369D5\adb.exe###
Device List:
List of devices attached
016B65AF0C013017 device

Searching for scripts
null
Picking Jar File:/C:/Users/max/Downloads/GalaxyNexusRoot-Busybox-CWM-Unlock.jar
Found: Galaxy Nexus root versions 4.0.1 and 4.0.2
Found: Install Busybox
Found: Install Galaxy Nexus GSM CWM Recovery
Found: Install Galaxy Nexus CDMA CWM Recovery
Found: Galaxy Nexus Unlock GSM
Found: Galaxy Nexus Lock GSM
From Resource: true

--Galaxy Nexus root versions 4.0.1 and 4.0.2--

--Galaxy Nexus root versions 4.0.1 and 4.0.2--
This will root your Galaxy Nexus on version 4.0.1 or 4.0.2. it will not work on 4.0.4. All credits due to efrant: http:
//xdaforums.com/showthread.php?t=1531865

This will root your Galaxy Nexus on version 4.0.1 or 4.0.2. it will not work on 4.0.4. All credits due to efrant: http:
//xdaforums.com/showthread.php?t=1531865

Extracting archive....
Unzipping Superuser.apk
Unzipping su
Unzipping mempodroid
Unzipping rootGN.sh
Exiting comboBoxUpdate()
State Change Detected, The new state is: 1
State Connected
Controls Enabled status: true

This after clicking "DO IT" on windows:

Script Activated
Script known as Galaxy Nexus root versions 4.0.1 and 4.0.2 is running
Controls Enabled status: false
Selected resourceGalaxy Nexus root versions 4.0.1 and 4.0.2
Lines in Script 31
Executing Scripted Datastreamjava.io.DataInputStream@19bd1ca
CASUAL has initiated a multithreaded execution environment
Controls Enabled status: true
Reading datastreamjava.io.DataInputStream@19bd1ca
SCRIPT COMMAND:$ECHO Pushing Mempodroid exploit
Received ECHO command$ECHO Pushing Mempodroid exploit
Removing leading space.
Pushing Mempodroid exploit
Pushing Mempodroid exploit
SCRIPT COMMAND:push "$ZIPFILEmempodroid" /data/local/tmp/mempodroid
Expanded $ZIPFILE: push "C:\Users\max\AppData\Local\Temp\maxTEMPCASUAL31D369D5\Galaxy Nexus root versions 4.0.1 and 4.0.
2\mempodroid" /data/local/tmp/mempodroid

The above just sits there, hanging. So, when I close the app, Here is the commandline output:

###executing: C:\Users\max\AppData\Local\Temp\maxTEMPCASUAL31D369D5\adb.exe###

COMMAND TESTC:\Users\max\AppData\Local\Temp\maxTEMPCASUAL31D369D5\adb.exe push "C:\Users\max\AppData\Local\Temp\maxTEMPC
ASUAL31D369D5\Galaxy Nexus root versions 4.0.1 and 4.0.2\mempodroid" /data/local/tmp/mempodroid

SCRIPT COMMAND:$ECHO Pushing Switch User binary
COMMAND TESTC:\Users\max\AppData\Local\Temp\maxTEMPCASUAL31D369D5\adb.exe push "C:\Users\max\AppData\Local\Temp\maxTEMPC
ASUAL31D369D5\Galaxy Nexus root versions 4.0.1 and 4.0.2\mempodroid" /data/local/tmp/mempodroid
Received ECHO command$ECHO Pushing Switch User binary
SCRIPT COMMAND:$ECHO Pushing Switch User binary
Received ECHO command$ECHO Pushing Switch User binary
Removing leading space.
Removing leading space.
Pushing Switch User binary
Pushing Switch User binary
Pushing Switch User binary
Pushing Switch User binary
SCRIPT COMMAND:push "$ZIPFILEsu" /data/local/tmp/su
SCRIPT COMMAND:push "$ZIPFILEsu" /data/local/tmp/su
Expanded $ZIPFILE: push "C:\Users\max\AppData\Local\Temp\maxTEMPCASUAL31D369D5\Galaxy Nexus root versions 4.0.1 and 4.0.
2\su" /data/local/tmp/su
Expanded $ZIPFILE: push "C:\Users\max\AppData\Local\Temp\maxTEMPCASUAL31D369D5\Galaxy Nexus root versions 4.0.1 and 4.0.
2\su" /data/local/tmp/su

I had ADB installed on another PC, so I just following the instructions on this forum post: http://goo.gl/GRmsS. This worked flawlessly. Now, I'm rooted, and already flashed clockworkmod recovery. Probably will flash AOKP later tonight.

I hope the above helps make this app better, its a great tool for novices, but did not work for me. I'm not sure how much testing I can do now that I'm rooted. Any more feedback I can provide, just ask and I will :)