yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] smaberg:
What does that mean? I'm thinking about develop a kernel of my own? But still don't know what it means...
[Galaxy S II Original Android Development] RAvenGEr:
If you are a C programmer, you should know what compiler optimisations are. If you are not a C programmer, I do not recommend building your own kernel (unless you intend to learn C programming). Google is a good source of information on many topics. :)
[Galaxy S II Original Android Development] thanksgiving60:
karate kick to the n*ts...:D:D:D
[Galaxy S II Original Android Development] Frankie_99:
miss the touch sensitivity tweak back in ragemod T-30.
[Galaxy S II Original Android Development] nellyp67:
Cannot get App Lock app to work someone did mention in the beta post that it had something to do with disabling logcat if this is correct would it be possible to fix this
[Galaxy S II Original Android Development] :
Smart ap protector works fine here.
[Galaxy S II Original Android Development] :
Funny phone, it freezes and reboots when not undervolted :p .. So far so good on Batistas rom with o/c daemon and manually editing UV.
[Galaxy S II Original Android Development] smaberg:
I do know C and C++ and more, but how do compiling affect kernal usage?
[Galaxy S II Original Android Development] ramsheart:
Just flashed from rage v1-t27 to v1.1 ... seems ok...

Sent from the center of Galaxy GT-19100
[Galaxy S II Original Android Development] cr0wnest:
Just flashed this over. Booted up fine, all seems good for now. Will test it out over the next few days. Im more concerned about battery life though.
[Galaxy S II Original Android Development] kwerdenker:
Isn't learning to code in C by building your own kernel like telling an someone to start painting with the Mona Lisa? ;)

When a compiler translate your high-level language code (for example C/C++) to the low-level machine code most of the time it has multiple options to implement the desired function. For example if you have written a small function in C that gets called at different parts of your code the compiler can work with a simple jump instruction to the address of the function or it can 'inline' the code of said function into the current code segment. While this increases the size of the compiled code it can lead to decreased execution times because the inline code doesn't need all the extra work associated with jumps to different functions.

To control these decision the compilers have special optimization flags for compilation and linking and it can be quite a challenge to find the right ones for your current project. If you want to know about this check out this page about these flags from the GNU project. But be warned, this is a very complicated topic and can be pretty hard to understand at first :)
[Galaxy S II Original Android Development] :
Any chance you would make test BFS kernel? Pretty please?! :)
[Galaxy S II Original Android Development] GDT:
Flashed over v1-t30, same settings. Just had a phone hang when playing a game I played a lot with the old kernel
[Galaxy S II Original Android Development] iamchesterg:
all good with me :) no issues so far..
[Galaxy S II Original Android Development] Prankey:
Unfortunately both the 1.0 and 1.1 kernels are affected by Wifi Tether bug:

http://xdaforums.com/showthread.php?t=1251924
[Galaxy S II Original Android Development] MartyHulskemper:
Thanks, Ravenger! Works like a treat, and with the UV/OC settings, I have, for the first time ever, found a nice setup that seems able to squeeze even a bit more battery out of my phone than your previous kernel. Props!

However, in my ongoing quest for tweaking < : ) > I seem unable to get BLN to work on your kernel. Is there anyone else experiencing this problem or is it only me? Flashed a few times by ODIN, BLN Pro just tells me that the installed liblights doesn't support BLN. When I installed the workaround CWM zip floating around somewhere on XDA/SGS2 and re-flashed your kernel on top, I didn't get that message anymore, but BLN doesn't work either. Any suggestions? Anything I can do or provide to help you troubleshoot -- remember, I'm a half-noob. ; )

EDIT: Forgot to mention I'm currently on Exynos 5.4 (wanted to try that out), which should provide full BLN support since v4.6, according to its changelog.
[Galaxy S II Original Android Development] RAvenGEr:
My kernel does not load the required modified library (yet, planned future feature). Please load the modified liblights from here rename to lights.GT-I9100.so and replace file in /system/lib/hw/

Some roms do this automatically, some don't. For a rom to say it supports BLN, it SHOULD load the lib automatically, otherwise there is nothing in the rom that supports BLN!
[Galaxy S II Original Android Development] RAvenGEr:
Well, with a problem that affects all kernels, I would suggest trying different driver versions on your Laptop. It is way more likely to be a problem with your laptop WLAN card than the kernel. Also there have been no other reports of the same issue.
[Galaxy S II Original Android Development] RAvenGEr:
What I meant by my previous comment was:

1. One needs C experience to customise a kernel.

2. There are better places to learn about C/kernels/compilation than this thread.
[Galaxy S II Original Android Development] pspilot:
@RAvenGEr: I have a question about the BLN support and battery life. Is it possible, that the kernel is cosuming more power, after an SMS came in (let's say before it was freshly booted) when you have no BLN UI? In other words, is the UI clearing something (a flag) in the kernel? Anyhow the blinking has to be stopped, right? I don't use BLN right now, so I don't know it's operating mode. But obiously there has to be an interaction between the UI and the kernel.

I did a standby test recently - which BTW was phantastic, 7% in 16 hrs. Most of the time in deep sleep of course, but your kernel is doing phantastic in this 'discipline' :). After like 5-6 hrs. an SMS came in, which I quickly confirmed. I didn't want to spoil the test. So I killed the pop-up, closed everything again and sent the phone to sleep again. Still, for the next 10-11 hours the phone consumed more power than before - nothing else was changed, the phone wasn't moved (to an other place regarding WLAN or mobile coverage). I only woke it a few times out of curiousity for the battery percentages.

I attached a screen shot to clearify what I mean. You can clearly see the 'knee', the bend in the line after about 5-6 hrs, under the '1' of the '16 hrs'.

Since there are a lot of discussions whether BLN support costs power by itself, just because it's in the kernel (mainly in the ninphetamine thread), I wonder whether my observation rings a bell on your side. Understand me right, I don't ask for a BLN-less version, since I find the consumption still great and that little bend won't mean much, when you start using the phone with the screen which is more normal. After all, I might also use BLN one day. But it still would be interesting to find out what's causing it.
[Galaxy S II Original Android Development] RAvenGEr:
@pspilot

Let me put it this way. The support is simply a set of functions that can be accessed by the modified liblights. That modified liblights has functions that are only used (to my knowledge) by the official BLN app. So if you are not using the BLN app or do not have the modified liblights installed, the extra functions are not used.

As for the change in battery usage, that seems to happen any time the phone is awakened from deep sleep or any usage spike occurs. i.e. it is normal behaviour.
[Galaxy S II Original Android Development] bons:
BLN works fine for me.

I am on Litening 6.1 and I have BLN Pro AND Light Flow Lite (from Market) installed. This combination makes BLN work on everything (SMS, Missed Call, Mail, Reminders).

Hope this helps.
[Galaxy S II Original Android Development] pspilot:
Thank you very much, I think I'm understanding :).

Hmm ... but it remains higher, you saw that? I mean, the phone is charged, all set and goes to sleep the first time using X power. Wakes up, does a bit things, goes to sleep again and consumes from now on X + 'something more' power? That sounds weird. But I will watch it, maybe I find a clearer rule. As I said, as long as it remains that little extra, I can live with it easily.
[Galaxy S II Original Android Development] rodries:
Uhmm I get CIFS working on U1 without problems
[Galaxy S II Original Android Development] m444266:
fork away, you did!

Heey! this is great! your very own.. :D May I suggest something for your future versions? can you allow other governors like Smartassv2, interactive, etc.. to that it would appear in setcpu? I'm not sure if its a kernel thing so apologies if i asked for the impossible here.. but it would be great to have undervolting with setCPU and governors in no-frills CPU control.. :D that would be awesome!
[Galaxy S II Original Android Development] m444266:
Hi.. may I suggest doing that test somewhere in the middle of battery status like below 90%. because i've tested several times regarding battery and I've notice that most of them looks the same as yours when starting from 100%.. that bent line that suddenly steeps down from 97ish %. i guess its pretty normal, probably a slight miscalc when graphing it out by the system..
[Galaxy S II Original Android Development] saar17:
I'm usin this kernal with Litening 6.1 KH3 and I got a few questions:

I've notice that it takes more time to charge my phone with this Kernal when compare to the SpeedMod 39 one that I used to use, is there a reason for this?

What are the recommended UV values to set for each Voltage? I know it change from one device to the other but I need to at least know what to base the values on.
[Galaxy S II Original Android Development] krulgrizzla:
mee too as im using SGP glass..had to move to ninpo :(
[Galaxy S II Original Android Development] shr33kant:
http://xdaforums.com/showthread.php?t=1161262

Try this app. If you get annoyed by the constant flurry of superuser notifications you can just turn off notifications in the superuser app.
[Galaxy S II Original Android Development] 212121:
is fine, I can use the stylus like a capacitive stylus pda
[Galaxy S II Original Android Development] RAvenGEr:
Am releasing a new version for this. Realised after releasing.
[Galaxy S II Original Android Development] sasho36:
Hi,

Is this kernel supporting init.d scripts? I did manage to change voltages with Gscript but not with an init.d script.

Thanks for your work and time!
[Galaxy S II Original Android Development] pspilot:
Thanks for that tip. I will do a few tests still, but it's kinda hard to leave it alone for so long :D ...
[Galaxy S II Original Android Development] hedayat7:
+1 . adding release date is a must for every thread ;)
[Galaxy S II Original Android Development] nofam:
Have just gone back to T27 after 36 hours on v1.1 U1 - very impressive first-up effort!!

Doesn't feel quite as smooth to me as your Speedmod-based efforts, and battery life isn't quite as good IMO, but as I said, it's a helluva good v1. . .will be watching this thread with interest!! Keep it up mate! :D
[Galaxy S II Original Android Development] RAvenGEr:
It is SpeedMod based, just modified the compiler optimisations!
[Galaxy S II Original Android Development] RAvenGEr:
Not quite sure what a date has to do with anything. But if you read the first post, you can see when it was created and last updated.
[Galaxy S II Original Android Development] MartyHulskemper:
That's what I tried, but that didn't work out for some reason (several times). I'll try again. Thanks for your help, Ravenger! And uh, your kernel rocks, so BLN or no BLN, I'm staying with yours! : D
[Galaxy S II Original Android Development] saar17:
Can someone answer ame those questions?
[Galaxy S II Original Android Development] malavan:
Wow deep sleep has new meaning best battery ever thanks rage BTW this kernel it's just 2 days old so chill.
[Galaxy S II Original Android Development] RAvenGEr:
I think there is some way you can find the UV/OC FAQ thread.
[Galaxy S II Original Android Development] MartyHulskemper:
Thanks, Bons, I'll look into this!
[Galaxy S II Original Android Development] MartyHulskemper:
I'm currently running on these values:

MHz	mV

1400	1250

1200	1150

1000	1075

800	975

500	900

200	850

Which, to be honest, are mostly 25 mV above what other people have reported working. I'd gladly sacrifice that little bit of battery life for the assurance of stability. : )
[Galaxy S II Original Android Development] pakatus:
Weird...

Just flashed this kernel...everything seems extra smooth and Deep Sleep is perfect.

But..BLN states: this liblights does not support BLN.

something i should do first?
[Galaxy S II Original Android Development] GadgetCheck:
Will b fixed in future release
[Galaxy S II Original Android Development] keyzjh:
Eagerly waiting for next release. RAGEmod T30 is currently the kernel with the best battery life for me. Can't wait for even more improvements :)
[Galaxy S II Original Android Development] alstrike:
Can this kernel work with MIUI?
[Galaxy S II Original Android Development] thanksgiving60:
need th touch sensitivity fix bad...please include it in the next release...
[Galaxy S II Original Android Development] flagger:
Loving this kernel (v1.1 - U1) so far, battery life is HEAPS better than RageMod T30 and Ninph 2.1.3. No problems so far for me. Had probs with RageMod T30 and Ninph 2.1.x with mounting USB storage in debug mode, but no problems with this kernel (and Ninph 2.0.5).

thanksgiving60, you can use TouchScreenTune in the meantime to modify the touchscreen sensitivity
[Galaxy S II Original Android Development] alstrike:
Quote 10 char
[Galaxy S II Original Android Development] fenomeno83:
Please, add init.d support
[Galaxy S II Original Android Development] R16:
hello everybody,

did some tests and these were the result

PS: the kernel "t27 v1"
[Galaxy S II Original Android Development] beaver2233:
with GalnetMiUi Chameleon RC4 and above, yes....will not work with 'stock' MiUi
[Galaxy S II Original Android Development] :
YES PLEASE!!!
[Galaxy S II Original Android Development] trunks986:
Hi... can you give us a CMW flashable version??

Thanks
[Galaxy S II Original Android Development] xdaalmar:
Are you sure about that? I thought that only an adapted version of speedmod (and Ninphetamine) is working with rc4 (but I could be wrong).
[Galaxy S II Original Android Development] pierro78:
doesn't seem to work for me :(
[Galaxy S II Original Android Development] pro.aggro:
You can flash *.tar with CWM. ;)
[Galaxy S II Original Android Development] beaver2233:
That's what I thought until I tried it, working just fine...though seems the galnet team are moving back to bmarkos kernel :(
[Galaxy S II Original Android Development] nickporwal:
@Ravenger:--Very nice kernel. or i must say very smooth kernel. I compared this U1.1 with the stock kernel and found that UI is much more smooth and less jerky. Nice work done.

Battery life has been perfect.Everything is working fine without OC/UV. Also have you applied low brightness patch from speedmod's? I was asking because i felt that my screen brightness was quite low even in full sunlight. Please remove that feature as i think thats not required for our SGS2 screen. Its already perfect.

Thanks for your hard work
[Galaxy S II Original Android Development] RAvenGEr:
I have not implemented any brightness patches!

AND - I will not implement any until I can provide a way for the user to customise, as there is no magic value that everyone will be happy with.
[Galaxy S II Original Android Development] nickporwal:
Thanks for the quick reply buddy.........i will reflash the kernel again.

Very happy with the performance of this kernel. I have tried so many kernels but this one surely better. Thank you for this. Really big improvement in the UI.
[Galaxy S II Original Android Development] theory_87:
how about release 2 different verion? i like speedmod brightness patch
[Galaxy S II Original Android Development] bgx:
+1 for that! Like brightness patch too!
[Galaxy S II Original Android Development] thanksgiving60:
hey bro wheres the U2 version?

:D:p:confused::eek:
[Galaxy S II Original Android Development] Fruktsallad:
Amen to that! For those of you that want a lower brightness overall, you should check out ScreenFilter in the market. Works a treat.

Keep up the good work, RAvenGEr!
[Galaxy S II Original Android Development] theory_87:
using that... but it too dim outdoor.. and a hassle to switch it on and off. just looking for an easier way out :p
[Galaxy S II Original Android Development] bgx:
Same here! ...
[Galaxy S II Original Android Development] rodries:
Cifs is working perfect to me

I use cifsmanager

In settings mark load cifs module & load via insmod

In path to cifs.ko write: /libs/modules/cifs.ko
[Galaxy S II Original Android Development] nickporwal:
Yes two versions will be good bt i dont think that there is any need to modify already stable brightness levels. Because you want low brightness only on one (low) level of light. So whats the point to disturb it on all the levels? You can use screen filter for just that. just my 2 cents. Every user has different opinions and i respect that.
[Galaxy S II Original Android Development] shr33kant:
For all the people wanting an easy way to change your brightness...why not just hold your finger on the notification bar (while its still at the top) then slide your finger left/right?
[Galaxy S II Original Android Development] tonysac:
First time I try this kernel..indeed is smooth and fast (oc/uv)..I'm trying it plus juice defender...I hope battery life will be good..I really want to stay on this kernel!

Thanks for your work here Ravenger!

Sent from Galaxy!
[Galaxy S II Original Android Development] Dark Emotion:
I find this kernel to be better than T-30. Can't wait for your U2. Good work RAGE, keep it up.
[Galaxy S II Original Android Development] Остап:
Applause ! Extreemely needed ! :D

And Touch Sensitivity user provided ! ;)

Raven, can u explain please how bootanimation works in your kernel ? Where to put in and whats the name of .zip ?

Thanks !
[Galaxy S II Original Android Development] MartyHulskemper:
I wondered if the people commenting that Screen Filter "has too low a brightness" have understood how it works. It is a widget that dims the screen by a value between 100% and 0% (meaning "fully darkened" and "no effect"). If you set up the widget correctly, how can that be "too low" in brightness? You picked the level yourself...

EDIT: BTW, Ravenger, your kernel is still gracing my SGS2 -- stable (when I don't screw up with UV'ing :S ) and very good battery life. Like it very much and it kicks the proverbial butt! Keep it up, mate!
[Galaxy S II Original Android Development] theory_87:
:-) no worries. Just an open discussion. What you say make sense and like TS said, he will implement it if he find a way to allow user to customise the brightness setting

Send from my Samsung Galaxy S II
[Galaxy S II Original Android Development] KennyLegend:
Hi Ravenger

Nice kernel. Seems to have the best of the other kernels together.

Unfortunately the lack of sensitivity on the touchscreen annoys me too much. I've tried the screentune app but it doesn't make much difference on my phone so I'm gonna revert to ninphetamine. Ill watch this thread closely though .
[Galaxy S II Original Android Development] GadgetCheck:
Update to the kernel is coming this week end or early next week!

