yashsingh1/xdaforums huggingface dataset:
[HTC Desire S] finistere:
OK, I've been testing this Lux thing for a few hours now. Looks like you don't get any battery life improvements. At sub-zero values the screen is not really dimmed but all you get is some kind of overlay or contrast adjustment. At least you don't go blind anymore when using your phone.
[HTC Desire S] gunn46:
is this kernel is a must ? i mean for certain rom i need to install this , some other workfing fine without this kernel
[HTC Desire S] PVL_93_RU:
Re: [GUIDE] [31 DEC] Non-Sony screen panel Desire S users lounge

If you have a Hitachi panel - the ROM will work fine unless it has a 3.x kernel. Recently, an ICS ROM Balele v2.1 started using kernel 3.x, so now it also has a problem with screen panels

The OP said that he's going to work with amidabuddha to make a non-sony kernel for 4.0 ROMs

Sense ROMs don't have this problem, even though they are using a 3.x kernel, but not AOSP from Google, but from HTC

What ROMs did you try exactly?
[HTC Desire S] bharaa:
Re: [GUIDE] [31 DEC] Non-Sony screen panel Desire S users lounge

Please help me I have installed andromadus Rom brightness problem help me developer
[HTC Desire S] jugg1es:
Re: [GUIDE] [31 DEC] Non-Sony screen panel Desire S users lounge

If your using a kernel for a non Sony panel then the brightness problem is known, plead read the op for an explanation

A man who dares to waste one hour of time has not discovered the value of life.

Charles Darwin
[HTC Desire S] giel123:
dude im using it on CodeFireX with latest mddi kernel from Flinny; f****ng awesome that the brightness works with the app! Works really well actually when you set it up right :victory: unfortunately i also dont really see a difference in batterylife.

Thanks for the tip!

edit: fyi, the autobrightness actually does work very well! you just have to adjust the range of the brightness to -90 till 0 and link some lightlevels to brightness percentages manually :)
[HTC Desire S] bharaa:
Re: [GUIDE] [31 DEC] Non-Sony screen panel Desire S users lounge

Please help me I am flashed andromadas rom 4.2 I am flash mddi kernel 100% brightness problems please help me
[HTC Desire S] PVL_93_RU:
Re: [GUIDE] [31 DEC] Non-Sony screen panel Desire S users lounge

Known issue
[HTC Desire S] rzabcio:
Sorry, but do you bother to read this thread, or just writing something pointless? As Fatal1ty_18_RUS wrote this is problem is known, can't and probably won't be fixed.
[HTC Desire S] 68olegna:
Ahhh. Every single time when there are new post in this I thread I´m curious if there are news about an new kernel :(

Which non Sense-Rom with less bugs and solid battery is usable right now? I´m really in love with new 4.2 AOKP or CM but... You now what I mean.
[HTC Desire S] PVL_93_RU:
Re: [GUIDE] [31 DEC] Non-Sony screen panel Desire S users lounge

Currently I'm on IceColdSandwich 8.3 (4.0.4). Very fast, very stable. I highly recommend it. Plus it works flawlessly on Hitachi panel devices, as there is no need to flash an additional MDDI kernel 'cuz the ROM is using kernel 2.x by HTC
[HTC Desire S] Auke11:
Re: [GUIDE] [31 DEC] Non-Sony screen panel Desire S users lounge

I haven't read the whole thread, and i have the sony panel. But i came across the app rootdim, maybe you guys and girls can use it.

https://play.google.com/store/apps/details?id=mobi.pruss.superdim
[HTC Desire S] jugg1es:
Re: [GUIDE] [31 DEC] Non-Sony screen panel Desire S users lounge

If people could test this it might be worth putting in the op, if it's not quite working maybe the developer can help if you guys provide logcats etc,

Life is really simple, but we insist on making it complicated.

Confucius
[HTC Desire S] PVL_93_RU:
Hey guys

Updated the OP again a bit

Check it out :)
[HTC Desire S] bharaa:
Re: [GUIDE] [31 JAN] Non-Sony screen panel Desire S users lounge

I have recently flashed fully Samsung saga my can't boot my disire s on black screen help me devs :(:(:(:(:(:(
[HTC Desire S] jugg1es:
Re: [GUIDE] [31 JAN] Non-Sony screen panel Desire S users lounge

Try flashing the mddi kernel from the andromadus site, link in Flinny's thread

Either write something worth reading or do something worth writing.

Benjamin Franklin
[HTC Desire S] bharaa:
Re: [GUIDE] [31 JAN] Non-Sony screen panel Desire S users lounge

Sorry I am flash mddi kernel but screen in black help me devs
[HTC Desire S] Icki153:
Is there any brightness issue or would it work?
[HTC Desire S] rzabcio:
Re: [GUIDE] [31 JAN] Non-Sony screen panel Desire S users lounge

Issue with brightness on MDDI panels is present mainly on 4.1 and 4.2. Most (all?) 4.0 ROMs does not use kernel 3.
[HTC Desire S] Icki153:
Thanks =)

Why can't we use a 2.x Kernel on JB Roms?

Sry for bad English ;)
[HTC Desire S] PVL_93_RU:
Re: [GUIDE] [31 JAN] Non-Sony screen panel Desire S users lounge

Probably for functionality reasons. Unless developers started using 3.x kernel for newer 4.1 and 4.2 ROMs - there were lots of awful bugs and I believe that performance was also worse
[HTC Desire S] Icki153:
Is it possible to use a 2.x Kernel when i port a rom? Or would it not work?
[HTC Desire S] PVL_93_RU:
Re: [GUIDE] [31 JAN] Non-Sony screen panel Desire S users lounge

I believe it is. You can ask Flinny, nk111 and Fredericosilva about it - their ROMs have been using a 2.x kernel for quite some time
[HTC Desire S] jugg1es:
Re: [GUIDE] [31 JAN] Non-Sony screen panel Desire S users lounge

Check pm

Contrary to popular belief, "Damn It" is not God's last name.

(Construction wall, Philadelphia, 1969)
[HTC Desire S] Icki153:
Who?
[HTC Desire S] jugg1es:
Re: [GUIDE] [31 JAN] Non-Sony screen panel Desire S users lounge

If I'd meant you then i would have quoted you :rolleyes:

Maybe this world is another planet's Hell.

- Aldous Huxley (1894-1963)
[HTC Desire S] Icki153:
Sry ;)
[HTC Desire S] jugg1es:
Re: [GUIDE] [31 JAN] Non-Sony screen panel Desire S users lounge

No worries, you'll learn quickly.

Maybe this world is another planet's Hell.

- Aldous Huxley (1894-1963)
[HTC Desire S] jurikg:
how i can check

Thank you for good idea, but i can't use my HTC Desire S because screen not respond and i can't use the internet through my phone for download Android Terminal Emulator, i want to know what type of screen panel have smartphone?:rolleyes:

Regards, Yurij.
[HTC Desire S] jugg1es:
Re: [GUIDE] [31 JAN] Non-Sony screen panel Desire S users lounge

What rom did you flash?

Also you can run the commands through adb.

Maybe this world is another planet's Hell.

- Aldous Huxley (1894-1963)
[HTC Desire S] hoffie-:
Hi,

I have a Desire S with a non-Sony panel and I'm using Flinny's builds with the "MDDI kernel", which works fine except for the brightness.

Can someone tell me what needs to be done on the technical side of things to get this fixed?

I am willing to spend some time on this, but I have no idea whether the problem is some missing spec from the vendor or just that noone has found time to implement task X (what is task X exactly?).

I had a quick look at the MDDI "kernel" (which just seems to re-pack the kernel with an additional or replaced module bcmdhd.ko). Sounds like it could be coming from the Desire HD which uses a 3.x kernel and is therefore compatibel? Just wondering as brcm sounds like Broadcom and WIFI and not display stuff...

Mainly I am wondering where the problem lies exactly: Is the kernel (module or whatever) the problem as it lacks the screen dimming feature or is the API different to the other drivers' so that the userspace needs adjustments?

Would be glad if someone could shed some light on this.

Thanks,

Christian
[HTC Desire S] jugg1es:
Re: [GUIDE] [31 JAN] Non-Sony screen panel Desire S users lounge

