Add fast flag under primary

Fix AUDIO_OUTPUT_FLAG_FAST denied by client due to mismatching sample rate (48000 vs 44100) logcat spam.

Signed-off-by: dr87 <nb00870@gmail.com>
Automatically detect and set correct panel cmdline

This script will find the value given by the kernel with get_panel_maker_id

	LCD_RENESAS_LGD = 0,
	LCD_RENESAS_JDI = 1

The lcd_maker_id value is generated from the panel hardware, is always accurate and will always set the correct cmdline of your panel

This script can also simply be copy pasted for a kernel zip in loki.sh before the loki function. It has no other requirements besides the script itself since it directly searches and modifies the boot.img and doesn't require the boot.img to be unpacked.

Do not shorten the search function as we need to ensure only the cmdline is being changed and nothing in the actual kernel source.

Continue building the kernel with either the full lgd or jdi cmdline, the script will change the panel as needed.

Signed-off-by: dr87 <nb00870@gmail.com>
Revert "Automatically detect and set correct panel cmdline"

Fixing an error, don't merge original commit yet

This reverts commit 1c30e3070587489250d84ea41f027dc03f701812.
Automatically detect and set correct panel cmdline

This script will find the value given by the kernel with get_panel_maker_id

	LCD_RENESAS_LGD = 0,
	LCD_RENESAS_JDI = 1

The lcd_maker_id value is generated from the panel hardware, is always accurate and will always set the correct cmdline of your panel

This script can also simply be copy pasted for a kernel zip in loki.sh before the loki function. It has no other requirements besides the script itself since it directly searches and modifies the boot.img and doesn't require the boot.img to be unpacked.

Do not shorten the search function as we need to ensure only the cmdline is being changed and nothing in the actual kernel source.

Continue building the kernel with either the full lgd or jdi cmdline, the script will change the panel as needed.

Currently the script looks for the extracted boot.img in /tmp and /tmp/loki

Signed-off-by: dr87 <nb00870@gmail.com>
Merge remote-tracking branch 'upstream/master'