Skip to content

Instantly share code, notes, and snippets.

@handymenny
Created October 28, 2018 19:59
Show Gist options
  • Save handymenny/a623cdcaf89c0aee7b3a91ed12c8dc4a to your computer and use it in GitHub Desktop.
Save handymenny/a623cdcaf89c0aee7b3a91ed12c8dc4a to your computer and use it in GitHub Desktop.
System/etc/startupflag_checkpoints.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
List of checkpoints for StartupFlag application
The following attributes are applicable to all checkpoints:
id - ID of the checkpoint. More info at
https://wiki.sonyericsson.net/androiki/PLD_System_Core/Startup_Flag_Service#Checkpoints
name - Name of the checkpoint. More info at
https://wiki.sonyericsson.net/androiki/PLD_System_Core/Startup_Flag_Service#Checkpoints
status - Status of the checkpoint:
"disabled" - checkpoint disabled and should not be reached;
"enabled" - checkpoint enabled and should be reached;
"conditional" - checkpoint enabled, but can be disabled. For example if related hardware
was not detected in the phone (NFC, Felica, etc.).
The following attributes are only applicable to certain types of checkpoints:
Checkpoint name: Attribute:
MEDIA_SCANNER_FINISHED count - minimum count of media scanner finished intents, which triggers
checkpoint reached state.
-->
<Checkpoints>
<Checkpoint id="1" name="BOOT_COMPLETED" status="enabled"/>
<Checkpoint id="2" name="MEDIA_SCANNER_FINISHED" status="enabled" count="2"/>
<Checkpoint id="3" name="TOUCH_CONFIRMED" status="enabled"/>
<Checkpoint id="5" name="NFC_CHIP_READY" status="conditional"/>
<Checkpoint id="6" name="EARLY_CRASH_DETECTION" status="enabled"/>
<Checkpoint id="8" name="MODEM_STARTED" status="enabled"/>
<Checkpoint id="10" name="NO_CAMERA_FILES" status="enabled"/>
<Checkpoint id="11" name="NV_LOADED" status="enabled"/>
<Checkpoint id="14" name="SUSPEND_RESUME_CHECK" status="enabled"/>
<Checkpoint id="15" name="GPU_CHECK_FINISHED" status="enabled"/>
<Checkpoint id="16" name="ANDROID_ATTEST_KEY_PROVISIONING" status="enabled"/>
</Checkpoints>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment