yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Mini Android Development] ladislav.heller:
+1 for USB OTG support.
[Galaxy S 4 Mini Android Development] pawlik76:
Working good so far :)

Thanks
[Galaxy S 4 Mini Android Development] TNCS:
NOOP hangs in general when the read/write task becomes too intensive. Consider CFQ if you're going to do a bit write operation, else ROW is better. That my two cent when I tried on my S3 with Boffela kernel.

PS. ZEN hangs even worse than NOOP.
[Galaxy S 4 Mini Android Development] nunein:
I second that
[Galaxy S 4 Mini Android Development] s.goten:
thank for your work...:)

is your kernel working with old knox-free bootloaders like Silviumik's kernel?

thanks
[Galaxy S 4 Mini Android Development] catelusii:
battery life compared with carbon 4.4.4 ? PLEASE :)
[Galaxy S 4 Mini Android Development] SilviuMik:
For now i think no, because he did not remove Knox reference from source, i could be wrong tho ! :)
[Galaxy S 4 Mini Android Development] TheBootloader:
I just released a new version!

A lot people asked for OTG, so here you go! I added OTG and BLN (untested!!!), thanks to junkyDE!

The highest kernel goal is stability, but I don't have time to test these features right now - maybe I can do one quick emergency fix tomorrow if something breaks, but after that I will probably not respond for 2 weeks or more.

So, have fun and enjoy! :D

brisK v2

Added OTG support (UNTESTED)

Removed TIMA

Change to XZ compression

Add BLN support (UNTESTED)

-----

I removed TIMA in brisK v2, so.... it -should- work now right? :)

If it doesn't boot, just restore your boot partition from a backup or re-flash your previous kernel if you had any.

-----

Thanks a lot for your input! Now I know I don't need to consider ZEN, and will stay with NOOP, and aim for ROW when I have time to add it. :)
[Galaxy S 4 Mini Android Development] dr3mro:
I9192?
[Galaxy S 4 Mini Android Development] TheBootloader:
SilviuMik made a 9192 kernel:

http://xdaforums.com/showthread.php?t=2592308
[Galaxy S 4 Mini Android Development] rpgdev:
No worries, just wanted to know.
[Galaxy S 4 Mini Android Development] bulldogg143:
can i use it on stock rom
[Galaxy S 4 Mini Android Development] RuffBuster:
Yes... Is only for stock ROMS...
[Galaxy S 4 Mini Android Development] EwOkie:
I am runing JB 4.2.2 Rom (dont wish to change/update)

Which is the latest kernel to use for this rom?
[Galaxy S 4 Mini Android Development] rpgdev:
If you're on stock use this instead: http://xdaforums.com/showthread.php?t=2364980
[Galaxy S 4 Mini Android Development] Dreamisdead:
I've been testing miui lately.

Will your kernel be fine on kitkat based rom?
[Galaxy S 4 Mini Android Development] supergatto:
Hi all, Is OTG working on kitkat?
[Galaxy S 4 Mini Android Development] TNCS:
I don't think you can ever compare stock ROM with AOSP/Cyanogenmod based ROMs...
[Galaxy S 4 Mini Android Development] Loulou-13:
hi !

....thank in advance for ROW ! great ! i wait ... ;)
[Galaxy S 4 Mini Android Development] ladislav.heller:
Anybody tried this new version?

BLN blinking doesn't work for me on missed calls.
[Galaxy S 4 Mini Android Development] TheBootloader:
Did you install the BLN App from Google Playstore?

Also it seems BLN needs a custom "lights.msm8960.so" file.

In the attachment I have that custom file from junkyDE, flashable via recovery, and also a backup version of the stock file in case something goes wrong.
[Galaxy S 4 Mini Android Development] ladislav.heller:
Of course I have BLN Control app.

