XDA Picks: Best Apps of the Week (June 27 – July 4)

Apps are at the front and center of any smartphone experience, and with over a … more

HTC One M9 Developer Edition Android 5.1 OTA

The Developer Edition of the HTC One M9 is receiving an over-the-air update to Android 5.1. … more

Index Project For XDA Device Subforums

Another ambitious project from the collaborative efforts of Recognized Contributors and Forum … more

The Atlas of XDA

A few weeks ago, we asked you “How Does Your Location Affect Your Life As A Power User?”. In the days that … more

[Recovery] [05/10/14] [Unofficial] CWM & TWRP for HTC Desire 300

68 posts
Thanks Meter: 37
By 4m8, Member on 28th August 2014, 12:07 PM
Post Reply Subscribe to Thread Email Thread
Unofficial CWM & TWRP for HTC Desire 300 (g3u)

device_htc_g3u v0.77b (05/10/14)

fixed double buffering for twrp
(graphics.c tamed once more, still with 0% overscan involved)
device_htc_g3u v0.77b (25/9/14)
rearranged entries in recovery.fstab
(to speed up manual mounting via recovery menu)
fixed sideload's driver log spam
(errors are only surpressed but it should do the trick)
fixed ext-sd log spam
(blinkfeed-data repurposed as ext-sd)
device_htc_g3u v0.7b (28/8/14)

fixed double buffering
(graphics.c tamed with 0% overscan involved)
fixed stability issues
(cwm's ueventd.rc was evil and a worthy foe)

Full Disclosure
This is my first android project, so go easy on me.

Project Status CWM
Main Features are working.
(Tested by factory resetting my device, installing CM10 and reverting back to my backup)

Project Status TWRP
It's still completly untested. So please let me know if everything works as expected.
(Since it's based on the same boardconfig as cwm chances are very high that it'll work fine)

[CWM] md5 check is slow (by design? missing crypto mods?) [no priority]

Use at you own risk.
I can not be held accountable for any damage you might cause to your device if you decide to flash this file.

Your mission, if you choose to accept it, is to infiltrate the bootloader and meet the contact fastboot.
Initiate a conversation by saying fastboot flash recovery recovery.img and wait for his response.
End the conversation with fastboot reboot-bootloader and navigate to the exfiltration point recovery.

Special Thanks
go out to whoever actually fixed the framebuffer issue by teaching minui how to properly align the frames for double buffering.


Once peace has returned to the source and I feel like it, I'll upload it on git.

HTC's gnarly Kernel (compiled by root@abm026)
Source: N/A (currently not released on htc-dev)
Compiler: GCC 4.6.x-google 20120106 (prerelease)
Branch: Android 4.1.2
Kernel Version: 3.4.0-g4f2c010

compiled by 4m8
(When I think of Maureen I think of two things: asphalt... and trouble.)
Last edited by 4m8; 5th October 2014 at 07:37 PM. Reason: now with 77% more touch
The Following 4 Users Say Thank You to 4m8 For This Useful Post: [ View ]
27th September 2014, 06:58 PM |#2  
Senior Member
Flag Lemgo
Thanks Meter: 30
Make it flashable throughout CWM? also, is it possible to load backups i made with PhilZ CWM v. ?
27th September 2014, 08:14 PM |#3  
4m8's Avatar
OP Member
Thanks Meter: 37
I have no clue if they work. but knowing that philz is just a variation of cwm and the backups should be just misnamed tar archives.
I guess they could. It's worth a try.
Worst thing that can happen is that it won't boot until you restore a different backup you hopefully made before you started such an attempt
28th September 2014, 10:18 AM |#4  
Senior Member
Flag Lemgo
Thanks Meter: 30
I simply flashed your recovery now and I#M now making a Backup with yours
Your Recovery is already better bc it doesnt have this annoying bug with the jumping screen
28th September 2014, 11:06 AM |#5  
Senior Member
Flag Zadar
Thanks Meter: 30
Is it possible to upgrade new CWM through old PhilZ CWM v. or I have to use ADB?
28th September 2014, 12:14 PM |#6  
Senior Member
Flag Zagreb
Thanks Meter: 122
You have to use adb (fastboot)
28th September 2014, 12:48 PM |#7  
Senior Member
Flag Zadar
Thanks Meter: 30
Originally Posted by luxb

You have to use adb (fastboot)

Thanks for info.
The Following User Says Thank You to ffroms For This Useful Post: [ View ]
5th October 2014, 07:23 PM |#8  
4m8's Avatar
OP Member
Thanks Meter: 37
TWRP is now available but I didn't have the time to fully test it.
Please let me know if everything is working fine.

Also I've yet to find out how to pack recoverys as flashable zips as it was requested, so I guess you'll still need fastboot to get it running.
This shouldn't be that big of a deal since I'm not updating the recoverys that often anyways.
The Following 3 Users Say Thank You to 4m8 For This Useful Post: [ View ]
10th October 2014, 04:38 PM |#9  
Senior Member
Flag Lemgo
Thanks Meter: 30

I thought this might help you sooner or later.
Due to my expedition into the lands of an unrestorable backup with mismatching md5sums, I conquered this tool

it can halp you in mainly 2 ways
  1. regenrating md5sums (just in case something goes wrong like in my case, you'll need it)
  2. Convert TWRP backups into CWM backups and Vice Versa
this is actually really neat, as you dont have to switch between both recoveries anymore
This is a Freemium app, means not all features are free, but the available features in the free version are good enough, the Premium features are Nice to have

hope i can help
The Following User Says Thank You to LukeHorizon For This Useful Post: [ View ]
10th October 2014, 06:21 PM |#10  
junk031's Avatar
Senior Member
Flag Osijek
Thanks Meter: 58
Guys, is TWRP tested now, is it working properly?
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes