FORUMS
Remove All Ads from XDA

[UNIVERSAL] QuickBoot for CyanogenMod 12.0 / 12.1

3,569 posts
Thanks Meter: 30,871
 
Post Reply Email Thread
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
Attached Files
File Type: zip arter97-L-quickboot.zip - [Click for QR Code] (2.46 MB, 63204 views)
The Following 193 Users Say Thank You to arter97 For This Useful Post: [ View ]
 
 
14th April 2015, 12:39 PM |#2  
arter97's Avatar
OP Recognized Developer
Flag Seoul
Thanks Meter: 30,871
 
Donate to Me
More
Reserved
Reserved
The Following 24 Users Say Thank You to arter97 For This Useful Post: [ View ]
14th April 2015, 01:06 PM |#3  
kornelius1982's Avatar
Senior Member
Flag Tbilisi
Thanks Meter: 349
 
More
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
14th April 2015, 06:35 PM |#4  
icke's Avatar
Senior Member
Flag Ahaus
Thanks Meter: 1,204
 
More
So...I've downloaded the .zip...flashed it and activated on dev settings. Now...how to "quick boot"?
14th April 2015, 06:37 PM |#5  
Senior Member
Thanks Meter: 28
 
More
Quote:
Originally Posted by kornelius1982

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.
The Following User Says Thank You to gunde2014 For This Useful Post: [ View ] Gift gunde2014 Ad-Free
14th April 2015, 06:42 PM |#6  
Junior Member
Flag Cincinnati
Thanks Meter: 1
 
More
Does this work on any CM based ROM, such as AICP? It would be nice to know before I flash...
14th April 2015, 07:00 PM |#7  
kornelius1982's Avatar
Senior Member
Flag Tbilisi
Thanks Meter: 349
 
More
Quote:
Originally Posted by icke

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 ----------

Quote:
Originally Posted by gunde2014

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.
14th April 2015, 07:03 PM |#8  
icke's Avatar
Senior Member
Flag Ahaus
Thanks Meter: 1,204
 
More
Quote:
Originally Posted by kornelius1982

Long press power button and choose reboot.
I believe it's not as difficult as it seems.

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?!
14th April 2015, 07:17 PM |#9  
kornelius1982's Avatar
Senior Member
Flag Tbilisi
Thanks Meter: 349
 
More
Quote:
Originally Posted by icke

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.

Quote:

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.

The Following 2 Users Say Thank You to kornelius1982 For This Useful Post: [ View ] Gift kornelius1982 Ad-Free
14th April 2015, 09:01 PM |#10  
HorstiG's Avatar
Senior Member
Flag Banja Luka RS
Thanks Meter: 2,604
 
More
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.


Click image for larger version

Name:	Screenshot_2015-04-14-22-02-15.png
Views:	11342
Size:	202.3 KB
ID:	3262530
The Following 7 Users Say Thank You to HorstiG For This Useful Post: [ View ] Gift HorstiG Ad-Free
15th April 2015, 06:18 AM |#11  
bonny_k-9's Avatar
Senior Member
Flag Novocheboksarsk
Thanks Meter: 24
 
More
After downloading does not see the network.
Post Reply Subscribe to Thread

Tags
cyanogenmod, lollipop, quickboot

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes