[MOD]4-Way Reboot 2.1.13

Discussion in 'MIUI Mods' started by roenano, Apr 24, 2011.

?

Would you like this MOD without the reboot icon?

  1. icon

    81.9%
  2. no icon

    18.1%
  1. roenano

    roenano Members

    Trophy Points:
    55
    Note
    Dear Dev, if you want to include this mod into your rom, please give credit to all the people that made it possible by linking to this post, thanks!!

    Credits
    snq- for developing thr first 4 way reboot mod.
    ihtfp69 for porting it to MIUI
    aiccucs for bringing it to miui-dev and posting the tut.
    tka4ev for adapting it to GB
    Thanks to Andy Thomson's work there's an improved version of the mod!!
    Droid and SGS users will have three options only (Normal - Hot Boot - Recovery)
    SGS2 users will have Download instead of Bootloader
    All other users will get the normal 4 options.


    What this mod does...
    Allows you to reboot in the following ways by long pressing the power button:
    1. Normally
    2. Hot Reboot (Restarts the OS)
    3. Reboot directly to the bootloader (Fastboot)
    4. Reboot directly to recovery

    Installation:
    Flash ZIP from recovery.

    New
    Using "siam" script for multi-device mounting /system in recovery, so basically there shouldn't be any more need to mount it manually before flashing. If you encounter any issue while flashing, please let me know your device model.

    Update 1.11.25:
    Removed 'Reboot' text and icon in order to make the code less dependent and probably will make a tool for self apply on the coming weeks.


    Downloads:

    Last Build 2.1.13 V2:
    Normal:
    Long pressing the power button will prompt the reboot window no matter where you are (homescreen, app, menus, etc)

    Lockscreen only (LS_Only):
    - Build that will work from lockscreen only, meaning, long pressing the power button in any situation other than lockscreen will pull down the toggles curtain. For this to work you have to turn off the "Disable on lockscreen" switch in Button Settings under System tab.

    Link to my MediaFire folder:

    http://www.mediafire.com/?z1zvmi3mzn6wz

    ==============================================================



    [​IMG]

    [​IMG]
    ardiansyah likes this.
  2. Google Adsense

  3. SpunkyHeffer

    SpunkyHeffer Members

    Trophy Points:
    0
    Do I just install this via recovery like I would with anything else (ie install from zip)?

    **EDIT** Because there is not thank you button on this forum??? THANKS BLOODFLAME. Have not applied this mod in the past so wanted to be sure.
  4. Bloodflame

    Bloodflame Members

    Trophy Points:
    0
    Yes Spunky, flash via recovery :)

    Thank you very much roenano!



    Edit: You're welcome SpunkyHeffer. :D
  5. srimay

    srimay Members

    Trophy Points:
    26
    This isn't necessary for .22. Just hold down the power button is all you have to do.

    Sent from my ADR6300 using the miui-dev.com Forums App
  6. Bloodflame

    Bloodflame Members

    Trophy Points:
    0
    This has more options than MIUI has by default. MIUI by itself only allows a full reboot, while this mod will also allow a hot boot (OS only), reboot to recovery, reboot to bootloader, and the standard full reboot. hence the name, 4-way reboot.
  7. roenano

    roenano Members

    Trophy Points:
    55
    If you already have it, it was probably implemented into the rom mod you're using.
  8. tismo

    tismo Members

    Trophy Points:
    38
    This mod works flawlessly, thank you roenano!
  9. bobtsunam

    bobtsunam Members

    Trophy Points:
    0
    For some reason I can't get this to work. Flashed via recovery and wiped dalvik. Long pressing power still just brings the menu from the notification bar down. Only reboot and power are available. Any suggestions?

    <Blaze One>
  10. Adzidek

    Adzidek Members

    Trophy Points:
    0
    This suuucks. My power button used to bring up the notifications menu when held. After this it goes straight into the 4 way reboot menu.

    Question #1: can I undo this mod?
    Question #2: can this mod be changed so it only brings up the 4 way reboot menu *after* the notifications menu comes down and you hit 'reboot'?

    Sent from my SGH-I897 using the miui-dev.com Forums App
  11. Adzidek

    Adzidek Members

    Trophy Points:
    0
    AHHHH it killed my auto-rotate too! Is there a way to "un-mod" this please?
  12. Dead-I

    Dead-I Members

    Trophy Points:
    18
    Works perfectly with the 1.4.29 update.
  13. pesiran

    pesiran Members

    Trophy Points:
    26
    thanks man, u r awesome
  14. roenano

    roenano Members

    Trophy Points:
    55
    I never recommend flashing previous weeks mod into new one. The file that is edited is a system one and although the mod could work it can bring to another side effects. Be patient and always wait for a proper release.

    BTW, the new mod is up!!!
  15. Dead-I

    Dead-I Members

    Trophy Points:
    18
    Thanks for the warning, but I figured a nandroid backup would be enough incase something went wrong.

    Anyways thanks for the mod, hopefully this feature can get implemented into the stock rom.
  16. Bloodflame

    Bloodflame Members

    Trophy Points:
    0
    Great, thanks for the 1.4.29 update.

    Just a quick note, however. The title and post need to be updated to reflect the new version number. ;)
  17. Staggers

    Staggers Members

    Trophy Points:
    0
    Thanks for this mod.
  18. roenano

    roenano Members

    Trophy Points:
    55
    Done!



    Sent from my HTC Desire using the miui-dev.com Forums App
  19. srimay

    srimay Members

    Trophy Points:
    26
    It IS a 4-way reboot!! Press and hold the power button, then press reboot, then the 4-way reboot menu is displayed. I wouldn't waste my time posting in here if I didn't know what I was talking about!!! However, this mod was not included in the latest .29 release



    Sent from my ADR6300 using the miui-dev.com Forums App
  20. roenano

    roenano Members

    Trophy Points:
    55
    As I said before, this is NOT a stock tweak!!
    Apparently the dev behind the rom you're using is adding this feature built-in to the rom. It is not the case for most of the roms.
  21. gburt84

    gburt84 Members

    Trophy Points:
    0
    I can't get this to work on my Desire HD. Flashed zip using clockwork, cleared Dalvik but long pressing power button still only brings up the toggle menu. When i press reboot it just reboots the phone. No 4 way menu. What am i doing wrong or does this not work on the Desire HD?

Share Our Site