yashsingh1/xdaforums huggingface dataset:
[ONE Original Android Development] magnamentis:
that has been mentioned sometimes it works and sometimes not, [MENTION=3685904]ak[/MENTION] and [MENTION=5658634]apb_axel[/MENTION] suspect faux sound to be responsible

and they are working on the matter.

what you can try is to check that the file name after copying the file remained .tgz and did not turn into .tgtar or something like that, which happens sometimes upon copying the file from dropbox to sdcard0 > synapse > saved_profiles, just don't ask me why but i just reproduced that error a few times before posting. further you have to use the "Restart Synapse" button in the Profiles Tab. it's not enough to start the app, it has to be re-started from within the app, only then will the saved profiles appear in the menu. further when you were able to restore a profile which as mentioned above does not always work, you would have to restart the app again from within the app "Restart Synapse" button and then click "X" not "√" on the first page you see.

i know it's counter intuitive and by the way, most of this has been discussed and posted 1 and 2 pages back. further when you chose a saved profile from the menu you have to check "√" to apply which is in this case intuitive and normal. if you don't apply by "√" it will tell you "none selected.

same procedure as described above only that the file name remains always intact in my case at least and it's not in "profiles" tab but in "tools tab" scroll down a bit.

should all this not work, try "flashify" from the playstore which is able to flash .imgs but i've never tried that with this kernel, so it's possible that each app can flash only images that were created with it but not sure as far as synapse is concerned because as i said: never tried that.

no it's not a boot image, it's a kernel image, i think it would be necessary to rename the file to "boot.img" to make it work via adb but here my experience is not pro-level since i'm using adb only to root my device and never again thereafter. so you would have to verify with someone who knows better than i do.

that's where i was wrong that .img is not flashable via recovery, i'll gonna delete that part of that post, forgive me that one, did not think to the end in the process, my bad.

i just recovered the kernel from backup as well as i was able to restore from saved profile this time, an old version which i kept on file somewhere. so it really works, just one thing has not been mentioned properly is, it does not look like restoring the kernel from backup includes the settings. at least not as long as the previous settings were set to be applied on boot. so you have to test a little bit on your own here. it's 1a.m here and i'm going to close shop soon :)
[ONE Original Android Development] brausi:
That was the point... Now restoring your profile or your kernel with synapse works fine.

Sorry for this stupid question. The answer was only 2 sites away.... Normaly I read hole threads or big parts, but atm I have opened 20 tabs open and read there and there.

By the way, very big thanks for your work here. Such a great answer to my stupid question.

Others would have written "read, read, read" or something like that.
[ONE Original Android Development] magnamentis:
it's all right.

no no, this topic came up only today so prominently and since kernel and app and device are relatively young we are all still learning the details. i almost gave up on profiles (set on boot does the job 99% for me ) because it appears a bit "clicky" means there are really quite a few things to be know and properly applied to make this works properly. considering this the question was no stupid and as you could see you caught me cold with a "stupid" error of mine, the thing about recovery. just didn't pay attention and wrot bulls...t :) happens however.

i also forgot to mention that the recovery from backup does not implement the settings when "apply on boot" is check and perhaps the settings are not even include in the backup, just don't know yet. will check this another day or perhaps someone else has time or the mood to do it for us.

so as you see, we're not there yet but at least we're able to share profiles now :) on goal accomplished at least.
[ONE Original Android Development] Mmmjj123:
Im confused when it says flash stock kernel, then ak kernel, then ukm… I have the ak kernal and ukm but what about stock??? Preciate any guidance
[ONE Original Android Development] ryaneu:
You need to flash back to stock kernel if you're on other kernel before flashing AK.

But if you're already on stock, then you can skip flashing the stock kernel.
[ONE Original Android Development] ak:
new hosting for kernels is born:

http://209.95.39.164/AK-Kernel/

thanks a lot Opo Slimdevs.
[ONE Original Android Development] kantjer:
LMAO :good:
[ONE Original Android Development] Natakranta:
Morning!

That's a good start of a day - new AK karnel ;)

Any reason why AK updater app didn't pick it up?

The Answer to The Ultimate Question of Life, the Universe, and Everything is: CLEAN FLASH.
[ONE Original Android Development] TheWilkieWay:
It just keeps getting smoother! Thanks a lot [emoji16]
[ONE Original Android Development] Renosh:
Awesome kernel [MENTION=3685904]ak[/MENTION] using stock settings with smartmax governor. Smooth as a baby's arse, finally eliminated the micro stutters I was seeing in Google+ and Tapatalk. Previously was using Conservative with touch boost duration of 100 ms to get same result.
[ONE Original Android Development] MBurns2:
i had smartmax for two days. It is awesome !

Previously i had conservative and smartmax is giving me the same battery result. I don't know why because with it the cpu tends to stay more on the higher freq, the phone is a lot smoother compared to conservative. :good:

Thanks ak for the latest release !!
[ONE Original Android Development] isoladisegnata:
Sorry...I'm Naples..terronia...:cyclops:
[ONE Original Android Development] DominiCOne:
Synapse don't pick it up too
[ONE Original Android Development] isoladisegnata:
Hi bro...but work on cm nightly? this kernel?
[ONE Original Android Development] TheKnux:
Deleted
[ONE Original Android Development] ak:
restart synapse or go to recovery and uninstall/reinstall ukm.
[ONE Original Android Development] tsiftsism:
Exactly the same question that isoladisegnata has made.

The v140 has in it's title the "CM12.1" description, so can we use it with CM12 Nighlties?
[ONE Original Android Development] ak:
fixed
[ONE Original Android Development] ak:
yes it work
[ONE Original Android Development] FullWipe:
Just read the title of 3d --> [4.4/5.0/5.1]
[ONE Original Android Development] DominiCOne:
Woaw that's a bunch of italian mafioso :p...no don't hit me guys ;)
[MENTION=3685904]ak[/MENTION] reflashing UKM solved the problem :)
[ONE Original Android Development] isoladisegnata:
ok..I've flashed AK 140 but I' ve this error after reboot

- the process "com.google.process.gapps was interrupted"

and same "com.google.play service"

mmm :eek:
[ONE Original Android Development] FullWipe:
Reflash gapps
[ONE Original Android Development] Natedog1:
Is anyone else getting md5 mismatch when downloading from kernel updater? I tried 5 times and got it every time.
[ONE Original Android Development] isoladisegnata:
done but same error........can you send me a link for new gapps for CM12 nigtly uptated please..? mmm

really strange... because I have reflashed the AK 137 but I have same problems with gapps (now too ...google maps-playmusic- and necessary to set up a google's account):confused:
[ONE Original Android Development] demon507:
Already installed AK140..still shows me an update.
[ONE Original Android Development] Natakranta:
Confirmed:

And the zip I downloaded manually before updater was fixed is different MD5 as well:

c68418b6aa061a8d67db72efaeeea7a8

The Answer to The Ultimate Question of Life, the Universe, and Everything is: CLEAN FLASH.
[ONE Original Android Development] Spaulding89:
Same here

Sent from my slimsaberd Bacon with AK
[ONE Original Android Development] bombadier:
ak140 seems to be working on CM11S good job
[ONE Original Android Development] DominiCOne:
Here too
[ONE Original Android Development] ak:
Thanks a lot for report ... i have fixed it, the file is ok i have made a wrong calculation:

C:\Users\svilla\Desktop>md5.exe -md5 AK.140.OPO.CM12.1.zip
//
// File Checksum Integrity Verifier version 2.05.
//
eaf12978c1c88aa875ae481cec41728a ak.140.opo.cm12.1.zip

I have to stop drinking Alcohol in the evening! :p
[ONE Original Android Development] Natakranta:
I'd rather have md5 mismatch than take alcohol off of the beer-love-heavy metal equation ;)

Thanks!

You're great!

The Answer to The Ultimate Question of Life, the Universe, and Everything is: CLEAN FLASH.
[ONE Original Android Development] sneakerspark:
Hey guys. is anyone using F2FS with this kernal? I would like to try it out. Maybe someone would give me some directions about how to switch from ext to f2fs? Im on euphoria 1.1 and latest twrp. Thanks
[ONE Original Android Development] HaTrED_:
You should go along only with coffees!! [emoji12] [emoji106]

Tapatalked!
[ONE Original Android Development] real_pac:
credits goes out to [MENTION=3814731]katinatez[/MENTION]

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

there's also a guide for 2p(cache/data f2fs)

regards
[ONE Original Android Development] Babyhustle:
Is AK.140.OPO.CM12.1 compatible with the latest exodus ROM? :confused:
[ONE Original Android Development] malavan:
noooo
[ONE Original Android Development] ak:
why?
[ONE Original Android Development] malavan:
Cm12 and cm12.1
[ONE Original Android Development] NickosD:
And the exodus rom is cm10?

Cm11s, cm12, cm12.1

(personally I have tested only at cm11s)

Sent from my bacon!!!!!
[ONE Original Android Development] malavan:
Exodus is on cm12 what i understand he want to flash AK. 140 so maybe it can work.
[ONE Original Android Development] ak:
yes it work with all roms ver, only omni isnt supported.
[ONE Original Android Development] IllUMINATUz:
What about repackaging with the ramdisk of that ROM kernel..?
[ONE Original Android Development] ak:
Any kernel doing this

Sent from my A0001
[ONE Original Android Development] kantjer:
somebody pointed me to a very nice kernel tweak app today.

Been testing Kernel Adiutor, it's a very nice kernel tweak app. Works perfect with @ak's great kernel
[ONE Original Android Development] bender_8:
You wanna share your results and settings?
[ONE Original Android Development] mapolidori:
Same thing. Anyone have any insight on this? If it's not a problem, I'm not too worried about it.

Sorry. I now realize that it's only quoting the response to a post. I'm also experiencing the ak updater telling me there's an update when I already updated to the newest version.
[ONE Original Android Development] kantjer:
The results won't differ from any other kernel tweak app. It's just an other interface.

My top priority is stability after that finding a good balance between performance and battery life.

I'm not that bothered with battery life, as long as it get me trough the day I'm happy. So I'm willing to sacrifice some battery life for performance. I didn't by a fast 4 cpu phone to tweak it down again ;)

Also when tweaking the CPU I only tweak one setting at the time and that in small steps. So tweaking it all can/will take weeks before it's done.

For now I only changed the following:

CPU governor: smartmax (not the most battery efficient but fast)

CPU voltage -50mV global

I/O scheduler: fiops

Read-ahead 512kb

The rest is stock, I will test this for at least a few days before making any other changes (if any)
[ONE Original Android Development] dudas89:
I'm giving a try to smartmax too, with -100mV global on the CPU (stable so far), but your post made me wonder how could read-ahead size affect in battery life. It affects in performance, thats I'm sure, but it depends of the type of files we have on our phones. I have mine set to 4096 KB, because the majority of files I have are large size files, and then the read and write speeds are better. But it affects in battery life? If it does, how? And what is the optimal value?
[ONE Original Android Development] gianton:
Trying it too and find it really nice, thanks for the heads up. I miss the MSM Limiter feature and the absence of sound control.
[ONE Original Android Development] kantjer:
Well I have an "unproven" theory about this.

I think the majority of files we read on our phone are actually very small files. An average Android set-up uses about 100~150 very small databases with constant tread and write actions.

If you set a big read ahead cache a larger than needed amount data is read and loaded into memory every time a process needs some data. This can even be contra productive and make your phone slower because it needs to wait for a previous read action to finish before it can load new data.

This read process will cost a "small" amount off battery power (and also will keep your CPU speed higher for a short time) and happens probably thousands if nor ten-thousands of time a day.

It also uses extra memory. Also I think the storage in current phones is so fast I doubt there will be much noticeable difference between reading from storage or cache.

But again that's my theory. I you think you benefit from a larger read ahead cache use it.

---------- Post added at 04:23 PM ---------- Previous post was at 04:23 PM ----------

you can always ask the app developer to add it.
[ONE Original Android Development] gianton:
Done! ;)
[ONE Original Android Development] ak:
The Kernel Auditor control is a fantastic app, and its opensource. :D
[ONE Original Android Development] real_pac:
I'm sorry but smartmax is optimized for new devices. The older governors with stock settings would throttle up your phone. The magical thing is optimize turntables. change poke freq.

for me smartmax gives us sick options to optimize it for usage.

you could also change scheduler turntables.

don't look for 12-14 SOT. that's not real. I could also reach this values 1-2 hours more. But rather multitasking fast phone with battery draining than a laggy battery friendly phone.

6-8 hours are really ok. disable services use Tasker hibernate apps. much more effective.

regards
[ONE Original Android Development] Spaulding89:
Annnnd you can be a beta tester with google+ :fingers-crossed: :good:

I love to be beta :silly:
[ONE Original Android Development] dharmabm:
No, you're definitely an alpha! :D

sent from my slim powered 1+1
[ONE Original Android Development] real_pac:
[MENTION=5703024]dudas89[/MENTION] like the most kernel developers said it before be careful with - 100mv I got also the possibility to go on at - 100mv but it isn't really necessary stop at 70 max 75 no positive side effect at all with - 100mv regards

there
[ONE Original Android Development] dudas89:
Good information, thanks. I thought if no instability was visible, it wouldn't have a problem. I will change to -75 mV then :)
[ONE Original Android Development] real_pac:
no probs

for meanwhile I'm sure everything feels ok but it may cause bootloops because of instability lags freezes and you battery drain will still be the same
[ONE Original Android Development] kantjer:
The current beta adds screen settings :good:
[ONE Original Android Development] akz1x1:
Help ... ?

I'm on cm12 nighlies ... I'm about to flash a custom kernel for the first time ... which version should i use ?

do i have to flash stock 11s before i flash the kernel ?
[ONE Original Android Development] indian84:
Flashing the latest version V140 should be good.
[ONE Original Android Development] 1ceb0x:
Flashed latest version and I am here to report a cosmetic issue. Shoot me :)

Synapse reads that I have AK137 installed.

As per profile, mine looks like this:

Cpu freq: 223 - 2342 mhz

Governor: smartmax

-50uV

Scheduler: zen

Read ahead 2048 (though after reading what kantjer said, i will probably move it to 512)

Z-ram: 350MB

Compression algorithm: lzo

VM heapsize: 768MB

Smartmax for me is the fastest governor at the moment. Try it, you'll not regret it!

Blessings
[ONE Original Android Development] MBurns2:
why zram my friend?

smartmax is strange, it is fast and save battery.. awesome
[ONE Original Android Development] ak:
Restart syna or uninstall/reinstall ukm for fix the problem.
[ONE Original Android Development] 1ceb0x:
Why zram.. Good question - i was thinking someone will bring it in discussion.

Zram attempts to increase the performance of your phone by paging in a compressed virtual device created in RAM and not in the swap partition of your device.

I have enough free ram which can be put to good use by using zram, instead letting the phone to page in swap at the cost of read/write on the physical storage.

This is my theory. If someone else knows better, let me know. As for a notable difference while using it? It made my phone smoother at touch, scroll, transitions.
[ONE Original Android Development] LookedPath:
Maybe if you don't multitask between heavy apps zram is a good choice but in the case of lollipop I don't think so.

I'm talking about the memory leak bug that causes a bad use of ram making hard to free it for the system. It should be fixed in Lollipop 5.1.1 that should be released soon because its APIs has been spotted on Android SDK. At least I hope that they included the fix in this release because it's really annoying.
[ONE Original Android Development] 1ceb0x:
I wasn't aware of a memory leak. Sounds seriously big. Got any google source for it if you don't mind me asking?

Currently with zram enabled my phone still has 1.4 gb free. System takes a huge amount of memory - 890mb but it does seem to go down.

So - i still think zram is good even if there is a memory leak. This beast has enough memory to play with and i never had any issues since i set it up.
[ONE Original Android Development] Jole7:
Very useful informations about zram. Do you know if laptop mode enabled makes any difference in performance? I tried it yesterday and my device perfoms faster in anything. Thanks in advance!!!
[ONE Original Android Development] LookedPath:
No problems my friend, I should have pointed to the bug report in the first place. Here you are.

