[Q] Notification LED - LG Optimus 2x

Hello everyone,
writing from Italy, where this smartphone should arrive in these days. I already pre-ordered it, but I'd like to know if there is any kind of notification led on board (like the one that Nokia 5800 XM has - sorry for this link but it's my phone at the moment and I find the notification light very comfortable) or if perhaps there is a way to access the softkey buttons so that I can command them to light on if any notification is available.
Thanks in advance and have a good evening

In a nutshell, no notification light and no application for the button lights yet.

Thanks well, do anyone know the object I shall refere to access those lights? I really hope they are objects and not just "part of the screen"...

If I recall correctly, someone did actually mod the softkey buttons on the Galaxy S for notification purposes. If it was done there, why not on the 2X?
Edit:
There it was: http://forum.xda-developers.com/showthread.php?t=772672
Now all we need is CWM and a custom kernel with this thing implemented.

What I can say from inspecting the service manual so far is some bad news sadly:
All leds connect to the same source.
This means, the LEDs cannot be illuminated individually, only together.
I'll dig into it some more. Maybe I can find out something more.
Edit: Alright, here's some more.
The power source for the LEDs is realized by the LXW and/or FBW outputs of the MAX8907C which seems to be a power IC for the platform (it provides possibly all major voltage flavors inside the assembly)
The device is controlled via one of the I²C buses of the AP20 chip (PWR_I2C_SDA and PWR_I2C_SCL) but sadly, I couldn't get a hold of any datasheet for this chip, so further progress is work for those who can dig deep enough into the OS and kernel to control the appropriate outputs.

What if we inspect the source of the software coded for the Nexus S so that we can actually change the parameters and make it work on the 2x?

Well, since the "Hidden Menu" has an option for dimming the light on those buttons, shouldn't it be posible to use the same functionality to make notification light out of it?
This "Hidden Menu" must be some apk or something?

tiwiz said:
What if we inspect the source of the software coded for the Nexus S so that we can actually change the parameters and make it work on the 2x?
Click to expand...
Click to collapse
Nexus S is a completely different platform. I think starting from scratch would be just as hard than tweaking the Nexus S code.
Searching the APK of the Hidden Menu could be more promising.

I'll start digging as soon as I get my phone... it's taking ages to arrive here in Italy ::facepalm::

http://www.planete-android.com/2011/03/22/led-de-notification-pour-le-nexus-s/
USE OF CAPACITIVE BUTONS

Related

[APP] [updated] 4x4 Gyrometer/Inclinometer/Landmeter

