yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] ebliss:
Sorry, I wasn't clear enough.

The initial line in the faq was

echo 267 300 > /sys/devices/virtual/misc/gpu_clock_control/gpu_control # Sets GPU clock from 160/267 to 267/300

but reading the post by tolis626, the acceptable frequencies are 160, 267 and 400.

Which was why I ask, shouldn't the command be

echo 267 400 > /sys/devices/virtual/misc/gpu_clock_control/gpu_control # Sets GPU clock from 160/267 to 267/400

This is nothing to do with voltages which I know is in progress.
[Galaxy S II Original Android Development] jlevy73:
Yes you are correct, the command line in the FAQ should say exactly what you posted :)
[Galaxy S II Original Android Development] Hacre:
The command line in the FAQ is an example using numbers pulled directly from my arsehole.
[Galaxy S II Original Android Development] ebliss:
****! You should have mentioned it earlier. I tried using it, it stinks a bit, but it works! :p
[Galaxy S II Original Android Development] Salvestro:
Thanks for the great work! ;)

A question: work your kernel on stock KG6?

Thanks advance!

Inviato con Galaxy S II from Italy.
[Galaxy S II Original Android Development] eRajesh:
Yes, it will!
[Galaxy S II Original Android Development] SolBallads:
Wow! What a helpful fellow you are! :P

Just kidding.. You answered one of "those" questions.. You know, the ones that noone answers :D
[Galaxy S II Original Android Development] kendragon:
Can I mount ntfs external drive with 2.1.1? Is there a script to lunch with gscript?
[Galaxy S II Original Android Development] jackleung:
Don't be lazy. There is another thread for this. Or simply use Leo's Rom.
[Galaxy S II Original Android Development] SolBallads:
+1 Leo's revolution rom kitchen is the easiest solution..
[Galaxy S II Original Android Development] tolis626:
Well,you are right,but for one thing.This has everything to do with voltages.Try O/Cing at 400MHz and you'll see what I mean. ;)

And acceptable values are any value that is 800 divided by integer.So,below 160,it could be 134MHz,114Mhz and 100MHz.But I don't think there's a point in underclocking that much.
[Galaxy S II Original Android Development] mefistofelis:
I cant seem to get BLN working with the 2.1.1 kernel. I am using Leomar v2.6.

With 2.0.5 and Kriskelo v14 was working fine.

Do i need a new lib.lights.so file???
[Galaxy S II Original Android Development] Hacre:
I don't know, does Leomar provide a modified one? Does it work with Kriskelo and 2.1.1? Why are you posting here about a ROM problem?
[Galaxy S II Original Android Development] mefistofelis:
Cause i thouth it could be a kernel problem!
[Galaxy S II Original Android Development] Hacre:
Why would it be a kernel problem? Do you see anything in the changelog pertaining to BLN?
[Galaxy S II Original Android Development] jlevy73:
It's a Rom issue, not kernel. Go into the revolution rom app and enable BLN. If you have further issues post questions in his thread.
[Galaxy S II Original Android Development] CaspaTheGhost:
I've just found out that I'm not getting the S2 as the MD has decided that EVERYONE has to use a BB (except him)... So my S2 has now turned into a BB 9900 that will be with me on Friday... :mad:

