yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] Hannibal226:
Gr8 release like every time ;)

Go ahead with it!

Sent from my Galaxy S2 - SensatioN Rom 4
[Galaxy S II Android Development] bgn9000:
I tested yesterday many times with default profiles and the mean value was 6480 with 2.0.9b and 6623 with 2.0.9c (JRCU addition).

However, as said previously, this means quite nothing in normal usage.

Fo games, there is others profiles (e.g performance) and you can try it or propose your favorite settings.

By the way, on GalaxyS2.fr we are testing a 2.0.9c with JRCU but because of long boot times I prefer to see again my code before delivering it here on XDA.

If someone interested by this version, send me a PM.
[Galaxy S II Android Development] Hannibal226:
And JRCU is what exactly? :D

Sent from my Galaxy S2 - SensatioN Rom 4 + Shun Kernel
[Galaxy S II Android Development] bgn9000:
Well, to gain performance with multi threading you need a lock free algo.

RCU (aka Read Copy Update) is embeeded within linux since 2.5.

This is the way to change information (writers) without been blocked and without blocking tasks using this information (readers).

JRCU is the tiny implementation of RCU for "small" SMP systems. It should bring more smoothness.

If it is the case on Shun and your GS2, I will keep it.

PS: NEAK ICS kernel is using JRCU since months.
[Galaxy S II Android Development] Hannibal226:
Ok I'm waiting for it, ty ;)

Sent from my Galaxy S2 - SensatioN Rom 4 + Shun Kernel
[Galaxy S II Android Development] Hannibal226:
After some day I now recognised the first strange problem. Didn't use it in last days....

It's the camera!

I'm on SensatioN version 4.1 and the camera is working but all time shows a black screen.

Hopefully u can fix this.

CHEERS

Sent from my Galaxy S2 - SensatioN Rom 4 + Shun Kernel
[Galaxy S II Android Development] bgn9000:
Sorry about that ;)

As I said in my changelogs for a previous version :

I tried to fix it... I need to see what I missed :)
[Galaxy S II Android Development] Hannibal226:
Sorry buddy,

didn't see it :o

Sent from my Galaxy S2 - SensatioN Rom 4 + Shun Kernel
[Galaxy S II Android Development] bgn9000:
Please consider this version as a try

Version 2.0.9d ;)

Please consider this version as a try.

Boot will be longer than usual and can block at boot logo.

Please do a wipe cache before first reboot with this version.

Let me know !

In case of issue, simply reflash previous version :)
[Galaxy S II Android Development] grzesdroid:
Thanks

Wysyłane z mojego GT-I9100 za pomocą Tapatalk 2
[Galaxy S II Android Development] rubiks01:
Working fine for me without long tome on boot logo :thumbup:

Envoyé depuis mon GT-I9100 avec Tapatalk
[Galaxy S II Android Development] bgn9000:
Right, to avoid long boot issue, it seems that /mnt/sdcard/.nobootlogo speed up the starting of the 2.0.9d.

I need to figure out why.
[Galaxy S II Android Development] Hannibal226:
Seems to work well here, too.

I recognised an issue with GPS for me on 2.0.9c but then I saw that 2.0.9d was released and no 10 minutes later no prob with GPS :D

Also camera work, but can't say if this is because I flashed the camera.zip on last version....

PS: From more flui performance or kind of it I don't feel anything special, but anyway

Thanks again for your work!

CHEERS ;)

Sent from my Galaxy S2 - SensatioN Rom 4 + Shun Kernel
[Galaxy S II Android Development] Hannibal226:
Kernel seems not to be really stable now...

After long usage especially a bit longer search in market, more and more problems appear.

One time with freeze another time just til TW crashes...

Hope u make this a lot more stable ;)

CHEERS

Sent from my Galaxy S2 - SensatioN Rom 4 + Shun Kernel
[Galaxy S II Android Development] bgn9000:
Sure, tonight last update on 2.0.9 with "normal RCU" + ATT.
[Galaxy S II Android Development] bgn9000:
Here is the 2.0.9e (International + ATT).

Enjoy ;)
[Galaxy S II Android Development] Hannibal226:
After using it since release I now again had probs with GPS.

