Hi Satish,

Thanks for your reply, but:

1. This is not a screen density issue, it's a screen resolution issue.  I
*think* that Android doesn't know that the kernel's framebuffer can now
handle 800x480 so it asks for 720x480.
2.
https://android.googlesource.com/platform/frameworks/base/+/android-6.0.1_r70/core/res/res/values/config.xml
contains no mention of 720, and 720x480 is the (unwanted) working
resolution.

Thanks,

Chris.



On Wed, Aug 23, 2017 at 7:13 AM, Satish Patel <tosatishpa...@gmail.com>
wrote:

> Hi,
>
> 2 pointers
>  ro.sf.lcd_density=120 // Not sure if it still exists. If yes, the
> overwrite in BoardConfig.mk
>
> and
> refer
> frameworks/base/core/res/res/values/config.xml for screen related
> parameters
>
> --
> satish
>
> On Tue, Aug 22, 2017 at 4:16 PM, <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.
>>
>
>
>
> --
> Regards,
> satish patel
>

-- 
-- 
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