Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
amazinglarry311
Old
(Last edited by amazinglarry311; 10th April 2011 at 10:09 PM.) Reason: the eagle has landed
#1  
amazinglarry311's Avatar
Senior Member - OP
Thanks Meter 269
Posts: 488
Join Date: Apr 2010
Default [Recovery] ClockworkMod 2.5.1.7 offmode charging

thanks go to damien667 for the method, brswattt and ladios for being brave and testing.

DOWNLOAD:
clockworkmod-2.5.1.7-liberty-offmode-charging.zip

Instructions:
unzip the recovery image and use your specific devices installation procedure for recovery.

This is a custom clockworkmod recovery 2.5.1.7 that allows you to finally turn off your phone and allow it to charge instead of it booting right back into clockwork.

a detailed explanation on how this is acheived is HERE

This recovery only has a modified ramdisk, functionality and use is the same as clockworkmod 2.5.1.7 official.

enjoy.

now i'm off to fix the DHD recovery.

EDIT: manually installing is the only option at the moment, thanks gruss.

stupid s-on.

ROM MANAGER should have the latest recovery image available with a fix for powering off and charging, thread will stay up for hostorical reference but these images are no longer required, it is always recommended to upgrade to the current version of rom manager and cwm that your rom requires

sometimes we go outside to get inside
My G2 Files
The Following 7 Users Say Thank You to amazinglarry311 For This Useful Post: [ Click to Expand ]
 
DanGeorges
Old
#2  
DanGeorges's Avatar
Senior Member
Thanks Meter 41
Posts: 484
Join Date: Apr 2009
Location: Cleveland
Quote:
Originally Posted by amazinglarry311 View Post
I need one experienced user to test this recovery image.

The mod performed is the same one done to the the g2 and mt4g and works flawlessly on the recovery images I have posted altering recovery to allow charge while the phone is off and not boot to clockworkmod.

If you do not know how to flash recovery images manually through fastboot or from a rom do not continue.

If you do not know how to recover from a bad recovery flash do not continue.

This image is untested as I do not have access to an aria. Be warned.

Danger should be low, please understand I do not accept liability in the very very small chance something goes horribly wrong.

If you are not sufficiently scared yet, please test and let me know if it works, if not working please stand by, flash back to your previous recovery image, and I will post a fix.

Thanks go to damien667 for figuring it out.


Attachment 562769

if people are using cwm 3.x i can modify that as well.
Lots of views - no takers yet...
I'm sure many would find this very useful. If anyone has a "spare" Aria, or is really brave (I have neither a spare nor the guts), please check it out.

.
 
amazinglarry311
Old
#3  
amazinglarry311's Avatar
Senior Member - OP
Thanks Meter 269
Posts: 488
Join Date: Apr 2010
Bad recovery flash won't kill your phone.

Oh well.

sometimes we go outside to get inside
My G2 Files
 
