yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S II SGH-I777] jgrimberg1979:
Entropy

Is there any way of changing the way the external SD is Mounting in recoovery and at boot, similar to how cm7 mounts it? Right now the external sd is mounted as a such directory of the sdcard /sdcard/external_SD/, which causes issues with some application but also when it comes to recovery, specifically when you try and do advanced restore. Cm7 has that issue nailed Down in my mind. I think the mounting issue may be the source for why rom manager doesn't work, because it does work in cm7. I know that a lot of people say that rom manager causes issues and it isn't worth the grief, but when it cones to making backups and restores, including backups to ext SD, so efficient especially since they added the "use external storage" in rom manager.

What are your thoughts?
[AT&T Samsung Galaxy S II SGH-I777] jgrimberg1979:
Lol
[AT&T Samsung Galaxy S II SGH-I777] nickshertzer:
Just reporting that the new 11/13 in unnamed 1.3 oc to 1.6 GHz with governor performance locked up quadrant advanced, had to three finger salute.

Not a big deal, just fyi. I know it worked with 11/03 kernel and would give around 4k scores.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
I'm fairly certain external SD mounts to /emmc already when in Recovery. Advanced Restore is broken for other reasons, fairly certain I linked to the relevant commits - just don't have time to try and build from source yet.
[AT&T Samsung Galaxy S II SGH-I777] Hunt3r.j2:
Sorry about that. please don't kill me! :o
[AT&T Samsung Galaxy S II SGH-I777] dcrews:
Your phone just can't handle the OC. I'd suggest you back it down to 1.4
[AT&T Samsung Galaxy S II SGH-I777] Damani311:
Sorry to be naive but which link is the actual kernel download?

And I know I use odin to flash it, I've installed the drivers, but I'm not 100% sure on the method...any advice welcome
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
No, you use CWM now - I've been slacking on putting Odin-flashable tars out.

If you don't have CWM yet, either flash codeworkx's kernel first, or extract the zImage from the zip and flash it with heimdall
[AT&T Samsung Galaxy S II SGH-I777] Damani311:
Awesome thanks, so I will need to flash two different kernel's and THEN flash S8? I searched the forum work codeworkx, and got no hits....any link would be really appreciated!
[AT&T Samsung Galaxy S II SGH-I777] verncat05:
I had some issues when I updated to UnNamed 1.30, which uses the 11132011 kernel. I started getting random reboots. I formatted, cleared cache and installed Cog 777 r2, which uses the same kernel and had the same issue. I put UnNamed 1.30 back on last night and flashed the kernel back to the 11032011 version and the random reboots went away. I do not oc at all, so you can rule that out. Not sure what in the kernel could possibly be causing this...Any thoughts.
[AT&T Samsung Galaxy S II SGH-I777] Adelaide.:
Search this thread for the instructions on how to pull the last_kmsg file. The next time it reboots pull the file and post it. If all went right it will have the information why your phone rebooted.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Yup, pull last_kmsg, although I cannot figure out what would cause instability between 11/03 and 11/13. I made two changes, and both were in the initramfs not kernel source:

1) Comment out root injection script

2) Change recovery binary from 5.0.2.3 to 5.0.2.7

My last actual source commit was the wifi tethering fix in 11/3
[AT&T Samsung Galaxy S II SGH-I777] lakid06:
I'm running unnamed with your latest kernel does it support USB keyboard and mouse? If so do I need to do anything special to get it to work?
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
No clue, I have not touched anything related to USB host functionality and have no way to test.

If it worked on stock it should still work.
[AT&T Samsung Galaxy S II SGH-I777] Damani311:
flashed with CWM....didn't appear to do anything even though it said installation successful, no superuser/root, etc...
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Try reading the first post in its entirety for once.
[AT&T Samsung Galaxy S II SGH-I777] TXFLGO05:
Question regarding mhl and your kernel. Any thoughts on why the battery drains rather than charging.

Anything change in the kernel related to MHL?
[AT&T Samsung Galaxy S II SGH-I777] eep2378:
Looks like I'm good to go then ;)

---------- Post added at 11:20 AM ---------- Previous post was at 11:11 AM ----------

I downloaded the latest kernel(10/06), but when I extracted the tar file, it gave me zImage file that is a document? Shouldn't it be an exe file ?
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
I'll look into it, but it's pretty low on my priorities list. Most of the wacky governors don't provide enough benefits to justify the risks. Nearly every time I've seen someone release a kernel with a custom governor on the Infuse it was broken and did all sorts of strange things. Again, stability is my #1 goal.

To my knowledge, I've seen reports that SGS Kernel Flasher won't work on GSIIs.

