Chris,

I was digging around in the media_profiles.xml in the device files. Hope
this works for you.

https://android.googlesource.com/device/htc/flounder/+/android-7.1.1_r50/media_profiles.xml


On Tue, Aug 22, 2017 at 10:24 AM <chris....@barricane.com> wrote:

> Hi, I'm trying to support a non-standard 800x480 resolution in Android, as
> part of an Android port to an iMX6-based device, whose provided Android
> build-system supports only 640x480 and 720x480 resolutions.
>
> I have successfully added the resolution to the kernel, so that it reports:
>
>     MIPI DSI driver module loaded
>     mxc_hdmi 20e0000.hdmi_video: Detected HDMI controller
> 0x13:0xa:0xa0:0xc1
>     fbcvt: Refresh rate not CVT standard
>     fbcvt: *800x480@57*: CVT Name - Not a CVT standard - 0.384 Mega Pixel
> Image
>
>     mxc_sdc_fb fb@0: registered mxc display driver hdmi
>     Console: switching to colour frame buffer device *100x30*
>
> The 100x30 character cells imply an 800x480 resolution (assuming an 8x16
> pixel font), so it looks like the kernel part is working.  (The resolution
> is specified in the bootargs.)
>
> When Android boots, it outputs a 720x480 display.
>
> How does Android choose which screen resolution to use?
>
> I'm assuming that I will need to add the 800x480 resolution somewhere in
> the Android filesystem, and that adding it to the kernel is required but
> not sufficient.
>
> Where do I add the 800x480 resolution to the Android filesystem?
>
> Thanks,
>
> Chris.
>
> --
> --
> unsubscribe: android-porting+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-porting
>
> ---
> You received this message because you are subscribed to the Google Groups
> "android-porting" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-porting+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-porting+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to