yashsingh1/xdaforums huggingface dataset:
[Verizon Samsung Galaxy Note II] AdamOutler:
You installed drivers which you didn't need from an untrustable source. The drivers wont install because your drivers are from the future. Uninstall the drivers and it will work fine.
[Verizon Samsung Galaxy Note II] jrloper:
[DEBUG]Attempting to write C:\Users\William\AppData\Local\Temp\WilliamTEMPCASUALD13E68C1\CADI.exe
[DEBUG]File verified.
[DEBUG]###executing: cmd.exe###
[VERBOSE]null
[INFO]
Access is denied.

I was going to say Antivirus
[Verizon Samsung Galaxy Note II] jrloper:
First off, this isn't for rooting. This is an IROM unlock, it can never be reflashed back to 100% stock. If you're only interest is in rooting, I would suggest not using CASUAL.

You need to:

Under Device Manager with your phone connected, Uninstall (and delete driver software for) any Samsung driver that's loaded when your phone is connected.

Disconnect your phone

In Control Panel uninstall all Samsung related software (driver packs/Kies).

Reboot your computer

Reconnect your phone. Windows will recognize a new PnP device and download/install drivers from Windows Update.

Make sure USB debugging is enabled.

CASUAL should recognize your device.
[Verizon Samsung Galaxy Note II] wrichards2009:
Got it Adam just deleted drivers like 100 times and it worked
[Verizon Samsung Galaxy Note II] enkrypt3d:
What is an iROM? Is that apples next phone? lol seriously what are you talking about?

There's NAND, Booatloaders radios and roms.... what am I missing?
[Verizon Samsung Galaxy Note II] jrloper:
A lot apparently.

When the Qualcomm chip initializes, it runs a tiny program on the chip (we call it IROM or internal Read Only Memory) which initializes the EMMC, loads SBL1 and verifies the signature on the chip against the signature on the SBL1. The SBL1 performs its tasks, verifies SBL2. SBL2 verifies SBL3. SBL3 verifies ABOOT.
[Verizon Samsung Galaxy Note II] AdamOutler:
On this device it's just a "sboot.bin" that contains the bootloaders. You can replace it with a stock version to go back to stock. The thing is, once you run this unlock, it will unlock your device to the point where you can easily damage it.

It's called an IROM unlock because a bootloader unlock allows you to flash kernels. this allows you to flash bootloaders so "bootloader" unlock isn't appropriate.
[Verizon Samsung Galaxy Note II] gixxertriplezero:
Is it really not possible to get back to 100 % stock??
[Verizon Samsung Galaxy Note II] jrloper:
If you unlocked from VRAMC3, that is the gist of it.
[Verizon Samsung Galaxy Note II] BoostedB18C:
Question just for future reference. I used the original unlock method when my phone was on VRALJB. So it is possible for me to completely go back to stock and lock the bootloader? Not that I have any intention of doing this, just curious.
[Verizon Samsung Galaxy Note II] AdamOutler:
Do you know something I don't? You should be able to flash back just fine. The cautionary statement I make is that this allows you to flash anything at all... normally you can't destroy a Samsung bootloader, but now you can.
[Verizon Samsung Galaxy Note II] jrloper:
It was more in reference to OTAs
[Verizon Samsung Galaxy Note II] enkrypt3d:
I was joking dude sheesh does anyone have a sense of humor around here?

And no I don't care to root my phone if casual is modifying things that cannot be undone. Sounds like you'd have to solder the circuit board to flash it back with JTAG to get it back to stock.... And someone was asking in another thread why anyone would want to go back to stock - and for me, having working voicemail notifications is one pretty good reason... anyways happy rooting everyone just know that you probably can't go back.
[Verizon Samsung Galaxy Note II] AdamOutler:
Take the jokes elsewhere... like a different site all together. As of right now, only 6 people have found your comments helpful.
[Verizon Samsung Galaxy Note II] jrloper:
More of you, not knowing what you're talking about I see.

