[ROOT[RECOVERY] Loki + TWRP + Motochopper CASUAL-R527b release:27May13

AdamOutler

Retired Senior Recognized Developer
Feb 18, 2011
5,224
9,808
0
Miami, Fl̨̞̲̟̦̀̈̃͛҃҅͟orida
Windows 8 and XP users...
Please try the latest version (R575+)here: http://goo.im/devs/AdamOutler . I am Insta-Building a version of CASUAL for testing the issues with Windows8 and XP. It will be available shortly.

I don't have an XP or 8 machine so I really need the log from the R575-InstaBuild.jar file from this site http://goo.im/devs/AdamOutler

If you are experiencing problems, I've made some changes which may allow CASUAL to work, and if not, we should be able to tell where it's failing at. So, if you have a problem, please try it. If you'd like to help us out, please try it. EIther way, if it works or not, we need the log

To get the log:
Press Ctrl+L>Pastebin. Fill out the Captcha. Then post the link here.
 
Last edited:
  • Like
Reactions: ALLDAT

gaguzman

Member
Jun 10, 2007
12
1
0
Thanks to dineshh:

Settings> More> About Device.> Tap 'Build No. 7 times, and Developer options is enabled.

For the marginally proficient like myself, you might want to add this tidbit so the developer options and usb debugging can be activated. It works on my ATT S4 and then the rooting a snap. This group of devs ROCK !
Sent from my SAMSUNG-SGH-I337 using xda premium
 

ThePublisher

Senior Member
Apr 4, 2013
245
37
0
North Carolina
Like Rooting Magic

Worked just great, no issues at all. Let drivers install, plug in phone, listen to the cool audio ques and ROOT. I didn't do anything but this, and I don't have the custom status (lock on boot) at all. I saw it one time and since then it's gone away, but I have full root access. Must just be lucky?
 

8mileroad

Senior Member
Nov 5, 2011
136
17
0
Huge thanks for making rooting + installing recovery so easy for the casual user. Almost nothing like this ever goes without a hitch for me, this is definitely a first.
 

TheEmpyre

Senior Member
Sep 23, 2012
502
69
0
Everything went without a hitch for me as well. Thank you for the development of this great tool for casual users!

Sent from my SAMSUNG-SGH-I337 using Tapatalk 2
 
G

GuestX0019

Guest
Thanks Adam--this looks great--:)

I told myself I wasn't rooting anymore once I got this phone. After over 3.5 years of it I wanted a break.

Guess I was wrong--will root and install TWRP which I am use to.

2 questions:

1. After being only rooted with recovery--no custom roms--is anyone seeing any performance or functional degradation/loss of any features?

2. Are you guys deleting install-recovery in System/etc before running this



Thanks
 
Last edited:
G

GuestX0019

Guest
Successfully rooted and installed twrp. The only thing I had to do was install KIES. Thank you!
Do I need Keis for this. I didn't install it as it interferes with Android File Transfer

I copy/paste what ever files I want to bu so didn't think it was needed for anything--
 

s4shyam95

Senior Member
Jan 11, 2012
159
67
0
Mumbai
Can some one help ?

I have OpenJDK 6 as well as 7 installed on my ubuntu 12.04LTS single boot laptop.
Here is what i get :-

Code:
[email protected]:~$ cd Downloads
[email protected]:~/Downloads$ java -jar casual.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: CASUAL/CASUALApp : Unsupported major.minor version 51.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
	at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: CASUAL.CASUALApp. Program will exit.
[email protected]:~/Downloads$
*FYI - i renamed the jar file to casual.jar.


-GS4 i337 (ATT)
 
G

GuestX0019

Guest
You dont need kies

also, i had to google how to enable usb debugging, lol.
Don't feel bad, no one knew how to do it till someone told them or they too Googled it--:)

Yeah, didn't think I did. Also, even though I am on an iMac, I have a PC available if I need Odin. Or, just push or copy a flashable zip stock rom to sdcard if I screw anything up. Haven't looked but assume one is available.
 
Last edited:

AdamOutler

Retired Senior Recognized Developer
Feb 18, 2011
5,224
9,808
0
Miami, Fl̨̞̲̟̦̀̈̃͛҃҅͟orida
I have OpenJDK 6 as well as 7 installed on my ubuntu 12.04LTS single boot laptop.
Here is what i get :-

Code:
[email protected]:~$ cd Downloads
[email protected]:~/Downloads$ java -jar casual.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: CASUAL/CASUALApp : Unsupported major.minor version 51.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
	at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: CASUAL.CASUALApp. Program will exit.
[email protected]:~/Downloads$
*FYI - i renamed the jar file to casual.jar.


-GS4 i337 (ATT)
You're launching with an old version of Java. instead of
Code:
Exception in thread "main" java.lang.UnsupportedClassVersionError:
They really should say "Java attempted to launch this app with API Level 47, but 51 is needed to run this application. A Java update is required."

Developers using the latest copies of Java are penalized by users thinking that they downloaded bad code with an exception in the main method.
 

s4shyam95

Senior Member
Jan 11, 2012
159
67
0
Mumbai
Thanks Adam :D
That was a lame error, i didnt know that ti was compiled with 51.0..
Based on your explanation i wrote a small guide to avoid this kind of error for other linux users who face this problem.
Thanks a lot again !




I have OpenJDK 6 as well as 7 installed on my ubuntu 12.04LTS single boot laptop.
Here is what i get :-

Code:
[email protected]:~$ cd Downloads
[email protected]:~/Downloads$ java -jar casual.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: CASUAL/CASUALApp : Unsupported major.minor version 51.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
	at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: CASUAL.CASUALApp. Program will exit.
[email protected]:~/Downloads$
*FYI - i renamed the jar file to casual.jar.


-GS4 i337 (ATT)
Fixed this, incase any one else got this error, u can update your alternatives of your java runtime to 7, with su permissions.
What i have learnt is that the jar was compiled with 1.7 (51.0) and i was trying to execute it with java 1.6(50.0) , so the version it is compiled with should be same as the one you execute it, or may be a higher version from what it is compiled with ..
So you can fix this with :-
Code:
sudo update-alternatives --config java
and then we can set it to the correct java version, 1.7 in this case.


EXTRA:- in case you have compiled it by ur self u can also change your compiler version to match ur java version
by doing this :

Code:
sudo update-alternatives --config javac
and change your compiler version to match your java version.
you can check your compiler or java version by doing this

Code:
java -version
javac -version
Thank if i helped :D
 
Last edited:

AdamOutler

Retired Senior Recognized Developer
Feb 18, 2011
5,224
9,808
0
Miami, Fl̨̞̲̟̦̀̈̃͛҃҅͟orida
I have OpenJDK 6 as well as 7 installed on my ubuntu 12.04LTS single boot laptop.
Here is what i get :-

Code:
[email protected]:~$ cd Downloads
[email protected]:~/Downloads$ java -jar casual.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: CASUAL/CASUALApp : Unsupported major.minor version 51.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
	at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: CASUAL.CASUALApp. Program will exit.
[email protected]:~/Downloads$
*FYI - i renamed the jar file to casual.jar.


-GS4 i337 (ATT)
I just submitted a bug report to Oracle about this. This is really a horrible way to handle command line launching of unexpected versions.
 

s4shyam95

Senior Member
Jan 11, 2012
159
67
0
Mumbai
I just submitted a bug report to Oracle about this. This is really a horrible way to handle command line launching of unexpected versions.
True that,
Thanks for the bug report :)
Some one had to tell them ,
The first time i saw the error, i had no clue that it might be about the compiler-java version mismatch !
 

Reinaldo33897

Senior Member
Jul 11, 2011
1,321
564
0
Atlanta
Awesome!!! worked beautifully. Just had to istall drivers from samsung for the S4 in order for it to connect. It did reboot but into recovery so I rebooted system then it asked to intall supersu so I hit install. Runing like a charm.