[Q] What next? (kernel development) - HD2 Android Q&A, Help & Troubleshooting and Genera

I would like to see automatic backlight working. Something that ive wanted since i discovered it didnt work lol. Hate having to adjust backlight manually all the time especially in sunlight look like a right mong trying to set the backlight to full when i cant see
Does anyone know where i can find out the latest goings on in hd2 kernel development

longobongo said:
I would like to see automatic backlight working. Something that ive wanted since i discovered it didnt work lol. Hate having to adjust backlight manually all the time especially in sunlight look like a right mong trying to set the backlight to full when i cant see
Does anyone know where i can find out the latest goings on in hd2 kernel development
Click to expand...
Click to collapse
not the auto backlight is the only issue , but the backlight driver aswell , it dosn't dim backlight gradually when not used for some time , it only shuts the screen off

Personally,I would love to know if a CIFS module is being looked at or if Bluetooth HID will be added to GIT kernel.
Would be nice to have a TO DO page to check that stuff.

longobongo said:
I would like to see automatic backlight working. Something that ive wanted since i discovered it didnt work lol. Hate having to adjust backlight manually all the time especially in sunlight look like a right mong trying to set the backlight to full when i cant see
Does anyone know where i can find out the latest goings on in hd2 kernel development
Click to expand...
Click to collapse
You can follow twitter @ http://twitter.com/htc_linux and http://twitter.com/CotullaCode
Cotulla's twitter says september will be a great month..
Christmas might come early this year..
Oh btw; the backlight not going auto is courtesy of the ambient light sensor driver not being present.. Don't think it is high on the priority list atm.. Still lots of other bugs to go, including the touchscreen/G-sensor problem.
Personally would like to see that one fixed first, because that's something that's actually more useful than auto-backlight adjustment if you ask me.

Related

[UPD][Tracking] Andriod HD2 Open Issues

Let us track the OPEN issues on Android HD2, we will only discuss problems dealing with android alone, issues arised due to radio, WinMo rom and a specific android rom should be ignored.
AFAIK we still have 3 main Problems
1. GSensor/ Touchscreen Freeze.
Related Files in Android : \system\bin\akmd,\data\misc\AK8973Prms.txt and \system\lib\hw\sensors.xxxxx.so
(xxxxx = htcleo or default or qsd8k or ace or bravo based on the build)
This issue is not noticeable unless you a play game which uses Gsensor (Eg Abduction, NFS Shift ...)
This thread has lot more details about this issue and it could be a possible solution for you (it does not work for me though)
http://forum.xda-developers.com/showthread.php?t=803242
Possible Workaround :
1. Disable Auto-Rotate screen in Settings -> Display
2. Run the following commands in Terminal
mv \system\bin\akmd \system\bin\akmd2
killall akmd
To Restore
mv \system\bin\akmd2 \system\bin\akmd
Basically you are renaming the file 'akmd' which is responsible for the sensor to work
2. Data Disconnects
Related Files : \system\lib\libhtc_ril_wrapper.so
This thread has lot more details about this issue and it could be a possible solution for you (it does not work for me though)
http://forum.xda-developers.com/showthread.php?t=794309
Possible Workaround :
1. Switch Mobile Network OFF and then ON (Add a widget [Widget -> Settings -> Mobile Network])
2. Switch Airplane Mode OFF and then ON (Add a widget [Widget -> Settings -> Airplane Mode])
[EDIT]:
Guys looks like we got a fix.. this wrapper seems to work flawlessly as of now... you can try it here...
http://forum.xda-developers.com/showthread.php?t=824413
Just download 0.3 file and replace the file at /system/lib using root explorer
3. Occasional Black SOD and Accuracy in Auto Brightness
Newest kernals seems to have this issue, where the display stays black while the keypad lights glow.
Related Files : \system\lib\hw\lights.xxxxx.so
(xxxxx = htcleo or default or qsd8k or ace or bravo based on the build)
Possible Workaround :
1. Show the Sensor of your phone to some bright light source and your display will be back
2. Disable Automatic brightness in Settings -> Display-> Brightness
I will update this thread with Solutions as and when the developers fix it.
Whatever i have written is limited to my knowledge, it could be wrong, if so please correct me, Most of the vetarans know these issues and the work arounds, i have just put everything together for the new comers and to remind the developers of the existing bugs
Mods feel free to move the thread to General if need be.
Hi depakjan, This is great, thanks for tracking these issues.
can people confirm this "occasional bsod"?
i haven't seen it since light-sensor is calibrated.
i think the bsod is fixed with 2.12 radio and above..
Actually BSOD was introduced in the new lights file... it does not occur frequently... also if you have not upgraded you wont have it obviously...
depakjan said:
Actually BSOD was introduced in the new lights file... it does not occur frequently... also if you have not upgraded you wont have it obviously...
Click to expand...
Click to collapse
Just so people don't get confused.
BSOD normally refers to the Blue Screen Of Death on boot and should be fixed in the latest kernels.
The black screen due to no back-light is an issue with the auto-brightness and, AFAIK, only happens on CM6 builds that haven't had the correct levels setup.
I could be wrong though as I personally only used it for a few days for testing purposes.
Sent from my HTC HD2
hastarin said:
Just so people don't get confused.
BSOD normally refers to the Blue Screen Of Death on boot and should be fixed in the latest kernels.
The black screen due to no back-light is an issue with the auto-brightness and, AFAIK, only happens on CM6 builds that haven't had the correct levels setup.
I could be wrong though as I personally only used it for a few days for testing purposes.
Sent from my HTC HD2
Click to expand...
Click to collapse
I second that explanation ... and the auto backlight levels in CM builds may actually work better than Desire builds if tweaked properly... atleast for me the reaction time of the sensor is much faster ... accuracy still a problem
Accuracy is still a problem, so is Black SOD .. i have been getting this in Mdeejay's Revolution, HD .. latest ones...
it so happens when you have been talking over your phone for a long time(which blocks the sensor from light).. and then when you are finished with the call it wont wake up... maybe it did not sense light ... but after you show the sensors over a bright light source.. it comes back..
i have seen couple of posts and users mentioning about this...
lets see if everyone agrees that there is no Black SOD, i will modify the post for accuracy..
Support of HTC extended battery
I have tried a few android builds, but none of them seemed to support OEM HTC 2300mAH extended battery - after android booted up in the dual boot process, the HD2 powered-off by itself. I read some posts that acknowledged the problem, but I have not come across any android build that resolved this issue... Did I miss them? Thanks.
Can we also add tracking of Idle / Screen Off Battery Drain? Target is 5-8ma, some builds run at 100ma.
Is anyone's market busted?
Most apps won't install, but some do just fine. This started last night. I tested on 4 roms now and all exhibit identical behavior. This was NEVER an issue before.
(the stupid mount/unmount trick does nothing)
However, once they've d/led I can install them manually. Except for google voice. It refuses to install LOL. Google must have screwed something big here.
badmonopoly said:
Is anyone's market busted?
Most apps won't install, but some do just fine. This started last night. I tested on 4 roms now and all exhibit identical behavior. This was NEVER an issue before.
(the stupid mount/unmount trick does nothing)
However, once they've d/led I can install them manually. Except for google voice. It refuses to install LOL. Google must have screwed something big here.
Click to expand...
Click to collapse
There has been an issue internationally with access to the market for a while now. People were able to browse the market as normal but upon trying to install anything nothing would happen. This has been mentioned on several threads over this forum already and the problem is an intermittent one (obviously based on what server you connect to when trying to download anything).
Led Notification is not functioning, especially on Sense build.
backlight drivers are not working , it don't dim light when left without use (it closes the screen ) , as well as light sensor , doesn't dimm light only brightens the screen
jcc266 said:
I have tried a few android builds, but none of them seemed to support OEM HTC 2300mAH extended battery - after android booted up in the dual boot process, the HD2 powered-off by itself. I read some posts that acknowledged the problem, but I have not come across any android build that resolved this issue... Did I miss them? Thanks.
Click to expand...
Click to collapse
Try replacing the kernel from one of the Sense builds with my Alternative kernel.
Sent from my HTC HD2
hastarin said:
Try replacing the kernel from one of the Sense builds with my Alternative kernel.
Sent from my HTC HD2
Click to expand...
Click to collapse
. . . can I just 'tip my hat' to you hastarin . . . you 'd' man
And I'm hopeful that all the devs and chefs will have these problems solved before too long.
Viv la HD2 Android!
Reno_79 said:
There has been an issue internationally with access to the market for a while now. People were able to browse the market as normal but upon trying to install anything nothing would happen. This has been mentioned on several threads over this forum already and the problem is an intermittent one (obviously based on what server you connect to when trying to download anything).
Click to expand...
Click to collapse
What doesn't make any sense is that the app successfully downloads, but either stalls when it needs to d/l or tries to install and tell me it was unsuccessful.
hastarin said:
Just so people don't get confused.
BSOD normally refers to the Blue Screen Of Death on boot and should be fixed in the latest kernels.
The black screen due to no back-light is an issue with the auto-brightness and, AFAIK, only happens on CM6 builds that haven't had the correct levels setup.
I could be wrong though as I personally only used it for a few days for testing purposes.
Sent from my HTC HD2
Click to expand...
Click to collapse
I've found the backlight problem occurs (generally) if I unlock/lock the phone fairly quickly in a short space of time (and yes, I've only seen this on Hyperdroid 1.6 & 1.7, both CM6 builds). It's not consistently reproduce-able though, I can go several days without it happening, then have it happen a couple of times in a single day.
The touch screen is still active though, and swiping the unlock brings the screen back to normal brightness levels.
Tyrion84 said:
Led Notification is not functioning, especially on Sense build.
Click to expand...
Click to collapse
Works for me..could be your build ....try some other build...
hoss_n2 said:
backlight drivers are not working , it don't dim light when left without use (it closes the screen ) , as well as light sensor , doesn't dimm light only brightens the screen
Click to expand...
Click to collapse
this is already covered in the third point as accuracy
Works for me..could be your build ....try some other build...
Click to expand...
Click to collapse
Hi!
I wonder what "works for me" means. What exactly are your leds doing? On all builds i tried so far the left green led flashed about one time a minute green and nothing happened when the phone was charging. Are there some hidden settings or a special program for hd2 leds?
Cheers,
Otto