Are you a kernel developer, the best person to pm would be flinny he didn't build the kernel but he would probably assist as much as he can

"Unix is user-friendly. It's just very selective about who its friends are."
[HTC Desire S] hoffie-:
Hi,

thanks for your reply.

I already thought so, but I figured I'd ask here first so that he doesn't get spammed uselessly with similar queries.

Thanks.

Christian
[HTC Desire S] PVL_93_RU:
Re: [GUIDE] [31 JAN] Non-Sony screen panel Desire S users lounge

I don't think that devs come into this thread or are even informed about it

And regarding the post above - I believe the best option to determine the difference between MDDI and Non-MDDI kernels would be to decompile both of them and compare them side by side

And the problem is either in some libraries or in some drivers, so it'll probably require some reverse-engineering from you
[HTC Desire S] TheOldMonk:
AFAIK and as also posted by one of our fellas here..Lux Auto-Brightness app just increases/decreases contrast of an overlay.

So, in short..it is nothing but just an app which applies an overlay over the display and adjust that. (kinda crappy but yes..it helps to save our eyes instead of going blind :p)

Has anyone had any success with any other app? or with RootDim?
[HTC Desire S] PVL_93_RU:
Re: [GUIDE] [31 JAN] Non-Sony screen panel Desire S users lounge

I couldn't get RootDim to work - it didn't want to get the superuser rights somehow, even though I enabled auto-allow option in SuperSU
[HTC Desire S] TheOldMonk:
I just tried ScreenDimFull And it works fine. :)

Looks like I need to reboot because at first contrast was working but since I closed the app and reopened it up..the contrast setting doesn't work anymore..though brightness setting does work.

Also, as the developer has said that this app does not force uses an overlay and actually decreases the panel's lux so I feel that power comsumption should decrease too. :)

[@Fatal1ty_18_RUS

Any chance of marking this app in the OP under the Workaround section? :D ]

More test will follow..
[HTC Desire S] TheOldMonk:
*edited* :D
[HTC Desire S] rzabcio:
Sorry, but this is completely irrational. System cannot change brightness of backligt, and this liitle app can?

Application has two slides - one for changing brightness, second for changing contrast. First does not work - no wonder. Second is only filter. There is an easy way to check it - look at the display from som angle - find the angle so black will be grey. You are looking some way under LCD and you see backlight. Now change settings of contrast. And... nothing is really happening - black is still the same gray.

Does not work - battery usage is still the same. Like in ANY other app.
[HTC Desire S] jugg1es:
Re: [GUIDE] [17 FEB] Non-Sony screen panel Desire S users lounge

I think most users here are aware of the fact that it doesn't work as people would like it to, it's more of a way to reduce the glare from the screen whilst using the phone

“When I die, I want to die like my grandfather who died peacefully in his sleep. Not screaming like all the passengers in his car.” - Will Rogers
[HTC Desire S] rzabcio:
Re: [GUIDE] [17 FEB] Non-Sony screen panel Desire S users lounge

Yes, but the point is sky777 mentioned about lower batter consumption which I believe is not true.
[HTC Desire S] hoffie-:
Right, user-space apps cannot dim the display in a way which would actually dim the backlight and save battery as such.

The problem is that the necessary code in the kernel is "commented" out as it does not work.

I wanted to look into this, but there is some more work to be done: There have been some kernel changes which broke the "hitachi" display driver completely. Building a kernel works, but when trying to boot it, neither screen nor ADB will work (although the kernel *does* boot correctly).

I temporarily had a working kernel by reverting a specific commit [1] (by hand), but that was more or less a proof of concept and is no future-proof solution.

With flinny's latest builds (I tried build 15), the ROM is sadly totally unusable on my Desire S with a Hitachi panel, as the screen lags. I guess this is the case for all Hitachi display users.

The source of this problem is probably (I did not verify it though) that the userspace component which is responsible for rendering (SurfaceFlinger) seems to have changed the way re-renderings are triggered in 4.2.2. They now appear to be done on-demand when a vsync is supposed to happen. This requires kernel-side support via uevent. The latest binary MDDI kernel lacks support for this and as such, SurfaceFlinger reports: "Timed out waiting for hw vsync; faking it". As such, the screen is only re-drawn at very very low frequencies.

