DON'T ACCEPT OTA UPDATES

Search This thread

AdamOutler

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




Ci0gY.png



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

DaRkL3AD3R

Senior Member
Dec 5, 2010
784
240
Damn!

Should've known they'd take whatever chances they can to lock this thing up ASAP.

Thanks for the hard work everyone. It's much appreciated.
 
  • Like
Reactions: Janker5050

iflip

Senior Member
Apr 1, 2010
716
46
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
296
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
 

adrynalyne

Inactive Recognized Developer
Dec 13, 2008
10,950
6,471
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

You answered your own question.
 

1ManWolfePack

Senior Member
Jul 11, 2012
2,384
1,758
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
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,447
2,222
-∇ϕ
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,827
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
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
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,173
245
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
 

BoostedB18C

Senior Member
Sep 19, 2012
1,313
808
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
 

Top Liked Posts

  • There are no posts matching your filters.
  • 73
    UPDATE: New Jailbreak here: http://xdaforums.com/showthread.php?t=2118348




    Ci0gY.png



    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.
    16
    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
    13
    SOB.... I took it today hoping it was 4.2 and it ended up being:

    Android Version 4.1.2
    Build number jzo54k.i605vramc3
    Harware version i605.06

    I'm gonna wait till Beans release a 4.2 rom and then root and flash.

    Ya but by taking that ota u probably just lost the ability to unlock.. Will do a build of new ota when I get home from work about 45 mins

    Sent from my SCH-I605 using Tapatalk 2
    10
    Just a heads up for everyone - after many attempts, I was finally able to boot my phone. I had to take the .pit file from Adam's post, and then download this stock image - http://androidjinn.com/root-verizon-galaxy-note-2-i605.html/2 & follow the directions. It was the ONLY stock rom that successfully restored me in ODIN. Everything else prior, such as imnuts stock rom, would result in a FAIL after attempting to load the sbin.boot files.

    Hope this may be of help to anyone, because I know I sure struggled! Through struggle comes growth - HUZZAH!
    10
    I warned people not to flash it. I warned, and it was brushed aside because someone thought you could re-unlock (without 100% confirmation).

    http://xdaforums.com/showthread.php?t=2106158

    Thanks for more information on the issue.