5,605,373 Members 39,567 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
regaw_leinad
Old
(Last edited by regaw_leinad; 10th October 2013 at 08:11 AM.)
#1  
regaw_leinad's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 3576
Posts: 3,652
Join Date: Jan 2010
Location: Seattle, WA
Arrow RegawMOD Bootloader Customizer Plugin | HTC Devices with S-OFF | 10.09.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.

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
Device: HTC One (AT&T)
Recovery:TWRP 2.6.3.0 | Bootloader: S-OFF
ROM: Stock



My Development Threads

Watch my programming tutorials on YouTube - BetterCoder
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 30 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 3576
Posts: 3,652
Join Date: Jan 2010
Location: Seattle, WA
Reserved.....
Device: HTC One (AT&T)
Recovery:TWRP 2.6.3.0 | Bootloader: S-OFF
ROM: Stock



My Development Threads

Watch my programming tutorials on YouTube - BetterCoder
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 5 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 1378
Posts: 1,363
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 3576
Posts: 3,652
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 One (AT&T)
Recovery:TWRP 2.6.3.0 | Bootloader: S-OFF
ROM: Stock



My Development Threads

Watch my programming tutorials on YouTube - BetterCoder
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 ]
 
Captain_Throwback
Old
#5  
Captain_Throwback's Avatar
Retired Moderator / Recognized Contributor
Thanks Meter 7733
Posts: 9,055
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 One (M8)/831C | Hardware Version: 0005

Baseband: 1.05.20.0321_2 | PRI: 1.52_003 | PRL: 52100
Recovery: TWRP 2.7.0.7

Device 2: HTC Jewel/PJ75100 (EVO 4G LTE) | Hardware Version: 0003

Baseband: 1.13.11.1105 | PRI: 3.02_003 | PRL: 56018
Recovery: TWRP 2.7.0.6b

Device 3: HTC Shooter/PG86100 (EVO 3D) | Hardware Version: 0002
Baseband: 1.09.00.0108 | PRI: 1.55_003 | PRL: 22100
Recovery: TWRP 2.6.3.0

Device 4: HTC Supersonic/PC36100 (EVO 4G) | Hardware Version: 0004
Baseband: 2.15.00.01.15 | PRI: 2.33_003 | PRL: 40460
Recovery: TWRP 2.7.0.6
 
regaw_leinad
Old
#6  
regaw_leinad's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 3576
Posts: 3,652
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 One (AT&T)
Recovery:TWRP 2.6.3.0 | Bootloader: S-OFF
ROM: Stock



My Development Threads

Watch my programming tutorials on YouTube - BetterCoder
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 3576
Posts: 3,652
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 One (AT&T)
Recovery:TWRP 2.6.3.0 | Bootloader: S-OFF
ROM: Stock



My Development Threads

Watch my programming tutorials on YouTube - BetterCoder
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
#8  
regaw_leinad's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 3576
Posts: 3,652
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 One (AT&T)
Recovery:TWRP 2.6.3.0 | Bootloader: S-OFF
ROM: Stock



My Development Threads

Watch my programming tutorials on YouTube - BetterCoder
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 3576
Posts: 3,652
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 One (AT&T)
Recovery:TWRP 2.6.3.0 | Bootloader: S-OFF
ROM: Stock



My Development Threads

Watch my programming tutorials on YouTube - BetterCoder
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: 288
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!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes