[FX-MOD][SENSE] Reboot option in power menu 3-in-1

Search This thread

snq-

Retired Recognized Developer
Aug 13, 2010
581
853
uses htc widgets. minimal footprint (check out the patch).
enjoy

--
flashable zips for _deodexed_ roms: (do not flash them over odexed ones. if in doubt, consult your chef)
 

Attachments

  • spmrd_shot01.jpg
    spmrd_shot01.jpg
    31.9 KB · Views: 16,527
  • spmrd_shot02.jpg
    spmrd_shot02.jpg
    22 KB · Views: 14,140
  • sense_powermenu_rebootdlg_2.09.405.8.zip
    89.4 KB · Views: 1,330
  • sense_powermenu_rebootdlg_2.12.911.1.zip
    89.9 KB · Views: 327
  • sense_powermenu_rebootdlg_2.10.406.2.zip
    89.4 KB · Views: 1,909
  • sense_powermenu_rebootdlg_2.13.707.1.zip
    89.9 KB · Views: 371
  • sense_powermenu_rebootdlg_2.14.207.1.zip
    89.9 KB · Views: 1,618
  • sense_powermenu_rebootdlg_2.10.751.3.zip
    89.4 KB · Views: 832
Last edited:

snq-

Retired Recognized Developer
Aug 13, 2010
581
853
as the source code for htc's _heavily_ modified and extended android framework is not publicly available, implementing features like this isn't that straightforward as it is for aosp-based roms
i took the 2.2_r1.1 aosp sources, coded the reboot entry with the dialog (directly into the power menu to maintain a mininal footprint), created dummy stubs for external htc framework references, looked up and hardcoded htc string/icon resource ids, fiddled with the code until it barely compiled
then i baksmali'd my own build, took only the relevant changes, and injected them into the baksmali'd original
 

Attachments

  • sense_powermenu_rebootdlg.patch.7z
    2 KB · Views: 867

ganjbass

Senior Member
May 14, 2009
226
19
Flashed on MCR 9

Finnaly booted :p :)))
Take more than first time boot after flash the rom :p

Very nice work! Thanks!
 
Last edited:

stoned99

Senior Member
Aug 14, 2010
456
63
2.10.406.2, just added

Really nice! That's what I was looking for!
I now have the reboot option in my AuraxTSense 7.6 I flashed 2.12.911.1 at first because I didn't know which one to use and it worked flawlessly. Now flashing the version 2.10.406.2 since it seems that's the one you are saying it's the one compatible with AuraxTSense

Thanks a lot. I'm really happy now. My rom now has everything I wanted :D
 

snq-

Retired Recognized Developer
Aug 13, 2010
581
853
Please provide some more instructions

  • check your framework build number (settings -> about phone -> software information)
  • select the package matching your build number
  • flash it in recovery mode (first boot may take quite a long time)

compatibility issues

may interfere with other mods on android.policy.jar. ask your rom's chef about risks and side effects

which ROMs should this work with

this is only for deodexed sense-based roms
 
Last edited:

pascanu

Senior Member
Jan 22, 2009
553
54
Tg. Mures
nevermind i got it. it seems to be an odexed, thus not moddable one, sorry

Oooohhh... Well, thanks anyway.
Do you think there should be any side effect now that I flashed it? Everything looks OK (reboot took very little, not like everybody else is reporting, like nothing changed) but do you think I should reflash/nandroid restore?
 

Alex-V

Inactive Recognized Developer
Aug 26, 2008
9,516
5,256
Finnaly booted :p :)))
Take more than first time boot after flash the rom :p

Very nice work! Thanks!


Ok.. i will try it again..i broke up...because i think it stay on the quietly brilliant screen...hope it works...sounds great ;)

with kind regards..Alex
 

teorouge

Senior Member
Jul 29, 2008
2,599
293
39
Trento
I'd really like to try that but can't download 2.10... I do with 2.12 and 2.09 though, don't know why. Anyway thanks, this is much appreciated! ;)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    uses htc widgets. minimal footprint (check out the patch).
    enjoy

    --
    flashable zips for _deodexed_ roms: (do not flash them over odexed ones. if in doubt, consult your chef)
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone