yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
ummm dev, my peltier have other source and that source direct from 45 watt psu 19v 5a moreless i think that will kill the BMS lol ,but i was think what you mean is make two peltier and the peltier two is direct to bms maybe can work but i scare to kill the bms ahahhaha
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Nope, on modern Hardware the Voltage is auto-calibrated to the lowest stable Value for each Freq Step.

There's nothing to optimize.

Because the System will override your Settings after some time ... so i suggest to check scaling_max_freq from time to time if it's still lowered or not. Also did u lowered the freq on both clusters ?? to underclock on both cluster reduce the freq for cpu0 and cpu4.

The Values in sys/power are limits. that will limit scaling_max_freq e.g. if the Phone is too hot .. then system will limit to 1469 MHz.

On this Kernel it'll limit to 2002 MHz providing higher performance when it's throttling. :cool:

Nope. :o
[Samsung Galaxy S8 & S8+ Cross Device Development] RuizLenatoh:
OMG

Caraca bro, Oh my gosh
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Added installation for normal people

Hi Guys !!

I've updated Post #1

and added

Installation for normal people*

Installation for power users / developers

How to force update to Android 9 !

How to keep this Kernel up to Date

* = Very easy how to install this kernel Step by Step !!!

Why ??? :D
[Samsung Galaxy S8 & S8+ Cross Device Development] sandert98:
Thank you! Just installed it with the 'normal people' tutorial! It was very easy.

Few questions. Is the battery already improved, even without any changes with the A2N app that is installed?

And, I enabled encryption in the settings of my S8, but enabeling that broke my partition. I had to re-install my phone. Is there already encryption enabled by default, or how can I enable encryption + password before startup of my phone?
[Samsung Galaxy S8 & S8+ Cross Device Development] MarkEsguerra:
Can you add tcp algorithm menu so that we can choose what tcp we want and please can you add the westwood tcp algorithm thanks
[Samsung Galaxy S8 & S8+ Cross Device Development] ih8snow.lc:
whats different about your twrp version?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
:good:

Yes, everything is improved .. not only battery. The A2N Demo App, doesn't change anything.. it's just for showing u what u can do with the full version. Even u install the full version it'll change nothing by default. Only i u change the default then it starts to set your settings.

I think u did it right, there's no other way. So if it didn't worked then it's kernel bug. I'll take a look.

OK, which one do u need ?

cubic, reno, bic, westwood

is enough ?

Powered with latest A2N Kernel + aggressive hmp thresholds for faster peformance, so u can install packages faster ... and faster backup / restore.
[Samsung Galaxy S8 & S8+ Cross Device Development] Sureshtuty:
Kernel was so smooth,Volte was still broken and is it possible to add moro sound control on next update?
[Samsung Galaxy S8 & S8+ Cross Device Development] MarkEsguerra:
Yeah that 4 tcp algorithm. Thanks! Great kernel!

---------- Post added at 06:58 AM ---------- Previous post was at 06:56 AM ----------

Yes that 4 algorithm is i think you may include. Thanks, great kernel!
[Samsung Galaxy S8 & S8+ Cross Device Development] sandert98:
Ah, great! Thanks for the explanation!

Thanks for taking a look!

Since I installed the A2N kernel, my S8 is very slow.. :( is that normal? Sometimes it's pretty fast, and sometimes it freezes for like 20 secs. Especially with multitasking or opening the camera app and Snapchat the phone is really slow.

Edit:

Seems like everything that requires a little bit of CPU power the phone really struggles. So there is something not going well..

Edit 2, a day later:

There are serious performance issues. My phone is abnormal slow when the CPU has to do something. GPU performance looks fine. I have the stock Android version from Samsung, Android version 9, security patch 1 nov 2019 (G950FXXU6DSK9/G950FOVF6DSK9). I installed the newest kernel (A2N of 24th dec) and newest TWRP that were provided in the OP.
[Samsung Galaxy S8 & S8+ Cross Device Development] tomaasz:
Is it only for pure stock rom or also for any stock based rom?

Wysłane z mojego SM-G950F przy użyciu Tapatalka
[Samsung Galaxy S8 & S8+ Cross Device Development] xudahua123:
I Flash 1216 , sometimes my phone freezes

So i gave up

Don't know how this version is
[Samsung Galaxy S8 & S8+ Cross Device Development] __Alchemist__:
Can i use this kernel with lineageOS? I have read the thread quickly but could not find the answer. Maybe i skipped it.

Edit: Nevermin this post. I saw somebody asking it and getting the answer
[Samsung Galaxy S8 & S8+ Cross Device Development] __Alchemist__:
I tested it on LineageOS 16 by strict. First i got a /preload error but i ignored it as you said. However it stuck on the boot animation and never booted. I tried to format preload but that didnt bring anything too. Would be cool if it had worked:(
[Samsung Galaxy S8 & S8+ Cross Device Development] Inasbae:
Just look at the first post guys, this is kernel just for BASE STOCK ROM. Why some people try to flash this kernel on AOSP lol
[Samsung Galaxy S8 & S8+ Cross Device Development] Boss7757:
Hello. Battery life increased but I cant play games while charging because phone heats too much. Temperature reached 47degrees and phone restarted. It newer happened with stock kernel.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
I wanted to add that u can improve things even more with the full version. ;)

Nope, as i didn't reduce the performance .. i've built this kernel to improve things, not to make them worse. So if u feel there's something worse than on stock kernel, then try to explain how to reproduce and if possible post the logs. Otherwise your report is not very useful, and i've to mark it "won't fix". Because maybe it's your own fault how u use the phone, or how u've it configured. e.g. Maybe because u didn't enable zRam ?

Only for Stock SAMSUNG ROM, Not from some XDA Developers here. (At least for now, in future i'll add support for AOSP, or even I'll build AOSP myself) ;)

Thanks for you Report, but it's not a good idea to report Bugs from older releases, especially if they are already fixed in latest build.

But it's a good idea to report that something worked bettter on xxx (date) - older build. .. then i've a chance to fix or to improve.

47°C, is i guess Battery Temp... right ? This Kernel is optimized and tested to work with max. performance stable , but without charging, up to 30°C room temp. And tested to charge with max current while u don't use the phone, so u'll get 5% --> 100% in just 1 hour.

btw: somebody with S8+ tested if it really can charge your Battery with 3500 mA ?? Since i've only S8 for testing.

Another thing also for S8+ users: Someone can confirm that 12 V Fast charger works as expected ?? I mean that u're able to set 3500 mA and it'll show on "Charging Current" 3500 and on "Input Voltage" 12 V ???

Because i've added Support for 12 V .. but i'm not sure if the Hardware can handle it ! (due to the lack of hardware datasheet !!)

Because the Problem is that 9 V only allows to charge up to 3000 mA ... but since S8+ has 3500 mA battery .. we want to charge with 3500 .. in order to get fully charged in 1 hour. That's why it was needed to add support for 12 V ... in order to allow 3500 mA. Of course u need AFC or quick charger that can supply 12 V..

btw2: USB-PD AFC works now ????
[Samsung Galaxy S8 & S8+ Cross Device Development] __Alchemist__:
Aber ja! ?
[Samsung Galaxy S8 & S8+ Cross Device Development] sandert98:
Thanks, it was indeed zRAM that was disabled. It works perfect now.

Maybe its good to add it in the tutorial in the OP, to enable zRAM :)
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
happy new year to my dear a2n kernel community !!!​
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
DVFS driver is just a thermal throttling driver. You need to unlock cpu freq limits from ECT.

Yes I know, i mean you can actually use peltier to produce electricity by putting the peltier on SoC. Peltier will make from heat of the CPU a usable electricity e.g. to charge the phones battery. If voltage output by peltier newer goes higher than 5V you can connect direct to the battery.
[Samsung Galaxy S8 & S8+ Cross Device Development] opensourcefreak:
I looked up that commit and implemented it but it still won't show me any overclock frequencys. I took a look at the frequency tables but they seem fine.
[Samsung Galaxy S8 & S8+ Cross Device Development] opensourcefreak:
Could it have something to do with this value?
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
ah yes rotate the energy hahahah maybe next time i will make it direct to SOC and use heatpipe
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Nope, can I see your current source code on github ? It would be more easy.
[Samsung Galaxy S8 & S8+ Cross Device Development] opensourcefreak:
I haven't created a repository for it yet...
[Samsung Galaxy S8 & S8+ Cross Device Development] opensourcefreak:
Just made one: https://github.com/opensourcefreak/KOLUMN_Kernel
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Nope, this is not how it should be done. You need Linux OS (e.g. Lubuntu) with installed "git" versioning system.

On GitHub create an new repository.

On the root of kernel source where u've the Makefile...

