yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S 4 Android Development] plwalsh88:
He doesn't have an auto-loki twrp. No one does. It doesn't exist. He misspoke earlier.

---------- Post added at 09:30 PM ---------- Previous post was at 09:26 PM ----------

No it doesn't. But OUDHS CWM auto-loki's kernels while TWRP requires pre-loki'd kernels.
[AT&T Samsung Galaxy S 4 Android Development] jrollercoasters:
But from what I understand adam made it, so twrp auto lokis just like cwm

Sent from my PC36100 using Xparent Skyblue Tapatalk 2
[AT&T Samsung Galaxy S 4 Android Development] GuySmiles:
Hi, I just wanted to confirm.. just in case.. that this also works on the Canadian models? I'm on Telus.
[AT&T Samsung Galaxy S 4 Android Development] bvm1228:
Error

Everytime I try to do it, it says: " Error: more than one device and emulator". Can someone help me out?
[AT&T Samsung Galaxy S 4 Android Development] GuySmiles:
Alright, I jumped the gun and tested it out on my Canadian S4... looks like it rooted my phone but it aborted itself before installing recovery. Thanks for the device protection, phew!

I'm on Telus SGH-1337m
[AT&T Samsung Galaxy S 4 Android Development] AdamOutler:
You've got more than one device connected. probly an emulator or a second device, or maybe an adb wireless device.

Yep, that's how CASUAL does it. If it thinks there's a problem, it will abort. :)
[AT&T Samsung Galaxy S 4 Android Development] JoJo2211:
http://pastebin.com/sCGW9t3a
[AT&T Samsung Galaxy S 4 Android Development] orlandoxpolice:
I gotcha dude. I was just curious. Thanks again for all your work!
[AT&T Samsung Galaxy S 4 Android Development] JoJo2211:
I can't get this to work. I have Samsung drivers 1.5.5.0 installed, phone put into USB debugging mode with USB cable connected and when I press do it, it says:

'A critical error was encoutered. Please copy the log from About>Show Log and report this issue

This is not for your device, halting.

done

Script Complete

'

What's going on? I've uploaded it to pastebin (link above).
[AT&T Samsung Galaxy S 4 Android Development] alacrify:
I'd say you don't have java (or current version). And I would put the stuff in something like C:\i337, not down in your user tree. Fix those two, or Adam will correct me :)
[AT&T Samsung Galaxy S 4 Android Development] JoJo2211:
I have the latest Java 7 update 21 and I also putt in C drive but same error.

EDIT:

Okay never mind. For some reason I wasn't getting the allow usb debug pop up message when I connected the phone. I got it now and I allowed it so now everything is good. Thanks
[AT&T Samsung Galaxy S 4 Android Development] scott14719:
N/m
[AT&T Samsung Galaxy S 4 Android Development] JoJo2211:
Nope, phone is completely stock. I just never got the pop up message about allowing USB debug from this computer. Once I allowed it it ran.
[AT&T Samsung Galaxy S 4 Android Development] igotroot:
"AT&T Software update V42_1_1303_5_1"

If I understand you correctly.....(and I may very well not), you are looking for the name of the Update APK, meaning the name of the APK that is in the S4 from at&t that downloads and updats the OTA..in my phone its called "AT&T Software update V42_1_1303_5_1"

I can see it w/ Titanium Backup. Whenever I get the OTA offer I clear the cache and force close the apk.
[AT&T Samsung Galaxy S 4 Android Development] pachi72:
Well root it my phone...thanks alot to Adam and Dan..

GUYS PLEASE HELP ME OUT...When I went to Recovery and restart the phone is tells me:

Rom may Flash to Stock recovery on boot. Fix..THIS CANNOT BE UNDONE.

-No

- Yes - Disable Recovery Flash-

-No

++++Go Back+++++...does this mean the phone will try to revert back?

Well just Google it..then YES I disable it..Sorry for all the question..should of just searched Google.
[AT&T Samsung Galaxy S 4 Android Development] freeza:
is it possible to " convert" an at&t s4 to tmobile by flashing tmobiles bootloader to it?
[AT&T Samsung Galaxy S 4 Android Development] marcelcabrerajr:
hi adam,

i apologize in advance as im confused with the whole "bootloader unlocking."

I had the GS3 and Galaxy Note 2 and was able to use odin and install TWRP and flash roms just fine.

With all these stories of the "bootloader locked"..what negative affect does it have while flashing roms? If the bootloader is locked, am I NOT able to flash roms?

Also.. does CASUAL "unlock the bootloader?" If a bootloader is not locked, will I not be able to flash roms?

Lastly.. i sold my PC.. will this work on my laptop? Google Chromebook?

any help is much appreciated. thank you!! :)
[AT&T Samsung Galaxy S 4 Android Development] idle0095:
allset i should now be able to flash AOKP right? Located here http://xdaforums.com/showthread.php?t=2293162
[AT&T Samsung Galaxy S 4 Android Development] AdamOutler:
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.
[AT&T Samsung Galaxy S 4 Android Development] TheEmpyre:
Edit: Wasn't important
[AT&T Samsung Galaxy S 4 Android Development] gaguzman:
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 !
[AT&T Samsung Galaxy S 4 Android Development] ThePublisher:
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?
[AT&T Samsung Galaxy S 4 Android Development] 8mileroad:
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.
[AT&T Samsung Galaxy S 4 Android Development] TheEmpyre:
Everything went without a hitch for me as well. Thank you for the development of this great tool for casual users!
[AT&T Samsung Galaxy S 4 Android Development] seggerman5926:
Got the Java worked out...Done in 30 seconds.

Thanks a ton AdamOutler....Your the mann....oh that one guy....or guys....thanks everybody!!!!!

P.S. ubuntu 12.04 64bit
[AT&T Samsung Galaxy S 4 Android Development] gyasih:
Anyone having ExtSD mounting problems after using this tool?
[AT&T Samsung Galaxy S 4 Android Development] :
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
[AT&T Samsung Galaxy S 4 Android Development] :
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--
[AT&T Samsung Galaxy S 4 Android Development] orlandoxpolice:
You dont need kies

also, i had to google how to enable usb debugging, lol.
[AT&T Samsung Galaxy S 4 Android Development] s4shyam95:
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 :-

shyam@shyam-VPCEB490X:~$ cd Downloads
shyam@shyam-VPCEB490X:~/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.
shyam@shyam-VPCEB490X:~/Downloads$

*FYI - i renamed the jar file to casual.jar.

-GS4 i337 (ATT)
[AT&T Samsung Galaxy S 4 Android Development] :
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.
[AT&T Samsung Galaxy S 4 Android Development] AdamOutler:
You're launching with an old version of Java. instead of

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.
[AT&T Samsung Galaxy S 4 Android Development] s4shyam95:
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 !

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 :-

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 :

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

java -version
javac -version

Thank if i helped :D
[AT&T Samsung Galaxy S 4 Android Development] AdamOutler:
I just submitted a bug report to Oracle about this. This is really a horrible way to handle command line launching of unexpected versions.
[AT&T Samsung Galaxy S 4 Android Development] s4shyam95:
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 !
[AT&T Samsung Galaxy S 4 Android Development] rahsaanabdul:
Worked like a charm. Thanks a million!
[AT&T Samsung Galaxy S 4 Android Development] Reinaldo33897:
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.
[AT&T Samsung Galaxy S 4 Android Development] :
Adam

Gonna flash the latest nightly but a question--

Am on an iMac, you said in OP Mac is the easiest, but in video you mentioned it was for Windows and Mac was a little different, unless I misunderstood.

Can I just run Casual as you did in video, will have to delete install_recovery after I guess. Since I need root to do that, unless exploit does it--didn't see anyone mention that

Will deal with Loki stuff when I get to that point as I am use to and like the twrp interface, prefer it as my recovery. nothing against cwm--just preference

Thanks Again

Well, disregard already ran Casual now backing up apps with TiBu then a Nandroid, Thanks Adam--:)

Very slow TiBu backup compared to mey One S--does TWRP still need tweaking--?

Do I still need to uninstall install_recovery.sh

Ken
[AT&T Samsung Galaxy S 4 Android Development] seanpr123:
I can't believe how quick and easy this was.

I had not yet visited these forums (coming from S3), spent maybe 10min doing research.

Home from store with S4: 5PM

Download Casual, setup phone, boom done: 5:15PM

Currently creating a backup, then wiping and installing Mint Jelly.

This rocks!
[AT&T Samsung Galaxy S 4 Android Development] seanpr123:
Hmm, just had a strange issue, not sure if ROM or something deeper.

Had just setup Mint, configuring things my way and everything was great. Left phone and came back to a black screen that just said Samsung with an opened lock below it.

Had to force restart but things seem stable now.

Any thoughts? Quite confused...
[AT&T Samsung Galaxy S 4 Android Development] seanpr123:
Ok, so things randomly got worse... Much worse.

Here's the screen I was referring to. http://goo.gl/q5HDC

Things seemed to be working great and now I can't even boot into my ROM.

Can still boot TWRP and Download, tried wiping all datas and reinstalling with no luck.

Literally phone was fine at dinner, came home plugged in, restarted and black screen. Earlier I had seen the black before but a reboot had resolved, now immediately on boot I see it.

Help? Downloading an odin stock to see if that helps, any other input by chance?
[AT&T Samsung Galaxy S 4 Android Development] Minpao:
hi i recently bought a galaxy s4 from Claro and is i337m model and i want to know if this root works with my s4.
[AT&T Samsung Galaxy S 4 Android Development] Reinaldo33897:
Wouldn't that be somethimg you should be asking at the Mint rom forum. I dont think it has anything to do with Casual.
[AT&T Samsung Galaxy S 4 Android Development] Minpao:
Sorry mint rom forum?
[AT&T Samsung Galaxy S 4 Android Development] AdamOutler:
Whatever ROM you're running ask there. If you you're running stock, go back to stock. Then back here.

If you have problems running CASUAL tonight, disconnect from the Internet and run it again

I'm revising the way CASUAL parses it's metadata. This involves taking the CASUAL Update System and revising it. You may experience problems when working with CASUAL until you update to the latest CASUAL. I'm going to release another version tomorrow.
[AT&T Samsung Galaxy S 4 Android Development] Minpao:
i am running stock i just want to root it.
[AT&T Samsung Galaxy S 4 Android Development] icedmayhem:
Can't do backups as data records as being over 26gigs? Umm at a lose right now. Tried different recoveries too,

Sent from my Galaxy
[AT&T Samsung Galaxy S 4 Android Development] plwalsh88:
He was talking to the guy above you who is running Mint.

---------- Post added at 01:23 AM ---------- Previous post was at 01:21 AM ----------

This isn't a miscellaneous issue thread. That has nothing to do with this topic.
[AT&T Samsung Galaxy S 4 Android Development] Fluffster:
Tried but got Failed

http://pastebin.com/raF28ktN

That is the pastebin for the log..

Seems to be complaining about adb server is out of date.. Which is wierd since I updated my SDK.. But the logs also shows that it is using it's own ADB so I am at a lose for what is wrong. Good news is didn't brick my phone or really change anything.. Just didn't do anything really.

Any help would be great..

Thanks

UPDATE: I was able to run this off my laptop with no issues. So clearly it is something with how I installed the SDK on my main machine causing this issue. Don't know what that is..
[AT&T Samsung Galaxy S 4 Android Development] pachi72:
Is there a CMW version where I can mount SD Card/USB? I got v1.0.3.4.
[AT&T Samsung Galaxy S 4 Android Development] AdamOutler:
It sounds like you've got something attempting to run it's own ADB. stop trying to run ADB.
[AT&T Samsung Galaxy S 4 Android Development] freonchill:
Adam,

worked great from winxp

used casual revision 630

winXP sp3

java Version 7 Update 21

samsung usb driver v1.5.14.0

log if you want to check anything out

http://pastebin.com/hvaC3c5g

couple of notes:

1. when getting started - it had to do the fingerprint when i first connected and started; then wanted me to disconnect and reconnect before i could start the script. after i did that - it ran great

2. i was following the guide from http://xdaforums.com/showthread.php?t=2314494

step 3 said to do an EFS backup in TWRP; since it booted into TWRP after finishing Casual; i did it. before rebooting; it said that root was broken and do i want to fix. i searched and didnt see anyone here having that problem; so i chose no. i rebooted and root works - so i dont know what the TWRP root not done was all about; thought i would mention it...

thanks again for making rooting the s4 so easy.
[AT&T Samsung Galaxy S 4 Android Development] joshuadjohnson22:
is there a way to update this to work with the Galaxy S4 Active? It runs and says it is not for you device (of course)
[AT&T Samsung Galaxy S 4 Android Development] s8freak:
Adam, just a quick thank you it took me about 5 minutes to root my s4 and 4 minutes of that was figuring I didn't have correct drivers. Awesome job man:thumbup::thumbup::D

"Yer on the edge of the map Mate here there be monster's"
[AT&T Samsung Galaxy S 4 Android Development] sgndroid1:
Maaannnn, I was excited about the Actice, and the firmwares are diffetent. So, XDA support would be more likely slower and smaller like the old Note. I guess I'll go for the regular S4.
[AT&T Samsung Galaxy S 4 Android Development] sannin:
I setup my ATT Galaxy S4 for this method.1) Installed kies 2)USB debug 3) phone connected so I pressed do it. It went through the process up until reboot ok. Pressed reboot OK button. It went into stock recovery with the recovery error logo. I chose reboot system and the phone started up fine. Tried to load SuperSU but it didn't run. Phone isn't rooted either.

In trying to figure out what was wrong, I forgot to do the pastebin method. The last thing I remember on the CASUAL screen was supersu not found or something similar. You can consider me new to this stuff. Any input is appreciated. Sorry if its some obvious error on my part.

Info on system: Java is up to date on laptop. Running Windows 7 OS.
[AT&T Samsung Galaxy S 4 Android Development] xterminater07:
galaxy s4 active at&t

