yashsingh1/xdaforums huggingface dataset:
[Epic 4G General] eater99999:
Has anyone figured out how to control the backlight on the Home, Menu, etc soft buttons on a rooted Epic?

I am looking in /sys/class/leds/ and there are five directories:

blue/

red/

mmc0::/

mmc1::/

mmc2::/

By changing the content of the brightness file in blue/ and red/ I am able to turn the blue and red notification LEDs on and off; but the mmc* directories don't seem to do anything, and I can't figure out how to control the softkey LEDs.

# cd /sys/class/leds/mmc0\:\:/
# cat brightness
0
# echo 255 > brightness
# cat brightness
0
# cat /sys/class/leds/device/leds/mmc0\:\:/brightness
1
# echo 0 > /sys/class/leds/device/leds/mmc0\:\:/brightness
# cat /sys/class/leds/device/leds/mmc0\:\:/brightness
1

What I primarily want to do is get those softkey lights to turn off and stay off while I am reading an ebook. This was easy on my Samsung Moment:

echo 0 > /sys/class/leds/button-backlight/brightness

Any clues?
[Epic 4G General] retrobits:
I have been wanting this since the beginning. The softkey leds seem to be connected to the keyboard backlight. Even if I could just turn off the keyboard backlight entirely (i.e. changing the timeout does not help ebook reading), I would be happy.
[Epic 4G General] lil2good20:
Just set it to 3secs then it would turn off fast works for me when reading ebook.
[Epic 4G General] retrobits:
Hmmm. The choice between a bright light shining in my face or a bright light flashing in my face? Neither are acceptable.
[Epic 4G General] princescar:
in fact, i hope it could be on when screen is on, although there is an option "Same as screen timeout", it simple set the timeout the same as screen's, i mean, they just do not sync. when you opened some app keep the screen on, the keys will fade a few moment later, no matter what you've set, that's really frustrating me!
[Epic 4G General] retrobits:
I've been searching for the control file and found this. It looks promising, but its zero length. I was expecting it to contain a value like the blue & red ones.

/sys/devices/platform/s3c-keypad/brightness
[Epic 4G General] eater99999:
After forgetting about this for a long while, I found it!

/sys/devices/virtual/misc/melfas_touchkey/brightness is the file that controls the softkey backlight on the Epic.

Use

echo 0 > /sys/devices/virtual/misc/melfas_touchkey/brightness

to turn off the backlight.

echo 1 > /sys/devices/virtual/misc/melfas_touchkey/brightness

to turn on the backlight.

chmod 0333 /sys/devices/virtual/misc/melfas_touchkey/brightness

to prevent other apps from changing the backlight's on/off status. And

chmod 0647 /sys/devices/virtual/misc/melfas_touchkey/brightness

to undo the previous line's lockdown.
[Epic 4G General] dennistpm:
Try out SimpleLEDToggle Plus in the Market. It's 99 cents. It didn't work for me but that's probably because I'm not rooted. There was a comment that it worked on the Epic. It specifically said that you can use it for reading ebooks with the lights off.
[Epic 4G General] ZenInsight:
Big plus if this works...I will check it out.
[Epic 4G General] ZenInsight:
SimpleLedtoggleplus doesn't work. I lost my buck but I contacted the dev and told him about this thread. 15 minutes it too short. It should be 60 at least
[Epic 4G General] chisight:
This line does not work under 2.2 rooted,

echo 0 > /sys/devices/virtual/misc/melfas_touchkey/brightness

The updated line is

echo 2 > /sys/devices/virtual/misc/melfas_touchkey/brightness

Works for me, your mileage may vary.

The suggested chmod seems to have no impact, for me, nor does 0444 or 0000.

Now to find a way to tie a desktop icon to a shell script... (sure it's easy for you, but I'm a n00b)

Chisight
[Epic 4G General] eater99999:
a way to tie a desktop icon to a shell script
[Epic 4G General] Ron_91:
Thing is, with android and linux being so free in regards with what you can do, 15 minutes is just under enough time to download the app, install, back up the app data, transfer it to your pc, then request a refund.
[Epic 4G General] chris41g:
It wouldn't take 15 mins to do that...
[Epic 4G General] ZenInsight:
Wow!!! Did you actually get the hard key lights to shut off???!
[Epic 4G General] retrobits:
I've been wanting this for about a year now and finally found a solution.

I odin'd EF02Plus rom (gingerbread) yesterday and last night while reading I noticed that the button leds now do not come on when I touch the screen (YES!!!). The leds do come on just fine if you tap a hardware button. Perfect setup for night reading.

Not sure if this is the same in all EF02 based roms or not, but I'm guessing it probably is.
[Epic 4G General] ZenInsight:
You are kidding? That's it? I wonder if it's the rom or kernel.
[Epic 4G General] thephawx:
Hey guys,

Not sure if this is still useful to anybody. I'm on EH 17 CM7.1 Kang and I found the values for controlling the brightness of the softkeys and the hardkeys

For the face soft keys (better reading ebooks):

/sys/devices/virtual/sec/t_key # echo 0 > brightness

For the keyboard keys (to save power either typing or playing emulated games):

/sys/devices/platform/s3c-keypad # echo 2 > brightness

Hope this helps.
[Epic 4G General] tmuka:
Very cool! Disabling soft key backlight does turn them off and stop them from lighting on screen press in cm7, but pressing a softkey lights them up again. I hope this info can help the screen filter app dev on our epics!
[Galaxy S I9000 General] dadyal:
Hi everyone, sorry for not getting this to you sooner. The Android 2.2 software is being fully tested with UK operators and the upgrade will be available in the UK from early November. We expect all operator versions of the software to be fully tested and downloadable by the end of November. Let us know if you have any questions. Many thanks, Samsung.

http://www.facebook.com/SamsungUKmobile/posts/112218492176260
[Galaxy S I9000 General] Valeo:
Hit Twitter about 10 minutes ago too. Pity that so many misunderstood the below statement to mean that we'd have Froyo this week...
[Galaxy S I9000 General] norab56:
Oh ffs Samsung, if it's taking this long to get sorted they'd better rename their Froyo variant 'Frank' (as in Spencer)...
[Galaxy S I9000 General] sciacallo010:
If it's for a better froyo I'm happy to wait
[Galaxy S I9000 General] mvenneker:
samsung uk message differs from rumours about samsung retweaking Froyo.

if they were retweaking, then samsung uk wouldnt possess Froyo atm to test compatibility with all operators..
[Galaxy S I9000 General] nCoder:
In twitter: "The Froyo upgrade will be available in the UK from early November and we expect all operator versions to be available by the end of November."

Operator versions will come later
[Galaxy S I9000 General] allotrios:
just out of curiocity, what vendor is good with firmware upgrades?

i have been through pretty much every major mobile phone manufacturer (except apple), and samsung seems to be the best (re unofficial support, leaked releases etc) when it comes to firmware upgrades

is apple so much better?

what is your experience with other vendors?
[Galaxy S I9000 General] seltaeb:
The "problem" with Android is that development is pretty much out in the open and there are multiple phone manufacturers using the OS. So people know exactly what they are waiting for and if one manufacturer releases their update earlier, the other phone owners get all jumpy :)

This is not an issue with Apple because no-one really waits for any updates... heh.

PS: Well, the iOS 4.0 'multi-tasking' (ahem) was kind of being eagerly awaited. Still waiting for my iPad update though.
[Galaxy S I9000 General] deadmau:
Its hard to answer, because all the manufacturers screwed the updates, EVO 4g (htc) had problems with froyo,Droid X had problems...but I think HTC its the best
[Galaxy S I9000 General] Chronos12:
I don't think so. Too much lie.

I think we will get Froyo in 2011.
[Galaxy S I9000 General] nCoder:
I gave up on HTC some time ago... HTC was A LOT worse. The final "drop" was when they refused to release the 3D drivers and this community ended fixing it for them. I'll never never go back to HTC. The worst support I've ever seen...

Disclaimer: This is based on my experience and a couple of friends which also have the same opinion.
[Galaxy S I9000 General] DSF:
IMO, HTC decline started when they switched to Qualcomm (since htc tytn ii). And yes, HTC support is bad. No more HTC.. and maybe no more Samsung if they will not fix the annoying lags in decent time.
[Galaxy S I9000 General] Hero Yu:
Screw letting operators "tweak" froyo. Orange uk filled the internal memory of the galaxy s with so much undeleatable crap you have no option but to root. Please people just do a registary hack and get normal samsung froyo. I'm in the uk and had a branded orange phone but no more :)

Running rooted 2.2 with lagfix
[Galaxy S I9000 General] dk206:
Lol true i have like 10 pointless orange exclusive apps which wont even work via wifi only through their data plan
[Galaxy S I9000 General] danmullen:
Here's the full press release...

New Android 2.2 Upgrade Announced for Samsung Galaxy S

Latest Platform upgrade provides enhanced experience on the go

LONDON , UK – October 21, 2010 – Samsung Electronics Co. Ltd., a leading mobile phone provider, today announces the Android™ 2.2 (Froyo) upgrade to the Samsung Galaxy S, giving users access to new features, enhanced navigation applications and improved, faster performance.