first of all, check if there is a (hidden) ".gitignore" file with following content: (if not, create it)

#
# NOTE! Don't add files that are generated in specific
# subdirectories here. Add them in the ".gitignore" file
# in that subdirectory instead.
#
# NOTE! Please use 'git ls-files -i --exclude-standard'
# command after changing this file, to see if there are
# any tracked files which get ignored after the change.
#
# Normal rules
#
.*
*.o
*.o.*
*.a
*.s
*.ko
*.so
*.so.dbg
*.mod.c
*.i
*.lst
*.symtypes
*.order
*.elf
*.bin
*.tar
*.gz
*.bz2
*.lzma
*.xz
*.lz4
*.lzo
*.patch
*.gcno
*.ll
modules.builtin
Module.symvers
*.dwo
*.su

#
# Top-level generic files
#
/tags
/TAGS
/linux
/vmlinux
/vmlinux.32
/vmlinux-gdb.py
/vmlinuz
/System.map
/Module.markers

#
# Debian directory (make deb-pkg)
#
/debian/

#
# tar directory (make tar*-pkg)
#
/tar-install/

#
# git files that we don't want to ignore even it they are dot-files
#
!.gitignore
!.mailmap

#
# Generated include files
#
include/config
include/generated
arch/*/include/generated

# stgit generated dirs
patches-*

# quilt's files
patches
series

# cscope files
cscope.*
ncscope.*

# gnu global files
GPATH
GRTAGS
GSYMS
GTAGS

# id-utils files
ID

*.orig
*~
\#*#

#
# Leavings from module signing
#
extra_certificates
signing_key.pem
signing_key.priv
signing_key.x509
x509.genkey

# Kconfig presets
all.config

# Kdevelop4
*.kdev4

# platform specific
scripts/rkp_cfp/common.pyc
scripts/rkp_cfp/tmp/

# custom files
clean
arch/arm64/boot/Image
*.dtb
rejects

Then just open new terminal emulator and type: this: (I suggest to start from stock source code, then properly commit your changes)

NOTE: if your local git repo is already initialized, then skip the first 3 cmds. To check this, just type: "git log" if you see already some commits then it's already initialized.

git init
git add .
git commit -am "initial commit"
git remote add master https://github.com/opensourcefreak/KOLUMN_Kernel.git
git push --set-upstream master master

Later if you do some changes, just commit them and push it to your git repo:

git commit -am "CPU: added OC support"
git push

With "git status" and "git diff", you can always check your changes before you commit them.

EDIT:

First of all, delete your Git repo, click on "Settings" then scroll down to the "Danger Zone".
[Samsung Galaxy S8 & S8+ Cross Device Development] madhatter57:
Hi dev,

I am now getting the annoying moisture notification... I try to disable it through the A2n app but it still sticks even after reboot. Is there any special trick to help me out?
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
use flashlight and turn off the phone find needle and clean your port
[Samsung Galaxy S8 & S8+ Cross Device Development] Adbnpk2013:
I had the same problem, and after @ace2nutzer implemented the option to disable the moisture notification in the app it helped a lot and almost completely vanished the notification. sometimes it comes back. if you are having trouble charging the phone, one trick which helped me a lot is turn off the phone and when turning it back on, connect the charging cable to the phone as soon as the "Samsung galaxy logo" shows up on the screen.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
While moisture detection is disabled in a2n app and moisture alert is showing up, just unplug the cable and reconnect. I hope this works for you.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Hey @ace2nutzer. I have a question. It’s just a random one out of curiosity though, theory. I don’t ask to have it implemented because I know it isnt worth it at all.

But would AMOLED overclock be possible? Could somebody make S8’s screen go from say 60hz to 65hz? Or is 60hz hardware limit?
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
I was see the option when using mhl in screen option there 75hz rate for monitor but that reduce quality of the screen i mean the color get washed but in reality screen that still 60hz sometime i face glitch when use 75hz
[Samsung Galaxy S8 & S8+ Cross Device Development] Pistero07:
hello guys, could someone help me and tell me how I can mount a usb hdd in ntfs format? I have the ntfs option activated but the unit does not appear, I think I need to mount it, how could I do it?
[Samsung Galaxy S8 & S8+ Cross Device Development] Twiq:
install mixplorer on your phone, it has custom ntfs driver..

i'm using my ntfs usb drives but never hdd, you might need external power support to make it readable on phones
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Yes but probably it's locked like all the other clocks it was. So it needs first some hacks like always. I remember on Ace 2 we OC'ed lcd_clk from 50 MHz up to 100 MHz. 100 MHz was sometimes unstable, but 80 MHz worked stable. Now that "50" is just LCD_CLK not refresh_rate. Also I don't know how it should be calculated ... 50 MHz = 60 hz and @ 100 Mhz = 120 Hz lol. Anyway at 80 MHz, probably around 100 Hz was it possible to scroll text without to cause eye cancer. Here on S8 there is also such LCD_CLK, but even increasing it, I don't see any difference, maybe I'll try this once again. There is also refresh value = 60, but even changing this @ 100, just changes nothing, so I suspect it's locked like I said.

Yes, that's right, because it gets out of sync. @ 80 or 100 hz it'll run probably smooth without the need to adapt other stuff in ROM, which is way more complicated.

Good idea, I'll see if I can do something.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
yes2 oc screenn YES YES YES YESYESYESYES
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Okay I've found a simple solution, only need to mount it. I'll add an mount option in the a2n app. Is the ability to mount up to 4 partitions enough ? And is the issue only with NTFS ?
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Me: Runs M2 cores at 4x2704MHz

The phone: Stable

Me: :D

CPU temp after opening Devcheck: 99°C

Me: 😧
[Samsung Galaxy S8 & S8+ Cross Device Development] madhatter57:
hey guys, this is a bit offtopic but perhas someone here can help.

i am trying to install "island" app to see if i can create a virtual environment to make one new banking app work on my device with custom rom and root. apparently there is something about this setup that does not allow a android work profile to be properly created and used, which the app relies on.

one possible troubleshooting solution i have seen on forums is to revert to stock recovery, install the app and then revert back to custom recovery. problem is, i don't know how to safely do that and where to find the stock recovery file.

i suppose this does not have anything to do with the a2n kernel, but it might have something to do with the twrp version we use here.

could someone help me out?

thanks a lot in advance.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Well, unfortunately it's too much tricky to have it implemented in the app.

Even the fact it's just a simple cmd, it just doesn't work, yeah Google security restrictions sucks.

Therefore, for me the only working way is to mount it via ADB:

Example below is for my USB-HDD 1TB having 2 partitions.

Partition 1: EXT4

Partition 2: NTFS

Assuming ntfs.ko module is already loaded, if not load it over the a2n app, or load it manually:

cd /system/etc/A2N*
./ntfs.sh 1

then mount the USB-OTG HDD:

# first create mount folders for 2 partitions if not present ...
mkdir -p /data/media/otg
chmod 0777 /data/media/otg
mkdir -p /data/media/otg/p1
chmod 0777 /data/media/otg/p1
mkdir -p /data/media/otg/p2
chmod 0777 /data/media/otg/p2

# mount USB-OTG partition 1 as ext4 ...
mount -t ext4 /dev/block/sde1 /data/media/otg/p1
# mount partition 2 as ntfs ...
mount -t ntfs /dev/block/sde2 /data/media/otg/p2

# unmount before you disconnect the drive to avoid data loss ..
umount /dev/block/sde1
umount /dev/block/sde2

To access the files you need a root file manager.

Note: creating mount point in /sdcard does not work for me, because it's emulated mount point. But it may can work if you create it in ext_sd-card folder, just try it.
[Samsung Galaxy S8 & S8+ Cross Device Development] Pistero07:
Hi Ace, I can mount the drive but I can't see the files on the drive. I am using mixplorer.

The need to use the nfst format part of exfat, I don't know why, the data is corrupted over time or entire directories are deleted (roms, isos, emulators)
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
The drive you want to mount is ntfs or exfat ? Has it only one partition ?

If it's exfat try .... -t exfat or -t vfat.

Also depending on your USB setup, you may get different letter for the drive. So you could try sdd1, sdf1 or sdg1. Use a simple root explorer. Maybe this mixexplorer with custom ntfs driver messes it up.

Try try try and it'll work. I was able to mount my 1TB HDD WD USB.2.0 with 2 partitions, ext4 and ntfs.

Correct order:

1. Load ntfs kernel module.

2. Create the mount point.

3. Connect HDD.

4. Mount it.

5. Navigate to the mount point with root explorer and you should see all files.
[Samsung Galaxy S8 & S8+ Cross Device Development] Pistero07:
the drive you want to mount is ntsf, it has only one partition. mixplorer custom otg drivers are disabled from settings. I always choose the ones you provide. I'll try with the unit names you suggest. Thank you very much for the dedication and the time you give us!
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
hi dev how about this update ?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Actually trying to OC RAM, but it's quite hard.
[Samsung Galaxy S8 & S8+ Cross Device Development] Aulida Husna Suryana:
What's working with hades rom v.1 one ui 1.0..?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
@TechNoobForSale @rtyuakatsuki and others !

HERE WE GO AGAIN :LOL:

First boot with OC'ed RAM 1,8 GHz @ 2,0 GHz:

dreamlte:/sys/class/devfreq/17000010.devfreq_mif $ cat time_in_state
2093000 0
2002000 174816
1794000 4206
1540000 7140
1352000 11904
1014000 1614
845000 58046
676000 0
546000 0
421000 0
286000 0
208000 0

2,1 GHz should work as well ...
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
remember read first post ANDROID 9 and exynos version IF that android 9 just flash the kernel and taste it hehe
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
woooo here we go get throttle UP
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
This man is unstoppable 😭😭😭🥹🥹🥹🥹🥹🏆🏆🏆🏆🏆🏆🏆🏆🏆🏆🏆 Stop making this phone faster it’s actually beating my Note 9 🦴🦴🦴🦴CRAZY

But keep going. I support you 😳😂😂

100% willing to test when next build drops
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Question to @ace2nutzer or someone else who makes kernels. if im git cloning from an existend kernel repo. Do i have to set up stuff again from like making a kernel from scratch or can i load the existing stuff somehow? I saw some tutorials for starting a new one from scratch but none from loading a existing one😅
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
hi dev I am back with good news I have but g955n that 6/128 I CAN STABLE AT 2.8 AND 839MHZ GPU HAHAHAH WELL I WANNA TEST IT YIIIIIHAAAAA
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Probably N960F has different hardware power supply from S8 family. S8 is unable to sustain 2808MHz due to hardware limitation. Lucky you lol.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
I have g955F kinda different when I use g955N the N is more save battery I think
[Samsung Galaxy S8 & S8+ Cross Device Development] spdrfx:
Hello, the "swapoff" process cause high cpu usage randomly. I tryed to reboot the phone, but no change. What can i do?
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
because you use zram and that normal can happen
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Nope, because he changed zram size.

Kernel default is 100%, if you set different value in the a2n app or over init.d script it'll first reduce to 0% (swapoff) and it runs 1 little CPU thread to decompress RAM. This takes some time. According to your screenshot there are 276MB left to decompress. Then the new percentage will be applied.
[Samsung Galaxy S8 & S8+ Cross Device Development] spdrfx:
I dont change zram, actually dont change any settings, but its sttill happening randomly.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
@spdrfx

Check zram size in RAM section, it should be 100% if you want to avoid zeam resizing on boot.

With latest build and latest a2n app this should never happen. Because zram default in both is 100%.

Are you using maybe some othe 3rd-party kernel manager app or whatsoever magisk module that could mess with zram ? If not, reboot your phone when you see this swapoff 100% load and post last_kmsg please.

During normal memory compression and decompress you should never see in "top" some high CPU usage related to zram, because it's extremely fast. It has nearly raw RAM speed the LZ4 compressor.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Funny thing, my s21 fe 5g has virtual ram functionality aka zram, when i checked phone info with dev check app it was enabled with 6gb zram😆😆
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Well for me the swap off takes a while and up to 15% cpu usage. Gets quite warm but I don’t mind it.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Yeah that's normal and not a bug.

Btw if someone want it I can upload daily beta builds to the test folder in FTP server. If someone already want to taste the new build. But be aware that's not stable, so random reboot can happen. Another thing: RAM OC wasn't possible at all. Even the fact time_in_state showed up that even 2093000 was in use. Later as it turned out the real clock was still 1794000 khz. Tried to hack it 1 week day/night, no luck thanks to this funky sammy drivers. But there should be still some improvements to HMP and GPU driver, especially "Vulkan" optimization. Phone is now more smooth.
[Samsung Galaxy S8 & S8+ Cross Device Development] TechNoobForSale:
Lmao why am I not surprised. This is actually a very very common issue. I met it beforehand, but on N960F, while attempting to unlock overclock > 598MHz. I really don’t get what’s the problem.

I’m not surprised that you could notice it yourself. Big shame that we have the same issue, not gonna lie