[MODULE] OpenGL (Skia) as Default Renderer - Magisk

Hey guys,
As some of you may know, Android Oreo gave us the choice to use Google's Skia graphics engine (still using an OpenGL backend) to render the UI. It's hidden inside Developer options, and it doesn't stick after reboots. This little Magisk module aims to solve that, by systemless-ly patching /system/build.prop - adding the line debug.hwui.renderer=skiagl.
Those of you who have used Android Pie have probably (or certainly) noticed the UI looked different between Oreo and Pie, as far as font/text rendering is concerned. (I personally think text looks better on Pie.) That's due to SkiaGL being chosen as the default renderer on Pie (XDA's own Mishaal Rahman wrote about that, read his article here).
This module should work on any Android device running Oreo or higher. As I wrote above, Pie already uses SkiaGL by default so there's no need to flash the module if your device runs said version - unless you use a custom ROM and its developers, for whatever reason, chose to use the Oreo default renderer (HWUI / OpenGL) instead.
The attached screenshots show the difference between SkiaGL and HWUI.
Please be aware that this stuff is still experimental. At least for me, it partially broke WhatsApp's camera viewfinder (though captured pictures/videos are still fine) and caused Instagram force closes whilst browsing stories. It's quite perceptible that SkiaGL isn't 100% stable on Oreo yet.
If you still wanna flash this, just download the attached ZIP and install the module either via Magisk Manager or via TWRP. At least Magisk 18.1 is required.

Unstable, not compatible with O Having problems with the keyboard

setting the option really makes a difference, much smoother and much less ui stutters ...
would it be possible to port the newest skia files from 9.0 to 8.0/8.1 ??
edit: at least in firefox i see a dramatic speed up of graphics , the rest of the system could be just placebo XDD
edit2: your build prop doesnt seem to work for me .. galaxy s7 oreo 8.0

Related

[MODULE] Disable Bluetooth HCI snoop log

I was very annoyed that for some weird reason my device kept writing to '/sdcard/btsnoop_hci.log' every bluetooth packet even though the option enabling this was disabled. While all I'm using is just a smart band I can imagine how big this file can become when using headsets...
I searched a bit and found that '/system/etc/bluetooth/bt_stack.conf' config causes that, 'BtSnoopExtDump' and 'BtSnoopLogOutput' variables to be precise.
This module forces values of these variables to false which disables this forced logging.
No idea if this is something that will work across all devices but I can say it will work on Xiaomi's MIUI based roms.
Compatibility: Magisk 14+
27-09-2017 - v1 - Initial version
This is an issue with the nextbit robin stock rom, i'll give it a shot. Thanks
edit: doesnt work with magisk v16
I've updated the module to set BtSnoopConfigFromFile=true, needed for the Nextbit Robin to use the modified config file. Requires Magisk v15+ (so I can include the new install script).
Also added a repo at:
https://github.com/trisk/btsnoopnope

24 hours in Using Android 9.0 on my UK H9L - Works surprisingly well - details inside