The super-slim Galaxy S is an award winning ultra-lightweight large screen Android smartphone. The Galaxy S features an incredible 4-inch Super AMOLED screen and a super-fast 1 GHz application processor, for an intelligent, immersive and integrated mobile experience. The Samsung Galaxy S has led the Android smartphone market since its UK launch this summer.

The Android 2.2 upgrade enhances the great experience of the Galaxy S, making even more of the processor speed, and the exclusive Super AMOLED screen.

The key benefits include:

Improved browser performance: enhances browsing, navigation and the 'pinch and zoom' feature

Enhanced user interface adding vivid colours and features to the android menu structure

Google Maps with Navigation: A GPS navigation system with voice guidance for a turn-by-turn navigation

Adobe Flash Player 10.1: the latest Flash Player for viewing video content

Enhanced user experience including message editing and the ability to save applications to memory card

Search in-browser: Google™, Translate, Wikipedia, Dictionary

Getting the upgrade

The Android 2.2 upgrade, will be available via Kies, Samsung's in-house software upgrade programme. Samsung has developed a brand new version of Kies which will be issued to make the upgrade experience as smooth as possible. The new version of Kies will be downloadable from www.samsungmobile.co.uk

Samsung will also be publishing video tutorials on how to upgrade, providing a step-by-step guide to the simple download process.

The Android 2.2 software is being fully tested with UK operators and the upgrade will be available in the UK from early November. We expect all operator versions of the software to be fully tested and downloadable by the end of November.

Simon Stanford, Managing Director, Mobile, Samsung UK and Ireland, comments; 'Samsung are committed to providing our customers with the best possible mobile experience, and this upgrade enhances the incredible features of the Galaxy S handset. We also want the upgrade process to be simple and hassle-free for customers, hence the new version of our Kies software and the step-by-step video guides.'
[Galaxy S I9000 General] Yakumo.unr:
I haven't updated, I thoghut we only had to wait a few more days :/ but using my friends phone found one reason there might be more delays.

You cannot put a UK address into the current official rom (kies hack for nordic release) it only offers a state and zip code field.

and the zip code ONLY accepts numbers only (std zip code format) but in the UK we have post codes instead, using a-z,0-9. So UK users can't actually store any full address in contacts atm.

He never stores addresses so he hadn't noticed this.
[Galaxy S I9000 General] pele78:
well one more week and we shall see, im more than happy to have hands on the UK unbranded froyo edition lol

Jumping reg hacked froyo soon...
[Galaxy S I9000 General] android53:
From having travelled south korea for a month recently I can tell you the advertising for the galaxy s is HUGE there. Samsung basically owns the country, almost all tv's washing machines and so forth are samsung.

But...There is very little market presence from htc or apple, maybe they dont realise what the western market expects from their phones nowadays?

Then again they are an absolutely massive company...how can they not have solved this by now
[Galaxy S I9000 General] darkman13:
i think 2011 is spot on but in think it would be released just a shy of 2012 and gingerbread probably never as its burnt in the oven.
[Galaxy S I9000 General] t1mman:
As long as it is before December 12th 2012, because after that, we would all die in the upcomming apocalypse and SGS would be the last of our concern when burning in eternal damnation for our sins [...]
[Galaxy S I9000 General] hiroshige:
All the other 'benefits' listed above seem to be referring to new Froyo features. But obviously Navigation isn't a new feature, so why is it in the list? Is it an allusion to improved GPS? Is it just that they want to re-emphasise the existing feature? Is it just a version bump of Maps/Navigation?
[Galaxy S I9000 Android Development] DocRambone:
This is work in progress, and i will update this when i get some progress done.

Any help is highly appriciated.

Its loosely based on JP6/JPA, fully deoxed and apk's compressed and optimized.

VERY barebone: TW gone, facebook syncs bye bye and more.

Mms and email is ASOP for now, more to come.

Features:

- Based on JP6

- Zipaligned

- Deodexed

- Rooted

- Stock mms and Email (no lag)

- Stock calculator

- New youtube

Note: these roms will force your product code to XEE (even if you have KOR... maybe)

Intention is to have the latest patches for performance in this rom.
[Galaxy S I9000 Android Development] DocRambone:
Version 1: themed JP6

http://www.multiupload.com/CE6EXE35B9

____________________________________________________________________

Version 2: sztupy's brand new kernel included (VERY nice work sztupy!)

http://www.multiupload.com/SZK6XEQXCD

____________________________________________________________________

Version 3: sztupy's 0.2 brand new kernel included, bugfixes from V2: camera

