Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
segv11
Old
#221  
segv11's Avatar
Senior Member
Thanks Meter 301
Posts: 286
Join Date: Mar 2012
Quote:
Originally Posted by XBIRDIE98 View Post
[ Snip... ]
PS: efrant's most likely right about the whole "Google logo/boot logo" change thing. It's probably another aspect of this mystery, like the lock/unlock state and this wipe behavior. I remember that in my Glacier days, there was a way to flash the 'splash screen' using fastboot. While the HTC 'splash screen' is probably a very different method of doing this, (considering we don't have a splash1 partition as far as I know) I thought it might be interesting to have a frame of reference for the kind of stuff that we're playing with - the (relatively) low-level pieces of software that support the kernel and Android and make basic, essential stuff work.
There are some JFIF tags (JPEG images) embedded in the sbl partition dump. It would not be too hard get the correct positions and offsets, and then use "dd" to flash images of the same or smaller size over top of them. Somebody might even want to write an app to do that; but I am much more interested in solving this mystery of the non-erasing bootloader.

---------- Post added at 10:13 PM ---------- Previous post was at 09:36 PM ----------

I am curious to know if the erase functionality has been removed only within the bootloader, or at a lower level. One way to find out (if anyone knows the commands to do this) is to try to format the userdata partition under a running kernel (ie: from android or recovery).

If the erase works, it will mess up your phone to the point where you will need to flasboot flash a new userdata.img, so I don't know if anyone wants to try it. If the erase doesn't work, then we know that the functionality is disabled at a very low level.
The Following 3 Users Say Thank You to segv11 For This Useful Post: [ Click to Expand ]
 
segv11
Old
#222  
segv11's Avatar
Senior Member
Thanks Meter 301
Posts: 286
Join Date: Mar 2012
Folks, I'm sorry to report that I've hit the wall with analyzing those EFS dumps. I had hoped that I could eliminate the device-specific files by comparing the two non-Play-Store images uploaded, and that there remaining differences between those two images and the Play-Store image would be small and easy to analyze.

Unfortunately, there are just too many such differences to begin to figure out which ones might be relevant. Also, the recent discovery that Play Store devices do not erase as expected with adb erase commands makes me wonder if this difference is lower-level, like in hardware, nvram, or fuses.

I'm going to throw in the towel on the efs approach for now, and devote my hacking time to other protects like my app or flashing Jelly Bean. If any of us has any new ideas, either of other data to analyze or of a better way to analyze efs data, I'd be happy to try hacking on this some more.

Anyone have access to bootloader source code? :P

Sent from my BANNED Unified-Search-enabled Galaxy Nexus.
The Following User Says Thank You to segv11 For This Useful Post: [ Click to Expand ]
 
MikeyMike01
Old
#223  
MikeyMike01's Avatar
Recognized Developer
Thanks Meter 2449
Posts: 6,374
Join Date: Jul 2010

 
DONATE TO ME
Mine didn't wipe the first time I unlocked, but it wiped everything as it should after I had relocked and then unlocked again.

Sent from my Galaxy Nexus
Apple iPhone 5
Samsung Galaxy Nexus
.
Samsung Captivate
Samsung Focus
Samsung Infuse 4G
Samsung Galaxy S II
Motorola Xoom

.
Captivate Roms:...Serendipity VII...||...Serendipity...||...Assonance
.

Infuse Roms:...Serendipity VII Infuse...||...MIUI
.
SGS II Roms:...Serendipity 8...||...Serendipity 9
The Following 2 Users Say Thank You to MikeyMike01 For This Useful Post: [ Click to Expand ]
 
segv11
Old
#224  
segv11's Avatar
Senior Member
Thanks Meter 301
Posts: 286
Join Date: Mar 2012
Quote:
Originally Posted by MikeyMike01 View Post
Mine didn't wipe the first time I unlocked, but it wiped everything as it should after I had relocked and then unlocked again.

Sent from my Galaxy Nexus
Galaxy Nexus from the Play Store? Very, very interesting. I wish I (or one of us) had Adam Outler's tools and skills to single-step what the bootloader is actually doing, and (since the bootloader images are identical between all the Galaxy Nexus variants) where it is looking to make wipe/don't-wipe decisions.

Sent from my BANNED Unified-Search-enabled Galaxy Nexus.
 
MikeyMike01
Old
#225  
MikeyMike01's Avatar
Recognized Developer
Thanks Meter 2449
Posts: 6,374
Join Date: Jul 2010

 
DONATE TO ME
Quote:
Originally Posted by segv11 View Post
Galaxy Nexus from the Play Store?
Yes, from the Play Store.

Sent from my Galaxy Nexus
Apple iPhone 5
Samsung Galaxy Nexus
.
Samsung Captivate
Samsung Focus
Samsung Infuse 4G
Samsung Galaxy S II
Motorola Xoom

.
Captivate Roms:...Serendipity VII...||...Serendipity...||...Assonance
.

Infuse Roms:...Serendipity VII Infuse...||...MIUI
.
SGS II Roms:...Serendipity 8...||...Serendipity 9
The Following User Says Thank You to MikeyMike01 For This Useful Post: [ Click to Expand ]
 
E:V:A
Old
#226  
E:V:A's Avatar
Recognized Developer
Thanks Meter 1070
Posts: 868
Join Date: Dec 2011
Location: -∇ϕ
Quote:
Originally Posted by segv11 View Post
...
However, the differences I can find appear to be two embedded jpeg images... Archpope, I assume you are running PRIMELA03, as you are on 4.0.4... but did you tweak your boot logos? Because the differences I am finding between your sbl and ours are two jpeg images.
Did anyone check what these JPEG image differences were? (And if these differences are also present in other/same service providers.) IMHO, I'd think that would be a reasonable way to hide the bootloader lock/unlock bit(s)...
MSM8960 Info, Architecture and Bootloader(s)
El Grande Partition Table Reference
How to talk to the Modem with AT commands

The Samsung Anyway Jig + DIY
_______________________________
If you like what I do, just click THANKS!
Everything I do is free, altruism is the way!
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
I do not answer support related PM's.

 
efrant
Old
#227  
efrant's Avatar
Forum Moderator
Thanks Meter 5610
Posts: 8,162
Join Date: Feb 2009
Location: Montreal
Quote:
Originally Posted by E:V:A View Post
Did anyone check what these JPEG image differences were? (And if these differences are also present in other/same service providers.) IMHO, I'd think that would be a reasonable way to hide the bootloader lock/unlock bit(s)...
We've already figured out where the lock/unlock flag is stored: http://forum.xda-developers.com/show...&postcount=131

Changing that flag will lock/unlock your bootloader (and without wiping data).

What we haven't figured out is what causes some devices to wipe when unlocking using fastboot, while others do not.
I do NOT answer technical questions via PM. Post in a thread.

Device: Nexus 4
ROM: Stock JDQ39
Kernel: Stock 3.4.0
Recovery: CWM 6.0.2.0 NON-touch
Radio: 2.0.1700.33
Bootoader: Z10o
How-To’s: 1) Basics, 2) Flash stock, 3) List of OTA updates, 4) Root, 5) Recover deleted files