Been looking forward to it for a couple of months.. Totally gutted, words cannot describe my pain... :(

Life's a *****... And I hate BB's... Can't even pop a ninphetamine to eleviate my mood...
[Galaxy S II Original Android Development] Hacre:
That's incredibly ****ty.
[Galaxy S II Original Android Development] nikzDHD:
Oh that sucks hard, don't get me wrong bbs are fine I was an ex bb owner but Android opens everything up! At least they giving the new bold. Hybrids over at crackberry.
[Galaxy S II Original Android Development] SolBallads:
I feel you brother.. I mean wtf???

This is a huge disappointment.. Please try to get one sgs2.. I like having you around and reading your not stupid posts :(
[Galaxy S II Original Android Development] jlevy73:
Totally agree, crackberry.com is your friend.
[Galaxy S II Original Android Development] willverduzco:
Please keep comments on topic. As covered many times earlier, OCing and UVing is device-specific, so posting your results doesn't contribute to the knowledge base in this thread. :)
[Galaxy S II Original Android Development] inkyadrian:
Does this thread have a knowledge base?
[Galaxy S II Original Android Development] willverduzco:
Not from you; thanks for trying. Don't troll me. I can ban you.
[Galaxy S II Original Android Development] inkyadrian:
I am confused to which topic you are refering to, in this ' long thread '.
[Galaxy S II Original Android Development] willverduzco:
This is development. Talk only about things immediately related to Hacre's kernel. He has expressed he doesn't like users spamming their voltage and clock settings, as these are very variable. I will treat this as spam and ban users doing so.
[Galaxy S II Original Android Development] knightnz:
The CPU is only completely "off" when the phone is "off". Otherwise it'll still poll to see if it needs to wake up. If it's off completely then there's no processing power available to check if it needs to wake up.

Deep Sleep != Off. It's a power-management state.
[Galaxy S II Original Android Development] lavcoles:
lol i remember this one time i was at my stepmoms house for a "family" dinner and my real dad for some reason decided that it would be a good idea to ding dong ditch us and he ended up hitting our dog with his jeep. The dog was ok though but thats one of my weirdest childhood experiences because everyone was yelling and arguing and my aunt ended up calling the cops on my dad. I guess it was just a big misunderstanding tho.
[Galaxy S II Original Android Development] lavcoles:
wow wrong thread sry guys.. ^
[Galaxy S II Original Android Development] pspilot:
Not quite right. If the CPU would 'poll', it wouldn't deep sleep. The CPU wakes up by events, that are produced by indepent hardware (even if it's on the same chip). There are for example interrupts from keys or the RTC or timers. They can wake up the CPU without polling which is the idea of a deep sleep state.
[Galaxy S II Original Android Development] CaspaTheGhost:
@ALL

Main problem is that Android's my 'crack' of choice, I do enjoy the reading, but that was hightened on the pretence that I would be getting practical again, but this time taking it much further... Perhaps a continued interest which will one day be set free again...

Anyway, see willverduzco's on the proll and he's changed his avator so I'll keep it short...

Because...

"Nobody canna cross him!"

@Hacre

Gonna keep reading... but I applaud you for your valour and I hope to applaud you for your work in the future... Missed out in the Hero days...
[Galaxy S II Original Android Development] David6632:
some problem when open galerry o playing game the phone will hot...same as GPS

hot until can cook popcorn....

is that normal for galaxy s2??
[Galaxy S II Original Android Development] jlevy73:
Yes, that's correct. The phone should be hot enough to cook a rib-eye to medium rare :eek:

When you say hot, what temperature are you referring to? My device, using this kernel OC'd to 1.4, never gets hot even after playing 3d intensive games for extended period of times. Could be possible that a rogue app is taxing your cpu which in turn would heat up your device.
[Galaxy S II Original Android Development] robertolm:
Great work on kernel....

Is there any modulo or way to put without kernel modification or rom NTFS suppoft???

I know that a M$ file system... but i had the OTG cable to push the pendrives... And normally all the people has ntfs on pendrives.

I'm too want to use otg cable to see Fill over the pendrives, all sizes over 2Gb...too much for fat32.
[Galaxy S II Original Android Development] Hacre:
Apparently there's an app on the market that enables the use of ntfs-3g. The required kernel modules are included now, fuse.ko.
[Galaxy S II Original Android Development] robertolm:
Thanks Hacre,

I will search for this... but on market doesn't found.
[Galaxy S II Original Android Development] Cygnuss:
Just noticed that with SetCPU in Conservative the CPU only scales to 1000MHz not to 1200MHz is this kernel related?
[Galaxy S II Original Android Development] iakovidis:
Can not reproduce it.

On conservative OC to 1600 and did a benchmark , then looked at cpy spy and it scales all the way to 1600.

Maybe you do not "demand" more power from the cpy , i.e. cpu intensive tasks , to make it scale up to 1200.
[Galaxy S II Original Android Development] omar.abbas:
CWM not installed :S ?

I used the latest version 2.1.1 but after getting it done and rooted. i dont see CWM anywhere :confused: i wanted to flash Zimage through CWM and i need it anyways for alot of other stuff as you all know. So can someone please help me out :D
[Galaxy S II Original Android Development] desean:
if you are talking about the CWM app, it is not packaged in this kernel and never was. You probably got it from CF-Root and flash Ninphetamine over it previously, and retaining the app after that.
[Galaxy S II Original Android Development] omar.abbas:
yes you're right about me coming from CF-root. so any idea of how i can get it back? the same way, flashing CF-root first and then this kernel?
[Galaxy S II Original Android Development] desean:
http://xdaforums.com/showthread.php?t=1228089

actually it is not that hard to find if you had searched: http://lmgtfy.com/?q=cwm+app+xda
[Galaxy S II Original Android Development] s2d4:
Good thing ur around, looks like others have had enough of having to spoon feed ppl....
[Galaxy S II Original Android Development] omar.abbas:
i'm sorry if i bothered you by asking a question after googlin it for an hour. i see quite alot ppl say that to others, so i did my research and finally ended up asking you guys.. n ppl talkin about spoon feedin should mind their own bussiness, coz they can type n invest their time in being sarcastic but can't help others.. anyways thanks @desean i got CWM :)
[Galaxy S II Original Android Development] s2d4:
You may have practically alienated a lot of the devs since my previous remark was about ppl being sick of spoon feeding ppl like you.

XDA has a search function if google fails you. This should help you in the future.

You can also click the Thanks button so your thanks is actually accounted/reflects on desean profile.

btw, it does seem like post 5 material if it took you an hour to fail searching, or claiming that you have, or asking for an unrelated app to this kernel....
[Galaxy S II Original Android Development] Hacre:
18 posts and you're making posts like this already? I think I'm in love.
[Galaxy S II Original Android Development] rodries:
is this bugfix applied in initramfs ?

(Fix for incorrect /data/system permissions (causes bootloop on wipe).)

https://github.com/teamhacksung/clockworkmod_galaxys2_initramfs/commit/8fede9de977ad279ac0b89517f6b21ca152672f0#diff-0
[Galaxy S II Original Android Development] Hacre:
Nope it is not. I also just wiped /data on my phone and it booted fine straight to the first time setup screen. So either that's specific to Cyanogenmod, or whatever ROM Paul is using that's not creating that directory with the correct permissions when it encounters a blank /data and creates the system directory with the db/battery stats etc inside it.
[Galaxy S II Original Android Development] rodries:
ok, thks for explanation.

Anyway can you add it?

so your kernel will fix that problem when it's used in a rom with that problem

I know its not your problem it's the rom maker problem but your kernel will be more compatible with more roms.

I'm only trying to make your kernel the default sgII kernel, I love it and in my opinion is the best kernel for sgII at now.
[Galaxy S II Original Android Development] Hacre:
Sure no problem. I'll try and get an update out for it when I'm done eating.
[Galaxy S II Original Android Development] Testraindrop:
Hey Hacre,

don't know if you find this question stupid or not, but I try it anyway^^

I noticed with setCPU that when you touch the screen the CPU goes automatically on 1000Mhz and stays there until you put the finger off the screen.

I am wondering if it is really necessary for the device to have 2x1000Mhz to just capture touchscreen inputs... wouldn't it be enough to jump to 800 or even 500 to register inputs? Or is it then laggy while scrolling etc.??

I think this is controlled by the Kernel and maybe you know why its like it is...
[Galaxy S II Original Android Development] Hacre:
I'll look into this, I'm not sure if it's SetCPU specifically causing it by reading the input thus creating CPU load or if it's happening whenever the screen is touched.
[Galaxy S II Original Android Development] Hacre:
2.1.2 posted, changelog updated. If anyone is willing to test and see if the issue is isolated to KH1 or KH3 or see if the same problem happens on KG6 ROMs that'd be useful. I'm on a KG6 ROM and don't get the problem. If it's down to a specific Samsung release the Samsung need to be told (obviously) but if the ROM devs can fix the code in the ROMs in the meantime that's also a bonus.
[Galaxy S II Original Android Development] prometheus030:
What's the name of the software that support ntfs ?
[Galaxy S II Original Android Development] stoney73:
N/a
[Galaxy S II Original Android Development] rockky:
I'm sure it's somewhere in here but just flashed, now I can't connect to WiFi... Fix anyone?

Thank you.
[Galaxy S II Original Android Development] jykke78:
Hmm.. I can. Wifi works perfectly with Android 2.3.3.
[Galaxy S II Original Android Development] rockky:
Glad to hear it
[Galaxy S II Original Android Development] h20pt:
Already replied to you on Lite'ning thread :)
[Galaxy S II Original Android Development] eiraku:
Just came in to say, I got my first reboot + some funky stuff EVER on the SGS 2 today. I'm not gonna go "ohz my gawd, what happenedz", because I was:

1) Charging the thing in the car

2) Streaming music using 3G through bluetooth

3) Using GPS (Google maps)

4) Brightness set to full.

Thanks to me being in a hot country + it being fairly sunny outside, I guess I finally got the answer to the question: what will happen if the SGS2 gets too hot, too fast?

Well, it rebooted AND (here's the strange funky part) bluetooth refused to work for the next few minutes afterwards, not until I opened up the battery cover, pulled the battery out and tried to cool the whole thing down through the air conditioning vents. It worked perfect after that.

I didn't know you could overheat bluetooth lol.

Next time I'm running the phone in that config, I'm gonna run logcat first. It'll be fun to find out what is happening behind the scenes while the smouldering bluetooth chip was refusing to let itself be turned on.
[Galaxy S II Original Android Development] ZiCoN:
Installed via recovery... impressions are, fast and smooth :-)

