[ROM][Android9.0] Android P firmware released



New version released.


why the support for 2560x1440 resolution is disabled? I have it on first start on the “erase” screen but it switch back to 1920x1080 after reboot. The May image was fine.



another question. I must say the cpu runs very hot (with big heatsink) on android 9 compared to the linaro image. Is there is no power saving or something an the android 9 image?


Android 9 RK filters 2560x1440 by default.
Reference: /system/usr/share/resolution_white.xml
We will try to add in later versions.

linaro image? Can you elaborate on it?
Do you think Android 9 is hotter than Android7(all other things being equal)?

I was noticing some increased CPU load (and heat) from com.rockchips.mediacenter. Since I don’t use it, I just disabled it pm disable com.rockchips.mediacenter and temperature went down. Now idling at;

# cat /sys/devices/virtual/thermal/thermal_zone?/temp

Edit for those trying to compare temperatures… that’s a Rock960C with a modified AB heat sink case, so it won’t be directly comparable to RockPi4: https://store.vamrs.com/collections/rock960/products/metal-case-for-rock960

@Lili :

I’ve been finding it to be a problem that the console disconnects early in the boot.

The kernel is configured to put the console on ttyFIQ0;

# cat /proc/cmdline                                                                                                                                      
storagemedia=sd androidboot.mode=normal androidboot.dtbo_idx=1 root=PARTUUID=dea56848-7334-409d-a484-aed61e98819a androidboot.verifiedbootstate=orange androidboot.slot_suffix= androidboot.serialno=d1a806d913c70dbe console=ttyFIQ0 androidboot.baseband=N/A androidboot.wificountrycode=US androidboot.veritymode=enforcing androidboot.hardware=rk30board androidboot.console=ttyFIQ0 firmware_class.path=/vendor/etc/firmware init=/init rootwait ro init=/init loop.max_part=7 androidboot.selinux=permissive earlycon=uart8250,mmio32,0xff1a0000 swiotlb=1 coherent_pool=1m

But there is no such device;

# ls /dev
__properties__ cg2_bpf         dri            graphics    iep         loop-control     network_latency    ptmx   rtc0      tty   uhid          vpu_service 
ashmem         console         event-log-tags hdmi_hdcp1x iio:device0 mali0            network_throughput pts    rtkbt_dev ttyS0 uinput        xt_qtaguid  
binder         cpu_dma_latency fd             hwbinder    input       mem              null               random snd       ttyS2 urandom       zero        
block          cpuctl          fscklogs       i2c-0       keychord    memcg            opteearmtz00       rfkill socket    ttyS3 usb-ffs       
bus            cpuset          full           i2c-4       kmsg        memory_bandwidth pmsg0              rga    stune     ttyS4 usb_accessory 
cec0           device-mapper   fuse           i2c-9       kmsg_debug  mtp_usb          ppp                rkvdec sw_sync   tun   vndbinder     

Based on the u-boot configuration, it looks like it should be on 0xFF1A0000, which is ttyS2, so probably should be parameters as;
console=ttyS2,1500000n8 androidboot.console=ttyS2

no worry, i will check this with some future power measurements because the feeling of heatsink says nothing but here are some snapshots of the temperature outputs:

linaro image


android 9


It USES tty2.

	fiq_debugger: fiq-debugger {
		compatible = "rockchip,fiq-debugger";
		rockchip,serial-id = <2>;
		rockchip,wake-irq = <0>;
		rockchip,irq-mode-enable = <0>;  /* If enable uart uses irq instead of fiq */
		rockchip,baudrate = <1500000>;  /* Only 115200 and 1500000 */
		pinctrl-names = "default";
		pinctrl-0 = <&uart2c_xfer>;
		interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH 0>;

@Lili : If that’s the case, then why am I getting this;

rk3399_box:/ # ls -l /dev/tty*
crw-rw-rw- 1 root      root   5,   0 2013-01-18 03:50 /dev/tty
crw-rw---- 1 bluetooth net_bt 4,  64 2019-07-26 07:09 /dev/ttyS0
crw------- 1 root      root   4,  66 2013-01-18 03:50 /dev/ttyS2
crw------- 1 root      root   4,  67 2013-01-18 03:50 /dev/ttyS3
crw------- 1 root      root   4,  68 2013-01-18 03:50 /dev/ttyS4
rk3399_box:/ #

EDIT: I didn’t notice you made a new build, with a change in it regarding ttyS2.

Does this image support the 7" touchscreen over DSI? Theres 2 images for 7.1 but only one for 9. Mine works with the 7.1 image.

Not yet, We will support it in the future.