yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M2] ZiHero:
Hello to all. I have a problem with custom roms, like AOSP, CM etc. I have a D2303, have tried many variants to install, with/without wipe everything, install 4.3 before install CM(AOSP), 4.4.2, 4.4.4, but always stuck on bootloop! Here is logcat.

I/rmt_storage( 256):

I/rmt_storage( 256): rmt_storage_rw_iovec_cb: /boot/modem_fs2: clnt_h=0x5: req_

h=0xd msg_id=3: R/W request received

I/rmt_storage( 256): wakelock acquired: 0, error no: 1

I/rmt_storage( 256): rmt_storage_client_thread: /boot/modem_fs2: clnt_h=0x5 Unb

lock worker thread (th_id: -1236806912)

I/rmt_storage( 256): rmt_storage_client_thread: /boot/modem_fs2: clnt_h=0x5: re

q_h=0xd msg_id=3: Bytes read = 512

I/rmt_storage( 256): rmt_storage_client_thread: /boot/modem_fs2: clnt_h=0x5: re

q_h=0xd msg_id=3: Send response: res=0 err=0

I/rmt_storage( 256): rmt_storage_client_thread: /boot/modem_fs2: clnt_h=0x5 Abo

ut to block rmt_storage client thread (th_id: -1236806912) wakelock released: 0,

error no: 1

I/rmt_storage( 256):

I/rmt_storage( 256): rmt_storage_rw_iovec_cb: /boot/modem_fs1: clnt_h=0x4: req_

h=0xe msg_id=3: R/W request received

I/rmt_storage( 256): wakelock acquired: 0, error no: 1

I/rmt_storage( 256): rmt_storage_client_thread: /boot/modem_fs1: clnt_h=0x4 Unb

lock worker thread (th_id: -1236807552)

I/rmt_storage( 256): rmt_storage_client_thread: /boot/modem_fs1: clnt_h=0x4: re

q_h=0xe msg_id=3: Bytes read = 1571840

I/rmt_storage( 256): rmt_storage_client_thread: /boot/modem_fs1: clnt_h=0x4: re

q_h=0xe msg_id=3: Send response: res=0 err=0

I/rmt_storage( 256): rmt_storage_client_thread: /boot/modem_fs1: clnt_h=0x4 Abo

ut to block rmt_storage client thread (th_id: -1236807552) wakelock released: 0,

error no: 1

I/rmt_storage( 256):

Sorry my eng.

Also, i cant install any recovery, only TWRP with custom GPIO works.
[Sony Xperia M2] RatchetHacked:
flash the provided cm recovery as a boot.img,enter recovery, wipe everything, instal cm and gapps, wipe cache , flash the updated bl

br
[Sony Xperia M2] iFlashed:
LOL. It happends with some kernel recoverys. I think is the display driver
[Sony Xperia M2] galaxyfreak:
I know it's the display driver, I don't know how to fix it (without having a device).
[Sony Xperia M2] Konstantinosj77:
I'm really curious about this...what would you try if you had an Aqua?
[Sony Xperia M2] galaxyfreak:
I wouldn't give up so easily ;)

Enable full debbuging and see if that gives anything.

If not, probably comparations with stock till I locate an issue.
[Sony Xperia M2] Konstantinosj77:
Hope after camera fix we can try again...on hangouts this time!
[Sony Xperia M2] RatchetHacked:
Here, flash this zip and tell if you'll see any difference in performance; it activates the missing fstrim.bin file.

Set CPU I/O on noop and GPU governor on simple-ondemand. Do not activate any swap file, causes bootloops.

Ok, that's all what i've done to optimize it for now.

Can't wait for updated kernel

BR
[Sony Xperia M2] ~Patryk:
Wifi doesn't work for me :(
[Sony Xperia M2] Lojzo_11:
Try wipe data, cache and reflash CM12.1 zip
[Sony Xperia M2] galaxyfreak:
QMI logspam fixed :)

Was a permission issue.
[Sony Xperia M2] ^^Robi:
Guys did u see that? :D

http://developer.sonymobile.com/201...for-a-range-of-unlocked-xperia-devices-video/
[Sony Xperia M2] linuxct:
Using this new recovery functionality is one of the requirements to install latest CM12.1 ;)

