Thread Closed

[WIP][DEV] S-Off [off-topic discussion prohibited]

OP sk806

11th February 2013, 03:33 PM   |  #2421  
SouL Shadow's Avatar
Senior Member
Flag Stratford, CT
Thanks Meter: 296
 
460 posts
Join Date:Joined: Jun 2010
More
Re: [WIP][DEV] S-Off [off-topic discussion prohibited]
Quote:
Originally Posted by Reevine

Does anyone know if the SB 3.0 cookie stores any signed cert? I'm assuming it does but would like to get some input on this.

The boot cookie itself does not contain any signed certs. Those are contained in qfuses. The cookie is a simple form of IPC. (Well, it's inter-boot communication, not inter-process) It is just a small identifier retained in ram between reboots used to determine how the bootloader should function. ie: do we boot as normal in to pbl -> sbl or do we stay in pbl and enter download mode? Also, once in pbl download mode, the cookie (actually 3 different magic numbers) determines if "emergency" download mode is to be used.

In reality, download mode is exactly the same in the pbl and the sbl's. The difference (and resulting confusion) comes from the availability of resources at different points in the boot process. For instance download mode can access the emmc, but only after that subsystem has been successfully initialized by the bootloaders. This is where the cookie comed in. The magic numbers store a flag letting the earlier bootloaders know (after a warm reboot) the highest possible download mode that can be entered (before encountering the same fatal error as before).

Because all download modes are the same, the "cookie" is used to check whether emergency download (aka ehostdl) is available.

It's also worth mentioning that this boot cookie (all 3 magic numbers) are ONLY set when an error occurs. Under a normal boot the reserved memory region that holds these numbers will be unset or null. When an error is encountered one or more magic numbers are set (depending on the type of error) and the error is logged to it's own separate memory region (which can be read through jtag or via commands in download mode).


-SLS-
Last edited by SouL Shadow; 11th February 2013 at 03:47 PM.
The Following 8 Users Say Thank You to SouL Shadow For This Useful Post: [ View ]
18th February 2013, 03:58 AM   |  #2422  
Root-Maniac's Avatar
Senior Member
Flag SO. Cali.
Thanks Meter: 549
 
1,450 posts
Join Date:Joined: Jan 2012
Donate to Me
More
Re: [WIP][DEV] S-Off [off-topic discussion prohibited]
I smell something cooking!!!!!! Smells like victory!!!!

Sent from my SAMSUNG-SGH-I747 using xda app-developers app
18th February 2013, 03:59 AM   |  #2423  
InflatedTitan's Avatar
Senior Member
Thanks Meter: 1,137
 
2,784 posts
Join Date:Joined: Jul 2012
Re: [WIP][DEV] S-Off [off-topic discussion prohibited]
Quote:
Originally Posted by rpomponio

I smell something cooking!!!!!! Smells like victory!!!!

Sent from my SAMSUNG-SGH-I747 using xda app-developers app

I sure hope so.....

Sent from my HTC One X using Tapatalk 2
18th February 2013, 04:02 AM   |  #2424  
Root-Maniac's Avatar
Senior Member
Flag SO. Cali.
Thanks Meter: 549
 
1,450 posts
Join Date:Joined: Jan 2012
Donate to Me
More
Re: [WIP][DEV] S-Off [off-topic discussion prohibited]
Quote:
Originally Posted by InflatedTitan

I sure hope so.....

Sent from my HTC One X using Tapatalk 2

Mark my words.... It's been achieved. Who avcheived it and when it will be released will be announced soon... PROMISE!!!
http://i.imgur.com/qjmwjen.jpg
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Last edited by Root-Maniac; 18th February 2013 at 04:28 AM.
The Following 23 Users Say Thank You to Root-Maniac For This Useful Post: [ View ]
18th February 2013, 04:20 AM   |  #2425  
Senior Member
Thanks Meter: 77
 
291 posts
Join Date:Joined: Sep 2010
We do apparently!!!

Check this out, it was on Twitter just now...
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2013-02-17 at 11.19.05 PM.png
Views:	942
Size:	68.5 KB
ID:	1739350  
The Following 8 Users Say Thank You to Hydromea For This Useful Post: [ View ]
18th February 2013, 04:34 AM   |  #2426  
azturbomini's Avatar
Senior Member
Thanks Meter: 96
 
1,065 posts
Join Date:Joined: Jun 2010
Re: [WIP][DEV] S-Off [off-topic discussion prohibited]
Quote:
Originally Posted by rpomponio

Mark my words.... It's been achieved. Who avcheived it and when it will be released will be announced soon... PROMISE!!!
http://i.imgur.com/qjmwjen.jpg
Sent from my SAMSUNG-SGH-I747 using xda app-developers app

Holy crap!

Sent from my HTC One X using xda premium
18th February 2013, 04:47 AM   |  #2427  
DvineLord's Avatar
Senior Member
Flag Bedford, TX
Thanks Meter: 379
 
1,290 posts
Join Date:Joined: Aug 2010
More
Bounty for s-off
18th February 2013, 04:50 AM   |  #2428  
Senior Member
Thanks Meter: 767
 
2,283 posts
Join Date:Joined: Mar 2012
Re: [WIP][DEV] S-Off [off-topic discussion prohibited]
S-off how I missed thee! Can't wait to own my one x at last

Sent from my HTC One X using xda app-developers app
The Following 2 Users Say Thank You to c5satellite2 For This Useful Post: [ View ]
18th February 2013, 05:01 AM   |  #2429  
ImagioX1's Avatar
Senior Member
Thanks Meter: 3,283
 
1,880 posts
Join Date:Joined: Sep 2012
Donate to Me
More
Re: [WIP][DEV] S-Off [off-topic discussion prohibited]
Quote:
Originally Posted by c5satellite2

S-off how I missed thee! Can't wait to own my one x at last

Sent from my HTC One X using xda app-developers app

Yeh:thumbup:

Sent from Xparent Red using my Venomized Evita
18th February 2013, 05:12 AM   |  #2430  
Kole_Ackerson's Avatar
Senior Member
Flag Minden, NV
Thanks Meter: 185
 
596 posts
Join Date:Joined: Feb 2012
More
Re: [WIP][DEV] S-Off [off-topic discussion prohibited]
Quote:
Originally Posted by azturbomini

Holy crap!

Sent from my HTC One X using xda premium

OHMYGOD!! finally!!! Edit.. Wrong one quoted. Went to fast in my joyfully excitement

sent from my envenomed HTC One XL running ViperXL 3.2.1

The Following User Says Thank You to Kole_Ackerson For This Useful Post: [ View ]
Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in One X Android Development by ThreadRank