yashsingh1/xdaforums huggingface dataset:
[Galaxy S III Original Android Development] inteks:
hi,

i have a small prob with the boeffla sound engine. if i enable it then i have no sound when doing a phone call. i hear nothing and the other one doesnt hear anything too,

this doesnt work

echo "1" > /sys/class/misc/boeffla_sound/boeffla_sound

if i disable it it work

echo "0" > /sys/class/misc/boeffla_sound/boeffla_sound

maybe its the combination of setting i use so i attache my init.kernel.sh

#!/system/bin/sh
#--------------------------------------------------
# Yank555.lu - generated kernel options init script
#--------------------------------------------------
# Script generated on 09/01/2013 at 3:11
#----------------------------------------------------

# - init.d support by kernel/ramdisk not installed

# - Set CPU max frequencies for all 4 cores
echo 1600000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

# - Set governor to pegasusq and consider I/O to be CPU load
echo "pegasusq" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 1 > /sys/devices/system/cpu/cpufreq/pegasusq/io_is_busy

# - zRam not activated

# - Hardswap by Yank555.lu not installed

# - swappiness not set here

# - Enable custom current forced fast charge
echo 2 > /sys/kernel/fast_charge/force_fast_charge
echo 900 > /sys/kernel/fast_charge/usb_charge_level
echo 1500 > /sys/kernel/fast_charge/ac_charge_level

# Enable Boeffla Sound Engine by AndiP71
echo "1" > /sys/class/misc/boeffla_sound/boeffla_sound

# Speaker sound output level - Stock
echo "57 57" > /sys/class/misc/boeffla_sound/speaker_volume

# Headphones sound output level - Stock
echo "57 57" > /sys/class/misc/boeffla_sound/headphone_volume

# Disable Equalizer Mode
echo "0" > /sys/class/misc/boeffla_sound/eq

# No Equalizer Settings changes

# Enable Privacy Mode
echo "1" > /sys/class/misc/boeffla_sound/privacy_mode

# Disable DAC direct
echo "0" > /sys/class/misc/boeffla_sound/dac_direct

# Enable DAC 128bit oversampling
echo "1" > /sys/class/misc/boeffla_sound/dac_oversampling

# Disable FLL clock tuning
echo "0" > /sys/class/misc/boeffla_sound/fll_tuning

# Microphone default Samsung mode
echo "0" > /sys/class/misc/boeffla_sound/mic_mode

# - Enable dynamic deferred file sync (by faux123)
# While screen is on, file sync is temporarily deferred, when screen
# is turned off, a flush is called to synchronize all outstanding writes.
echo 1 > /sys/kernel/dyn_fsync/Dyn_fsync_active

# - Do not load CIFS kernel modules on boot

# - Do not load XBOX 360 gamepad kernel modules on boot

# - Set MMC readahead buffer size
# Wait for everything to become ready
sleep 120
# Internal MMC
echo 512 > /sys/block/mmcblk0/bdi/read_ahead_kb
# SD card
echo 512 > /sys/block/mmcblk1/bdi/read_ahead_kb

# - Set MMC I/O scheduler
# Internal MMC
echo "cfq" > /sys/block/mmcblk0/queue/scheduler
# SD card
echo "cfq" > /sys/block/mmcblk1/queue/scheduler

# - Android Low Memory Killer left unchanged

#--------------------------------------------------
# End of generated script
#--------------------------------------------------
[Galaxy S III Original Android Development] Yank555:
No, you need to use the AOSP/CM kernel, link is also in the op right at the beginng.

But the fix isn't in the CM kernel just yet, will do it tonight probably, should find the time afterall, just Aroma bits need to be updated, the kernel is ready already.

JP.
[Galaxy S III Original Android Development] Yank555:
Strange, I have it enable, only difference is I have the eq. enabled, and I have dac direct enabled, but all works in my case...

Maybe Andi has an idea ?

JP.
[Galaxy S III Original Android Development] RevoWution:
Whoops, sorry, I knew that there was another thread dedicated to CM/AOSP. I got too excited and assumed I was in the right thread :P

Looking forward to the fix being implemented in your CM/AOSP kernel, Yank555 :D Thanks!!
[Galaxy S III Original Android Development] Rodrigo Vilhena:
Sorry to bother you with this question, but I'd like to know if your custom personal option flashing, is for a especific ROM or can be used for Stock XXLLA?

Thanks a lot!
[Galaxy S III Original Android Development] Yank555:
It's a bit unconventional, and should not be used without hardswap. I run Stomax v12 for now, that's a custom ELL4.

I'd rather suggest trying "Power" and going from there...

JP.
[Galaxy S III Original Android Development] Yank555:
I asked Andi, and he has not yet received any report like this...

Are you using any mod or app that might interfere with sound ?

He also said to avoid have "Answer calls using voice" ticked in the answering/ending calls settings.

Also, it may help if you can provide a dmesg when this happens as well as a copy of /sys/class/misc/boeffla_sound/debug_info.

JP.
[Galaxy S III Original Android Development] Rodrigo Vilhena:
Thaks a lot for your attention! :D

And do you have some suggestion the best way to flash on stock LLA? :cool:

Thanks.
[Galaxy S III Original Android Development] inteks:
afaik nothing that clould affect sound...

if you use the attached init.kernel.sh do you have sound if you call someone?
[Galaxy S III Original Android Development] vasilisf7:
Hi yank555 I have a question about the new version 3.0a

Is the kernel safe from the sutend death and the exynos bug?

Sorry for asking I dond have the time to read over 20 pages. ...

☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆

.GT I9300 ON STEROIDS!!!

.OMEGA ROM V36

.STOCK KERNEL

.MOTOMOtO00 THEME

.RAUB'S & VEGETA'S MODS
[Galaxy S III Original Android Development] :
Yes it`s Safe! for every ROM u would Use with this (AWESOME) Kernel!!

But the Recovery is not safe for "sudden death" :(....not Now @ moment
[Galaxy S III Original Android Development] Yank555:
You just need to have a look at the changelog in the OP, I've highlighted what you asked ;)

Changelog v3.0a

Samsung JB N8020 sources (Linux 3.0.31)

using XXELLA ramdisk

swap support

zram support (Android optimized)

/proc/config.gz support

optimized for size

ntfs (rw) support (kernel support only)

Forced Fast Charge v1.2a

CPU OC up to 1.6GHz

Triangle away support

dynamic fsync support (faux123)

TCP westwood congest ctrl (faux123)

Proport. Rate Reduction TCP (faux123)

ARM AES/SHA1 (faux123)

JIT compiler for packet filters(faux123)

fix ipv6 protocol lookup (faux123)

ipv4 check ret.val. dst_alloc (faux123)

ipv6 check ret.val. dst_alloc (faux123)

updated LZO compression (faux123)

do_fsync() to fget_light() (faux123)

disabled mali state tracking (AndreiLux)

reduce mali utilization sampling timeout (AndreiLux)

added SIO scheduler

added ROW v4 scheduler

black crush fix (AndreiLux/AndiP71)

added lulzactiveq CPU governor

exynos-mem Exploit fix (AndreiLux)

sysfs interface to delay fsearlysuspend (Yank555.lu, base idea Codeworkx)

Boeffla-Sound: Engine 1.4.2 (AndiP71) - Huge thanks for offering me to include his hard work and great sound engine

Sudden Death Syndrom Fix (mmc: Soft-patch MoviNAND VTU00M (16GB) eMMC failure - All credits to AndreiLux for extracting this fix from SGS3 JB Update 7 source drop)

JP.
[Galaxy S III Original Android Development] vasilisf7:
And what recovery do you suggest to use to be safe

☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆

.GT I9300 ON STEROIDS!!!

.OMEGA ROM V36

.STOCK KERNEL

.MOTOMOtO00 THEME

.RAUB'S & VEGETA'S MODS
[Galaxy S III Original Android Development] Yank555:
So far none, but looks like Philz's will be first to have a "safe" one ... But I'm not following all recovery threads either.

JP.
[Galaxy S III Original Android Development] enigma1981:
Forgot about his recovery! Just been using "stock" cwm touch via ROM Manager

**goes off to subscribe to philz's thread**

Swyped from my Galaxy SIII using Tapatalk 2
[Galaxy S III Original Android Development] wooptarik:
yeah, been following his thread for a while, he's including ELLA kernel into his Recovery as soon as tonight ... as he said here
[Galaxy S III Original Android Development] wikusq:
http://xdaforums.com/showthread.php?t=1719744

this?
[Galaxy S III Original Android Development] corrsea:
Or you can spend as little time in recovery as possible to reduce the risk.

I use goo manager or zip installer. Just select the zip you want to flash, decide whether you want to clear the caches, hit flash and jobs done.:)

ROM Sotmax Ultimate V12

Kernel Yank555.lu-V3a
[Galaxy S III Original Android Development] jayden2009:
Zip installer...can't find it in the market. ?
[Galaxy S III Original Android Development] enigma1981:
http://xdaforums.com/showthread.php?t=1920057

There you go mate

Swyped from my Galaxy SIII using Tapatalk 2
[Galaxy S III Original Android Development] afpapa:
Sorry to bother you, thank for the great job.

I was considering to go for a custom kernel for a while. Now with the SDS bug it is about time :cyclops:

So I am on stock rooted LL4. Can I flash this on top? (I already installed PhilZ recovery and I don't want, for now, to use a custom rom)

Thanks!
[Galaxy S III Original Android Development] Yank555:
Yes you can, I use also an ELL4 ROM, but a custom one, but that makes no difference security-wise ;)

Oh maybe on drawback, if you have a 64Gb sdcard formated in exFAT, it will not work with my kernel. You would need to format it in FAT32.

JP.
[Galaxy S III Original Android Development] afpapa:
Thanks.

Installed and running great! No 64 exFAT card here, just an old good 32GB!
[Galaxy S III Original Android Development] starbucks2010:
Is this SDS issue afecting only 16Gb SGS3 or 32Gb also?

Thank you.
[Galaxy S III Original Android Development] Yank555:
Only most of the 16Gb, the 32Gb has a different emmc chip.

JP.
[Galaxy S III Original Android Development] corrsea:
Phil has released his recovery

http://xdaforums.com/showthread.php?p=36501245

[09.01.2013][PhilZ Touch][i9300/i9305] v4.00-b4 Touch Enhanced CWM 6.0.2.7-exFAT-root

ROM Sotmax Ultimate V12

Kernel Yank555.lu-V3a
[Galaxy S III Original Android Development] donteo:
Yank555 is there any chance that your future kernel get pre "sotmax" config like your or power for sotmax fans that love your kernel so much :laugh:
[Galaxy S III Original Android Development] delgamarco:
Help me please. I want flash this New versión 3.0a, i have 2.8g but I dont remember the configuration that i did before. There are some way for know this? I have a Great Battery life and is smooth. For that i want use same configuration. Thanks

Ps: Sorry for bad english
[Galaxy S III Original Android Development] duhhh:
is it possible this fix to be added to ICS kernel?
[Galaxy S III Original Android Development] STELIOSFAN:
the configuration you currently have is stored at /etc/init.kernel.sh

you can view it either in the phone or pc (change the extension in .doc)
[Galaxy S III Original Android Development] enigma1981:
AFAIK there is no risk with the ICS kernels, only with the JB kernel... All the SDS reports have been running JB haven't they?
[Galaxy S III Original Android Development] duhhh:
lol

hope this is true......
[Galaxy S III Original Android Development] MuertoKo:
Sorry to bring bad news but I do remember reports on ICS errors, bit there's no point to stay on ICS as JB rocks and has the secure kernel :P

Enviado desde mi GT-I9300 usando Tapatalk 2
[Galaxy S III Original Android Development] ezechiele25172012:
Hi all, I'm using this kernel on latest WanamLite ROM and It's very very smooth, now I'm testing battery drain:)

I have 3 questions:

1) Where can I find the configuration file I'm using? Because I don't remember all selected options in AROMA installer?

2) If I wanna edit the configuration of the kernel how can I do as it doesn't support Stweaks?

3)If I want to delete this kernel and install another kernel I read in the first post that there is a script to clean all files; but I see a link to 'Yank555.lu-SGS3-JB-kernel-Cleanup' and a link to 'Kernel_Yank555_Cleaner.zip' file. Have I to execute both files from recovery ?

thanks
[Galaxy S III Original Android Development] jayden2009:
IT was written one page back...so its not from me ;)

the configuration you currently have is stored at /etc/init.kernel.sh

you can view it either in the phone or pc (change the extension in .doc)
[Galaxy S III Original Android Development] Yank555:
Will do in next release.

As MuertoKo suggested, update to JB, it's running far more smoothly and is perfectly stable and comes loaded with nice new very useful features.

Btw, the fix needs to be added to ANY kernel, it circumvents a hardware flaw, hopefully but I'm not so certain it will make it perfectly safe, but it's the safest you can get if you have a 16Gb unit with the faulty chip inside.

1) has been answered already ;)

2) reflash the kernel, but in the last step, choose "Config only", so it will just update the config

3) from the FAQ :

JP.
[Galaxy S III Original Android Development] DrAnGeR:
Hey yank I just reflashed the kernel and in my surprise I saw a message saying no hardswap aborted installation. Kernel and other configs work as far as I can see.i found a txt on /data/hardswap.txt that saying no partition on sdcard bla bla.i thought it was my partition (fat32) a problem and then reformatted it at exFat and I just saw ur previous post that ur kernel is not supporting exfat.do u know why I got this msg? I did a clean install several timed but the same msg appeared
[Galaxy S III Original Android Development] Yank555:
Hardswap needs a special second Linux Swap partiton on the SD card to work, this has nothing to do with your SD data partition (e.g. FAT32 or exFAT).

For more info on hardswap, please read the Hardswap FAQ here.

Then, there is no exFAT support in my kernel and there will not be, so the SD card needs to be kept formated in FAT32.

JP.
[Galaxy S III Original Android Development] starbucks2010:
You have to create a swap partition (256-512 Mb) on your ext SD card in order to use the the hard swap. I used MiniTool Partition Wizard (free) to do it. Search on xda and you will find the guide how to create the swap partition.

Good luck.

PS. Yank was quicker than me :)
[Galaxy S III Original Android Development] duhhh:
I don't want,because of Garmin.It runs only on ICS,hope soon see ICS kernel whit this fix
[Galaxy S III Original Android Development] Yank555:
Here are explanations on the Boeffla Settings (mostly just a copy/paste from Andi's website) :

I will update the "Aroma Settings Explained" in the kernel thread as soon as I get to it...

JP.
[Galaxy S III Original Android Development] Yank555:
That very much depends on the apps that you have running in the background, what communications you use (mobile data, WiFi, bt) etc.

Post screenshots of battery (details so we see that was active when, tap on the battery chart), screen on time as well.

I've seen yoursetup looks a lot like my presets with just no OC, possible ?

Do you actually have a swap partition on your SD card ?? If you don't do not use my settings, I keep repeating this, they are very unconventional and specific to what I do and how I set up my S3 ;)

And most of all, without hardswap, just don't use those !!

Start with "Power" or "Stocklike" and go from there, you can go back to Aroma as much as you want to change the config.

JP.
[Galaxy S III Original Android Development] ezechiele25172012:
Hi yank555, thanks for your fast reply :);

When I installed your kernel from AROMA installer I started selecting your presets and I changed something. I don't want to use hardswap for now is it correct my configuration posted in my previous topic?

For battery drain:

I'm using latest WanamLite 5.3 ROM, with GSM only (I select WCDMA and wifi only when I need them). I disabled some autostart application process by Gemini app (es. Maps,mail exchange, secPhone(i use nova launcher), and something else I don't remember now).

Have you any suggestion?

thanks
[Galaxy S III Original Android Development] Yank555:
Well you selected hardswap 'enabled', but it's not a problem, if therd is no partition, nothing happens.

Looks ok for me, 6+ hours on battery, almost 2 hours screen on, 17% lost. But it will depend on how you use your phone.

JP.

Sent from my custom Sotmax V12 / Yank555.lu SGS3 kernel v3.0a Aroma (Linux 3.0.57) powered Galaxy S3 i9300 using Tapatalk 2
[Galaxy S III Original Android Development] ezechiele25172012:
No 2 hours screen on but only 27min 2 sec (see the first BetterBatteryStats screenshot); is it normal? I have a lot of awake time than screen on :(
[Galaxy S III Original Android Development] Yank555:
You're right, looked at it quickly in Tapatalk. You've been using the phone for voice calls for about 1h as well.

Have you freshly installed the ROM ? If so, give the ROM a few days to settle.

JP.
[Galaxy S III Original Android Development] ezechiele25172012:
I installed the ROM a week ago but I thing that the "problem" is due to awake time there is some waterlock that wake up the device many times, I' monitoring the alarms using BetterBatteryStats and I see a lot of wakeup by com.ebay.mobile app! I disabled the notifications in the ebay app but I have theese wakeup too, how can I resolve this issue?

thanks
[Galaxy S III Original Android Development] Yank555:
There's only trial & error, either BBS helps you find the culprit, or you can use a tool like Titanium Backup to freeze apps (small groups of apps), until you find the one that messes with you...

JP.
[Galaxy S III Original Android Development] hshah:
Yank555, do you have "recommended" settings for those of us who don't have swap etc?
[Galaxy S III Original Android Development] Yank555:
"Power" if you want OC or "Stocklike" if you prefer to stay closer to stock settings.

JP.
[Galaxy S III Original Android Development] corrsea:
Multipdp wake lock is coming up quite high. Check network in BBS to see what is causing the network activity. If it's an app you're not actively using that might be the culprit.

ROM Sotmax Ultimate V12

Kernel Yank555.lu-V3a
[Galaxy S III Original Android Development] jnr21:
For some reason init.d support doesn't work for me with v3.0a and null_16 rom, no matter is init.d enabled or disabled on aroma config. I have script which tweaks lulzactiveq values in init.d folder but values are not loaded after boot.

This is my script: https://dl.dropbox.com/u/89833400/governor_tweaks

It always worked before yank555 v3.0a.

edit: init. doesn't work with v2.8g + null_16 combo neither, but with other kernels init.d works fine. So i quess that yank555 is not fully compatible with null_16?
[Galaxy S III Original Android Development] starbucks2010:
Yank,

Is there any chance to get your kernel recognized by Boeffla Sound app?
[Galaxy S III Original Android Development] Yank555:
It's in the making, a little patience ;)

JP.
[Galaxy S III Original Android Development] Yank555:
I suppose permissions and ownership you have checked ?

Replace the first line of you script by .

#!/system/bin/sh

Since obviously the ROM is not running init.d, choose enabled for init.d support in Aroma.

And one hint, settings in init.kernel.sh are run

after

init.d ! Maybe that is conflicting with your script.

You can of course edit init.kernel.sh and comment out what might be an issue. Or add the lines in there. But bear in mind, that script is regenerated each time you flash the kernel.

JP.

EDIT -------------------------------------------------------------------------

The governor is changed after that script is run, so I'd suggest you put the governor you chose in Aroma in your script at the beginning as well :

# - Set governor to lulzactiveq
echo "lulzactiveq" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

or

# - Set governor to pegasusq
echo "pegasusq" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
[Galaxy S III Original Android Development] strikoo:
This kernel is INSANE!!! Both for samsung and aosp based roms. pure awesomes,

Yank555, thank you so much! You are the MAN!
[Galaxy S III Original Android Development] jnr21:
I was tested to change that first line from my script and also added governor line after tweaks but still no luck (i tested both, yes and no when aroma asks for init.d support), and permissions was ok of course :)

But now problem is soIved, i added those lulzactiveq tweaks to init.kernel.sh right after governor line and now values are loaded on boot, it's enough for me. It's not so big deal for me to edit init.kernel.sh everytime i flash new version of your kernel. :)

Thanks for your help.
[Galaxy S III Original Android Development] FK1983:
Superb but one issue!?

Hi Yank

Just wanted to say this is a superb Kernal!, I use yours and Perseus.

The two BIG issues I have with yours (and the reason i still go back to Perseus) is:

1, The sharpness tweak (or black crush tweak) from Perseus and Siyah and other kernals seem to be missing in your kernal? is there anyway to set this or even edit it myself because everything on my screen looks very "soft" and flickery (mainly writing) which doesn't happen with the sharpness tweak or with other kernals and it really puts me off!

2, No app or stweaks/extreak support for on the fly changing of settings,

I know you said before you can just reflash the config via Aroma but it would be SO much easier to do on the fly via an app of some sort, like what you can do with extweaks.

Apart from those two issues this is by far the best kernal out there!
[Galaxy S III Original Android Development] starbucks2010:
Yank,

When I check the busybox installation on my phone it says "More than one copy of BusyBox was found". Can this interfere with kernel functionalities? If yes, how can I remove the unneeded version of BusyBox?

Thank you.
[Galaxy S III Original Android Development] maximo12345:
I give it a try, just want to be safe from sudden death...
[Galaxy S III Original Android Development] DrAnGeR:
I got to say guys, first time i am seeing my s3 like a skyrocket!!! i am challenging my self to make the phone laggy but i cant!! Yanks configs are pretty much rocky!!

i wont change kernel since i loved hardswap and the way it works!!

Just Awesome Yank.
[Galaxy S III Original Android Development] selami023:
Do i have to format my sd card before i use hardswap or can i simply choose it in Aroma installer ?
[Galaxy S III Original Android Development] :
You have to create swap partition manually. Instructions can be found in this thread.
[Galaxy S III Original Android Development] manojpy:
I agree. Have had great stability and smoothness n awesome battery life with Custom D ROM.
[Galaxy S III Original Android Development] Yank555:
To 1. Black crush fix is in the kernel, but I removed sharpness fix as it made everything slightly blurry (really slightly) and I don't intend to readd it.

To 2. Most of the settings can be changed with standard apps like System Tuner, SetCPU etc. About other settings, but also in general, I'm not into changing settings all the time, find yours and stick to them, it's not about the kernel, it's about your device, and I don't think you should spend all the time tweaking the kernel, but use your S3, that's the point of it, or not ?? :D

The only thing that for me needs on the fly changes is Boeffla Sound Engine, and that will be supported in Boeffla Sound app, but give the dev the time to do it.

JP.
[Galaxy S III Original Android Development] Yank555:
That is "normal". In fact there is a (CM) busybox in the ramfs to execute just "mount" and "umount" commands, because Stericson's doesn't suport as of today cifs mounting / umounting and I need that to work.

You shouldn't and cannot remove the one in ramfs and you shouldn't remove the one in "/system/xbin", as only that one is really complete !

Let Stericson update/install busybox in "/system/xbin" (!). It will update as requested, will remove the one in the ramfs, but that's a run-time change only, once you reboot, you will have both.

But that is totally fine ! All commands except mount and umount will be handled by busybox in "/system/xbin".

JP.
[Galaxy S III Original Android Development] ezechiele25172012:
Hi Yank555, are you using the ROM in your sign "Sotmax V12 XXELL4" ? How is that ROM, I'm using wanamLite and it seems smooth, what ROM do you advice to use considering your experience?

thanks
[Galaxy S III Original Android Development] dyy:
I would like to use swap partition - after creating it should I use your script "Hard-Swap-Yank555.lu_Flasher-vx.y.zip" or can I just flash your kernel activating appropriate option?