kexec bootloader bypass information thread

Discussion in 'Droid 3 Hacks' started by ovelayer, Jul 13, 2012.

  1. flemdroid
    Offline

    flemdroid Member

    Joined:
    Oct 14, 2010
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    a silent forum is a golden forum
     
  2. ovelayer
    Offline

    ovelayer Rescue Squad Rescue Squad

    Joined:
    Mar 30, 2011
    Messages:
    558
    Likes Received:
    26
    Trophy Points:
    28
    Location:
    U.S
    Ratings:
    +26
    ?
    _______________________________________________

    @Hashcode0f
    Yes, the D3 is a full-time Job :) and I plan on getting JellyBean to work on it as well.
     
  3. pistacio
    Offline

    pistacio Member

    Joined:
    Aug 26, 2010
    Messages:
    442
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    MA
    Ratings:
    +5
    My guess is that silence means that some actual work is getting done, no time for forum chatting...? Or no problems to speak of.



    Its Good to hear about JB for the D3...

    Sent from my DROID3 using Tapatalk 2
     
  4. flemdroid
    Offline

    flemdroid Member

    Joined:
    Oct 14, 2010
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    hah ya thats what i meant.... Both u devs have a beer on me
     
  5. vbhokiefan
    Offline

    vbhokiefan Premium Member Theme Developer Premium Member

    Joined:
    Mar 4, 2010
    Messages:
    934
    Likes Received:
    8
    Trophy Points:
    18
    Location:
    VA Beach VA
    Ratings:
    +8
  6. guidot
    Offline

    guidot Developer Relations Staff Member Premium Member

    Joined:
    Feb 10, 2010
    Messages:
    7,347
    Likes Received:
    274
    Trophy Points:
    198
    Location:
    Massachusetts
    Ratings:
    +274
    And he's eating his hat too apparently haha.
     
  7. cobravnm13
    Offline

    cobravnm13 Senior Member

    Joined:
    May 2, 2011
    Messages:
    1,737
    Likes Received:
    34
    Trophy Points:
    93
    Location:
    Alabama
    Ratings:
    +34
    That is exciting! I can't wait until everything starts working properly! When it does, it will be a great leap for Droid 3 owners (and Moto/VZW customers) and a HUGE middle finger to Moto and VZW.

    Sent from my 3rd reincarnation of the ever-so-lovable Droid
     
  8. ovelayer
    Offline

    ovelayer Rescue Squad Rescue Squad

    Joined:
    Mar 30, 2011
    Messages:
    558
    Likes Received:
    26
    Trophy Points:
    28
    Location:
    U.S
    Ratings:
    +26
    How to Eat a Hat (Droid 3 developments) …

    On June 11th, I wrote a semi-rant “Droid 3.. to be or not to be (ICS’d)”, and I discussed the exact reasons why I was “giving up” on ICS for the Droid 3. Many of you who follow me on twitter (@hashcode0f) have seen hints that something has changed in the Droid 3 world and are seeing words like “kexec” floating around.

    Here’s a review of some of the points I brought up in my earlier post and the counter point to what has changed since then.

    1. 512MB RAM isn’t supported in Texas Instrument’s (maker of the OMAP4430 CPU in the Droid 3) stock kernel

    Not true any more. As of a month ago, TI has merged in new memory handling to support running their stock 3.0 kernel on 512MB devices. You can see this development branch here at omapzoom.org under the “p-android-omap-3.0″. This kernel source customized with Motorola’s drivers for the Droid 3 would enable an up-to-date ICS/JB experience just like the RAZR/Droid 4 and Bionic are currently getting.

    2. The “ducati” HD codec binary doesn’t support 512MB RAM devices (similar to how the 3.0 kernel doesn’t)

    My original argument: even if you could customize a 3.0 kernel to run on 512MB (which I have done for the Kindle Fire), I can’t compile my own 512MB complaint ducati binary. And the one I use on the Kindle Fire probably won’t work for the Droid 3′s dual camera setup.

    Not true as well now. About 3 weeks ago TI merged in code to support building the ducati binary using a 512MB memory mapping. NOTE: To-date TI has never actually built a FULL ducati binary using that 512MB memory map, but I’m working on this (more below).

    3. To get a 3.0 kernel loaded on the Droid 3, we would need to use a technique known as “kexec”. This allows an existing kernel to be fully replaced in memory almost like the device was rebooted. You may have already heard of this on the RAZR where developers [mbm] and Kholk successfully booted a slightly custom version of the original 2.6 kernel (at the time). My argument was that this process for getting a kexec system to work was also time consuming.

    Since then, I’ve met another Droid 3 owner (and developer) named jonpry. He was interested in putting a custom kernel on the Droid 3. So, during out discussions, I told him: “if you make kexec work on the Droid 3, then I’ll take my best shot at getting a 3.0 kernel running on it.” And he did. Not only did he rebuild their process and get it working on the Droid 3, but also solved several issues that they had on the RAZR. For example: the 2nd CPU now works as well!

    Looks like I had some work to do. But where to start …

    4. My last argument was that the Droid 3 doesn’t have a usable 3.0 kernel to run on it. And developing one from scratch would takes months of time and run into all of the first 3 issues.

    As of the beginning of July, Motorola released the 3.0 kernel source for the RAZR and it’s a VERY good starting point for a kexec kernel to use on the Droid 3.

    So, if all of these issues are now “solved” why doesn’t the Droid 3 have an ICS/CM9 ROM which works and acts like it should?

    The short answer is: We do (sort of.. in progress). As of a week ago, I have a full CM9 build using a new 3.0 kernel which has been heavily modified to more closely resemble a stock kernel from TI.

    It’s using Jelly Bean ready graphics drivers And has the code ready to load a 512MB memory mapped ducati binary enabling HD codecs and possibly camera. NOTE AGAIN: this ducati binary actually doesn’t currently exist. But, more on that later.

    Status RIGHT NOW of the ICS/CM9 build using the new 3.0 kernel:

    The newly updated graphics drivers create a fluid and fast UI like it should be in ICS and beyond (IMHO it’s actually a bit smoother than the current MotoICS-based RAZR, Droid 4 and Bionic builds due to their framebuffer issues) Main audio is not working, but BT/Speaker phone are Radio is up and running, calls work and 3G has been reported as working (VZW only, more testing for XT860 and other variants) Touchscreen and other sensors are fully working Internal SD card is not mounting for whatever reason, but external SD is Wifi comes up VERY solid is perhaps the best it’s ever been on the Droid 3 Hard keyboard needs work in the device tree to fix key mappings

    In general, this build is encouraging as it demonstrates how close the Droid 3 is to being brought up-to-date with the other devices that I support (RAZR, Droid 4 and Bionic). And how well it cam run ICS and the Jelly Bean builds to come.

    If you’re curious about seeing this build of CM9:

    You’ll need to install Safestrap 2.0 (with kexec support) from HERE
    Download the KEXEC CM9 ROM from HERE
    and install as you would any other ROM in Safestrap

    NOTE regarding a new 512MB ducati: I made a contact at Texas Instruments who is working with me to build this binary. It’s not the normal thing that he does, and Texas Instruments is a bee hive of activity these days. (read as: he is VERY busy with Jelly Bean changes and more). So it may take some time to figure out the new ducati build and get a working 512MB binary, but with a little patience we’ll hopefully work it out and have what we need to make this the “complete” solution that all of us Droid 3 owners are looking for.

    WHAT CAN I HOPE FOR BY USING A NEW 3.0 KERNEL-BASED ROM?

    Future-proof display drivers not only supporting the ICS changes that were so badly broken prior to this kexec build, but also new features like triple buffering and vsync limits for Jelly Bean and beyond Functional HD codecs for YouTube and Netflix as well as other encoding / decoding features that would never have been possible in the Gingerbread-based builds Working camera (back, front or both possibly) using TI’s latest camera drivers which support instant picture taking, panorama, and face recognition The latest (and future) Wifi drivers which support new functions such as Wifi Direct and Wifi Display as well as bug fixes straight from TI’s repositories

    WHAT IF I’M USING A RAZR, DROID 4 or BIONIC AND I WANT THIS TOO?

    My current plan is to finish more testing on the Droid 3 and then begin using this new kernel on ALL of our supported Motorola devices. So this isn’t just good news for Droid 3 owners, it’s great news for everyone as long as we can work out the kinks and get a few missing pieces.

    I will try and post more information as it happens via twitter (@hashcode0f) or on such sites as Droid Hive, XDA Droid 3 Development section, DroidRZR and/or Droid Forums, but don’t hate me if it doesn’t hit your particular forum of choice
     
  9. jstafford1
    Offline

    jstafford1 DF Super Moderator Rescue Squad

    Joined:
    Nov 15, 2009
    Messages:
    9,139
    Likes Received:
    208
    Trophy Points:
    178
    Location:
    Hebron, Oh.
    Ratings:
    +213
    Well now we know why Moto never bothered with it, and I doubt they will go back and try a stock D3 build for us. I'm glad TI stepped up and got these out there. Things look very promising now.

    Sent from my DROID3 using Tapatalk 2
     
  10. cobravnm13
    Offline

    cobravnm13 Senior Member

    Joined:
    May 2, 2011
    Messages:
    1,737
    Likes Received:
    34
    Trophy Points:
    93
    Location:
    Alabama
    Ratings:
    +34
    +1 Quadrillion X ∞

    Sent from my 3rd reincarnation of the ever-so-lovable Droid
     
  11. ma5t3rw1tt
    Offline

    ma5t3rw1tt Member

    Joined:
    Jul 21, 2010
    Messages:
    108
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    ----
    This is another reason why I love android, there are so many devs out there willing to go and find a solution to help people improve on existing & new hardware. Thank you millions hash (and fellow devs) with this. I love the taste of jelly bean with my nexus 7, can't wait to try ICS or JB on my D3 ^_^
     
  12. jstafford1
    Offline

    jstafford1 DF Super Moderator Rescue Squad

    Joined:
    Nov 15, 2009
    Messages:
    9,139
    Likes Received:
    208
    Trophy Points:
    178
    Location:
    Hebron, Oh.
    Ratings:
    +213
    This has revitalized the D3 for sure and made it a relevant device again.

    Sent from my DROID3 using Tapatalk 2
     
  13. lotzakritters
    Offline

    lotzakritters Member

    Joined:
    Jul 12, 2011
    Messages:
    224
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Whoo hooooo

    Sent from my DROID3 using Tapatalk 2
     
  14. ovelayer
    Offline

    ovelayer Rescue Squad Rescue Squad

    Joined:
    Mar 30, 2011
    Messages:
    558
    Likes Received:
    26
    Trophy Points:
    28
    Location:
    U.S
    Ratings:
    +26
    that's stellar
     
  15. jstafford1
    Offline

    jstafford1 DF Super Moderator Rescue Squad

    Joined:
    Nov 15, 2009
    Messages:
    9,139
    Likes Received:
    208
    Trophy Points:
    178
    Location:
    Hebron, Oh.
    Ratings:
    +213
    Beyond stellar

    Sent from my DROID3 using Tapatalk 2
     
Search tags for this page
bootloader bypass droid 4
,
bootloader bypass for droid 3
,
enabling kexec jelly bean droid bionic
,
how i bypass the my verizon motorola 2c 7c
,
how to bypass bootloader 2c.7c on old droid
,
kexec android bootloader
,

kexec bootloader bypass

,
unlock or bypass bootloader samsung stellar jellybean
,
verizon sch-1515 bypass lo