Adam, thank you for your n00b easy software! I want to ask if this will work for the new s4 active? My guess is it should since basically it has everything the s4 does except a bigger body casing, and a smaller pixel camera? Please let me know if this is true so I can start my root/unlock bootloader process.
[AT&T Samsung Galaxy S 4 Android Development] gage0727:
Got a quick question since this dose not give you total access to the phone. Are you still able to get rid of all the software att has put on it? also i have read that disableing the auto update to the phone, which i know is covered some were else. will try and find it again so i can book mark it. But what i would like to know is what happens to the phone if it is updated after doing this. Will it just be locked and factory reset back to stock or will it be bricked.

Adam thanks again for such a great and easy way to give us access to our phones. 4 stars all the way.
[AT&T Samsung Galaxy S 4 Android Development] igotroot:
Question to op

Do radios or basebands require a LOKI patch?
[AT&T Samsung Galaxy S 4 Android Development] :
It is recommended just to freeze bloatware for now. I think that is what most are doing, me included

Also, freeze the att software updater with TiBu. That should prevent OTA's

---------- Post added at 04:37 AM ---------- Previous post was at 04:36 AM ----------

Only the kernel

The Loki thread in the original dev section is a good read
[AT&T Samsung Galaxy S 4 Android Development] igotroot:
Thank you:good:
[AT&T Samsung Galaxy S 4 Android Development] parmar.saab:
I just used this tool to root my bone stock i337. Am I now ready to install a custom ROM, or do I have to do anything additional?
[AT&T Samsung Galaxy S 4 Android Development] :
you should now have twrp recovery and ready to flash custom roms

the recovery is loki'd but does not auto-loki a non-loki'd rom

most att ones are already loki'd. the kernel that is--roms themselves don't need loki'd

since you are asking, i would suggest do a lot of reading on loki--thread is in original dev section

read the OP carefully and a good part of the beginning and end of rom thread you are flashing. the OP should have flashing info and loki info

back up (nandroid) your current OS and make a backup of your sdcards

put the backups on your pc also

wipe all including system before flashing rom and for cm roms have latest gapps on sdcard

preparation is key to not bricking your phone
[AT&T Samsung Galaxy S 4 Android Development] :
Glad you got it--:)

Just keep reading if new to Samsung devices

I came from HTC and a lot is new on rooting and loki--actually rooting this phone was easier than my HTC's

Have read everything I could find and just beginning to understand--took awhile on loki until I read the whole thread

Yeah, pretty old myself. Maybe that is why I am slow at grasping all this :o

If you don't, would still copy your backups to pc also
[AT&T Samsung Galaxy S 4 Android Development] fukenbiker:
Thank you. That shall be my next step. Plug my phone into the computer and copy that 1970.whatever100011010100number it was on to my "desktop" so I can find it...

the "backup"....

I remember wishing I did that when I tried CyanogenMod the first time on a Sony Ericsson smart phone....

Put my money where my beer was and pulled out the keyboard. Seems it will take a bit to copy what I used to call an "image" to the PC.

Image. Why is it not described that way anymore?
[AT&T Samsung Galaxy S 4 Android Development] igotroot:
I used casual too; MUCH props to the DEV!

Anyway...one main thing I notice in Samsung S4, unlike my old HTCs, the S4 stores data on the phone itself and not the SD card????? Why? I also noticed that when I play music, the app shows duplicate folders of my music, WTH???

I normally use Astro File manager, can it access the TWRP folder where backups are?

Is there a way to force the phone to use the SD card for backups, music, etc?
[AT&T Samsung Galaxy S 4 Android Development] gage0727:
adam just thought I woukd let you know it worked like a charm on windows vista. had to have windows update locate drivers for phone but after that unlocked in like seconds. have already frozen att update. thanks so much for the great work.
[AT&T Samsung Galaxy S 4 Android Development] :
I don't use Astro, but ES File Explorer does--if Astro is for rooted phones, which I think it is, it should access twrp bu's also

I don't have duplicates, not sure abou that. If you back them up or are on a cloud, you could try clearing the apps cache/data and/or un and re-install app.

I think the internal is default in case one doesn't buy an external sdcard. But, I think it would be a property of the app itself to move things to ext. Like Nandroid Manager lets you set your backup path. I have a 32gb so don't worry about it. I do however only keep one nandroid on internal and copy any older ones to ext

We may also be getting OT as these questions don't really relate to Casual--:)
[AT&T Samsung Galaxy S 4 Android Development] seanpr123:
Question, does the TWRP in the main thread auto-loki? It just says 'loki modified'.

I want to flash a I9505 ROM but not sure yet if my TWRP is all I need (and perhaps our kernel).

Thanks.