http://xdaforums.com/xperia-m2/orig...velopement-t2971213/post60491376#post60491376
[Sony Xperia M2] RatchetHacked:
This new kernel still needs to be optimised in terms of RAM usage and Performance tough...
[Sony Xperia M2] quake73:
has anyone successfully installed the new FXP-cm-12.1-20150517?
[Sony Xperia M2] NoobZik:
It is possible for the next build, enable USB debugging at first boot so I can do a logcat (Because Im still bootlooping)
[Sony Xperia M2] galaxyfreak:
I cannot. It is enabled, but need to RSA auth your PC.
[Sony Xperia M2] ashmeister:
thank you for the work , but when will we have a camera fix , will it work if a third party camera app is used on the current zip file instead of stock ?
[Sony Xperia M2] ReznorNInchNails:
No, because problem is not with the camera app.
[Sony Xperia M2] galaxyfreak:
He is asking will sony stock camera app be compabtible once we get a native camera fix.

Answer: I don't know.
[Sony Xperia M2] ReznorNInchNails:
Actually I think he was asking for ETA when the camera fix will be available, and next question was if camera can work with 3rd party app instead one inside your zip.

Whatever his question was, answer is NO at this moment, and future is unpredictable .
[Sony Xperia M2] ZiHero:
I'm tired of it. I'm kind of a week can not put any of the firmware (AOSP and derived from it). I was flashed 4.3, 4.4.4 with a new bootloader, eventually all the stops on bootloop. I wrote in forum Sony about this issue in detail painted all of my actions, laid logcat. Everyone says that I'm doing the right thing, but for some reason the phone hangs in bootloop nobody knows. Maybe its because i have a rev.7 version from 25 march 2015, and it has small different with other revisions?

I had 19 phones with Android, has never had a problem with custom firmwares!
[Sony Xperia M2] linuxct:
[MENTION=4635923]galaxyfreak[/MENTION], just curious to know, are you planning any updates in near future ? I'd like to install Lollipop for some time, and don't know if I shall flash latest 5.1 or wait for next update. :)

Sent from my D2303
[Sony Xperia M2] Lothgar:
Guys help me! I tryed some recovery but with all i have this problem: blue lines on grey background! Im on D2303 Unlocked and updated bootloader!

I mean this!
[Sony Xperia M2] Konstantinosj77:
You have Truly_qhd display...nothing can be done! its tha same problem with D2403

All you can do is wait for a fix...
[Sony Xperia M2] galaxyfreak:
Was just tagging you! :eek:

And this I guess brings me to a new fact - there are non-Aqua models with Truly panels. Will pass on to jerpelea and kholk as I have shoot all my options.
[Sony Xperia M2] Lothgar:
Well... I will use Philz touch for locked bootloaders because that works :/
[Sony Xperia M2] Konstantinosj77:
GOD,if jerpelea care we will have a solution! (he works for sony after all)

Also the fix we discussed about some days ago,didn't work

That's based on stock sources,that's why it works
[Sony Xperia M2] galaxyfreak:
Okay, first, please confirm you have D2303 and not D2403. And PM me back.
[Sony Xperia M2] Lothgar:
D2303 Confirmed check the inbox!
[Sony Xperia M2] iFlashed:
What's that?
[Sony Xperia M2] ReznorNInchNails:
So, does it mean that it is an IPS screen inside D2303 device?

Strange.
[Sony Xperia M2] Konstantinosj77:
That's our panel name

Maybe in newer hardware revisions
[Sony Xperia M2] galaxyfreak:
Interesting, because they've sticked to TFT so long, longer than they should, now that's really agressive way to switch.
[Sony Xperia M2] Konstantinosj77:
Actually if we think about it, JB ftf works on Aqua

So changing screens was planned for later?
[Sony Xperia M2] iFlashed:
That's very strange. So, we don't have the same screen as D2303? Is strange so, that FTF of D2303 works on D2403...
[Sony Xperia M2] Lothgar:
So my screen is better than yours? YEY

But i can't have any recovery or rom :c
[Sony Xperia M2] aidy.lucas:
How do we tell which is fitted to our m2

D2303 18.3.1.C.1.15 kk deodexed rooted philz touch recovery bravia engine 2 + x-reality viper audio
[Sony Xperia M2] Lothgar:
What did you mean?
[Sony Xperia M2] Konstantinosj77:
Let's wait for a reply from other devs too....

