[MOD][5/7] - Advanced Power Menu - 1.55.605.2 Base - Odex / De-Odex

Search This thread

Scott

Retired Recognized Developer
Did anyone happen to test this with art if so did it give you any problems?

Sent from my HTC6525LVW using XDA Premium 4 mobile app

Yes, the original one I made does not work. I stated I recommend not trying. I dont know if Angio's will work. Maybe he can answer.

But I have not been successful at getting any modded files to work. But on the same not I havent really tried either, lol.
 
  • Like
Reactions: power950

Scott

Retired Recognized Developer
@AngioNicholai

I see some changes in the XML's.

Seems like they would be no problem but I may change them to stock Verizon and then use the stock meta-inf folder.


arrays.xml? Extra from SysUI Mod for brightness?
Code:
    <integer-array name="config_autoBrightnessLcdBacklightWebPatrickValuesDown">
        <item>1</item>
        <item>25</item>
        <item>50</item>
        <item>75</item>
        <item>100</item>
        <item>130</item>
        <item>160</item>
        <item>190</item>
        <item>220</item>
        <item>255</item>
    </integer-array>
    <integer-array name="config_autoBrightnessLcdBacklightModerateValues">
        <item>5</item>
        <item>20</item>
        <item>40</item>
        <item>55</item>
        <item>75</item>
        <item>100</item>
        <item>125</item>
        <item>180</item>
        <item>210</item>
        <item>255</item>
    </integer-array>
    <integer-array name="config_autoBrightnessLcdBacklightModerateValuesUp">
        <item>5</item>
        <item>20</item>
        <item>40</item>
        <item>55</item>
        <item>75</item>
        <item>100</item>
        <item>125</item>
        <item>180</item>
        <item>210</item>
        <item>255</item>
    </integer-array>
    <integer-array name="config_autoBrightnessLcdBacklightModerateValuesDown">
        <item>5</item>
        <item>20</item>
        <item>40</item>
        <item>55</item>
        <item>75</item>
        <item>100</item>
        <item>125</item>
        <item>180</item>
        <item>210</item>
        <item>255</item>
    </integer-array>
    <integer-array name="config_autoBrightnessLcdBacklightAgressiveValues">
        <item>1</item>
        <item>11</item>
        <item>23</item>
        <item>35</item>
        <item>48</item>
        <item>55</item>
        <item>80</item>
        <item>150</item>
        <item>200</item>
        <item>255</item>
    </integer-array>
    <integer-array name="config_autoBrightnessLcdBacklightAgressiveValuesUp">
        <item>1</item>
        <item>11</item>
        <item>23</item>
        <item>35</item>
        <item>48</item>
        <item>55</item>
        <item>80</item>
        <item>150</item>
        <item>200</item>
        <item>255</item>
    </integer-array>
    <integer-array name="config_autoBrightnessLcdBacklightAgressiveValuesDown">
        <item>1</item>
        <item>11</item>
        <item>23</item>
        <item>35</item>
        <item>48</item>
        <item>55</item>
        <item>80</item>
        <item>150</item>
        <item>200</item>
        <item>255</item>
    </integer-array>
    <integer-array name="config_autoBrightnessButtonBacklightOnValues">
        <item>255</item>
        <item>255</item>
        <item>255</item>
        <item>255</item>
        <item>255</item>
        <item>255</item>
        <item>255</item>
        <item>255</item>
        <item>255</item>
        <item>-1</item>
    </integer-array>
    <integer-array name="config_autoBrightnessButtonBacklightHighValues">
        <item>255</item>
        <item>255</item>
        <item>255</item>
        <item>255</item>
        <item>255</item>
        <item>255</item>
        <item>-1</item>
        <item>0</item>
        <item>0</item>
        <item>0</item>
    </integer-array>
    <integer-array name="config_autoBrightnessButtonBacklightLowValues">
        <item>255</item>
        <item>255</item>
        <item>-1</item>
        <item>0</item>
        <item>0</item>
        <item>0</item>
        <item>0</item>
        <item>0</item>
        <item>0</item>
        <item>0</item>
    </integer-array>
    <integer-array name="config_autoBrightnessButtonBacklightOffValues">
        <item>-1</item>
        <item>0</item>
        <item>0</item>
        <item>0</item>
        <item>0</item>
        <item>0</item>
        <item>0</item>
        <item>0</item>
        <item>0</item>
        <item>0</item>
    </integer-array>
    <integer-array name="config_autoBrightnessLcdBacklightWebPatrickValues">
        <item>1</item>
        <item>25</item>
        <item>50</item>
        <item>75</item>
        <item>100</item>
        <item>130</item>
        <item>160</item>
        <item>190</item>
        <item>220</item>
        <item>255</item>
    </integer-array>
    <integer-array name="config_autoBrightnessLcdBacklightWebPatrickValuesUp">
        <item>1</item>
        <item>25</item>
        <item>50</item>
        <item>75</item>
        <item>100</item>
        <item>130</item>
        <item>160</item>
        <item>190</item>
        <item>220</item>
        <item>255</item>
    </integer-array>