drowningchild
Old
#4  
drowningchild's Avatar
Senior Member
Thanks Meter 324
Posts: 1,079
Join Date: Jul 2010
Location: West Allis,Wisconsin

 
DONATE TO ME
we cant replace the recovery with out unrooting and redoing unrevoked
still need s-off
-LG E-970- Codefire X
-Galaxy S2 i777- CyanogenMod 10.1
-Kindle Fire- CyanogenMod 10.1 SGT7-Linaro
-Infuse MTD- CyanogenMod 10
-HTC Liberty- CyanogenMod 9
Usually on IRC Freenode(#paincroom)!
Don't forget to hit the THANKS!
My Github
 
amazinglarry311
Old
(Last edited by amazinglarry311; 7th April 2011 at 05:46 PM.) Reason: Swype predictive text blows
#5  
amazinglarry311's Avatar
Senior Member - OP
Thanks Meter 269
Posts: 488
Join Date: Apr 2010
I thought you could do a temporary flash that doesn't stick. I suppose that's problematic as the device has to be turned off to test the mod. Go figure. The threads here for when someone wants to try it out, I can only think of two potential issues that would cause this not to work. Does anyone have a link to an OTA recovery image in img form for the aria? I'll google it, but if anyone knows please answer.

sometimes we go outside to get inside
My G2 Files
 
ladios
Old
(Last edited by ladios; 7th April 2011 at 07:19 PM.)
#6  
ladios's Avatar
Senior Member
Thanks Meter 60
Posts: 186
Join Date: Oct 2009
Flashed, not working. When it booted into recovey, it stayed on the htc screen, no menu was shown. `adb devices` showed that it's in recovery mode, though. Used adb shell to look around, everything's there but no /etc/fstab... can't mount anything.

hk-froyo-ota-recovery-image.zip md5sum: 0d44b10cbb8f1d6d40e68b522e578042


Although I did unroot in order to flash it, I think it might be ok to run unrevoked on sense 2.1 or 2.2 rom to do the job.


edit: wow, ota pops up! never throught i would see that again.

INFO/htcCheckinService(80): Started a new update download: http://fotadl.htc.com/OTA_Liberty_Fr...pm7szkle1k.zip
Attached Files
File Type: zip hk-froyo-ota-recovery-image.zip - [Click for QR Code] (2.95 MB, 173 views)
The Following 2 Users Say Thank You to ladios For This Useful Post: [ Click to Expand ]
 
DanGeorges
Old
#7  
DanGeorges's Avatar
Senior Member
Thanks Meter 41
Posts: 484
Join Date: Apr 2009
Location: Cleveland
Quote:
Originally Posted by ladios View Post
Flashed, not working. When it booted into recovey, it stayed on the htc screen, no menu was shown. `adb devices` showed that it's in recovery mode, though. Used adb shell to look around, everything's there but no /etc/fstab... can't mount anything.

hk-froyo-ota-recovery-image.zip md5sum: 0d44b10cbb8f1d6d40e68b522e578042


Although I did unroot in order to flash it, I think it might be ok to run unrevoked on sense 2.1 or 2.2 rom to do the job.
Thank you for testing this, Ladios!
 
amazinglarry311
Old
#8  
amazinglarry311's Avatar
Senior Member - OP
Thanks Meter 269
Posts: 488
Join Date: Apr 2010
Awesome, thanks for the test. I'm guessing it's the ueventd binary that isnt needed. i'll know in about five seconds after i pull apart the OTA recovery.

Thanks for testing, i'll have another one up in a jiffy.

sometimes we go outside to get inside
My G2 Files
 
amazinglarry311
Old
(Last edited by amazinglarry311; 8th April 2011 at 05:46 PM.)
#9  
amazinglarry311's Avatar
Senior Member - OP
Thanks Meter 269
Posts: 488
Join Date: Apr 2010
yup. init.rc was calling a binary (ueventd) that isnt required.

try this one out:
EDIT: removed see bottom of the post

Sorry guys, this would be way easier if i had one.

These are the same changes aligned with the other mods i've done:

basically the OTA recovery contains four binaries not found in CWM

detect_key
power_test
offmode_charging
choice_fn

the init.rc on the original OTA recovery calls these binaries when plugged in and off, the recovery kernel should load but keeping the phone off and in a charging state. adb will should available in this mode as well.

a better explanation was in the mt4g thread: http://forum.xda-developers.com/show...99&postcount=3

EDIT: removed, found resources needed.

please test. and thank you. this mod is in response to a request by gruss at the CM forum to see if the same mod could be applied.


EDIT: the OTA recovery that was posted did not contain some resources, give me five minutes... i found the original RUU and the recovery image there has everything i need. filesize increase is due to inclusion of offmode_charging_images that i found in the original OTA recovery.

EDIT: REMOVED - test succesful see first post.

this one really should work. i have pretty good faith in it..

If not, it looks like the mod works with some recoveries and not all. i may attempt one more time, but i dont want to waste people's time here.

sometimes we go outside to get inside
My G2 Files
The Following User Says Thank You to amazinglarry311 For This Useful Post: [ Click to Expand ]
 
brswattt
Old
#10  
brswattt's Avatar
Senior Member
Thanks Meter 57
Posts: 556
Join Date: Nov 2010
Location: Spring, TX

 
DONATE TO ME
Quote:
Originally Posted by amazinglarry311 View Post
yup. init.rc was calling a binary (ueventd) that isnt required.

try this one out:
EDIT: removed see bottom of the post

Sorry guys, this would be way easier if i had one.

These are the same changes aligned with the other mods i've done:

basically the OTA recovery contains four binaries not found in CWM

detect_key
power_test
offmode_charging
choice_fn

the init.rc on the original OTA recovery calls these binaries when plugged in and off, the recovery kernel should load but keeping the phone off and in a charging state. adb will should available in this mode as well.

a better explanation was in the mt4g thread: http://forum.xda-developers.com/show...99&postcount=3

EDIT: removed, found resources needed.

please test. and thank you. this mod is in response to a request by gruss at the CM forum to see if the same mod could be applied.


EDIT: the OTA recovery that was posted did not contain some resources, give me five minutes... i found the original RUU and the recovery image there has everything i need. filesize increase is due to inclusion of offmode_charging_images that i found in the original OTA recovery.

Attachment 563263

this one really should work. i have pretty good faith in it..

If not, it looks like the mod works with some recoveries and not all. i may attempt one more time, but i dont want to waste people's time here.
This does indeed work The screen is a little dim though when it's charging.
Feel free to send me a PM anytime if you need help.
Also, pop in chat if you need help.
http://webchat.freenode.net/?channels=#liberatedAria
HTC Aria Running Liberated Aria 2.2.2 OC'd @ 806 mHz

-Dylan

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...