Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,730,490 Members 42,683 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
Brewski606
Old
(Last edited by Brewski606; 11th June 2014 at 09:11 AM.)
#1  
Junior Member - OP
Thanks Meter 2
Posts: 15
Join Date: Apr 2011
Location: Hong Kong
Exclamation [Troubleshoot] High Gamma after kernel flash 4.3 (Xperia V owners please post!)

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://forum.xda-developers.com/show...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
Attached Thumbnails
Click image for larger version

Name:	_storage_sdcard0_tencent_MicroMsg_f05db91d991b005c16863cbf1851a7f2_image2_04_03_0403f97fda9f0a35.jpg
Views:	6667
Size:	116.2 KB
ID:	2609478   Click image for larger version

Name:	_storage_sdcard0_tencent_MicroMsg_f05db91d991b005c16863cbf1851a7f2_image2_39_a8_39a81bc475456776.jpg
Views:	6860
Size:	115.7 KB
ID:	2609479  
Attached Files
File Type: txt nvm_sharp.txt - [Click for QR Code] (2.5 KB, 4 views)
 
therapyJWCAD
Old
#2  
Junior Member
Thanks Meter 0
Posts: 5
Join Date: Jan 2009
Quote:
Originally Posted by Brewski606 View 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://forum.xda-developers.com/show...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
 
Brewski606
Old
(Last edited by Brewski606; 3rd March 2014 at 09:52 AM.)
#3  
Junior Member - OP
Thanks Meter 2
Posts: 15
Join Date: Apr 2011
Location: Hong Kong
Quote:
Originally Posted by therapyJWCAD View Post
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 Code:
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
The Following User Says Thank You to Brewski606 For This Useful Post: [ Click to Expand ]
 
therapyJWCAD
Old
#4  
Junior Member
Thanks Meter 0
Posts: 5
Join Date: Jan 2009
Quote:
Originally Posted by Brewski606 View Post
You need ROOT and a terminal emulator like this:
HTML Code:
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
Attached Files
File Type: txt dmesg.txt - [Click for QR Code] (806 Bytes, 13 views)
 
Brewski606
Old
(Last edited by Brewski606; 23rd March 2014 at 09:23 AM.)
#5  
Junior Member - OP
Thanks Meter 2
Posts: 15
Join Date: Apr 2011
Location: Hong Kong
Quote:
Originally Posted by therapyJWCAD View Post
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://forum.xda-developers.com/show...php?p=50827115


DMESG might not be accurate.
Can you try to figure out your REAL screen model from these pictures?
http://forum.xda-developers.com/show...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.
 
therapyJWCAD
Old
#6  
Junior Member
Thanks Meter 0
Posts: 5
Join Date: Jan 2009
Quote:
Originally Posted by Brewski606 View Post
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://forum.xda-developers.com/show...php?p=50827115


DMESG might not be accurate.
Can you try to figure out your REAL screen model from these pictures?
http://forum.xda-developers.com/show...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
 
therapyJWCAD
Old
#7  
Junior Member
Thanks Meter 0
Posts: 5
Join Date: Jan 2009
There are more of us, I think...

http://forum.xda-developers.com/show...php?p=52136244
 
lux44
Old
#8  
Junior Member
Thanks Meter 0
Posts: 4
Join Date: Apr 2014
I have the same problem after trying to get root with 4.3. If you can find a solution - x 1000!
Attached Files
File Type: txt dmesg.txt - [Click for QR Code] (873 Bytes, 9 views)
 
Brewski606
Old
#9  
Junior Member - OP
Thanks Meter 2
Posts: 15
Join Date: Apr 2011
Location: Hong Kong
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.
Sony Xperia V - Stock 4.3 LT25_9.2.A.0.295_Nordic *Rooted* (Hong Kong Customization)
Nexus 10 - Stock 4.4.2 *Rooted*

Previous phones: Verizon Galaxy Nexus (toro)
The Following User Says Thank You to Brewski606 For This Useful Post: [ Click to Expand ]
 
anzilme
Old
#10  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Jun 2009
Quote:
Originally Posted by Brewski606 View Post
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.
bro please help us with this.. i have sharp panel detected.. and i guess i have the chinese panel too

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Hide Numbers on Your SMS and Call Logs with Reflection

How many times have you given your device to someone else in order to show them a … more

Implement Split View in Your LG G2 KitKat Rom with Automated Installer

Some of you may have remembered a story on the Portal a few weeks back … more

Cast Your Device Screen the Way it Was Meant to be with Second Screen

Not too long ago here on the XDA Portal, we covered how Google had made … more

Samsung Gear Live Unboxed the XDA Way – XDA Developer TV

XDA Developer TV Producer AdamOutleris known for his XDA Unboxingseries where … more