yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S8 & S8+ Cross Device Development] Gracek99:
Hello, I am using your recent version of kernel (09.06) with Light Rom v50. I don't know why but I am getting around 4h of SOT during 7-8h all usage and that's all. I have been getting this SOT with other ROMs too (Up to 4.5h SOT). I have already replaced battery but that helped me only a bit. Is there any solution for this? I bought your app and I really love the 3000mA charging. Could you just implement to the app slow charging only at night option and fast during the day? I have been told that if you charge your phone slower then it would lasts more.

Thank you for kernel!
[Samsung Galaxy S8 & S8+ Cross Device Development] Twiq:
@ace2nutzer

just want to let you know..

32hrs uptime on latest build, looks promising :fingers crossed:
[Samsung Galaxy S8 & S8+ Cross Device Development] Twiq:
4hrs++ SOT is already impressive for our old device, have you tried tuning cpu & gpu according to your needs? or maybe switching to HD+ mode to squeeze that extra juice

i'm no battery expert, but things that can affect charging is the internal resistance of the battery and the voltage rise it causes. This makes the charger think the voltage is higher than it really is and some chargers might turn off earlier because of that. A lower charge rate, 1A versus 1.5A++ causes a smaller voltage rise so the charger could keep going for longer and that stuffs more charge to the cell.

but man, isn't 3A a bit too much for our old cell? i'm not against it but is it really safe for our device? how is it heating?
[Samsung Galaxy S8 & S8+ Cross Device Development] Gracek99:
As I said before, the battery has been replaced like 2 months ago. I remember and also have screenshots somewhere on my PC when I used to have 6 hours SOT and so more but that was on Oreo (good times when phone lasted for me all day and next day moring had like 15-30%). Recently I also flashed a Oreo custom rom and had 5h-5.5h SOT. But overall I like Pie more. It would be nice for me if the Pie rom lasted for me at least 5 hours SOT. Battery capacity measured by apps is ~2980mAh. I would revert back to stock Pie rom and test the kernel again but I will miss a native call recording and other tweaks that the stock doesn't have.

Edit: Battery reached 41C at the peak moment but I discovered that I have only stock charger 1.67A 9V so it won't push more. Maybe thats why. But I noticed faster charging like it takes 1h and a few minutes instead of 1h 30
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
It depends on your settings and usage style. Android 9 isn't a battery drainer at all, I was able to get 10h SOT with 3 years old battery, now if I measure again then it should be less. As I've still the first battery inside. When you buy the new battery, check the date of production .. it should be not older than 3 - 4 months. Also check the battery voltage before you put the battery in your phone, it should be not lower than 3,6 Volt. Otherwise less voltage + too old = capacity loss, even if it's new and never used.

Great ! Keep going ! Including usage in car using bluetooth audio ? Because i saw some errors in log about BT audio. But tried to fix them. Also there was errors with the modem, fixed as well and added debugging stuff for the case if it the modem crashes again. So I suggest after 5 days of uptime to reboot and then to generate last_kmsg, then I can check if everything works properly.

Nope, even at max 3000 mA for S8 or 3500 mA charging current for S8+ in no time the voltage is over 4,35V. This is the max allowed charging voltage from the battery specs. That means it'll just reduce slowly the current up to 10 % of battery capacity, it's 300 mA, = 100 % fully charged and stops charging. Battery capacity gets reduced only if you do at least one of the follwing things:

1. charging voltage over 4,35V

2. charging current over 1C (3000/3500 mA)

3. charging temp over 40°C (or 45°C specs)

4. Keeping battery for hours or days at 100%

Point 1 - 3 is never the case with this kernel and app custom settings.

So the only thing you have to care is to not keep the battery for long time at 100%. Slow charging at night is a good idea, but best way is to use battery care level at 90 % and when you wake up charge to 100 % and unplug the cable. The most important thing is to unplug the cable as fast as possible when the LED is green. This way you can enjoy good battery life for many years. It's a good idea and maybe i'll add such feature to automate the process.

Native call rec can be added easily in stock ROM. I did that and works.

