[Android Q&A, Help & Troubleshooting] arjaylzo:
Original Thread: http://xdaforums.com/general/xda-as...-incorrect-t3303402/post65109906#post65109906

Good morning folks!

I have initially consulted my project with the hardware experts regarding a tablet getting new Replacement LCD.

Turns-out that the LCD is somewhat incompatible yet displays somehow correct and crisp Images.

To start; here are the things or components I have.

* An FnF iFive Mini 2 7" tablet with Rockchip 3066., broken Screen/Touch panel - Motherboard is all good. I had a VNC installed that still enables me to control the Broken tablet without a physical display.

* A dead ACER Laptop with very good 15" LCD

YES you got it right! I am about to salvage a 15" Laptop LCD as replacement for the 7" screen from the tablet.

I am halfway there. I manage to interface the 15" LCD panel which has 30 PIN LVDS connector, the 7" also happens to have the same set of Connection, except for their physical dimension for the connector. But I got it loading and displaying.

The Only challenge is the Screen Resolution or the ORIENTATION itself.

What I have done so far:

I installed Screen Resolution App as well as Screen Rotation. Both did not work.

I figured, both app only covers the user interface. I figured the adjustment should be made during boot.

The tablet has the i5 logo loading image landscape by default during boot. Yet it is displayed Vertically On the 15" LCD upon powering on both the 15" LCD and the tablet. Yet the 2 apps mentioned are unable to make the correct adjustments.

This leads me to seek for help in making adjustments with the PRE-BOOT environment. The phase where the Boot loader calls on to activate the display.

A hint I got was from an LCD Manufacturer wherein they specifically ships and assist in interfacing their Manufactured LCD as replacement from other Android/Linux tablets/PCs.

Yet I cannot find any files within the Official Firmware under the File "BOOT.IMG" I am able to UNPACK the contents, yet no file seem to indicate the given strings to make the modification for the screen resolution and orientation.

I have not gone thru looking into the KERNEL.IMG, I was thinking it would also have the following codes:

I am also drawn on to a forum where it says:

I have a feeling this procedure does not apply to Android 4.1.1 for the RK30?

It turns out the both the 7" and 15" were almost Identical. Except for the following details:

Orientation: the 15" is tagged as Normally HORIZONTAL while the 7" is tagged as Normally Vertical. They even have the opposite Resolution at 1280x800 for the 15" and 800x1280 for the 7"

The resulting display was, the android environment is drawn starting from the upper Right side going to the left. So I do not have visibility on the NAV bar.

When I make use of the Screen Rotate, the display indeed rotates except that only the first 800 pixels are displayed, so the resulting Image gives me 800x800 resolution, the other Horizontal 400pixels mirrors the same image from the First 800 pixels.

I am hoping to provide you pictures.

EDIT: I guess I still need a couple more post to enable links.

My recent research indicates I should look for a file inside the Android system that contains the following strings:

static struct omap_video_timings sharp_ls_timings = {

.x_res = 480,

.y_res = 640,

.pixel_clock = 19200,

.hsw = 2,

.hfp = 1,

.hbp = 28,

.vsw = 1,

.vfp = 1,

.vbp = 1,

};

----------------------

I am hoping someone here in XDA can lead me the correct Direction.

Also a SHARP LCD specialist indicates how to add driver on to a GB system via;

Implement display_lcd_init(), display_lcd_enable() and display_lcd_disable() and link to display driver.

Finally, I had setup my Laptop for dual boot, windows 10 where I am most comfortable working with HEXEDITOR

and Linux/Ubuntu 15 with Android Development Environment, no trouble with dependencies. I am a fast learner, I definitely do not know all the stuff when it comes to Kernel modification, but I have read and followed several tutorials on how to Dump, edit and rebuilt kernel with another Android phone.

Any help on how to identify on which part of the Android System to where the Adjustment should be made, will it be on BOOT or Kernel?