Plus I already installed the custom file but unfortunately blinking doesn't work. :(
[Galaxy S 4 Mini Android Development] davisan1:
I've had v1 installed just 1 day on a 4.4.2 stock, so far battery life appears to be very good. Usually I'm at 50% at end of day, today I'll be at 75%. More testing needed but I'll be keeping this installed for a time!
[Galaxy S 4 Mini Android Development] TheBootloader:
Damn... I guess I have to study the bln source when I'm back in a few weeks. ;)
[Galaxy S 4 Mini Android Development] killov1982:
Thanks for the kernel. But why not start USB OTG, connect an additional power, used the app http://4pda.ru/forum/index.php?showtopic=465648&st=0#entry22249071
[Galaxy S 4 Mini Android Development] Pawel04:
Just installed the kernel, will report if any issues :good:
[Galaxy S 4 Mini Android Development] ladislav.heller:
Also checked the OTG function using OTG Y-cable and Total Commander USB stick plugin but unfortunately doesn't work. My attached USB device was not recognized.
[Galaxy S 4 Mini Android Development] marchrius:
Thanks a lot man!

What do you mean by "kernel config optimized" (jelly bean kernel)?
[Galaxy S 4 Mini Android Development] marchrius:
I'm getting random reboots (not soft reboots, the phone fully shuts down and reboots) with JB kernel. XXUBNB3 firmware.

Both with ondemand and interactive. Dunno why... otherwise great kernel.
[Galaxy S 4 Mini Android Development] iBluShared:
Does it have the init.d support?
[Galaxy S 4 Mini Android Development] tempfame:
Steady bln works?

Gesendet von meinem GT-I9195 mit Tapatalk
[Galaxy S 4 Mini Android Development] tempfame:
?

Gesendet von meinem GT-I9195 mit Tapatalk
[Galaxy S 4 Mini Android Development] 96DANGER96:
I wantto try this kernel... Anybody tried it? Reviews?
[Galaxy S 4 Mini Android Development] ladislav.heller:
I'm using this kernel. Currently BLN/OTG doesn't work.
[Galaxy S 4 Mini Android Development] 96DANGER96:
And... Battery life? Performance? Signal?
[Galaxy S 4 Mini Android Development] Loulou-13:
hi !

[MENTION=4157278]96DANGER96[/MENTION] ,the battery life is better (really great !) ,it's more fast and stable too ...... but the signal (force and quality ) is only depending of the modem" ,not the kernel ...

[MENTION=4562972]TheBootloader[/MENTION] ,any new for update ? and ROW scheduler that you have said ? ......and have you think about eventual(s) governor(s) ,just the best one(s) ...
[Galaxy S 4 Mini Android Development] TheBootloader:
Look at my GitHub defconfig changes in the JB-branch. Everything is documented there.

Basically I enabled all options which cause better performance, and deactivated most debugging options, as some of them can make performance worse.

I'm not sure why that happens for you. The JB kernel I uploaded here is the exact same version which I used before I upgraded to KitKat, and it was rock solid stable for me. Sorry! :(

Not yet, but it's on my to-do list. ;)

One day before my vacation, I just slapped the BLN and OTG code from JB into the kernel and hoped it would work. Well, looks like it doesn't. Sorry for that! But since it doesn't seem to cause problems (for me), I just left it was it is, without removing it yet. Hopefully I get this stuff to work in the next days or weeks.

I simply have no time, and I hate that. :( Like BLN and OTG, I tried to put ROW (and a ton of fixes/updates for it) in 1 day before vacation, but failed. :D - And honestly, NOOP works great for me, so I'm in no rush to get ROW working - although, I -will- try it again! ;)
[Galaxy S 4 Mini Android Development] Loulou-13:
ok ! thank dude...

just asked news ... no other requests ;)
[Galaxy S 4 Mini Android Development] lOtz1009:
Using this kernel with JB.

No reboots, no WLAN errors (had some with f4k kernel) but unfortunately no BLN.

Is this enabled in the JB version?
[Galaxy S 4 Mini Android Development] TheBootloader:
Hey, you can ask and request as much as you want! I'm not annoyed or anything, if you thought that.

Also it was a few weeks since my last post. So, as the thread-creator, I owed you all a small status update ;)

BLN is activated in the JB kernel (I used it, and it worked), but it behaves unexpected sometimes.

For example: WhatsApp Notifications NEVER worked for me. Everything else did work, but only after some time - not instantly after booting, for some reason.

