[MOD] Reboot Options in Power Menu [4.0.2.A.0.42]

Search This thread

AdamTt

Senior Member
Jun 24, 2010
89
252
This enables you to reboot the phone from the power menu :)


device20110924124033.png
device20110924124048.png



Reboot Options
Reboot - Reboot phone normally
Fastboot - Reboot into FASTBOOT mode (requires conected to pc with installed fastboot drives)

Download Links (please do not mirror)

[Latest - 4.0.2.A.0.42]
RebootOptions_4.0.2.A.0.42


[Old - 4.0.1.A.0.283]
RebootOptions_4.0.1.A.0.283


Istallation:
Copy .zip to sdcard
Flash .zip in recovery


Note: By replacing framework-res.apk you will remove any previously installed themes. And if you install another mod (framework-res.apk) you will need to copy back your stock android.policy.jar and framework.jar.
 
Last edited:

im_iceman

Senior Member
Apr 7, 2010
2,196
130
Alsager
Yes..but you need to put it into system folder first.. Change perms then move to correct folder..also ensure you're using correct version for your rom.

Sent from The Arc!
 

007Arc

Senior Member
May 21, 2011
164
24
Yes..but you need to put it into system folder first.. Change perms then move to correct folder..also ensure you're using correct version for your rom.

Sent from The Arc!

I did exactly what u say. I had also the correct verion. But I only tried the the root explorer method.

Sent from my LT15i using Tapatalk
 
  • Like
Reactions: Rycon33

NiMH_999

Senior Member
Apr 19, 2011
144
48
Another way to do it is using the terminal ( i don't like to press power button)

Start terminal then type su then type reboot
 

BluechipJ

Senior Member
Jun 27, 2009
476
300
Toronto
You should update your list of commands. framework-res.apk should be last because once it changes, your phone automatically reboots and you can't run the other commands.

However, I still can't get it to work on my Rogers-branded, rooted arc.
2.3.2, 3.0.A.2.181

Using the following commands:
Code:
adb push android.policy.jar /sdcard/android.policy.jar
adb push framework.jar /sdcard/framework.jar
adb push framework-res.apk /sdcard/framework-res.apk

adb shell
su

mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system
dd if="/sdcard/framework.jar" of="/system/framework/framework.jar"
dd if="/sdcard/android.policy.jar" of="/system/framework/android.policy.jar"
dd if="/sdcard/framework-res.apk" of="/system/framework-res.apk"

chmod 644 "/system/framework-res.apk"
mv "/system/framework-res.apk" "/system/framework/framework-res.apk"
Just boot loops.
 
Last edited:

AdamTt

Senior Member
Jun 24, 2010
89
252
You should update your list of commands. framework-res.apk should be last because once it changes, your phone automatically reboots and you can't run the other commands.

However, I still can't get it to work on my Rogers-branded, rooted arc.
2.3.2, 3.0.A.2.181

Using the following commands:
Code:
adb shell
su
adb push android.policy.jar /sdcard/android.policy.jar
adb push framework.jar /sdcard/framework.jar
adb push framework-res.apk /sdcard/framework-res.apk

mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system
dd if="/sdcard/framework.jar" of="/system/framework/framework.jar"
dd if="/sdcard/android.policy.jar" of="/system/framework/android.policy.jar"
dd if="/sdcard/framework-res.apk" of="/system/framework-res.apk"

chmod 644 "/system/framework-res.apk"
mv "/system/framework-res.apk" "/system/framework/framework-res.apk"
Just boot loops.

oh sorry, missed that.. Fixed now.

Thats strange, it worked last time i checked.. But i will flash back to .181 tomorrow, and test it again :)
 

BluechipJ

Senior Member
Jun 27, 2009
476
300
Toronto

l'ec

New member
May 10, 2011
4
0
Stockholm
Hey dude! Thanks alot!! It worked great. Found a possible bug though.. Could just be my unit but when using the widget for toggling backlight on and off the screen locks. Could be something or not. Just my 2 cents :D Keep up the great work man!!!

(I'm on .181)
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 38
    This enables you to reboot the phone from the power menu :)


    device20110924124033.png
    device20110924124048.png



    Reboot Options
    Reboot - Reboot phone normally
    Fastboot - Reboot into FASTBOOT mode (requires conected to pc with installed fastboot drives)

    Download Links (please do not mirror)

    [Latest - 4.0.2.A.0.42]
    RebootOptions_4.0.2.A.0.42


    [Old - 4.0.1.A.0.283]
    RebootOptions_4.0.1.A.0.283


    Istallation:
    Copy .zip to sdcard
    Flash .zip in recovery


    Note: By replacing framework-res.apk you will remove any previously installed themes. And if you install another mod (framework-res.apk) you will need to copy back your stock android.policy.jar and framework.jar.
    3
    Thanks for the uploads,

    Please test this, and see if it works :)
    3
    Updated for new FW [4.0.1.A.0.283]

    Regards :)
    3
    pleasa be more specified, does this support for unlocked boot or locked boot?
    thanks.

    Doesn't matter, as long as you are rooted. Only easier for unlock booloader coz you can just easily flash the zip file thru recovery. For lock bootloader with root, unzip the file reboot_options.zip from first post. Then manually place those 3 files to /system folder, set permissions 644, then move the 3 files to /system/framework folder(move it together or one by one as long as the last file you move is framework-res.apk). Reboot and that's it.

    Sent from my LT15i using XDA Premium App
    2
    Hy,

    Can someone upload the framework files from latest firmware?

    and i will update this mod :)

    Regards