[App] Power Switch - screen off by closing case

Guys, im the developer of Power Switch, an app that switches off your tablet's screen when you shut the case.
The main thread can be found here:
http://forum.xda-developers.com/showthread.php?t=1277712
Ive had reports of problems with the folio's light sensor, so would appreciate some debugging feedback.
You can use the lite version to test, it has all the features, but just wont save as much juice.
Thanks in advance. Feel free to reply here or in the main thread, i read both regularly!
Thank you for it.
Are you saying things work properly?
I've played a bit with this app now and I can't get it to work properly.
Here are the two things I've encountered:
1. In the notification bar it says - Power Switch is active, tap here to configure. This doesn't do anything. To open the app/configuration I have to access it from a shortcut or from the app drawer.
2. The light sensor doesn't seem to work. Only response I get from the app is when it's turned up side down. Then it will switch off the screen.
I'm currently running it on FolioMod 1.4
Android 2.2
Kernel 2.6.32.9
What else can I do to help you?
1 - ill fix this, seems to be some sort of funky error
2 - thats sounds like a kernel problem, try using sensorlist app from mareket to check sensor...
Okay, well I think I know why the light sensor is giving us/you such a problem
There is no light sensor
I've seen it being listed in ads and reviews, but mine doesn't seem to have one.
I've got:
* tegra_accelerometer
* AK8975 3-axis Magnetic Field sensor
* AK8975 Orientation sensor
* tegra_tmon
Do you have auto brightness?
No.
I think Auto brightness was available in the Folio3x ROM (Honeycomb) but if it was active and actually working I don't know.
See that means its your rom/ kernel combo thats broken... surely every modern tablet has a light sensor?
I'll give the Honeycomb ROM another go next week and will let you know how it works.
Is anyone else missing a light sensor?
I have taken for granted that this device doesn't feature a light senator... Does anyone have any indication of that there should be one?
Do you have auto-brightness?
I think that we have and I had problem with SOD before I installed this app. Now I only put it in case and after par seconds it turn off screen and when I want to use it I don't have SOD problem. Thank you very much, lite version is OK for me but I'll might buy full version.
Sent from my FolioComb 0.4 using Tapatalk
What is sod?
SOD=Sleep Of Death
That means if you go to hibernation, you can't turn on screen and you must pull out your battery or long press power button(not fo all devices)
Well there apis an auto-shutdown setting...
Well? Any comments?
ftgg99 said:
Well there apis an auto-shutdown setting...
Click to expand...
Click to collapse
as allways. But noone can reproduce SOD - I can't even if I have seen it few times. For me helped long press on power button. Looks like bug in device dependent code - betelgeuse patches for kernel.
I sure can reproduce SOD. More often then not my folio reacts that way. I am currently not turning it of but just dim the screen when I put it away for awhile. Have tried a lot of things but my specimen is "a bit of a bastard". Still I'm hoping someone will come up with a way to circumvent the problem with some software patch. Guess it would have to be done in the kernel...

[Solved]Sensor on KF?