I'm on another kernel now, but hopefully u came back on stability of older versions :(

Thanks anyway for ur release and work!

CHEERS

Sent from my Galaxy S2 - SensatioN Rom 4 + Shun Kernel
[Galaxy S II Android Development] Venomdroid:
WAS YOUR BEST KERNEL 2.0.7 MAKE TAKEN latter that are very unstable and spend a lot of battery, I wish you could reinvent yourself in a future release, I will test this latest version to see what improvements has
[Galaxy S II Android Development] Hannibal226:
I saw u release the version 2.0.9f.

Can u give some Infos about it?

I see the camera fix is include and u wrote something about profile reset?

CHEERS
[Galaxy S II Android Development] rubiks01:
You can read the changelog on thé first page ;)

Yes for the fix. :)

Envoyé depuis mon GT-I9100 avec Tapatalk

---------- Post added at 07:17 PM ---------- Previous post was at 07:15 PM ----------

Linaro change for faster response of the kernel

Envoyé depuis mon GT-I9100 avec Tapatalk
[Galaxy S II Android Development] sarfaraz1989:
hey the recovery is cwm 5 . why no cwm6 ? like other kernels ?
[Galaxy S II Android Development] rubiks01:
Shun doesn't support the Last Cm10 now.

Envoyé depuis mon GT-I9100 avec Tapatalk
[Galaxy S II Android Development] bgn9000:
Release 2.1.0 with latest linux patch
[Galaxy S II Android Development] Hannibal226:
Seems to work, except a freeze (but cannot say why).

Anyway I'm a bit sad of battery life.

For sure it's not representative to say this for newest one but it's for sure not as good as on earlier releases.

(I think til b or c).

So I don't know what u exactly did but maybe u can do ur last changes on an release with better battery than latest.

But for sure: Thanks for ur work.

CHEERS ;)
[Galaxy S II Android Development] rubiks01:
@hannibal226 did you use the reset profile before flashing the last version ?

Envoyé depuis mon GT-I9100 avec Tapatalk
[Galaxy S II Android Development] Hannibal226:
Ehm yes but understand that I have to use this if I have problems or kind of it?!

So this reset all the files from other and older kernels and their settings, like the kernel cleaning script, right?

Thanks for info, will test again with using it first.

CHEERS

EDIT: Flashed resetProfile.zip, wiped dalvik cache and battery stats... Let's see what's up next day(s) ;)
[Galaxy S II Android Development] sarfaraz1989:
can somebody please point tell me if it is necesarry to clean the kernel before flashing another kernel ? or it is just wiping extweak profiles ? how to do i clean the kernel plz point me to a thread. also does 2.1.0 work with rr 3.0.9 ? also y r u using conservative governor ? doesnt it keep both the core active all the time ? is that draining the battery ?
[Galaxy S II Android Development] Hannibal226:
So after a new day WITH reset profile I can say:

Yes battery is better than before, but anyway problems with GPS again.

After reboot now probs after some time again. Pls check this.

CHEERS
[Galaxy S II Android Development] rubiks01:
For the gps, you can use faster fix.

Envoyé depuis mon GT-I9100 avec Tapatalk
[Galaxy S II Android Development] Hannibal226:
? Faster fix is for bad GPS, so just to make the "signal" better

But the prob here is that is sometimes doesn't toggle on or off!
[Galaxy S II Android Development] rubiks01:
Are you sure it's a kernel issue?

Envoyé depuis mon GT-I9100 avec Tapatalk
[Galaxy S II Android Development] Hannibal226:
Yep, because no probs on other kernels ;)
[Galaxy S II Android Development] rubiks01:
I never had this problem, can't help you.

Envoyé depuis mon GT-I9100 avec Tapatalk
[Galaxy S II Android Development] Hannibal226:
Hmm I can't get this, too.

But have this problem since last 2-3 releases.

Can't say why, but it's there.

Even I did the clean kernel install with resetting profile and wiping dalvik cache last time...

Only thing I can say that I never had a problem like this on Siyah's or Dorimanx Kernel.