Hello friends.
I am looking for an application for measuring car x and y tilt for offroad uses with 4x4 vehicle. Only one suitable app I found is the Kai's water level with its gyrometer feature,but this is very small and in my case I don't need bubbles,so I want to get a software to do my job,but with much larger indicator,angles and warnings as this... http://www.youtube.com/watch?v=QegwIr4dle8
Is there anybody here,who can mix both functionalities of these softwares for me(cause I am not skilled with C)to one application? Super graphic effects aren't necessary.
Thanks in advance.
Very cool idea. I found this http://sites.google.com/site/srlappsproject/home/on-the-level-app its for android but looks cool.
This is very ideal,but for iPhone
http://appshopper.com/utilities/clinovintage
TomasNM said:
Hello friends.
I am looking for an application for measuring car x and y tilt for offroad uses with 4x4 vehicle. Only one suitable app I found is the Kai's water level with its gyrometer feature,but this is very small and in my case I don't need bubbles,so I want to get a software to do my job,but with much larger indicator,angles and warnings as this... http://www.youtube.com/watch?v=QegwIr4dle8
Is there anybody here,who can mix both functionalities of these softwares for me(cause I am not skilled with C)to one application? Super graphic effects aren't necessary.
Thanks in advance.
Click to expand...
Click to collapse
In truth that's not a difficult app to write, however, I think you'll have issues if you are planning on using it on the move, as the sensor only measures the gravity that it perceives, so if you move the phone around, it gets terribly confused as to where "down" is.
I'm guessing you want to know that an incline of over x degrees is likely to cause the vehicle to tip, etc, but if you are bumping over rough ground, then you'll never get an accurate reading anyway IMHO.
Cheers,
Steve.
Well,I know,that the sensor reacts also for acceleration,because normally it measures inertial forces and the result is not depended only on the gravity. Anyway,it should be okay,because I need it for very slow motion of the car in difficult terrain and I want to see,if my tilt angle(especially to side) is in tolerance,because I don't want to flip the car on the roof. Are you skilled with this "easy" programming?
I would be happy to do the graphics for it just tell me what you need.
TomasNM said:
Well,I know,that the sensor reacts also for a acceleration,because normally it changes inertial forces and the result is not depended only on the gravity. Anyway,it should be okay,because I need it for very slow motion of the car in difficult terrain and I want to see,if my tilt angle(especially to side) is in tolerance,because I don't want to flip the car on the roof. Are you skilled with this "easy" programming?
Click to expand...
Click to collapse
I wouldn't necessarily say "skilled", but I wrote the Touch Incall Screen Tweak which turns on/off the screen during a call based on the orientation of the phone, so I'm familiar with working with the accelerometer.
Cheers,
Steve.
Okay,I will prepare demo application tomorrow for PC. I want to have the functionality of the software in video,but with comparable graphics as Kai's bubble level gyrometer(visible horizont). It will be lonely one application of its type on the world,so you can be rich.
Maybe a little something like this. The buttons at the bottom would change color depending on the alarm setting for each angle. You could change that setting by pressing the corresponding button. The numbers in the buttons would give you the actual ° reading.
Just a thought.
Ok, I pulled a stupid moment, there would only be 2 axis, Yaw and Tilt. I was thinking 3D
Also the Waterlevel app found here http://forum.xda-developers.com/showthread.php?t=411550 has the open source files posted with it, may save some time.
For me is enough to have just 2 axis. The front-end angle and side angle. The image posted before is quiet perfect,but we should have 4 buttons for X-warning,X-max,Y-warning-Y-max,when I hit one of them,I will be able to adjust it. Of course some notifications for these warnings are welcomed as well as angle value visible on the screen all the time.
Next thing what is also welcomed is the power-on ability to prevent auto-dim/off the display. All the things should be visible from the driver's place,when the phone is fixed on the dashboard,so the fonts should be big enough and of course the calibration function to be present.
With this picture you have saved me lot of time spended with programming the PC demo-now isn't needed,because all features are explained.
Anyway,thank you for your help and willingness.
Something more like this? Then pressing the X or Y button would take you to a setup page that you could set warning sounds for yellow or red and you could also set degrees for the setpoints of yellow warning and red warning for each axis.
Quiet perfect!
Can you enlarge the degree fonts and locate them to the bottom corners nearby the circle? Also the labels "Actual" are not necessary. Into the top corners maybe you can locate Calibration button and options/exit(if it will be fullscreened). The warning sounds is also not bad idea...
Like this?
Absolutely perfect!!!
Well done mate.
Now just make it working and it will be super. Are you able to make it alive?
Sorry I do not have that talent, wish I did.
Oh,what a shame. I'll try to take some developers here...
I think this needs moved to the developers thread.
Please, make this dream come true! I'm looking for this kind of software too!

Feedback wanted

