New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
regaw_leinad
Old
(Last edited by regaw_leinad; 14th June 2013 at 07:46 AM.)
#1  
regaw_leinad's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 3306
Posts: 3,517
Join Date: Jan 2010
Location: Seattle, WA
Arrow RegawMOD Bootloader Customizer Plugin | HTC Devices with S-OFF | 06.13.13

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 2010.

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.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 - 33667848f3056aaef9cda074086f4d0e

Source code
Github
Device: HTC EVO 4G LTE | Hardware Version: 0003
Recovery:TWRP 2.3.3.0 | Bootloader: S-OFF
ROM: CM10.1



My Development Threads

Watch my programming tutorials on YouTube - BetterCoder
Hosting a YouTube Giveaway? Use my new application GiveMeAway
I'm also a professional musician - YouTube - SoundCloud


Please don't post just to say "Thanks" - There's a button for that . Be sure to use it!
The Following 26 Users Say Thank You to regaw_leinad For This Useful Post: [ Click to Expand ]
 
regaw_leinad
Old
#2  
regaw_leinad's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 3306
Posts: 3,517
Join Date: Jan 2010
Location: Seattle, WA
Reserved.....
Device: HTC EVO 4G LTE | Hardware Version: 0003
Recovery:TWRP 2.3.3.0 | Bootloader: S-OFF
ROM: CM10.1



My Development Threads

Watch my programming tutorials on YouTube - BetterCoder
Hosting a YouTube Giveaway? Use my new application GiveMeAway
I'm also a professional musician - YouTube - SoundCloud


Please don't post just to say "Thanks" - There's a button for that . Be sure to use it!
The Following 4 Users Say Thank You to regaw_leinad For This Useful Post: [ Click to Expand ]
 
wwjoshdew
Old
(Last edited by wwjoshdew; 19th July 2012 at 11:46 PM.)
#3  
wwjoshdew's Avatar
Recognized Contributor
Thanks Meter 842
Posts: 1,209
Join Date: Dec 2008
Location: KCMO
RESERVED!
http://www.youtube.com/user/wwjoshdew

Below are links to some of the devices I've done videos on,
Behold... The Sprint HTC One: http://goo.gl/3Q6nP
Transformer Prime TF201: http://goo.gl/GtxzA
Galaxy Note II L900: http://goo.gl/06zdk
Galaxy S III L710: http://goo.gl/0X5KW
Galaxy Nexus: http://goo.gl/rxUgv
EVO 4G LTE: http://goo.gl/VaoeU
EVO 3D: http://goo.gl/rmdoA
 
regaw_leinad
Old
#4  
regaw_leinad's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 3306
Posts: 3,517
Join Date: Jan 2010
Location: Seattle, WA
Updated OP with new links to updated version of plugin, I had to add support for a few more devices in the HTC_DEVICE enum and added a few more fields.

Also, spread the word about this. This will only work and go big if people develop plugins for it!
Device: HTC EVO 4G LTE | Hardware Version: 0003
Recovery:TWRP 2.3.3.0 | Bootloader: S-OFF
ROM: CM10.1



My Development Threads

Watch my programming tutorials on YouTube - BetterCoder
Hosting a YouTube Giveaway? Use my new application GiveMeAway
I'm also a professional musician - YouTube - SoundCloud


Please don't post just to say "Thanks" - There's a button for that . Be sure to use it!
The Following 3 Users Say Thank You to regaw_leinad For This Useful Post: [ Click to Expand ]
 
Captain_Throwback
Old
#5  
Captain_Throwback's Avatar
Retired Moderator / Recognized Contributor
Thanks Meter 3723
Posts: 6,933
Join Date: Aug 2008
Location: Bensalem, PA

 
DONATE TO ME
Nice work, Dan.

I think I'm going to try this for the OG EVO .
Device 1: HTC Shooter/PG86100 (EVO 3D) | Hardware Version: 0002

Baseband: 1.09.00.0108 | PRI: 1.55_003 | PRL: 22095
Recovery: 4EXT Recovery Touch v1.0.0.5 RC9