Addded, new Gallery 3d, mms and elliot's music player

http://www.multiupload.com/48MJ1VMH1P

Update zip from v2 to v3 with some new additions incl new youtube.

http://www.multiupload.com/FD913LVFTB

____________________________________________________________________

Version 4:, JPA based, sztupy's 0.2 brand new kernel included , JP6 modem

http://www.multiupload.com/HG1DWTXDWI

Stock Samsung theme for JPA

http://www.multiupload.com/NI6U5H7CBR

How to install: flash from CW recovery. All data will be wiped.
[Galaxy S I9000 Android Development] Biertje_:
Great work Doc... will give it a try :)
[Galaxy S I9000 Android Development] cba1986:
Reallly noob question:

What it means ASOP?

Thanks
[Galaxy S I9000 Android Development] DocRambone:
Stock android
[Galaxy S I9000 Android Development] mike.sw:
is it possible for JPA based one? (due to the proper RTL support)
[Galaxy S I9000 Android Development] dupel:
Was about to try the new kernel on yours JPA, but I guess I will download this one instead =)

As always big big thanks, and will report how it goes.

EDIT: Btw, Doc, what do you think of start up tweaks? Good, unnecessary (since it does some rfs speed up, and most here will go for ext everywhere).

Any plans to include it (or you can tell us how to include it).
[Galaxy S I9000 Android Development] hacksome:
Great!.. How much is the 'free' RAM on this?
[Galaxy S I9000 Android Development] DocRambone:
311 MB available and for me 150MB after 30 apps installed. No autokiller
[Galaxy S I9000 Android Development] DocRambone:
I take a look tomorrow. Updates will be in update.zip form so no reinstall needed
[Galaxy S I9000 Android Development] efegue:
Can you make a JPM version? JP6 doesn't have Portuguese included :/
[Galaxy S I9000 Android Development] jimmy-bish:
ASOP? Android Source Open Project?

You mean AOSP! :D
[Galaxy S I9000 Android Development] theroman:
Works like a charm!

Before OCLF, I actually already started downloading your SuperSlim JP6 Doc's Rom, but after.. wow.

Although Quadrant gives 1700, the feel is fantastic, just lightning fast. Keep up the good work and I'll keep using my SGS as a lab rat ;)
[Galaxy S I9000 Android Development] Tricky103:
Nice Rom

Using this rom (V2), seems very nice. Quadrant is about 1100 with 30 apps installed, Autokiller says 82mb of ram free.

After using for a few hours now still seems very responsive. I will report more tomorrow.

Thanks Doc, yet again..
[Galaxy S I9000 Android Development] dcarr622:
The main point of this kernal is the awesome lagfix options...are they all working on this ROM doc? What about the "binding issue" that I've read about?
[Galaxy S I9000 Android Development] franklin01:
Can we have a list about whatt have been removed?

Is it compatible with afterburn (from multinational v3) to add some component back?
[Galaxy S I9000 Android Development] sikieiki:
I am liking this rom. Its like I am using vanilla android and not some bloated crappy UI overlay. Had this issue where after installing, did a factory reset made it so after booting up I could not get the main screen to appear - it was always black.

Notification drawer worked and displayed just fine, but the main screen wouldnt load or show anything.

Getting around 1000 quadrant without any sort of lag fix.

Applied oclf and am getting 1818.

Real usage seems extremely responsive however.

Camera looks to be broken though.
[Galaxy S I9000 Android Development] ashwinds:
Thank you!

Was looking yesterday night at the drain the samsung email app was causing and wondering how to swtich to stock mail and this comes along. Very nice work - i installed it and it got deployed just fine, now turning on lagfix. Will restore everything and let you know how it goes!. Thank you for your work - big fan of it.

PS: lol you sure do hate facebook sync dont you? :)
[Galaxy S I9000 Android Development] ashwinds:
Can confirm everything went smooth including the conversion to ext4 (I tried the Advanced option without bind). Initial impression is that its smooth - but have been on it for too little time to find the quirks apart from confirming that camera is in fact FC-ing. Restoring from backup also does not help.

As for lagfix, maybe i will change my opinion on extended use, but for now I dont see a perceptible difference in making them all ext4 in comparison with voodoo. So if the more stable option is voodoo, the payoff seems too little to try the riskier all-ext4 version.

PS: I know its stripped, but no music player by default?!! Come on doc :)

PPS: only thing i can see missing now is BLN patch, but i guess thats for stuzpy to merge.

