[Troubleshoot] High Gamma after kernel flash 4.3 (Xperia V owners please post!)

Search This thread

3clipse

Member
Apr 14, 2011
36
4
UPDATE:
I believe I have narrowed down the problem. It seems the NVM byte data has been wiped and zeroed from the crossflashing.
reading from any NVM byte results in response silimilar to this:
Code:
 e7 03 00 0f 34 de 00 00 11 0b 00 00 00 00 00 00 00 00GEN_READ
reg=0xB0
len=10
data[0]=0x03
data[1]=0x00
data[2]=0x00
data[3]=0x00
data[4]=0x00
data[5]=0x00
data[6]=0x00
data[7]=0x00
data[8]=0x5C
data[9]=0xF6
GEN_READ
reg=0xC4
len=10
data[0]=0x00
data[1]=0x00
data[2]=0x00
data[3]=0x00
data[4]=0x00
data[5]=0x00
data[6]=0x00
data[7]=0x00
data[8]=0x8C
data[9]=0x7C
GEN_READ
as you can see the data is basically all zero except for the last 2 checksums.

There is a procedure in the driver to recover from display errors that looks like this:
Code:
#ifdef CONFIG_FB_MSM_RECOVER_PANEL
static char mcap_unlock_reg[] = {
	0xB0, 0x00
};
#endif

static char ltps_if_ctrl[] = {
	0xC4, 0xC3, 0x29
};
static char gamma_ctrl[] = {
	0xC8, 0x10, 0x00, 0x1F, 0x00
};
static char gamma_ctrl_set_r_pos[] = {
	0xC9, 0x08, 0x03, 0x01, 0x01, 0x02, 0x05, 0x11,
	0x18, 0x10, 0x0C, 0x1F, 0x10, 0x20
};
...
...
...
but even after manually breaking and recovering the NVM the problem still persists.

If anyone has any experience editing NVM values please PM me!

Original post:
Ok so here's what happened: I updated to 4.3 on my Xperia V (Lt25i) and I flash a kernel from the forum (see link below) and tried to flash SuperSU package in attempt to root. I started to boot but missed the button press to load recovery, now softbricked. Booted to flashmode and reflashed sony kernel using flashtool. Its working fine now but now there is something wrong with the screen. I'm not sure what's wrong but it looks like the gamma is too high (see pics).
I did get the root working the second time I tried but the damage is done.

Any advice would be awesome. Im pretty stumped. Ive tried reverting to stock but nothing changed.
Could I ask other Xperia V owners to give me dmesg or 'dmesg|grep -i panel' logs?

Kernel from this thread:
http://xdaforums.com/showthread.php?p=50304002

Dmesg log from 'dmesg|grep panel'
Code:
<6>[    1.006409] default panel: mipi_sharp_panel
<6>[    1.006775] setting pdata->panel_info.fb_num to 3. type: 8
<6>[    1.012208] mdp_probe: panel_detect function
<6>[    1.061651] mipi_renesas_r63306 mipi_renesas_r63306.0: found panel vendor: mipi_sharp_panel
<6>[    1.062078] mipi_renesas_r63306 mipi_renesas_r63306.0: found panel: mipi_video_sharp_wxga_ls043k3sx04
<3>[    1.397588] msm_fb_detect_panel: comparing name=hdmi_msm with mipi_video_renesas_fwvga
<6>[    1.398718] setting pdata->panel_info.fb_num to 1. type: 7
<6>[    1.399450] mdp_probe: panel_detect function
<6>[    1.399603] mdp_probe: no panel_detect function
<6>[    1.402685] setting pdata->panel_info.fb_num to 1. type: 10
<6>[    1.403906] mdp_probe: panel_detect function
<6>[    1.403998] mdp_probe: no panel_detect function
 

Attachments

  • _storage_sdcard0_tencent_MicroMsg_f05db91d991b005c16863cbf1851a7f2_image2_04_03_0403f97fda9f0a35.jpg
    _storage_sdcard0_tencent_MicroMsg_f05db91d991b005c16863cbf1851a7f2_image2_04_03_0403f97fda9f0a35.jpg
    116.2 KB · Views: 6,704
  • _storage_sdcard0_tencent_MicroMsg_f05db91d991b005c16863cbf1851a7f2_image2_39_a8_39a81bc475456776.jpg
    _storage_sdcard0_tencent_MicroMsg_f05db91d991b005c16863cbf1851a7f2_image2_39_a8_39a81bc475456776.jpg
    115.7 KB · Views: 6,897
  • nvm_sharp.txt
    2.5 KB · Views: 13
Last edited:

therapyJWCAD

Member
Jan 17, 2009
5
0
Ok so here's what happened: I updated to 4.3 on my Xperia V (Lt25i) and I flash a kernel from the forum (see link below) and tried to flash SuperSU package in attempt to root. I started to boot but missed the button press to load recovery, now softbricked. Booted to flashmode and reflashed sony kernel using flashtool. Its working fine now but now there is something wrong with the screen. I'm not sure what's wrong but it looks like the gamma is too high (see pics).
I did get the root working the second time I tried but the damage is done.

Any advice would be awesome. Im pretty stumped. Ive tried reverting to stock but nothing changed.
Could I ask other Xperia V owners to give me dmesg or 'dmesg|grep -i panel' logs?

Kernel from this thread:
http://xdaforums.com/showthread.php?p=50304002

Dmesg log from 'dmesg >/mnt/sdcard/dmesg.txt': Notice absence of "panel"
http://pastebin.com/XfMNQcqX

Same thing happened to me, I also tried downgrading and juggling kernels... Now I got the weird display problem. I notice that when I use the phone with the Pioneer Appradio headunit in my car (which connects through the MHL) the screen looks right. That leads me to think that the problem is in the phone screen, not in the video processing.

I dont know about the dmesg logs. I didn't find them in astro. How do I find them?


regards,

Therapy
 

3clipse

Member
Apr 14, 2011
36
4
Same thing happened to me, I also tried downgrading and juggling kernels... Now I got the weird display problem. I notice that when I use the phone with the Pioneer Appradio headunit in my car (which connects through the MHL) the screen looks right. That leads me to think that the problem is in the phone screen, not in the video processing.

I dont know about the dmesg logs. I didn't find them in astro. How do I find them?


regards,

Therapy

You need ROOT and a terminal emulator like this:
HTML:
https://play.google.com/store/apps/details?id=jackpal.androidterm

RESTART THE PHONE
open terminal and run the following commands:
Code:
su
dmesg|grep panel >/mnt/sdcard/dmesg.txt
dmesg|grep panel

copy and paste the screen text here or attach or PM me the dmesg.txt file.
Thx
 
Last edited:
  • Like
Reactions: therapyJWCAD

therapyJWCAD

Member
Jan 17, 2009
5
0
You need ROOT and a terminal emulator like this:
HTML:
https://play.google.com/store/apps/details?id=jackpal.androidterm

RESTART THE PHONE
open terminal and run the following commands:
Code:
su
dmesg|grep panel >/mnt/sdcard/dmesg.txt
dmesg|grep panel

copy and paste the screen text here or attach or PM me the dmesg.txt file.
Thx

Is this ok? Thanks for your effort!

Therapy
 

Attachments

  • dmesg.txt
    806 bytes · Views: 17

3clipse

Member
Apr 14, 2011
36
4
Is this ok? Thanks for your effort!

Therapy

Thanks for that. Im still working on this issue. I have made a lot of progress.
Ill keep in touch.

This post has been really helpful but there is some modifications needed for our screen model.
http://xdaforums.com/showthread.php?p=50827115


DMESG might not be accurate.
Can you try to figure out your REAL screen model from these pictures?
http://xdaforums.com/showthread.php?t=2499108&page=3

When the screen is off, the SHARP model has a slight blue tint and the SONY has slight green tint. There is also a TOSHIBA but I cant find any pictures.
 
Last edited:

therapyJWCAD

Member
Jan 17, 2009
5
0
Thanks for that. Im still working on this issue. I have made a lot of progress.
Ill keep in touch.

This post has been really helpful but there is some modifications needed for our screen model.
http://xdaforums.com/showthread.php?p=50827115


DMESG might not be accurate.
Can you try to figure out your REAL screen model from these pictures?
http://xdaforums.com/showthread.php?t=2499108&page=3

When the screen is off, the SHARP model has a slight blue tint and the SONY has slight green tint. There is also a TOSHIBA but I cant find any pictures.

Thanks again!

I'd say that my screen is a Sharp model, although I can't be sure.

Have you had any success with the procedure described in the first link you mentioned?

T
 

lux44

Member
Apr 10, 2014
15
12
I have the same problem after trying to get root with 4.3. If you can find a solution - :good: x 1000!
 

Attachments

  • dmesg.txt
    873 bytes · Views: 13

3clipse

Member
Apr 14, 2011
36
4
I am still looking into this, but my work hasnt given me a lot of time recently.
I should have more time to work on it during the coming month.
 
  • Like
Reactions: anzilme

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Same thing happened to me, I also tried downgrading and juggling kernels... Now I got the weird display problem. I notice that when I use the phone with the Pioneer Appradio headunit in my car (which connects through the MHL) the screen looks right. That leads me to think that the problem is in the phone screen, not in the video processing.

    I dont know about the dmesg logs. I didn't find them in astro. How do I find them?


    regards,

    Therapy

    You need ROOT and a terminal emulator like this:
    HTML:
    https://play.google.com/store/apps/details?id=jackpal.androidterm

    RESTART THE PHONE
    open terminal and run the following commands:
    Code:
    su
    dmesg|grep panel >/mnt/sdcard/dmesg.txt
    dmesg|grep panel

    copy and paste the screen text here or attach or PM me the dmesg.txt file.
    Thx
    1
    I am still looking into this, but my work hasnt given me a lot of time recently.
    I should have more time to work on it during the coming month.
    1
    Hey guys! I started a new thread.

    If you know someone with a working XPERIA V / VX / VL / AX, tell them to post here: http://xdaforums.com/xperia-t-v/general/request-xperia-vx-vl-ax-owners-t2828693/post54410892

    It would help a lot!