yashsingh1/xdaforums huggingface dataset:
[Galaxy S III Android Development] Abo3mood:
I'm really sorry for this Noob / repeated question.

Concerning I/O schedulers I read many guides, etc.

Currently I'm using CFQ but I wanted a suggestion for a better one (ROW or Zen or Deadline ) / 'others as well" and a breif explanation on ur choice / advice.

Is it better to stick with CFQ ?

My Aim is performance+Stability followed by battery.

Thanks in Advance :)
[Galaxy S III Android Development] MIKEMON:
The use is different for each

I / row / internal / zen / external, and I'm happy
[Galaxy S III Android Development] andip71:
Thanks for the good explanation.

If your assumptions are true, it might be worth trying to run the fix permissions action from Boeffla-Config. Then the app should be back? Never tried it though, as I do not use zipalign scripts...

You are faster than me. Where do you have beta2 from already? :)

Start reading this:

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

Andi
[Galaxy S III Android Development] dyval:
Can we expect f2fs implementation on your kernel in the future? :)
[Galaxy S III Android Development] janres155:
RE:

You can check this one Andi, with logs to /data/media/0/logs-init.d/

Try it with an app that haven't zipaligned.

#!/system/bin/sh

# - Path to internal sd memory
SD_PATH="/data/media/0"

# - File paths
LOG_PATH="$SD_PATH/logs-init.d"
LOG_FILE_1="$LOG_PATH/optimization.log"
ZIPALIGNDB="$LOG_PATH/zipalign.db"

# - Create directory if it doesn't exist
if [ ! -d $LOG_PATH ] ; then
mkdir $LOG_PATH
chmod 775 $LOG_PATH
chown 1023:1023 $LOG_PATH
fi

# - Maintain log files
if [ -e $LOG_FILE_1 ]; then
rm $LOG_FILE_1
fi

# - Script for zipaligning applications
echo "=======================================" | tee -a $LOG_FILE_1
echo " LOGGING ZIPALIGN (SYSTEM) " | tee -a $LOG_FILE_1
echo "=======================================" | tee -a $LOG_FILE_1

if [ ! -f $ZIPALIGNDB ]; then
touch $ZIPALIGNDB
fi

echo "$( date +"%F %R:%S" ) : Zipalign (System Apps) started" | tee -a $LOG_FILE_1

busybox mount -o rw,remount /system

for DIR in /system/app ; do
cd $DIR
for APK in *.apk ; do
if [ $APK -ot $ZIPALIGNDB ] && [ $(grep "$DIR/$APK" $ZIPALIGNDB|wc -l) -gt 0 ] ; then
echo "$( date +"%F %R:%S" ) : Already checked $APK" | tee -a $LOG_FILE_1
else
zipalign -c 4 $APK
if [ $? -eq 0 ] ; then
echo "$( date +"%F %R:%S" ) : Already aligned $APK" | tee -a $LOG_FILE_1
grep "$DIR/$APK" $ZIPALIGNDB > /dev/null || echo $DIR/$APK >> $ZIPALIGNDB
else
echo "$( date +"%F %R:%S" ) : Now aligning $APK" | tee -a $LOG_FILE_1
zipalign -f 4 $APK /cache/$APK
cp -f -p /cache/$APK $APK
chmod 644 $APK
busybox rm -f /cache/$APK
grep "$DIR/$APK" $ZIPALIGNDB > /dev/null || echo $DIR/$APK >> $ZIPALIGNDB
fi
fi
done
done

busybox mount -o ro,remount /system

echo "$( date +"%F %R:%S" ) : Zipalign (System Apps) finished" | tee -a $LOG_FILE_1

echo "=======================================" | tee -a $LOG_FILE_1
echo " LOGGING ZIPALIGN (USER) " | tee -a $LOG_FILE_1
echo "=======================================" | tee -a $LOG_FILE_1

echo "$( date +"%F %R:%S" ) : Zipalign (User Apps) started" | tee -a $LOG_FILE_1

busybox mount -o rw,remount /data

for DIR in /data/app ; do
cd $DIR
for APK in *.apk ; do
if [ $APK -ot $ZIPALIGNDB ] && [ $(grep "$DIR/$APK" $ZIPALIGNDB|wc -l) -gt 0 ] ; then
echo "$( date +"%F %R:%S" ) : Already checked $APK" | tee -a $LOG_FILE_1
else
zipalign -c 4 $APK
if [ $? -eq 0 ] ; then
echo "$( date +"%F %R:%S" ) : Already aligned $APK" | tee -a $LOG_FILE_1
grep "$DIR/$APK" $ZIPALIGNDB > /dev/null || echo $DIR/$APK >> $ZIPALIGNDB
else
echo "$( date +"%F %R:%S" ) : Now aligning $APK" | tee -a $LOG_FILE_1
zipalign -f 4 $APK /cache/$APK
cp -f -p /cache/$APK $APK
chmod 644 $APK
busybox rm -f /cache/$APK
grep "$DIR/$APK" $ZIPALIGNDB > /dev/null || echo $DIR/$APK >> $ZIPALIGNDB
fi
fi
done
done

busybox mount -o ro,remount /data

echo "$( date +"%F %R:%S" ) : Zipalign (User Apps) finished" | tee -a $LOG_FILE_1
touch $ZIPALIGNDB

Btw, I think that the fix permissions that Boeffla provide are only for /data. Most of the zipalign scripts checks /system/app and /data/app

P.S. Sorry, as of now I can't provide the binary yet. I'll try later.

Regards,

Janres
[Galaxy S III Android Development] Melissakis:
Hi,

I have never installed a Boeffla kernel and I am thinking about doing so. My main concern is the audio quality, right now I am using a kernel which supports many tweaks about the audio performance of our phone. Does Boeffla support a similar program? Thanks!
[Galaxy S III Android Development] k4bbe:
Once you go Boeffla... Few rarely use anything else.

Feature rich (including Boeffla sound), Stable (even the betas), great support and the config app is soooo easy to use.

Try it... I doubt you will be disappointed :cool:
[Galaxy S III Android Development] rekenaar00:
I think you will NOT be disappointed :)

* Boeffla-Sound engine V1.6.5 to unleash the power of the Galaxy S3 audio chip
[Galaxy S III Android Development] klurosu:
Another solution...You must go into data/app (with RootExplorer) and give permissions to all apk in "ghost" conflict and then reboot

100% works

Example:
[Galaxy S III Android Development] Melissakis:
So far so good, thanks!

Just one little problem, the volume controls have become erroneous. I mean the volume becomes louder only towards the end of the bar, most of the sound bar is not giving me much of a difference. Along with that, there is a delay between the pressing of the button and the adjustment of the sound level. It's probably a button I pressed, but which is it? :o
[Galaxy S III Android Development] andip71:
Melissakiss, you are talking about boeffla config or?

Sent via Tapatalk2 from my Galaxy S3 IPhone killer
[Galaxy S III Android Development] Melissakis:
Yes, I use Boeffla config and Boeffla sound, both. Maybe it has something to do with that?

I just finished playing with poweramp and I found out that the sound bar is to the end, but if I keep pressing the volume up, I still get louder sound. Probably the sound bar does not correspond to the actual sound volume.
[Galaxy S III Android Development] andip71:
Yes that is the mistake. You should not use both apps together. They try to access the same settings and this causes a natural conflict.

You need to decide, either, or...

Andi

Sent via Tapatalk2 from my Galaxy S3 IPhone killer
[Galaxy S III Android Development] SuperAce609:
Hey Andi, is it possible for the kernel to include a fix for the music stuttering problem in 4.4.2? Or does it have to be a mandatory Google fix
[Galaxy S III Android Development] carbonize:
What music stuttering problem?
[Galaxy S III Android Development] SuperAce609:
When playing music while the screen is off, the audio starts skipping and stuttering. Googled it and it seems to be a problem affecting some devices including some nexuses (not all).
[Galaxy S III Android Development] carbonize:
Well as this is a thread about a kernel for the Galaxy S3 I'm guessing you're talking about that phone but the only sound issue I've ever heard of was due to lockscreen sounds interfering.
[Galaxy S III Android Development] boyheadkick:
it's already fixed in 4.3 with pegasusq governor...cant say the same with zzmoove though, you have to move the minimum cpu clock to 400 for the music to not stutter
[Galaxy S III Android Development] carbonize:
Been using zzmoove with minimum CPU set to 200 for as long as I can remember and never experienced this.
[Galaxy S III Android Development] jj92942000:
Back to 5.1 from 5.2b1 on Omega v55. On latter I was experiencing a bit of lag, none on 5.1 with frandom tweaks, no zram, on zzmove yank battery
[Galaxy S III Android Development] dyval:
I'm also using AOSP and I have no issues about music stuttering. Maybe a ROM issue perhaps..
[Galaxy S III Android Development] boyheadkick:
been having it since 4.3 update and all incremental updates since but only on zzmoove..as said by Andi, it's a known issue
[Galaxy S III Android Development] SuperAce609:
Oh snap wrong thread xD. Meant to be in the CM kernel thread. The problem is in 4.4.2 not 4.3. Happens on CM11 and on Super Nexus 4.
[Galaxy S III Android Development] ZaneZam:
and here comes again the smarta.. sentence: it's not a bug it's a feature! :)

zzmoove has a very strictly sleep settings on allmost all "profiles" and that's intentional and is good for battery saving when not using the phone but on the other hand can make troubles when using it when screen is off.

check out some of my replies about such problems:

http://xdaforums.com/showthread.php?p=45230818#post45230818

http://xdaforums.com/showthread.php?p=49300607#post49300607

http://xdaforums.com/showthread.php?p=45297752#post45297752

but again i think it's also a combination of things (used player, scheduler, read ahead setting, read from internal or external sd... and so on and so on..) which leads to this, therefore not everybody has the problem (for example me, but honestly i had to adjust read ahead setting because of my not so good (but expensive!) external sd-card + adjust player settings *g*)

can someone with problems try the suggested values in the posts (or similar values altered in the mentioned directions) and get back with the results? maybe on 4.3 roms things get more sensitive and i have to higher some values or even make a special profile to nuke this. thx :highfive:
[Galaxy S III Android Development] manojpy:
+1

Custom NA5 240dpi, with Boeffla™ Kernel - Galaxy Redefined!
[Galaxy S III Android Development] ymy3890:
LOL!!!!!

LOL!:laugh:Typo error!!!
[Galaxy S III Android Development] Hidden-Hunter:
Hi Andi

your kernel support new changlist UGNA2 ?

Thanks
[Galaxy S III Android Development] andip71:
Well, asking again: zzmoove or other governor as well?

I never had any music stuttering, neither on Samsung nor on CM kernels with both zzmoove or other governors.

So I am afraid, there is no "single ultimate fix". If it is on zzmoove, a few posts below ZaneZam has explained again why this happens for some on zzmoove.

However, I think this is very much related to play software as well. With the very lean player I use (yes, I am minimalist) "Folder music player", I never faced any stuttering issue ever.

All Sammy roms available are supported. I am running on UGNA5 for instance.

Andi
[Galaxy S III Android Development] boyheadkick:
[MENTION=947981]Lord Boeffla[/MENTION] this is off topic but i just wanna say thanks for adding the list of downloadable modems in your site..just this last week i suddenly was not able to send sms anymore and i didnt know what happened..i was planning on buying a new sim today when i remembered you had a list of modems in your site..i just flashed mk6 modem when i updated to na5 today and boom, it works again :D
[Galaxy S III Android Development] ucarcamagno:
I like a lot boeffla kernel but i have some low memory issue with neat rom 6.4 (also 6.3). With stock repacked kernel no problem.

Problem is: sometimes free memory goes below 60-70mb, and sometimes i have launcher redraw.

I did not make change in memory management.

With stock, free memory is normally about 200mb, occasionaly 100-110. No redraw.

Any idea?
[Galaxy S III Android Development] andip71:
Glad it was of help for you :)

Have not changed memory allocation at all in the kernel, all left completely as it comes in latest available source code by Samsung.

However, maybe the kernel coming with Neat is already a new kernel version (like UNAx) for which we do not have any source code by Samsung so far. I do not know, never used Neat.

By the way, I am on UNA5 stock rom, no memory issue at all here with 5.2-beta1 kernel.

Andi
[Galaxy S III Android Development] manojpy:
Stock NA5 deodexed if anyone is interested

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

Custom NA5 240dpi, with Boeffla™ Kernel - Galaxy Redefined!
[Galaxy S III Android Development] PIRATA!:
So you say not to bother my self too much in zipaligning all apps but instead to optimIze sqlite database using one of the apps you say?

But isn't touching sqlite some dangerous? I've read that it could give instability and data lost! And I had all that on old roms where I was managing that!!

Please tell me more.

About the apps, you mentioned 4 apps:

- Android tuner

- clean up trash

- clean master

- 1-click cleaner

Do they all do the same??

Is using the app you use the same as applying that mod as described in the link you provided?

What does it do editing those values in a manner of performance/battery/stability?

Andi what do you think about it?

Thank you.
[Galaxy S III Android Development] axetilen:
for optimizing sqlite and zipalining, I use android tuner and it is completely safe. Never lose any apps or make them malfunctional

for cleaning up trash, android tuner can also do that but not as strong as clean master. I recommend clean master

about the settings, they can make your phone a bit smoother and probably save some battery. Just some not a revolution

I dont change them as same as the link provided. I modified some settings according to my usage and I keep some as sammy default values

Backup before you try it but I have been using them for a long time and I have never got any random reboots. Phone is quite smooth
[Galaxy S III Android Development] andip71:
I personally do not modify too much at all. I just modify what I can do in Boeffla-Config (as of course I put everything in I need for myself), so I have not a single init.d script running.

But - personal taste is different. And thats why the kernel allows to run init.d scripts for users that want it.

And I agree Android Tuner is a very good app to fine tune and play around, but also is super powerful and you can configure your system even to death.

Just instead of clean master I prefer SD Maid for clean up, it is more granular in the tasks.

Andi
[Galaxy S III Android Development] Pruikki:
Yes but it is Buggy people say it has lost audio ans camera not working so on...Why risk?

is it fixed yet?
[Galaxy S III Android Development] andip71:
What is buggy?

Show me anyone who lost audio or camera in this thread, please.

Andi
[Galaxy S III Android Development] Pruikki:
It seem audio issues were on older versions.

Sir, What is the lates Kernel i can flash as i have old version now.

Galaxy s3 9005 4G Jellybean 4.1.2

Current kernel is 3.0.95 Boeffla kernel 3.1 beta 3 HboHd LEmonbox #13

What kernel is lates to My rom? what can i upgrade to safely? what version?

thank you Sir.
[Galaxy S III Android Development] andip71:
The kernel for you is 4.1 stable.

Andi
[Galaxy S III Android Development] Pruikki:
yes

Thanks..

Gotta get that now.

Ported by HboHd http://...................

xdaforums.com..........................

/showthread.php?t=2322893
[Galaxy S III Android Development] FlemishDroid:
If you use a stock 4.3 rom like Omega or ArchiDroid reboot with stock kernel after flashing rom and open camera then reboot in recovery and flash boeffla kernel then your camera works. Boeffla is stable no problems at all and I use it for 10 months now. ;)

Verstuurd vanaf mijn GT-I9300 met Tapatalk
[Galaxy S III Android Development] Full HD:
Hi Andi :laugh:!

Yesterday I installed NeatRom 6.4 and the first time your kernel, coming from Googy. First impression after one day....WOW! :good::highfive:. Awesome work, great performance, stable and smooth as butter with a lot of configuration possibilities in the app, a great and detailed website with a lot of information and remarkable support from you (what I read). Thank you for your work and your time you spent on it. Will definetly stay at Boeffla kernel :good:.

Habe Dir ein Bier im Playstore gespendet und die Boeffla Spenden Version gekauft ;)

(I have donated a beer and bought the Boeffla Donation app)

Gruß

(Best regards)

Olli
[Galaxy S III Android Development] andip71:
Thanks Olli, very much appreciated. Enables me to drive forward with this project (which was never planned that big initially) also in future.

Andi
[Galaxy S III Android Development] Full HD:
My pleasure ;)
[Galaxy S III Android Development] PIRATA!:
Thank you so much for your replies!

I'll think about editing things with Android Tuner as I'm quite like Andi for the concept of editing settings things. I like some optimizations, but prefer to avoid to much modding for risking less possible in destroying my device as I work with it.

About the cleaner app, I've installed SD Maid, but would like to take a try to Clean Master too...but which is it??

Thank you.
[Galaxy S III Android Development] Failyx:
First Application ?

TapaTalked from my "Beast" ?
[Galaxy S III Android Development] axetilen:
the first one

SD maid free is a great. Some features are better and stronger than clean master. with CMaster you have some extra stuffs that sd maid requires a pro key

now I deleted CM and just keep sdmaid

NOTE: using CM is safe. sdmaid is a very powerful tool so it could delete your stuffs if you dont know how to use it properly
[Galaxy S III Android Development] andip71:
Yes, I have to admit, I purchased the Pro key for SD maid long ago... :)

Gesendet von meinem GT-N8000 mit Tapatalk
[Galaxy S III Android Development] klurosu:
indeed
[Galaxy S III Android Development] jinosong:
The audio stuttering issue can be eliminated very easily by switching governors - pegasusplus or lulzactiv.
[Galaxy S III Android Development] Abo3mood:
Oh I didn't realize that pegasusQplus was there xD

Whats the difference between pegasusq boeffla-moderate &

PegasusQplus balanced ?
[Galaxy S III Android Development] heusen:
Same question with the difference :)
[Galaxy S III Android Development] khalid0099:
+1
[Galaxy S III Android Development] schetz:
Yep.. Neat + boeffla kick some battery a** in my case too.. My only regret is not buying a beer earlier for kernel that is default on both Roms I use.

I woke up and lagged :)
[Galaxy S III Android Development] Full HD:
http://www.boeffla-kernel.de/index.php/kernel-settings
[Galaxy S III Android Development] andip71:
For PegasusQ boeffla moderate, the pegasusq tunables are tweaked in a way only up to two cores are usually used. Unless there is really heavy load which makes cores 3 and 4 to kick in as well.

PegasusQPlus balanced: I took this profile over from a user who swore it is great. So I can give you the tunable values but not the background in detail.

Best is: You try and judge if it is fine for you. Personally I never use PegasusQPlus honestly, cause I am usually running on zzmoove or pegasusq boeffla moderate.

Andi
[Galaxy S III Android Development] vyp54:
Sorry for the offtopic, but since you've started the SDmaid and Clean Master debate I must ask a question that may be noobish.

Is there an option to clean system cache in SDmaid free or is it reserved to pro version? Or there isn't one at all?

Clean Master can clean system cache but I haven't found the option in SDmaid which seems a very very decent cleaning app.
[Galaxy S III Android Development] boyheadkick:
I personally use both...i dont see how they might conflict with one another..there are features that are unique to each app which are very helpful in cleaning your phone's trash..when i clean i first use clean master before sdmaid and after cleaning, i optimize DBs with sdmaid..

Tapatalked from my BoefflaDroid i9300
[Galaxy S III Android Development] axetilen:
Dont really need to clean up trash or caches too regularly because it could slow down your phone

if you have sd maid pro key, you can schedule it to clean up once a week

moreover, you can wipe cache and dalvik cache every 2 week to refresh the rom to make sure it run at its best

try to avoid optimizing DBs because it could break some apps. In my case, viber :)

optimizing with android tuner is much more reliable and have never noticed any broken apps
[Galaxy S III Android Development] starbucks2010:
Andi,

Are there any chances to use your sound tweak app with Yank kernel. I know that Yank included your sound mods into his kernel.

Thank you.
[Galaxy S III Android Development] andip71:
Yes, this will come very soon. I think within the next few days the app will also support Boeffla-Sound in the Yank.lu kernel.

And, the app is done by Simone from the NEAK team - just to set this right :)
[Galaxy S III Android Development] tatchii:
Thank you both :)
[Galaxy S III Android Development] andip71:
AW: [KERNEL] [Samsung JB] Boeffla-Kernel 2.6 (17-01-2013)

Boeffla sound app is updated in playstore.

Hope you like it as your feedback was key for this next version.

Thanks to Simone!

Sent via Tapatalk2 from my Galaxy S3 IPhone killer
[Galaxy S III Android Development] rensen:
I understand now, kernel 6.2 stable is the new and the last. Installed.

I mean that in the beta 6.2 i lost softness in the gui and windows of my phone, and that work good in undervolt -100 in gpu and cpu.

Now yes, thanks again.
[Galaxy S III Android Development] LenAsh:
6.2?

2.6 stable is the same as 2.6 beta2, so you must have had a strange experience...

Whatever.
[Galaxy S III Android Development] rensen:
Hahahaha yes and sorry.

Lost of versions of roms, patches..updates...!!!!

But mi experience is real with this kernel.

A greeting.
[Galaxy S III Android Development] Draygon:
Please tell me your settings!!! :highfive:

Edit: STOCK SETTINGS? Oh my god, how are you doing that? :o
[Galaxy S III Android Development] kosako17:
Re: [KERNEL] [Samsung JB] Boeffla-Kernel 2.6 (17-01-2013)

I didn't do anything.. simply is the best kernel. There screenshot is with Omega v37 & boeffla 2.6 beta 2, in first charge, without change anything :highfive:

Enviado desde mi Samsung Galaxy S3 (Black Soul by Team Creed)
[Galaxy S III Android Development] doki81:
using stable 2.6 and Omega v38....

the battery drop is only 2% over night... (roughly 7hours)...:laugh:
[Galaxy S III Android Development] Surfinette:
Yes it does assuming you delete the following file S91voltctrl in system/etc/init.d, otherwise any cpu tweaks that you apply with the Boeffla app will be overwritten after reboot. See my recent post here

@Andi

I don't know if you remember me complaining a few days back about the fact that any settings (cpu/governor/UV) that I would apply with the Boeffla Tweaks app would be cancelled after a reboot... well I just find the culprit... this S91voltctrl script built into the miui-india rom

I'm definitely sticking to your great kernel ... thanks
[Galaxy S III Android Development] andip71:
AW: [KERNEL] [Samsung JB] Boeffla-Kernel 2.6 (17-01-2013)

Good finding, surfinette. Thanks for sharing :)

Sent via Tapatalk2 from my Galaxy S3 IPhone killer
[Galaxy S III Android Development] fl4m3y:
AW: [KERNEL] [Samsung JB] Boeffla-Kernel 2.6 (17-01-2013)
[Galaxy S III Android Development] Surfinette:
Re: [KERNEL] [Samsung JB] Boeffla-Kernel 2.6 (17-01-2013)
[Galaxy S III Android Development] andip71:
Hi Kosako, thanks a lot. It is for sure not the best kernel. I think there is nothing such a "best kernel", that would not be fair.

It seems the kernel matchs what you want, and this is most important.

So thanks for your statement :)

Very good, this is what I have as well roughly.
[Galaxy S III Android Development] rulala:
Boeffla sound app 1.2 is good for me.:D

supersu issue had been solved .
[Galaxy S III Android Development] ansonchan:
just flashed on miui india and i dont see the Boeffla app?
[Galaxy S III Android Development] andip71:
Reboot once more, then you will see it.

Andi
[Galaxy S III Android Development] sachilleas:
How to delete boeffla tweaks ?

Edit: I run Boeffla's cleaning script and not only it did not unistall Boeffla tweaks but it did mess with my other scripts also. I am very frustrated.

Edit 2 : After a wipe cache Boeffla Tweaks became visible in my apps so I can now delete them.
[Galaxy S III Android Development] kosako17:
Re: [KERNEL] [Samsung JB] Boeffla-Kernel 2.6 (17-01-2013)

When I say that your kernel is the best, I want to say that is the best kernel for me, because gives me better battery life than other kernels (I have tried all of them), without any undervolt or configuration.. it's impresionant men. Good work again ;)

Enviado desde mi Samsung Galaxy S3 (Black Soul by Team Creed)
[Galaxy S III Android Development] vyp54:
Clean master find cca 95MB of "trash" while SDmaid finds 25MB. The difference is noticeable. And 99% of the difference is in the system cache which SD maid doesn't clean or I cannot find the option.