RegawMOD Bootloader Customizer Plugin | HTC Devices with S-OFF | 10.09.13

Search This thread

regaw_leinad

Inactive Recognized Developer
Jan 30, 2010
3,667
3,787
Seattle, WA
www.regawmod.com
Description
This post contains the information and the Visual Studio 2010 solution zip file
to create a plugin for the newly re-released RegawMOD Bootloader Customizer.

Once you create your plugin, please either pm me, or post in the RM Bootloader Customizer's thread
with your completed plugin, so I can add it to post #2's List of Plugins!

Current enum of known devices (not all may compatible with this tool though)

Usage
This ReadMe is a block comment in the BootloaderPlugin class that you have to modify.
All you need to do is follow these steps to create your plugin. This all takes place in Microsoft Visual Studio.

Code:
/*
 * RegawMOD Bootloader Customizer Plugin Template ReadMe
 * 
 * 1.  Make sure the external reference to 'RegawMOD Bootloader Customizer.exe' is correct and valid.
 * 2.  In the Project Properties window, change the following to your own values:
 *      - Assembly Name
 *      - Default Namespace
 *      - Information in 'Assembly Information...'
 * 3.  Change the namespace of this class to the same as your Default Namespace you just defined
 * 4.  Drag and Drop your hboot.img (rename your image to hboot.img) and android-info.txt to the root of the project
 *     in the Solution Explorer, overwriting the placeholder hboot.img and android-info.txt files.
 * 5.  Make sure they are set to "Embedded Resource" in their properties window.
 * 6.  Edit ONLY the private fields below to match your configurations
 * 7.  Build and deploy your dll under the "Release" configuration
 */
Requirements
.NET 4.0
Microsoft Visual Studio 2010/2012 (any version) - Get Express Here
HTC device with S-OFF bootloader

Changelog
Version 2.1 | 10.09.13
  • Add Verizon HTC One support
Version 2.2.2 | 06.10.13
  • Added support for HTC One varieties
Version 2.2 | 02.18.13
  • Support for Droid DNA and HTC One series

Download Latest Release
Bootloader Plugin Template.zip

Download Info
Bootloader Plugin Template.zip MD5 - f8a4f4b1dc5b6ce8958af06c044036b7

Source code
Github
 
Last edited:

regaw_leinad

Inactive Recognized Developer
Jan 30, 2010
3,667
3,787
Seattle, WA
www.regawmod.com
I'm making great progress on this. I removed the need to reference an external dll to create the plugin, now you just need to reference the application itself as I implemented the plugin interface into it. This cuts back on a lot of confusion, as well as keeps it more organized. I'll put out an updated version tomorrow (Wednesday the 18th) and a whole new plugin zip.
 

terrormattie

Senior Member
Mar 24, 2009
288
68
I have succesfully build an custom dll an loaded it into the .exe.

When I click the create zip button it tells me it hasnt been implented yet, how do I build the zip then? Thank you!
 

regaw_leinad

Inactive Recognized Developer
Jan 30, 2010
3,667
3,787
Seattle, WA
www.regawmod.com
I have succesfully build an custom dll an loaded it into the .exe.

When I click the create zip button it tells me it hasnt been implented yet, how do I build the zip then? Thank you!
The actual program is in the final testing phase, as stated in the OP, the one included in the zip is just a tester application. I should be releasing the full application very soon, as I have successfully built a zip for the EVO 4G LTE with it.
 

Captain_Throwback

Recognized Developer
The actual program is in the final testing phase, as stated in the OP, the one included in the zip is just a tester application. I should be releasing the full application very soon, as I have successfully built a zip for the EVO 4G LTE with it.
For other devices - will the S-OFF method matter? The OG EVO is an mtd device, and Revolutionary flashes a custom HBOOT to the device. However, it can be overwritten just by hex-editing an unmodified HBOOT to a higher number than Revolutionary.

Will that affect how the program works?

-----------
Current Device: HTC EVO 4G LTE | ROM: Chaos | Kernel: Stock (3.0.8-01368-g6fdcee1)
 

regaw_leinad

Inactive Recognized Developer
Jan 30, 2010
3,667
3,787
Seattle, WA
www.regawmod.com
For other devices - will the S-OFF method matter? The OG EVO is an mtd device, and Revolutionary flashes a custom HBOOT to the device. However, it can be overwritten just by hex-editing an unmodified HBOOT to a higher number than Revolutionary.

Will that affect how the program works?

It won't actually affect the program if you get all of the details correct. If you can flash an unsigned PC36IMG.zip on the EVO, then this should work.