Voicemail notifications have nothing to do with the unlocked IROM.

Your phone can be completely stock recovery/kernel/system, only difference is the bootloader.
[Verizon Samsung Galaxy Note II] jrloper:
Disable your Anti-virus/mal/spyware, and try the newest build

http://goo.im/devs/AdamOutler/VZWGalaxyNote2

Also don't post logs here, we integrated pastebin submittal to keep this thread clean.
[Verizon Samsung Galaxy Note II] mhignight:
Error Verizon Note II / CASUALR575b-Nightly

Error doing this process with my Note II.

pastebin dot com/cVLxRP0D

static.etmedia dot org/CASUAL.png
[Verizon Samsung Galaxy Note II] jrloper:
Install vcredist_x86.exe from:

http://www.microsoft.com/en-us/download/details.aspx?id=30679

Retry CASUAL
[Verizon Samsung Galaxy Note II] mhignight:
pastebin dot com/VE9esbDB

Same problem, I installed it, restarted and ran CASUAL. The VC decided it wanted to [ Repair ] [ Uninstall ] or [ Cancel ]. I repaired, no luck.
[Verizon Samsung Galaxy Note II] jrloper:
can you attempt to execute this from a command prompt:

C:\Users\ADMINI~1\AppData\Local\Temp\AdministratorTEMPCASUA

L25D555F2\heimdall.exe

Also, please don't obfuscate the pastebin URL. Unless you feel the need to do so for some privacy reasonings.
[Verizon Samsung Galaxy Note II] mhignight:
This is what shows up:

pastebin.com/dVZCUvL0

This is why I have to paste the links like that: To prevent spam on the XDA forums, ALL new users prevented from posting outside links in their messages. After approximately 10 posts, you will be able to post outside links. Thank you for understanding!
[Verizon Samsung Galaxy Note II] mhignight:
I am running it via Command Prompt, with elevated permissions as the Administrator, plus running the CASUALR575b-Nightly.jar as Administrator.

Any ideas?

Should I just disable UAC and be done with it or what is your opinion?
[Verizon Samsung Galaxy Note II] jrloper:
Crap sorry, forgot about the new user rules.

Heimdall is functional, I don't know why CASUAL is prompting you to install vcredist. I'll have an instabuild available in the next hour or so, hang tight.
[Verizon Samsung Galaxy Note II] mhignight:
Okay, no worries. I'll disable UAC and keep checking to see if it's been uploaded and try it out when I get home.
[Verizon Samsung Galaxy Note II] jrloper:
Ok, this should (hopefully) self elevate and give you a UAC prompt.

http://goo.im/devs/AdamOutler/VZWGa...SUAL-NoYouVerizon-CASUAL-R577b-InstaBuild.jar
[Verizon Samsung Galaxy Note II] mhignight:
Here's your new errors:

pastebin.com/bm8AN3R4

UAC was disabled and I still ran it as Administrator, no luck. Ran it normal, no luck there either.

--

Also, VC is already installed, why is it attempting to download it again?
[Verizon Samsung Galaxy Note II] jrloper:
I'm not sure, is your Anti-virus/mal/spyware disabled?

Either way the vcredist install is depreciated, as all the components have had their respective dependencies included.

I'll disable the calling method in preparation for a method cleanup.

I'll link you a new build tomorrow.

Looks like I have a "file not found" bug to fix anyways.
[Verizon Samsung Galaxy Note II] AdamOutler:
It is supposed to attempt to run VC when Heimdall fails to return a value.. here's the expected sequence of Heimdall deployment..

1. Deploy heimdall and proper DLL files.

2. run heimdall and get return

3. if heimdall returns nothing download VC Redist

4. install VCRedist

5. run heimdall and get return

6. if heimdall returns nothing return failure

code https://code.google.com/p/android-c...CASUALcore/src/CASUAL/HeimdallInstall.java#29

I just did some major changes to that particular routine. I probly broke it. https://code.google.com/p/android-c...CASUAL/HeimdallInstall.java&format=side&r=575