So after seeing announcements about Project Treble and GSI floating about the internet I thought I'd look for a version to use on my Honor 9 Lite and came across this thread:
https://forum.xda-developers.com/project-treble/trebleenabled-device-discussion/android-pie-kirin-guys-t3830420
Users have had Android Pie running on a honor 7X so I thought there can't be that much difference between the 2 devices, so why not give it a try? If it goes wrong I can always use my stock backup.
So I flashed as per the instructions in that post and it works, really well. So much so that I'm gonna keep it as a daily driver.
Be careful which version of Gapps you use, the BitGapps mentioned in the post has been discontinued by the Dev, I initially tried OpenGapps but it was for 8.0 so failed to install.
If you search around you can still find the last version of BitGapps that was released, and is version 9.0 compatible.
What's Good
Installs pretty quick
Fast, much faster than EMUI - Could be a Placebo effect, but general use is very snappy and downloads/app installs seem very quick
Wi-Fi working fine
Bluetooth working fine, confirmed on Ticwatch and Car radio
Mobile data works fine
Finger print reader works fine
Sound and phone calls work fine
What's not so Good
This Rom is based off AOSP, don't expect any of the Huawei/EMUI functions or features.
On first boot the ROM is bare bones, hardly any apps installed, looks like an old version of Android rather than a shiny new one.
You have to enable guestures before the swipe navbar appears
You'll have to use a 3rd party launcher to get the full Android P look. The Quickstep launcher in this version of AOSP has sqaure icons and certain options like wallpaper/widgets etc just FC. - I chose Lawnchair for this.
Hotspot doesn't work at all, it just disables wi-fi then FC
You may have to mess around with the display settings to make things align correctly, for some reason everything seemed to be shifted to the left edge. I chose small display size with large font size to smooth it out
Camera obviously, same issues as we had on the 8.0 roms, banding/poor tracking/poor quality (Biggest downside) I've not rooted, so not tried any of the camera ports. Open Camera app has the same issues.
Sound over bluetooth was distorted (not confirmed, could be my car radio)
Some graphical glitches. Stutters & frame drops when using task switcher, switching to chrome from recents has a lag/distorted effect and menus appear out of focus and take a second or two to correct
Any Questions I'll try to answer as best as I can.
I've tried many different gsi images on my H9L. Most did make my phone 'feel' faster, I guess mainly due to the overhead EMUI takes and eliminating it does remove some burden from the phone. However, that's where the advantages stopped. Many of the issues you mention on Pie are on Oreo also. I had too many issues to overcome and make it 'daily driver' usable that it just wasn't worth it, so went back to stock and removed as much huawei/honor stuff as i could via root, then removed root. This seems to give me best of both worlds, i.e. close to vanilla android but everything, hardware wise, just works as intended. Since I have BL unlocked and TWRP working i can also keep updating, via HURupdater, with official updates for as long as huawei/honor keep posting updates; e.g. currently on B135 with Aug security patches, that is just as good as any GSI image now (Aug18).

can we install the old oreo camera on oneui(9.0)?

since there is no video pro mode..
I haven't attempted it, but we're talking about a major version number upgrade here. Changes in Samsung's system framework (which most Samsung's apps - including Camera - depend on) would make it difficult if not impossible.

[MAGISK] Ambient EQ Tweak

Hey all,
Just wanted to share a simple Magisk Module that tweaks the Ambient EQ on our phones to behave more like Apple's True Tone feature. This idea and module was originally created by @MishaalRahman and published here. As you can see the article was published in November 2019, and the structure of Magisk Modules has since changed. So, the module that you can download from that article no longer works. I've simply updated the module to be compatible with the new Magisk Module file structure and function correctly on our phones.
Instructions and Notes:
Note: This module was originally created for the Pixel 4 (Flame). Due to the Pixel 4 XL (Coral) using a different panel, this module may have unintended effects on screen color and gamma that I have not been able to test. Give it a shot if you'd like, but YMMV.
Install via Magisk Manager or flash the .zip using your favorite Kernel Manager and reboot.
The module has been submitted to the Magisk Module Repo, where it will be able to be downloaded directly from the Magisk Manager app, but it is awaiting approval.
Download (AFH)
Original Author: @MishaalRahman
Original Module and Associated Documentation: https://www.xda-developers.com/google-pixel-4-ambient-eq-tweak/
Source: https://github.com/Alcolawl/AmbientEQTweak
Thanks! I really appreciate it.
Like two months without the module working and you fixed it.
After normal installation, the performance of some apps is significantly reduced.
gyuuuu said:
After normal installation, the performance of some apps is significantly reduced.
Click to expand...
Click to collapse
I haven't noticed it
Alcolawl said:
Hey all,
Just wanted to share a simple Magisk Module that tweaks the Ambient EQ on our phones to behave more like Apple's True Tone feature. This idea and module was originally created by @MishaalRahman and published here. As you can see the article was published in November 2019, and the structure of Magisk Modules has since changed. So, the module that you can download from that article no longer works. I've simply updated the module to be compatible with the new Magisk Module file structure and function correctly on our phones.
Instructions and Notes:
Note: This module was originally created for the Pixel 4 (Flame). Due to the Pixel 4 XL (Coral) using a different panel, this module may have unintended effects on screen color and gamma that I have not been able to test. Give it a shot if you'd like, but YMMV.
Install via Magisk Manager or flash the .zip using your favorite Kernel Manager and reboot.
The module has been submitted to the Magisk Module Repo, where it will be able to be downloaded directly from the Magisk Manager app, but it is awaiting approval.
Download (AFH)
Original AuthorMishaalRahman
Original Module and Associated Documentation:https://www.xda-developers.com/google-pixel-4-ambient-eq-tweak/
Source:https://github.com/Alcolawl/AmbientEQTweak
Click to expand...
Click to collapse
Somehow after enabling this module on Android 11 beta 2.5 phone goes crazy.
I get delayed sms, delayed emails, app in the play store don't download and weather doesn't show.
Disabling an restarting fixed it , enable, restart, problem comes again
peikojose said:
Somehow after enabling this module on Android 11 beta 2.5 phone goes crazy.
I get delayed sms, delayed emails, app in the play store don't download and weather doesn't show.
Disabling an restarting fixed it , enable, restart, problem comes again
Click to expand...
Click to collapse
Wild stuff. I'd assume it's because you're using Android 11 beta. The way this works is basically an overlay for System UI, which I'm assuming has seen at least some moderate changes from Android 10 to Android 11. I'm not entirely sure why it would break things like SMS, but I would definitely assume that this isn't compatible with Android 11. This will be something I'll have to work on when Android 11 officially drops.
Alcolawl said:
Wild stuff. I'd assume it's because you're using Android 11 beta. The way this works is basically an overlay for System UI, which I'm assuming has seen at least some moderate changes from Android 10 to Android 11. I'm not entirely sure why it would break things like SMS, but I would definitely assume that this isn't compatible with Android 11. This will be something I'll have to work on when Android 11 officially drops.
Click to expand...
Click to collapse
Yeah it doesn't make any sense but at least with this beta it does that.. and it is totally easy to reproduce for me...
Any update to make it work properly with Android 11? Just asking.
Thanks!
peikojose said:
Any update to make it work properly with Android 11? Just asking.
Thanks!
Click to expand...
Click to collapse
Unfortunately I may just abandon this idea. It turns out that this module was actually responsible for the frustratingly horrible performance I was experiencing when using Snapchat. Like the phone totally locking up for 5-10 seconds sometimes for seemingly no reason. I know Snapchat is a massive piece of ****, but unfortunately, my tries to convince several groups of friends to move to a different app have been unsuccessful. After removing this module, performance was restored. Because of this, along with other reports of sluggish performance when using this module, I'll most likely discontinue working on this for Android 11.
Alcolawl said:
Unfortunately I may just abandon this idea. It turns out that this module was actually responsible for the frustratingly horrible performance I was experiencing when using Snapchat. Like the phone totally locking up for 5-10 seconds sometimes for seemingly no reason. I know Snapchat is a massive piece of ****, but unfortunately, my tries to convince several groups of friends to move to a different app have been unsuccessful. After removing this module, performance was restored. Because of this, along with other reports of sluggish performance when using this module, I'll most likely discontinue working on this for Android 11.
Click to expand...
Click to collapse
Yes. I was one of the ones that reported problems even with sms after using this module.
So sad! Thanks anyway

[ROM][7.1.2][N8000/N801x/N8020][Stable][EOL] Slimroms Slim7

Code:
/*
* Your warranty is now void.
*
* 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 ROM
* 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.
*
*/
Hi,
I'm already working over 2 years at the N80XX devices (mostly LineageOS) and want to introduce you my version of SlimRoms Slim7.
For sure I want to thank all guy's which were ever working on these devices and also in general at the smdk4412.
I also want to thank the SlimRoms team and @Android-Andi for applying the latest security patches.
I've added some extra functionality like for example wakening up the device when you pull out the pen, back event when you press the pen button,
fast charging for every power supply, working keyboard dock + lineout functioning, signature spoofing for microG, Magisk hide support and much more...
I can't guarantee that there aren't any bugs, so I need you for testing and giving me a feedback.
Spoiler: Not working at the moment
N8020: incoming calls doesn't pop up, outgoing calls + internet (also LTE) are working fine.
HDMI out for all of them, not implemented.
Links:
TWRP
N8000 Rom
N8010 / N8013 Rom
N8020 Rom
To disable the sec_keyboard for example to play games without any hardware keyboard,
simply flash my magisk module to disable it:
sec_keyboard disabler
If you are going to use Gapps,
I recommend to use the pico package!
https://opengapps.org/
For the others, you can use microG if you want to.
Do you like my work?
Than you can simply hit the thanks button and consider to spend me a coffee or a beer,
I'm doing this in my free time and it also costs a lot of money to buy hardware.
donate
https://slimroms.org/#/
Spoiler: How to install it?
Instructions
Because of my work on Android 9 and Android 11, I'm not able to proceed with all my Android 7 ROM's,
including Slim7.
I hope you can understand this and I will leave everything here as it is.
If you have to upgrade in future, check out my other ROM's.
XDA:DevDB Information
[ROM][7.1.2][N8000/N801x/N8020][Stable] Slimroms Slim7, ROM for the Samsung Galaxy Note 10.1
Contributors
html6405
Source Code: https://github.com/html6405
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.0.x
Based On: SlimRoms
Security bulletin: 05.12.2020
Selinux: enforcing
Version Information
Status: Stable
Created 2020-07-06
Last Updated 2020-12-15
Works great, so far so good
Switch from LineageOS to this new OS and the pad actually works better. Thx.
tsukazachino said:
Switch from LineageOS to this new OS and the pad actually works better. Thx.
Click to expand...
Click to collapse
Thank's for your feedback , if you have any problems, let me know.
Flying with Slim
My old, beat up 8013 on Slim is absolutely flying! Definitely the best out of the 4 or 5 nougat roms I've tried. ?
A noob question, can I disable the mouse/cursor in drawing apps when the stylus is active? The "pointer" in Developer Options can't toggle it on or off.
edinedi said:
My old, beat up 8013 on Slim is absolutely flying! Definitely the best out of the 4 or 5 nougat roms I've tried.
A noob question, can I disable the mouse/cursor in drawing apps when the stylus is active? The "pointer" in Developer Options can't toggle it on or off.
Click to expand...
Click to collapse
Thank you for the great feedback and no, this is not possible for now,
but I will take a look at it.
wooooow man, thank alot, my old n8010 i needed a new life, i tried.
Thank you it is a great rom better than lineage 14.1 every thing work fine up till now but only few minor bugs as sometimes tablet restart suddely happened 2 times, adobe reader application hang and i uninstall it , installing application from store sometimes failed but it success on retrial
Hi. At the moment the ROM works very well. I would like to know how to remove the mouse pointer when I use the SPen.
Didn't have any reboot
hossam sokkary said:
Thank you it is a great rom better than lineage 14.1 every thing work fine up till now but only few minor bugs as sometimes tablet restart suddely happened 2 times, adobe reader application hang and i uninstall it , installing application from store sometimes failed but it success on retrial
Click to expand...
Click to collapse
Hi,
thanks for testing and the almost positive feedback,
it would be great if you could make a last_kmsg after a reboot happens.
With this we could find out from where the problem does come from.
Charly_Maths said:
Hi. At the moment the ROM works very well. I would like to know how to remove the mouse pointer when I use the SPen.
Click to expand...
Click to collapse
Thank you for your feedback,
I never thought that the mouse pointer could be desturbing .
There is no way for now, to disable it, but I will take a look at it
so that maybe we can deactivate it in future.
Can't get it installed
A good morning from the Netherlands, I can install lineageOs but I can't install your rom.
Can I flash your rom over lineageOs or is it necessary for a full format/cleanup.... because option 2 doesn't work for me.
Greetings from this side
Good morning,
it is necessary to do a normal factory reset.
Have you checked the md5 sum? Maybe a download error occured.
Tried an other one and yes it works thanks for the reply.
I just bought one yesterday... second hand...for me and my wife.
But maybe a noob question...ps touch and s-note aren't they in the package or am I missing something.
Gr mike
Hi Mike,
S-Note was only buildt for KitKat in the samsung stock firmware,
for this you have to use alternativevs with custom roms.
The pen itself should work fine.
Okay, so I downloaded this ROM.
Overall I'm not a fan, but I gotta give credit where it's due...
This ROM is fast and it doesn't seem to have an MTP bug! It's actually kinda usable.
It also supports Substratum Themes.
But this ROM also has some negatives!
The default browser (Lightning Browser) really sucks. It has a tab limit and tries to upsell you to a paid version. To use your own hosts file in the browser's adblock, you have to pay. There are far better browsers that could of been included instead that doesn't restrict any of it's features. I would of preferred to see Via Browser, Firefox, or Chromium included instead.
The version of Open Camera included seems to be missing features, such as Camera 2 API support (with all the additional adjustments it supports), and 60 Hz anti flickering. It also crashes upon taking a picture.
The default equalizer sucks. It just has a terrible looking UI that doesn't scale for the size of these tablets. The one in Lineage OS at least looked better and allowed saving presets. Additionally, there is no default music player (which Lineage OS did have even if it wasn't that great, you had something you could use).
Other notable missing apps I can remember from Lineage OS include: the screen recorder with voice recorder and the file manager (better than stock Android's).
It seems the stylus cursor does not have the ability to be disabled in settings as well.
Thanks for the hints, I've tried them and it works for me...my wife misses the...you can write on a website and cope send or something like that, it runs like a tablet supposed to do of that age and it's great
FanboyStudios said:
Okay, so I downloaded this ROM.
Overall I'm not a fan, but I gotta give credit where it's due...
This ROM is fast and it doesn't seem to have an MTP bug! It's actually kinda usable.
It also supports Substratum Themes.
But this ROM also has some negatives!
The default browser (Lightning Browser) really sucks. It has a tab limit and tries to upsell you to a paid version. To use your own hosts file in the browser's adblock, you have to pay. There are far better browsers that could of been included instead that doesn't restrict any of it's features. I would of preferred to see Via Browser, Firefox, or Chromium included instead.
The version of Open Camera included seems to be missing features, such as Camera 2 API support (with all the additional adjustments it supports), and 60 Hz anti flickering. It also crashes upon taking a picture.
The default equalizer sucks. It just has a terrible looking UI that doesn't scale for the size of these tablets. The one in Lineage OS at least looked better and allowed saving presets. Additionally, there is no default music player (which Lineage OS did have even if it wasn't that great, you had something you could use).
Other notable missing apps I can remember from Lineage OS include: the screen recorder with voice recorder and the file manager (better than stock Android's).
It seems the stylus cursor does not have the ability to be disabled in settings as well.
Click to expand...
Click to collapse
Thank you for your feedback.
Which browser would you prefere? I can build every browser with the system.
Just want to mention, it's not LineageOS, its's Slim, this means that there are different apps and many not.
This make's the system as fast as it is.
But I could pack all apps with the system you've mentioned, if you all want this .
For everyone who would prefere a LineageOS can download it here:
https://www.android-hilfe.de/forum/...-n8010-gt-n8013-gt-n8020-sch-i915.899939.html
html6405 said:
Thank you for your feedback.
Which browser would you prefere? I can build every browser with the system.
Just want to mention, it's not LineageOS, its's Slim, this means that there are different apps and many not.
This make's the system as far as it is.
But I could pack all apps with the system you've mentioned, if you all want this .
For everyone who would prefere a LineageOS can download it here:
https://www.android-hilfe.de/forum/...-n8010-gt-n8013-gt-n8020-sch-i915.899939.html
Click to expand...
Click to collapse
Via Browser is pretty small and lightweight, has plenty of features without being complicated, no paywalls, and the source code is available: https://github.com/tuyafeng/Via
...otherwise Firefox.
For a small, but capable music player there is Vanilla Music and 4 addons to add some nice features (like lyrics search, tag editing, cover fetch, and metadata fetch), All for free, no paywalls, not bloated.
It's probably better to download Open Camera from the Play Store and include it, or maybe FDroid? I think those builds may have more of the features.
VLC is great for media playback.
It might be nice if you include Substratum for themes (as it does work) but that's not necessary.
Also searching for Terminal in settings shows a result, but it's not available for enabling. Would love to see that return as an option.
Built-in physical keyboard issue
Hello, html6405!
First and foremost, huge thanks for still maintaining these old devices. This ROM fixed some of the main issues of the other ROMs based on Android 7.1 for my GT-N8000. Namely, the settings app and the MTP service don't regularly crash anymore and adaptive brightness, as well as the night light finally work correctly. However, it doesn't fix one of the problems I've always had with custom ROMs for my device, which is having no ability to toggle off the built-in physical keyboard. While it usually doesn't bother me when using apps, I like racing games and want to occasionally play Asphalt 8. Unfortunately, upon detecting a physical keyboard (no matter even if it's fake) the game completely refuses to give any touch-based controls, and so I am left with an unplayable game.
To make such apps usable, can you either remove the built-in physical keyboard or give an option to disable it in the settings, please?
Once again, thanks for the awesome and stable ROM, and good luck in your developer career!
ringyring said:
Hello, html!
First and foremost, huge thanks for still maintaining these old devices. This ROM fixed some of the main issues of the other ROMs based on Android 7.1 for my GT-N8000. Namely, the settings app and the MTP service don't regularly crash anymore and adaptive brightness, as well as the night light finally work correctly. However, it doesn't fix one of the problems I've always had with custom ROMs for my device, which is having no ability to toggle off the built-in physical keyboard. While it usually doesn't bother me when using apps, I like racing games and want to occasionally play Asphalt 8. Unfortunately, upon detecting a physical keyboard (no matter even if it's fake) the game completely refuses to give any touch-based controls, and so I am left with an unplayable game.
To make such apps usable, can you either remove the built-in physical keyboard or give an option to disable it in the settings, please?
Once again, thanks for the awesome and stable ROM, and good luck in your developer career!
Click to expand...
Click to collapse
Hi,
thanks for your feedback, I never thought about this, to disable the keyboard.
The driver is always registered, even if it's not connected.
But when you connect the physical keyboard, a uevent will be sent to the system to recognize it.
In my opinion these games should give us the opportunity to choose how we want to control.
But I will try to find a solution for this!
FanboyStudios said:
Via Browser is pretty small and lightweight, has plenty of features without being complicated, no paywalls, and the source code is available: https://github.com/tuyafeng/Via
...otherwise Firefox.
For a small, but capable music player there is Vanilla Music and 4 addons to add some nice features (like lyrics search, tag editing, cover fetch, and metadata fetch), All for free, no paywalls, not bloated.
It's probably better to download Open Camera from the Play Store and include it, or maybe FDroid? I think those builds may have more of the features.
VLC is great for media playback.
It might be nice if you include Substratum for themes (as it does work) but that's not necessary.
Also searching for Terminal in settings shows a result, but it's not available for enabling. Would love to see that return as an option.
Click to expand...
Click to collapse
Ok via browser is good, I will use it for the future builds.
I will try your recommended music players and eventually I will build the terminal with the system.
For the other things I will also take a look at it.

Categories

Resources