[NOTES]
Guys, there are many members encounter blackscreen (after system boot) after flashing the driver on the LATEST Pie ROM (it's happening after September security patch).
Looks like it's due to the hardening security.
This method fixed that blackscreen problem : https://forum.xda-developers.com/showpost.php?p=78355758&postcount=1047
Or the better way is, to tell your dev to include this blobs in the rom directly, that way the rom will boot successfully.
I will try to solve the issue ASAP, best regards.
[DISCLAIMER]
* flash it with your own risk, don't blame me if it's not working for you, make sure to backup before you messed up.
* there are possibilities that maybe this driver won't work on some ROMs.
* there are possibilities that maybe this driver won't work on some CPUs that hasn't been tested.
[README]
* to check your GPU driver OpenGL ES version, use AIDA64 (like shown on the picture in attachment). download : https://play.google.com/store/apps/details?id=com.finalwire.aida64&hl=en_US
* to check your GPU driver Vulkan version, use Vulkan Hardware Capability Viewer (like shown on the picture attachment). download : https://play.google.com/store/apps/details?id=de.saschawillems.vulkancapsviewer&hl=en_US
* if your current driver have higher version and don't have any bugs, no need to flash this driver.
* check your device compatibility in compatibility list section.
* some tester said the benchmark score go higher and 3D heavy games are smoother using latest GPU driver, you can try to take before and after benchmark pictures and post it here to prove it.
* the driver is interchangeable (can be flashed over the top of another version, it will be replaced).
[COMPATIBILITY]
PROJECT :
* Non-Treble
* Treble
OS :
* Android 8.0 : [email protected]
* Android 8.1 : [email protected]
* Android 9.0 : [email protected] | [email protected] | [email protected]
CPU :
* Snapdragon 430 = msm8937 (tested)
* Snapdragon 435 = msm8940
* Snapdragon 625/626 = msm8953 (tested)
* Snapdragon 650 = msm8956 (not compatible)
* Snapdragon 652/653 = msm8976
* Snapdragon 820/821 = msm8996 (tested)
* Snapdragon 835 = msm8998 (tested)
* Snapdragon 429 = sdm429
* Snapdragon 439 = sdm439
* Snapdragon 450 = sdm450
* Snapdragon 630 = sdm630
* Snapdragon 632 = sdm632
* Snapdragon 636 = sdm636
* Snapdragon 660 = sdm660 (tested)
[INSTRUCTIONS]
1]. find out what is your CPU model number, you can see it in COMPATIBILITY section, on CPU sub-section. for example, my CPU is Snapdragon 821, so the CPU model number is msm8996.
2]. download the zip file. rename file in the zip file with name "vulkan.xxx.so" in system/(vendor)/lib/hw and system/(vendor)/lib64/hw to "vulkan.CpuModelNumber.so". for example, for me, i rename "vulkan.xxx.so" to "vulkan.msm8996.so".
you can use this app to rename the file inside the zip file : https://play.google.com/store/apps/details?id=com.rarlab.rar
DO NOT EDIT FILE NAMED "a5xx", ONLY EDIT FILE NAMED "vulkan.xxx.so", I HAVE TO MENTION THIS BECAUSE SOME GENIUS DECIDE TO DO THINGS BY THEIR OWN REGARDLESS FOLLOWING THE INSTRUCTIONS THAT HAS GIVEN STEP BY STEP.
3]. boot into TWRP
4]. make sure your SYSTEM and VENDOR partitions are not read only.
5]. just in case, mount SYSTEM and VENDOR partitions before flash the zip file.
6]. flash the modified zip file, wipe Dalvik Cache and Cache.
7]. after flash, boot into system, and check if your GPU Version driver has changed (you can use AIDA64). and you can test benchmark if you want (i suggest 3DMark or Antutu).
8]. this step is optional/additional : to boost GPU performance a little bit again, please add this code in system/vendor/build.prop (or in system/build.prop if you can't find it in system/vendor/build.prop). and please check if there's the same code line in your default build.prop, remove it so it won't conflicting each other. code to add :
com.qc.hardware=true
debug.composition.type=gpu
debug.egl.hw=1
debug.egl.profiler=1
debug.enabletr=true
debug.gralloc.enable_fb_ubwc=1
debug.overlayui.enable=1
debug.performance.tuning=1
debug.qc.hardware=true
debug.qctwa.preservebuf=1
debug.qctwa.statusbar=1
debug.sf.hw=1
debug.sf.latch_unsignaled=1
dev.pm.dyn_samplingrate=1
hw3d.force=1
hwui.disable_vsync=true
hwui.render_dirty_regions=false
ro.config.enable.hw_accel=true
ro.fb.mode=1
ro.product.gpu.driver=1
ro.sf.compbypass.enable=0
[DOWNLOADS]
https://drive.google.com/drive/folders/1JN05hFMijXq2Xpn_tFv1AJWodVnQYTsu
[BUGS REPORTING]
* provide device model.
* provide ROM name, android version, and treble/non-treble version.
* which file did you flash.
* provide logcat, preferable taken with adb using verbose option. how to : https://forum.xda-developers.com/showthread.php?t=2185929
* I WILL NEVER TRY TO INSPECT/FIX ANYTHING IF YOU DON'T SEND LOGS, SAME GOES I WILL NEVER REPLY YOUR MESSAGE IF YOU DON'T SEND LOGS.
[OTHER STUFFS]
* Do this only if you get stock camera app force close : https://forum.xda-developers.com/showpost.php?p=77971228&postcount=803
* A little help from @LilBlinx for msm8953 devices : https://forum.xda-developers.com/showpost.php?p=78574409&postcount=1123
[CREDITS]
* Source : v313 : https://www.coolapk.com/feed/7290260 | v319 : https://www.coolapk.com/feed/7483860 | v328 : https://github.com/LineageOS | v330 : https://github.com/syberia-project
* Driver Author : v313, v319椿的神之圍樓 | v328, v330, v331 : @[B]heindrix[/B]
* Informant : @[B]llinn[/B]
* WHY DON'T YOU CREATE MAGISK MODULE?
Well, i just believe the performance will be better to flash the driver directly into its designated directory, rather than mounting it from an image and load it later when booting (which is what is magisk doing). For me, some other things is okay to make it into a magisk module, but not a driver, period.
Source? You might want to remove the 540 links since we only need 530, just to save any 'which one' questions.
With 3DMark I used the Sling Shot Extreme (Open GL ES 3.1 & Vulkan) and Ice Storm (Open GL ES 2.0) benchmarks. Results again remained pretty much the same before/after. SSE was ~2550-2700 for Open GL and ~1900-2000 for Vulkan. Ice Storm was almost always ~38,500.
In Antutu though, I got a considerable boost (76k on GPU instead of my usual max of 69k).
I'd be interested to see what others get, and if there are any alternative benchmark apps worth using.
gavin19 said:
Source? You might want to remove the 540 links since we only need 530, just to save any 'which one' questions.
With 3DMark I used the Sling Shot Extreme (Open GL ES 3.1 & Vulkan) and Ice Storm (Open GL ES 2.0) benchmarks. Results again remained pretty much the same before/after. SSE was ~2550-2700 for Open GL and ~1900-2000 for Vulkan. Ice Storm was almost always ~38,500.
In Antutu though, I got a considerable boost (76k on GPU instead of my usual max of 69k).
I'd be interested to see what others get, and if there are any alternative benchmark apps worth using.
Click to expand...
Click to collapse
got it from a friend.
he said he got it from a china forum www.coolapk.com.
the driver is extracted from Pixel 2/Essential PH-1, since msm8998 gpu driver can be used for msm8996 too.
is it possible to merge the driver into your rom? (crdroid, aicp, rr)
okay, done a bit research.
i downloaded Google Pixel driver binaries from here (taimen and walleye for Adreno 540, and marlin and sailfish for Adreno 530) : https://developers.google.com/android/drivers
looks like the same files, and the binaries were updated very regularly, which is good.
maybe i'll create a magisk flashable zip and try to flash it to see if it works fine.
if it works fine, i'll update it regularly here everytime google release new driver binaries.
The lowest is before and the highest is after.
I'm using the magisk non treble version.
thanks, but radiation Island and radiation city are unable to run after I updated 313 driver (I tried both magisk and rec edition;other games and apps work fine)
could you fix this ?
or it's the problem of game maker so I just need to waitting for them upadate games?
With the new v8 Magisk version
xX.R.O.G.Xx said:
With the new v8 Magisk version
Click to expand...
Click to collapse
Wrong image sorry, here is the new one.
Will this work on an oneplus 3 running oxygen os on Android 8.0? Thanks!
Annoyingmouse said:
Will this work on an oneplus 3 running oxygen os on Android 8.0? Thanks!
Click to expand...
Click to collapse
Pretty sure it'll work fine. It should work for all SD820/821 devices. Just take a backup in TWRP so you can restore if it breaks something.
Wow, the new driver is amazing! I really don't know what it changed but it was magic! Not only my gpu AnTuTu score is higher but somehow the phone doesn't get as warm as before, the temperature is just stable. Also I have tested one game - madout open city - and I think that the phone throttloted less because I had higher fps and everything was smooth. I'm just impressed with what 313 did, I feel like qualcomm is really trying to improve their drivers even on older models.
Really nice to find this option using magisk....
But bootloop on MIUI 9.5.2 Android N
Bootloop with v6 driver twrp version.
OS epicrom 7.10.26
how to use magisk flash this driver?
or reboot recovery flash thish driver?
sis3002001 said:
how to use magisk flash this driver?
or reboot recovery flash thish driver?
Click to expand...
Click to collapse
For me Flash with magisk failed.... then like all time, flash using TWRP is much easier !!
DOn't do like me, make a backup first !!
I need dirty flash my rom and when i install magisk again he found lastest img from magisk then restore and module bootloop again, borrrrrrinnnnng !
Install with magisk
Ouch I think that I beat even some snapdragon 835 decices with my op3 on 313 drivers & android 8.0
V8magisk 821 edition LINK can't download
Annoyingmouse said:
Ouch I think that I beat even some snapdragon 835 decices with my op3 on 313 drivers & android 8.0
Click to expand...
Click to collapse
The GPU score is about what's expected, given the boost from the drivers, but it's the CPU score that stands out. 60k is typical of the 3T, but not the 3.
sis3002001 said:
V8magisk 821 edition LINK can't download
Click to expand...
Click to collapse
I upload the V6 and V8 zips here.
Yeah sorry I think I should have mentioned that the cpu was slightly oc-ed to 2.25 ghz, so closer to the op3t's stock clock speed; this is how I let the phone run always when Im not low on power..but everything else was just like oxygen os stock.
Related
Hey everyone, over at The Nexus 5X Forum we tweaked the thermal throttling behavior of the phone. Since The Moto X Pure uses the same SOC, we can also apply this (with a few changes) to this phone.
Update: Please uninstall the old version and reinstall as soon as the new version is online.
Update: Now with a Aroma zip isntaller, see post 2. thanks @tohtorin
I don't own this phone, so I need to rely on some volunteers to test things out.
Of course, you need root and this could potentially damage your phone, so don't crank up the thermals too high. I'm not responsible for any damages, tweak at your own discretion. Even though the phone (probably) has built in overheating protection, be careful.
Naturally, you can also use this to decrease the temps if you think it's too hot, downclock the CPU's, or disable the big cluster alltogether.
One more thing. This will work on the stock kernel. I don't know about other kernels, since they might implement their own thermal tweaks.
First, I'll show you how to actually see the CPU and GPU frequencies. You need the following apps: trepn profiler, stability test and Antutu 3D bench. Trepn profiler can show the frequencies in an overlay, switch to advanced mode and select what you want to see. Don't look at the CPU temperature, it looks crazy hot, but it's irrelevant. The real important temperatures cannot be shown in here.
Stability test is a small app that pushes the CPU so you can quickly see the throttling behavior. Antutu 3D bench is just that, a benchmark for 3D. If you run this a few times and the GPU does not drop it's frequency, than we can confirm that it doesn't throttle.
Let's start with the GPU. It seems that, on this device, the GPU is not throttled at all. It seems strange, since the Nexus 5X's GPU is throttled quite aggressively. If someone could confirm this, that would be nice.
The file that needs to edited is located under /system/etc and is called thermal-engine-clark.conf. You need a root explorer to edit the text and set permissions.
Let's move on to the big cluster (the fast cores): There are two relevant entries for them.
The hotplug temperature determines at what temperature the big cores are shut down.
Code:
[HOTPLUG-CPU5] and [HOTPLUG-CPU4]
thresholds [B][COLOR="Blue"]44[/COLOR][/B]000 and [COLOR="blue"][B]47[/B][/COLOR]000
thresholds_clr [COLOR="blue"][B]42[/B][/COLOR]000 and [B][COLOR="blue"]45[/COLOR][/B]000
The blue numbers represent the temperature at which the core is shut down. Thresholds means when it is shut off, thresholds_clr when it goes back online. Keep at least 2°C between them.
Next is the throttling behavior. Both cores' throttling is determined by this setting:
Code:
[MONITOR-QUIET-1]
thresholds [B][COLOR="blue"]44[/COLOR][/B]000 [COLOR="blue"][B]45[/B][/COLOR]000 [COLOR="blue"][B]46[/B][/COLOR]000
thresholds_clr [B][COLOR="blue"]42[/COLOR][/B]000 [COLOR="blue"][B]43[/B][/COLOR]000 [COLOR="blue"][B]45[/B][/COLOR]000
action_info [B][COLOR="SeaGreen"]1632[/COLOR][/B]000 [COLOR="seagreen"][B]1248[/B][/COLOR]000 [COLOR="seagreen"][B]960[/B][/COLOR]000
Again, the blue numbers show the temperature, and thresholds means when it clocks down, thresholds_clr when it increases the clock. Keep at least 1°C between them. The green numbers show the clock speed. That means @44°C the big cores' frequencies wil be decreased to 1.632 GHz (down from 1.824 GHz) and so forth.
Now to the little cores. Only one of them is shut off at a certain temperature:
Code:
[HOTPLUG-CPU2]
thresholds [B][COLOR="Blue"]48[/COLOR][/B]000
thresholds_clr [B][COLOR="Blue"]45[/COLOR][/B]000
The throttling behavior:
Code:
[MONITOR-QUIET-0]
thresholds [B][COLOR="Blue"]46[/COLOR][/B]000 [B][COLOR="blue"]48[/COLOR][/B]000
thresholds_clr [COLOR="blue"][B]44[/B][/COLOR]000 [B][COLOR="blue"]46[/COLOR][/B]000
action_info [COLOR="SeaGreen"][B]1248[/B][/COLOR]000 [COLOR="seagreen"][B]960[/B][/COLOR]000
Profiles and Installation
I created some profiles that you can place and overwrite in your system/etc folder (rename them to thermal-engine-clark.conf). Set permissions to rw- r-- r-- and reboot
Update: thanks @tohtorin for a flashable zip!
Update: Please uninstall the old version and reinstall as soon as the new version is online. Sorry for the inconvenience.
The new installer 1.2 and uninstaller 0.2 are online. I also attached the old 0.1 uninstaller in case someone still needs it. The magisk uninstaller didn't change.
Code:
INSTALLATION:
1. Download installer zip
2. Only IF using magisk, download magisk module for moto x as well
3. Reboot to custom recovery
4. Only IF using magisk (requires magisk v6 or higher) flash thermal tweaking magisk module
5. Flash installer zip
6. Select proper installation method:
- Systemless for SuperSU systemless install (requires SuperSU v2.76 or higher)
- Magisk for magisk install (requires magisk v6 or higher)
- System for classic system install (writes directly to system partition and might trigger dm-verity, breaks OTAs)
7. Select profile to be installed (uses stock by default)
8. Enjoy your snappier Moto X
UNINSTALLATION (Only with systemless or magisk):
1. Download uninstaller zip IF using magisk then download uninstaller for magisk
2. Reboot to recovery
3. Flash uninstaller zip
4. Reboot back to stock thermal settings
If using system mode just flash stock settings with installer to get back to stock
Light profile:
Increase all blue temperatures by 2. This should be almost risk free.
Medium:
4. This will make your phone noticably warmer.
Heavy:
6. Should be safe, but that's just an estimate.
Insane:
8. That is hot. Would not recommend it.
I'll make an installer for this today. It supports supersu systemless, magisk and normal system install.
Stay tuned.
So what about this file
“/system/bin/thermal engine”?
lknnnn said:
So what about this file
“/system/bin/thermal engine”?
Click to expand...
Click to collapse
No. Thats the engine binary itself. Config file is located at /system/etc/thermal-engine-8992.conf
---------- Post added at 14:52 ---------- Previous post was at 14:39 ----------
NOTE: I do not own this device so there might (and probably will) be bugs around. Just report them to me with recovery log if possible.
AROMA installer ported from Nexus 5x
Changelog:
v1.1
* Fixed few typos
v1.0
* Initial release
* Ported from Nexus 5x
* Support magisk, system and systemless installations
INSTALLATION:
1. Download installer zip
2. Only IF using magisk, download magisk module for moto x as well
3. Reboot to custom recovery
4. Only IF using magisk (requires magisk v6 or higher) flash thermal tweaking magisk module
5. Flash installer zip
6. Select proper installation method:
- Systemless for SuperSU systemless install (requires SuperSU v2.76 or higher)
- Magisk for magisk install (requires magisk v6 or higher)
- System for classic system install (writes directly to system partition and might trigger dm-verity, breaks OTAs)
7. Select profile to be installed (uses stock by default)
8. Enjoy your snappier Moto X
UNINSTALLATION (Only with systemless or magisk):
1. Download uninstaller zip IF using magisk then download uninstaller for magisk
2. Reboot to recovery
3. Flash uninstaller zip
4. Reboot back to stock thermal settings
If using system mode just flash stock settings with installer to get back to stock
Download primarily from OP attachments, but here is direct secondary links:
Installer:
http://drg.fi/misc/thermal_tweaking_systemless_motox_v1.1.zip
Magisk module:
http://drg.fi/misc/thermaltweaking_magisk_motox.zip
Uninstaller (which is same for N5X and motox):
http://drg.fi/misc/thermal_tweaking_uninstaller_v0.1.zip
Uninstaller for magisk:
http://drg.fi/misc/thermal_tweaking_magisk_uninstaller_v0.1.zip
@Razorless you can update OP accordingly
Enjoy!
got it.thanks
Fixed few typos from installer so do not care if old one says in recovery "Selected profile: Normal" even tho you selected different. Its just a typo and it is fixed now.
Updated installer:
http://drg.fi/misc/thermal_tweaking_systemless_motox_v1.1.zip
Will test as soon as I get the time.. The file is of a different file name btw
ffonegod said:
Will test as soon as I get the time.. The file is of a different file name btw
Click to expand...
Click to collapse
Do you mean this is the only engine you see in system/etc after installing? When using the systemless installation, it can occur that certain file managers no longer "see" the thermal-engine-8992. This is because the system gets the information from a differernt file. Nothing to worry about.
Razorless said:
Do you mean this is the only engine you see in system/etc after installing? When using the systemless installation, it can occur that certain file managers no longer "see" the thermal-engine-8992. This is because the system gets the information from a differernt file. Nothing to worry about.
Click to expand...
Click to collapse
that's the stock engine file name actually before installing..
@Razorless I think we need to change those profile file names since I think moto x reads that clark file instead of 8992 so flashing our installer does not affect thermal engine?
tohtorin said:
@Razorless I think we need to change those profile file names since I think moto x reads that clark file instead of 8992 so flashing our installer does not affect thermal engine?
Click to expand...
Click to collapse
That's my point.. Clark has a different file name engine so flashing the "8992" won't make a difference.. It wouldnt overwrite the stock file you would just have 2 file engines installed
ffonegod said:
That's my point.. Clark has a different file name engine so flashing the "8992" won't make a difference.. It wouldnt overwrite the stock file you would just have 2 file engines installed
Click to expand...
Click to collapse
Thermal engine uses different config file so yes you are right it does not even try to load different one. I can make a changes to installer when razorless confirms this.
N5X and LG G4 has 8992 conf file, dont know about other 808 SoC devices.
tohtorin said:
Thermal engine uses different config file so yes you are right it does not even try to load different one. I can make a changes to installer when razorless confirms this.
N5X and LG G4 has 8992 conf file, dont know about other 808 SoC devices.
Click to expand...
Click to collapse
To verify that, someone needs to upload all thermal-engine files present on a stock Moto X so we can take a look at this.
I know the LG G4 has two thermal engines, but both the G4 and 5X read the 8992 for throttling/hotplugging. The thermal engine I found somewhere on the Moto forum was only named "Moto default", so I didn't know it's original file name. I just assumed it was the same as on the G4 and 5X.
Razorless said:
To verify that, someone needs to upload all thermal-engine files present on a stock Moto X so we can take a look at this.
I know the LG G4 has two thermal engines, but both the G4 and 5X read the 8992 for throttling/hotplugging. The thermal engine I found somewhere on the Moto forum was only named "Moto default", so I didn't know it's original file name. I just assumed it was the same as on the G4 and 5X.
Click to expand...
Click to collapse
http://forum.xda-developers.com/attachment.php?attachmentid=3775249&d=1465303814.. That's the moto default file u mentioned
Found it.. This is the engine on my device presently
ffonegod said:
Found it.. This is the engine on my device presently
Click to expand...
Click to collapse
Thanks, this confirms that the name of the engines need to be changed.
So everyone please uninstall the thermal tweaks and reinstall as soon as the new zip is ready. Or download the new profiles from post two and overwrite.
That sounds interesting but what are the expected benefits?
AROMA installer updated:
Changelog:
Systemless installer v1.2
* Fixed thermal engine config filename
Magisk module v0.2
* Fixed config filename
Now Moto X has its own uninstaller (the same with N5X does not work anymore):
Uninstaller v0.2
* Fixed config file name
Download from here:
Installer:
http://drg.fi/misc/thermal_tweaking_systemless_motox_v1.2.zip
Uninstaller:
http://drg.fi/misc/thermal_tweaking_uninstaller_motox_v0.2.zip
Magisk module:
http://drg.fi/misc/thermaltweaking_magisk_v0.2_motox.zip
@Razorless update OP accordingly
Enjoy!
tohtorin said:
AROMA installer updated: Enjoy!
Click to expand...
Click to collapse
Thanks, post #2 has been updated
DekkerP6 said:
That sounds interesting but what are the expected benefits?
Click to expand...
Click to collapse
The phone will not throttle as much under heavy load with a tweaked thermal-engine, but it will become warmer.
Disclaimer:
LineageOS (Lineage Android Distribution) members or anyone else on this website is 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 the products you find here before flashing it! YOU are choosing to make these modifications, and if you point the finger at us for messing up your device, we will laugh at you. Your warranty will be void if you tamper with any part of your device / software.
How to Install:
1- BACKUP, BACKUP, BACKUP
2 - Unlock bootloader via fastboot
3 - Flash TWRP
4 - Move Rom & Gapps into internal storage
5 - Full Wipes
6- Flash Rom & Gapps (OPTIONAL)
WORKING:
-Mostly all
NOT Working:
-SE Linux is Permissive
- Video, Camcorder FIXED
- You tell me
GPL:
device:
https://github.com/dragonpt/android_device_lenovo_x103f
vendor:
https://github.com/dragonpt/proprietary_vendor_lenovo_x103f
kernel:
https://github.com/dragonpt/android_kernel_lenovo_msm8909
Thanks
@bbelos (all the initial bring up)
@GartimusPrime
LineageOS
XDA:DevDB Information
[ROM] [UNOFFICIAL] LineageOS 14.1 | Lenovo TB-X103F | 7.1.2, ROM for the Android General
Contributors
superdragonpt, bbelos, GartimusPrime
Source Code: https://github.com/dragonpt
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.x
ROM Firmware Required: Unlock BL, TWRP
Based On: LineageOS
Version Information
Status: Beta
Created 2018-12-14
Last Updated 2018-12-14
FAQ
Small FAQ:
Q: How can i Unlock Bootloader & flash TWRP?
A: Instructions for Unlocking Bootloader & TWRP can be found here
Q: How can i root this rom?
A: You need to flash LineageOS root addon via TWRP, download from here
Choose the Version 14.1 "addonsu-14.1-arm-signed.zip"
--> Then go to Settings > Developer Options > Choose your root access
Changelogs / Downloads
ChangeLogs:
Build: 20181213
First Release
build.id=NJH47F
version.release=7.1.2
Security_patch=2018-11-05
Device Specifics Changes:
Custom Kernel (upstream, fixs, etc)
Increase Volume Level
Fix (mostly) of speakers *pop* issues
Memory management improvements
Other stuff ...
https://www.androidfilehost.com/?fid=11410963190603873991
Build: 20181214
Fix Video Recording & media server issues
Update GPU Adreno blobs ( Better UI / UX )
Add missing OMX codecs
Update and fine tune mediacodec performance values
https://www.androidfilehost.com/?fid=11410963190603875272
Build: 20181215
Add FMRadio support
https://www.androidfilehost.com/?fid=11410963190603875738
Build: 20191124
Rom Updated to latest patch level 2019-11-05
Kernel: Disable CRC for a bit more performance
Device: Merged (most) of @deadman96385 clean up and changes, thanks for the cleaning
(left out offended commits that where leading to constant reboots, and that broke camera), check my github for more info
Recents optimizations
Actually Enable KSM
zram: decrease it's size (512 > 256mb) for a bit more performance
ART: some tuning
etc
https://www.androidfilehost.com/?fid=4349826312261644319
..
thanks very much, been looking for a new ROM for my daughters tablet for a while now
JaffaTB said:
thanks very much, been looking for a new ROM for my daughters tablet for a while now
Click to expand...
Click to collapse
yeah it's also my daughters tablet
will be doing another build soon, think i fixed some other issues that had been around forever
edit: just noticed Video recording is broken on all custom roms ... i never really recorded anything on this device
...either way.. seems fixed now, doing a clean build
cheers
That might have been why Snapchat didnt load up?
JaffaTB said:
That might have been why Snapchat didnt load up?
Click to expand...
Click to collapse
yup, very possible, was broken
is fixed now...
im just updating other stuff while i have the time
edit: Snapchat Opens and takes pics just fine
( new user here) i guess this is fine now?
Thanks, very appreciated
EDIT: snapchat would let me even log in before, kept getting the "snapchat keeps closing" error, so yeah looks fixed
JaffaTB said:
Thanks, very appreciated
EDIT: snapchat would let me even log in before, kept getting the "snapchat keeps closing" error, so yeah looks fixed
Click to expand...
Click to collapse
cool then, great :laugh:
New build is up
Build: 20181214
Fix Video Recording & media server issues
Update GPU Adreno blobs ( Better UI / UX )
Add missing OMX codecs
Update and fine tune mediacodec performance values
cheers
woohoo i can flash it for my daughter to play on in the morning, much appreciated
thanks very much
omg thx I've been searching for this ?
unfortunately i was looking for oreo, but it's not a problem anyway.
New build is up
Build: 20181215
Add FMRadio support
Cheers :laugh:
hi guys!
We need Gapps for this ROM ?
cause the Gapps i found for 7.1 gets the device too slow
without that it works perfect the rom even the cam/video recorder
radio all..
Indeed gapps has become heavier and heavier..
also, the device lacks ram (1gb Ram) & the emmc is also slow.
You could try:
Full wipes (backup your stuff first)
Flash rom + pico gapps arm 7.1
Clean cache + clean dalvik/art cache
Reboot
There's couple things Im around to take out all the juice I can out of this device
The latest GPU adreno blobs changes introduced , gave it an extra speed , and better UI overall
Cheers
Thankyou
Thanks for this ROM with volume fix, very speedy, the best the tablet
Has performed since new using latest opengapps 7.1 pico without problems
superdragonpt said:
Indeed gapps has become heavier and heavier..
also, the device lacks ram (1gb Ram) & the emmc is also slow.
You could try:
Full wipes (backup your stuff first)
Flash rom + pico gapps arm 7.1
Clean cache + clean dalvik/art cache
Reboot
There's couple things Im around to take out all the juice I can out of this device
The latest GPU adreno blobs changes introduced , gave it an extra speed , and better UI overall
Cheers
Click to expand...
Click to collapse
I followed ur way and now my tab work better than ever... ??
In fact I think for a device like ours its already the Top. ?
Thank u for your hard work ?
Ok next release will have some changes to what concerns to zram / memory allocation
The current ( also on stock ) 512 mb of swap is too much for this device, taking out way too much precious (real) ram , up to +100mb of real ram used by the 512 mb virtual swap...
Ram is the one resource that needs more attention on this device..
Cheers
superdragonpt said:
Ok next release will have some changes to what concerns to zram / memory allocation
The current ( also on stock ) 512 mb of swap is too much for this device, taking out way too much precious (real) ram , up to +100mb of real ram used by the 512 mb virtual swap...
Ram is the one resource that needs more attention on this device..
Cheers
Click to expand...
Click to collapse
Hello, I have ordered one of these tablets, in the meantime, I downloaded the latest qpst flashable firmware for it from a paid site i belong too, It includes the firehose for the device. Here it is in case you didn't have it already.
https://www.androidfilehost.com/?fid=11410963190603888971
WARNING : I am not responsible for Thermonuclear war in your pocket or bricked devices, use at your own risk!!!! following insructions
I know it is too late but Finally Custom kernel for our Rm2pro is finally ready
I have put a lot of effort to fix the ****ty oppo source, especially fixing WiFi took pain in my ass.
Features:
1. enabled system rw remount, now you can uninstall system apps directly, use apps like adaway
2.add support for Btrfs, Reseirfs, Xfs , Ntfs in kernel
3. add lz4, bzip2, lzo, lzma and xz compression option for ramdisk
WIP
1. lz4 compression of kernel
2. various cpu governors and i/o schedulers
Planned features:
1. Multi Rom booting option with Kexec
2. upstreaming with Linux kernel and CAF === Lot of security fixes
3. I am not gonna leave this kernel any soon :laugh:
Bugs : you tell me
lenk : https://www.androidfilehost.com/?fid=1395089523397968557
Special Mention:
1.thanks to @osm0sis for his anykernel2 zip
2. Everyone else who helped me with this
Compatible Roms:
Oreo : any rom Stock or custom
Pie : You test and tell me
Flash Instruction:
1. First backup your boot.img in recovery in case it will be helful later
2. flash the zip from recovery and reboot!! No need to wipe any ****
FAQ:
1.How to report bugs?
take a proper dmesg log and logcat and report
2.Where to report?
Preferably in Realme 2 pro Telegram group , if not possible here
3. How to request feature?
preferable in this thread, and (if) any link where you found that feature
XDA:DevDB Information
Redfeast_Kernel, Kernel for the Realme 2 pro
Contributors
redfeast
Source Code: https://github.com/redfeast/android_kernel_oppo_RMX1801
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 1.1
Stable Release Date: 2019-05-18
Created 2019-05-18
Last Updated 2019-06-04
Good work mate keep it up
Great work! Keep it up!
Feature requests
1. Dts Eagle support (audio enhancement)
2. Little gpu over clock (idc about cpu)
3. Charging speed around (1500Ma)which is safe as max pro m1 comes with 1800ma out of the box. (realme has only given 900-1100Ma)
4. DT2W
??
Great work mate.
great work mate. i only request you return the gpu clock to 2.2 as it should be and maybe some oc for cpu as well. thank you. will try asap.
I guess R2pro battery can't sustain overclock of either GPU or CPU from stock values, may be that is why they lowered them
redfeast said:
I guess R2pro battery can't sustain overclock of either GPU or CPU from stock values, may be that is why they lowered them
Click to expand...
Click to collapse
i think it just to preserve more battery thats why they set it to 1.9-2ghz only instead of 2.2ghz. it's nice if we can have option to 2.2ghz though
This kernel is very useful. now red color warning message (ie., rooted mobile) is not coming!!! and we can delete unwanted system apps via es file manager. but we can delete in local drive only. Any way im happy. i hope this kernel maybe work in upcoming stable stock pie rom. Thank you guy.
Thanks for the kernel...The red notification is no longer coming after rooting ..
But LMAO what did u do to the CPU with this kernel??
My antutu score got reduced from 130000 to 85000
Really happy for seeing custom kernel:good:
Hotspots bug is there
Kernel is good. But one major bug is there. That bug is wif hotspot. After flashing kernel and magisk. Mobile is perfectly rooted. red colour warning msg is also stopped and RW is working. very interesting, But first time hotspot is working but after restarting mobile and laptop, the hotspot will not work properly. Laptop shows connected but no internet!!! i cheched stock rom coloros 5.2 ver 14, 15 and 17.
hero197 said:
Kernel is good. But one major bug is there. That bug is wif hotspot. After flashing kernel and magisk. Mobile is perfectly rooted. red colour warning msg is also stopped and RW is working. very interesting, But first time hotspot is working but after restarting mobile and laptop, the hotspot will not work properly. Laptop shows connected but no internet!!! i cheched stock rom coloros 5.2 ver 14, 15 and 17.
Click to expand...
Click to collapse
It is not a bug of kernel but lite Os, I'm using Hotspot seemlessly. I lite Os or color Os disable pill killer and restart, your Hotspot should work
Is this kernel works on ColorOS 6 beta.
Update - its not working on ColorOS 6.
redfeast kernel 1.1 is not uploaded!!!???. kindly give the new redfeast kernel for color os 6. Rooting notification is coming. so need your help to fix it.
hero197 said:
redfeast kernel 1.1 is not uploaded!!!???. kindly give the new redfeast kernel for color os 6. Rooting notification is coming. so need your help to fix it.
Click to expand...
Click to collapse
I removed 1.1 due to bugs. Pie release takes more time.
hero197 said:
Kernel is good. But one major bug is there. That bug is wif hotspot. After flashing kernel and magisk. Mobile is perfectly rooted. red colour warning msg is also stopped and RW is working. very interesting, But first time hotspot is working but after restarting mobile and laptop, the hotspot will not work properly. Laptop shows connected but no internet!!! i cheched stock rom coloros 5.2 ver 14, 15 and 17.
Click to expand...
Click to collapse
Hotspot has something to do with encryption, i use this kernel with encrypted stock A17 hotspot working fine, but if i decrypt other device cannot connect to my hotspot
redfeast said:
WARNING : I am not responsible for Thermonuclear war in your pocket or bricked devices, use at your own risk!!!! following insructions
I know it is too late but Finally Custom kernel for our Rm2pro is finally ready
I have put a lot of effort to fix the ****ty oppo source, especially fixing WiFi took pain in my ass.
Features:
1. enabled system rw remount, now you can uninstall system apps directly, use apps like adaway
2.add support for Btrfs, Reseirfs, Xfs , Ntfs in kernel
3. add lz4, bzip2, lzo, lzma and xz compression option for ramdisk
WIP
1. lz4 compression of kernel
2. various cpu governors and i/o schedulers
Planned features:
1. Multi Rom booting option with Kexec
2. upstreaming with Linux kernel and CAF === Lot of security fixes
3. I am not gonna leave this kernel any soon :laugh:
Bugs : you tell me
lenk : https://www.androidfilehost.com/?fid=1395089523397968557
Special Mention:
1.thanks to @osm0sis for his anykernel2 zip
2. Everyone else who helped me with this
Compatible Roms:
Oreo : any rom Stock or custom
Pie : You test and tell me
Flash Instruction:
1. First backup your boot.img in recovery in case it will be helful later
2. flash the zip from recovery and reboot!! No need to wipe any ****
FAQ:
1.How to report bugs?
take a proper dmesg log and logcat and report
2.Where to report?
Preferably in Realme 2 pro Telegram group , if not possible here
3. How to request feature?
preferable in this thread, and (if) any link where you found that feature
XDA:DevDB Information
Redfeast_Kernel, Kernel for the Realme 2 pro
Contributors
redfeast
Source Code:https://github.com/redfeast/android_kernel_oppo_RMX1801
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 1.1
Stable Release Date: 2019-05-18
Created 2019-05-18
Last Updated 2019-06-04
Click to expand...
Click to collapse
Is this possible to use magisk v19.3 with full support i mean no Core Only mode.
as currently v19.3 only works in Core Only mode.
reply soon
thanks
Adityas95 said:
Is this possible to use magisk v19.3 with full support i mean no Core Only mode.
as currently v19.3 only works in Core Only mode.
reply soon
thanks
Click to expand...
Click to collapse
No you can't. Due to ColorOS 6 security, Magisk 19.3 doesn't work fully. Thus, current working version is only 17.1 which has magiskhide as well as module loading.
This kernel is for RMX1801. Don't flash it on RMX1807 or you'll be soft bricked your device.
@redfeast
Thanks! There's one bug in the kernel source - this folder being empty:
/android_kernel_oppo_RMX1801-master/drivers/staging/qcacld-3.0
I removed all references to it and it compiles fine - cheers!
Any chance of porting the drivers over from that kernel (4.4.78) over to the latest one (4.4.193)? The reason being: I cannot enable KVM Virtualization due to a bug in /arch/arm64/kernel/cpu_errata.c that referenced a function named "bp_hardening".
This bug has been fixed in 4.4.193 - but many files have been changed across /arch/arm64/
This is a small magisk Module which will update gpu drivers for any android device having adreno 630 GPU specially snapdragon 845 devices comes with adreno630 gpu. Below is the list of SD845 devices with adreno 630 gpu where this module should work.
What are benifits of udating GPU drivers?
What benefits would updating your GPU more frequently have? Likely, you'd see more patches to rectify issues like game crashes, optimization for performance on new titles, and potentially support for new features.
https://mobile.phonebunch.com/phone-filter/gpu/adreno-630/page/1/
Requirements :
1)device with adreno 630 gpu
1) Rooted and magisk installed
Procedure :
1)First download AIDA64 apk. Install and open go to display there if you see GPU drivers version less than 4.15(415) then you can use this module.
But anything greater than that then you need not to update drivers.
2)serch for adreno 630 drivers under download section in magisk app. Download module, install and reboot.
https://play.google.com/store/apps/details?id=com.finalwire.aida64
To manually install module download from below link(as per your android version android 9 and android 10 have different modules)
https://github.com/Magisk-Modules-Repo/adreno-630-gpu-driver/releases
3) after installation reboot device and go to AIDA64 app see whether your GPU version changed to 4. 15(415)
Thats it guys enjoy new drivers
Here is small video tutorial if you wnat preview
https://youtu.be/4v-zW-KOeDk
DISCLAIMER: I AM NOT RESPONSIBLE IF YOUR PHONE BRICKS! YOU ARE FLASHING THIS KERNEL AND ITS YOUR CHOICE TO DO IT OR NOT TO DO IT AND YOU'RE THE ONE DOING IT. I JUST WANT TO HELP OTHERS OUT.
REQUIREMENTS: UNLOCKED BOOTLOADER AND ROOT.
IMPORTANT: THIS KERNEL IS MEANT TO WORK ONLY ON STOCK ROM, IT WONT WORK ON CUSTOM ROMS, CUSTOM ROMS ALREADY PROVIDE WITH THE ROM CUSTOM KERNEL AS ALMOST ALL CUSTOM ROMS ALREADY USE MY KERNEL, THIS IS A MODIFIED VERSION OF THE CUSTOM ROM KERNEL AVAILABLE IN DOTOS BUT FOR STOCK ROM. IT CAN WORK ON ANY LG G7 THINQ MODEL.
How to flash:
1. Download Smartpack Kernel Manager (free) from playstore or any other kernel manager that supports flashing zips such as Franco kernel manager, Ex kernel manager etc;
2. Go to Flash section in the kernel manager, in smartpack press on the 3 lines in the top left corner, scroll down and tap on SmartPack;
3. Press on the button that looks like a lightning, select the zip and wait for it to flash;
4. Reboot;
5. Enjoy.
Features:
- Compiled with Proton Clang 13.0;
- Upstreamed ZRAM compression and decompression algorithms, now ZRAM should be almost as fast as RAM;
- Sultan's Custom Input Boost;
- Sultan's Devfreq Boost;
- F2FS support.
- Rapid GC for F2FS thanks to Arter97;
- Modified CpuSets;
- Quad dac driver backported from LG V50 ThinQ;
- Simple lmk from sultan;
- 4.9.235.
- LA.UM.8.3.r1-08100-sdm845.0 CAF Tag, Why 8100 only and not newer ? Because it performs the best, i've tested even Android 11 tags, it performs worse, this tag is more efficient for battery life while maintaining same performance if not better;
- RCU backported from 4.14 kernel;
- Binder backported from 5.4 kernel;
- Cpu idle, lmp levels and pm qos improvements, should reduce idle drain.
- Sultan's Pid Map improvements. (Helps a lot in gaming performance, especially in genshin impact);
- A lot of KGSL improvements thanks to Sultan. (KGSL - GPU driver in the kernel);
- Cache improvements;
- Scheduler Improvements;
- CONFIG_HZ = 250;
- 128kb Readahead. Why ? Because thats the default value in linux and pixels as well;
- Updated Energy Model from freqbench result , this will lead to less power consumption;
- Removed inefficient frequencies;
- Added efficient frequencies in schedutil;
- Improvements in schedutil;
- Added support for steam & nintendo swich controllers;
- Many other improvements.
Download Link: Google Drive
Kernel Source: https://github.com/EmanuelCN/android_kernel_lge_sdm845/tree/stock
Useful Guides:
How to unlock bootloader
How to root:
This method works on any lg g7 thinq model apart TM (T-Mobile)
Firstly you have to unlock bootloader.
1. Install magisk manager
2. Boot into 9008 mode
3. Backup your boot_a image using Qfil (Read data)
4. Copy it to your phone
5. Rename it to boot_a.img
6. Go in magisk manager —-> install —-> Select and patch an image —-> select the image.
7. Copy the patched boot image file to your PC (its located in downloads folder in your phone)
8. Flash it with fastboot/qfil ( fastboot flash boot_a < drag and drop over the cmd the image > // select boot_a and load image in qfil)
NOTE: IF IT TELLS YOU THAT YOU ARE NOT ROOTED THEN DO THE SAME PROCESS BUT WITH BOOT_B.
Special Thanks:
- SGCMarkus;
- J0sh1x;
- Thenotonly;
- LlamaMonster;
- ErickG233;
- Sultan (kernel toast);
- Arter97;
- Many other great developers.
Changelog:
N0kernel 2.8:
- Fixed Apex mobile, pubg, bgmi lagging after their latest update;
- Overclocked GPU to 820mhz;
- Updated cpu-input-boost driver to match devfreq boost one;
- Removed force affine of surface flinger on big cores, it was unecessary, this will increase battery lifel;
- Using kmem_cache in various parts of the kernel;
- Crypto backports;
- KGSL & DRM backports for lower latency;
- Updated arm routines to latest versions;
- Other improvements under the hood, feel free to check my github page.
N0kernel 2.7:
- Rebased the kernel and cleaned it up;
- Compiled now with proton clang 13.0;
- Backported binder from 5.4 + improvements;
- Minimised wakeups from android's alarm timer;
- Backported lib sort changes from mainline linux kernel;
- Backported LG V50's dac driver from android 11 kernel;
- Introduced simple lmk from sultan;
- Disabled process reclaim & oom killer because we use simple lmk and they shouldn't co exist;
- Proc and profs, pidmap improvements;
- Many other changes but i don't remember them.
- Also supporting LG V40 ThinQ and LG V35 ThinQ
N0kernel 2.6:
- New thermal engine added in kernel, will provide cooler temps while better performance in gaming.
- Fixed direct references to hz
- Added state notifier for input boost and devfreq boost
- Added ability to track fps in games, now fk kernel manager or other apps should be able to read fps not the screen refresh rate.
- More changes, you can check the github to see the changes.
N0kernel 2.0:
- Removed uclamp;
- Added dynamic stune boost;
- Added efficient frequencies in schedutil;
- Performance Improvements regarding schedutil;
- mm improvements;
- CONFIG_HZ = 250 because it seems to reduce the jitter;
- Low latency display & touchscreen.
N0Kernel 1.2:
- Fixed ram management;
- Fixed "corrupted sdcard";
- Reduced battery drain on idle.
Thank you so much! is working so good!!!
U are my HEEEEROOOO. U gave me the hope over my lg. I was on 9 rooted due the xd kernel does not supp 10. My HEEEEROOOO.
How to modify f2fs tab ?
Shaggy_222 said:
How to modify f2fs tab ?
Click to expand...
Click to collapse
f2fs nosuid,nodev,noatime,discard,inline_data,nobarrier wait,quota,formattable,reservedsize=128M
note: you need to reflash vbmeta to unlock the vendor/system lock.
Hi I have a Lg g7 emw on A10 ,unlock the bootloader , after it rooted with magisk on boot_a
downloaded your kernel and smartpack kernel manager ,but when i tryed to flash it gives me the error:
repacking ramdisk falied aborting , please help me.
ps: sorry for the lame english
SeinjiroXD said:
Hi I have a Lg g7 emw on A10 ,unlock the bootloader , after it rooted with magisk on boot_a
downloaded your kernel and smartpack kernel manager ,but when i tryed to flash it gives me the error:
repacking ramdisk falied aborting , please help me.
ps: sorry for the lame english
Click to expand...
Click to collapse
use franco kernel manager. i experienced that problem before with smartpack
ErickG233 said:
f2fs nosuid,nodev,noatime,discard,inline_data,nobarrier wait,quota,formattable,reservedsize=128M
note: you need to reflash vbmeta to unlock the vendor/system lock.
Click to expand...
Click to collapse
is there a step by step tutorial for this? im a newbie
Thank you so much for sharing this. I've successfully flashed this on my Korean variant G7 [G710N]
I have a problem with my 128GB SD card, my phone can't use it anymore when it is formatted as exFAT. When I insert it in my phone it always say that it is corrupted and that I need to format it, but when I format it in my phone it's formatted as FAT32. I'm sure that I've used a couple of exFAT SD cards before, is it because of this kernel?
Tested the kernel.. so far the lg g7 stays cool on geishin impact, and the battery last a little longer, nice job developer, thank for your job, just two questions ..
1: will the kernel be updated from time to time?(i hope so)
2: what are the best configs for this kernel(for battery and for performance)?
Rylen101 said:
I have a problem with my 128GB SD card, my phone can't use it anymore when it is formatted as exFAT. When I insert it in my phone it always say that it is corrupted and that I need to format it, but when I format it in my phone it's formatted as FAT32. I'm sure that I've used a couple of exFAT SD cards before, is it because of this kernel?
Click to expand...
Click to collapse
fixed, use N0Kernel 1.2
SeinjiroXD said:
Tested the kernel.. so far the lg g7 stays cool on geishin impact, and the battery last a little longer, nice job developer, thank for your job, just two questions ..
1: will the kernel be updated from time to time?(i hope so)
2: what are the best configs for this kernel(for battery and for performance)?
Click to expand...
Click to collapse
1. Yes it will be updated when i find more improvements to do in the kernel.
2. There are no configs, do not use any other modules related to performance,tweaks whatever those do worse do not try any ( examples like: nfs tweaker, zeetatweaks, fde optimiser) or whatever they were called just do not use this type of modules if you want the best performance and battery life. The kernel is already tuned for the best meaning you do not have to tweak anything.
EmanuelCN said:
fixed, use N0Kernel 1.2
Click to expand...
Click to collapse
Wow thank you so much
I found a bug.
On 1.2 the gcam gone crazy, like no buffer fix installed (i already tried to disable and enable the module)
Edit: I was on 1.0 before the bug appeared.
manuhuelva said:
I found a bug.
On 1.2 the gcam gone crazy, like no buffer fix installed (i already tried to disable and enable the module)
Edit: I was on 1.0 before the bug appeared.
Click to expand...
Click to collapse
The kernel should not affect this kind of stuff, you can try flashing 1.0 again, over 1.2, becauuse you can do that as it replaces the entire kernel there's no "updating" process its just replacing the kernel.
manuhuelva said:
I found a bug.
On 1.2 the gcam gone crazy, like no buffer fix installed (i already tried to disable and enable the module)
Edit: I was on 1.0 before the bug appeared.
Click to expand...
Click to collapse
Gcam with buffer fix (Gcam_6.2.030_Advanced_BF_V2.2.1.190822.1145) is working fine for me.
Sorry guys, was the Secure boot. I enabled this after updated the kernel. Tried rollback 1.1, 1.0 and no sucess... the gcam was broken on 1.0 too. Then i thinked that could be the secure boot (Encendido Seguro in spanish). After reboot the gcam started going fine.
Sorry about my bull**** over 1.2.
Running the N0kernel for the first day and no problems so far, everything seems to be very stable. Cant really compare to stock, I only have the phone for a few days.