User:Halamix2/test
Appearance
Getting stuff from stock Android
Or what info I had to check before porting, examples from HMD Global Nokia 1 Plus (nokia-ant)
Prerequisites
- If bootloader can be unlocked and unlocking it
Android apks
Find an app that can print some data bout your device (RAM, resolution etc.) I've used Device Info HW+. That way I was able to determne that my phone should have hardware acceleration for MP3, GMS audio and following video formats: AVC, H264, HEVC, MPEG2, MPEG4, VPX, VP9, VC1, XVID; and it has hardware acceleration for AVC, H263, MPEG4 encoding.
Boot options
Sanity check if bootloader injects any cmdline boot params
// to compare with boot.img/kernel compile options if nothing gets added by the boot process
$ adb shell cat /proc/cmdline
// if the file is unavailable (newer Androids) you can make full bugrepots, which takes several minutes, and it should contain current cmdline
$ adb bugreport
// default kernels options were
// console=tty0 console=ttyMT3,921600n1 root=/dev/ram vmalloc=496M slub_max_order=0 slub_debug=O
// default boot.img options were
// bootopt=64S3,32S1,32S1 buildvariant=user