My guess is that it hasn't been updated to account for the fact that the GSII has moved away from Samsung's proprietary STL/BML partitioning crap.

You can achieve the same results using ADB, or even a terminal emulator session:

adb push zImage /sdcard/zImage
dd if=/sdcard/zImage of=/dev/block/mmcblk0p5
[AT&T Samsung Galaxy S II SGH-I777] eep2378:
Yeah, just tried SGS kernel flasher, it's not supported yet. Any reason im getting a document file extracting latest kernel tar file?
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
I just tried downloading and extracting both 10/06 tars to see if I accidentally put something extra into them - both contain only zImage and no other files.
[AT&T Samsung Galaxy S II SGH-I777] eep2378:
Yeah, I'm getting only the zImage, but the file itselft is not a Unix executable file. It extracts a zImage document file.
[AT&T Samsung Galaxy S II SGH-I777] abacon15:
Same here oddly enough.

Edit: Just downloaded the original one and it worked fine when extracted, but the newest one just shows up as a text file.
[AT&T Samsung Galaxy S II SGH-I777] drewdatrip:
Observation, while pluged into charge the device never goes into deep sleep.

Not sure if this is similar on other kernels or working as intended

Thanks

Drew
[AT&T Samsung Galaxy S II SGH-I777] Simba501:
Normal behavior.
[AT&T Samsung Galaxy S II SGH-I777] TechSilver13:
I have tested the kernel released yesterday and my battery drain was really bad...reverted to 10/04's kernel and my problems went away. And my two cents on over clocking...I would also like to see a kernel with OC'ing, maybe have one with and one without it.
[AT&T Samsung Galaxy S II SGH-I777] clown_luv:
Man we oc ed on my infuse and it didn't nothing but give me problems and get hot. Just my two cents
[AT&T Samsung Galaxy S II SGH-I777] TechSilver13:
I overclocked on my infuse and my international galaxy S II and never had a single probelm. On my Droid Charge I have had problems with the 1.6ghz clock and undervolting so I just leave it alone. Luck of the draw I suppose. I still say its a good suggestion to do one with the OC option and one without it. I dont know how hard it is to add the feature but I will look into it. I can use kernels from the i9100 for reference I guess, it all depends how bored I get this weekend.
[AT&T Samsung Galaxy S II SGH-I777] abacon15:
Any word on the text file vs real zImage Entropy?
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
It doesn't need to be executable... There's no point in trying to execute it. For whatever reason, permissions were set to +x in the 10/04 release and not in 10/06. +x permissions don't matter when you're flashing in Heimdall and shouldn't for Odin either.

That's normal on every Android device in existence. An AC or USB connection holds a partial wakelock.

Need more details. Try the kernel again, get some statistics in BetterBatteryStats and Settings->About Phone->Battery Usage - I cannot reproduce your problem and therefore cannot debug it. The conservative governor tweaks in the "experimental" 10/06 version might trade some battery for performance but it shouldn't be significant. Were you running the exp release or the non-exp release? If you were running exp, do an A/B comparison of the non-exp and exp releases please.

I might pull codeworkx's OC code into a separate branch and release from that, but I will not accept bug reports regarding stability unless someone is running a non-overclock release.
[AT&T Samsung Galaxy S II SGH-I777] TechSilver13:
I just want to say thanks for replying to literally everyone on this thread, I dont see that very often so kudos! But yes I was using the non exp release of the kernel. I am happy with the 10/04 kernel but I will more than likely give it another go once my battery hits 100% again and start looking into the BBS to give feedback. When using BBS what info are you looking for? I have never really used it because if I have a problem I just revert to what was working. I would like to give you exact feedback if I decide to try it again.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Look for anything unusual in Wakelocks/Since Charged.

Also try the following:

Install CPU Spy

Once you take the phone off the charger, Reset Timers in CPU Spy

Do whatever

Open CPU Spy and look at the frequency statistics, including Deep Sleep.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
10/7/11 update

Small update here - /system/etc/init.d support in initramfs, that's all

Also attached an example script that changes the CPU frequency governor to ondemand

Next up - another attempt at ramconsole. I'm nervous about implementing undervolting, OC, or anything extreme without working ramconsole (/proc/last_kmsg). :(
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Time for pain and suffering for me - committed codeworkx's overclock/undervolt patch.

DO NOT report any stability bugs unless you are running the default voltages and stock clocks.

It's the 10/7 "doom" release.

Pulled the 10/6 experimental release since the only difference between it and 10/7 is init.d support, which should be perfectly safe from any regressions.
[AT&T Samsung Galaxy S II SGH-I777] mastergrillo:
I haven't flashed it yet but is it possible to underclock it to 800mhz for extreme battery savings
[AT&T Samsung Galaxy S II SGH-I777] manbeer:
I was all excited and I keep getting download fail every time I try :(
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
It won't be extreme, but even stock rooted can underclock to a limit of 800.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Nope, nothing changed.

If the CPU gets pegged to 1.2 GHz, the charging chipset can't deliver enough juice to keep the battery from discharging. Samsung keeps ****ing up their charge design and making CPU/screen/peripheral usage count against charge current limits.
[AT&T Samsung Galaxy S II SGH-I777] dwaleke:
Is there anything you can do to fix that?

Probably a stupid question because I'm sure you would figure it out if you could.
[AT&T Samsung Galaxy S II SGH-I777] K Rich:
If its been asked, please forgive me, but anyway to get the interactive govener for this kernel?
[AT&T Samsung Galaxy S II SGH-I777] jgrimberg1979:
Ugh.. Its driving me nuts! I have spent so much time researching trying to find a fix to get rom manager working on our phones and the i9100. I am not having any luck. The weirdest part is that Rom Manager works perfectly on CM7 and Miui!! Nuts. Oh well
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Hardware limitation unfortunately. What's worse is that unlike most other GalaxyS devices, Samsung decided to throw in an extra charging chipset that replaces the built-in charger of the MAX8997.

The MAX8998 in first-gen Galaxy S phones supported 6-7 different current limits. The MAX8997 in the GS2 supports 50 mA steps from something like 250 to 950 mA. The MAX8922 used by our phone supports three: 90 mA (useless), 400 mA (USB), 650 mA (AC) with no way to change these without a hardware mod.
[AT&T Samsung Galaxy S II SGH-I777] IVIadness:
Where can I get 10/9 for sg2, I checked the OP and noda. I installed the top kernel in the OP and no issues is that 10/9?
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Um, 10/9 is old, very old...

It should be obvious that it is, just like the post you are quoting is old.

And I find it surprising how many people are so oblivious that my file naming scheme isn't obvious... Jeez, how hard can MMDDYYYY be?
[AT&T Samsung Galaxy S II SGH-I777] dandrumheller:
Seemed blatantly obvious to me from the get - go...
[AT&T Samsung Galaxy S II SGH-I777] Adelaide.:
It has always made sense to me. Same with the CWM naming scheme.
[AT&T Samsung Galaxy S II SGH-I777] IVIadness:
It was also obvious to me, and I agree 10/9 is so old its no longer in the OP but if you read the thread and click the link he says to, the one that says you should try experimental builds first the link takes you to a post of people saying 10/9 works awesome.. Sorry I got confused just wanted to make sure I was using the right one. New to kernel modding so my bad :p

Edit: Nvm he edited it out of the OP now, either way thanks for the help and the great kernel.
[AT&T Samsung Galaxy S II SGH-I777] Alucardis666:
I wonder when the next update kernel will drop. Maybe it will have GPU overclocking capabilities?
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
That's been in there for a long time.

It probably won't be for a while, I have some Hellraiser maintenance stuff that's more than a week behind and this month has been EXTREMELY busy for me. It isn't over either - I now have 2-3 days to clean my apartment (with a broken dishwasher, so the dishes go sloooooowly...) before my family arrives for the Thanksgiving holiday.

Next up when I have time - merging in BLN and praying people use it responsibly, then probably trying to work through the Samsung update3 patches from I9100.
[AT&T Samsung Galaxy S II SGH-I777] BlakDye:
Take your time Entropy. Family is important! Have a good Turkey day.
[AT&T Samsung Galaxy S II SGH-I777] jdbeitz:
Bln ftw! :)
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
I have BLN committed, I'm trying to fix wifi tethering settings persistence on Hellraised ROMs. However something keeps clobbering the permissions for /data/misc/wifi and I'm starting to run out of ideas for WHAT. I am getting annoyed at this point.

Cleaned up first post and split out the changelog...

Trying to fix tethering on hellraiser is making me feel like this guy - http://www.youtube.com/watch?v=NHfAVeadej8

I tried to change the initramfs to fix the permissions for /data/misc/wifi, but something keeps clobbering them and changing ownership from wifi.system back to wifi.wifi. GRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR

Edit: Screw this for tonight, time for alcohol and TV!
[AT&T Samsung Galaxy S II SGH-I777] othermark:
Just add a wifi group with the same number as system?
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
You can't have two groups with the same GID.

And really, the problem is that something hidden is resetting the perms, I don't know what yet.
[AT&T Samsung Galaxy S II SGH-I777] jsmith8858:
More than one programming bug has been solved by this method!
[AT&T Samsung Galaxy S II SGH-I777] jjesusfreak01:
Ballmer Peak, ftw...
[AT&T Samsung Galaxy S II SGH-I777] othermark:
You can and it will 'change' (change actually means it 'will be looked up as' whichever appears first in the file) to the original group number...

Of course, android could be different, but probably not.

$ cat /etc/group |grep uucp
uucp:x:14:uucp
$ echo "wifi:x:14:uucp" >> /etc/group
$ touch test
$ chown root:wifi test
$ ls -l test
-rw-r--r-- 1 root uucp 0 Nov 23 09:25 test
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Committed BLN. Don't make me regret this. (All the battery drain whining in the CM7 thread makes me nervous about this.) BLN in its current state WILL drain your battery by inhibiting deep sleep when a notification is active. (It won't hurt it if turned off, which is why I committed it.)

Added a permissions fix for /data/misc/wifi that should solve tethering settings persistency issues with Hellraiser. At the end of the Thanksgiving weekend (or maybe Monday depending on when family leaves) I'll update Hellraiser
[AT&T Samsung Galaxy S II SGH-I777] Tenkie:
You are the man, Entropy!

What changes are forthcoming on Hellraiser?
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Mostly small maintenance fixes:

1) Integrate the home button haptic fix

2) Integrate this latest kernel

3) Override the CSC to ensure that the HSPA "phone" APN is used
[AT&T Samsung Galaxy S II SGH-I777] Emil9727:
Awesome just awesome :-D
[AT&T Samsung Galaxy S II SGH-I777] afrojoc:
omg omg omg yes finally :O!!!!!!!! THAAAANK YOOOOUUUUUU :D
[AT&T Samsung Galaxy S II SGH-I777] dahlem:
Don't think it's my imagination but after flashing this my device seems twice as fast. Does flashing a different kernal do that?
[AT&T Samsung Galaxy S II SGH-I777] LamboDroid19:
Hey entropy I just flashed your new kernel with BLN and open the bln app and it says incompatible liblights. How to fix this?
[AT&T Samsung Galaxy S II SGH-I777] jsmith8858:
Thank you so much for BLN, donation coming your way soon (I was waiting for this one!)

Anyone have a working lights.so file yet?
[AT&T Samsung Galaxy S II SGH-I777] Simba501:
+1

Sent from my Galaxy S2
[AT&T Samsung Galaxy S II SGH-I777] Alucardis666:
Thanks for the update Entropy, you're the frickin' man!
[AT&T Samsung Galaxy S II SGH-I777] ORT14:
+2
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
I mention this in the changelog, but you need to get a BLN-enhanced liblights in addition to the kernel changes.

VillainROM includes one, I'll be posting one when I have more time... But if you search the I9100 forums for BLN you can probably find the liblights file you need.
[AT&T Samsung Galaxy S II SGH-I777] Alucardis666:
Battery life seems to be vastly improved with this kernel. I'm loving it. Thanks so very much. :-)
[AT&T Samsung Galaxy S II SGH-I777] clumsywob:
How bad is the battery drain exactly with BLN? I'll probably flash this kernel and test it out soon, but it's a same that BLN causes battery drain. I wish Samsung would have just enabled this by default or gave us a freaking LED notification light like the Sprint version has.
[AT&T Samsung Galaxy S II SGH-I777] cwc3:
Keep forgetting this kernel goes to conservative. I am actually glad to be back on conservative without setcpu installed. Everything seems to be running fine so far. I have not tried BLN yet.
[AT&T Samsung Galaxy S II SGH-I777] slowpc:
Thank you for your hard work. I got my BLN ready for this weekend or whenever you get to it. thank you again!
[AT&T Samsung Galaxy S II SGH-I777] jsmith8858:
Do we need services.jar as well?
[AT&T Samsung Galaxy S II SGH-I777] IVIadness:
Thanks man! love the new kernel update, have a great Thanksgiving.
[AT&T Samsung Galaxy S II SGH-I777] kytrauma:
I think this is the right liblights file. I found it in system/libs/hw

This is from crrevolution 2.0

http://db.tt/lW1AZ53v
[AT&T Samsung Galaxy S II SGH-I777] harlenm:
Was just playing with it. Copied the file to the directory and renamed it, bln control recognized it, but testing it didn't work.