It's sad but if here are users who can use this one without any problems, it's just me and so - ok.

CHEERS ;)
[Galaxy S II Android Development] bgn9000:
Sorry about that, I have no issue with a modem not up to date but battery friendly : KI4.

Perhaps, you should try to flash it for a quick test : have a look on my another thread Modems

I am also working hardly on update 7 merge for a release 2.2.x

But tonight a small linux patch : 3.0.45.

Here is the 2.1.1 ;)

Coming soon ATT version as well ;)
[Galaxy S II Android Development] bgn9000:
Here is ATT version on post 2 ;)
[Galaxy S II Android Development] cyberbandit1998:
Does this have the mali drivers
[Galaxy S II Android Development] bgn9000:
Still version based on Update 4/5/6 samsung source code.

I am working on update 7.
[Galaxy S II Android Development] cyberbandit1998:
Ok thank you I'm on Att and,need a good mali kernel.
[Galaxy S II Android Development] Hannibal226:
Tested again with resetProfil, wipe dalvik cache and using the newest modem on ur thread (UHLPH)

Same probs with GPS toggling as before....

Anway thanks for help, but even if I like the kernel, my phone doesn't seem to like :P

CHEERS ;)
[Galaxy S II Android Development] bgn9000:
Tonight Version 2.1.2, sorry working on my GS3... next kernel Dragon-Shiryu ;)
[Galaxy S II Android Development] Venomdroid:
BGN the consumption of your last two versions is high relative to version 2.0.7, you have uploaded internally voltages or frequencies of the processor?
[Galaxy S II Android Development] asrock37:
This is really good

Hi,

@bgn9000, just to say thank you for very good kernel, it really run fast & smooth in my ASNET rom...

The touchscreen really doing well, toggle buttons are ok, battery life also ok. almost everything are ok

That's the way good Dev does in his project, test everything before open to public...

Good job

Thank you
[Galaxy S II Android Development] bgn9000:
Except buck3 for deep sleep issue nothing.

But I had an issue with governor, conservative is changed by pegasusq few seconds later after complete reboot. I did a workaround into 2.1.x to apply extweaks after 30 secs.

You should verify with voltage control or system tuner or setcpu what is the governor after ten minutes to see if conservative remains.

If not, apply manually and it should be ok.

Thank you, I am working hard on it and GalaxyS2.fr team is supporting my job and testing beta releases.

We are currently testing 2.2beta with merge of update7.

I will release a 2.2.0 soon ;)

EDIT: by the way, my work is to provide stability, smooth experience and autonomy.

But stability is the first priority task ;)
[Galaxy S II Android Development] asrock37:
that's good

you can count me if you want a tester of your beta in my asnet miui rom.

Sent from my SGS-GT-I9100 using ASNET ROM
[Galaxy S II Android Development] It_ler:
I am missing "improved battery life" ... or do you mean this with "autonomy" ;)

As I like your kernel, I am testing 2.1.2 ATM and will test new kernel versions too.

Keep up your good work and thanks for this very nice kernel !
[Galaxy S II Android Development] bgn9000:
Correct, I mean "improved battery life".

This is why, I have a look into Phenomenal kernel thread as well ;)
[Galaxy S II Android Development] bgn9000:
Tomorrow morning 2.2.0 (too tired tonight), my GS2 reached 1% per hour during 15 hours with 1 hour call and 55 minutes screen on.

Nice ;)
[Galaxy S II Android Development] NEBeek:
New Kernel version & New Boot Logo :P

Full Image: https://www.box.com/shared/7d913nxtddskr9h8edud
[Galaxy S II Android Development] Ku4t0:
+1

Its cool!
[Galaxy S II Android Development] bgn9000:
Here is 2.2.0 with update 7 ;)

Please read carefully the message below the kernel link because the only issue we had yesterday was a factory reset blocked...

If you someone has information about this (CWM version / kernel version incompatibility), thanks by advance :)
[Galaxy S II Android Development] asrock37:
Hi, thank you... again it is good...

May I ask what will happen if accidentally you hit the factory reset?
[Galaxy S II Android Development] bgn9000:
I don't know if it is kernel related or CWM incompatibility.

The factory reset process blocked at data stage and after the data partition was not readable.

I have to upgrade CWM anyway since months.
[Galaxy S II Android Development] asrock37:
just look at little code you have, 1 character makes difference...

I don't think it is incompatibility...

I know you can do it dude...

you are good...
[Galaxy S II Android Development] Venomdroid:
The softkeys are always lit, I'm using AOKP rom hydra, in previous versions this bug did not happen

Enviado desde Tapatalk
[Galaxy S II Android Development] pakoulinos:
I just installed the kernel and can not open my phone.Black screen and does not enter nor recovery nor in download mode.What i can do....plz help me....
[Galaxy S II Android Development] minidou-77:
Is your battery charged ?

Might sound stupid but happens a lot...
[Galaxy S II Android Development] pakoulinos:
it is...but i install an Incompatible rom...!!

I can't go nor recovery nor download mode..!!i tried many ways...( with pc cable plug in with baterry unplug e.t.c)

Also when i plug in the charger the screen remain black it does not do anything...no icon for charging...
[Galaxy S II Android Development] rubiks01:
Try with another battery

Envoyé depuis mon GT-I9100 avec Tapatalk
[Galaxy S II Android Development] Daniel Smedegaard Buus:
So... Is this kernel in any way based on the leaked 4.0.4 firmware with the hardbrick bug?

After I flashed this kernel I did a factory wipe in recovery, and it's apparently broken my internal storage. /data will no longer format, no firmware will boot, and only after heavy modding and flashing via Odin am I now able to at least get to recovery (before, only download mode was accessible).

Seems I have to find another use for my phone now, perhaps a paper weight...

---------- Post added at 04:07 PM ---------- Previous post was at 03:58 PM ----------

I'm sorry, what message below the kernel link? I see no message.

Is this the hardbrick bug? What can we do when we've done factory wipe in CWM and /data is no longer accessible, and cannot be formatted?
[Galaxy S II Android Development] asrock37:
Same thing happen to my friends phone... he tried to recover everything... he ask me on how to recover it... so what I did, I PM the devs and any other developer but i received no reply...

He cannot used used his phone now as it is already hard brick,

Hey dude, don't force to format with custom kernel, try to used stock kernel and maybe you can format the /data...

so be careful do not do the factory reset when using custom kernel
[Galaxy S II Android Development] Daniel Smedegaard Buus:
So I can confirm - this kernel has the hard brick bug.

WHY would you not take this down immediately? OR AT LEAST WARN ABOUT IT!!! Not in some vague reply 30 pages into the thread, but in the OP on PAGE 1IN HUGE RED LETTERS!!!

:good::good::good::good::good:

THANK YOU FOR BRICKING MY PHONE

:good::good::good::good::good:​

WHO IN THEIR RIGHT MIND WOULD RELEASE A KERNEL INCLUDING THE LEAKED AND LONG-SINCE DISCLOSED & FIXED HARD-BRICKING KERNEL BUG?

---------- Post added at 05:08 PM ---------- Previous post was at 05:04 PM ----------

Can he get into download mode and use Odin? (He may need to pull the battery, press the buttons, and then reinsert the batter while pressing - that's the only way I can get into download mode).

If so, all hope is not lost; send him here:

http://xdaforums.com/showthread.php?t=1760107

http://xdaforums.com/showthread.php?t=1667886

http://xdaforums.com/showthread.php?t=1823918

http://xdaforums.com/showpost.php?p=26285877&postcount=12

Unfortunately, the damage is already done. But I'm currently testing my eMMC to find the damaged areas, and I will then create a custom PIT that leaves those areas unused.

EDIT: My phone is back up and running, albeit with a 2.5G smaller user space on the internal storage after blocking out the damaged areas.

I'm still stomped that a two weeks old kernel could be released with this bug present and kicking.
[Galaxy S II Android Development] bgn9000:
Very sad

For sure I am sad for you and for all my efforts on this kernel.

I was also guessing that very few people was using it because I have very few thanks only by same people helping me and very few replies as well.

As you said 32 pages.... This small compared the time spent.

This kernel embedded CWM 5 and I was not aware of this issue and nobody warmed me except a vague remark.

So, sorry again, I will put your comment on post 1.
[Galaxy S II Android Development] It_ler:
Oh, I feel sad too :crying:

I thought your kernel was already "safe" and the bricks after wiping in CWM were caused by something else ... not the eMMC_CAP_ERASE brick-bug.

I never had any issues running your kernel ... but I always avoid wiping, as I have an insane eMMC chip.

On the other hand, everyone is responsible for his/her own phone.

If I flash something like a new ROM and/or kernel to my device, then I am responsible for the consequences, such as bricking my phone.

And the dev (in this case bgn9000) did never state that his kernel is "safe" (i.e. has eMMC_CAP_ERASE flag disabled).

You are right that the fact should explicitly be stated in the first post (as it is now), but the real "guilty" person (to blame) IMO is the one flashing and wiping = bricking the phone.

Hope that all (or most) of the affected users can successfully claim a warranty repair/replacement :fingers-crossed: (As Sasmung has enabled the MMC_CAP_EARSE flag by default in all Android 4.0.4 stock ROMs/kernels for our phone!)

And there are many other ways of bricking the phone ... so we always have to be cautious about what we are doing.
[Galaxy S II Android Development] RM57380:
If you want, a french user of FrAndroid has made a tuts to recup the S2 after an brick with Shun
[Galaxy S II Android Development] bgn9000:
I will be back

Hello,

I am working hard to have Shun back with no brick issue at all.

I did two versions 2.2.1b and 2.2.2 with some patch linux enhancements + added CWM from @Phil3759's work HERE

I wish to provide as well a safe solution to unbrick for the future ;)
[Galaxy S II Android Development] asrock37:
It's nice to hear that,

be sure friend, if not sure, do not released...

Good luck

---------- Post added at 10:42 PM ---------- Previous post was at 10:00 PM ----------

BTW, Is the new released includes Phenomenal kernel battery tweaks?
[Galaxy S II Android Development] bgn9000:
Of course :)

This is why, I just changed changelogs but no link to download it.

About phenomenal tweaks, I added some of them :
[Galaxy S II Android Development] asrock37:
Good..., let's see the tweaks... look
[Galaxy S II Android Development] bgn9000:
Version 2.2.2 ready, tested (all wipe are safe, backup/restore incrementals thanks to @Phil3759)

I will build an another version soon to reintroduce some tweaks I forgot to readd after this long period of troubles.

EDIT: if there is CM10 users, I can readd CM10 as well ;)

Let me know !
[Galaxy S II Android Development] bgn9000:
Is there any ATT users ?
[Galaxy S II Android Development] It_ler:
I just had a "slow-motion" bug after 11 hours of night use (no use, about 95% deep sleep).

Then I wanted to check some battery stats, news, emails, etc. ... first everything was ok, but then suddenly, the system seemed to no longer respond. It was still alive but very, very slow.

I am on XWLPY stock ROM.

See details in my kernel test thread.
[Galaxy S II Android Development] asrock37:
No luck

hmmm, no luck...

1. Slow/Laggish

2. SOD

3. CPU Cannot be set to any - if set to 100 min, cannot boot, loop onn rom boot logo.
[Galaxy S II Android Development] Jagdish84:
No sods nor freezes over here, working nice and smooth 8 hrs since unplugged, 1:50 hrs of screen time and still 30 pct to go...that's my first run with it so it might even get better...

Keep up the great work mate.

Sent from my GT-I9100
[Galaxy S II Android Development] bgn9000:
Coming soon :

1/ Linux 3.0.52 (on stable review)

2/ CWM 6.0.1.5 embedded within PhilZ Touch 3.0 Recovery

3/ Code review of frequencies/voltages

EDIT : let me know if you have some advises ;)
[Galaxy S II Android Development] :
umm... like a way to disable the bootlogo?!

well i've nothing against it but...uh...you know! not a big fan! (sorry if i missed the solution through 324 -or something- posts...:/)

i've been search an option on STweaks but...no result!:) & i don't any skills to recompile an entire kernel...x'D
[Galaxy S II Android Development] rubiks01:
.nobootlogo