In the top left corner of my KF there seems to be a sensor. Anyone know what it is for? It doesn't seem to do anything when I cover it.
It is a light sensor that could be used to automatically adjust the screen backlight for example.
Yea but it doesn't seem to do that. I cover it and the screen brightness doesn't change. Is there a setting I am missing?
interesting - i think to remember there was a setting in settings->display called "auto brightness" in stock 6.2 and it was not activated by default - not shure but i think so
this setting seems to be gone in 6.2.1
found that:
http://forum.xda-developers.com/showthread.php?t=1351077
and
http://forum.xda-developers.com/showthread.php?t=1366894
and
http://www.amazon.com/forum/kindle?_encoding=UTF8&cdForum=Fx1D7SY3BVSESG&cdThread=Tx1A25EP3Z5BWB9
maybe i got mine with 6.0 ...
and here a picture of old times:
http://attachments.xda-developers.com/attachment.php?attachmentid=791845&d=1321998472
It should be a light sensor, but on my cm7 fire...it seems not functioning.
-Zeta- said:
It should be a light sensor, but on my cm7 fire...it seems not functioning.
Click to expand...
Click to collapse
It does not work currently on CM7, see post from whistlestop...
http://forum.xda-developers.com/showpost.php?p=21300591&postcount=820
I dont think Ive seen auto brightness work on any of the ICS ROMs or the MIUI port. Am I right about that? Might be kinda useful
nateware said:
I dont think Ive seen auto brightness work on any of the ICS ROMs or the MIUI port. Am I right about that? Might be kinda useful
Click to expand...
Click to collapse
See same post I listed above. It says that they haven't got the light sensor working in ICS either.
It worked originally in the Kindle Fire 6.0 release but was removed in the 6.1 update and has not been re-enabled in any version ROM that I know of.
Those that had the KF with 6.0 said it didn't work well which is why the most likely disabled it.
The Amazon "Basics" case covers up the sensor with the elastic straps. Maybe that's why they disabled it...
Thanks everyone, that explains it!
fallingcowdude said:
The Amazon "Basics" case covers up the sensor with the elastic straps. Maybe that's why they disabled it...
Click to expand...
Click to collapse
Doubtful. One the KF doesn't come with a case and many cases have the hole for it. Mine does. More likely, there is a hardware issue.
I also note that many phones which have the same thing work better by turning the auto off. Using auto uses more battery on my Dinc, so I just turn it off.
They removed it because it was like watching a bad monitor with a low flicking refresh rate.... it was sampling like 3-5 times a second and adjusting. I thought I was going to have a seizure until it updated
Sent from my Kindle Fire using xda premium

Nexus 4 Auto Brightness does not change at all

Evening all,
I've had my nexus 4 for around a month now and I've only just noticed that the Auto Brightness does not work what so ever. It's set to automatic as stated - but no matter what the surrounding light is - it just never changes!
I've scouted the forum and can only see people stating other problems with there Auto Brightness, none that are relevant to mine. But I do apologise if it has been mentioned before, I just couldn't find it.
Thanks for the help.
Jay.
I used to use Velis Autobrightness before I moved to CM and a Custom kernel.
It's free in the store. You can adjust the sensitivity as well so it changes more/less instantly.
jayclarke said:
Evening all,
I've had my nexus 4 for around a month now and I've only just noticed that the Auto Brightness does not work what so ever. It's set to automatic as stated - but no matter what the surrounding light is - it just never changes!
I've scouted the forum and can only see people stating other problems with there Auto Brightness, none that are relevant to mine. But I do apologise if it has been mentioned before, I just couldn't find it.
Thanks for the help.
Jay.
Click to expand...
Click to collapse
You can try downloading lux from the play store and see if that works. It can tell you how much light your ambient sensor is reading. If auto brightness works with lux, it's a software bug so flash a custom rom or re flash your rom. If lux says your ambient sensor doesn't read different values, you probably have a defective sensor.
Light sensor not working or a system issue?
hey guys i noticed a couple of days ago that my auto brightness is not working as it used to i.e. it doesnt change at all....i figured that this might be a system software issue so i tried a couple of auto brightness apps and one of them worked for like half a day and now even that wont change the brightness at all...now im worried that there is a problem with my ambient light sensor!!! can someone please help me with this??!! thanks!!!!
---------- Post added at 06:29 AM ---------- Previous post was at 06:00 AM ----------
jayclarke said:
Evening all,
I've had my nexus 4 for around a month now and I've only just noticed that the Auto Brightness does not work what so ever. It's set to automatic as stated - but no matter what the surrounding light is - it just never changes!
I've scouted the forum and can only see people stating other problems with there Auto Brightness, none that are relevant to mine. But I do apologise if it has been mentioned before, I just couldn't find it.
Thanks for the help.
Jay.
Click to expand...
Click to collapse
I have the same issue Jay. I can't get any help with it either....i tried a couple of autobrightness apps from the play store and one of them worked for half a day and then even that stopped working...so im in a dilemma of whether it's the system software or the phone's sensor which is the problem. Let me know if you find something out... thanks