Nope, 1,67A at 9V, but the phone will step down to 5V for charging battery, so the current is higher, in fact it's exactly 3000 A.

1.67 × 9 = 15 W

15 ÷ 5 = 3 A
[Samsung Galaxy S8 & S8+ Cross Device Development] Gracek99:
Thank you for your response. You are awesome.

I will give a try with stock rom then. Maybe it will be a waste of time, I don't know, at least I will see. Please tell me is it possible to change the dark theme background on stock rom to #000000 on my own? I am not into coding etc. but know simple things like changing values in some system files. I don't really like the dark grey theme on Pie.

I will let you know how the things are on Stock. I really care about long battery life.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
@Gracek99 You are welcome. I forgot to mention that you can achieve the thing with different settings over night already now by using A2N app full version + TASKER app. You can write your own scripts what should be done at certain times. So the only thing you need to know is how to pass settings to the kernel over script. When you are ready, just ask me again for the required cmds about any settings from a2n app. I believe this is even better than implementing it directly in my app as I'm quite busy these days to struggle with new stuff.
[Samsung Galaxy S8 & S8+ Cross Device Development] Twiq:
Yep, i use bt audio everyday, on my way to work and at work either with car bt or my bt IEMs..

very thorough explanation, today i learned new things about our battery specs 😆

So the point is i've been irrationally worrying about wrong things, i lowered the currents to the point looking for adapters that delivers 1A at max

and that #4 is what i've ignored since the beginning of using this device, i thought trickle charging was protected since years ago on samsung devices, so now that explains things..

quick question : how did you guys replace your batteries? i've seen more than 2 guys mentioning changing batteries and screens, did you go to authorized samsung service center or something? or did you guys have a quick and safe DIY methods i didn't know about? 😂
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Great !

Yes, it's possible to DIY, but it's quite tricky and you need to be very carefully and needs a lot of patience. Best way is to watch a YouTube video how it's done for your phone model, since every device is different. But i think replacing battery is more easier. I've replaced 2 times the screen glass and one time worked good and one time I wasn't careful enough and I've broken the screen, namely the data connection. Result was screen showed just nothing and I had to grab photos etc with ADB lol.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
hi bro i use this phone with cooling and this i charge with 1C 3,5 A in software in real current just get 3.2 A i use PD charger from xiaomi 33W btw that ****ing FAST every minute 1% but if the battery get 3.4 or 3.3 volt that get slower time to time until fully charged

edit

UPS... i mean 4.4 or 4.3 volt hehe i ever get 3.4 that glitching the audio because that volt haha and i notice it when get 2 or 5% battery left sometime that make laugh HAHAAH
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
woah IEM that my dream to get that because when i see some earpiece and i saw IEM i was think that not make sense for expensive earpiece when i see documentation about IEM that have 5 diffrent profile IEM what a insane thing ever i see
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
wait did you say DIY ? maybe you doesn't look my s8 plus the only one insane people with peltier stuff

here the link of the video a direct cooling to the soc and change the thermal pad with aluminum plate for next i will make it more clean and more cool on it that still terrible with water pipe

and this tho
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Got a samsung nand chip too, lets goo😄
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
I've the same like yours.

Did a bench with A1 SD bench using stock kernel. See screenshots.

Later I'll repeat with new a2n build.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
sometime checking storage are 2.0 or 2.1 make happiness when know its 2.1 and know reason it get slow that you are not lucky get 2.1 hehe
[Samsung Galaxy S8 & S8+ Cross Device Development] Gracek99:
Thats my results on latest a2n.

Testing battery life right now. It is better. Exactly 15% drop and 1h usage on screen. Now it drops a bit faster, but I will left it for a few days so all the updates and settings will settle.

Thank you for letting me know there is a way to record calls without flashing custom rom. It was so easy to set.
[Samsung Galaxy S8 & S8+ Cross Device Development] Twiq:
WHOA! that's really hardcore man, what are you using your phone for?
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
How do you see its 2.0 or 2.1? Also my storage benchmark
[Samsung Galaxy S8 & S8+ Cross Device Development] Twiq:
not bad right? but waay slower than samsung's ufs
[Samsung Galaxy S8 & S8+ Cross Device Development] Twiq:
check my post..

you only need to run cat /proc/scsi/scsi on terminal and compare the result to the table attached

https://xdaforums.com/t/kernel-9-a2...end-stable-v-2022-08-23.3875640/post-87387829
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Now my s21 g990b/ds nand benchmark😂😂
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
I got a 2.1 and ace too becus he said he got the same one😮
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
For super smart TV HAHAHAHA i can do more with my tv but my tv has youtube and netflix internally but i dont like watch tv like ussually because tv show doesnt make sense in last 3 year doesn't have any benefit from it
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Use termux to know it
[Samsung Galaxy S8 & S8+ Cross Device Development] Ryujin96:
Well i had already a screenshot which chip i have, anyway got an 2.1😋
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Yeah.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Hi dev my screen has arrive an hour ago and i replace the motherboard with my korean motherboard and for real the screen it has greenscreen but i am still curious about this not hardware fault and this fault by software and change some value at the hardware permanently

And some unique thing happen when this phone have battery temp more then 43 or 40 °c the greenscreen coming instantly and wait to cool it for 5 or 10 second after that greenscreen is lost and if the screen sudden turned off the greenscreen is back and need turn of screen by 5 or 7 second after normal again any some suggestion what to do dev? I really want to find what is cause of the greenscreen because anyone doesn't know why this happen samsung tho doesn't know why that can be happen

Edit : i have been check voltage of the screen get that same like you and same like my mine that voltage must be make screen normal but this no

And some story again i see tgp kernel for oreo that can fix flikering screen if a peoplw sensitive with high flicker eye when i read the kernel that change some update rate thing from 240hz to 60hz and can changed and i was curios the greenscreen coming after update DUD1 update maybe you have an idea what i can to do

Btw

The greenscreen is not much the green is like filter green and so thin green
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Am i to fast ?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Why you get over 6GB/s ? Normal speed is 5 or 5,1GB/s for 2.1 ufs.

This is with S8+ ? Can you post your time_in_state from mif ? Maybe you have unlocked OC for MIF. This kernel is RAM-OC-READY to run at 2,1 GHz instead at 1,8 GHz. While these days I was checking some recent last_kmsg logs, I found out something very curious, there are literally some phones that was alerady having assigned voltages from GPU OC steps > 572 MHz, but with very low voltage like 625000 for all the higher steps up to 839 MHz. Of course that was too low and likely not really stable over 683 MHz. But that's not a problem since our voltage hack will override such wrong voltages. My though was if there is maybe some phone with voltages assigned for dvfs_mif OC voltages, but so far never seen one.

As for the greenscreen issue, i've never heard about this. I don't understand the main background problem. Are you trying to connect an unsupported screen ? E.g. if this screen is from other phone model then it can be maybe fixed by adding proper DTS source code + kernel driver in a2n kernel package. But if it's broken I don't know what to do. Voltage changes for screen might not work as it's a devfreq driver. If you already tried to increase voltage for dvfs_mif and you see no changes in greenscreen better or worse then you can forget. Or if you really know exactly with which Samsung kernel update this issue starts, then I can check in source code if there are some relevant changes for screen driver. And what about to test with the stock kernel from my download site ?
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
I don't know why i am get 6gb/s and yes for use i feel it fast like 845 i think oc mif maybe right and run smooth with korean unit

Maybe you can take a look at my voltage maybe diffrent in your side dev
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Where is the file ? I forgot where it is since ive broke screen before longtime i am not check anything
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
like this dev the greenscreen problem i know it from facebook group s8 s9 s10 s21 s22 group almost all old devices after get latest update

In case s8 s8 plus model after dud1 update from settings all of them get greenscreen or greentint like this condition of the screen i buy when it get little hot that appear a greentint and for unsuported screen is no i use the comaptible screen amoled

Edit

Yesterday i have conversation from india people he has teory about why greenscreen appear that cause when update system and lcd get too hot or maybe applied wrong voltage maybe shorting the driver of lcd and makw the ic little bit stupid cause of it maybe change it can fix the lcd.

And i have idea to find lcd almost same case like i have now maybe take 2 month or more i can do that hehe i like samsung phone but i am not like how they are brome the screen cause by update
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
@rtyuakatsuki

looks a bit strange for mif, possible that all freqs are unlocked, but we will see.

cd /sys/class/devfreq
cd *mif
cat time_in_state
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
I think this 1.8 ghz btw

Edit

i achive 6gb by increase the CPU DVFS to 100°c
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
After the DUA3 update, Samsung released DUD1 source code, but I've skipped DUD1 and I'd updated source code from DUA3 directly to DUG6 from Note8 source code, since it's the same source code but more up-to-date. But it doesn't mean DUD1 is not there, it's still there merged between DUA3 and DUG6. But with the difference lets say if DUD1 was having that greentint issue, then Samsung fixed this in next update, so that means up to the point of DUG6, it's very likely that they fixed it and therefore we didn't flash that buggy code at all. In fact, I've checked the commit DUA3 -> DUG6 and there is no change at all to the screen driver.

Maybe if I download DUD1 source code and I merge this, at least only firmware + DTS (device tree source), then maybe there is some change to screen firmware or DTS, but the point is that it serves nothing. It won't fix your screen at all, since it's hardware issue. Kernel driver, device firmware and DTS, are always reloaded at every boot from the current flashed kernel. It's not persistent in the flash chip.

Edit:

@rtyuakatsuki

Is it S8+ ? - Try to flash latest stock firmware, if it fixes the issue and let me know please. If it fixes the issue, then i'll merge firmware and DTS from latest S8/S8+ source code. (It's not fully outdated, but maybe only missing some updates from DUD1) And since you are actually the only one with that issue I didn't care to spend time in updating sources. My S8 screen works perfectly at lowest brightness. I've DUD1 installed.

Or if you are too lazy, try how it goes with the stock kernel DUA3.

You say the issue appears after the DUD1 update, so it should work fine with DUA3. Try and let me know.
[Samsung Galaxy S8 & S8+ Cross Device Development] khanhbang2013:
Happy New Year!!! 2020.
[Samsung Galaxy S8 & S8+ Cross Device Development] kidd25:
mod edit: removed disrespectful comment
[Samsung Galaxy S8 & S8+ Cross Device Development] Negan:
Couple of things: first check your private messages. Secondly; Don't like the kernel? Make your own or ask for a refund.
[Samsung Galaxy S8 & S8+ Cross Device Development] kidd25:
Thats the easy way? Make myself a working kernel? :D I want to get back my money from "premium" apk...

[IMG="pic"]http://www.kepfeltoltes.eu/view.php?filename=125Screenshot_20200102_05.jpg[/IMG]
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
From Post #3, the FAQ:

After You have solved the Issue, please edit your Play Store rating, thanks !
[Samsung Galaxy S8 & S8+ Cross Device Development] ih8snow.lc:
After installing your version of twrp, I seem to have an extra partition called preload which doesnt affect anything at all but is a bit annoying as whenever I flash something a red error pops up about the preload partition. Is there anyway to get rid of it?

Also I cant seem to access my phones internal storage files or sd card files via USB while on twrp
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
You can ignore .. you don't need it.

The error for preload would disappear if u flash latest stock firmware with ODIN .. but it's then a full clean installation.

USB-OTG needs a few seconds to recognize in TWRP .. but this also happens with latest official TWRP.

I've no idea why it takes so long, and so far i was too lazy to investigate. :p
[Samsung Galaxy S8 & S8+ Cross Device Development] ih8snow.lc:
Well I usually leave my phone plugged in in my PC for about an hour and it never gets recognized, tried it on multiple computers with the same result
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
I need more informations. Which OS ? Here on Win Xp Pro it works fine.

Did u tried to set manually on advanced usb options on your phone the option "transfer of files" ?

