unlocking the bootloader?

Discussion in 'Droid Bionic Hacks' started by denpth, Nov 10, 2011.

  1. dags5000

    dags5000 Member

    Joined:
    Sep 28, 2011
    Messages:
    202
    Likes Received:
    5
    Trophy Points:
    18
    Ratings:
    +5
    All im saying is that this is not something that one will just "figure out" by looking at code or taking shot in the dark guesses. Take p3droids advice that it simply is not gonna happen unless the keys are leaked or some unlocked version is leaked or moto provides a way

    Sent from my DROID BIONIC using DroidForums
     
  2. sjflowerhorn

    sjflowerhorn Member

    Joined:
    May 26, 2010
    Messages:
    99
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Collingswood
    Ratings:
    +1
    Since we cant change /proc/dev-type Beings that the bootloaders files are the same size(42kb i believe) inside of the updates would crossing the names of the two files just be a retarded waste of time? Or a brick in the making.

    Dont anyone go trying this

    Sent from my DROID BIONIC using DroidForums
     
  3. denpth

    denpth Member

    Joined:
    Feb 2, 2010
    Messages:
    74
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    i actually already tried this. I got a backup phone if worse comes to worse, obviously would rather not have a brick. It checks for the md5 of the files as well. so it knows the names are switched. But you have given me an IDEA maybe we change the md5 checksum verification file too.......... major shot in the dark there tho. guess back to source.


    edit: no
     
    #63 denpth, Nov 25, 2011
    Last edited: Nov 25, 2011
  4. sjflowerhorn

    sjflowerhorn Member

    Joined:
    May 26, 2010
    Messages:
    99
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Collingswood
    Ratings:
    +1
    I figured with dile size the same md5 might be tricked but guess not.

    Sent from my DROID BIONIC using DroidForums
     
  5. dstreng

    dstreng Member

    Joined:
    Sep 22, 2010
    Messages:
    174
    Likes Received:
    1
    Trophy Points:
    18
    Ratings:
    +1
    Overclocking can be now done on the Bionic, it just wont survive a reboot. Its time to put the focus back on the bootloader. Especially with updates coming soon and the need to return to stock kernels.
     
  6. firefighterguy

    Joined:
    Mar 29, 2011
    Messages:
    144
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Denver, CO
    Ratings:
    +1
    Or if one of us knows someone who was a code breaker in the Military. Or if one of aaUs was.... That would be gravy.
     
  7. sjflowerhorn

    sjflowerhorn Member

    Joined:
    May 26, 2010
    Messages:
    99
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Collingswood
    Ratings:
    +1
    Never lost the thought. . . Not for one second. Lol

    Sent from my DROID BIONIC using DroidForums
     
  8. prime

    prime Kernel Developer
    Premium Member Developer

    Joined:
    Apr 26, 2010
    Messages:
    1,898
    Likes Received:
    53
    Trophy Points:
    93
    Location:
    Florida
    Ratings:
    +55
    If the update mechanism indeed uses the /proc/omap_dev_type to determine if the device is dev/non-development it may be possible to change the value in memory. Much like how the milestone overclock kernel module functions.
     
  9. denpth

    denpth Member

    Joined:
    Feb 2, 2010
    Messages:
    74
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    That is actually the direction i am heading with it, however just like the overclock modules it will not survive a reboot. The trick is being able to run a module in stock recovery. But i am thinking once you get the NS bootloader installed I dont think we will have to do this again. PRIME if you wouldnt mind i can be a guinea pig and also i will give you as much insight as i have gathered. I think changing the value is not going to be the issue. The issue is changing the value while in stock recovery so one can run an update with the value changed. If you have any insight on how to do that last part it would be amazing. As i mentioned before there is HS which the bionic installs normally and NS (non secure) that is installed if omap_dev_type is set to NS. But if we are able to run cwm should we be able to run a modified stock recovery with this flag changed?
     
  10. prime

    prime Kernel Developer
    Premium Member Developer

    Joined:
    Apr 26, 2010
    Messages:
    1,898
    Likes Received:
    53
    Trophy Points:
    93
    Location:
    Florida
    Ratings:
    +55
    I have my hands in twelve bowls of skittles right now so I may not be able to help. I am currently working with the bionic kernel source to enable loading outside modules into the running kernel, once I have this done I may be able to help.

    Do you have a kallsyms in /proc? Does it contain the string omap_dev_type?
     
  11. denpth

    denpth Member

    Joined:
    Feb 2, 2010
    Messages:
    74
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    Yes it does infact. Now that i got my debian system up and running I can download the source and can also dump that variable and see what i can do with it. This is the area that i will have issues tho. I can understand the C from the source, but the assembly language? i understand how it works, but the syntax is hard to follow to me. I have got maybe 3 other times i have ever needed to look at it.
     
  12. prime

    prime Kernel Developer
    Premium Member Developer

    Joined:
    Apr 26, 2010
    Messages:
    1,898
    Likes Received:
    53
    Trophy Points:
    93
    Location:
    Florida
    Ratings:
    +55
    You mean the 0x000a00 or push, eax..etc?
     
Search tags for this page

droid bionic mbmloader

,
motorola ns or hs
,
ns-14t004 bootloader
,
omap bootloader ns
,
sensei raw bootloader device
,
unlock bootloader xt910
,
unlock xt910 bootloader