Must be doing something wrong. I miss the notification light and if this doesn't drain too much battery would be a nice addition.
[AT&T Samsung Galaxy S II SGH-I777] LamboDroid19:
That liblights seems to totally disable the touchkeys. Even if I go into settings and set touch keys time out to always on they are still off. I can enable bln in the app but it does not work. How to fix?
[AT&T Samsung Galaxy S II SGH-I777] jsmith8858:
This is the lights.so file from VillainROM 3.0, works with BLN and the touch key backlight seems to work fine, but if I recall from doing this on the Captivate, I think we need services.jar, or some other 3rd party application or service, to get the BLN lights actually working in general.
[AT&T Samsung Galaxy S II SGH-I777] kytrauma:
What did you rename it to because I didn't rename it. I copied it directly from system.
[AT&T Samsung Galaxy S II SGH-I777] kytrauma:
I guess its beyond me. It works out of the box on crrevo rom.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
I think that's only if you want light notifications for some stuff that normally doesn't trigger it. (MMS I think?)

May want to look at the first few posts of the Ninphetamine thread, I think that has liblights documentation.
[AT&T Samsung Galaxy S II SGH-I777] jsmith8858:
Thanks, I checked out the thread, but didn't see anything other than talk about liblights. Using the file I posted earlier (renamed to match the rest of the AT&T files) things activated and tested fine, but the lights never turned on for an actual notification. (I use SMS Popup for sms notifications, which supports the notification light; really, everyone using the stock MMS should be using this app, it's great!) Tried various notification scenarios (missed call, voice mail, gmail, email, etc) none of them worked.

I read about an app called Light Flow and I've tried that and it seems to work great so far on unNamed 3.1, combined with BLN pro and the lights.so file. Not ideal to have to use a 3rd-party app for this but I'll take it for now. The lite version should work fine for us since the pay version enables different color LEDS and other features like that, which for us is not a factor of course.

Also, I did try using services.jar from the VillainROM, but as expected it didn't work, the phone would not boot.
[AT&T Samsung Galaxy S II SGH-I777] harlenm:
All the files in that folder have the same setup. Rename it to match the rest.
[AT&T Samsung Galaxy S II SGH-I777] LamboDroid19:
Renaming it with sgh-i777 instead of gt-i9100 fixed it. Thanks Entropy
[AT&T Samsung Galaxy S II SGH-I777] IVIadness:
Works with no issues just renamed it and copied it over. Thanks man!
[AT&T Samsung Galaxy S II SGH-I777] jeebuz:
Renamed the extracted villainrom file and placed it in the folder using root explorer.. no lights working at all.

I'm on unnamed 1.3.1. Not sure if I'm doing anything wrong

*EDIT* fixed left out the hyphen by accident /)_-
[AT&T Samsung Galaxy S II SGH-I777] LamboDroid19:
Entropy I don't know what you changed but I can't get the V6 supercharger to work. It puts me in a boot loop and I'm using the same settings as before. How to fix?
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
No clue, V6 supercharger is pointless, it tweaks lowmemkiller settings and assumes a device with half the memory of ours or less.

Edit: And if it's somehow negatively interacting negatively with BLN existing, the Interactive governor, or the permissions changes for /data/misc/wifi which are the ONLY changes I made to the kernel - it's even more of an overhyped broken piece of **** than I thought.

This is a classic example of why to avoid crap like that, from the requirements - "3. Busybox 1.18.2 OR LOWER - 1.18.3 or newer are VERY much a hassle with errors that should NOT be errors!"

I'm sorry, but that's a load of horse****. It's clear he was depending on bugs that were fixed, and blames busybox instead of himself.
[AT&T Samsung Galaxy S II SGH-I777] LamboDroid19:
He has a setting for devices with 1 gig of ram. I will try again and see if it works if not then I don't know what the problem is.
[AT&T Samsung Galaxy S II SGH-I777] nh5:
It's still useless on our devices.
[AT&T Samsung Galaxy S II SGH-I777] Alucardis666:
This kernel has vastly improved my battery life. after 10 hrs in deep sleep I've only lost 6% battery used to loose about 9-10 in the same amount of time.
[AT&T Samsung Galaxy S II SGH-I777] dandrumheller:
Thanks a bunch Entropy - just installed on UnNamed 1.3.1 and seems to be working just fine (only had it on/tested for about 10 minutes now). Nice to have the option of some form of visual notification again. Also agree with a couple other posters, seems to be snappier with this kernel on conservative than the prior one on ondemand governor.
[AT&T Samsung Galaxy S II SGH-I777] sailador:
same here not working even though bln said it is enabled
[AT&T Samsung Galaxy S II SGH-I777] dandrumheller:
Do the key lights come on using the test mode in BLN control?