So get ready to flash ;)
[Galaxy S II Original Android Development] Остап:
Somebody ?
[Galaxy S II Original Android Development] KennyLegend:
Any changelog for the upcoming release? Or just spill even?? :D
[Galaxy S II Original Android Development] pro.aggro:
And this info ist from?
[Galaxy S II Original Android Development] GadgetCheck:
Lol rage develops with us.

So we know info about each others work.
[Galaxy S II Original Android Development] thanksgiving60:
any info on the U2 version?
[Galaxy S II Original Android Development] :
Hi,

Installed 1.1a and undervolting scripts in init.d are still not executed, don't have clue what is the issue, but same setup with ninphe works witout any problem. Any idea Raven?

Thanks.
[Galaxy S II Original Android Development] rodries:
ninphe go from 200 - 1600 Mhz but Ragemod is from 200 - 1400 Mhz so you have to adapt the scripts
[Galaxy S II Original Android Development] KennyLegend:
Touchscreen sensitivity much better Ravenger .... Nice job.

Trying v1.1a now. Will report back tomorrow !
[Galaxy S II Original Android Development] fenomeno83:
Init.d doesn't work..tried undervolting script with 6 values
[Galaxy S II Original Android Development] RAvenGEr:
Should be fixed in 1.1b
[Galaxy S II Original Android Development] flagger:
Could you please show me what you do to undervolt with an init.d script? Searched on here, but theres too much noise with SetCPU results. Just want to undervolt without the monitoring overhead of SetCPU.
[Galaxy S II Original Android Development] :
+1000 Just trying many time now, but I am not sure how to do it. Can anyone upload his script; I can change the voltage values with mine then..

And how can I test if this script works;

Thanks,
[Galaxy S II Original Android Development] brack11:
Seems that period of changing auto brightness is a bit too long. Is there any way to change it?

Sent from my GT-I9100
[Galaxy S II Original Android Development] rab1412000:
how does this compare to v1-t27?
[Galaxy S II Original Android Development] kwerdenker:
Try this for undervolting. Currently running it with the 1.1b version and it works.

#!/system/bin/sh
echo "1275 1175 1075 975 875 850" > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table
echo "1275 1175 1075 975 875 850" > /sys/devices/system/cpu/cpu1/cpufreq/UV_mV_table

Remeber to adapt the values to your own needs.
[Galaxy S II Original Android Development] isotoper:
May I ask what is the difference between this and RAGEmod v1-T30 ?

Thanks.
[Galaxy S II Original Android Development] :
Now it works, thaaaaaanks!
[Galaxy S II Original Android Development] jdmcivic:
is there a chance of a script to set profiles just like setcpu? to lock speed 200-500 while screen off
[Galaxy S II Original Android Development] helentsang1214:
thanks for your updated kernel ! :)

love it so much! :D
[Galaxy S II Original Android Development] kwerdenker:
Not to my knowledge, since profiles is a feature of SetCPU and not the kernel.

Also I don't think this kind of profile is necessary with the SGS2. Ideally the cpu is in deep sleep and doesn't clock at all and even if it awakes while screen is off, it's for something easy like syncing data and that should never scale the cpu over 200MHz. You can check this with Cpu Spy. But this is just my opinion :)
[Galaxy S II Original Android Development] flagger:
Cheers, works for me to except only cpu0 has a cpufreq folder and hence a UV_mV_table file. SetCPU reports my voltages are set though so I guess that's confirmation.
[Galaxy S II Original Android Development] :
Thanks!! But how can I test that it is really working;

Is there a program to show me the values;

Edit.. Ok, I think by runing setcpu I can test that values have been changed.
[Galaxy S II Original Android Development] kwerdenker:
Yeah, sorry. Just realized that the second line is not needed. I'm currently experimenting a bit and I copy&pasted the wrong lines without realizing. You can just remove the second echo line from the script.
[Galaxy S II Original Android Development] jdmcivic:
does this mean that cpu1 is not undervolted? i read on the o/c daemon thread. both cpu0 n cpu1 are undervolted and both are echoed. i wonder if its the same with this kernel?
[Galaxy S II Original Android Development] :
It is, it is just not active all the time. Keep both lines.
[Galaxy S II Original Android Development] kwerdenker:
Could you elaborate on that info? I assume that both cores probably share the voltage and clock settings and thus you can't set them independently. If you set them for one, you automatically set them for both. For almost all embedded cores I worked with it's this way.
[Galaxy S II Original Android Development] RAvenGEr:
READ First post! (Same goes for many questions)