[Q]Reboot option in power menu

lollazzo

Senior Member
Oct 15, 2009
403
38
0
second post of the thread

source code, porting to other htc devices:

due to the nature of the hack (patching a htc-modified, closed source framework lib) there is no "source code" for it
obviously, i also can't provide a smali patch applicable for any framework version / htc device
for reference, i've attached the smali patch for my own device/setup
it doesn't take a great deal to understand it, porting should be relatively straightforward. you should also take into account that string/icon resource ids may vary between different framework versions, and that some versions don't support com.android.internal.app.ShutdownThread.reboot()

sense_powermenu_rebootdlg-4in1_bravofx2.x.patch.7z


hd version:
here
 

TeCH-Guruz

Senior Member
Feb 17, 2009
267
29
0
Salford
second post of the thread
Useful reading but there are other how to guides on how to do it just got to the final step on one of them and the last file I had to edit is not on the legend well it is but instead of 1 file it has been split into 10 different files and the coding is written differently.