• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Development [KERNEL] [OFFICIAL] [MIUI/AOSP] [UNIFIED] LegionX V2.0 - By Venom_Stark

Search This thread

haniels6x

Member
Jun 7, 2018
16
2
And why you continue playing in "High setting" ?!
stop 🛑 it.
Legion X has some temperature on initial build because of performance.....

The rule is if you notice any temperature higher than 43 then stop it
43°c aint enough. This phone is hot asf even you're just using it for regular usage. It's alarming.

Another thing, when charging it. When its 93% it will go 95%, then from 95% it will jump to 100%. Skipping numbers lmao
 

Abdullah.Csit

Senior Member
Feb 14, 2014
629
561
Iraq
Redmi Note 8 Pro
Redmi Note 9 Pro
43°c aint enough. This phone is hot asf even you're just using it for regular usage. It's alarming.

Another thing, when charging it. When its 93% it will go 95%, then from 95% it will jump to 100%. Skipping numbers lmao

Did you test it on another rom ?
Because I tested with Crdroid & Ancient os. no serious problem with that or with weird heating you got.
 

haniels6x

Member
Jun 7, 2018
16
2
I'm using this kernel and crDroid 7.8

Charging is so fast that it skips certain percentage. Example, during charing, from 4% to 7%, then 7% to 10%. This is just an example. But why? Anyone knows why? Maybe my battery is bad already?

Sorry for bad english but I hope you understand it.
 

Abdullah.Csit

Senior Member
Feb 14, 2014
629
561
Iraq
Redmi Note 8 Pro
Redmi Note 9 Pro
I'm using this kernel and crDroid 7.8

Charging is so fast that it skips certain percentage. Example, during charing, from 4% to 7%, then 7% to 10%. This is just an example. But why? Anyone knows why? Maybe my battery is bad already?

Sorry for bad english but I hope you understand it.

I will report & Discuss it with the Developer to find out.

check my Edits on this post 🙏

EDIT: Tested by me and Venom no issue such that. it seems your battery cycle get dizzy 😅🥴 because of playing on high temperature as you mentioned "48°" which is not good for your li po battery 🔋.

I recommended this guide for you read it carefully. besides seems you gaming a lot which you got charging and playing habit or whatever.

Anyway read this:


Good luck 😃🤞
 
Last edited:

Abdullah.Csit

Senior Member
Feb 14, 2014
629
561
Iraq
Redmi Note 8 Pro
Redmi Note 9 Pro
#Kernel Changelogs:

Code:
➡️ 2021/8/4 |

• MIUI not supported for now! next version will

• Used LTO binary optimization

• Complied using proton clang with lld linker.

• Performance improvement

• Battery backup improvement



#Thread Changelog:

🆕 // 2021.august.4 //

- Introduce the new LOGO

- Kernel Updated ! 2021/8/4

- Added new note about MIUI in new update To «NOTES» section (IMPORTANT)



//


➡️🔥🆕
 

Abdullah.Csit

Senior Member
Feb 14, 2014
629
561
Iraq
Redmi Note 8 Pro
Redmi Note 9 Pro
Anyone noticed any difference in battery backup.? Should i use legion or neternal for better battery backup?
Also Anyone flashed this kernel with crdroid?

I also want to know which is better for perfomance

Both are Good. It's up to you.

the new build of LegionX has better performance & Battery backup compared to previous build. because Of LTO ( it's gives better memory management) just like reducing the size of APK for an example 😅
 

StaryMuz

Senior Member
Dec 27, 2012
370
109
The phone has a problem with CPU overload.
I've tested with all the kernels and none of them solve it.
Our phone can't handle navigation at the same time as video recording the journey.
The CPU is running at full speed and overheating. Gradually, individual cores start shutting down and applications crash.
The CPU does not slow down as the temperature rises, so overheating will occur.
 
  • Like
Reactions: qaz.xc

qaz.xc

Senior Member
Apr 13, 2011
209
22
The phone has a problem with CPU overload.
I've tested with all the kernels and none of them solve it.
Our phone can't handle navigation at the same time as video recording the journey.
The CPU is running at full speed and overheating. Gradually, individual cores start shutting down and applications crash.
The CPU does not slow down as the temperature rises, so overheating will occur.
I think this is true, i notice quite a noticeable LAG coming from whyred , like, this CPU is supposed 20% faster and performs so poorly, seems like poor-optimization at low-level, i notice a bit of the same LAG in MIUI before i switched... hopefully somebody finds a cause and it gets sorted out along with all the A/B bullshit crap.

Definitely software issue though.
 

StaryMuz

Senior Member
Dec 27, 2012
370
109
I looked at the Governors functions and found that none of them work with respect to temperature.
It's a sad realization for me.
When the highest operating temperature is exceeded, the CPU core is switched off.
I would expect that, being a "smart device", it can regulate its performance with respect to overload. 😟
 

Abdullah.Csit

Senior Member
Feb 14, 2014
629
561
Iraq
Redmi Note 8 Pro
Redmi Note 9 Pro
The phone has a problem with CPU overload.
I've tested with all the kernels and none of them solve it.
Our phone can't handle navigation at the same time as video recording the journey.
The CPU is running at full speed and overheating. Gradually, individual cores start shutting down and applications crash.
The CPU does not slow down as the temperature rises, so overheating will occur.

I think this is true, i notice quite a noticeable LAG coming from whyred , like, this CPU is supposed 20% faster and performs so poorly, seems like poor-optimization at low-level, i notice a bit of the same LAG in MIUI before i switched... hopefully somebody finds a cause and it gets sorted out along with all the A/B bullshit crap.

Definitely software issue though.

I looked at the Governors functions and found that none of them work with respect to temperature.
It's a sad realization for me.
When the highest operating temperature is exceeded, the CPU core is switched off.
I would expect that, being a "smart device", it can regulate its performance with respect to overload. 😟


Well, It's really chaotic situation we on it. snapdragon released 678 without a note for Xiaomi (that's this CPU must include cooling system) As We know it's just 675 with higher CPU clock speed & CPU frequency.

but seems this chipset with that values not handling the temperature in long terms of high use.

I hope from our Gentleman 💟 developers find out a solution to our device by team work we would be thankful as community.

@ZIDAN44 , @venom_stark , @MPK99 & @cyberknight777

Regards 👍
 
  • Like
Reactions: Engineer Bro

mamadrzy

New member
Aug 13, 2021
1
0
Hi guys this chip have thermal problem for fixing that : this chip have lot of cpu power gpu is the problem i think it's better to under clock and volt cpu and overclock the gpu tnx guys and sorry for bad English
 

nanix06

Member
Jun 7, 2016
40
9
NEW UPDATE ! MIUI SUPPORT BACK

LegionX V2.0

Thanks for this update but the informations does not aviable in spécifications of divece ..
My rom is miui global 12.5.2
Screenshot_2021-09-03-13-43-18-343_com.android.settings.jpg
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    greets to devs
    1
    Thanks for this update but the informations does not aviable in spécifications of divece ..
    My rom is miui global 12.5.2
    View attachment 5400799
    miui doesn't allow long names that's why (proton clang used and the name is very long)... don't worry everything is fine
    1
    Thanks for this update but the informations does not aviable in spécifications of divece ..
    My rom is miui global 12.5.2
    View attachment 5400799

    Check notes:

    « NOTES »
    In MIUI / MIUI based ROMs, kernel version will show "Unavailable" because MIUI doesn't support long names (because I used proton clang and lld) but kernel working perfectly you can see name in FKM tough.
  • 11
    IMG_20210903_150946_068.jpg


    « Disclaimer & INFO »​

    Code:
    # include <std_disclaimer.h>
    /*
    * Your warranty is... Still valid??.
    *
    * I am not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this KERNEL
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at me for messing up your device, I will laugh at you.
    */

    Note: I'm just a library man all works saved to their owners this kernels made by love check credits. All copyright saved here with developer premison 😊👍
    Name of Kernel: LegionX

    Version of kernel: 2.0 NEW

    Lates stable Update: 2021/sep/03

    Supported Roms: MIUI & AOSP

    Status: Stable




    UNIFIED = MOJITO / SUNNY



    « Changelogs »

    [ Latest Release Changelog ]


    Check Post #2 (click number) for changelogs

    « NOTES »
    In MIUI / MIUI based ROMs, kernel version will show "Unavailable" because MIUI doesn't support long names (because I used proton clang and lld) but kernel working perfectly you can see name in FKM tough.
    • It's AIMING on Performance, stability,..
    • If you can't flash with TWRP , use FK manager to flash it "root required".

    KCAL works fine .Everytime you changed value in KCAL just screen off (Don't power off) and open screen .
    New value will apply.

    • If your device not booting to system just bootloop or fastboot only. Don't panic. re-flash your rom file without wiping data. And please report here with the name of rom and any details.

    • If you update TWRP recovery, reflash the kernel again too.

    • You don't need to Wipe data ! Only cashe and Dalvik.

    • Report for any bugs/issues with logs if available.

    « DOWNLOADS »
    Latest Stable Build (LegionX V2.0):

    Click here to download LegionX V2.0 (MIUI/AOSP)
    Previous Stable build:

    Click here to download V 1.0-LTO (AOSP Only) Build


    « INSTALLATION »
    1- Download Kernel & save it on internal storage.
    2- Boot to recovery (TWRP).
    3- Flash the kernel zip file.
    4- Wipe Cashe & Dalvik. “Don't Wipe Data
    5- Reboot to system.

    NOTE: For pixel experience rom, use this Guide:

    IT'S can safely installed on Pixel experience. Just follow this:

    1- Boot TWRP recovery with this command:

    Code:
    fastboot boot twrp.img

    2- Don't Install ramdisk or anything just go to LegionX Kernel on your storage and flash it.

    3- Wipe Cashe & Dalvik.

    4- Power Off then power on your device.

    Done.

    « CREDITS »
    • Kernel by: @venom_stark , Thanks 😊
    • Thanks to @ZIDAN44 , @CloudedQuartz ,@cyberknight777 & @Shararti1 .
    • Thanks @AnomYT for Banner
    • XDA-OP: @Abdullah.Csit
    • #All testers.
    • GitHub Source Link: https://github.com/venom-stark/mojito...
    SHOW YOUR SUPPORT BY HITTING LIKE 👍
    4
    I'll prolly look into eff freqs and cpuidle with lpm vals
    3
    #Kernel Changelogs 2021/9/03:

    Code:
    LegionX v2.0:
    -schedtune_assist: Cleanup and update
    -sched/tune: Only force UX tasks to big cores
    -f2fs: Enlarge min_fsync_blocks to 20
    -diag: Add timer to make sure wakelock no stuck
    -fs: Reduce cache pressure
    lib/string: optimized memcpy,memmove, memset
    -arm64: Import latest memcpy()/memmove() implementation
    -ARM64/dts: qcom: Disable CoreSight DT entries for sdmmagpie
    -scsi: ufs: Scrap Qualcomm's PM QoS implementation
    -scsi: ufs: Scrap Qualcomm's PM QoS implementation
    -msm: adreno: Relax CPU latency requirements to save power
    -sched/fair: fix misfit with PELT
    -qos: Don't allow userspace to impose restrictions on CPU idle
    -mmc: Disable SPI CRC
    -iommu: msm: Rewrite to improve clarity and performance
    -PM: sleep: Don't allow s2idle to be used
    -rcu: Speed up calling of RCU tasks callbacks
    -Enable JUMP_LABEL and added some jump lebel patches


    Code:
    ➡️ 2021/8/4 |
    
    • MIUI not supported in this update ( On V2.0 will get update)
    
    • Used LTO binary optimization
    
    • Complied using proton clang with lld linker.
    
    • Performance improvement
    
    • Battery backup improvement



    #Thread Changelog:

    🆕 // 2021.august.4 //

    - Introduce the new LOGO

    - Kernel Updated ! 2021/8/4

    - Added new note about MIUI in new update To «NOTES» section (IMPORTANT)



    //
    3
    Ok I wanted to test if fastbooting is the problem for my device. So I tried to fix my adb drivers so I can try sideloading for the first time. Managed to fix the driver (adb devices finally showed my device in PE recovery).
    What I did next:

    1. While in PE recovery - apply update - adb sideload crDroid.zip - installed
    2. Rebooted - crDroid WORKS!
    3. Set up debugging, copied FlameGapps.zip to "Download" folder (it was not displaying in root while in TWRP)
    4. Reboot to TWRP - open Download - Flashed Gapps

    Booted without issues, everything's working!