Really liking what i see here - very promising!
[Galaxy S I9000 Android Development] ragin:
Yes, this is my 8th ROM flash. My previous 7 were successful all done through Odin. Even if someone can give my a patch to install over CWM, I will be eternally grateful if my phone is recognized in download mode by my computer.
[Galaxy S I9000 Android Development] DocRambone:
A long shot, reboot your computer.
[Galaxy S I9000 Android Development] ragin:
I have done that Doc. Even done the Disable Driver Enforcement by pressing F8. Actually I have done a great deal of background study here before attempting all this flashing. I have a feeling some small thing is broken somewhere, because, Windows 7 x64 recognizes the device as plugged in, but cannot know what it is, thats the reason it cant install the drivers. I have downloaded Samsung USB Drivers version 1.3.45 I think thats the latest. Installed it & tried even after uninstalling Kies. Before I install USB Drivers, when I connect the phone, it goes into MTP. but after I install the drivers, the phone won't go into MTP.

@Sztupy,

If you are reading this, can you think on whats wrong where? I really LOVE both of your work & love the way my is today even if its on 0.1. I just wanted to try this new fix & check if my phone became better. :)
[Galaxy S I9000 Android Development] Tricky103:
Hi. Try switching off the phones mtp. Leave it on usb our ' ask on connection' it should install the drivers as a storage device.

Edit.. Also keep kies off.
[Galaxy S I9000 Android Development] dupel:
Wild guess, probably wont work since it driver-phone related, but try heimedal (or what its name).
[Galaxy S I9000 Android Development] rumy:
Installed this rom and am loving it,

Hopefully, I donot get the Cant mount SD card issue on my new i9000m.

2 questions:

1. Is t he WCDMA 850 enabled by default.

2. Are these roms on Rom Manager, and if not how come there is no interest?

Thanks
[Galaxy S I9000 Android Development] DocRambone:
Update: Jp6_v5 seems bugfree. I post it tomorrow.

Next to come:

And i have a aosp port on the way (eclair tho):

Aosp:
[Galaxy S I9000 Android Development] ashwinds:
Doc - thats very good news .. this based on Eugene's ROM that you linked to earlier? Normally would have jumped at this even if it were eclair - but last week's work with the barebone + AOSP shows that froyo might not be so bad after all... now torn between the two :) Good luck with your work. Guess i will try both lol.
[Galaxy S I9000 Android Development] Carl_XII:
I know exactly what you refer to - that was however a single person who stole work made by several other contributors (and "forgot" to give credit to anybody...) Bad behaviour indeed, but why should all of us have to suffer from that? We all know from where the quality work really originates, and I for one really look forward to the output that you have the capacity to supply. Don't let the "dark forces" let you down... ;-)
[Galaxy S I9000 Android Development] jhnstn00:
Wcdma 850 not enabled default. I read it wasnt on any i9000 from some other xda thread. You have to manually add it. :(

Sent from my Captivate
[Galaxy S I9000 Android Development] Idan73:
@doc

Small request. Can we get reboot, recovery and download in shutdown option with this release as well. Tayutama just did it for jpm and its been around on cooked roms from my nexus days so cant really know who the credit should go to. Vibrant and captivate have it as well. So jp6 please. Thanks.

To the previous question: everytime you load any modem other than jg8 or jh2 on i9000m you should manually enable 850 band. Note that if you load those eclair modems on froyo you will most likely experience large battery drain as the froyo can not go to sleep properly.tested this with numerous froyo roms over long time.
[Galaxy S I9000 Android Development] ashwinds:
+1 for reboot, recovery and download! I do believe froyo takes a little longer to shutdown and its a pain waiting for it to go bzzzzzzzz :)
[Galaxy S I9000 Android Development] edgevision:
Doc, this is your best ROM yet.
[Galaxy S I9000 Android Development] imjimmylin:
Agreed loving this rom, best one I've tried yet.
[Galaxy S I9000 Android Development] DocRambone:
New JPA cooking :)
[Galaxy S I9000 Android Development] ashwinds:
Good to hear that! :) With more AOSP goodies? Pl make the SMS app black :D
[Galaxy S I9000 Android Development] eitama:
Hello Doc!

Thanks for this version.

This is the 1st NONE stock rom I ever installed, it was a blast to install it, it's super fast.

Question : I really want to be able to you live wallpapers.

Any idea how I should be gaining that ability with this ROM?

Installed version 4.

Thanks,

Eitam.

Edit : I have managed to get this working.

Knowsnotmuch from #project-voodoo was kind enough to send me his LiveWallpapers.apk / LiveWallpapersPicker.apk, I put them in /system/app

and it's working great.

For anyone who wants this, i'm attaching the files.

View attachment LiveW.zip