The fix for this is sadly exactly the above mentioned commit.

So, things to do: Get a current kernel built and working with the Hitachi (Renesas) driver, after that, we could start hacking on the brightness stuff.

I will certainly try to continue looking into this, but my free time is rather limited at the moment.

[1] htt ps: / / github. com/Andromadus/htc7x30-3.0/commit/e89c4495a879bab9ad629d918c2f59c31065d928

(Sorry for not using BBCode, seems like new users are banned from posting external links. Great.)
[HTC Desire S] draken101:
Non slcd

You lucky buggers with amoleds I have the slcd and its not good in direct sunlight
[HTC Desire S] zenesis:
I can use my Saga completely in PACmanv20.0.1 though there is no brightness control. THANKS.

but the thing is sometimes when I wake the device from lock the screen doesn't turn on, giving me a black/blank screen. But the LEDbuttons are on.
[HTC Desire S] hisname:
Re: [GUIDE] [17 FEB] Non-Sony screen panel Desire S users lounge

it seems that Flinny is no longer supporting MDDI panel.... latest CM 10.1 builds doesn't have MDDI Kernel anymore....

Sent from my supercharged :tank:
[HTC Desire S] PVL_93_RU:
Re: [GUIDE] [17 FEB] Non-Sony screen panel Desire S users lounge

Flinny says it's barely usable with MDDI kernel so he needs to build a new one first
[HTC Desire S] hisname:
Re: [GUIDE] [17 FEB] Non-Sony screen panel Desire S users lounge

but given the difficulty, Flinny MIGHT drop the support. is this possible?

Sent from my supercharged :tank:
[HTC Desire S] jugg1es:
Re: [GUIDE] [17 FEB] Non-Sony screen panel Desire S users lounge

It's possible that if we can't find a kernel dev then the mddi panel might get left behind :eek:

“If you want your children to be intelligent, read them fairy tales. If you want them to be more intelligent, read them more fairy tales.”

― Albert Einstein
[HTC Desire S] stehaworth:
Support

Isn't the main reason why Flinny is struggling with the MDDI panel kernel that he hasn't actually got one.

As such is there anything we can do to support this testing / development?? Not that i know much about kernel development, but i'm happy to flash test builds to help out where possible and provide debug information as appropriate.

Is this even possible or not? obviously it would take much longer to resolve issues and would need a lot of support from Flinny (who is doing a fantastic job sorting out all these builds by the way! ta Flinny :good:).
[HTC Desire S] PVL_93_RU:
I guess the best we can actually do is buy/send him a device with Hitachi panel
[HTC Desire S] zenesis:
We can't use the mddi with the PACman v21.0.0 and that's too bad.
[HTC Desire S] wormyy:
So I'm not the only one who can't run new PACman? Is there some hope for a fix released in the next future?
[HTC Desire S] zenesis:
users with hitachi panels are now left behind. we are hoping for the Kernel of kylon and Flinny to have a support for mddi users.
[HTC Desire S] AquaSheep:
As far as I can understand there are no problems when using a Sense rom. The trouble begins when you want to install a 4.x Android rom which requires a 3.x kernel. But didn't HTC release the source code for their 3.x kernel? So why can't you use that HTC kernel as base? Shouldn't that kernel include drivers voor MDDI panels as it is the same kernel as in the Sense roms? And which kernel do the rom developers use? I thought they just use the HTC kernel and combine it with the 3.x kernel from Google.
[HTC Desire S] PVL_93_RU:
Devs use the kernels from AOSP source by Google. Sense kernel does not have some libraries/drivers/etc. needed for an AOSP ROM to run
[HTC Desire S] AquaSheep:
Sorry for the ignorance, but why can't you combine parts of the HTC kernel with the AOSP kernel to make MDDI panels work?
[HTC Desire S] PVL_93_RU:
Probably because that wouldn't work out. Otherwise, we'd had a MDDI kernel like that ages ago
[HTC Desire S] zenesis:
again sorry about the thing before? Fatal1ty_18_RUS

And He's right AOSP are the base roms because of it's drivers etc. I hope Flinny or blindndumb can compile the new mddi kernel to support much of their 4.2.2 roms.
[HTC Desire S] andrewschumi:
I think we must turn our efforts to kylon. I will try to contact him via pm. it would be nice to help through feedback in a possible test-kernel.
[HTC Desire S] zenesis:
@andrewschumi anu news from kylon or flinny?
[HTC Desire S] rokilmr:
Miui V5 kernel

Can anyone help me about installing MIUI v5........i tried the saga_kerne_82n but was stuck at black screen.....help!!!
[HTC Desire S] PVL_93_RU:
Re: [GUIDE] [17 FEB] Non-Sony screen panel Desire S users lounge

I don't think that the kernels from OP can help with MIUI
[HTC Desire S] andrewschumi:
He said to me that a mddi-specific kernel is on his todo list. He is in search of a developer to help him. Let's hope he finds one.

For me CM10.1 is kind of "outdated" and I've already rolled back to my own ROM project of RTS, that I had wrongly abandoned.
[HTC Desire S] badflife:
metal_messiah gave me a link for a mddi panel kernel and with that kernel miui v5 from miuiandroid.com boots and you can also change the brightness. But after you activate your screen you always have to adjust the brightness but thats not such a big problem.

Here is the link http://yadi.sk/d/JZ_4DS4w3t98s.
[HTC Desire S] PVL_93_RU:
Have you tried it with 4.2 ROMs?
[HTC Desire S] zenesis:
It says 4.1.1 I don't think it would work for 4.2.2 roms. the last 4.2.2 rom that works with MDDI kernel is the pacman v20.0.1
[HTC Desire S] jugg1es:
It might be a good starting point for a kernel dev.

“For those of you in the cheap seats I'd like ya to clap your hands to this one; the rest of you can just rattle your jewelry!” ― John Lennon
[HTC Desire S] PVL_93_RU:
Well what about the rest of the 4.1 ROMs apart from MIUI?
[HTC Desire S] hoffie-:
Now the sources / relevant patches for this kernel would be interesting. :)

The problem is that HTC's panel driver sources no longer work with recent kernels. "Porting" it to recent kernels by reverting the in-kernel changes which break it, used to be a viable workaround. But the aforementioned in-kernel changes are also related to a new userspace API (regarding vsync events) and Android 4.2.2's SurfaceFlinger requires these events to schedule redraws in time.

Two solutions: Properly port the panel driver to the latest kernels or patch SurfaceFlinger to get the redraw events from somewhere else (maybe by manual timing). Haven't looked in the latter part at all, might be easier than porting the kernel driver, but would only be a hack.
[HTC Desire S] PVL_93_RU:
So there's still a chance?
[HTC Desire S] hisname:
Will ubuntu touch work nicely on MDDI panel?

Sent from my supercharged :tank:
[HTC Desire S] PVL_93_RU:
I guess not
[HTC Desire S] badflife:
I send Flinny a PM this is what he answered:

If it's a binary kernel then it makes no use... Need the source. It's unlikely to have been conveyed to the new framebuffer anyway which is where our main problems are.
[HTC Desire S] kaizoku kuma:
change url for 4.2.X MDDI KERNEL

HI just telling you that the link is no more working, because the website architecture changed here is the right url :

http andromadus.codefi.re/index.php?download=saga/saga_mddi_291212.zip

sry I cant put outside links

Cordially !
[HTC Desire S] badflife:
Does the kernel work properly with 4.2.2 JB Rom?

Or is the kernel only usable with 4.1xx Roms?
[HTC Desire S] kaizoku kuma:
It works properly with 4.2.x JB ROMS, I fogot to mention that it's the second link corresponding this line on this tutorial :
[HTC Desire S] badflife:
So there is no more battery drain comparing using this to 4.1xx Roms?
[HTC Desire S] kaizoku kuma:
Sorry can't tell you :/

I just succeed to install JB ROMs ... and I've never use MDDI kernel for ICS Roms :P
[HTC Desire S] badflife:
I cant get pacman v 21 to boot.

