DON'T ACCEPT OTA UPDATES

AdamOutler

Retired Senior Recognized Developer
Feb 18, 2011
5,224
9,808
0
Miami, Fl̨̞̲̟̦̀̈̃͛҃҅͟orida
UPDATE: New Jailbreak here: http://forum.xda-developers.com/showthread.php?t=2118348







Here's the bottom line up-front
Samsung has inserted code to blacklist our baseline and mitigate our exploits in the bootloader patch they began pushing out last night. You will need to flash the updated bootloader baseline and stock pit in order to restore your device to operational status. The How-To Unlock your Bootloader thread is invalid at this time.

Going Forward
I need your help with CASUAL. In order to mitigate this problem, I began working on a CASUAL update system on January 13. If you feel inconvienced now, contribute to the Casual Update System beta by testing it. Currently, CASUAL is dumb. If there is a problem you won't know until after you flash. The idea behind the Update System is to either update the CASUAL to work again, or kill-switch it and automatically bring you to a thread like this one. Obviously it's infinitely more helpful than a simple failure and I need testing on Windows, Linux, Mac and firewalls.

The CASUAL Unlock method will be updated when we figure it out and it will be possible to auto-update or do a helpful kill-switch in the next version.

Addressing Security Patches:
Recognized Developer Ralekdev has began work on a new exploit. It's not going to be as simple as it was before.

Bootloader Blacklisting
You can view the updated code here: http://pastie.org/private/zzfhwlrgeeuzweiccjdpvg#22
Previously, Odin Mode would accept any SBOOT with the proper signature. Samsung has implemented a blacklist which causes properly signed flashes to fail if they are contained in the blacklist.
Code:
      bytes_to_hexstr(BL1_blacklist_str, base_addr + 0x1BF0, 16);
      if ( !strcmp(BL1_blacklist_str, BL1_blacklists[i]) )
      {
        sub_43E03A00("BL1 of the blacklist - %s\n", BL1_blacklists[i]);
        return -1;
      }
The old bootloader contained random ARM hex data "CD D2 04 85 63 83 52 7C C9 8A 97 1A CD 30 78 FB".. The new one contains an identifier "EXYNOS_4412 1220". The new bootloader is also programmed to not be able to flash itself.

Non-Header Code Execution
You can view the updated code here: http://pastie.org/private/ryxaraypnnhbmtt6nswvq
Previously, if the ANDROID header was missing from the kernel, SBOOT would execute the partition as raw ARM code. This allowed Ralekdev's exploit to jump into the SBOOT.bin and execute download mode without security checks. However the code has been replaced..
Code:
  if ( !memcmp(v5, "ANDROID!", 8) )
  {
    *** DO NORMAL SECURE BOOT ****
  }
  else
  {
    dprintf("Could not do normal boot. (invalid magic)\n");// this is where we exploited it last time to load my code
    s5p_start_download_mode(v9);
  }
  return 0;
}
So obviously, this execution of arbitrary code exploit has been patched.



Conclusion
We are working to bring a new exploit and make it easier that the last one. Ralekdev will be analyzing and working on a new exploit. I will work on deployment techniques. For now if youre having problems, flash back to stock and root your device.
 
Last edited:

1ManWolfePack

Senior Member
Jul 11, 2012
2,384
1,758
0
Re: DO NOT ACCEPT OTA UPDATES!

Thanks for the update. I had a bad feeling about trying it last night. One of the only times I've ever hesitated in android. I'm sure you guys will figure it out.

Thanks!

Sent from my SCH-I605 using Tapatalk 2
 

iflip

Senior Member
Apr 1, 2010
716
46
0
Re: DO NOT ACCEPT OTA UPDATES!

Why cant Samsung and Verizon just leave this **** alone and let android be real AOSP.
+1!!! I'm hoping sometime in the future that there will be a nexus device that would be similar to this phone. Full aosp stock Android, Large, stylus included and have an aosp feature comparable to multi Window. It's the greatest innovation for Android ever made so far.

Sent from my SCH-I605 using Tapatalk 2
 
Last edited:
  • Like
Reactions: dominick_7

imablackhat

Senior Member
Sep 15, 2005
2,118
295
0
www.zevink.com
Re: DO NOT ACCEPT OTA UPDATES!

What about us people of like clean rom 4.0.5 international rom.

We're already unlocked and rooted. As long as we never take otas it can't ruin anything and I can always flash roms from the forum? You can't even get otas on this rom.

Sent from my SCH-I605 using xda app-developers app
 

1ManWolfePack

Senior Member
Jul 11, 2012
2,384
1,758
0
Re: DO NOT ACCEPT OTA UPDATES!