If it doesn't help, try to disable USB Debugging if it was enabled before.
[Samsung Galaxy S8 & S8+ Cross Device Development] ih8snow.lc:
Windows 10, tried reinstalling drivers and everything, it works fine when the rom is booted up, just not when twrp recovery is
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Same here with Win XP. I'm trying to fix it.
[Samsung Galaxy S8 & S8+ Cross Device Development] caiquess95:
kernel with great performance but presented instabilities when using the device for 1h: 30min. It was time to install Alexis Rom, configure and download the apps and started a few crashes and realized that the temperature was a bit high.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Please read the FAQ
[Samsung Galaxy S8 & S8+ Cross Device Development] kidd25:
I don't see the new update...

I'm looking forward to it and hope to solve my problem
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Please be patient ... the Update is not falling from the sky, i'm working on it to solve your issues and many more.

I think it'll solve the issue pretty well. ;)

Update planned in 5 - 6 hours ...
[Samsung Galaxy S8 & S8+ Cross Device Development] kidd25:
sounds good :) i know develop, and update not so fast :)
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
TWRP /data mount issue with device encryption

@corsicanu [MENTION=4587002]Noxxxious[/MENTION] [MENTION=4280397]djb77[/MENTION] [MENTION=7969495]remilia15[/MENTION] [MENTION=6371894]jesec[/MENTION] [MENTION=6150205]Peter KIKI[/MENTION]

(sorry if i forgot more S8 Kernel Developers!)

(Since some of you doesn't accept PMs, i've to write it here in public.)

Hello S8 Kernel Developers !

I wish you all a happy new Year !

I've found an annoying issue with TWRP + encryption.

It seems that latest official TWRP compiled by corsicanu right ? can't mount encrypted /data if the kernel was compiled with CONFIG_EXT4_ENCRYPTION=y, otherwise it works fine.

Tested with latest NX-Kernel + latest official TWRP + encryption = falied to mount encrypted /data.

Tested with Kernel compiled with CONFIG_EXT4_ENCRYPTION=n = encrypted /data can be mounted successfully in TWRP.

Later i've tested if it could work if i use my custom kernel in latest TWRP and i format /data wiith it .. and encrypting using the same kernel ..

Encryption is always successful.... no matter if CONFIG_EXT4_ENCRYPTION=n or y, the issue is only in TWRP.

I'm not familiar with TWRP building, but i guess it has something to do with outdated busybox :confused:

Since users like to switch very often their Kernels, it's problematic to have mixed encryption methods in kernels .. since the Phone will likely fail to boot.

e.g. A user is on NX-Kernel and encrypted the Phone... later he want to test A2N Kernel and the Phone can't boot.

The same happens viceversa. :)

The Question is: how you decide to fix the issue ?

We've 2 ways for avoiding conflicts between our custom kernels:

1. All kernels will use CONFIG_EXT4_ENCRYPTION=y and TWRP will be fixed by adding proper support,

or

2. No changes to TWRP but all kernels will need to recompile with CONFIG_EXT4_ENCRYPTION=n

Personally I would prefer choice nr. 2 because it needs less overhead in kernel, (a lot of Crypto Options can be safely disabled, speeding up compilation time and reducing code size)

Here in this Commit u can see what changes are needed, basically disabling all the crypto options with EXT4 and enabling all those with ECRYPT ...

Regards

A2N
[Samsung Galaxy S8 & S8+ Cross Device Development] kidd25:
Another perception... Inside the app the back arrow did not work.
[Samsung Galaxy S8 & S8+ Cross Device Development] monoik:
Looking forward to the new version. I'm having issues with freezing system UI every few minutes. The USB PD is not working too, the voltage reads 9v but the amperage is at 0. Running stock Samsung ROM G950FXXUSDSHC.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Thanks for your Report !

About USB-PD: it's hard to fix it since i don't have such a Charger. But all the other issues will be fixed.

I think i'll just buy one .. otherwise no way to fix it.
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Okey i will try soon the stock rom DUA3
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Yes it is G955N
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
I have been test flash stock kernel DUA3 from your ftp and it still appear sometime same like first time nothing change maybe last testing is try flash stock rom i need find time to do that
[Samsung Galaxy S8 & S8+ Cross Device Development] Adbnpk2013:
Found this , when i was searching to solve my phone issues. See if it is of any help

https://xdaforums.com/t/root-fix-s8...ixed-with-aqi1-combination-boot-firm.3673815/