bools.xml; CRT Animation old school?
Code:
    <bool name="config_animateScreenLights">false</bool>

integers.xml; minor changes to animation duration?
Code:
    <integer name="config_shortAnimTime">100</integer>
    <integer name="config_mediumAnimTime">200</integer>
    <integer name="config_longAnimTime">250</integer>
    <integer name="status_bar_notification_info_maxnum">999</integer>
    <integer name="config_soundEffectVolumeDb">0</integer>
    <integer name="config_lockSoundVolumeDb">0</integer>

    <integer name="config_safe_media_volume_index">20</integer>
 

Scott

Retired Recognized Developer
Is there any more movement on adding this? Not asking for an ETA, and I know it's easy other ways, but I'm an old dog and too used to this trick.

TIA

No movement at all. I had planned to do it yesterday, my only day off, but said screw it. Slept all day instead. Maybe I can get it ported to our base tonight. In reality its a 15 minute job.

I was hoping he would further define the changes I listed above so I am not porting somone elses modded code not knowing what it does. Nor do I want to deviate from stock settings either.

I'll take a look tonight. Should be easy. I ill just port out the changes he made as noted above.
 
  • Like
Reactions: teddyearp

teddyearp

Senior Member
Jul 27, 2009
268
58
ted.servepics.com
Cool, thanks

I also wanted to point out that for me the odex version got me stuck on the VZW bootanimation, however I am sure it is because I am still on the 1.12.605.11 version of the stock ROM. All I've done so far is root, S-OFF, and flashed the latest radio and the 'stop OTA nag' file.

Used TWRP 2.7.0.2 to flash.
 

Scott

Retired Recognized Developer
Cool, thanks

I also wanted to point out that for me the odex version got me stuck on the VZW bootanimation, however I am sure it is because I am still on the 1.12.605.11 version of the stock ROM. All I've done so far is root, S-OFF, and flashed the latest radio and the 'stop OTA nag' file.

Used TWRP 2.7.0.2 to flash.

Yeah, you are running an older version so... That will boot loop. Part of this mod is changes to android.policy.jar. Needless to say that is a mega important file and if it is not signed with the correct ROM version (or someone hacks it to disable it) then you will have a non booting phone.

I think that may have been part of this issue with the second part of his hack.

I may look again though, just because... Who likes to quit?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 17
    Here is the Advanced Power Menu (APM) that gives additional reboot options as shown below.


    apm.png


    Odex is for the stock ROM or CleanROM.

    De-Odex is for the de-odex base'd ROMS. However, if you are running a de-odex based ROM it may be a custom ROM, and it may already have this! I do not recommend flashing this over any custom ROM without verifying it will work with your favorite ROM dev.


    My collection of 1.55.605.2 Based Stock ROMS are HERE! These mods work on both the odex and de-odex versions!

    Thanks to @AngioNicholai for originally porting this to the old base. I just ported it to the new base.

    Notes
    • I dont recommend this on ART mode!!!
    • This does not remove kid mode! You just need to delete the APK that is called "kid mode" for it to remove from the menu. I did not script it in as the intent of this mod was to add the reboot options :highfive:


    Download HERE!



    Hit Thanks and enjoy!



    :)
    2
    Nice, I can remove some copied modules now. If only it had screenshot option though, then it would be PERFECT.

    I hear ya!

    You can do a screenshot by holding Power and Home Key.

    But I may look into adding screenshot at a later time!
    2
    Do I need to do something to activate this? I have installed the zip but I'm still not seeing a different power menu.

    Did you press restart after holding power? Thats where the extra options are. You wont see anything different until you do that.
    2
    Nice, I can remove some xposed modules now. If only it had screenshot option though, then it would be PERFECT.

    Here is the Screenshot one, just ask scrosler to add it in a flashable zip for you guys!

    6sccwp.png
    2w70j1v.png
    2
    Yes, the original one I made does not work. I stated I recommend not trying. I dont know if Angio's will work. Maybe he can answer.

    But I have not been successful at getting any modded files to work. But on the same not I havent really tried either, lol.

    Will not work on ART, won't boot if flashed.