Maybe jerpelea has access to a device with that panel
[Sony Xperia M2] aidy.lucas:
Which type of screen, sorry

D2303 18.3.1.C.1.15 kk deodexed rooted philz touch recovery bravia engine 2 + x-reality viper audio
[Sony Xperia M2] erikcas:
think the answer is here

will probably dtsi addition too (grepped quick, qcom,dsi-pref-prim-pan is only present for innolux in eagles dts system in 3.10)

maybe a nice "upcoming-weekend-project"
[Sony Xperia M2] Konstantinosj77:
If you want testers..i'm here to help! :D
[Sony Xperia M2] erikcas:
It is very common that different hardware on same model is used.

The kernel has ability to detect the hardwaretype and use it, or, better said in our case, should have that.

In our case on the unified kernel, that detection is not present nor is the solution for the second screen type. On stock it is. And it seems also present in the link I posted above.

So we have to port this to the current kernel. I only have time for it in weekends. Maybe galaxyfreak has time to do it sooner
[Sony Xperia M2] galaxyfreak:
[MENTION=985241]erikcas[/MENTION]

https://github.com/CyanogenMod/andr...mmit/f01ffb7cdfae4a2feed8369bf30bbea43d69a889

tried this 3 months ago but didn't work.

And when I was testing with [MENTION=4550509]Konstantinosj77[/MENTION], even setting truly as only panel without modifications didn't work.
[Sony Xperia M2] iFlashed:
LOL! I think aqua will have problems in his development xD
[Sony Xperia M2] erikcas:
I think it will boost shortly.

I have access to an aqua upcoming weekend to test.

I finally got permission from my wife to test on her aqua
[Sony Xperia M2] mid-kid:
The wifi does not work in cm12.1.

It keeps stuck at "Enabling wifi".

I've tried cleaning everything and reinstalling and the problem persists.
[Sony Xperia M2] Konstantinosj77:
As far as i remember that change broke innolux too

YAY, maybe we will get working screen for the upcoming week! :P
[Sony Xperia M2] iFlashed:
Nice to know that ;)
[Sony Xperia M2] erikcas:
Stage 1 accomplished. Implemented code without breaking innolux

Now... Put stock on M2 and switch to aqua to test
[Sony Xperia M2] Konstantinosj77:
So you will start tonight?!
[Sony Xperia M2] erikcas:
Yup, as a matter of fact, just unlocked my wifes' aqua bootloader.

Will install in some minutes, have to download the system.img from my jenkins but internetconnection is f****** slow

So lets smokw a cigarette first (I know nasty habit)
[Sony Xperia M2] Konstantinosj77:
Great, I'll be online! So if you can please share your results! :)
[Sony Xperia M2] erikcas:
no show. And no ability to take logs... Can try one additional thing...
[Sony Xperia M2] Konstantinosj77:
What rom are are you using?
[Sony Xperia M2] erikcas:
aosp

same as that works on 2303. Only boot.img adjusted.

Situation now is: on boot only red led for a few secs, then blinks and dies
[Sony Xperia M2] Konstantinosj77:
Oh ok btw by flashing fxp aosp builds i can get logs..
[Sony Xperia M2] erikcas:
can you post a dmesg from early boot? Btw did some additional changes, rebuilding bootimage. After that, sleep
[Sony Xperia M2] Konstantinosj77:
Here you go!

Of course screen is not working but everything else is working good,i even answered a call! :P

Also i have flashed the new bootloader from here http://xdaforums.com/showpost.php?p=60859468&postcount=101
[Sony Xperia M2] erikcas:
Your dmesg shows innolux panel but I guess you already noticed.

Booting now, problem was probably the new bootloader was corruptly flashed.

I used a non modified kernel now so cannot tell if my patch works.

Will install patched kernel but no debugging possible as I donot carry my adb enabled box with me to work

Verstuurd vanaf mijn GT-I9505 met Tapatalk
[Sony Xperia M2] Konstantinosj77:
Great!

I guess your aqua has the "normal" event6-event7 so it won't bootloop in custom roms

Also you may have seen that but anyway http://xdaforums.com/showpost.php?p=60214129&postcount=860
[Sony Xperia M2] Lothgar:
On my D2303 with "IPS" screen no one of the custom boot.img works! Same for the custom recovery. So i wouldn't be able to have any custom rom or recovery on my device?
[Sony Xperia M2] erikcas:
Yes the boot.img that works for you in that post has the stock mdss driver and stock dtb implemented. So that will work.

It just is not implemented in the unified kernel

Verstuurd vanaf mijn GT-I9505 met Tapatalk
[Sony Xperia M2] Konstantinosj77:
Well you tried omni KK? Maybe you have swapped event6-7 ...

I know, just showed it to you so you can see the difference in dmesg
[Sony Xperia M2] Natan M:
reply

I dident notice much bugs expect some temple run 2 crashes & the 3G is buggy but apart from that everything is working fine atm i think the biggest concern is the 3G/LTE and system stablization(maybe bad spelling).

Thanks Natan. M

Just wondering how you code/make the custom system (ROM) . (i would be willing to help with my little knowleage of android)
[Sony Xperia M2] Natan M:
I get a red border around google chrome when loading after that it go(s) away
[Sony Xperia M2] Puneetsaini:
lollipop

Plz make it comfrtble for D2302 :(
[Sony Xperia M2] vusun123:
Uh uh, don't ask him things like that, else he's gonna abbandon your device if he's pissed. I have to admit that I too want lollipop on my D2305, but if he wants to make it fully working on his phone first, then focus on other variants, that's fine by me too
[Sony Xperia M2] Puneetsaini:
Ohk bro thnzx for ur advice ;)
[Sony Xperia M2] freack_v:
Assembly can be run on the D2302, but it is necessary to replace the kernel dts.img from D2302, but RIL does not run, because the kernel I have with them is going to the repository but smart is not loaded, and no support for their core uim different modules, so RIL restore without the kernel source will not work.
[Sony Xperia M2] erikcas:
Red border usually means problems with egl /ion. You should post logcats upon opening chrome

Edit: while disabled in build.prop debug might be enabled in developer options
[Sony Xperia M2] freack_v:
Can you give me the link to the kernel sources, I did gather to support dual sim.
[Sony Xperia M2] galaxyfreak:
first post, as required by GPL.
[Sony Xperia M2] linuxct:
A petition for nexts builds.., would be possible to implement CWM instead of Cyanogen's Recovery? I know it's CyanogenMOD stock recovery, but it's almost impossible to flash anything with it, and it would be better to have CWM, so that we could flash our backups back again, make new ones, flash things into the rom... You know, more things than this stock one :p
[Sony Xperia M2] erikcas:
[MENTION=4635923]galaxyfreak[/MENTION], forget about the 3.5.2.2 kernel branch.

Just booted LA.BF.1.1-02410-8x74.0 so moving to caf lollipop branches
[Sony Xperia M2] galaxyfreak:
Nice. Actually spent past 2 days trying to combine some of your kernel branches. Only cm-12.0 boots completely for me.

Other results I had are not booting at all, reboot after logo, and farest, bootloop (failed to start JVM?!)
[Sony Xperia M2] erikcas:
Wait for an hour or so. I will publish on github. I will create a brand new kernel repo.

Have to test if I can update to latest caf. Later tonight I will try to re-implement camera from scratch to it.

The current branch (tag) I am on runs perfectly on 4.4.4

If I can, the kernel should not need any mods (beside cpu governours but I already implemented) for lollipop.
[Sony Xperia M2] galaxyfreak:
okay you push I'll give a shot at CM12 :)
[Sony Xperia M2] erikcas:
pushing to https://github.com/android-legacy/android_kernel_caf_msm8x26

for now LA.BF.1.1-02410-8x74.

Updating seems to break it so will test some alternative caf trees
[Sony Xperia M2] Supercharlie25:
Cheer up guys!! You are awesome!
[Sony Xperia M2] erikcas:
found the "faul" commits that break booting. Reverted them, refixed charging and input (test my original commit, as proximity and light sensor not seem to work without it)

so probably upload a latest caf lp kernel in about 15 minutes

[MENTION=4635923]galaxyfreak[/MENTION]: here you go:

https://github.com/android-legacy/android_kernel_caf_msm8x26/commits/lp

can you test it on cm-12.0? (I will checkout an omni. It will be my second attempt to boot it)

Meanwhile I will try to re-implement camera on these sources
[Sony Xperia M2] galaxyfreak:
[MENTION=985241]erikcas[/MENTION], working, camera still broken. http://pastebin.com/GCJYDhpG

