Post Reply

FlipDroidMod2.2 dev stopped no device links dead (mods plz delete)

7th June 2011, 03:40 AM   |  #21  
silent_bob52637's Avatar
OP Senior Member
Flag edinburgh
Thanks Meter: 41
 
199 posts
Join Date:Joined: Jul 2010
More
Quote:
Originally Posted by sahack

Hmm... arm crash... that sounds like some hardware problems... ouch.

So far I am sure that charge_only_mode is what displays the big battery screen when you plug in the phone while the phone's off.


could we possibly insert a recovery with script to boot the recovery when plugged in
what does the current recovery apk do to boot it
7th June 2011, 03:56 AM   |  #22  
Member
Flag Tinajin, China
Thanks Meter: 8
 
36 posts
Join Date:Joined: Jan 2011
More
Ha! I'm in luck!

Just to demonstrate the work, I re-used portions of the hack by Dexter_nlb to load Tenfar's CWM based recovery.

remount the /system read write (terminal emulator or adb or whatever), copy the original one to /system/bin/charge_only_mode.bin replace /system/bin/charge_only_mode with the one in the package(which is a shell script). Create an empty file named 'recovery_mode' in the root directory of the sdcard if you want to boot into the recovery.

Power off the phone and then plug in the AC adapter( NOT the usb on your PC, or it will boot the android os). The recovery should show up.

So far I don't think the mod is worth much, but I guess it would be handy when android refused to boot and we can't get into the recovery using Tenfar's bootstrap app.
Attached Files
File Type: zip charge_only_mode.mod.zip - [Click for QR Code] (42.8 KB, 62 views)
Last edited by sahack; 7th June 2011 at 04:00 AM.
The Following User Says Thank You to sahack For This Useful Post: [ View ]
7th June 2011, 04:00 AM   |  #23  
silent_bob52637's Avatar
OP Senior Member
Flag edinburgh
Thanks Meter: 41
 
199 posts
Join Date:Joined: Jul 2010
More
does your script work cuz if it does i would add it to my rom as emergency recovery
you would receive sum credit for the script

it would be cool to be able to say
if you can charge it you can fix it
Last edited by silent_bob52637; 7th June 2011 at 04:02 AM. Reason: spelling
7th June 2011, 04:13 AM   |  #24  
Member
Flag Tinajin, China
Thanks Meter: 8
 
36 posts
Join Date:Joined: Jan 2011
More
Quote:
Originally Posted by silent_bob52637

does your script work cuz if it does i would add it to my rom as emergency recovery
you would receive sum credit for the script

it would be cool to be able to say
if you can charge it you can fix it

tested and works on my phone at least. install the bootstrap recovery first and then apply this mod. BTW, I don't think the original recovery hack mounts the /system read-write, but I'm pretty sure this one does.
7th June 2011, 04:20 AM   |  #25  
silent_bob52637's Avatar
OP Senior Member
Flag edinburgh
Thanks Meter: 41
 
199 posts
Join Date:Joined: Jul 2010
More
Quote:
Originally Posted by sahack

tested and works on my phone at least. install the bootstrap recovery first and then apply this mod. BTW, I don't think the original recovery hack mounts the /system read-write, but I'm pretty sure this one does.

well i'll add it to the rom and include the bootstrap recovery
as an emergency recovery access feature then
also it should work for other devices in theory as long as recovery is in the same place
7th June 2011, 04:25 AM   |  #26  
Member
Flag Tinajin, China
Thanks Meter: 8
 
36 posts
Join Date:Joined: Jan 2011
More
As far as I can see:
Current issues:
1. mount/unmount is still a problem
2. when you hit reboot in the recovery while AC power plugged, it reboots you into recovery again.
7th June 2011, 04:34 AM   |  #27  
silent_bob52637's Avatar
OP Senior Member
Flag edinburgh
Thanks Meter: 41
 
199 posts
Join Date:Joined: Jul 2010
More
no problem once i have my flipout i will try and fix it
if you could keep trying tho it would be great
how big is our system partition anyway
also does it have the power down option at the bottom (in recovery)
7th June 2011, 04:43 AM   |  #28  
silent_bob52637's Avatar
OP Senior Member
Flag edinburgh
Thanks Meter: 41
 
199 posts
Join Date:Joined: Jul 2010
More
Quote:
Originally Posted by sahack

As far as I can see:
Current issues:
1. mount/unmount is still a problem
2. when you hit reboot in the recovery while AC power plugged, it reboots you into recovery again.

could you test the boot animation for me links in post 2
7th June 2011, 04:55 AM   |  #29  
Member
Flag Tinajin, China
Thanks Meter: 8
 
36 posts
Join Date:Joined: Jan 2011
More
Quote:
Originally Posted by silent_bob52637

no problem once i have my flipout i will try and fix it
if you could keep trying tho it would be great
how big is our system partition anyway
also does it have the power down option at the bottom (in recovery)

Don't see the power down option anywhere.

The system is around 175MB, according to the boot command line passed to the kernel it is 182656k, a bit more than 178MB. However, I wonder what took up so much space, since most of my android builds are around 100MB or so.
7th June 2011, 05:01 AM   |  #30  
silent_bob52637's Avatar
OP Senior Member
Flag edinburgh
Thanks Meter: 41
 
199 posts
Join Date:Joined: Jul 2010
More
the partition is that big to support varied sizes of system.imgs
plus custom roms are stripped down most of the time afaik
Last edited by silent_bob52637; 7th June 2011 at 05:06 AM.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes