HOW TO INSTALL ADRENO GPU DRIVERS ON A CUSTOM ROM - General Questions and Answers

I just switched today to Corvus OSv14 based on Android 11 on my Poco X3. I was scrolling to developers options searching for game driver preferences, then I found that the game drivers of Adreno aren't installed. Although MIUI comes with Adreno GPU drivers preinstalled the custom ROM doesn't so do you guys have any idea how to install Adreno 618 GPU drivers whether by an APK or an update, MAgisk Module, or a flash BY recovery, or even push by ADB sideload?

Related

[DRIVER] Adreno 5xx GPU Driver [V313 REV23 | V331 REV1]

[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.

Update drivers for gpu adreno 630 (snapdragon 845 devices)

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

A12s Exynos 850 Development Kernel and TWRP for a127f u2 (Exynos 850)

I have built a custom kernel for the a127f Exynos 850
I've also included a link to more custom recoveries in post#2
physwizz a12s kernel version 4
Based on a127f
NOT for baseband u3 or higher
For OneUI 3.1
( also works for GSIs)
Samsung securities disabled
More CPU governors
Conservative, On-demand, Userspace, powersave, performance, energy_step, shedutil
Optimised for performance
Overclocked for performance
Underclocked for battery
CPU: 130MHz - 2210MHz
lz4 compression added to zram
Ready for spectrum installation
Installation
Method 1
Install from TWRP
Method 2
Install adb tools on pc
Connect to PC
Copy zip file to adb folder on pc
Open terminal on pc
Navigate to adb folder
Type
adb sideload name.zip
For Zram
Go to HKtweaks- virtual memory
Turn off zram
increase swappiness to 200
choose lz4
increase size to 4096
turn on Zram
Kernel
physwizz - Repositories
physwizz has 172 repositories available. Follow their code on GitHub.
github.com
@physwizz
Root and TWRP
NOT for baseband u3 or higher
Download zip file.
Extract recovery.img from tar file
Method 1.
If you have already installed recovery and decrypted.
1. Boot to recovery.
2. Install recovery.img
3. Choose recovery partition
4. Reboot to recovery
Method 2.
From the start
1. Download firmware
2. Extract ap file.
3. Patch with special magisk
4. Flash with Odin
5. Download tar and extract recovery.img
6. Install TWRP app
7. Install TWRP
8. Choose file to flash.(don't select device)
9. Select recovery.img.
10. Reboot to recovery.
10. Wipe, format data, type YES.
11. Advanced, terminal.
Type multidisabler (twice).
Reboot to recovery
12. Backup boot, data, super and dtbo
@physwizz
Links
A127f on XDA
More custom recoveries
M127f on telegram
I know that one brave person has downloaded this kernel.
Any feedback?
physwizz said:
I know that one brave person has downloaded this kernel.
Any feedback?
Click to expand...
Click to collapse
Well, you are right, I did download it but I'm scared to try, I think once I unlock the bootloader,
1. I'll not be able to re-lock it
2. I only have a raspberry Pi 3B+ and hence can't use Odin to restore of something goes wrong
3. I can't run the banking apps anymore due to Knox trip status
4. And if Knox trips, going to stock fully is going to be impossible, and Knox features will be unusable
And to top these all off, it's the new phone of my parents, they had a moto they previously lost, if their apps don't work after I do something, I'll be screwed over... :/
Hausemaster said:
Well, you are right, I did download it but I'm scared to try, I think once I unlock the bootloader,
1. I'll not be able to re-lock it
2. I only have a raspberry Pi 3B+ and hence can't use Odin to restore of something goes wrong
3. I can't run the banking apps anymore due to Knox trip status
4. And if Knox trips, going to stock fully is going to be impossible, and Knox features will be unusable
And to top these all off, it's the new phone of my parents, they had a moto they previously lost, if their apps don't work after I do something, I'll be screwed over... :/
Click to expand...
Click to collapse
lol
I understand
physwizz said:
I know that one brave person has downloaded this kernel.
Any feedback?
Click to expand...
Click to collapse
I have the Galaxy M127F / DS and I have problems installing a custom recovery, I have tried many but cannot finish successfully. I have root and it was as far as I could go, I miss my A20, by the way the binary is 2.
When I install any of the recovery that you uploaded, it sends me the statement "Recovery: No footer detected. (0)
Recovery: Error verifying vbmeta image: invalid vbmeta header (6) "
I don't know why this is, I hope you can help me, please.
Jeremia121 said:
I have the Galaxy M127F / DS and I have problems installing a custom recovery, I have tried many but cannot finish successfully. I have root and it was as far as I could go, I miss my A20, by the way the binary is 2.
When I install any of the recovery that you uploaded, it sends me the statement "Recovery: No footer detected. (0)
Recovery: Error verifying vbmeta image: invalid vbmeta header (6) "
I don't know why this is, I hope you can help me, please.
Click to expand...
Click to collapse
Did you root with the patched ap file
(Patched by special magisk I posted)
physwizz said:
Did you root with the patched ap file
(Patched by special magisk I posted)
Click to expand...
Click to collapse
I rooted the AP file from Magisk patched for A21s, I have only successfully managed to root.
Jeremia121 said:
I rooted the AP file from Magisk patched for A21s, I have only successfully managed to root.
Click to expand...
Click to collapse
Is your baseband U2 or u3?
A12/M12 versions
A12/M12 versions All of these are considered by Samsung to be A12 models Normally the A127f would be called A12S but Oppo already has an a12s MT6865 Helio p35 models 2.3GHz, 1.8GHz SM-A125U SM-A125U1 SM-A125F SM-A125W SM-A125M SM-A125G A12...
forum.xda-developers.com
V5
Thanks
physwizz said:
I have built a custom kernel for the a127f Exynos 850 which should work on the m127f.
I've also included a link to more custom recoveries in post#2
physwizz a12s kernel version 4
Based on a127f
NOT for baseband u3 or higher
For OneUI 3.1
( also works for GSIs)
Samsung securities disabled
More CPU governors
Conservative, On-demand, Userspace, powersave, performance, energy_step, shedutil
Optimised for performance
Overclocked for performance
Underclocked for battery
CPU: 130MHz - 2210MHz
lz4 compression added to zram
Ready for spectrum installation
Installation
Method 1
Install from TWRP
Method 2
Install adb tools on pc
Connect to PC
Copy zip file to adb folder on pc
Open terminal on pc
Navigate to adb folder
Type
adb sideload name.zip
For Zram
Go to HKtweaks- virtual memory
Turn off zram
increase swappiness to 200
choose lz4
increase size to 4096
turn on Zram
Kernel
physwizz - Repositories
physwizz has 172 repositories available. Follow their code on GitHub.
github.com
@physwizz
Click to expand...
Click to collapse
Can i use this to unlock the network sim lock?
judynar22 said:
Can i use this to unlock the network sim lock?
Click to expand...
Click to collapse
no

How To Guide Ultimate Performance Guide - Poco X3 Pro

This guide will help you to maximize your GPU's potential. It's completely safe to follow, so let's start!
Prerequisites:
1. Rooted
2. TWRP
Works on any ROM and even MIUI !
Magisk Modules:
1. OverlayFS
2. Latest GPU driver
Apps:
1. Konabess - https://github.com/libxzr/KonaBess/releases/tag/v0.17
Import settings from the attached file and reboot. This will overclock the GPU to 692mhz.
2. Franco Kernel Manager. (Play store)
Check GPU version after updating drivers, should be 614.
3. Lyb kernel manager (Play store)
Go to adreno settings and import settings from given file.
Done!
Thanks to all the developers for their amazing work as always
thank you, this works on android 13?

DarkGpu Adreno 506

This is a simple but powerful mod to improve your User experience on your Moto G7 Power/ any Aderno 506 device.
What this mod does?
*Removes CPU rendering Pathway.
*Gives priority to GPU rendering for better cleaner and faster animation and gaming experience.
*Improves touch.
And much more!
(Of course backup your system just in case)
How to install:
This is a magisk module so install from magisk then reboot and it will be installed
Requirements:
Have magisk installed

Categories

Resources