It's marked as "FutureRelease" and according to AndroidPolice the fix should be included in 5.1.1. Let's cross our fingers.
[ONE Original Android Development] 1ceb0x:
Hmmm... Seems we do have this memory leak (860 mb used by system, Settings was even using 100mb..

Ugly...

But still, i think we don't see the effects of this issue because we have plenty of ram.

But why fixed in 5.1.1 - why not in 5.1... Damn.
[ONE Original Android Development] LookedPath:
Well I'm everything but an expert and in fact I could be completely wrong in both cases. But the fact that laptop mode could lead to a possible data corruption makes me want to avoid that. I don't think that the performance gain is worth the risk even though I've never tried it.
[ONE Original Android Development] nazfalas:
ZRAM is actually something that was developed for devices with low amounts of RAM. It uses CPU power to compress parts of the used RAM to make room for more.

As our OPO has plenty of memory (3GB) ZRAM shouldn't be useful for us. The only case in which you could make use of it is if you are constantly maxing out these 3GB of RAM.
[ONE Original Android Development] Jole7:
Thanks man i will keep that in mind.
[ONE Original Android Development] 1ceb0x:
I disagree.

As per synapse:

RAM is faster than storage. But our storage is also fast. Paging is done quicker on RAM than on /swap.

Basically the system will make a virtual device in RAM, which has a /swap partition. Paging is done here first and is done even faster than waiting for the /swap from storage.

So zRAM is nothing more than a partition of /swap kept in memory which is used by the system = fastest.. This partition is made by using the amount of MB RAM that you set in Synapse. Mine is at 350 MB.
[ONE Original Android Development] nazfalas:
As the quote from Synapse says:

"Paging takes place in RAM until it is necessary to use the swap space on physical storage"

That means until your RAM runs out of space to page in (=full/completely used/complete 3GB of RAM used) there will be no paging to storage. Until that point it is just a waste of CPU resources.
[ONE Original Android Development] 1ceb0x:
Thanks. I got your point!
[ONE Original Android Development] abhi08638:
You can go into process stats under developer options and tick system and set duration to 1 day. Then click on the bar at the top. It will list all the memory usage over the past day. If zram or swap isn't used it won't show up in the list, if it does then it will show the exact amount. Mine was 4kb so I just disabled it
[ONE Original Android Development] ivan0909:
V140 is similar like 5.1 stock kernel. Im in euphoria 5.1.
[ONE Original Android Development] Ofthecats:
I disable zram, set swappiness to 1%, and set min free values to low. We have plenty of ram to spare on Bacon.

I also use laptop mode, which sounds exactly like dynamic fsync to me, although it seems to be something else on desktop systems with spinning hard drives.

Don't recall any problems with memory ever on Bacon.
[ONE Original Android Development] aamitabh28:
Need i say more??
[ONE Original Android Development] koudies:
Yes you should... Such as what settings, rom, and even gapps just because I can't seem to get anything like that.
[ONE Original Android Development] tmotard:
Hi, sorry if that sound a noob question.. Isn't that better to reduce the swappiness ?
[ONE Original Android Development] aamitabh28:
Euphoria beta build 5.1

Slim gapps

Smartmax

Fiops 512kb

Msm hotplug min cores 1

146 mhz -2.5ghz

All stick settings apart from these
[ONE Original Android Development] Beaster:
@ak,

can you take a look at this commit?

https://github.com/andip71/boeffla-kernel-cm-bacon/commit/871901d62fe620b965245024133eab412c931fe3

I am still experiencing some SOD issues with your kernel. SODs that don't happen when I use stock kernel or other kernels that included this commit. Do you think you can merge it? Would be happy to test it if you create a test build with it..

Thx in advance!
[ONE Original Android Development] androizers:
Its hell outta great app.

It's insisting me to uninstall synapse tho. [emoji14]

Loved the material-ed theme. Synapse shud too adapt to material design.
[ONE Original Android Development] 1ceb0x:
It could be. We can just try and report which ones are better for our devices.

I disabled zram now and enabled laptop mode. Seems fine. Going to play with swappiness a bit and see how that goes.

---------- Post added at 09:28 AM ---------- Previous post was at 09:22 AM ----------

Sorry i don't get you. Setting LMK values low means you want to have more free memory or is the other way around? Can you share your settings for this? I am a bit curious because i understand LMK differently.
[ONE Original Android Development] ak:
Sod aren't related to kernel, i don't have one with slim.

I don't use lcd notify driver into my kernel, so this commit isn't necessary.

If you have problems please check if you have scripts or others modded files installed with others kernels.
[ONE Original Android Development] MBurns2:
what is laptop mode?

low values of lmk means that you can have more apps open, high values means that the lmk is more aggressive and tends to kill more
[ONE Original Android Development] Ofthecats:
I am no expert, I just spent a lot of time googling these values.

Low memory killer is also known as min free, which is short of minimum free. The values are thresholds for a situation where the phone is short on memory, and accordingly starts to kill based on the limits you set. For example, empty apps set to 80mb would mean that when ram gets to 80mb free it starts to kill apps in that category.

Swappiness is when the phone uses sdcard space to compensate for low memory basically. Our phone has plenty so swappiness isn't important and can be done away with, and zram would follow cuz it depends on swapping.

Laptop mode has a good description in synapse. It is delayed file sync.

I don't want to get too off topic, so please use Google. Its very informative.

I'm sure AK chose suitable stock values for his own reasons.