XDA RULES
WHAT MATTERS IS UNDERSTANDING THE JOURNEY...
The Following 2 Users Say Thank You to efrant For This Useful Post: [ Click to Expand ]
 
Petrovski80
Old
#228  
Petrovski80's Avatar
Recognized Contributor
Thanks Meter 239
Posts: 724
Join Date: Mar 2011
Location: Almelo
Good read, very interesting stuff. Too bad the thread ends 'open' without a conclusive answer. I hope someone can and will resolve this mystery.
Current phone
Model: Samsung Galaxy Nexus (maguro) | ROM: Jelly Bean 4.2.2 stock & rooted | Kernel: 3.0.61-franco.Kernel-nightly | Recovery: stock! | Bootloader: PRIMELC03 | Battery: 2000mAh OEM Samsung Korea

Phone history
Philips Diga | Motorola V3690 | Nokia 3310 | Nokia 3510 | Siemens S35 | Samsung D720 | SonyEricsson T630 | HTC Touch Diamond | Nokia 3500 classic | Nokia 6700 classic | Nokia N97 mini | Samsung Galaxy Ace

Information
Must read for Galaxy Nexus users: 101 & FAQ by efrant
How to root without unlocking the bootloader (adb backup exploit): guide by efrant
How to copy files & folders from/to your GNEX without MTP: guide
Understanding the risks of having an unlocked bootloader / having USB debugging enabled: info
 
efrant
Old
#229  
efrant's Avatar
Forum Moderator
Thanks Meter 5610
Posts: 8,162
Join Date: Feb 2009
Location: Montreal
Quote:
Originally Posted by Petrovski80 View Post
Good read, very interesting stuff. Too bad the thread ends 'open' without a conclusive answer. I hope someone can and will resolve this mystery.
I agree. This was probably one of the best threads I've seen in a long time. The collaboration among the posters seen here is, in my opinion, an excellent example of how working together can achieve something that would have taken one individual significantly longer to accomplish.
I do NOT answer technical questions via PM. Post in a thread.

Device: Nexus 4
ROM: Stock JDQ39
Kernel: Stock 3.4.0
Recovery: CWM 6.0.2.0 NON-touch
Radio: 2.0.1700.33
Bootoader: Z10o
How-To’s: 1) Basics, 2) Flash stock, 3) List of OTA updates, 4) Root, 5) Recover deleted files

XDA RULES
WHAT MATTERS IS UNDERSTANDING THE JOURNEY...
 
Petrovski80
Old
#230  
Petrovski80's Avatar
Recognized Contributor
Thanks Meter 239
Posts: 724
Join Date: Mar 2011
Location: Almelo
Quote:
Originally Posted by efrant View Post
I agree. This was probably one of the best threads I've seen in a long time. The collaboration among the posters seen here is, in my opinion, an excellent example of how working together can achieve something that would have taken one individual significantly longer to accomplish.
Yes, exactly. Good efforts from several posters.

Sent from my Galaxy Nexus using Tapatalk 2
Current phone
Model: Samsung Galaxy Nexus (maguro) | ROM: Jelly Bean 4.2.2 stock & rooted | Kernel: 3.0.61-franco.Kernel-nightly | Recovery: stock! | Bootloader: PRIMELC03 | Battery: 2000mAh OEM Samsung Korea

Phone history
Philips Diga | Motorola V3690 | Nokia 3310 | Nokia 3510 | Siemens S35 | Samsung D720 | SonyEricsson T630 | HTC Touch Diamond | Nokia 3500 classic | Nokia 6700 classic | Nokia N97 mini | Samsung Galaxy Ace

Information
Must read for Galaxy Nexus users: 101 & FAQ by efrant
How to root without unlocking the bootloader (adb backup exploit): guide by efrant
How to copy files & folders from/to your GNEX without MTP: guide
Understanding the risks of having an unlocked bootloader / having USB debugging enabled: info

 
Post Reply+
Tags
format, galaxy nexus, gsm, unlock bootloader, usa
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...