What about us people of like clean rom 4.0.5 international rom.

We're already unlocked and rooted. As long as we never take otas it can't ruin anything and I can always flash roms from the forum? You can't even get otas on this rom.

Sent from my SCH-I605 using xda app-developers app
Obviously you're fine. Stay where you're at.

Sent from my SCH-I605 using Tapatalk 2
 
  • Like
Reactions: w8kfm

Scott

Retired Recognized Developer
Feb 20, 2007
29,228
66,253
263
Fargo
www.scottcrosler.com
You answered your own question.
That was funny!



Here is the part about the OTA that is being left out.

If you look at the OTA it wont execute the updater portion of bootloader until the end.

The first thing the OTA does is examine the partitions, files, etc to see if they have been altered... If the checks fail the OTA just quits with error 7 (or 8 I forget). When it quits nothing flashes. This will occur on pretty much any custom ROM unless you edit the OTA to bypass the checks (see next line)...

I'm not saying be stupid and TRY to flash the OTA on a custom ROM but I built an L4 base last night with the OTA so you really dont need to anyways. To do this I had to remove those checks I just mentioned.

This thread should be sticked in two forums, this and general, because people thinking about rooting and on the edge need to do so now before the stock ROM forces the OTA!


But as far as a custom ROM accepting and succesfully flashing the OTA? Pretty much zero to none. Trust me on this ;c)


-Scott
 
Last edited:

E:V:A

Inactive Recognized Developer
Dec 6, 2011
1,449
2,212
0
-∇ϕ
Verizon + Damnsung = Bunch of greedy wankers!

Anyway, would be interesting to see how this blacklisting is done.
Is it only checking for modified partitions or actually checking something else against a (real) blacklist??
 

AdamOutler

Retired Senior Recognized Developer
Feb 18, 2011
5,224
9,808
0
Miami, Fl̨̞̲̟̦̀̈̃͛҃҅͟orida
That was funny!



Here is the part about the OTA that is being left out.

If you look at the OTA it wont execute the updater portion of bootloader until the end.

The first thing the OTA does is examine the partitions, files, etc to see if they have been altered... If the checks fail the OTA just quits with error 7 (or 8 I forget). When it quits nothing flashes. This will occur on pretty much any custom ROM unless you edit the OTA to bypass the checks (see next line)...

I'm not saying be stupid and TRY to flash the OTA on a custom ROM but I built an L4 base last night with the OTA so you really dont need to anyways. To do this I had to remove those checks I just mentioned.

This thread should be sticked in two forums, this and general, because people thinking about rooting and on the edge need to do so now before the stock ROM forces the OTA!


But as far as a custom ROM accepting and succesfully flashing the OTA? Pretty much zero to none. Trust me on this ;c)


-Scott
Do you have a copy of the ota?
I need it.
 

Joe T

Senior Member
Nov 18, 2010
200
36
0
Fingerlakes, NY
I'm 1/2 tempted to flash it, then to take the phone to Verizon (as instructed) and cancel my goddamned service right there. There is NOTHING in my contract saying that I can't flash custom roms so this is just a malicious attempt to brick people's phones on Verizon's part.
 

eikast

Senior Member
Feb 22, 2012
250
54
0
Re: DO NOT ACCEPT OTA UPDATES!

Wow. I'm so happy that I picked up my Note 2 last week from Verizon. If I did it a week too late then I would have been forced to keep my iPhone 5.

Sent from my SCH-I605 using Xparent Blue Tapatalk 2
 

bond32

Senior Member
Jun 26, 2010
1,175
245
0
Franklin
Re: DO NOT ACCEPT OTA UPDATES!

I'm 1/2 tempted to flash it, then to take the phone to Verizon (as instructed) and cancel my goddamned service right there. There is NOTHING in my contract saying that I can't flash custom roms so this is just a malicious attempt to brick people's phones on Verizon's part.
If you're serious about this I want to know how that turns out. Not trying to be a ****. I wonder what they would say...

Sent from my SCH-I605 using Tapatalk 2
 

aimfire72

Senior Member
Nov 26, 2010
1,023
123
63
San Jose
Re: DO NOT ACCEPT OTA UPDATES!

Wow. I'm so happy that I picked up my Note 2 last week from Verizon. If I did it a week too late then I would have been forced to keep my iPhone 5.
Same here, just moved over to Verizon from AT&T - got my Note on Monday and unlocked & rooted that same day :)
 

BoostedB18C

Senior Member
Sep 19, 2012
1,313
808
0
San Jose
Re: DO NOT ACCEPT OTA UPDATES!

When the software update pops up on your screen, there is an option to reject it not just defer it. So you aren't forced to install it

Sent from my virgin Note 2