App now on the market, thanks for all your help.
great emulation. see my magic/sapphire device specs below...
no sound
very slow response to fire/shoot tap
...other than those issues, nice work.
Hi, great looking and I like the neat touches about adding 10p etc.
Comments - as posted above, no sound and the motion of the base is very slow either by motion detection or using the trackball. Though the trackball seemed to be very intermittent.
I'm running a T-Mobile G2 touch with the latest stock rom. All other background apps, had been disabled too.
Most gracious thanks for your comments. I think I've found the sound bug proper now. I've also found a vast improvement in speed after some GFX tweaks.
The control issues sound odd as both the emulator & my i7500 don't have these problems (but neither have a trackball, the emulator has no sensor), maybe the speed increase will fix things, as the phone was probably getting bogged down with unnecessary drawPixels.
Version 5 is available in the 1st post above, be grateful of any further feedback.
Edit: I've also updated the sensor updated time to maximum to see if that helps.
Great improvemnet.
Sound - now works, firing, explosions, flying saucer. Though the sound of the "invaders" moving is slow, but I am guessing that is as the original?
Movement - The motion sensor works fine now, though the trackball still does not function for left or right movement. If you try the trackball, the app says "motion sensor disabled", but the trackball does not move the player. The fire function works when you depress the ball though.
I love it, takes me back
Daft question but
Could this be used with other arcade roms?
Splather said:
Could this be used with other arcade roms?
Click to expand...
Click to collapse
Yes, a limited few though, those what run on similar 8080 hardware (a few tweaks may be needed).
I will probably add these later.
OK, nearly at the finishing post. I reckon I've sorted the trackball issue, though I don't have a device with a trackball to test it on. I've also added the suggested full screen mode, though it runs a bit slow even after skipping a few frames, but I've left it in for the moment as it will encourage me to further optimize (will probably have a go at h/w acceleration in v2).
Version 6 Now available in the 1st post.
Trackball works fine now, not sure if it's just me but it seems slower than using the tilt method. Nice work.
I prefer the "bordered" view as it reminds me of the actual screen in the cabinet with the border around the black and white screen. Though on some machines they added coloured bands across the screen so that the invaders "appear" to change colour the lower they got. Maybe you could add that in?
"Edited"
Just a thought, not sure if you can do it, but can you override the "back" key functionality, then you could use it as a fire button and the trackball would be movement only. This way it is slightly more authentic in having the left right control and a fire button just like the original.
OMG that's slow!
Uninstalled... sorry
Love the idea, though
beaker656 said:
Trackball works fine now, not sure if it's just me but it seems slower than using the tilt method. Nice work.
Click to expand...
Click to collapse
Seem to have a problem there... read the new control instructions in version & to see if that helps. It's hard to sort until I get a real device.
beaker656 said:
I prefer the "bordered" view as it reminds me of the actual screen in the cabinet with the border around the black and white screen. Though on some machines they added coloured bands across the screen so that the invaders "appear" to change colour the lower they got. Maybe you could add that in?
Click to expand...
Click to collapse
You might be thinking of 'Space Invaders Part II' or 'Space Invaders Deluxe'
beaker656 said:
"Edited"
Just a thought, not sure if you can do it, but can you override the "back" key functionality, then you could use it as a fire button and the trackball would be movement only. This way it is slightly more authentic in having the left right control and a fire button just like the original.
Click to expand...
Click to collapse
You can still used the touch screen when using the trackball.
I don't fancy overriding the back key
Henrikmand said:
OMG that's slow!
Uninstalled... sorry
Love the idea, though
Click to expand...
Click to collapse
I've tried extra hard to speed things up a bit more in version 7.
Might be able to squeeze a bit more???
NEW UPDATE: v7
more speed
vibrator
control tweaks
U seem to just have increased the gamespeed, it still laggs like before.
Very slow and lag in sound.
Looks promising...
Hi guys and gals.
Long story... Gave my code a bit of decent profiling to see what was going on with the trackball. Seems like the cpu emulation core is taking so much time up that there is very little left for the main thread to pick up any events, and when it did, it bogged down the cpu thread. Trackball events have a huge time overhead with keyPressEvents the least, TouchEvents lie some where in the middle.
A nice solution would be to replace my java 8080 cpu source with native code (anyone want to help out here?), but my skills level is probably not up to it.
So, trackball support has now gone completely , replaced with screen buttons. Dpad will still work though, and touching almost anywhere on the screen, other than the left/right buttons will fire too (so your fingers aren't all over the place). Let me know what you's all think.
Found some extra speedups from the cpu core too, but had to butcher a lot of nicely structured code to get the gains.
Updated the first Post with the last version.
Thanks all.
Tidied up the GUI and while I was there...
Deluxe Support.
Catch the APK in the first post.
Could someone give it a final try to see if the controls problem has been fixed???
Thanks very much.
Now on the market. Thanks for all your help.
tonydoc said:
Now on the market. Thanks for all your help.
Click to expand...
Click to collapse
Well thats fine but since you've edited the thread now we don't know the title of this thing anymore

[Q] If you could ask for one thing to be added to the Galaxy S

What would you ask for ???
Obviously Froyo is on its way.
But any other ideas for hardware or software ?
eg.
Dedicated camera button for front facing camera
etc etc
or a solution for
better copy / paste selection
option for numerical pin as opposed to patern unlock
etc etc
Just read other posts asking simlar questions eg Facebook thread.
But this could be a reasonable chance to get our view across, The Mrs has just been approached to review their products
markhd said:
...
Front facing camera
...
Click to expand...
Click to collapse
but it's not there?
BTW, what I really need (in addition to froyo, an improved GPS and less lag.... ok, I'm on stock fw...) is not from Samsung directly but simply an app: Skype!!!
LED Flash
and SenseUI!
(I cheated)
1. some kinda mic settings so i could record concerts and have the footage useable.
2. stereo speakers..
3. usb connection on bottom..
4. led or xenon or both flash
5. camera dedicated button right side bottom.
lgkahn said:
1. some kinda mic settings so i could record concerts and have the footage useable.
2. stereo speakers..
3. usb connection on bottom..
4. led or xenon or both flash
5. camera dedicated button right side bottom.
Click to expand...
Click to collapse
This pretty much sums it up.
More RAM
like 4 GB RAM, and Dual Core CPU
and a flat 3000 mAh battery
flash for sure
- camera flash
- hdmi output (rumored via usb in the future)
I want an optical joystick. And a brushed Al backplate. And I dun need a clickable center button if a touch sensitive one will be more durable. And undo/redo in all text editors. And the icon size should be adjustable. Err, that's 5 more things, my bad....
KaliKot said:
LED Flash
and SenseUI!
(I cheated)
Click to expand...
Click to collapse
Why just a LED flash? they are pretty lame.
If you are going to have a flash at least have a proper one (xenon).
That would be my wish
1) xenon flash
2) coloured trackball for notifications
a working rocket launcher.
Stability.
(It looks like most, or all, the Bell i9000M phones have a problem with the internal SD chips, killing themselves. Mine died, and all I did was launch the audio player!)
Xenon flash or a LED for notifications
I'd say something android lacks overall: easy caret placement. On the phone produced by a fruity manufacturer you have somewhat of a magnifying circle when positioning the caret. I would REALLY like that (or equivalent) to be available on Android
...unless it already supports it and I have overlooked it for months, lol
notification led
couldn't care less about flash, the phone makes extremely good night pics anyhow and i'm not into making horrible night pics with a flash 30cm from ppl's face
the rest is software and can/will/is already added by community/samsung
eventually a joystick or something similar for games hehe.
d-fader said:
I'd say something android lacks overall: easy caret placement. On the phone produced by a fruity manufacturer you have somewhat of a magnifying circle when positioning the caret. I would REALLY like that (or equivalent) to be available on Android
...unless it already supports it and I have overlooked it for months, lol
Click to expand...
Click to collapse
Both the samsung keyboard and swype keyboard have cursor arrow keys for fine caret adjustment.
For the samsung keyboard, long-press/hold down the '?123' button in the left bottom corner. In the Swype keyboard, swype from 'i' (information) key in bottom corner to 'SYM' key next to it and a new board opens with arrows and additional 'cut/copy/paste' commands. Very handy although not as elegant as the fruity phone's implementation or easy to use as a Nexus trackball.
silverstorm said:
Very handy although not as elegant as the fruity phone's implementation or easy to use as a Nexus trackball.
Click to expand...
Click to collapse
Wow, that is very handy indeed! Didn't know that one yet! Thanks for noticing...
Stability (hopefully this will come with froyo)
Optical Pointer,
four touch keys like Tmobile vibrant under the screen.
Camera Flash,
Notification LED
Optical joystick
Dedicated camera button
Camera flash
gold dispensing machine

[Q] disable hardware buttons backlight

hi
is there any way to disable the led of the hardware buttons. i know where the buttons are. i dont need a light to find them. and it looks ugly when they light up. after i used them i always wait to touch the screen until they are off.
I think neldar knows the most about this since he has done the backlight notifications mod. It would be super to have an option in the recovery to disable backlight in the buttons. They are annoying at night when using Screen filter to dim the screen, buttons are very bright in contrast to the screen.
Agreed. I would love to be able to switch them off.
Yes this is true and really anoying!
At night they are much to bright. Would love a "disable" option, too.
Is it maybe possible to dimm the buttons, too?? This would really be awesome
ok, i'm not the only one who wants that leds switched off. but isn't there anyone who has an idea how to do that
Anyone figured this out yet?
i found an app in the market called“ leds hack“. it supports samsung vibrant, but it dont works on my phone. isnt it the us-name for the sgs? maybe the rom is the problem. i'm on darkys 9.3
i tryed to find the script that controls the backlight. here: stackoverflow.com/questions/4152053/android-turn-off-key-lights i found this info:
A: The keyboard backlight can be controlled via /sys/class/leds/ keyboard-backlight/brightness. It appears that it's a simple on-off control (echoing '0' turns it off, echoing '1' or higher turns it on). For some reason, the default system backlight control stuff seems to set this to "83", but I don't know why. I can't seem to see any difference between 83 and any other number. The file is readable by anyone, but only writable by root, so you'll need root access to the phone to manipulate it this way.
can anyone tell me where i can find the file on my phone...
Has anyone found the answer?
This is honestly something that I would even pay for if a dev wanted to create a little app or mod that could do this quickly and easily for those that are not confident to make these changes on their own.
No one? :/
magooo said:
/sys/class/leds/ keyboard-backlight/brightness
Click to expand...
Click to collapse
this doesnt exist on our android.
There is is /sys/devices/virtual/misc/melfas_touchkey/brightness
you can do
echo '1' > /sys/devices/virtual/misc/melfas_touchkey/brightness
to turn it on, but i have not found a way to turn it off permanently
Can some one bind this to light sensor? So that we can have it disabled during day and have it enabled at night??
how can i edit this files? i cant find an editor or something like that. i'd like to play around with this script?
joseph.carty said:
This is honestly something that I would even pay for if a dev wanted to create a little app or mod that could do this quickly and easily for those that are not confident to make these changes on their own.
Click to expand...
Click to collapse
I'd pay too
Please, It have to be so easy
magooo said:
A: The keyboard backlight can be controlled via /sys/class/leds/ keyboard-backlight/brightness
Click to expand...
Click to collapse
I don't have the folder /leds. What version of android do you have?
I found this. As a new user, I can't send links to the forum, I paste the important part:
Samsung GT-I9000
s3c-keypad
- scancode = 26 (confirmed with keylayout/s3c-keypad.kl)
/sys/class/backlight/s5p_bl/brightness
drivers/input/keyboard/s3c-keypad.c
drivers/video/backlight/backlight.c
- brightness and actual_brightness 's get/set method. (actual_brightness is read only)
drivers/video/samsung/s3cfb_tl2796.c
- Samsung's implementation. MIN_BL = 30. Lower than this == black out.
Could it be useful?
Thanks

[Q] Oneplus One capacitive buttons for notifications

Hi guys,
I was thinking about the possibility to make (for example) the home button of the OPO on the bottom blink for notifications in stead of the notification led at the top.
Does someone know an app that can make this happen?
Sorry if this question is already asked elsewhere but I didn't find it up till now.
Grtz
It's more than possible, it's called back-light notifications (BLN) search the playstore and you should see some apps. Though I don't understand why you'd want it, seeing how there's a notification led (that'd consume less battery), but I suppose to each their own?
Edit: Sorry had a brainfart, and forgot to mention you most likely need a kernel which supports BLN and to my knowledge no one has included it, since it's a bit redundant, and taxes the cpu and impacts battery life for no reason. It's extremely useful on phones without a notification led, and more common. But I suppose it can be easily ported to the 1+ if there's an oppo find7a kernel that supports it, if you wanted to tackle it.
Edit 2: Looked around, and apparently an app called 'LightFlow' might not need a custom kernel (?) Worth checking out.
Exothermic said:
It's more than possible, it's called back-light notifications (BLN) search the playstore and you should see some apps. Though I don't understand why you'd want it, seeing how there's a notification led (that'd consume less battery), but I suppose to each their own?
Edit: Sorry had a brainfart, and forgot to mention you most likely need a kernel which supports BLN and to my knowledge no one has included it, since it's a bit redundant, and taxes the cpu and impacts battery life for no reason. It's extremely useful on phones without a notification led, and more common. But I suppose it can be easily ported to the 1+ if there's an oppo find7a kernel that supports it, if you wanted to tackle it.
Edit 2: Looked around, and apparently an app called 'LightFlow' might not need a custom kernel (?) Worth checking out.
Click to expand...
Click to collapse
Just wanted to thank you for helping someone out. You are awesome ?
Oneplus Nexus 5
I like the idea. But unless the capacitive buttons are bright enough to actually see... I just can't see this working all that well. Really wish the buttons were brighter so that this would be possible.
Sent from my A0001 using Tapatalk

Categories

Resources