Auto brightness stopped working

Hi guys I have a problem on my s8.
Auto brightness always worked for me, but I just noticed that now it stopped working at all. Like, usually if i set brightness to max and then set autobrightness on, it auto reduces it to like 25%, meanwhile now it doesnt change the brightness ever. I have the feeling that auto brightness stopped working after i installed the last patch with odin (the UK unbranded one) since I patched it like 4 days ago and in the past weeks it worked fine. I dont think its a hardware problem because I tried sensor box app and in a black room it shows 0 while in a light one it goes to over 100 and next to a lamp over 2000.
Any idea what could be the problem? And how to fix it? I really would hate to do a hard reset since i'd lose too much stuff... could it be the patch that has a bug? Thanks in advance!
tharghan said:
Hi guys I have a problem on my s8.
Auto brightness always worked for me, but I just noticed that now it stopped working at all. Like, usually if i set brightness to max and then set autobrightness on, it auto reduces it to like 25%, meanwhile now it doesnt change the brightness ever. I have the feeling that auto brightness stopped working after i installed the last patch with odin (the UK unbranded one) since I patched it like 4 days ago and in the past weeks it worked fine. I dont think its a hardware problem because I tried sensor box app and in a black room it shows 0 while in a light one it goes to over 100 and next to a lamp over 2000.
Any idea what could be the problem? And how to fix it? I really would hate to do a hard reset since i'd lose too much stuff... could it be the patch that has a bug? Thanks in advance!
Click to expand...
Click to collapse
I have similar issue with my phone after latest update. I did hard reset without luck. All we have to do is to wait until new patch will be released and hopefully fix this issue. Regards
Sent from my SM-G950F using Tapatalk
ojkajoj said:
I have similar issue with my phone after latest update. I did hard reset without luck. All we have to do is to wait until new patch will be released and hopefully fix this issue. Regards
Sent from my SM-G950F using Tapatalk
Click to expand...
Click to collapse
I'm really surprised that Samsung will go live with a firmware with bugs like this, I guess they really dont test anything.
I think is the same for me ! With AQG5 firmware (the last one) when you change the brightness with auto brightness on, the phone memorise the setting with the ambiant light condition : you can see it by doing the following : turn auto brightness on and then set brightness up or down. Then uncheck auto brightness of and place the curser at the opposite. At last put auto brightness back on and the brightness will jump where you put it before like the phone memorised it.
Also with auto brightness on you can put your thumb on the sensor in the upper left side of the phone to simulate darkness. The screens goes darker and as soon you remove your thonger he goes lighter.
I dont understand why just some of us have this problem. They should released a fix soon because its really annoying not to have it working, I dont want to have to wait a month or more like this...
It pissed me off so I downgraded to AQF7 : the issue is now gone =)
Same thing over here!
The AQF7 update was by far the best and most stable one to date. Now my home button problem is back and lag also!
Before it I had home button issues with response and lag whille scrolling. Whit the current update everything came back!
Samsung really needs to get their s*** together!
Well... when they released the AQH3 in the changelog it said they fixed the auto brightness thingie, yet I just installed it and guess what? I still have the same problem. Auto brightness still doesnt work, like in the firmware that came out a month ago.
Anyone else tested it? What the **** is Samsung doing?
No one tried yet?
I agree with you, the autobrightness still doesn't work.
Sent from my SM-G950F using Tapatalk
Any way to fix this? I am using an app called lux, but it's not perfect, still better than nothing
I have the same problem. I saw another thread that said it's not a bug. They made it that it learns your patterns, so it won't change when you hit the auto brightness button, but it still does become brighter when you go outside, and dimmer when you go inside.
I'm not happy with it though, as it worked perfectly for me before this update, and this is just very annoying.
Atomsk said:
Any way to fix this? I am using an app called lux, but it's not perfect, still better than nothing
Click to expand...
Click to collapse
What build/baseband/firmware are you running?

Categories

Resources