Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,731,360 Members 53,556 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
SouL Shadow
Old
(Last edited by SouL Shadow; 11th February 2013 at 03:47 PM.)
#2421  
SouL Shadow's Avatar
Senior Member
Thanks Meter 294
Posts: 459
Join Date: Jun 2010
Location: Stratford, CT
Default Re: [WIP][DEV] S-Off [off-topic discussion prohibited]

Quote:
Originally Posted by Reevine View Post
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-
-SLS-
The Following 8 Users Say Thank You to SouL Shadow For This Useful Post: [ Click to Expand ]
 
Root-Maniac
Old
#2422  
Root-Maniac's Avatar
Senior Member
Thanks Meter 537
Posts: 1,424
Join Date: Jan 2012
Location: SO. Cali.

 
DONATE TO ME
Default 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
 
InflatedTitan
Old
#2423  
InflatedTitan's Avatar
Senior Member
Thanks Meter 1137
Posts: 2,762
Join Date: Jul 2012
Default Re: [WIP][DEV] S-Off [off-topic discussion prohibited]

Quote:
Originally Posted by rpomponio View Post
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
 
Root-Maniac
Old
(Last edited by Root-Maniac; 18th February 2013 at 04:28 AM.)
#2424  
Root-Maniac's Avatar
Senior Member
Thanks Meter 537
Posts: 1,424
Join Date: Jan 2012
Location: SO. Cali.

 
DONATE TO ME
Default Re: [WIP][DEV] S-Off [off-topic discussion prohibited]

Quote:
Originally Posted by InflatedTitan View Post
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
The Following 23 Users Say Thank You to Root-Maniac For This Useful Post: [ Click to Expand ]
 
Hydromea
Old
#2425  
Senior Member
Thanks Meter 77
Posts: 291
Join Date: 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:	939
Size:	68.5 KB
ID:	1739350  
The Following 8 Users Say Thank You to Hydromea For This Useful Post: [ Click to Expand ]
 
azturbomini
Old
#2426  
azturbomini's Avatar
Senior Member
Thanks Meter 96
Posts: 1,065
Join Date: Jun 2010
Default Re: [WIP][DEV] S-Off [off-topic discussion prohibited]

Quote:
Originally Posted by rpomponio View Post
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
 
DvineLord
Old
#2427  
DvineLord's Avatar
Senior Member
Thanks Meter 379
Posts: 1,287
Join Date: Aug 2010
Location: Bedford, TX
Bounty for s-off
You are an Idiot!
Trying to give a, Phone Idiot, Support
Hox wont turn in. HELP!

EVITA PVT SHIP S-OFF RL
CID-11111111
HBOOT-2.14.0000
RADIO-0.24p.32.09.06
OpenDSP-v34.1.0.45.1219
eMMC-boot
Nov 26 2012,18:37:14:-1
 
c5satellite2
Old
#2428  
Senior Member
Thanks Meter 749
Posts: 2,223
Join Date: Mar 2012
Default 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: [ Click to Expand ]
 
ImagioX1
Old
#2429  
ImagioX1's Avatar
Senior Member
Thanks Meter 3283
Posts: 1,880
Join Date: Sep 2012

 
DONATE TO ME
Default Re: [WIP][DEV] S-Off [off-topic discussion prohibited]

Quote:
Originally Posted by c5satellite2 View Post
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
If you like my work please consider donating.
MagioROM Founder/ Developer

 
Kole_Ackerson
Old
#2430  
Kole_Ackerson's Avatar
Senior Member
Thanks Meter 184
Posts: 589
Join Date: Feb 2012
Location: Minden, NV
Default Re: [WIP][DEV] S-Off [off-topic discussion prohibited]

Quote:
Originally Posted by azturbomini View Post
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: [ Click to Expand ]
THREAD CLOSED
Subscribe
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes