[REQ] Soft-key Backlight (2 seconds or less) - Fascinate Android Development

Anyone know how I might get started or already have a way of modifying EB01 so that the soft key backlight is as short as it was when the Fascinate first released? (something like 2 seconds).
Personally, I dislike those keys being backlit at all and would really just like to turn it off completely - but I'd be satisfied with 2 seconds.

Should probably have posted this in the general section.

Terror_1 said:
Should probably have posted this in the general section.
Click to expand...
Click to collapse
It's a request for a specific mod and I believe those belong here.
I'd like to second this request. The lit keys are distracting and I don't even look at them when I use them.
Sent from my SCH-I500 using XDA App

While I would like to see a mod for BLN it is my understanding that this is a development forum and doesn't carry the "request" moniker.
Sent from my SCH-I500 using XDA App

burningembers said:
Anyone know how I might get started or already have a way of modifying EB01 so that the soft key backlight is as short as it was when the Fascinate first released? (something like 2 seconds).
Personally, I dislike those keys being backlit at all and would really just like to turn it off completely - but I'd be satisfied with 2 seconds.
Click to expand...
Click to collapse
I PMed wasupwithuman to see what he edited in services.jar to do his backlight-lengthening hack on DI01, but he hasn't responded. This may be because he's switched phones...
Anyway, the answer is definitely in services.jar. You can decompile that with baksmali... Perhaps compare the code for modded and stock DI01.

I looked at it briefly, but it seems like no matter what values I set, the soft key backlight stays on until 5 seconds before the screen timeout.
I must have something conflicting with it.

Related

Anyway to use the touch buttons as a LED notifier?

Is it possible to use the touch buttons as an LED notifier for missed calls, email, and SMS? Sure they cant change colors but at least it could blink every X seconds/minutes.
You do Realize this has been asked before.. I sent Jac a thread that has this working on the I9000.. Not sure if he's still looking into it or not though.
its already done for Captivate.
http://forum.xda-developers.com/showthread.php?t=780732
Whats included:
-Correct Screen auto-rotate
-HSUPA support
-MobileAP support (aka wireless tethering)
-Selecting with power button in recovery mode
-External SD card support
-Postboot scripts
-Voodoo lagfix
-Softkey Backlight Notification
I tried and got bricked... so if someone can make this for Vibrant i will be happy.
I use the app noLED. Works pretty well. Found it in the market.
knotphunnie said:
I use the app noLED. Works pretty well. Found it in the market.
Click to expand...
Click to collapse
I personally don't care for that app. It's okay idea, but what really needs to get done is samsung to implement the Notifications into the buttons. I've seen what the i9000 has done, it's not too bad. This has been posted many times, you might want to try the search button
knotphunnie said:
I use the app noLED. Works pretty well. Found it in the market.
Click to expand...
Click to collapse
Ive been using that but its questionable how it affects battery life and long-term effects on the screen life.
noLED is a decent alternative imo
When I used to noLED I would press the volume buttons and it would give me the volume sound and light up the screen but still on black. So I predicted it would kill my battery quicker.
Sent from my SGH-T959 using XDA App
NoLED is a PITA...it adds another layer of lockscreens/button-touches to get your notifications, thus I didn't care for it much. It also FC'd on me all the time...YMMV.
Someone will most likely get the button led flash to work one day, just be patient.
Flash notify in the market place will suffice for now and it actually works pretty good
surprised this hasn't already been implemented for the vibrant. if it's already done on the captivate isn't it just a matter of time for someone to port the code over?
Reason it hasn't been implemented got the vibrant its because your talking a whole new kernel build... Along with that the current implementations of it, from what I read prior, aren't too fond of battery life and they can't make it blink like a led would do. The buttons backlight just stays on. I don't know if that has changed any time recently but thats what it was like the previous time I looked it up.
Sent from my SGH-T959 using XDA App
TheSneakerWhore said:
NoLED is a PITA...it adds another layer of lockscreens/button-touches to get your notifications, thus I didn't care for it much. It also FC'd on me all the time...YMMV.
Someone will most likely get the button led flash to work one day, just be patient.
Click to expand...
Click to collapse
hmm I never had a issue with it nor any extra battery drain. Is it the best coolest app nope. But it works for notifications
Samsung fixed this probably purposely overlooked notification problem with galaxy S phones with a whole new galaxy S, the Continuum
http://forum.xda-developers.com/showpost.php?p=8407079&postcount=12
bugmenot5 said:
Samsung fixed this probably purposely overlooked notification problem with galaxy S phones with a whole new galaxy S, the Continuum
http://forum.xda-developers.com/showpost.php?p=8407079&postcount=12
Click to expand...
Click to collapse
That phone is the ugliest excuse for a phone, add a damn led... Its that simple, why decrease the main screen size for a very sub par mini screen that looks like trash.
Sent from my SGH-T959
xplanowestx said:
That phone is the ugliest excuse for a phone, add a damn led... Its that simple, why decrease the main screen size for a very sub par mini screen that looks like trash.
Sent from my SGH-T959
Click to expand...
Click to collapse
Yeah that things not looking so hot for me either. Lol
The best alternative IMO is Flash Notify. Been using it for a long time with no issues. Really wanted the soft keys to light up for notifications but I don't find that necessary anymore.
Sent from my SGH-T959 using XDA App

[Q] How likely (how soon) is BLN for SGS2?

On my Galaxy S and Nexus S the mod I most appreciated was Backlight Notification (BLN) to use the LEDs for missed call/text notifications.
Does anybody know how possible such a mod is for the SGS2? It took a long time to appear on the Nexus S scene - is it likely to be just as tricky for the SGS2?
BLN would be great. Going to use Noled for now I guess.
definately possible since neldar released the version for older sgs gingerbread today..
I started a thread about a bounty for this. I don't think there is much interest. Which is crazy. Not having a notification led really sucks.
I would really like this too, maybe since the phone hasn't been out long it'll take a bit of time to get this on the radar for development. Especially as it still hasn't been released in some countries yet.
I came from an HTC hero, so this hasn't been an issue previously, and it took a bit of searching to find out that BLN had existed for previous galaxy phones.
AmesCell said:
I started a thread about a bounty for this. I don't think there is much interest. Which is crazy. Not having a notification led really sucks.
Click to expand...
Click to collapse
I'll be chipping something in to this bounty
Good news - http://forum.xda-developers.com/showpost.php?p=14679659&postcount=510
Excellent! Neldar's BLN is definitely sorely missed on the i9100.
Sent from my GT-I9100 using XDA Premium App
Can someone explain the advantage of this over NoLED?
I too came from a Hero and have been happier with NoLED than a single LED notification. There are already tons of options to setup NoLED however you want. I can't imagine a mod being any better...
No led is useless to me since I dont use a lock screen, hate em. Does the bln version work without one? I read for 20 minutes in the link without figuring that out.
This is the mod I am most looking forward too
so any news about the BLN application for Galaxy S II ?
Yes, same here. Eagerly waiting for BLN to support the I9100. But isn't there any other app in the market? As our phone has in built key light it shouldn't be very hard to make an app I guess.
Regards.
Rob_J said:
On my Galaxy S and Nexus S the mod I most appreciated was Backlight Notification (BLN) to use the LEDs for missed call/text notifications.
Click to expand...
Click to collapse
How is this possible ?, I thought AMOLED screens used no backlight...
Enables led in back and menu buttons
Sent from my GT-I9100 using Tapatalk
Lets hope its soon! I'm very excited for this mod.
I'm also looking VERY much forward to this mod, since I'm coming from an HTC phone (Hero) where this is standard.
This would make the SGS2 perfect! ATM it's only almost perfect
Would also happily add to the bounty
im also looking forward to this mod. can't believe a notification LED wasnt built in.. must have just forgot?
I will definitely donate for this!!
yes, this and the lock screen delay issue is the only thing holding this wonderful phone back.
Does BLN control Pro v0.11.10 work on SGS II??

Auto brightness on any custom ROM.

I have noticed that on the 5 or 6 custom roms I have flash that the auto brightness works great. Although I believe it to be a bit too sensitive causing what I would describe as ever changing brightness almost like a flicker. Has anyone else had this problem or notice it? And is there a fix?
Sent from my PG86100 using XDA App
Mrdiaz09 said:
I have noticed that on the 5 or 6 custom roms I have flash that the auto brightness works great. Although I believe it to be a bit too sensitive causing what I would describe as ever changing brightness almost like a flicker. Has anyone else had this problem or notice it? And is there a fix?
Sent from my PG86100 using XDA App
Click to expand...
Click to collapse
i'm on a stock rom and i have noticed the auto brightness does seem to work fairly quickly .. but i haven't noticed anything similar to a flicker.
i've noticed when i sometimes put a finger over the light sensor on accident it will adjust and then i remove my finger and it readjusts .. i haven't ever seen it adjust too quickly to cause something like a flicker.
could you give more details on when/how you've seen it be "too sensitive" or have a "flicker"? i would like to see if i can replicate on a stock rom!
I believe its the problem you are talking about. I just did some test and like you said if I put my finger over the sensor it does it super fast as well as anytime I create a shadow while using the phone and it hits the sensor. I would personally like to see if we could somehow change the rate that the sensor registers without adversely affecting anything else
Sent from my PG86100 using XDA App
Would the sensors.shooter.so in /system/libs/hw be the place to start trying something?
Sent from my PG86100 using XDA App
Do the ROMS you use have the CRT shutdown and open animation? If so this MOD does cause some flicker with the autobrightness enabled. Viper ROM thread has a flashable fix but it also removes the CRT animation. Not sure if that will be compatible with your ROM though as it replaces the services.jar.
Mrdiaz09 said:
Would the sensors.shooter.so in /system/libs/hw be the place to start trying something?
Sent from my PG86100 using XDA App
Click to expand...
Click to collapse
from my understanding any of the .so files in /system/libs/hw are compiled file and might be a bit difficult to sort thru in a decompiler but if you have the time and patience, it is worth a try!
short answer: i would look thru the drivers for the sensor in the kernel code.
longer answer: i remember having an issue on the samsung moment with the light sensor not responding quick enough. from that previous discussion which is now over a year or so old, i remember leaning towards the kernel source code as potentially having some type of timing adjustment for the drivers which control that sensor.
down side is no updated kernel source has been released for 2.3.4 yet, but at least 2.3.3 is available and i'm sure very few changes were made to this area of the kernel so it should be the same when 2.3.4 is released.
ideal answer: the kernel is compiled with sysfs support so the light sensor sensitivity can be adjusted live in userspace! this is of course a dream more than a reality but figured i'd throw it out there as an ideal end goal.
hope that helps! keep us updated if you have a chance to dig deeper!
This weekend I'm going to dig deeper into the so file. As well as trying to switch back to 2.3.3 and mess with the kernel a little that way if I find anything when the kernel source is released for 2.3.4 I could possibly have a fix. I'm not sure if anyone else would like the sensor timing to be lowered just a little like I would. But I will definitely keep everyone informed with my findings
Sent from my PG86100 using XDA App
Mrdiaz09 said:
This weekend I'm going to dig deeper into the so file. As well as trying to switch back to 2.3.3 and mess with the kernel a little that way if I find anything when the kernel source is released for 2.3.4 I could possibly have a fix. I'm not sure if anyone else would like the sensor timing to be lowered just a little like I would. But I will definitely keep everyone informed with my findings
Sent from my PG86100 using XDA App
Click to expand...
Click to collapse
i posted the following suggestion and method of research in another thread regarding camera compression and searching thru the kernel source for the settings.
regarding the light sensor timing, i think a similar approach might be helpful. the best source for updated and properly compiling kernel source, in my opinion, https://github.com/toastcfh/htc-8660-kernel . i think most custom kernels on here are forked from his and then modified.
starting with the shooter_defconfig file, i'd search for references to sensors/light sensors and see which one is being included in our specific device. from there, i would grep the kernel source to see where the ifdef calls are at for the driver pieces and work out from there.
hope that makes sense and helps in the research! look forward to seeing anything you're able to put together!
Thanks and yes that did make sense. Sorry about the delay hurricane Irene really hit me hard I finally got power back Wednesday and this has been the last thing on my list. I have found what I think to be a fix, however I'm testing right now to make sure I didn't Bork anything else. Should be out to public mid next week.
Sent from my PG86100 using XDA App
You can decompile the framework-res.apk and edit the arrays in res/values/array.xml.
Just have a look at my sig for the guide, how to do it.
Also interesting post from leedroid:
http://forum.xda-developers.com/showpost.php?p=17220302&postcount=109
If you haven't yet tried kushdeck you should, so far it's the only one with crt that had smooth auto light, but you can also turn off the screen transitions in settings and keep crt, you can also use spare parts to have faster animations and again not lose crt.

[Q] Wonky CRT Off Animation

First of all, I wanted to say my CRT off animation is weird on my SII. It seems to flash white before starting. It was much smoother and sexier on my Captivate and even looks better on the DROID 3. It looks weird on mine. I've tried it on both UnNamed and Cog X2, both have that weird thing. Is it just KH7, or is it just something unfixable?
My CRT off animation looks like that too. it looks bad. it started when I flashed cog b4(had it on stock and it looked fine).
LamboDroid19 said:
My CRT off animation looks like that too. it looks bad. it started when I flashed cog b4(had it on stock and it looked fine).
Click to expand...
Click to collapse
Yeah it does look bad. It looks fine on stock? I'll have to look into that. I guess it's something with custom ROMs. It's really sad...
when I say stock I don't mean pure stock. I had it after I flashed the 12 toggle mod and it included it and it looked fine then but after flashing cog I noticed it. If I can help in anyway let me know. Your work with the captivate was great btw
LamboDroid19 said:
when I say stock I don't mean pure stock. I had it after I flashed the 12 toggle mod and it included it and it looked fine then but after flashing cog I noticed it. If I can help in anyway let me know. Your work with the captivate was great btw
Click to expand...
Click to collapse
I'm talking to GTG right now. I mentioned this, hopefully I'll get to the bottom of it. Personally I'm not sure what exactly to do...
On another note, he fixed my animation issues (present in his UnNamed ROM and Cog X2) by disabling slowBlur. Ever noticed pressing Menu on the home screen and opening popups like in settings with brightness and volume, that the popups open with an animation that seems to be half missing? He fixed that for me. So I'm hoping he will find this too. The guy really knows his stuff.
Thanks for the compliment! I hope to soon start some projects for the SII!
Some news coming from GTG
However, the CRT animation on dg's rom and on my rom (with the addon) is as good as it's going to get. It just isn't rendered right on the Galaxy S II and no one has figured out why definitively. Whoever told you it works fine on stock just doesn't have a very discerning eye. Read that whole thread I linked you to. The international GSII owners already went through this long ago and accepted that the CRT animation will never be quite right on the SGS2 with Samsung based ROMs. CRT is fine on CM7 though apparently.
Click to expand...
Click to collapse
Here is the referenced thread: http://forum.xda-developers.com/showthread.php?t=1177746
This is so weird. Up to this point, my CRT worked wonderfully. So well that it looked native. I saw this thread, so I looked at it again and now mine has the white screen issue (for the first time) .
EDIT - Upon reboot, my CRT returned to normal. One of the lucky ones I guess.
Thought it was my just my phone. It was fine until yesterday...well at least I first noticed it yesterday...all static-barcode looking. But I can say honestly at one point it was definitely smooth because I played with it continuously when I first enabled it because it looked so sweet on my screen.
Sent from my SAMSUNG-SGH-I777 using XDA App
And Halo...waiting on some themes bro!!!
Sent from my SAMSUNG-SGH-I777 using XDA App
I had this too. Rebooted and its gone now.
Sent from my SAMSUNG-SGH-I777 using XDA App
Apparently it has a lot to do with the music player and screen shot app. But no matter what I still get a weird flash in the middle of it, ruining it. On KH7 anyway, with slowBlur off.
Rebooted, still funky.
jgotti107 said:
And Halo...waiting on some themes bro!!!
Sent from my SAMSUNG-SGH-I777 using XDA App
Click to expand...
Click to collapse
Haha I'll get to it soon I hope! International Baccalaureate high school system senior year is major anal dilation. Measured in meters, a standard unit.
I read through the linked thread and found an interesting temporary workaround.
http://forum.xda-developers.com/showpost.php?p=16260894&postcount=111
I tried it an it indeed works.
LamboDroid19 said:
I read through the linked thread and found an interesting temporary workaround.
http://forum.xda-developers.com/showpost.php?p=16260894&postcount=111
I tried it an it indeed works.
Click to expand...
Click to collapse
It isn't a fix, nor does it actually work. It looks better, and that's it. Notice how when you press the power button, the screen turns white then shrinks towards the middle. That's not how the animation should work. It should take the screen, and shrink that towards the center, I assume with a white outline. The problem is the last screenshot taken I guess, or just the buffer/cache somewhere.
Haloruler64 said:
It isn't a fix, nor does it actually work. It looks better, and that's it. Notice how when you press the power button, the screen turns white then shrinks towards the middle. That's not how the animation should work. It should take the screen, and shrink that towards the center, I assume with a white outline. The problem is the last screenshot taken I guess, or just the buffer/cache somewhere.
Click to expand...
Click to collapse
I've confirmed that taking a screenshot is what causes mine to malfunction. A reboot fixes it.
EDIT: I've gone back to using ShootMe for my screenshot taking.
Haloruler64 said:
Haha I'll get to it soon I hope! International Baccalaureate high school system senior year is major anal dilation. Measured in meters, a standard unit.
Click to expand...
Click to collapse
Bet you can't say that five times fast!!!
Well...er...can confirm that reboot worked for me too!!!
On UnNamed with slowBlur off, a reboot makes it look almost acceptable. Still wrong compared to my Captivate.
Restoring a backup of stock that came with my phone, gonna enable it there and see if that works. Just in case...
On stock firmware which came with the phone, I manually enabled CRT off. It works, but still not correctly. It does not shrink the screen, but a while screen. And has a weird flash in it. Guess that's a nope. It's USABLE but nowhere near perfect.
So I need someones help. I deleted the screen capture apk, and now pressing the key combo just makes the phone vibrate. So somewhere there is a link between that apk and the button combo. Can someone help me find that?
I would help but I have almost no android ( or Linux for that matter) experience. I would love to learn so I can finally start giving back to the community.
Sent from my SAMSUNG-SGH-I777 using xda premium
So the CRT should be on here completely bone stock? After reading this, I tried and do not get the CRT animation. I checked and all animations is selected. WTF?

Possible to dim the bottom three buttons?

I have the Galaxy Player 4.0. When using the device in the dark, I dim the screen to zero. But this does not affect the brightness of the three buttons at the bottom, which are very bright and annoying. Is there a way to turn the lights off for these buttons?
Cleanskinned said:
I have the Galaxy Player 4.0. When using the device in the dark, I dim the screen to zero. But this does not affect the brightness of the three buttons at the bottom, which are very bright and annoying. Is there a way to turn the lights off for these buttons?
Click to expand...
Click to collapse
And mine stay on bright like that the whole time netflix is playing! Seems like it would dim with the screen
Sent from my YP-G70 using xda premium
http://forum.xda-developers.com/showthread.php?t=1374233&highlight=ledkill
Kills them very nicely! That was the first piece of development for the galaxy players, btw! Nice trivia
Back when we were all living in the "rooting galaxy s wifi 5.0" thread; those were the days, lol!
iJimaniac said:
http://forum.xda-developers.com/showthread.php?t=1374233&highlight=ledkill
Kills them very nicely! That was the first piece of development for the galaxy players, btw! Nice trivia
Back when we were all living in the "rooting galaxy s wifi 5.0" thread; those were the days, lol!
Click to expand...
Click to collapse
Haha so true...
It's so awesome to watch these forums grow ever since they were created back in like October.
Sent using Tapatalk
Haha, yup I like to think of this forum as our child we have took time to raise and educate!
Seriously though, that thread got a little crazy, there's close to 50 pages in it; good luck finding the answer to the original question, lol!
iJimaniac said:
Haha, yup I like to think of this forum as our child we have took time to raise and educate!
Seriously though, that thread got a little crazy, there's close to 50 pages in it; good luck finding the answer to the original question, lol!
Click to expand...
Click to collapse
There was another thread that I found through Google it was named "android update on galaxy s wifi 4.0" or something of the sort. It was very long too, and it was where I first began my Android journey and also where I obtained the stock 2.3.6 rom that my rom is based upon.
Edit: found it: forum.xda-developers.com/showthread.php?t=1227578
Sent using Tapatalk
Yup, I remember that one too! Ah, but enough reminiscing. On the subject of dimming things, I have been wanting to hack the screen so that it can go dimmer than the current 12% lock. I have been using screen filter, but it bugs me knowing how much battery I could be saving at night! If someone could point me in the right direction of what files to edit, or better yet, help me with this since I know nothing about coding, then I would greatly appreciate it. You could even add it to your rom, klin!
iJimaniac said:
Yup, I remember that one too! Ah, but enough reminiscing. On the subject of dimming things, I have been wanting to hack the screen so that it can go dimmer than the current 12% lock. I have been using screen filter, but it bugs me knowing how much battery I could be saving at night! If someone could point me in the right direction of what files to edit, or better yet, help me with this since I know nothing about coding, then I would greatly appreciate it. You could even add it to your rom, klin!
Click to expand...
Click to collapse
Not sure exactly what the process is to dim lower than that. I do know however that when I just installed CM7 the brightness goes substantially lower than the stock or any other ROM has. Might be a place to start looking?
And also as far as I'm aware, there's no way to dim the capacitive buttons. On or off, unfortunately.
Thanks for the tip, Ill look into it! I really wish I could install cm7 to test, but I need my device fully functional almost every day! Maybe Ill buy another galaxy player, lol!
iJimaniac said:
Thanks for the tip, Ill look into it! I really wish I could install cm7 to test, but I need my device fully functional almost every day! Maybe Ill buy another galaxy player, lol!
Click to expand...
Click to collapse
Once it matures on the SGP a bit it should be a lot more useable!

Categories

Resources