Envoyé depuis mon GT-I9100 avec Tapatalk
[Galaxy S II Android Development] bgn9000:
Here the version 2.2.3 ;)

Sorry I didn't make progress on other topics (CM10 compatibility back and SOD issues).

On my phone, I didn't experience any issues since 1.x...

Perhaps this could be phenomenal kernel tweaks I introduced last 2.1 releases...
[Galaxy S II Android Development] oskarpp3:
Someone tested leaked samsung jb ? Otherwise i will !
[Galaxy S II Android Development] lyndonguti:
I bet 100$ that it wont work:p

Sent from my lovely phone....hmmm wait its a tablet...waaa i dont really know.....im PARANOID NoW!
[Galaxy S II Android Development] bgn9000:
Version 2.2.3b with nobootlogo back ;)

EDIT : more precisely, create an empty file within internal sdcard : /mnt/sdcard/.nobootlogo
[Galaxy S II Android Development] asrock37:
Just to ask why CPU settings cannot be set? Are those settings are fixed with 200-1400? or maybe I used wrong apps to a set? Btw I used STweak.

Sent from my GT-I9100 using Asnet ROM
[Galaxy S II Android Development] rubiks01:
Flashing the kernel and reset profiles script, wipe cache partition. I use extweaks. No issue with fréquence. Maybe you have a setup cpu or voltage contrôle script Who can trouble your settings ?

Envoyé depuis mon GT-I9100 avec Tapatalk
[Galaxy S II Android Development] Venomdroid:
Your kernel does not work in JB?
[Galaxy S II Android Development] rubiks01:
Only ics 4.x

Envoyé depuis mon GT-I9100 avec Tapatalk
[Galaxy S II Android Development] asrock37:
Clean install (wipe factory reset) both rom and kernel no luck CPU not switch to 100-1200 it is always 200-1400. Just reporting.

Cheers

Sent from my GT-I9100 using Asnet ROM
[Galaxy S II Android Development] bgn9000:
This is strange.

I am using WanamLite ROM 12.5 and Extweaks/Stweaks (I prefer Extweaks because I dislike Apply/Discard buttons always displayed).

Into Stweaks/CPU/CPU SCALING SETTINGS you can choose 8 rather than 6 to gain 100 Mhz but only after a reboot.

However, all of my tests showed me that 200 Mhz is better than 100 Mhz because you cannot really set lower voltage on 100 Mhz whereas 200 Mhz give more power.
[Galaxy S II Android Development] asrock37:
Actually I didn't see big diff with 100mhz & 200mhz. So far aside from what I post I didn't see/experienced any irregularities with the kernel.

Thank you for the nice kernel.

Sent from my GT-I9100 using Asnet ROM
[Galaxy S II Android Development] bgn9000:
Coming soon :

1/ New linaro 2012.11 (gcc 4.7.3)

2/ Linux 3.0.53

Waiting JB samsung sources...
[Galaxy S II Android Development] bgn9000:
Version 2.2.4 ready to use ;)

I can add CM10/JB if needed... let me know.
[Galaxy S II Android Development] cakerone:
hi..

after fresh install last nightly cm9 and Your last kernel, I had problem with sd card recognation and autorotation! With default kernel everything is normal!
[Galaxy S II Android Development] bgn9000:
Coming soon :

1/ Linux 3.0.54

2/ Linux 3.0.55

3/ Linux 3.0.56

4/ Merge with siyah v5 gpu (5 levels)

5/ CWM 6.0.1.9 by PhilZ

Waiting source code from OSRC for JB ;)
[Galaxy S II Android Development] bgn9000:
Version 2.2.5 ready :)
[Galaxy S II Android Development] asrock37:
Thanks we will try

Edit: initial findings ADB not working

Sent from my GT-I9100 using Asnet ROM
[Galaxy S II Android Development] bgn9000:
Version 2.2.6 with latest linux patch : 3.0.58 ;)
[Galaxy S II Android Development] It_ler:
Does it work on stock (leaked) JB ROM (XXLSJ) too?

I just want to be sure.

Thanks in advance.