Running CrisV4

So far, nice job Dev :)
[Galaxy S II Original Android Development] carlos67:
DAMM!

Loving this kernel BUT, just realized that there's no CIF's support with it.

That's almost a deal breaker for me as I regularly use CIF's to transfer from PC to phone.

Any chance of adding CIFs support? For me it would then be perfect.

Pretty please with sprinkles on top:)
[Galaxy S II Original Android Development] jykke78:
Understand. I just wondered is the Wifi fault in kernel or rom...
[Galaxy S II Original Android Development] tobeman:
This Kernel is simply impressive, smooth at 800MHz and after 12 hours I am still at 75% with normal use. R E S P E C T!

Thanks Ninpo,
[Galaxy S II Original Android Development] Hacre:
Done, links on the first page updated.
[Galaxy S II Original Android Development] Rar9:
http://ninpo.qap.la/kernels/sgs2/ninphetamine-2.0.1-release.zip

Is not working .... Or a I too early?
[Galaxy S II Original Android Development] Hacre:
It is now.
[Galaxy S II Original Android Development] carlos67:
Holy smoley :eek:. That was quick!!! Man, your not only witty as f**k, but responsive too.

Thanks man. Respect. :)

Re-flashing now..........
[Galaxy S II Original Android Development] saintxseiya:
Hi,

do i have to set setcpu in some way or is the kernel all doing by itself?

Cheers.
[Galaxy S II Original Android Development] mdmar:
Hacre: thx for making me laugh out loud - love ur attitude 8)
[Galaxy S II Original Android Development] Hacre:
Welcome to post 5.
[Galaxy S II Original Android Development] saintxseiya:
LOL

Yeah thanks, i had read the things above, but i was asking, if there are settings for setcpu that are recommended?
[Galaxy S II Original Android Development] Try4Ce:
This is by far the best kernel i've tested on the stock Rom XXKG2. VERY smooth and stable, battery life is simply great. But I've moved to MIUI 1.7.15 and I am really digging the interface and usability plus customization possibilities (skinning engine is one of the best I've seen ever since). Maybe it is not a good thing to ask since I can imagine its already alot of work to create a kernel like this for Samsung based roms, but I tested this baby on MIUI and the speed is fantastic. But Bluetooth and WiFi won't work anymore. Bluetooth won't even activate and WiFi hangs at obtaining the IP Adresse... I'd love to see this Baby on MIUI but if it's too much to ask for I will accept that, much respect from me already earned.

Oh and by the way, great sense of humor :-)
[Galaxy S II Original Android Development] carlos67:
Thanks Ninpo, CIF's working like a champ, just like the rest of it.

Have a beer on me - small donation on its way.
[Galaxy S II Original Android Development] Hacre:
No.

It sounds like MIUI is using a kernel/initramfs of their own with their ROM? The only reason I can think of that would cause an issue. I'd need access to that initrd layout if you want a version of this for MIUI.

Much appreciated, thank you.
[Galaxy S II Original Android Development] Hacre:
Not a clue. Try searching Google or the forum for ntfs-3g Android. I don't use it, the module was included on request.
[Galaxy S II Original Android Development] prometheus030:
Okay i try it ;)
[Galaxy S II Original Android Development] jlevy73:
Tuxera supports NTFS, however, I have not seen an app from them on the market. Check out their website here: http://www.tuxera.com/markets/mobile-phones-tablets/
[Galaxy S II Original Android Development] jlevy73:
I'm on a KG6 ROM as well and don't have the problem.
[Galaxy S II Original Android Development] ferreinf:
Using 2.1.1 with XXKH3 no issues, so it's not rom related, to much uv maybe for some...
[Galaxy S II Original Android Development] Hacre:
So you've taken a backup in CWM, wiped /data and it's booted/set up/rebooted fine? (I say take a backup cos if it works or even if not you can restore back to normal.)

It wouldn't be UV causing it btw.
[Galaxy S II Original Android Development] ferreinf:
Wipe data? why?

i´m using revolution app kitchen to flash it, so the script wipes dalvik and normal cache and reboot´s normal takes a few seconds more off course to build dalvik again, don´t see the need to wipe data...

Ok but i can do it if you want...

give me a few minutes, let me see if i get it, you want me to, do a full wipe, install your kernel 2.1.1 and reboot and see if it boots normally?
[Galaxy S II Original Android Development] Hacre:
No.

