[UNIVERSAL] QuickBoot for CyanogenMod 12.0 / 12.1

arter97

Recognized Developer
Oct 14, 2012
3,762
33,726
263
23
Seoul
QuickBoot for CyanogenMod 12.0 / 12.1​

/* Info */

QuickBoot is a Cyanogen OS feature developed by Qualcomm and Cyanogen for OnePlue One.
The goal is to reduce the boot-up time drastically by altering the shutdown / boot-up sequence.

See QuickBoot in action :
https://www.youtube.com/watch?v=sWAvPwZDXKM
https://www.youtube.com/watch?v=aHaZSY_yad4

Rather than turning down the device completely,
QuickBoot turns the device into Airplane mode, kills the applications, disables notification and button reactions,
similar to how Windows 8 does.
Note that "reboot" actions remains normal, meaning the device will go into full shutdown / restart on reboot actions.

But because of the device is not completely off, devices with removable battery should use this with caution
as pulling off the battery during QuickBoot active can potentially cause data loss.
For devices with removable battery, I personally recommend using "reboot" and wait for the screen to go off and then quickly replace the battery if needed.

The battery drain during QuickBoot is active is equal to the state of all applications killed & airplane mode.

This version of QuickBoot is taken from CyanogenMod 12S and modified to support Android 5.1 and fix several NullPointerExceptions.

/* Disclaimer */

Your warranty is now void.
I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this file
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.

This can potentially brick your device if the ROM does not have a proper support for QuickBoot.
Backup any valuable data before preceding.

/* Supported ROMs */

CyanogenMod 12.0 userdebug builds built later than 20141202
CyanogenMod 12.0 user builds built later than 20141202
CyanogenMod 12.1 userdebug builds
CyanogenMod 12.1 user builds
Other CyanogenMod 12.0 / 12.1 based ROMs that has QuickBoot support (Most does if it's built in 2015)

/* Supported devices */

Pretty much every devices that has CyanogenMod 12.0 / 12.1 ported "stably"
Devices that does not suffer issues from Airplane mode
Devices that does not suffer issues from death-sleeps

/* Installation */

1. Download QuickBoot.zip from XDA attachments section
2. Flash the downloaded zip file from the recovery
3. Enable QuickBoot from Developers options
 

Attachments

Last edited:

gunde2014

Senior Member
Jan 25, 2015
119
29
0
Great!
Testing now, but it seems it`s causing bootloop on ks01lte CM12.1 by you.
However, there`s strange thing going on, `Android upgrading` screen pops out for tenth of a sec and disappears during bootlooop
Did you wipe cache and wipe dalvik? In recovery after you flashed? That should get you out of your soft brick boot loop.
 
  • Like
Reactions: mopundit1

kornelius1982

Senior Member
Dec 6, 2012
1,263
352
0
38
Tbilisi
www.overclockers.ge
So...I've downloaded the .zip...flashed it and activated on dev settings. Now...how to "quick boot"?
Long press power button and choose reboot.
I believe it's not as difficult as it seems.

---------- Post added at 10:00 PM ---------- Previous post was at 09:57 PM ----------

Did you wipe cache and wipe dalvik? In recovery after you flashed? That should get you out of your soft brick boot loop.
Yep, I did wipe.
 

kornelius1982

Senior Member
Dec 6, 2012
1,263
352
0
38
Tbilisi
www.overclockers.ge
Are U trying to kidding me?! There is a "quick reboot" when I long press power button. And when I hit it's same as soft reboot. So what?!
No offense, it was just a joke, ;)
Quick boot feature is better described in OP.

Rather than turning down the device completely,
QuickBoot turns the device into Airplane mode, kills the applications, disables notification and button reactions,
similar to how Windows 8 does.
Note that "reboot" actions remains normal, meaning the device will go into full shutdown / restart on reboot actions.
 

HorstiG

Senior Member
Mar 14, 2013
4,843
2,715
253
Banja Luka RS
Thank you, works super with Galaxy S5, CM12 Fusion ROM,

With Xposed Modul APM (Advancet Power Menu+) I have now 2 Options. Power Off Stock with the mode Quick Boot, and the old original Power Off. Great realy great.

I dont´flash the App, I have copied to root / system / priv-app / and after restart I have it in the developer setting.

And best of all, the alarm will still work.


Screenshot_2015-04-14-22-02-15.png
 
Last edited:

bipinbedi

Senior Member
Apr 20, 2011
791
253
0
New Delhi
Excellent Work

arter97 this one works flawlessly on temasek9.4(CM12). Brilliant work buddy, only thing that has made me sad is that you have withdrawn support for CM12 kernel, as I don't want to move to CM12.1 until xposed is properly available.
 
  • Like
Reactions: HorstiG

voxibanez

Senior Member
Sep 3, 2010
99
31
48
Works great on unofficial CM12.1 for Galaxy S5.
One thing that I would like to see would be the end of the boot animation be played instead of the beginning. When I turn the phone back on it plays the beginning of the animation for a second and then just cuts to the lock screen.