Device 2: HTC Supersonic/PC36100 (EVO 4G) | Hardware Version: 0003
Links to my guides and other helpful information:

Baseband: 2.15.00.01.15 | PRI: 2.33_003 | PRL: 61092
Recovery: TWRP 2.5.0.0

Device 3: HTC Jewel/PJ75100 (EVO 4G LTE) | Hardware Version: 0003
Baseband: 1.12.11.1210 | PRI: 2.97_003 | PRL: 16013
Recovery: TWRP 2.5.0.0
 
regaw_leinad
Old
#6  
regaw_leinad's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 3306
Posts: 3,517
Join Date: Jan 2010
Location: Seattle, WA
Updated OP with new build of the Tester application as well as new plugin template zip (if you already built one, it will still work). Got rid of using MEF for the plugins, I just wrote my own easier system.
Device: HTC EVO 4G LTE | Hardware Version: 0003
Recovery:TWRP 2.3.3.0 | Bootloader: S-OFF
ROM: CM10.1



My Development Threads

Watch my programming tutorials on YouTube - BetterCoder
Hosting a YouTube Giveaway? Use my new application GiveMeAway
I'm also a professional musician - YouTube - SoundCloud


Please don't post just to say "Thanks" - There's a button for that . Be sure to use it!
The Following 3 Users Say Thank You to regaw_leinad For This Useful Post: [ Click to Expand ]
 
regaw_leinad
Old
(Last edited by regaw_leinad; 18th July 2012 at 08:38 AM.)
#7  
regaw_leinad's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 3306
Posts: 3,517
Join Date: Jan 2010
Location: Seattle, WA
Dang, just realized I left out a few fields I needed to be in the plugin. New version coming soon. And yes, you will have to rebuild your plugin to make it compatible.
Device: HTC EVO 4G LTE | Hardware Version: 0003
Recovery:TWRP 2.3.3.0 | Bootloader: S-OFF
ROM: CM10.1



My Development Threads

Watch my programming tutorials on YouTube - BetterCoder
Hosting a YouTube Giveaway? Use my new application GiveMeAway
I'm also a professional musician - YouTube - SoundCloud


Please don't post just to say "Thanks" - There's a button for that . Be sure to use it!
The Following 2 Users Say Thank You to regaw_leinad For This Useful Post: [ Click to Expand ]
 
regaw_leinad
Old
#8  
regaw_leinad's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 3306
Posts: 3,517
Join Date: Jan 2010
Location: Seattle, WA
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.
Device: HTC EVO 4G LTE | Hardware Version: 0003
Recovery:TWRP 2.3.3.0 | Bootloader: S-OFF
ROM: CM10.1



My Development Threads

Watch my programming tutorials on YouTube - BetterCoder
Hosting a YouTube Giveaway? Use my new application GiveMeAway
I'm also a professional musician - YouTube - SoundCloud


Please don't post just to say "Thanks" - There's a button for that . Be sure to use it!
The Following 2 Users Say Thank You to regaw_leinad For This Useful Post: [ Click to Expand ]
 
regaw_leinad
Old
#9  
regaw_leinad's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 3306
Posts: 3,517
Join Date: Jan 2010
Location: Seattle, WA
Updated OP with new download. Got rid of the need to reference the external dll to create the plugin. Now you just reference the application itself (included in zip).
Device: HTC EVO 4G LTE | Hardware Version: 0003
Recovery:TWRP 2.3.3.0 | Bootloader: S-OFF
ROM: CM10.1



My Development Threads

Watch my programming tutorials on YouTube - BetterCoder
Hosting a YouTube Giveaway? Use my new application GiveMeAway
I'm also a professional musician - YouTube - SoundCloud


Please don't post just to say "Thanks" - There's a button for that . Be sure to use it!
The Following 4 Users Say Thank You to regaw_leinad For This Useful Post: [ Click to Expand ]
 
terrormattie
Old
#10  
Account currently disabled
Thanks Meter 69
Posts: 289
Join Date: Mar 2009
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!