Which jb rom did you get to boot up ?
[HTC Desire S] PVL_93_RU:
Updated the OP a bit
[HTC Desire S] badflife:
Which gapps to use with flinnys rom which you posted in your first post ?
[HTC Desire S] PVL_93_RU:
4.2.x GAPPS, since it's still a CyanogenMod 10.1, which is based on 4.2 Jelly Bean
[HTC Desire S] badflife:
OK thanks will try it out right now :D
[HTC Desire S] zenesis:
is the OP just got Updated or the MDDI kernel itself?
[HTC Desire S] badflife:
The OP is just updated. The mddi Kernel is still the same.
[HTC Desire S] mujeeb999:
I have hitachi panel, I cannot even use reaper. I am having camera and video playback problem. even cm7 is affected by mddi panel
[HTC Desire S] jugg1es:
Have you tried third party camera apps?

“The reason for the unreason with which you treat my reason , so weakens my reason that with reason I complain of your beauty.”*―*Miguel de Cervantes Saavedra
[HTC Desire S] mujeeb999:
no, but I tried MX player but video stops
[HTC Desire S] badflife:
I have same issue with cm7 camera and reaper camera.

For camera I use pudding camera or you can use camera zoom fx.

And choose sw decoder for video playback in mx palyer instead of hw decoder.

Do you also have problem with youtube video playback ?
[HTC Desire S] mujeeb999:
that is the problem, sw decoder uses too much battery also does not play 720p.
[HTC Desire S] andrewschumi:
In the site of flinny ir written this, considering MDDI panel:

I wonder if that means that there has been some progress or not:confused:
[HTC Desire S] PVL_93_RU:
Maybe, but Flinny needs a donor-device anyway
[HTC Desire S] zenesis:
can't he teach us or a person with lot's of understanding the kernel to work on our own with the MDDI kernel?
[HTC Desire S] PVL_93_RU:
Well, do we have such a person apart from amidabuddha and kylon?
[HTC Desire S] rafueen:
can't pull boot img from miui kernel and other boot.imgs also don't work properly on andromadus and pacman roms
[HTC Desire S] zenesis:
I wonder. However can't he just teach us? I'm desperate HAHA
[HTC Desire S] PVL_93_RU:
Dude

WTF

WHY DID YOU QUOTE THE ENTIRE FIRST POST?
[HTC Desire S] zenesis:
One of the XDA Forum rule is you don't have to quote that long OP. Seriously.
[HTC Desire S] amidabuddha:
Sorry to say but do not count on me. I spent a week trying to build CM10 kernel without any success. And as far as I understood the problem is a lack of Hitachi drivers for the JB buttery enhancements which means they must be rewritten from scratch which is a way out of my league.

Sent from my Desire S
[HTC Desire S] rafueen:
What does it mean?

app_125@android:/ $ su

app_125@android:/ # dmesg|grep -i panel

sh: grep: not found

write: Broken pipe

127|app_125@android:/ #
[HTC Desire S] zenesis:
Have you Contact Kylon or Flinny regarding your problem? You could ask them to teach you how to build it. You are our last resort.
[HTC Desire S] 441Excelsior:
use this:

dmesg | busybox grep -i panel
[HTC Desire S] jugg1es:
Off the top of my head, there's one person who might have the skills to do it. Unfortunatly i don't think he builds kernels anymore.

“Paying alimony is like feeding hay to a dead horse.”*―*Groucho Marx
[HTC Desire S] zenesis:
You can try to ask. =')
[HTC Desire S] jugg1es:
http://xdaforums.com/member.php?u=921807 :o

“Paying alimony is like feeding hay to a dead horse.”*―*Groucho Marx
[HTC Desire S] zenesis:
What I mean is you message him.
[HTC Desire S] rafueen:
This means that I have a Hitachi panel, right?
[HTC Desire S] jugg1es:
Fraid so, no Sony for you :sly:

“Paying alimony is like feeding hay to a dead horse.”*―*Groucho Marx

---------- Post added at 05:08 PM ---------- Previous post was at 04:57 PM ----------

I don't know him, i just said he probably had the skills to do it. (he built a kernel 3 for us before we got the ics source)

“Paying alimony is like feeding hay to a dead horse.”*―*Groucho Marx