I have no idea what im doing, but i wanna use this... the config directions are very vague, how do i copy my hboot.img and android text files and wow... im so lost

If you're familiar with Visual Studio, then just drag and drop the hboot image and android-info.txt file into the root directory of the project in the Solution Explorer. Creating this plugin shouldn't be too hard, I thought the instructions weren't too technical.




I'm going to have a build of the full application out soon.
 
  • Like
Reactions: Ratleme

regaw_leinad

Inactive Recognized Developer
Jan 30, 2010
3,667
3,787
Seattle, WA
www.regawmod.com

terrormattie

Senior Member
Mar 24, 2009
288
68
In the last test version the max chars for the banner text was still 16 regardless of the settings. Hope this will be fixed in your release tonight.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 33
    Description
    This post contains the information and the Visual Studio 2010 solution zip file
    to create a plugin for the newly re-released RegawMOD Bootloader Customizer.

    Once you create your plugin, please either pm me, or post in the RM Bootloader Customizer's thread
    with your completed plugin, so I can add it to post #2's List of Plugins!

    Current enum of known devices (not all may compatible with this tool though)

    Usage
    This ReadMe is a block comment in the BootloaderPlugin class that you have to modify.
    All you need to do is follow these steps to create your plugin. This all takes place in Microsoft Visual Studio.

    Code:
    /*
     * RegawMOD Bootloader Customizer Plugin Template ReadMe
     * 
     * 1.  Make sure the external reference to 'RegawMOD Bootloader Customizer.exe' is correct and valid.
     * 2.  In the Project Properties window, change the following to your own values:
     *      - Assembly Name
     *      - Default Namespace
     *      - Information in 'Assembly Information...'
     * 3.  Change the namespace of this class to the same as your Default Namespace you just defined
     * 4.  Drag and Drop your hboot.img (rename your image to hboot.img) and android-info.txt to the root of the project
     *     in the Solution Explorer, overwriting the placeholder hboot.img and android-info.txt files.
     * 5.  Make sure they are set to "Embedded Resource" in their properties window.
     * 6.  Edit ONLY the private fields below to match your configurations
     * 7.  Build and deploy your dll under the "Release" configuration
     */
    Requirements
    .NET 4.0
    Microsoft Visual Studio 2010/2012 (any version) - Get Express Here
    HTC device with S-OFF bootloader

    Changelog
    Version 2.1 | 10.09.13
    • Add Verizon HTC One support
    Version 2.2.2 | 06.10.13
    • Added support for HTC One varieties
    Version 2.2 | 02.18.13
    • Support for Droid DNA and HTC One series

    Download Latest Release
    Bootloader Plugin Template.zip

    Download Info
    Bootloader Plugin Template.zip MD5 - f8a4f4b1dc5b6ce8958af06c044036b7

    Source code
    Github
    9
    Updated this based on the latest HBOOTs from the OTAs just released for the Sprint M8s, and updated Bootloader Customizer to reflect new version. Nothing big, but I figured I may as well.
    New plugin for latest HBOOT version for Sprint M8 (3.18.0.0000). Included the app in the zip as well, as I have previously. I only did one plugin this time to save space (I doubt anyone will notice if the build date is slightly off). It should work on both the "regular" and Harman Kardon versions.

    Any issues, let me know.
    9
    @regaw_leinad

    Can you add the Sprint One (M8) to the HTC_DEVICE enum list? M8WHL. Thanks!

    EDIT: I used your source and compiled the Bootloader Customizer with M8WHL added so I could complete the plugin, but I assume unless everyone is using the version I built that the data won't load properly, correct?

    EDIT 2: Also, you might want to have the dev text filled in with spaces (20) rather than with 00, as the latter can cause issues on newer devices. Spaces are safer.
    Since I know there are some Sprint M8 users waiting for this, I'm going to upload it here.

    The attached zip includes the version of the Bootloader Customizer that I compiled with M8WHL added to the enum so that the plugin gets picked up. Also included are plugins for the latest M8WHL HBOOTs (3.16.0.0000) packaged with the Sprint M8 and M8 Harman Kardon Edition. For whichever device you have, delete the other plugin (they both show up the same in the app, so only one can be used).

    All credit goes to @regaw_leinad of course, for his tool and great instructions. All I did was compile it.
    8
    New plugin for latest HBOOT version for Sprint M8 (3.18.0.0000). Included the app in the zip as well, as I have previously. I only did one plugin this time to save space (I doubt anyone will notice if the build date is slightly off). It should work on both the "regular" and Harman Kardon versions.

    Any issues, let me know.
    Same drill, updated for HBOOT 3.19.0.0000. Will work on Sprint M8 & HKE.