Performance seems to be better.

NFC - if using source build, there but broken, if using blob prebuilt, gone from menu completely?
[Sony Xperia M2] erikcas:
in 4.4.4 NFC works perfectly.

Current kernel I made was based on early sonyxperiadev commits to 3.5.1

Just a minute ago, I succeeded booting this with original sony import (was a bit fighting with dtsi's)

Will upload those sources later tonight (you might find it interesting, as full cci support is kept in it)

Edit: for camera I need a fresh look. Will upload a dmesg also later tonight. It does not seem to find proper values in gpio table. I am looking into this for days now and I have a feeling I am not on the right track
[Sony Xperia M2] galaxyfreak:
CCI is nothing special for me, hw info I need works with that single file (as in pull request). For rest I really don't care. CCI is spread all over the kernel so maybe beter without it. Now its only a question of working camera and performance
[Sony Xperia M2] Lothgar:
I tried omni boot.img but what i got is black screen at the boot purple led shows up and then stock bootloop.
[Sony Xperia M2] erikcas:
You tried it on stockrom? Then it will bootloop that is not strange

Verstuurd vanaf mijn GT-I9505 met Tapatalk
[Sony Xperia M2] Lothgar:
Yeah because i cant flash omni! All the custom recovery doesn't work, for example with the omni i got black screen and no recovery...
[Sony Xperia M2] erikcas:
Probably because you have the other panel. Wait for fix

Verstuurd vanaf mijn GT-I9505 met Tapatalk
[Sony Xperia M2] erikcas:
Ladies and gents.... We got a working panel on Aqua

<6>[ 0.444642] mdss_panel_parse_dt: Panel Name = truly QHD video mode dsi panel,speed up, 0423-V2-Gamma ,0318 power saving
<3>[ 0.444886] mdss_panel_parse_dt:3379, Unable to read Phy lane configure
<3>[ 0.444965] mdss_dsi_parse_dcs_cmds: failed, key=somc,mdss-dsi-early-init-command
<3>[ 0.444974] mdss_dsi_parse_dcs_cmds: failed, key=somc,mdss-dsi-init-command
<3>[ 0.445010] mdss_dsi_parse_dcs_cmds: failed, key=somc,mdss-dsi-id-read-command
<3>[ 0.445024] mdss_panel_parse_dt:3430, panel physical size not specified

now nice up some code and make a pull request to sonyxperiadev
[Sony Xperia M2] Lothgar:
Nice!
[Sony Xperia M2] Konstantinosj77:
WTF?! I'm so desperate to see that code!
[Sony Xperia M2] Matze6989:
Is this Rom working on D2403? And how ist the last download from 3.5.15?
[Sony Xperia M2] galaxyfreak:
No it's not...if you have read...even very THIS page of the thread you would know. D2403 support is being worked on, and probably will be in the next build.
[Sony Xperia M2] Matze6989:
Okay. Then i am waiting. Thank you.
[Sony Xperia M2] vusun123:
Any progress on non-LTE variant yet ? Kinda sad that Sony made multiple variants and only care about the LTE though
[Sony Xperia M2] erikcas:
Have to do some more research. It seems that the gpio request at boot that decides for paneltype is kind of random on Aqua. After a reboot it picks innolux again. Have to contact kholk for this

Verstuurd vanaf mijn GT-I9505 met Tapatalk
[Sony Xperia M2] galaxyfreak:
Looks like I wont need my own app for flashlight anymore. It's something! :P

But seriously - this should have been done long ago. Starting up whole camera for torch is nonsense, and creates noticable delay just to power up something simple as a torch (like from QS toggle).
[Sony Xperia M2] Konstantinosj77:
At last...it was stupid!

Well you got a good starting point now! You'll do it if you compare with stock...i think.. :P
[Sony Xperia M2] erikcas:
Well.. I have a reference of the panel detected properly and improperly on the same kernel. Contacted kholk. No solution yet. But found a good lead.

Almost weekend that mean more time to fix it

Verstuurd vanaf mijn GT-I9505 met Tapatalk
[Sony Xperia M2] iFlashed:
So you have an old period aqua (gpio keys on event6) or a new period aqua (gpio keys on event7)?
[Sony Xperia M2] Matze6989:
How or where can I find out which keys GPIO I have?
[Sony Xperia M2] galaxyfreak:
Enter the shell (adb/terminal emulator) and type in "getevent".

You'll see

So "event<Y>" is what you need.
[Sony Xperia M2] linuxct:
This is not the properly place to say this, and it's not worth it to make a thread, but..., Is this true? I still can't believe it.

http://www.xperiablog.net/2015/05/2...android-m-place-your-bets/#comment-2051174576

How can people pretend to be paid for a Rom, I mean, I'm even sure he's taking the source from sonyxperiadev, and however he wants to get paid for it...

Also, for me, sounds like a scam. Can someone tell me if it's reliable or not?
[Sony Xperia M2] Konstantinosj77:
Old news...I was in the Xperia 2011 scene before i buy the M2...

There was only 1(!!) developer and the xperia overlay guy used his sources

After that he didn't made his sources public!!
[Sony Xperia M2] linuxct:
And did you tried his rom?

Also, he is saying that he's going to release lollipop rom, fully working (even cameras)... I can't believe him at all... If erikcas and galaxyfreak weren't able...
[Sony Xperia M2] erikcas:
Hilaric.

Verstuurd vanaf mijn GT-I9505 met Tapatalk
[Sony Xperia M2] mantazzo:
Okay, I checked my M2 Aqua, and it is an old version (event6) (thanks for explaining how to check btw). I think I could try any beta on my phone, not sure.
[Sony Xperia M2] Konstantinosj77:
I didn't

But let's stop the Off-topic
[Sony Xperia M2] galaxyfreak:
[MENTION=4787101]linuxct[/MENTION] off topic? doesn't matter. I approve. :P

I don't know why you even argued with the guy.

This is the largest pile of bull**** on one place. I've seen in a while,

Let me point out a few things:

1. He's allowed to sell ROMs, as long as credits are given: In stock ROM it's About Phone -> Legal -> Open Source licenses.

2. This seems to be the same thing people are doing here on XDA, taking AOSP base, and trying to get OEM framework to run on it. It's called "Porting" aka "Zip-kanging".

3. If he was professional as he claims he is, he would know proper English.

4. It's possible that the guy knows smail and will get, Z3 camera app running on Lollipop on X10. Yeah right.

5. One that really got me crack up - He'll partner with Sony Mobile and Qualcomm to get the proper binaries?!

And how do Sony/QCOM actually profit from his ROMs? LOL. Insanity.
[Sony Xperia M2] linuxct:
Wow, you nailed it [emoji14]

It's sad that anyone who calls himself "dev" tries to sell a rom,instead of giving for free and live from donators. If sony has no problem with that, then fine. But taking sources from others, to make the rom, and then said it was made by him and sell it, that makes me get angry. People don't seem to understand that's not ethic. Take the work from others and sell it. Come on!

Sorry if I'm spamming but I was going to explode if I didn't tell you what was going on, as you are really hard working people and this guy is not.

Sent from my D2303 with Z4 eXPERIence
[Sony Xperia M2] ReznorNInchNails:
Me too. I had Xperia Neo V before. And there was a guy called nAa that made a huge jump for Xperia 2011 devices by bringing an upgrade from 2.x kernel to 3.x. It seemed impossible until then. And it was a neccessary step to bring Jellybean and Kitkat to those devices...
[Sony Xperia M2] erikcas:
Well said. Besides that, it is all in the name: xperiaoverlay. He does not develop anything. Just overlaying.

Anyway, now have the truly panel consequent detected. It is a little hacky now, with one issue. Sometimes there is no splash/bootanimation. But for now, the rootcause is exposed so we can proceed to implement a clean solution

See github for current status
[Sony Xperia M2] Konstantinosj77:
EDIT

Nevermind just compiled and flashed, works like a charm! :D
[Sony Xperia M2] galaxyfreak:
Good work [MENTION=985241]erikcas[/MENTION]!

One thing I would like to point out is that boot animation doesn't work properly anyway, Not sure if only Yukon, but doesn't matter.

On the first boot, panel goes off when "Optimizing apps" come, and comes back on at "Finishing boot".

On regular boot, it turns off for 1 second and gets back on. I think this is actually the part where backlight should "restore" from user settings.

Only kernel that works completely fine is stock based, all branches on SXD have this.

What should be done is turn on massive debbugging in mdss_fb.c around setting and see what happens. But I don't have time as it's a minor one.