Jump to content


[HELP] ADD REBOOT & RECOVERY OPTION TO POWER TAB

- - - - -

  • Please log in to reply
4 replies to this topic

#1
tillaz

tillaz

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 4,898 posts
  • Gender:Male
  • Location:Googleplex
  • Interests:--------------- Egocentric predicament
  • Devices:Nexus 4
ok, i am trying to add the reboot & recovery options to the power menu (the pop up when turning phone off)

but its not going very well for me,

trying to follow this  http://forum.xda-dev...ad.php?t=811532


or this (but without the download option) http://forum.xda-dev...ad.php?t=811532

there both not for zte devices or gingerbread so there kind of hard to follow &  i'm not the best at editing .dex
(first attempt with this)

so if anyone would like to have a go & can get it done it would really help me out & be a nice feature for the bluemonte  rom ..... Posted Image

Edited by tillaz, 14 October 2011 - 03:55 PM.

Posted Image Posted Image Posted Image


#2
t0mm13b

t0mm13b

    Hardcore

  • MoDaCo Ad Free
  • PipPipPipPipPipPip
  • 1,775 posts
  • Gender:Male
  • Location:Ireland
  • Devices:GT-S8500,Zte Blade,SE ST15i
  • Twitter:@t0mm13b
Have you tried the Java decompiler found here?

OR the long way,  download the entire android repo source and tweak the code that makes up both the framework.jar and policy.jar and rebuild the entire thing (be warned - the repo source is about 4.3Gb, when compiled to make up a android system of 100Mb or so... :lol:)

B)

try{ not_laugh; }catch{ FAIL; }finally{ laugh; }

#3
tillaz

tillaz

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 4,898 posts
  • Gender:Male
  • Location:Googleplex
  • Interests:--------------- Egocentric predicament
  • Devices:Nexus 4

View Postt0mm13b, on 11 October 2011 - 05:25 PM, said:

Have you tried the Java decompiler found here?

OR the long way,  download the entire android repo source and tweak the code that makes up both the framework.jar and policy.jar and rebuild the entire thing (be warned - the repo source is about 4.3Gb, when compiled to make up a android system of 100Mb or so... :lol:)

B)

thanks, will try the java decomplier Posted Image

Posted Image Posted Image Posted Image


#4
tillaz

tillaz

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 4,898 posts
  • Gender:Male
  • Location:Googleplex
  • Interests:--------------- Egocentric predicament
  • Devices:Nexus 4
if anyone would like to have a go getting this done i'v updated the first post with the guids i have been trying to follow  Posted Image

Posted Image Posted Image Posted Image


#5
t0mm13b

t0mm13b

    Hardcore

  • MoDaCo Ad Free
  • PipPipPipPipPipPip
  • 1,775 posts
  • Gender:Male
  • Location:Ireland
  • Devices:GT-S8500,Zte Blade,SE ST15i
  • Twitter:@t0mm13b
Uhmmm.... This feature is found in the CyanogenMod 7 ROM and built in... ;)

Might be the way to go :)

try{ not_laugh; }catch{ FAIL; }finally{ laugh; }




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users