I will be off by next two weeks, so I want to show where I'm and also I have hope that someone with fresh look can point me what or where is the problem.
I'm fighting with module since for two weeks so probably I don't see something obvious apart from this is impossible to do .
I know that messing in so fragile thing like memory management is highly risky.
What I have now:
When I hijack some of the methods (hijacking shmem methods works fine) - I got kernel panic :
Code:
Kernel panic - not syncing: Aiee, killing interrupt handler!
this occurs here:
Code:
if (unlikely(in_interrupt()))
panic("Aiee, killing interrupt handler!");
and in_interrupt() is defined:
Code:
#define in_interrupt() (irq_count())
#define irq_count() (preempt_count() & (HARDIRQ_MASK | SOFTIRQ_MASK))
So I figured out that preempt_count value is decreased too many times, and I compiled two version of module one with swap enabled and one without and with full PREEMPT debug. Both disassembed versions are in attachment.
I count increasing and decreasing preempt_count value in methods and there are results:
Code:
<__remove_mapping>: add:1 sub:3 ---- add:1 sub:2 DC DSC
<do_wp_page>: add:4 sub:5 ---- add:-1 sub:-1 DC DAC DSC
<exit_mmap>: add:0 sub:1 ---- add:1 sub:1 DC DAC
<handle_mm_fault>: add:6 sub:6 ---- add:8 sub:9 DC DAC DSC
<shmem_getpage>: add:7 sub:33 ---- add:5 sub:19 DC DAC DSC
<shmem_writepage>: add:1 sub:4 ---- add:0 sub:0 DC DAC DSC
<shrink_zone>: add:2 sub:2 ---- add:0 sub:0 DAC DSC
<try_to_unmap_one>: add:1 sub:2 ---- add:0 sub:1 DC DAC DSC
<unmap_region>: add:0 sub:1 ---- add:1 sub:1 DC DAC
<unmap_vmas>: add:1 sub:2 ---- add:2 sub:2 DC DAC
<zap_page_range>: add:0 sub:1 ---- add:1 sub:1 DC DAC
add:141 sub:207 ---- add:146 sub:192
Last line shows overall count. First two number are from my module, second two number are from module without swap enabled. -1 means that method was not in module and is part of other method.
Without deep looking there are differences - but every method should be checked comparing source and both compiled versions.
Once again - if someone wants to look - be my guest . Sources are in GIT.
Andyx your back..new devz again.. thumbs up!
btw what is this SWAP module do?
Its for adding more RAM
Sent from my X8 using XDA Premium App
as-mario said:
Its for adding more RAM
Sent from my X8 using XDA Premium App
Click to expand...
Click to collapse
To add on, basically it is a memory on the sd card that can store memory that is supposed to be on RAM. This can somewhat increase RAM as this can store memory that goes on RAM but swap memory has its disadvantages because it is slow memory and causes the sd card to wear out faster. It is virtual RAM in simple terms.
AnDyX said:
I will be off by next two weeks, so I want to show where I'm and also I have hope that someone with fresh look can point me what or where is the problem.
I'm fighting with module since for two weeks so probably I don't see something obvious apart from this is impossible to do .
I know that messing in so fragile thing like memory management is highly risky.
What I have now:
When I hijack some of the methods (hijacking shmem methods works fine) - I got kernel panic :
Code:
Kernel panic - not syncing: Aiee, killing interrupt handler!
this occurs here:
Code:
if (unlikely(in_interrupt()))
panic("Aiee, killing interrupt handler!");
and in_interrupt() is defined:
Code:
#define in_interrupt() (irq_count())
#define irq_count() (preempt_count() & (HARDIRQ_MASK | SOFTIRQ_MASK))
So I figured out that preempt_count value is decreased too many times, and I compiled two version of module one with swap enabled and one without and with full PREEMPT debug. Both disassembed versions are in attachment.
I count increasing and decreasing preempt_count value in methods and there are results:
Code:
<__remove_mapping>: add:1 sub:3 ---- add:1 sub:2 DC DSC
<do_wp_page>: add:4 sub:5 ---- add:-1 sub:-1 DC DAC DSC
<exit_mmap>: add:0 sub:1 ---- add:1 sub:1 DC DAC
<handle_mm_fault>: add:6 sub:6 ---- add:8 sub:9 DC DAC DSC
<shmem_getpage>: add:7 sub:33 ---- add:5 sub:19 DC DAC DSC
<shmem_writepage>: add:1 sub:4 ---- add:0 sub:0 DC DAC DSC
<shrink_zone>: add:2 sub:2 ---- add:0 sub:0 DAC DSC
<try_to_unmap_one>: add:1 sub:2 ---- add:0 sub:1 DC DAC DSC
<unmap_region>: add:0 sub:1 ---- add:1 sub:1 DC DAC
<unmap_vmas>: add:1 sub:2 ---- add:2 sub:2 DC DAC
<zap_page_range>: add:0 sub:1 ---- add:1 sub:1 DC DAC
add:141 sub:207 ---- add:146 sub:192
Last line shows overall count. First two number are from my module, second two number are from module without swap enabled. -1 means that method was not in module and is part of other method.
Without deep looking there are differences - but every method should be checked comparing source and both compiled versions.
Once again - if someone wants to look - be my guest . Sources are in GIT.
Click to expand...
Click to collapse
Btw devs, it is possible to allocate flash memory (e.g. on /cache) to RAM? It may be a stupid question but just wanna know.
Oh its like USB PenDrive device as Ram on PC. Sugoi..
Thanks..
i think that kernel we are using does not support swap,
i've tried some application for making swap file, but i was failed..
i forgot the application name, it creates like page file ,custom sized..
but affected nothing, just created a big junk file in my SD card..
i think that we better wait till our developers succeed bypassing bootloader,
with new custom kernel, may be we can enable swap and anything else linux can do
alphine.zzz said:
i think that kernel we are using does not support swap,
i've tried some application for making swap file, but i was failed..
i forgot the application name, it creates like page file ,custom sized..
but affected nothing, just created a big junk file in my SD card..
i think that we better wait till our developers succeed bypassing bootloader,
with new custom kernel, may be we can enable swap and anything else linux can do
Click to expand...
Click to collapse
He's trying to make a module for our kernel... that can enable SWAP
Our kernel doesn't support a lot of stuff... that's why we have modules
I will be off by next two weeks, so I want to show where I'm and also I have hope that someone with fresh look can point me what or where is the problem.
I'm fighting with module since for two weeks so probably I don't see something obvious apart from this is impossible to do .
I know that messing in so fragile thing like memory management is highly risky.
What I have now:
When I hijack some of the methods (hijacking shmem methods works fine) - I got kernel panic :
Kernel panic - not syncing: Aiee, killing interrupt handler!
this occurs here:
if (unlikely(in_interrupt()))
panic("Aiee, killing interrupt handler!");
and in_interrupt() is defined:
#define in_interrupt() (irq_count())
#define irq_count() (preempt_count() & (HARDIRQ_MASK | SOFTIRQ_MASK))
So I figured out that preempt_count value is decreased too many times, and I compiled two version of module one with swap enabled and one without and with full PREEMPT debug. Both disassembed versions are in attachment.
I count increasing and decreasing preempt_count value in methods and there are results:
<__remove_mapping>: add:1 sub:3 ---- add:1 sub:2 DC DSC
<do_wp_page>: add:4 sub:5 ---- add:-1 sub:-1 DC DAC DSC
<exit_mmap>: add:0 sub:1 ---- add:1 sub:1 DC DAC
<handle_mm_fault>: add:6 sub:6 ---- add:8 sub:9 DC DAC DSC
<shmem_getpage>: add:7 sub:33 ---- add:5 sub:19 DC DAC DSC
<shmem_writepage>: add:1 sub:4 ---- add:0 sub:0 DC DAC DSC
<shrink_zone>: add:2 sub:2 ---- add:0 sub:0 DAC DSC
<try_to_unmap_one>: add:1 sub:2 ---- add:0 sub:1 DC DAC DSC
<unmap_region>: add:0 sub:1 ---- add:1 sub:1 DC DAC
<unmap_vmas>: add:1 sub:2 ---- add:2 sub:2 DC DAC
<zap_page_range>: add:0 sub:1 ---- add:1 sub:1 DC DAC
add:141 sub:207 ---- add:146 sub:192
Last line shows overall count. First two number are from my module, second two number are from module without swap enabled. -1 means that method was not in module and is part of other method.
Without deep looking there are differences - but every method should be checked comparing source and both compiled versions.
Once again - if someone wants to look - be my guest . Sources are in GIT.
Click to expand...
Click to collapse
AndyX ...u mean u success hijacking our x8 and now it has swap modules? ?;D..
Or still on development? ?..
Furthermore ...is a class 2 memory card recommended for swap modules? ?><…
Sent from my X8 using Tapatalk
lukewong01 said:
AndyX ...u mean u success hijacking our x8 and now it has swap modules? ?;D..
Or still on development? ?..
Furthermore ...is a class 2 memory card recommended for swap modules? ?><…
Sent from my X8 using Tapatalk
Click to expand...
Click to collapse
U don't have to qoute whole ****ng post
spyder12345 said:
To add on, basically it is a memory on the sd card that can store memory that is supposed to be on RAM. This can somewhat increase RAM as this can store memory that goes on RAM but swap memory has its disadvantages because it is slow memory and causes the sd card to wear out faster. It is virtual RAM in simple terms.
Click to expand...
Click to collapse
This looks promising as RAM is the main problem with our phone.
lukewong01 said:
AndyX ...u mean u success hijacking our x8 and now it has swap modules? ?;D..
Or still on development? ?..
Furthermore ...is a class 2 memory card recommended for swap modules? ?><…
Sent from my X8 using Tapatalk
Click to expand...
Click to collapse
I don´t think class 2 will give you good performance, it´s gonna be very slow
biscoitu said:
I don´t think class 2 will give you good performance, it´s gonna be very slow
Click to expand...
Click to collapse
how about class 4 ?
Even with hard disk, it's slow.
Dare-Devil Inside said:
U don't have to qoute whole ****ng post
Click to expand...
Click to collapse
Don't f*cking swear
@doixanh, That is quite a bad news, even using hdd as memory card(impossible)
Still slow at SWAP
How about compcache? Maybe that will help. Just a question .
Btw..i just wanna swap those RAM on those background services and widgets....so about 20MB of swap...i dun tink if use on widgets and background will slow.....right?...
Swap was never intended to for speed up any machine . It's only for having more memory for price of slower performance when swap memory is used. Windows users should know this best
I think swap better usage is for storing not active apps so you can have more space for active apps that are using much ram but still having great multitasking,right?
as-mario said:
I think swap better usage is for storing not active apps so you can have more space for active apps that are using much ram but still having great multitasking,right?
Click to expand...
Click to collapse
I doubt this will be the case. On the default linux kernel's memory management, yes, but the android kernel is not designed with swap in mind.
Related
Hi! Nexus Guys
See this:.. 1267 [email protected] Kernel 100 % stable at our devices
http://forum.xda-developers.com/showthread.php?t=682419
If the desire easily can handle it why the nexus not ? @ 1.3 V some HW/Chip changes ?
is this working on your devices ( the 0x21 Line @ 1.3V)?
I installed this kernel. This kernel work @1133MHz and WiFi not work
-------------------------------------
Sent via the XDA Tapatalk App
fstluxe said:
Hi! Nexus Guys
See this:.. 1267 [email protected] Kernel 100 % stable at our devices
http://forum.xda-developers.com/showthread.php?t=682419
If the desire easily can handle it why the nexus not ? @ 1.3 V some HW/Chip changes ?
is this working on your devices ( the 0x21 Line @ 1.3V)?
Click to expand...
Click to collapse
1.3V is not sufficient voltage for the N1, not at the higher frequencies. Dunno why Desire does, don't have one....
jlevy73 said:
1.3V is not sufficient voltage for the N1, not at the higher frequencies. Dunno why Desire does, don't have one....
Click to expand...
Click to collapse
I understand the voltage not being sufficient, but can we push the voltage a little higher?
Yes I understand the risks of frying your chip and all, but is it possible?
And the Desire has a lot of different hardware compared to the Nexus, such as the TPA2018 speaker amplifier which gives it its louder audio, and hardware keys. People seem to forget that it is a different device, they don't have the same hardware
Geniusdog254 said:
I understand the voltage not being sufficient, but can we push the voltage a little higher?
Yes I understand the risks of frying your chip and all, but is it possible?
Click to expand...
Click to collapse
Changing the regulator voltage has been done despite being a completely stupid idea - it's not very hard but if you can't figure it out check out Gr8Gorilla's posts as he's (controversially) documented the process.
I've never understood the appeal - it's not a show of ability since it's just luck as to which silicon you got, and it's not achieving much... but some people like frying phones for some reason.
100% stable? Crazy, I had my N1 running 1.267ghz and I could use the phone for about 15 seconds and it would reboot. I think I was at 1.35V though.
0x21 absolutely does not work with stability on most most N1s, no matter how much voltage you pump in.
0x22+ should not even work on the qsd8x50 without really low level tweaks that nobody but Qualcomm knows how to do. It might be impossible.
coolbho3000 said:
0x21 absolutely does not work with stability on most most N1s, no matter how much voltage you pump in.
0x22+ should not even work on the qsd8x50 without really low level tweaks that nobody but Qualcomm knows how to do. It might be impossible.
Click to expand...
Click to collapse
Okey then
Hello,
My goal is to compile rowboat ( froyo) for the NC.
To start, I'm trying to compile u-boot for NC with the sources provided by B&N with no luck
I tried with omap3621_boxer_config with no luck. I had some errors at compilation.
Once fixed ( with few hacks) I've got a small u-boot.bin (about) 160Kb whereas stock u-boot is 280 kb.
What' wrong ? I think the sources don't match the NC binaries.
Occip
Try omap3621_evt2_config.
pokey9000 said:
Try omap3621_evt2_config.
Click to expand...
Click to collapse
I don't find this config in u-boot .
There are only
omap3621_boxer
omap3621_edp1
omap3621zoom3
Did you successfully compile u-boot with the sources ?
Occip
Look at the makefile, not the headers.
Rowboat Wiki http://code.google.com/p/rowboat/ misses completely OMAP36xx chips out of its builds for some reason (Motorola took them?).
In other words, building for OMAP35xx may cause some problems/performance issues.
Sure I can be completely wrong, just disregard this.
----------------
fineoils.blogspot.com
"NooKColor: Next Step"
Any reason you're going rowboat rather than http://omappedia.org/wiki/Android_source_code_versions?
As I posted elsewhere, my brain was faulty earlier, the correct target is omap3621_evt1a_defconfig for the kernel, omap3621_evt1a_config for u-boot and x-loader.
For fun, in the kernel I tried faking out the 3621 detection so it believes it's a 3630. Someone earlier (I can't remember) noticed that Nooter was showing bogomips in like with 1GHz, and since I built it for a 3630 target I was hoping the same would apply here. It looks like the top 2 power states are ignored with the 3621, while the 3630 gets all 5.
I get 7.598 MFLOPS in Linpack with this change vs 6.133 with the old; and 1094 in Quadrant vs. 981 with the old. The downsides are that the core gets cranked up to 1.35V vs. 1.26V at 800MHz, and my touchscreen got a lot less responsive. The former is probably not a big deal since most of the time the CPU is not running full out.
The patch:
Code:
diff -Naur arch/arm/mach-omap2/board-3621_evt1a.c ../dev/kernel/arch/arm/mach-omap2/board-3621_evt1a.c
--- arch/arm/mach-omap2/board-3621_evt1a.c 2010-11-25 14:49:49.000000000 -0600
+++ ../dev/kernel/arch/arm/mach-omap2/board-3621_evt1a.c 2010-12-05 20:45:28.537597020 -0600
@@ -624,20 +622,20 @@
{
#if defined(CONFIG_MACH_OMAP3621_EVT1A) && defined (CONFIG_MACH_SDRAM_HYNIX_H8MBX00U0MER0EM_OR_SAMSUNG_K4X4G303PB)
omap2_init_common_hw( h8mbx00u0mer0em_K4X4G303PB_sdrc_params ,
- omap3621_mpu_rate_table,
- omap3621_dsp_rate_table,
- omap3621_l3_rate_table);
+ omap3630_mpu_rate_table,
+ omap3630_dsp_rate_table,
+ omap3630_l3_rate_table);
#elif defined(CONFIG_MACH_OMAP3621_EVT1A) && defined(CONFIG_MACH_SDRAM_HYNIX_H8MBX00U0MER0EM)
omap2_init_common_hw( h8mbx00u0mer0em_sdrc_params ,
- omap3621_mpu_rate_table,
- omap3621_dsp_rate_table,
- omap3621_l3_rate_table);
+ omap3630_mpu_rate_table,
+ omap3630_dsp_rate_table,
+ omap3630_l3_rate_table);
#elif defined(CONFIG_MACH_OMAP3621_EVT1A) && defined (CONFIG_MACH_SDRAM_SAMSUNG_K4X4G303PB)
omap2_init_common_hw( samsung_k4x4g303pb_sdrc_params,
- omap3621_mpu_rate_table,
- omap3621_dsp_rate_table,
- omap3621_l3_rate_table);
+ omap3630_mpu_rate_table,
+ omap3630_dsp_rate_table,
+ omap3630_l3_rate_table);
#endif
omap_init_irq();
omap_gpio_init();
diff -Naur arch/arm/plat-omap/include/mach/cpu.h ../dev/kernel/arch/arm/plat-omap/include/mach/cpu.h
--- arch/arm/plat-omap/include/mach/cpu.h 2010-11-25 14:49:49.000000000 -0600
+++ ../dev/kernel/arch/arm/plat-omap/include/mach/cpu.h 2010-12-05 21:10:15.878587990 -0600
@@ -221,7 +221,8 @@
# endif
#endif
-#if defined(CONFIG_MACH_OMAP3621_BOXER) || defined (CONFIG_MACH_OMAP3621_EVT1A) || defined(CONFIG_MACH_OMAP_3621_EDP)
+//#if defined(CONFIG_MACH_OMAP3621_BOXER) || defined (CONFIG_MACH_OMAP3621_EVT1A) || defined(CONFIG_MACH_OMAP_3621_EDP)
+#if defined(CONFIG_MACH_OMAP3621_BOXER) || defined(CONFIG_MACH_OMAP_3621_EDP)
# undef cpu_is_omap3621
# define cpu_is_omap3621() 1
#endif
Thanks !
Thanks to pokey9000!
It's ok for the evt1 config.
For fun, in the kernel I tried faking out the 3621 detection so it believes it's a 3630. Someone earlier (I can't remember) noticed that Nooter was showing bogomips in like with 1GHz,
Click to expand...
Click to collapse
It was me
I remember that with my igep020 (omap3430) a simple mw command within u-boot could set the frequency of the MPU (and not overrided by the kernel).
After some digs in the kernel, it seems the BT could be enabled easily.
Cheers Occip
occip said:
I remember that with my igep020 (omap3430) a simple mw command within u-boot could set the frequency of the MPU (and not overrided by the kernel).
Click to expand...
Click to collapse
I couldn't make heads or tails of the clock tree code in u-boot and decided to go for broke turning off the 3621 specific code. I still don't know about the touchscreen thing, but I realized that I was comparing the stock kernel against this one. I've rebuilt the kernel from BN's code as provided and will see if the touchscreen is still wonky when I get home.
occip said:
After some digs in the kernel, it seems the BT could be enabled easily.
Click to expand...
Click to collapse
I tried uncommenting the code surrounded by CONFIG_WL127X_RFKILL, and fixing up the GPIO to the one defined right above it, and I get a driver segfault on boot. I guess for starters it makes more sense just to force it on in u-boot.
This page may be helpful.
ft
Overclocking and undervolting
Hi,
I manage to tweak few parameters with the help of pokey9000 code. Now 5 levels are enabled (OPP1 --> OPP5 , 300,600,800,1000,1100 Mhz). it runs pretty fast (same score as droid X in quadrant benchmark). I also tweaked the voltage at every level. At 600Mhz , the MPU has a voltage of 0.850 v (1.1v instead, 30 % decrease), I will check for increased autonomy.
So my omap 3621 seems to be a good production batch item.
Now direction to kernel 2.6.32 with droidX kernel sources (mapphone_defconfig)...
Cheers
Occip
Very good news...
Thanks Occip
occip said:
I manage to tweak few parameters with the help of pokey9000 code. Now 5 levels are enabled (OPP1 --> OPP5 , 300,600,800,1000,1100 Mhz). it runs pretty fast (same score as droid X in quadrant benchmark). I also tweaked the voltage at every level. At 600Mhz , the MPU has a voltage of 0.850 v (1.1v instead, 30 % decrease), I will check for increased autonomy
Click to expand...
Click to collapse
Nice! Did you work around the check for the OPP5 fuse? It's not fused on my NC's OMAP, and when I ignore it to get 1.2G it falls over. I didn't make any changes to the OPP freq/voltage settings though.
pokey9000 said:
Nice! Did you work around the check for the OPP5 fuse? It's not fused on my NC's OMAP, and when I ignore it to get 1.2G it falls over. I didn't make any changes to the OPP freq/voltage settings though.
Click to expand...
Click to collapse
I made an ugly hack the function omap_pm_get_max_vdd1_opp() returns always VDD1_OPP5
I didn't make any tests with frequency higher than 1.1Ghz so ... maybe 1.2Ghz is possible
Amazing work, Pokey and Occip. Are either of you still having screen issues at higher clock speeds?
Sent from my ADR6300 using XDA App
FrasierCrane said:
Amazing work, Pokey and Occip. Are either of you still having screen issues at higher clock speeds?
Click to expand...
Click to collapse
I think the artifacting I saw was a combination of my imagination and a hacked up .apk of Angry Birds. There is still a small issue where the touch screen loses some responsiveness right after the kernel is booted, but clears up after you put the NC to sleep and wake it up again.
Hot damn this is exciting. As the kernel work progresses, will this be something we can add to the NC without recovery, or will we have to wait on this?
Hey,
You can come join us at irc.freenode.net #nookie we have 2.2.1 booting with wifi. Working on the battery.
pokey9000 said:
I think the artifacting I saw was a combination of my imagination and a hacked up .apk of Angry Birds. There is still a small issue where the touch screen loses some responsiveness right after the kernel is booted, but clears up after you put the NC to sleep and wake it up again.
Click to expand...
Click to collapse
Good to hear. The default screen calibration seems a bit conservative for a full-function tablet anyway, so I can definitely see where you're coming from.
Sent from my ADR6300 using XDA App
rhcp0112345 said:
Hey,
You can come join us at irc.freenode.net #nookie we have 2.2.1 booting with wifi. Working on the battery.
Click to expand...
Click to collapse
i would love to be a fly on the wall, but being at work prohibits that. But saying you have 2.2.1 booting.. you mean you have a quasi working cutom froyo build going? double exciting!
Is anyone else missing the fast charging feature of the Poco while using the Pixel Experience CAF ROM? Using the Ampere app, my phone measures a really low charging current compared to that of stock MIUI. Is this an issue on other custom ROMs such as LineageOS? Any replies would be much appreciated.
There is zip that remove thermal mod you can try that. It will increase the speed
Rakibboss said:
There is zip that remove thermal mod you can try that. It will increase the speed
Click to expand...
Click to collapse
Do you have a link to the zip?
morgan757 said:
Do you have a link to the zip?
Click to expand...
Click to collapse
Found on telegram maybe..
https://bit.ly/2u6DhrG
Chrysalis Mod has been removed. I really don't know why. It was a great mod and unlocked the true potential for my poco (else it throttled like hell).
Thankfully I have a backup.
Thank you for creating this topic!
I installed a new ROM (from mod stock to LineageOS) and modules magic, put it at night for charging, and the maximum charge current is 0.5A. Since yesterday I have been looking for the source of the problem, at first I didn’t even believe the solution.
But removing this module, everything began to work fine. 94% of the battery charge and charge current min 1.2A.
Device: Samsung A520F
Solution v.2.0: problem if only in the case of a "Full" version installation. When you select the "Slim" version, everything works fine.
DISCLAIMER
Code:
USE AT YOUR OWN RISK, NO WARRANTY IS PROVIDED. ONLY TESTED IN H990DS.
Why?
Certain games doesn't work well in the original LOS17.1 kernel for me.
What's new?
alucard hotplug
What's fixed compared to the original kernel?
none, if you don't need the features here just use the original kernel which is better.
Which build should I use?
General build if you don't play heavy games. Likely more stable.
Gaming build if you play heavy games. Likely less stable. Based on gamma but still uses LOS 17.1 sources.
Gaming-OC build if you play heavy games and have good thermals. Likely less stable. 2.34ghz big, 1.88ghz little, 710mhz gpu. Note that default voltages might be too high, use Gaming build first, take notes of the voltages, flash Gaming-OC then fix it up when some frequencies are too high.
Is it plug and play?
Certain new features will be disabled by default.
Pre-configured settings on the new features are not optimized, you should configure it yourself.
You can use smartpack to change adrenoboost, undervolt/overvolt, etc.
If you are throttled by thermal-engine, you will likely to never reach the OC cpu frequencies.
IF YOU DON'T KNOW WHAT YOU ARE DOING, DO NOT TOUCH ESPECIALLY ANYTHING RELATED TO VOLTAGES.
LineageOS 16.0?
Some users say it works, so ¯\_(ツ)_/¯
Download Links
Download here
Changelog
BETA 1
Initial Release
BETA 2
general build skipped, nothing changed.
(Gaming) Voltage Control
(Gaming) OC builds
Special Thanks
mk2000, gamma.
sources
US997 should be labeled US996.
scottyrick said:
US997 should be labeled US996.
Click to expand...
Click to collapse
Thanks for noticing. US997 build has been removed
For anyone that already downloads US997 build, keep in mind it is not a typo of US996, it is really for US997 (LG G6).
lybxlpsv said:
Thanks for noticing. US997 build has been removed
For anyone that already downloads US997 build, keep in mind it is not a typo of US996, it is really for US997 (LG G6).
Click to expand...
Click to collapse
US996 works with the VS995 kernel but shows white screen while booting up. Otherwise works great.
what does that gaming folder means .i am unable know ..about these files ..plzz help
any update for this kernel? it's very amazing for battery life and performance
H918
I flashed general build and what I have noticed.
Battery life improved.
Games runs smooth.
Phone runs cooler now.
Overall very stable kernel.
Ir blaster is not working kindly fix it in another build.
Thanks for your great work. ?
Is it possible to add ttl support in the next build?
So happy to see someone still willing to spend time developer kernel for v20, so I just want to see if it's possible
No general build
Hello.. Thanks for the work you are doing. But i can't find general build. Thanks
princedede said:
Hello.. Thanks for the work you are doing. But i can't find general build. Thanks
Click to expand...
Click to collapse
I believe its in the beta 1 folder
Does PD charging work?
I was tried on h990ds I run antutu benchmark and I get score just 94.860
How it can be?
gading_aji said:
I was tried on h990ds I run antutu benchmark and I get score just 94.860
How it can be?
Click to expand...
Click to collapse
What are your thermals like? If ur cpu is getting too hot, it`ll lower it`s clockspeed
xxseva44 said:
What are your thermals like? If ur cpu is getting too hot, it`ll lower it`s clockspeed
Click to expand...
Click to collapse
cpu thermal is throttling, i will try run antutu 5 times with 1,5 Ghz Cpu Speed and 5 time with 2,1 Ghz CPU Speed
gading_aji said:
cpu thermal is throttling, i will try run antutu 5 times with 1,5 Ghz Cpu Speed and 5 time with 2,1 Ghz CPU Speed
Click to expand...
Click to collapse
I'd recomend removing the crap thermal pad and replacing it with thermal paste like arctic mx-4. I did it and my thermals are very good, the cpu barely goes over 55 degrees celsius under heavy load. Before the mod i was hitting 70-80 degrees
xxseva44 said:
I'd recomend removing the crap thermal pad and replacing it with thermal paste like arctic mx-4. I did it and my thermals are very good, the cpu barely goes over 55 degrees celsius under heavy load. Before the mod i was hitting 70-80 degrees
Click to expand...
Click to collapse
My device using LOS 17 and this kernel always loch CPU clockspeed @ 1,19 Ghz and it can't be modified
I don't know, this bug from kernel or the ROM??
could be battery
here's few things you can try :
using the thermal engine I put on the drive link.
This can be dangerous since it is tuned for my phone or you can use gamma's thermal engine flashable.
Disable BCL, this is dangeorus and may shorten your battery lifespan. ONLY USE THIS FOR TESTING.
Code:
echo -n disable > /sys/class/power_supply/bcl/device/mode
if BCL fixed it then you need a new battery and be sure to restart so bcl enables again.
lybxlpsv said:
could be battery
here's few things you can try :
using the thermal engine I put on the drive link.
This can be dangerous since it is tuned for my phone or you can use gamma's thermal engine flashable.
Disable BCL, this is dangeorus and may shorten your battery lifespan. ONLY USE THIS FOR TESTING.
if BCL fixed it then you need a new battery and be sure to restart so bcl enables again.
Click to expand...
Click to collapse
So the battery cause the clock speed lock at 1,19 Ghz??
This is a nice update to Gamma, but unfortunately anything beyond the camera-fixed-but-otherwise Gamma kernel in the `MAGISK-TWEAKS` directory doesn't have a functioning IR sensor - even in the supposed 'General' build. If this project is still in development, would it be possible to add the feature back in? It's a lot to ask for, but for those who use a V20 as a secondary device specifically for some of these (now) niche hardware features, it's almost the final decision between using this kernel, or not.
...I'd say 'other kernels' but, there really isn't anything else for new AOSP-based ROMs beyond, uh, Gamma.
What is the difference in between this kernel and last gamma kernel 20.0? Thanks
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
~~A custom kernel for (most) V20 variants~~
Swan2000 is an android kernel based on the very latest Qualcomm 4.4 CAF sources for MSM8998 (which is also compatible with MSM8996), aiming to bring new features and updates over official kernels, and also improve LGE MSM8996 devices with some extra tuning, fixing and additional features tailored specifically for their performance characteristics and feature sets, while trying to maximize the battery life and responsiveness of those devices at the same time.
Its name comes from a merge between Swankernel(@AShiningRay) and mk2000(@askermk2000), as they were the main heads behind this kernel's development.
__Disclaimers__First and foremost: DO NOT bother official LineageOS threads with bugs if you're using this kernel, only bug reports with logs pointing to the official kernel will receive support there!!!
Now for the usual XDA disclaimer:
We are not responsible for bricked devices, dead SD cards, tactical nukes being set up (with the V20 you never know), alien invasions, google spying on you, or you getting fired because the alarm app failed after you removed all traces of google services from your phone so that google couldn't spy on you.
YOU are choosing to make these modifications, and if you point the finger at us for somehow messing up your device despite YOU being the one explicitly making these modifications, we will laugh at you.
DO NOT expect support on official ROM threads if you are running this kernel. Also don't try to hide it because we will know, and we will also laugh at you.
Your warranty is most likely void at this point anyway, but nevertheless, it is now definitely void if you tamper with any part of your device / software.
Click to expand...
Click to collapse
__Which V20 variants/models does this kernel support?__
The kernel currently supports the following V20 variants:
H910 / H915
H918
H990(DS / TR)
LS997
US996
US996D(Dirtysanta)
VS995
Those seem to cover every rootable variant thus far, but additional variants can be added in case a breakthrough happens on F800 for example.
__What does this kernel intend to achieve?__
The main goal here is to have a kernel that not only has extra features and improvements, but is also clean and concise, having only features that are truly needed from a kernel that will run alongside a Android 12.1-based ROMs and beyond.
This kernel does have a battery life bias, but will still scale up to maximum performance when needed. Gaming variants basically mean that the kernel comes overclocked by default, no additional tweaking is needed.
__Does it have any features over official?__
Yes, quite a few. The kernel is divided into two variants and their respective gaming modes, here are the features all variants have over Lineage's 4.4 kernel:
GPU and CPU/Cache Undervolt for better power efficiency on load.
Almost no unnecessary debug flags on the kernel for better kernel performance.
USB Fast Charge.
KCAL Control (although not really needed for LOS, other custom roms might surface with the need for this)
Multiple cherry-picks from different msm8996 sources with fixes and improvements to the kernel.
Built with newer GCC toolchains (GCC 12) with optimized inlining and other compiler optimizations for 8996
Updated LZ4 libraries for faster ZRAM
Cryptographic function optimizations, slightly improving the phone's performance when calculating hashes and so on.
The Extreme variant really only has one extra feature over the Safe variant, that being:
Stronger Undervolts (i'm talking about borderline unstable undervolts here, so i really recommend that you flash the Safe variant first).
The "Gaming" versions are basically overclocked variants of Safe and Extreme, which means they also only differ in undervolt levels.
__Are there any bugs?__
As of now, the only actual kernel bug the V20 and G5 have comes down to their insanely over-engineered USB ports. You can't use them as a MacBook by plugging a fully powered hub into them like you could in 3.18 yet.
__Download & Installation__
The folders containing each kernel variant can be found here (use Ctrl+F to search for your phone model and kernel variant, there's just too many versions to neatly organize in folders and such as it would take too much time):
GITHUB KERNEL RELEASES
To install the kernel, it's the standard procedure:
Download the kernel you want for your device
Place it into the phone's storage
Boot into recovery, select it and then flash
Wipe Dalvik Cache (optional, you only need to wipe it if you face random Force Closes, but it is a good practice anyway)
Reboot.
Use AIDA64, go into the "Android" tab and look for "Kernel Version", where it should show "4.4.302-Swan2K-...".
Enjoy the experience!
As usual, we do not take responsibility if you fail to make backups before flashing this kernel, you have been warned!
__Changelog__
Spoiler: Changes done in recent versions:
*********** Swan2000 V0.1-BETA8+ ***********Small release with BCL tweaks for all devices, some msm8998 merges and minor hotspot fixes for G6.
_________________________________________
*********** Swan2000 V0.1-BETA8 [First Release] ***********This one is pretty straightforward: Basically lineage's kernel with all the features and improvements listed above, plus a few additional tweaks that would take too much space to note.
__Closing notes__
If you have any suggestion or idea that can possibly improve the kernel, do not hesitate to share, i will try to implement it when time allows it. If there are any problems that only happen on this version of the kernel, submit a log and i'll try to look at it.
I'll say it again: Please DO NOT bother official Lineage with bugs if you're running this kernel, only lineage's official kernel is supported over there.
___________________________________
The kernel's source code can be found here. It is also shared between G5 and G6!
And last but not least, special thanks to those that helped this major revamp on LGE_8996 become a reality by developing, testing, and even helping things indirectly, the dev community on all three phones had to come together for this:
@xxseva44
@npjohnson
@askermk2000
@thewolfsvk
@ROMSG
@bernardobas
@VortexHD
@Michele_Catella
And many, many others
Reserved.
Might need an additional post at the top later.
First of all thanks! To everyone involved, you guys rock!
A little tangent (bear with me for a while, please)
I had an OP3 before this V20, and like some "developers toy's" received a good attention for some time that phased out and was replaced by many more quickly than his predecessors in my opinion.
Besides SultanXDA Lineage 14 that he customized the kernel+ROM (achieving 6h screen time with ease), the thing that had me impressed was EAS and was beautifully implemented by mcdachpappe in this kernel. That really was responsive and also have some endurance. Other device that I still have it's my LG G4 and the devs ported so many kernels (I used blu_active most of all), but I didn't have the time needed to tweak.
After that detour, I would like to know: (no pressure, complains, just curiosity from my part)
1) EAS it's still relevant? Did you have any plans to implement it? Since the OP3 "has the same msm8996" could it be ported or benefit from this governor?
2) I noticed that you have on this kernel the "basic" governors : interactive, conservative, ondemand, userspace, powersave, performance. Do you consider other addition? Or it's an unnecessary problem?
3) I would love to not need any app than necessary, but to reduce some "image retention" there are many posts to help mitigate this issue, but the configuration it's for some app and trying to replicate in the system settings won't have near the results. Do you have any suggestion?
4) Any recommendations for applications to adjust the kernel? I used many moons ago the Kernel Audtor but the most close replacement that I'm aware it's the SmartPack-Kernel Manager?
5) A feature that always intrigue me in some Sony devices was the ability from stock to limit/manage the battery, "setting a max capacity" to stop charging at determined percentage, theoretically "extending" the life-span. How demanding, and it would benefit our devices this feature?
6) You mention the USB issue. Right now I don't have any hub and would be a nice thing in the future to plug an ethernet cable, be able to use a mouse + keyboard in some situation, and technically the V20 has HDMI out. But in this new kernel the problem comes only to being able to charge with any hub or I didn't get properly what the exact problem was?
7) The "only bug" on my H990DS that I encountered so far it's when I installed the SmartPack-Kernel Manager and in the "Overall Statistics" the CPU temperature are "-4.0°C" (I didn't install this app before with the stock kernel because I didn't needed this app). So how to properly report it?
I can't believe how much more responsive the device is, looks like magic!
dextructor said:
First of all thanks! To everyone involved, you guys rock!
A little tangent (bare with me for a while, please)
...
Click to expand...
Click to collapse
1 - No, not really. While EAS was included in this kernel's earlier versions, we opted to drop it from both official and Swan2000 when shipping lineage. EAS just doesn't bring that many benefits, if any, to msm8996 and 8998 devices when the device sources are already well tuned. And that's what we saw by going back to HMP: No significant perf/power difference on V20, G5 or G6, although the results favored HMP a bit since EAS boosted too much.
2 - No other CPU governor additions are planned, interactive can be configured to do pretty much everything you need (our device trees on lineage already have it pretty balanced), and if you can use conservative if a inherent battery life bias is needed.
3 - Lineage 19.1 has LiveDisplay support by default(Settings->Display->Color->LiveDisplay), not needing any kernel additions on that front. Those guides use KCAL control, which is there on the kernel in case other custom roms show up without LiveDisplay. Personally i use a LiveDisplay Color Calibration profile of 94%R, 90%G, 92%B to nearly eliminate image retention on mine, though that's because my display has a green tint ever since i bought it, might not be the same for you. Intensity and contrast values don't seem to affect retention that much so it's up to you.
4 - SmartPack is pretty much the continuation of Kernel Adiutor in case you really need a kernel manager.
5 - It is possible to do that, but requires ROM integration and can also be buggy sometimes (my Xiaomi Mido has that feature on its custom rom and sometimes it simply doesn't charge if i enable the battery limit and it hits the threshold, only charging again after a cold reboot). Since the V20 has a user-replaceable battery, that's not a big deal.
6 - The bug is not on the usb features themselves. HDMI support is perfect, as is OTG, mouse and keyboard as well (and i also think ethernet). The problem arises when fully powered hubs come into play: The phone simply refuses to charge at the same time it's in Host/OTG mode because we didn't fully figure out USB-PD on the new kernel just yet, and as a result powered hubs don't work, though you can still use simpler hubs that don't need additional power, or charge the phone. Since the V20 and G5 are pretty much the only 8996 devices on 4.4 that have this fully-featured usb port, it's hard to conceptualize a fix that doesn't break something else.
7 - SmartPack reporting incorrect cpu temps has always happened in 4.4. Apparently it's a bug in the app because AIDA64 doesn't suffer from the same issue, nor does CPUFloat (although CPUFloat does seem to invert GPU and CPU temps in some roms). I guess that's because there aren't that many Snapdragon 82x devices running 4.4 so most apps focus on 3.18's sensor configuration.
AShiningRay said:
1 - ...No significant perf/power difference on V20, G5 or G6, although the results favored HMP a bit since EAS boosted too much.
2 - No other CPU governor additions are planned
Click to expand...
Click to collapse
Beautifully explained, much more than I needed, and very well tuned.
AShiningRay said:
3 - Lineage 19.1 has LiveDisplay support by default(Settings->Display->Color->LiveDisplay), not needing any kernel additions on that front
Click to expand...
Click to collapse
I was aware, but thanks for the reminder, and your settings. When I was using the OP3 in the beginning I disliked very much the punchy color calibration that was used until they released "sRGB" profile that I used ever since (I guess that I couldn't have a Samsung device with their saturated profiles). And I tried to replicate some of the configs but the values don't match if you don't try to calculate. For example I liked this config that I copied from this video description and give me an very soft and neutral color spectrum (too bland for some, and with more time I would search for how to improve it):
Red 256 | Green 241 | Blue 226
Minimum RGB Value 0 | Saturation Intensity 12 | Screen Hue 0
Screen Value 128 | Screen Contrast 128
The color values are really straightforward, but "Minimum RGB"? The "Saturation Intensity" it's separated in 2 distinct values like "Saturation" and "Intensity"? Do you understand the difference?
AShiningRay said:
4 - SmartPack is pretty much the continuation of Kernel Adiutor in case you really need a kernel manager.
5 - requires ROM integration and can also be buggy sometimes
Click to expand...
Click to collapse
Clear enough, it was just as a suggestion.
AShiningRay said:
6 - The phone simply refuses to charge at the same time it's in Host/OTG mode because we didn't fully figure out USB-PD on the new kernel just yet
Click to expand...
Click to collapse
No problem, I was just mention because my ex-wife had a Pixel XL and I bought to her this USB Hub (UCN 3273) and everything worked (except HDMI because Google intentionally disable HDMI out just to sell more Chromecasts) including PD charging. It was used with ethernet (because a real gigabit connection beats many wifi speeds and consistency, and spots with bad coverage) and even an external USB mic to make video-calls (that without powering the HUB won't work). OK if this features could come to the device, until then no need to rush.
AShiningRay said:
7 - has always happened in 4.4
Click to expand...
Click to collapse
Ok, I didn't know. It's better to know than make trouble unnecessarily.
I remember reading about low volume on audio recording and decided to test on both OP3 and H990DS with Audio Recorder (M4a +48kHz +256kbps + stereo settings). Both devices recording the same initial 20s dialogue from this video at the same distance from the speaker of my computer but very different results.
I even analyzed in Audacity on the computer and it was indeed not only much lower, but was mono instead of stereo.
How can I help you guys properly identify this problem?
Thanks again!
dextructor said:
The color values are really straightforward, but "Minimum RGB"? The "Saturation Intensity" it's separated in 2 distinct values like "Saturation" and "Intensity"? Do you understand the difference?
Click to expand...
Click to collapse
Minimum RGB is pretty useless, it was supposed to deal with the black levels (in essence, how dark should the darkest pixels be on the screen) but never seen it do anything useful on any of my phones, OLED or not.
As for Saturation and Intensity being separated... "Saturation Intensity" is just "Saturation" on LiveDisplay, while "Intensity" on LiveDisplay is the same as "Screen Value", which dictates the overall brightness of the screen's pixels (just don't go too far on this one, or else you'll get overblown whites, also balance it with contrast and you get a nifty max brightness boost for free).
dextructor said:
No problem, I was just mention because my ex-wife had a Pixel XL and I bought to her this USB Hub (UCN 3273) and everything worked (except HDMI because Google intentionally disable HDMI out just to sell more Chromecasts) including PD charging. It was used with ethernet (because a real gigabit connection beats many wifi speeds and consistency, and spots with bad coverage) and even an external USB mic to make video-calls (that without powering the HUB won't work). OK if this features could come to the device, until then no need to rush.
Click to expand...
Click to collapse
It might come at some point since we really want to fix every major hardware feature of all three phones, though it's one of the peskiest issues to deal with on the kernel side since we have 5 or 6 usb drivers that communicate with each other.
dextructor said:
I remember reading about low volume on audio recording and decided to test on both OP3 and H990DS with Audio Recorder (M4a +48kHz +256kbps + stereo settings). Both devices recording the same initial 20s dialogue from this video at the same distance from the speaker of my computer but very different results.
I even analyzed in Audacity on the computer and it was indeed not only much lower, but was mono instead of stereo.
How can I help you guys properly identify this problem?
Thanks again!
Click to expand...
Click to collapse
AFAIK that's a known problem on AOSP roms as a whole (happens in 3.18, happens in 4.4, not kernel-side), mics on V20 and others just don't work as intended compared to stock. It's on the list of things we're gonna look at, but it's not a priority right now because we're trying to sort out Bluetooth in order to bring Lineage 20 in.
Once we start debugging the mics, i'll see if i can get one of our rom-side devs to approach you with more info if you're still available by then. Thanks!
AShiningRay said:
Once we start debugging the mics, i'll see if i can get one of our rom-side devs to approach you with more info if you're still available by then. Thanks!
Click to expand...
Click to collapse
No problems, you guys are really good at improving/fixing this devices. And I'll be here if I can help in anyway.
Very good explanations, really good knowledge on this thread. Thanks!
dextructor said:
No problems, you guys are really good at improving/fixing this devices. And I'll be here if I can help in anyway.
Very good explanations, really good knowledge on this thread. Thanks!
Click to expand...
Click to collapse
Yea in regards to the mic level, this has been a known issue on the v20. However i was not aware of it recording in mono, that is very odd. The level issue is mixer path related, but the mono recording, i'm not too sure. I will admit, it may be a while until this issue is fixed as we're heading into los 20 and getting that ready. But this will definetly get looked at. Could you grab logs of when you record? I wand to see what the audio hal is doing and how it sets up for recording.
xxseva44 said:
Could you grab logs of when you record? I wand to see what the audio hal is doing and how it sets up for recording.
Click to expand...
Click to collapse
Since I couldn't download the latest build because the page error 502, I clean flash 2023-04-23 build and only install the Magisk so I could get an dmesg and the Recorder app mentioned before.
Have 2 sets of archives, the stock kernel and the Swan2000 with logcat and dmesg.
If I can provide more help, please just ask.
What's the significance of H830, H850, H870?
andruyd said:
What's the significance of H830, H850, H870?
Click to expand...
Click to collapse
Those are G5 and G6 models. This kernel supports all three LGE_8996 phones, we just separated the threads for each of them.
@AShiningRay
I didn't see anything explicitly on this thread or in the github page, but it's BCL implemented on this new Kernel or it depends also from the ROM?
@xxseva44
Was the logs that I send any useful to help diagnose the audio recording issues?
Thank you all!
dextructor said:
@AShiningRay
I didn't see anything explicitly on this thread or in the github page, but it's BCL implemented on this new Kernel or it depends also from the ROM?
Click to expand...
Click to collapse
BCL is enabled by default on all 4.4 builds since it's nowhere near as aggressive as 3.18, but you can disable it from userspace but it requires root... though i don't really recommend doing that.
dextructor said:
@AShiningRay
I didn't see anything explicitly on this thread or in the github page, but it's BCL implemented on this new Kernel or it depends also from the ROM?
@xxseva44
Was the logs that I send any useful to help diagnose the audio recording issues?
Thank you all!
Click to expand...
Click to collapse
Ah yea, so far i haven't found anything odd. If possible, can you reboot, record something and then send the logs right after? It'll help with locating the issue if that's all that audio did the entire time the device was on.
AShiningRay said:
BCL is enabled by default on all 4.4 builds
Click to expand...
Click to collapse
So even the stock Lineage Kernel and the Swan2000 has BCL enabled, it's that right?
xxseva44 said:
If possible, can you reboot, record something and then send the logs right after? It'll help with locating the issue if that's all that audio did the entire time the device was on.
Click to expand...
Click to collapse
I'm sorry, but I didn't fully understand what you requested me. So let's recapitulate:
1) Reboot
2) Record
3) Log (Only logcat or with dmesg as well)?
Little off-topic: I noticed a strange behavior last night, when for the first time I tried to record an video with GCam (if you/anyone have another version, build to suggest, I'll be grateful) and no audio at all. So I opened the stock Camera and the audio was loud and clear. And with the stock audio recorder was also very low volume as with the other app.
Are those things even remotely related?
Thanks!
dextructor said:
So even the stock Lineage Kernel and the Swan2000 has BCL enabled, it's that right?
Click to expand...
Click to collapse
Yes
dextructor said:
So even the stock Lineage Kernel and the Swan2000 has BCL enabled, it's that right?
I'm sorry, but I didn't fully understand what you requested me. So let's recapitulate:
1) Reboot
2) Record
3) Log (Only logcat or with dmesg as well)?
Little off-topic: I noticed a strange behavior last night, when for the first time I tried to record an video with GCam (if you/anyone have another version, build to suggest, I'll be grateful) and no audio at all. So I opened the stock Camera and the audio was loud and clear. And with the stock audio recorder was also very low volume as with the other app.
Are those things even remotely related?
Thanks!
Click to expand...
Click to collapse
All logs, grab them via adb right after running the recording. As for the wonky audio levels in different apps, yes they are related. Something does not seem to be right in terms of the mixer levels so I'll need you to log all the apps that behave weird so i know what routes to look at.
So far so good. I've only had one random reboot and that was on the Safe kernel. I'm now on the Extreme kernel and no issues so far. My H990 definitely doesn't get as warm compared to the stock kernel and it still looks and feels snappy.
xxseva44 said:
I'll need you to log all the apps that behave weird so i know what routes to look at.
Click to expand...
Click to collapse
Ok I'll do probably today or tomorrow and post it later.
Since I don't play any games anymore on my phone since Clash Royale many, many years ago, the most intensive thing that I do it's occasionally video-calling via Telegram FOSS. But let me tell about my history with this V20 H990DS
I bought this device used, and the seller said that the battery needed to be replaced, and randomly it gave me green-screen reboot messages when below 30% and the thermals wasn't great because it was the end of summer here in Brazil. Since everywhere that I searched about buying new LG batteries anyone tells that it's hard to find a real original and reliable I decided to try this one from Aliexpress, and also ordered some copper shims (0.5mm and 0.6mm) to put thermal paste and improve things. And a 128GB SDcard since it was cheap now (compared to years ago... I tested with H2testw and it works perfectly)
So the battery arrived first, and even before it arrived I installed the Lineage 19 and with the new 4.X Kernel it almost never gave me more green-screen reboots, but few random reboots when below 35%.
With Lineage 18 + SwanKernel Extreme gave the most stable scenario but only one time I did try to video-call with Telegram and it went stable, but slow (probably due underclock, maybe?)
But last Friday using the new battery I tried to video-call through Telegram some relatives that live abroad, and with only 5 minutes of calling it rebooted and was warm-ish? So the copper shims arrived early that week and I decided to do the thermal mod this week.
With the 0.6mm it pressed the LCD giving a darker spot, so I decided to replace with the 0.5mm, put new thermal paste and try again... So no dark spot on the screen.
I installed Telegram on other computer and tried to call and test the V20, but it still reboots after some time, but the strange thing it never reaches 62 or higher.
I tried the CPU Throttling Test to test the thermals and it barely reaches 60 with the Extreme+Gaming or with only Extreme as well.
So after all of this, I remember that H990DS have the reputation for drawing a lot of power:
1) Even a "compatible non OEM" battery can't provide what this device demands in terms of power consumption?
2) Having a dual-sim gives me freedom in terms of separate personal-work calls etc and not having to carry 2 phones. Could a dual sim card adapter could be a better approach?
3) There's a chance that this H990DS motherboard it's problematic/defective somehow and replacing with another H990DS would fix things (or even a H990 non-DS with that dual-sim adapter)?
4) The random reboots could give some useful information somehow for you devs? And how the best way to collect it?
5) Are video-calling that demanding, even if it don't reach the same temperatures that the pure CPU stress?
6) Any tips, suggestions?
Thanks!
PS: @xxseva44 sorry I couldn't give you the logs, but the instability/problems here are taking much more time that I initially planned.