junkyDE has an explanation in his JB-kernel thread, how to get it instantly working (look at "Known Bugs"):

http://xdaforums.com/showthread.php?t=2545244&page=1
[Galaxy S 4 Mini Android Development] marchrius:
Shame that on mine it causes reboots. :crying: It seems like every kernel different from the stock one gives me problems...

oh well...

Thanks a lot anyway TheBootloader :good:
[Galaxy S 4 Mini Android Development] SilviuMik:
Don`t want to be rude, but out of curiosity can u try the version i compiled and see if it still causes reboots ?

This way [MENTION=4562972]TheBootloader[/MENTION] can find out what is wrong :)
[Galaxy S 4 Mini Android Development] tsimitsangaz:
Is this for kitkat?
[Galaxy S 4 Mini Android Development] SilviuMik:
Yes mate
[Galaxy S 4 Mini Android Development] tsimitsangaz:
I will test it to my 9195 with stock xxucnf7 SilviuMik and will report back. Should i leave everything default?
[Galaxy S 4 Mini Android Development] SilviuMik:
What u mean by default ? If u mean OC/OV/UV governors or so then yep, best way to test is so. Anyway my kernel does not include more governors i/o schedulers then stock and it does not include overclock . Only test if u have problems with Thebootloaders kernel, i made my version before he started to build for 9195 because nobody else did and i felt sorry for people that had problems with battery :)

[MENTION=5344057]marchrius[/MENTION] odd, compass seems to be working on my phone with my kernel/rom . I even calibrated it from *#0*#

And to restore stock kernel u can flash only boot.img . U can extract it from stock rom with 7-zip/Winrar and compress it and md5 it with Tar Md5 Packager
[Galaxy S 4 Mini Android Development] marchrius:
Can't help you man, I meant JB one... however, can't help you anyway since custom kernels on my s4 mini instantly break compass (and to restore stock kernel I have to reflash the whole stock firmware every time).
[Galaxy S 4 Mini Android Development] tsimitsangaz:
Thanks the thing SilviuMik, I want stock performance or more with better battery without touching nothing on the settings so I can use it without any issues. Rock solid and thank you for your quick reply m8. Can I dirty flash it over Bootloader's version?
[Galaxy S 4 Mini Android Development] SilviuMik:
Yes of course u can. Usually kernels don`t need a factory reset or anything related
[Galaxy S 4 Mini Android Development] marchrius:
Thanks for the tip man :good:

This compass thing drive me crazy, I'd really like to use a custom kernel due to this battery drain... Now that I know how to resrore stock kernel w/out reflashing everything I'll investigate further... maybe I'll upgrade to KK (even if I prefer JB) and test a custom kernel from there.
[Galaxy S 4 Mini Android Development] tsimitsangaz:
No offence Bootloader, it's for testing purpose.

---------- Post added at 11:24 PM ---------- Previous post was at 11:18 PM ----------

I am asking because Bootloader's version have extra libs in the zip.
[Galaxy S 4 Mini Android Development] TheBootloader:
No offence taken ;)

Oh oh... Thanks for mentioning the "extra libs", I think there's something important I have to mention:

Background story about the modules

JB kernel has modules (<- "extra libs"?) included because the kernel config changes required a complete re-build of kernel AND modules. The stock modules just wouldn't work with it - for example: My custom JB kernel with stock modules would start, but you wouldn't be able to activate WLAN, because stock "wlan.ko" is incompatible to custom kernel! That's why I included my own custom "wlan.ko".

Consequences

When you flash other Kernels which DO NOT include kernel modules, the flashing-process will NOT overwrite my custom modules, and therefore you will probably experience some problems. You have to flash the stock kernel modules manually, or weird things will happen.

People with broken WLAN and/or compass might be affected by this!

The KK kernel has modules included too, but those are compatible with stock. So, I am pretty sure KK is not affected by this!

Edit:

Right now I am re-downloading the old JB ROM, so I can make you guys a CWM-flashable stock kernel WITH stock modules. ;)

After you flashed that, you are completely on stock kernel, and should be able to flash other kernels without problems and without using a backup or recovery. ;)

Edit2:

Look at the 2nd post on the 1st page in this thread.

I uploaded "samsung_jb.zip", which reverts brisK JB to Samsung JB. I explained it again in the "Uninstall" section. :)
[Galaxy S 4 Mini Android Development] lOtz1009:
Great!!!
[Galaxy S 4 Mini Android Development] TheBootloader:
If you have trouble with brisK JB, look at the 2nd post on the 1st page in this thread. I explained it in the "Uninstall" section. :)
[Galaxy S 4 Mini Android Development] marchrius:
Thanks a lot man. Just a question: your stock kernel is from an UBML4 or UBNB3 fw?

edit: nvm, you already wrote this on second post ;)
[Galaxy S 4 Mini Android Development] TheBootloader:
Let me quote myself :D
[Galaxy S 4 Mini Android Development] marchrius:
Eheh. Sorry. :cyclops:

---------- Post added at 01:26 PM ---------- Previous post was at 01:16 PM ----------

Mate, I flashed your brisk kernel and got again my usual compass problem. No problem, I already knew that and I flashed your stock JB kernel to restore the previous situation.

Problem is that wifi now doesn't turn on.
[Galaxy S 4 Mini Android Development] TheBootloader:
Argh! Even the fix doesn't fix it. Great haha :angel:

I think the problem was, zip-files can't store symlinks. I uploaded a new version of samsung_jb.zip, could you please try it with that file again?

Thanks a lot! :)
[Galaxy S 4 Mini Android Development] lOtz1009:
OT: I don't think the compass problem is kernel related.

I had some issues with the compass losing calibration on stock kernel too.

Did a recalibration yesterday with brisk kernel (JB) and compass is still correctly working.
[Galaxy S 4 Mini Android Development] tsimitsangaz:
What about kitkat revert stock kernel? Should I use the jb one ? Thanks
[Galaxy S 4 Mini Android Development] marchrius:
I'll tell you my situation:

Stock kernel: i boot up the device, compass works fine, calibration from *#0*# works fine (the compass became blue with "3")

Custom kernel: i boot up the device, compass stuck (it moves but only registering accelerometer data and obviously doesn't point north), calibration does nothing and compass is always red with "need for calibration 0".

Don't know why I'm the only one with this problem though.

[MENTION=4562972]TheBootloader[/MENTION]: thanks this zip works :good:
[Galaxy S 4 Mini Android Development] TheBootloader:
I made a KitKat version for you in the first post. :)

Strange problem, I honestly have no idea what could cause this. :(

But at least I got the samsung_*.zips working ;)
[Galaxy S 4 Mini Android Development] nunein:
BLN app says: BLN-Mod is not installed. What else do I have to do to use BLN? I've tried junkyDE's hint with GO SMS Pro without success...

Edit: did I probably miss that BLN has not yet been activated in the Kitkat kernel? (I'm running Kitkat...)
[Galaxy S 4 Mini Android Development] TheBootloader:
Exactly. Before my vacation I put the BLN code from JB into KK, but apparently it isn't that easy. So for now, it doesn't work. :(
[Galaxy S 4 Mini Android Development] tsimitsangaz:
Kitkat revert breaks wifi Bootloader. Thanks for your effort anyway. I appreciate it!
[Galaxy S 4 Mini Android Development] nunein:
Thanks for clarification. You will surely be sorting it out [emoji106] - and I will be waiting patiently [emoji6]
[Galaxy S 4 Mini Android Development] Luca TIR:
...and we waiting with hope for the blacklights working!

thanks a lot for your work on this kernel
[Galaxy S 4 Mini Android Development] marchrius:
He's a great dev, it's a pleasure to communicate with him too :good: (Bootloader I sent you a pm ;) )
[Galaxy S 4 Mini Android Development] TheBootloader:
Dammit why does this keep happening. For some people it works, for others it doesn't. :(

What exact ROM version do you use, I9195XX...?

I hope that too, because I want BLN too. ;)

Haha, thanks for the thanks! :D