The bug someone mentioned was to do with a boot loop after wiping data.

So with 2.1.1, in Clockwork Mod Recovery, do a backup.

Then wipe data / factory reset (no need to wipe anything else)

Reboot.

Does phone boot up into Android, Y/N?

If yes, after you set up the wizard and reboot (if it gets a wizard, if not just add your google account then reboot) does it boot properly, Y/N?

If yes, great it must be a problem with a particular custom ROM or with Cyanogenmod. If no then we know it's KH3 specific since two of us don't have the issue with KG6.

Then after testing it, you can go back into recovery and restore your backup of data and your phone will be back to normal.
[Galaxy S II Original Android Development] ferreinf:
done it,

Got that issue with booth kernel 2.1.1 and 2.1.2, booted added my account FC wizard rebooted and frooze, tried with booth kernel, restoring right now...

very weird indeed :S
[Galaxy S II Original Android Development] inkyadrian:
I too have the same.

I am on Leomar 2.5 (kg6). Ninphet 2.0.2

SetCPU & cpumaster have the same readings even on conservative settings, 1000mhz. Android assist reports current as 1000mhz without touching the screen.
[Galaxy S II Original Android Development] ferreinf:
more pics..............
[Galaxy S II Original Android Development] Hacre:
Cheers. I should have remembered to ask you to adb logcat it, nevermind. Now I know there's an issue I can chuck KH3 on my phone tomorrow and check it out.

Thanks ferreinf.
[Galaxy S II Original Android Development] ferreinf:
you´re welcome,

logcat showing activity on the phone, when you tap the screen...

Got my backup from KG6, restoring it, will try and replicate, let´s see...
[Galaxy S II Original Android Development] ferreinf:
Hum...

Same issue with KG6, dam ...

but with one change i can use power widget bar, have lock screen and even mount sd...
[Galaxy S II Original Android Development] ferreinf:
Rest of pics...........

btw Leomar 2.5 comes with 2.0.2 and i allways do clean install so i definitely, install it after full wipe... and had no issues what so ever.... :confused:
[Galaxy S II Original Android Development] LuffyPSP:
I guess no need for 2.1.2 update if running fine eh? i see only KH3 got this problem.
[Galaxy S II Original Android Development] Hacre:
Yeah that's the only change Luffy.
[Galaxy S II Original Android Development] BMWpokerAce:
I have the same Problem here in my SkyRom.

On KG6 with v2.0.5 after wipe Data Factory i get in bootloop and phone dont get into android.

I thought the whole time it´s a ROM issue and was trying to fix.

Never thought about, it could be Kernel releated :confused:

Will try tomorrow with new v2.1.2 on SkyRom v6.0 KG6
[Galaxy S II Original Android Development] s2d4:
:p

Maybe I got too ahead of myself, I was just ranting coz it does get rather annoying for me too when I see ppl cluttering a good informative thread with brain dead gibberish.

I can only imagine how annoying it must be for you when they literally litter in your own backyard.
[Galaxy S II Original Android Development] s2d4:
Not sure how you concluded that this is a kernel issue...

I think Hacre added this workaround just incase some users are using the offending ROMs.
[Galaxy S II Original Android Development] AndroidGX:
Uncle Hacre, I had a nasty crash and my phone rebooted, I want to help you debug this. :D

Crash just appeared right after opening YouTube app.

It was a reboot at yellow triangle.

Hope this helps.

infos: ROM Kitchen KH3
[Galaxy S II Original Android Development] Hacre:
Any overclock/undervolt/overvolt going on? Looks like cpufreq was getting busy when it died.

Had a couple of these now with people (I haven't had any personally but you're not the first), I might chuck 2.1.3 out with some debugging symbols in (not battery destroying debugging stuff, just symbols that make that dump a lot easier to read).
[Galaxy S II Original Android Development] AndroidGX:
I don't like OC (always staying at 1200Mhz), but UV yes, I gonna try my SAFE file on SetCPU to check that (+50mV on each steps :D), but I thought that UV was only concerned when device freeze, and not reboot, but I was wrong then ;) thanks for explanation, I'll look into this!
[Galaxy S II Original Android Development] Hacre:
Undervolting too much -can- cause reboots especially if you have a chip that undervolts by 25mV automatically already (starting voltages will show on 1.2GHz as 1275 instead of 1300 if my memory serves me correctly).

I'm not saying that's definitely the cause, just noticed that cpufreq had just been active prior to the crash.

(That's also why I put in the opening page about making sure there's no OC/UV before reporting problems, just to avoid confusion.)