Skip to content

trader418/android

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

This is a FORK of Temaseks rom, kept up to date with cm-13.0's source.

TEMASEK

This project is WORKS-IN-PROGRESS (WIP), not ready for use.

Download the Source

Please see the CyanogenMod Wiki for building instructions.

Initializing Repository

Repo initialization:

$ repo init -u https://github.com/trader418/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)

Temasek HEAD of optimizations - arter97 (And advisor to kernel, device trees)

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

Contributors - Khaon, neobuddy89, rogersb11 (Brett Rogers)

Officially Recognized Device Maintainers

arter97 (flo, ks01lte)

katinatez (Bacon)

joshndroid (lte03wifi, mako, Nexus 9 Wifi, Nexus 6p, bullhead)

apascual89 (hammerhead, Nexus 6p)

kornfed (klte)

Darkened_Sky (i9300)

Trafalgar-Square (N7100, shieldtablet)

neobuddy89 (Shamu)

trader418 (hlte/hltespr/hltevzw)

About

Misc Android stuff

Resources

Stars

Watchers

Forks

Packages

No packages published