Aawww, thanks haha! :D I just try to be friendly to everybody and answer all your questions and requests. Looks like that worked well, so far!

Nobody likes a bossy developer. ;) (Oh and I answered your PM. :) )
[Galaxy S 4 Mini Android Development] SilviuMik:
Like me :)))

Btw merge those patches i sent u already :)

Btw 2 look at commit too
[Galaxy S 4 Mini Android Development] tsimitsangaz:
Yes I have I9195XXUCNF7
[Galaxy S 4 Mini Android Development] TheBootloader:
Sorry but I have no idea why this happens to you. :(

Maybe make backup, and then try I9195XXUCNE6?

I can't make a new version right now. But don't worry, I will steal all your code very soon!!!!! :D :D

You might want to change "neon" to "neon-vfpv4" though. The normal "neon" was made for CPUs with vfpv3. But S4 mini supports vfpv4, so by using "neon-vfpv4" you'll get a slightly more efficient kernel. ;)
[Galaxy S 4 Mini Android Development] SilviuMik:
Did, thank you !

I wait for Christopher to release a new version of 4.7.4 ( he did say a few days ) and then i`ll build a new version.

Small change in size 4961192 new vs 4962880 old
[Galaxy S 4 Mini Android Development] TheBootloader:
In the future I want to build my own toolchain, based on linaro GCC 4.8. Unfortunately GCC 4.8 complains a lot more about Samsung's kernel code, so I guess I have to fix those errors first. ;)
[Galaxy S 4 Mini Android Development] sasank360:
hey guys. did anyone face force close with bln ctrl app on this kernel. I use the free app and it doesnot work on this kernel. Just FCs. I tried wipes, reinstallation and rebooting. even flashed the lights bln fix zip posted on 2nd page. But it doesnot work...any ideas???

rest of funtions are flawless and this kernel offers great stability and battery.
[Galaxy S 4 Mini Android Development] SilviuMik:
BLN and OTG does not work on Kitkat kernels for now

Code has to be modified 100% .
[Galaxy S 4 Mini Android Development] marchrius:
Bootloader is awesome; he solved my compass problem which was (somehow) caused by custom ramdisk applied to (most if not all) custom kernels made for stock TW roms (correct me if I'm wrong since I'm really not into this stuff).

I'll never thank him enough, he spent hours on my compass problem I think.

thanks man :good:
[Galaxy S 4 Mini Android Development] TheBootloader:
I spend my evening compiling different kernels and sending them to marchrius. That way I found out the brisk JB ramdisk caused those compass problems, which I stole from junkyde, who probably stole it from arco. That explains why all 3 JB kernels didn't work with compass. ;) Edit: To clarify: compass works flawless with Samsung's stock ramdisk.

If anyone else has compass problems, let me know. Then I'll make a proper fixed version. :)

No problem, marchrius, I like to help people. :)
[Galaxy S 4 Mini Android Development] marchrius:
Basically, every kernel I found with the battery drain patches, was based on Arco's. Which has a custom ramdisk, which breaks my compass. Don't ask us WHY it breaks my (and mine only) compass though. :eek:

:good::good::good:
[Galaxy S 4 Mini Android Development] mightyillidan:
any plans to port this to i9190 ?
[Galaxy S 4 Mini Android Development] sasank360:
Oh..I see...anyway this kernel is great without those features and good battery life is what I want and I am satisfied.
[Galaxy S 4 Mini Android Development] TheBootloader:
Probably your ROM does something funny - or maybe I had the compass problem on JB too and didn't realize it...

Anyway, I'll compare the two ramdisks and see what I can find.

If I can find out how to support i9195 and i9190 in the same kernel, then yes. Is anyone with some experience about that here?

I'll download the i9190 kernel later to see what the actual difference is.
[Galaxy S 4 Mini Android Development] lOtz1009:
Hmm, my compass is still working on stock BML4 and brisK.

Needed calibration today according to *#0*# but it was om though.

If you need any data to compare just PM me.
[Galaxy S 4 Mini Android Development] niwia:
aNY PLANS FOR 19192??
[Galaxy S 4 Mini Android Development] TheBootloader:
No more data needed. But thanks :)

No, sorry. But SilviuMik made a good I9192 kernel! :)
[Galaxy S 4 Mini Android Development] mightyillidan:
looking for it
[Galaxy S 4 Mini Android Development] sasank360:
hello guys...can anyone tell me what's the default clock speed of gpu? i have installed performance control app couple of days ago and gpu was by default@ 500mhz.

Then i set it [MENTION=2539186]320[/MENTION]mhz and cpu@1ghz and still get great gaming with subwaysurf , deadtrigger,DT2,Frontline commando2.
[Galaxy S 4 Mini Android Development] v00d007:
I'm testing this kernel at the moment and am missing the charging feature when phone is OFF.

And is it compatible with nofrills? I'm not sure whether the frequencies and govenor i selected are really active.
[Galaxy S 4 Mini Android Development] s4wk:
Tried with cm m9, but the phone app doesn't boot at startup, causing a continuous crash. Flashed back the rom kernel.
[Galaxy S 4 Mini Android Development] v00d007:
hmmm... maybe because this kernel is for samsung stock roms only...

:eek:
[Galaxy S 4 Mini Android Development] vicegio:
New update?
[Galaxy S 4 Mini Android Development] drsubhash81:
May I request you to make this kernel for stock kitkat i9192
[Galaxy S 4 Mini Android Development] ladislav.heller:
New version of your kernel is on the way? :)
[Galaxy S 4 Mini Android Development] killov1982:
with USB OTG does not work?
[Galaxy S 4 Mini Android Development] erenkeros:
Do you have any plans on bringing support for S4 Mini 3G (GT-i9190) ?
[Galaxy S 4 Mini Android Development] wiedsche:
dumb question

a dumb question ... will it trigger knox flag when flashing this kernel?
[Galaxy S 4 Mini Android Development] nunein:
Of course it will.
[Galaxy S 4 Mini Android Development] freaksamael:
First of all, "to flash any of these zip-files, you need to install a custom recovery on your phone. "

Flashing a custom recovery will trigger Knox. And since flashing the kernel is done in recovery, knox is already triggered.
[Galaxy S 4 Mini Android Development] impactor:
[MENTION=4562972]TheBootloader[/MENTION],

Could you add a F2FS filesystem support? F4ktion kernel for CM-based ROMs includes it and it is a great feature for improving performance and flash memory longevity.
[Galaxy S 4 Mini Android Development] ladislav.heller:
Yeah, f2fs support would be great!
[Galaxy S 4 Mini Android Development] ruben_2s:
I agree!
[Galaxy S 4 Mini Android Development] v00d007:
Will there be updates on this kernel or is this thread already dead?
[Galaxy S 4 Mini Android Development] sd_shadow:
Notice: A New Q & A thread has been created in the Q&A, Help & Troubleshooting Sub-Forum.

New Discussion and Q & A Tabs have also been created, located just under threads Title, when viewing in a Browser.

Posts from members with less than 10 posts will automatically be posted in the new Q & A thread.

Please check it out, and see if you can help out someone with a question about this Topic.
[Galaxy S 4 Mini Android Development] catelusii:
It is working on i9190 ?
[Galaxy S 4 Mini Android Development] kaizokan:
:good: Thanks Finally there soon will be a kernel with init.d support for the stock S4 mini LTE.

That means a fully working AFWall+ (no more data leaks at startup) :D
[Galaxy S 4 Mini Android Development] HaTeNL:
I really hope you can get BLN to work. My girlfriend really misses this functionality.
[Galaxy S 4 Mini Android Development] twingor:
Intercede!
[Galaxy S 4 Mini Android Development] ladislav.heller:
Afaik, this kernel is discontinued.
[Galaxy S 4 Mini Android Development] TheBootloader:
brisK v3

Not really discontinued, just suuuuuuper slow. ;)

So here it is: brisK v3 !!! :D​

Changelog, Download in the first two posts.

(Also, as of brisK v3 I include updated Wlan firmware files, so I had to update the "uninstall" package (samsung_kk2.zip) to revert those files too, just in case anyone wonders.)