It's probly this that needs to go back in before the vcp110.dll and vcr110.dll.

String x = new Shell().silentShellCommand(new String[]{Statics.heimdallDeployed, "version"}); //try without msredist
if (!x.equals("")) {
Statics.isHeimdallDeployed = true;
return true;
}

The Visual C++ used may also be newer than the version on your computer. Either way, we should probly check before deploying the vc?110.dll's.
[Verizon Samsung Galaxy Note II] AdamOutler:
I figured it out.. the heimdall check was backwards.

jrloper, can you do an InstaBuild? I'm mobile and did this edit from a web browser on the android-casual.googlecode.com site https://code.google.com/p/android-casual/source/detail?r=578 . I don't have a way to login to the build server right now.
[Verizon Samsung Galaxy Note II] jrloper:
[MENTION=1512042]mhignight[/MENTION] please try this one

http://goo.im/devs/AdamOutler/VZWGa...SUAL-NoYouVerizon-CASUAL-R578b-InstaBuild.jar
[Verizon Samsung Galaxy Note II] mhignight:
Worked like a charm!

http://pastebin.com/KCwLWjw3

The log is yours for any additional debugging if needed, you might see something that might be handy to ya!

Thank you very much for the help!
[Verizon Samsung Galaxy Note II] mhignight:
It looks like the PasteBin didn't work via the program. :/ I'll find it on my computer and get it uploaded for you.
[Verizon Samsung Galaxy Note II] BoostedB18C:
Got a warranty replacement that had vrall4 on it. Powered on, turned off mobile data (to stop the VZW OTA), connect to pc, ran CASUAL, and done. So now I can say that as long as you read the OP and follow directions, this works with no issues. Thanks again guys, CASUAL is freakin awesome!
[Verizon Samsung Galaxy Note II] gcappa:
Doesn't work for me..

Detecting device...

ERROR: Failed to access device. libusb error: -12
[Verizon Samsung Galaxy Note II] gcappa:
I got it 2 work on both phones finally!! Worked after running it a few times.

Thank you!
[Verizon Samsung Galaxy Note II] Jubakuba:
Just wanted to say thanks to all involved in the exploits, packaging of the GUI, etc.

Got tired of my GNex lasting 1/2 a day and running like doo-doo.

My Note II is in the mail...

And I'll go ahead with the GUI route this time, screw it. I want that ugly TouchWiz gone the moment I boot this thing up.

Loaded the GUI up on my Linux OS and I never have an issue fixing driver issues so I expect a smooth process.

Thanks!
[Verizon Samsung Galaxy Note II] Cooter007:
Don't know if my Script error actually went anywhere but it is working now. I had to disable Microsoft Security Essentials.
[Verizon Samsung Galaxy Note II] chopt51:
Had a quick question hope this is the right place to ask.

I rooted my phone using this about 2 months ago. I have team win as my recovery. Rootbox 4.2.2 as my ROM. I tried a few times to restore backups. They don't seem to be working correctly after I restore. System errors, missing apps ect. Just making me wipe and reflash ROMs.

I had other devices rooted and backups always fine. Does my recovery need to be updated or is my SD card not working? Just looking for the right direction to look in. Thanks

Sent from my Samsung Galaxy Note 2
[Verizon Samsung Galaxy Note II] jrloper:
Did you try running "fix permissions" after a restore?
[Verizon Samsung Galaxy Note II] chopt51:
No. Never. I'll try.

Sent from my Samsung Galaxy Note 2
[Verizon Samsung Galaxy Note II] fallen00sniper:
Maybe I will get my answer faster than waiting for adam to reply to email.

If I usebthe method he describes, will it factory reset my phone.

I have experienced this on htc phones.
[Verizon Samsung Galaxy Note II] carhauler1969:
If you're talking about unlocking and rooting your device with Casual the answer is no, it will not reset anything.
[Verizon Samsung Galaxy Note II] fallen00sniper:
Awesome thank you.
[Verizon Samsung Galaxy Note II] larry_thagr81:
Assuming you are still getting a successful flash on the baseline and the phone reboots into the ROM, try the following. Ignore the fact that CASUAL is telling you to press continue to continue the process for the second file and while running the stock ROM, open ODIN backup add the backatchaverizon file to the bootloader section and click start to allow ODIN to push you into download mode and that should work.

When I created my how to thread earlier, I couldn't exactly remember what it was that I did differently after flashing the first file successfully with every attempt. But I now recall from within the stock ROM simply telling ODIN to start the flash process of the second file without ever telling CASUAL to continue the process.

Please let me know if that works so I can update my how to thread.
[Verizon Samsung Galaxy Note II] crazydad:
are both files files put into the PDA section in odin is that correct after casual tells you to ?? except the casual.
[Verizon Samsung Galaxy Note II] GoBears:
No go. When running the stock rom Odin will not push my phone into download mode. Frustrated. Thank god for Crown Royal.
[Verizon Samsung Galaxy Note II] THUND3RKR0W:
Works Just Great

Adam-- Great Job on this....
[Verizon Samsung Galaxy Note II] zaubertuba:
I was having the same problem. Maybe this will help: I deleted another exploit (Exynos Abuse), then flashed an earlier base root image (sorry I can't remember which one but it was one of the original images from Adam's first exploit... "t0ltevzw_root.tar.md5" was the filename). I also re-partitioned when I did this. I may be completely off on this but I think the repartition is likely what did it.

The base root image is loaded in PDA, the .pit file in, well, PIT, and then (after a reboot and launching CASUAL), everything else in Bootloader.

Thank you, Adam - You're a Scholar and a Gentleman! :)
[Verizon Samsung Galaxy Note II] larry_thagr81:
Try this out

I accidentally discovered what worked for me and now I'm trying to recall exactly what I did because I was grasping for straws when I ended up succeeding. Even after following the instructions to the letter from others who had success, it still didn't workout for me. So what I'm providing as weird as it may seem I believe it what I did to get it to work. I honestly don't know if the second file needs to be flashed twice, it worked for me.

Assuming you've already turned on USB debugging in developer options under Settings and the latest Java program for windows PC.

1. Open CASUAL and wait until it shows device connected.

2. Select Do it and it will give you a couple of warning prompts, which you must accept before it reboots your phone into downloading mode.

3. Open ODIN and add the baseline file to the bootloader area and select start. Wait for it to show COM #, where # is some assigned number in the ID:COM field. Select start and it will flash the baseline, but wait for it to show a status of RES and then PASS after a minute or so right above the ID:COM title.

4. Shut ODIN down completely after getting the PASS status and allow the phone to reboot and DON'T press continue in CASUAL yet.

Important side note:

The phone will start to reboot and CASUAL will say press continue so that you can flash the baseline, which you just did. So DON'T PRESS CONTINUE YET. Allow the phone to fully boot up and then press continue in CASUAL because CASUAL will then perform the first exploit on the baseline that you just flashed and then CASUAL will put your phone back into downloading mode.

5. Now your phone should be back in downloading mode, open ODIN on the computer.

6. Repeat step 3, but add the backatchaverizon file to the bootloader area and press start when ODIN is communicating via the COM #. This should flash the second file (backatchaverizon) and restart the phone once again.

Another important side note:

7. CASUAL will tell you to press continue, but DON'T PRESS CONTINUE YET because CASUAL can only perform its magic when you are fully booted into the Android operating system.

8. Only then should you press continue so that CASUAL can perform the final exploit on the backatchaverizon file that you should have just flashed with ODIN in downloading mode, which will then automatically reboot your phone into TWRP recovery.

Let me know if this helps.
[Verizon Samsung Galaxy Note II] hopesrequiem:
Re: Jailbreak / Root / TWRP Recovery -- Even after update [26JAN13]

Coming from the s3 this process looks a lot scarier lol might just root and not unlock lol
[Verizon Samsung Galaxy Note II] PsychoSimatic:
Getting

Setting Permissions....

Executing Root Exploit.

[x]Ready for exploit

[x]Device Verification Checks Complete

[x]Ready for exploit

Injecting Code

[x]Exploit Injection Done.

Windows Detected: If you have not already, please install the baseline http://d-h.st/Wyo with Odin3.

from casual

and this from Odin

<ID:0/024> File analysis..

<ID:0/024> SetupConnection..

<ID:0/024> Initialzation..

<ID:0/024> Get PIT for mapping..

<ID:0/024> Firmware update start..

<ID:0/024> swagBoot

<ID:0/024> NAND Write Start!!

How long does this take? i've tried it 3 times now, same thing each time. I was on a stock Rom but rooted, same steps that were posted in his original thread. Am I missing something?
[Verizon Samsung Galaxy Note II] crazydad:
i keep getting stuck on nand write start on the second file??? how long does this part take ive read and re read all the posts and still after doing all of what is said its stays on that nand write start.... wtf help!!!!!!lol oh and i was never rooted or anything stock factory
[Verizon Samsung Galaxy Note II] GoBears:
I'm having the exact same problem. Been trying everything but still no luck.
[Verizon Samsung Galaxy Note II] Namolas:
I got stuck on nand write start for almost an hour before I pulled the battery and completely reflashed stock ODIN and started the whole thing over.
[Verizon Samsung Galaxy Note II] crazydad:
Did it work for you after flashing the stock?? i mean i came from the factory stock rom and did this and im still on that Nand write start..
[Verizon Samsung Galaxy Note II] Namolas:
Yes. Im unlocked and setting up CleanRom ACE now.
[Verizon Samsung Galaxy Note II] larry_thagr81:
I had the same problem until I shut down ODIN in between flashing. Of course wait until ODIN tells you that the first file you flash from the bootloader section PASS before closing ODIN down. If you don't close ODIN before you load the backatchaverizon file into the bootloader section and start the flash process, you will get hung during the flashing of the second file from within downloading mode with the status bar showing 100%.
[Verizon Samsung Galaxy Note II] GoBears:
Ok got mine figured out. I had to download the original root66 and flash that in odin. Revision 2 DID NOT work. After flashing the original it went perfectly without a hitch. Thanks everyone! Guess I'm not sleeping tonight now lol.
[Verizon Samsung Galaxy Note II] PsychoSimatic:
Ya driving me nuts, I've tried a bunch of times now since it seems like people have had luck that way. I'm running CASUAL R217 so its the latest, I downloaded these files all within the last couple hours so its definitely all the new links he posted.

Here is the step by step of what I'm doing

I open casual and it detects the device

I click continue on the first warning

It reboots into download mode

I click Continue on the second warning

I select the BAVBaseline.tar.md5 file in PDA in Odin and flash after I see the device connected

<ID:0/024> Firmware update start..

<ID:0/024> boot.img

<ID:0/024> NAND Write Start!!

<ID:0/024> RQT_CLOSE !!

<ID:0/024> RES OK !!

<ID:0/024> Removed

It shows a blue RESET! in Odin

Casual Runs

Pushing dependencies

Pushing su binary...

Pushing SuperSU app...

Pushing Exynos-Abuse exploit

Pushing root script

Pushing Busybox

Pushing viewmem

Pushing pit

Setting Permissions....

Executing Root Exploit.

[x]Ready for exploit

[x]Device Verification Checks Complete

[x]Ready for exploit

Injecting Code

[x]Exploit Injection Done.

Windows Detected: If you have not already, please install the baseline http://d-h.st/Wyo with Odin3.

Device Reboots into Stock Recovery

I reboot it from there

Odin shows a PASS!

CASUAL shows:

Done

done

The device is now sitting at my lock screen, CASUAL shows about 25% left of the bar to fill, I have yet to flash the Backatcha File

Do I click Do It on casual again as it isnt greyed out?

D I close Odin and re open and just manually put the phone in download mode?
[Verizon Samsung Galaxy Note II] jntdroid:
I feel the same way... but can you root without unlocking?
[Verizon Samsung Galaxy Note II] PsychoSimatic:
You added BOTH files into Bootloader? Everything I read previously said PDA was what we were using in Odin for these.

Typo or is this accurate?
[Verizon Samsung Galaxy Note II] AdamOutler:
It doesn't really matter. The PDA/Bootloader sections only affect the order in which Odin flashes the packages put into those spots.

As long as you're not using a PIT file... it sounds like people having problems are using a pit file.
[Verizon Samsung Galaxy Note II] PsychoSimatic:
Yeah, guess not, tried it with both of them bootloader and it's still sitting at the NAND Write Start!!

Really not sure what else could be wrong with it.

The ROM i was using before was the CI605_I605VRLJB_I605VRALJB_CL414933_HWID04_HW-Rev0406_low_ship_user.tar.md5

Does that matter? And completing the first part somehow seems like it actually removed ROOT as I no longer have SU access, if I'm in terminal and i try 'su' it says permission denied...

Also no PIT file being used for this one on my attempts
[Verizon Samsung Galaxy Note II] turntable:
runnin 4.1.2 stock. all i get is this:

over and over and over again. verified all driver bundles uninstalled. rebooted device and pc. disabled MSE, same results.
[Verizon Samsung Galaxy Note II] AdamOutler:
uninstall whatever driver you installed.
[Verizon Samsung Galaxy Note II] turntable:
already did. had the samsung driver for mobile devices. uninstalled and rebooted. same issue.

---------- Post added at 02:53 PM ---------- Previous post was at 02:49 PM ----------

quoted on the off-chance it send you a notification of the quote
[Verizon Samsung Galaxy Note II] fallen00sniper:
Hopefully I will have time tomorrow to use this tool, thanks for making it adam, so glad it doesn't force a factory reset like unlocking a htc lol.
[Verizon Samsung Galaxy Note II] Shazam613:
Any help would be greatly appreciated....

CASUAL.CASUALLanguage.beginScriptingHandler(CASUALLanguage.java:66)

... 2 more

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

CASUAL experienced an error while parsing command:

push "$ZIPFILEexynos-abuse" /data/local/tmp/

please report the above exception.

Script Complete

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

[ERROR]CASUAL experienced an error while parsing command:

push "$ZIPFILEexynos-abuse" /data/local/tmp/

please report the above exception.

[INFO]Script Complete

[DEBUG]State Change Detected, The new state is: 0

[DEBUG]State Disconnected commanded

[DEBUG]State Change Detected, The new state is: 1

[DEBUG]State Connected commanded

[DEBUG]Pastebin Login Successful
[Verizon Samsung Galaxy Note II] ramiss:
Did you ever get this resolved? Microsoft Security Essentials Quarantines the Exploit:Lotoor immediately and I'm not sure if I should allow it.
[Verizon Samsung Galaxy Note II] fallen00sniper:
i used this tool on windows 7 and had no issue other than having to install the drivers from the samsung website, if i were you i would disable microsoft security essentials and use avast, it is a false positive to a 'exploit' nothing more, most things that pop up are false, the heuristics are either set too high or set to try to control what we use and do with software to protect the interests of large corporations.

if you feel that you can't trust what adam and the the others have created, use a ubuntu linux live disc and use his linux instructions, this can be easily done with a thumb drive and universal usb installer from pendrivelinux.com.

adam has be on xda since i started visiting this site and i have watched tons of his videos on how to get things done, he is not out to get you lol :good:
[Verizon Samsung Galaxy Note II] AdamOutler:
It's not a false detection. It's actually an exploit.

Exploit:Unix/Lotoor is a detection for specially-crafted Android programs that attempt to exploit vulnerabilities in the Android operating system to gain root privileges.