Skip to content

temasek/android

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

TEMASEK

Official Notice

I have officially retired with effective 20 August 2016.

I thank those whom had supported me all these years.

I "may" continue just syncing cm sources until such day when CM goes into N.

Farewell ....

Download the Source

Please see the CyanogenMod Wiki for building instructions.

Initializing Repository

Repo initialization:

$ repo init -u https://github.com/temasek/android.git -b cm-13.0

sync repo :

$ repo sync

Temasek Bootanimation

Setting Aspect Ratio (TARGET_SCREEN_ASPECT_RATIO)

Modern devices have excellent screens and most if not all boot animations from source do not take advantage of this. Devices have a set aspect ratio such as 16:9, 16:10, etc based on their width and height We can take advantage of this to create high quality full screen boot animations Within your device tree either in cm.mk, device.mk, or for example hlte.mk (for Samsung Galaxy Note 3 International) you will have "TARGET_SCREEN_HEIGHT" & "TARGET_SCREEN_WIDTH" These numbers should correspond to things such as 720p, 1080p, 1440p, in lamens terms.

If so, your device is said to have a screen aspect ratio of 16:9 Under your TARGET_SCREEN_HEIGHT & TARGET_SCREEN_WIDTH values place the corresponding ratio as follows:

TARGET_SCREEN_ASPECT_RATIO := 16by9

(this will also work with 16:10) This is device independant in that it will choose the correct full screen bootanimation for either phone or tablet config

Further, the device requires a qualifier in the same location.

SCREEN_RATIO_PROPORTIONATE := true

This line is used as a conditioner flag, which allows the full screen boot animations to be seperated, allows to have more than 1 aspect ratio and not clutter up vendor with multiple ifeq statements that are for the same thing.

This condition flag will essentially 'turn on' the full screen boot animation and the TARGET_SCREEN_ASPECT_RATIO flag will tell the build from what ratio the boot animation will be selected from.

Credits

Google for the Android source code. CyanogenMod, in which this source layout was used as a starting point for me. Everyone in crDroid, AOSPA, CyanogenMod, OmniROM, SlimROM, LiquidSmooth, SpasilliumNexus, DirtyUnicorns, NamelessROM, AICP, Euphoria-OS, TeamBliss, PAC and anyone else I forgot to mention for their commits.

Special mention - Cristiano Matos (crDroid)

PartimusPrime - Official bootanimation creator for temasek builds (CM11/CM12)

Contributors - Khaon, neobuddy89, rogersb11 (Brett Rogers)

About

Misc Android stuff

Resources

Stars

Watchers

Forks

Packages

No packages published