[MOD] [GUIDE] [ADB] Change DPI density WITHOUT root - LG G6 Guides, News, & Discussion

I'm Back on XDA!
So, are you tired of the small amount of informations that you can have on your HUGE screen? You are in the right place.
WHAT DO I NEED?
First things first, you need to enable Debug usb under Developer Options (if you don't know how to enable Dev. Options this isn't your place)
After that, you need ADB installed on your computer (Windows/Linux/Mac), you can find it here [url]https://forum.xda-developers.com/showthread.php?t=2588979[/URL]
HOW TO
With Developer Options ENABLED, connect your phone to your pc and launch adb. In ADB type this command
Code:
adb shell wm density xxx
where xxx is your custom DPI value. I found that values BELOW 527 will bug your quick toggles*
*It could depend by your installed theme, Thanks to @SPIDER-7 for reporting that.
HOW DO I RETURN TO THE DEFAULTS VALUES?
Cave_diver said:
To return to the defaults just use the sliders in settings-display-display size
Click to expand...
Click to collapse
SCREENSHOTS
http://i.imgur.com/JyodBYe.png
http://i.imgur.com/fsW1Qtd.png
DISCLAIMER
I'M NOT RESPONSABLE IF THIS PROCESS CREATED A THERMAL NUCLEAR DEVICE
AND / OR TURN YOU INTO FIRESTORM.
NOT RESPONSABLE IF SOMETHING HAPPEN DURING THIS MOD OR IF
YOU DO A MISTAKE DURING THIS PROCESS
I'm Italian so don't blame me for my english.

it works just fine! Thanks, @gsadv . keep it up!
Btw, I'm on value '500 and didn't notice any bugs . will challenge my G6 with lower values .

SPIDER-7 said:
it works just fine! Thanks, @gsadv . keep it up!
Btw, I'm on value '500 and didn't notice any bugs . will challenge my G6 with lower values .
Click to expand...
Click to collapse
Bugs on quick setting may depend by themes. For me 527 is fine, next step is try to get a smaller navbar

i'm going to try 527, but what is the default value if i decided to go back?

To return to the defaults just use the sliders in settings-display-display size
Sent from my LG-H870 using Tapatalk

Cave_diver said:
To return to the defaults just use the sliders in settings-display-display size
Sent from my LG-H870 using Tapatalk
Click to expand...
Click to collapse
original size 640

Related

[MOD] avlock[11], a real, system-level lock screen replacement (fixed 04/22/2010)

avlock[10] is a (the first?) real, *system-level* lock screen replacement for Android (CM 5.0.6).
it replaces the standard "connect the dots" behavior with pin-like mechanism. patterns can be arbitrarily large, and nodes can be repeated. also, there are no numbers -- just circles. definitely not for everyone, but i think some people may like it.
here's how it works:
http://files.clangen.org/avlock/avlock.m4v
if you want to try it you must have CM 5.0.6 installed, then:
1. reboot to bootloader
2. nandroid backup <-- do it. seriously. just in case.
3. flash avlock[x].zip
4. reboot
5. if you don't have a lock pattern already, set one: Home > Menu > Settings > Location and Security > Set Unlock Pattern
faq:
q: what happens if something goes really wrong and i can't log in?
a: i've been tweaking this mod for a long time and you shouldn't have any problems. BUT IF YOU DO:
* restore from nandroid backup made in step 2 above
OR
* if you know how to use adb, just delete the file pattern file and reboot:
adb remount
adb shell rm /data/system/gesture.key
adb shell reboot
q: what files are replaced by the patch?
a: framework.jar, framework-res.apk, android.policy.jar, Settings.apk
q: why not just distribute this as a simple .apk file?
a: this is a system-level mod because it replaces system-level components. it cannot be distributed as an .apk.
changelog:
avlock[8]:
* initial release
avlock[9]:
* added tactile feedback
* reduced login delay
avlock[10]:
* disabling "Use visible pattern" works now
* better integration with system and Settings.
* re-added drag lock option.
avlock[11]:
* added the ability to specify a pattern timeout
use at your own risk. i am not responsible for any damages caused by this software. MAKE A NANDROID BACKUP FIRST!
caution: if you update your rom, install a theme, or flash another mod that replaces framework.jar, framework-res.apk, or android.framework.jar, you may not be able to log in upon reboot (or even spin into a boot loop). either (1) make sure you disable your lock screen before flashing or (2) rm gesture.key as described in the faq!
download:
avlock[11]: http://droidbasement.com/db-blog/?p=202 (thanks, pershoot)
sources:
http://github.com/avatar5d
wow, nifty and works well enough
It'd be really nice if it was faster, there is close to a 2 second lag between entering and unlocking
Cool Thanks
Nice , i agree with the faster unlock and if it's possible to install it via apk or another methode than flashing in recovery mode.
Good work.
Thanks
imfloflo said:
Nice , i agree with the faster unlock and if it's possible to install it via apk or another methode than flashing in recovery mode.
Good work.
Thanks
Click to expand...
Click to collapse
You could always unzip the zip and push the files manually
adb shell stop
adb push these files to their respective places framework.jar, android.policy.jar, Settings.apk
adb shell start
If you forget the pattern, you can get it emailed to you right?
Looks awesome in the video, nice idea, better executed!
NICE MOD!
Nice work!!!
prettyboy85712 said:
Nice work!!!
Click to expand...
Click to collapse
+1 Nice ...
Good Job !
This looks awesome! Nice work
@ _avatar
Any chance to make this work with Enom's ROM ?
Nice work!
imfloflo said:
Nice , i agree with the faster unlock and if it's possible to install it via apk or another methode than flashing in recovery mode.
Click to expand...
Click to collapse
Unfortunately, because this is a system-level mod it cannot be installed as a simple .apk.
bobtentpeg said:
It'd be really nice if it was faster, there is close to a 2 second lag between entering and unlocking
Click to expand...
Click to collapse
The delay is there on purpose. Once you stop touching the circles for 2 seconds, the combination is verified. Without this delay, there would need to be some sort of "OK" button, which I think is undesirable. However, I'll look into making the delay shorter (1 second?) for future builds. The value needs to be long enough so people can still enter their combination relatively slowly, but fast enough so it's not annoying.
pvillasuso said:
Any chance to make this work with Enom's ROM ?
Click to expand...
Click to collapse
Possibly. Is Enom's source available, and easily buildable like Cyanogen's? I'm not super familiar with his project.
This is hot, installing now. My main complaint with the stock lock pattern was the inability to re-use points. just gotta set a good lock pattern and see how this works.
Thanks.
Wow.. this is pretty damned cool! Good job.
One thing, tactile feedback is not working with this, any way to restore that?
daveid said:
One thing, tactile feedback is not working with this, any way to restore that?
Click to expand...
Click to collapse
It's on my TODO list
EDIT: added to avlk[9] build. see original post!
Can you make a them of some sort and replace the dots with numbers?
Can it run on 1.8.1 rom
Re: [MOD] avlk[9], a real, system-level lock screen replacement
anyway to incorporate trackball wake-up in this for us desire port guys ;-)
Sent from my Nexus One using the XDA mobile application powered by Tapatalk
_avatar said:
Possibly. Is Enom's source available, and easily buildable like Cyanogen's? I'm not super familiar with his project.
Click to expand...
Click to collapse
http://android.git.kernel.org/
You'll want to ask him which actual tag he's building for current versions. Also, since I'm not up on framework patching, it might be more complicated if you don't want to break the trackball-wake and/or notification features. Best to contact him @enomther or for someone to raise the suggestion in his thread.

Screen Resolution settings?

Adjusting Screen Resolution:
Isn't there a way to adjust screen size or resolution, I feel the default image on the desktop gets cut at the bottom and was curious to see if I can play with resolution like we used to do on a windows desktop where we also adjust the icon sizes!!?
I used the DPI= kernel option for Remix OS. Without it I couldn't see my screen because it is 4k resolution, needed a magnifying glass. Think there are some apps in the play store that will allow you to adjust this. Not sure if they require root though. Now I am curious..........
Checked the Play Store and the DPI changer apps do require root.
erickh said:
I used the DPI= kernel option for Remix OS. Without it I couldn't see my screen because it is 4k resolution, needed a magnifying glass. Think there are some apps in the play store that will allow you to adjust this. Not sure if they require root though. Now I am curious..........
Checked the Play Store and the DPI changer apps do require root.
Click to expand...
Click to collapse
thanks very useful insight!
Hi Sany,
If you want a little more information on the subject you can go here http://technicalcultivation.weebly.com/android . I wrote a short article on the subject of changing your DPI on Android.
erickh said:
Hi Sany,
If you want a little more information on the subject you can go here http://technicalcultivation.weebly.com/android . I wrote a short article on the subject of changing your DPI on Android.
Click to expand...
Click to collapse
Your article is wrong you can set the resolution on android; via wm ie wm size 1204x768 and you can set dpi with wm density 140; and these don't require root afaik.
Thanks for the info, i'll look into it and update.
Alt+F1 to open the command console
wm density (dpi here), then enter
wm size (resolution here), then enter
Alt+F7 to close command window
(Note : This is very experimental. Be very cautious doing it inside open applications as well, and it does persist through reboots. You can easily muck up your display settings, and be forced into reinstalling a new data partition/full install, and it DOES have bearing on open applications, often leading into boot loops per few minutes).
HypoTurtle said:
Your article is wrong you can set the resolution on android; via wm ie wm size 1204x768 and you can set dpi with wm density 140; and these don't require root afaik.
Click to expand...
Click to collapse
How can I access those commands, wm size or wm density ??
chapa_9 said:
How can I access those commands, wm size or wm density ??
Click to expand...
Click to collapse
See post above.
Zeronomous said:
Alt+F1 to open the command console
wm density (dpi here), then enter
wm size (resolution here), then enter
Alt+F7 to close command window
(Note : This is very experimental. Be very cautious doing it inside open applications as well, and it does persist through reboots. You can easily muck up your display settings, and be forced into reinstalling a new data partition/full install, and it DOES have bearing on open applications, often leading into boot loops per few minutes).
Click to expand...
Click to collapse
Hello,
I get a permission error (java.lang.SecurityExcpetion: must hold permission android.permission.WRITE_SECURE_SETTINGS) if i use this command.
Do I have to root Remix OS for it?
G-DaX said:
Hello,
I get a permission error (java.lang.SecurityExcpetion: must hold permission android.permission.WRITE_SECURE_SETTINGS) if i use this command.
Do I have to root Remix OS for it?
Click to expand...
Click to collapse
I have the same error.
what should be done?
If you have installed GRUB, you can edit the start line (first tab, then follow the instructions so you can 'e' edit)
For an interactive choice you can add vga=ask, that will give an overview of the available modes.
If you want to add it permanently, you'll have to modify grub/menu.lst (using a live linux CD or so) and add vga=<your mode in decimal>
Only caveat is that vga=ask shows the mode in hex and you have to add it in decimal to menu.lst
flemlion13 said:
If you have installed GRUB, you can edit the start line (first tab, then follow the instructions so you can 'e' edit)
For an interactive choice you can add vga=ask, that will give an overview of the available modes.
If you want to add it permanently, you'll have to modify grub/menu.lst (using a live linux CD or so) and add vga=<your mode in decimal>
Only caveat is that vga=ask shows the mode in hex and you have to add it in decimal to menu.lst
Click to expand...
Click to collapse
and there is some or team to flip the image from portrait to landscape?

Info on 10E update

Does anyone know if the 10E update still lets you use ADB commands? That is how I am changing my DPI and if it does not work in the new update I will not update it.
Just a question, isn't the Settings/Display/Display size change the DPI also ? Why do you need to use fastboot commands?
adit9989 said:
Just a question, isn't the Settings/Display/Display size change the DPI also ? Why do you need to use fastboot commands?
Click to expand...
Click to collapse
Because I like it a crap ton smaller than what the settings allow me to take it down to. On stock android you can change the smallest width in dev options but that setting is not visible. So the fastboot command basically lets you modify that setting because it exists but is not available to be edited.
jaedenhudson14 said:
Because I like it a crap ton smaller than what the settings allow me to take it down to. On stock android you can change the smallest width in dev options but that setting is not visible. So the fastboot command basically lets you modify that setting because it exists but is not available to be edited.
Click to expand...
Click to collapse
I Thought the dpi change was done with adb instead of fastboot. Correct me if im wrong.
R800x_user said:
I Thought the dpi change was done with adb instead of fastboot. Correct me if im wrong.
Click to expand...
Click to collapse
Yes. ADB. NOT fastboot. My error. You can change the smallest width setting in adb commands. Another thread in here explains how to do that.
ADB commands aren't neutered. It's the fastboot commands that are.
I'm still sitting on 10c, waiting for something from T-Mobile hoping to fix the SMS glitches that keep deleting my messages.

[Overlay] Enable Night Light, Auto-Brightness, Ambient Display & more on Treble ROM

[Overlay] Enable Night Light, Auto-Brightness, Ambient Display & more on Treble ROM
Hello.
By default, phhusson's generic AOSP Treble ROM is bare bones. That means it does not include features such as Night Light, Ambient Display, or Adaptive Brightness. Luckily all you need is the right overlay and you can bring these features back.
I tested this on the Huawei Mate 10 Pro and everything seems to work save for the lift-to-wake gesture. I am not sure if a simple overlay can enable that, as I already target the right boolean value for it. As for Adaptive Brightness, the lux and corresponding backlight values were borrowed from the Huawei Mate 9's framework-res.
Update 2/19/18
With the release of phhusson's Android 8.1 Oreo Treble GSI, I thought I would take the time to update my overlay as well with a new feature: Always on Display. You can download the overlay from the attachment in this comment, and install it using the same set of instructions below (don't install the overlay attached in this post if you want AOD). Please read the warnings carefully. I accept no responsibility for anything you do with your phone.
Update 2/6/18
I have updated the attached framework overlay to include the following features:
WiFi automatic wakeup
Pinner service for the default camera app and critical framework files
This should work on any device that can boot phhusson's Treble ROM.
Installation Instructions
Download the attached overlay
With root, push the overlay to /vendor/overlay. Create the folder if it doesn't exist.
Run the following command in a rooted terminal or ADB shell:
Code:
chcon u:object_r:vendor_overlay_file:s0 /vendor/overlay;chcon u:object_r:vendor_overlay_file:s0 /vendor/overlay/framework-res__auto_generated_rro.apk
Reboot
XDA Labs adds emojis in the command for some reason. Open this thread in a browser to get the right command.
Why do you need to run that command? Without it, the overlay won't be seen as installed and isn't enabled. I'm not sure why, but according to phhusson it's an SELinux-related issue and this command fixes that.
Enjoy!
What is the code?
独影阑珊 said:
What is the code?
Click to expand...
Click to collapse
Code:
chcon u:object_r:vendor_overlay_file:s0 /vendor/overlay;chcon u:object_r:vendor_overlay_file:s0 /vendor/overlay/framework-res__auto_generated_rro.apk
Why?
独影阑珊 said:
Why?
Click to expand...
Click to collapse
It does not work because you have included spaces in the command that are not there.
tusko5 said:
It does not work because you have included spaces in the command that are not there.
Click to expand...
Click to collapse
Oh, thanks.
Hello, not working on mate 9, all commands OK - no output error (I added mount -o rw,remount /system and mount -o rw,remount /vendor) to copy your files, but even after reboot no new things
EDIT : after "installing" the app (click on it with a root explorer), all options are now visible but not working
how can i get the root access on the rom?
It is also not working on honor v9 .
mrassol said:
Hello, not working on mate 9, all commands OK - no output error (I added mount -o rw,remount /system and mount -o rw,remount /vendor) to copy your files, but even after reboot no new things
EDIT : after "installing" the app (click on it with a root explorer), all options are now visible but not working
Click to expand...
Click to collapse
If you install it as a regular app, it won't work. It MUST be pushed to /vendor/overlay manually, and you MUST run that command.
javawppp said:
how can i get the root access on the rom?
Click to expand...
Click to collapse
Install phhusson's SuperUser from the Play Store.
独影阑珊 said:
It is also not working on honor v9 .
Click to expand...
Click to collapse
Did you follow the steps exactly? This can't be installed like a regular app.
you did'nt read my post
I did all you wrote (I even add mount -o rw,remount /system and mount -o rw,remount /vendor) and nothing changed
AFTER that, I install the apk from /vendor/overlay using a root explorer and now the options are visible, brightness is working (I didn't saw it first), night mode is also working, ambiant display is also working but the option to turn on phone on pickup don't work.
So my bad, I didn't test it so much
MishaalRahman said:
If you install it as a regular app, it won't work. It MUST be pushed to /vendor/overlay manually, and you MUST run that command.
Install phhusson's SuperUser from the Play Store.
Did you follow the steps exactly? This can't be installed like a regular app.
Click to expand...
Click to collapse
When I try to open it as a regular app , my phone display it can not open .I am sure it be pushed to /vendor/overlay .,and I have run the commed and rebooted system at least 5 times.but it still useless.(I am sorry my English is poor.)
独影阑珊 said:
When I try to open it as a regular app , my phone display it can not open .I am sure it be pushed to /vendor/overlay .,and I have run the commed and rebooted system at least 5 times.but it still useless.(I am sorry my English is poor.)
Click to expand...
Click to collapse
You are running phhusson's AOSP Treble ROM, correct? What device?
MishaalRahman said:
You are running phhusson's AOSP Treble ROM, correct? What device?
Click to expand...
Click to collapse
Yes,My device is Honor V9.
独影阑珊 said:
Yes,My device is Honor V9.
Click to expand...
Click to collapse
Ah, okay. That is the Honor 8 Pro's Chinese version. Have you tried this ROM? https://forum.xda-developers.com/honor-8-pro/development/rom-t3714728 I was told by the dev that he included these features by default. You flash it the same way with phhusson's ROM.
MishaalRahman said:
Ah, okay. That is the Honor 8 Pro's Chinese version. Have you tried this ROM? https://forum.xda-developers.com/honor-8-pro/development/rom-t3714728 I was told by the dev that he included these features by default. You flash it the same way with phhusson's ROM.
Click to expand...
Click to collapse
Thanks,I will try it.
Took me a while to get it to work on my mate 10 pro, then realised I had to manually set the permissions on the folder, and file for it to work. Great job!
Is there a way I could edit the minimum and maximum brightness it reaches?
Thanks again
etern1ty said:
Took me a while to get it to work on my mate 10 pro, then realised I had to manually set the permissions on the folder, and file for it to work. Great job!
Is there a way I could edit the minimum and maximum brightness it reaches?
Thanks again
Click to expand...
Click to collapse
Ah, I forgot about that. I believe the folder permissions are 755 and the APK should be 644, correct? As for setting the brightness, do you want to increase the minimum and lower the maximum of the adaptive brightness?
MishaalRahman said:
Ah, I forgot about that. I believe the folder permissions are 755 and the APK should be 644, correct? As for setting the brightness, do you want to increase the minimum and lower the maximum of the adaptive brightness?
Click to expand...
Click to collapse
Yeah, that sounds right I just matched the other folders and APKs. I was hoping to decrease the minimum (so it's darker), I don't notice a big effect on my mate 10 pro.
Is there a guide for going about this? I'm interested to learn how to make these sorts of modifications myself.
Cheers
etern1ty said:
Yeah, that sounds right I just matched the other folders and APKs. I was hoping to decrease the minimum (so it's darker), I don't notice a big effect on my mate 10 pro.
Is there a guide for going about this? I'm interested to learn how to make these sorts of modifications myself.
Cheers
Click to expand...
Click to collapse
Decompile my overlay. Look in /res/values/arrays.xml. Look at "config_autoBrightnessLcdBacklightValues" array and change the first item, <item>6</item> to <item>1</item>. Build the APK, sign it, and then push.

[Guide] [Magisk] Disable Dynamic refresh rate for Poco X3 NFC

A lot of people have complained about stuttering in between App switching and gaming. This guide helps you disable Dynamic refresh rate through MagiskHide Prop Config, which is easier than setting it manually and safer to disable if it doesn't work.
Disclaimer: Disabling Dfps (Dynamic refresh rate) will degrade battery life with prolonged use. According to my personal testing, battery life (SOT) decreased by 10-18% on average. Only use for short periods of time.
Click to expand...
Click to collapse
Requirements:
- Unlocked and rooted with Magisk v21.0.
- busybox-ndk.
- MagiskHide Prop Config installed (used often to pass safetynet CTS but can be used to set custom Props).
Instructions:
1- Run SU in your terminal of choosing.
2- Run props.
3- choose option 5 "Add/edit custom props".
4- choose n "New custom prop".
5- type in:
Code:
ro.vendor.dfps.enable
6- Default value should be true, type in false to disable.
7- choose 2 "post-fs-data".
8- choose n, don't reboot yet.
9- choose n again to set another prop.
10- type in:
Code:
ro.vendor.smart_dfps.enable
11- Default value should be true, type in false to disable.
12- choose 2 "post-fs-data".
13- Reboot.
Only tested on stock MIUI. Try at your own risk!
It works on MIUI eu 12.0.3.0.
No stuttering anymore !
Thanks man !
Do this affect to battery performance?
Segamalaga said:
Do this affect to battery performance?
Click to expand...
Click to collapse
Yes. For me i get 1 hour less of SOT. That means if i get 7-9 hours on average, with this mod i get 6-8 hours instead.
Doesn't this mess with L1 ? Damn , I need to back up my persist img
Joakin2k said:
Doesn't this mess with L1 ? Damn , I need to back up my persist img
Click to expand...
Click to collapse
NOPE. It doesn't mess with L1 certification or any for that matter. This is a systemless "vendor" modification not "persist", and as such very easily uninstallable. See attached screenshots.
Also the payoff/difference is huge if you're a power user. Try consistent 120Hz vs. stuttering 120Hz (sometimes drops to 30Hz) and you will notice immediately.
Slim K said:
NOPE. It doesn't mess with L1 certification or any for that matter. This is a systemless "vendor" modification not "persist", and as such very easily uninstallable. See attached screenshots.
Also the payoff/difference is huge if you're a power user. Try consistent 120Hz vs. stuttering 120Hz (sometimes drops to 30Hz) and you will notice immediately.
Click to expand...
Click to collapse
Excellent explanation ! , I don't care for battery (if is not something out of control) I charge my phone always twice a day, I read that even Xiaomi EU and MIUI MIX has this issue ...
Going back to stock or EU for performance, aosp based are very green in performance...
Any Rom recommendation ?
Is there a way to set the refresh rate to 90hz and disable the dynamic refresh rate after that?
Joakin2k said:
Any Rom recommendation ?
Click to expand...
Click to collapse
I've tried all the custom ROMs available for our device and recommend stock for now. Since all of them are based on stock kernel anyway, they're all MIUI ROMs in my opinion, but you can't blame devs for choosing to patch Stock MIUI when we don't even have Device sources released. TWRP for the same reason, Dynamic partitions are scary.
Skeuomorphic said:
Is there a way to set the refresh rate to 90hz and disable the dynamic refresh rate after that?
Click to expand...
Click to collapse
As far as i know, refresh rate is handeled by an Activity:
Code:
com.xiaomi.misettings/.display.RefreshRate.RefreshRateActivity
which handels Dfps. In turn Dfps handels the frequencies in between 30Hz-120Hz depending on the process(Activity) on the forground.
I can't use my pc for a week atleast (broken from tinkering too much) to find a workaround, but good news! Theoretically, this guide should also work in custom roms with 90Hz option in settings app. Try it on a custom ROM and share your experience with us. [at your own risk ofc]
Thanks for taking your time to answer sir
Will this still work if i set the display to 60hz?
I'm having problems hiding magisk manager(no magisk hide), I already turn off dynamic hz thx to you , changed device fingerprint for pixel 4(want certification)... But when I want to hide magidk manager (a Bank app can see it -already marked in hide-) it says some error , I don't know if it's the Miui security app , this never happened on AOSP, I'm on stock poco X3 , root + props hide config + vanced ... Any tip ?
olujnap316 said:
Will this still work if i set the display to 60hz?
Click to expand...
Click to collapse
Yes. Setting 60Hz in the Settings app will set it to a constant 60Hz, conversely setting it to 120Hz will set it to a constant 120Hz as well.
Joakin2k said:
I'm having problems hiding magisk manager(no magisk hide), I already turn off dynamic hz thx to you , changed device fingerprint for pixel 4(want certification)... But when I want to hide magidk manager (a Bank app can see it -already marked in hide-) it says some error , I don't know if it's the Miui security app , this never happened on AOSP, I'm on stock poco X3 , root + props hide config + vanced ... Any tip ?
Click to expand...
Click to collapse
This is a fairly famous problem with Magisk Manger hiding and SELinux enforcing, but easily solvable. Do the following:
1- Go to Play store and turnoff Play Protect scanning (interferes with magisk manager repackiging itself aka Hiding).
2- Force stop Manager.
3- Open Manager again and choose another name and apply.
4- Profit.
If this still doesn't work, try this:
5- Go back to step 2 and then open terminal.
6- Type SU.
7- then set SELinux to permissive by inputting:
Code:
setenforce 0
8- continue with step 3
9- then set SELinux back to enforcing by inputting in terminal:
Code:
setenforce 1
10- Done
Man... Worked Flawlessly... Never had that issue on AOSP roms.
Thanks ! no need to turn on/off selinux enforcement.
But , really, thanks for your attention and detail , I'm impressed Sr
To make things easier and more risk free, i have attached a config file to automate this process. New steps are even easier! Do the following:
1- Install the aforementioned modules.
2- unzip the attached .zip file to the root of internal storage.
3- Reboot.
New settings should've been applied successfully after reboot and the config file will delete itself.
Slim K said:
To make things easier and more risk free, i have attached a config file to automate this process. New steps are even easier! Do the following:
1- Install the aforementioned modules.
2- unzip the attached .zip file to the root of internal storage.
3- Reboot.
New settings should've been applied successfully after reboot and the config file will delete itself.
Click to expand...
Click to collapse
Does this mean that the manual method enables back the dynamic refresh rate after every reboot? Which this conf will solve by placing the conf file at the root of internal storage before rebooting the phone?
Skeuomorphic said:
Does this mean that the manual method enables back the dynamic refresh rate after every reboot? Which this conf will solve by placing the conf file at the root of internal storage before rebooting the phone?
Click to expand...
Click to collapse
The Manual method as well as this method both persist through reboots. Only difference is the complexity of the initial setup, but that's it.
Great tutorial.any good guide to debloat safely without root
Doesn't seem to work there, checked with the power monitor, and it still switch between 120/90/60/30/1 fps depending on the app/menu I'm in
CaPicote said:
Doesn't seem to work there, checked with the power monitor, and it still switch between 120/90/60/30/1 fps depending on the app/menu I'm in
Click to expand...
Click to collapse
Can you provide me the following?:
1- MIUI vers. (i.e 12.0.3.0 QJGEUXM)
2- Go to terminal a run su and then:
Code:
getprop ro.vendor.smart_dfps.enable
-Output should be false, if it's true, then you didn't set it right.
I think a lot of people mix up framerate and refresh rate. Just an FYI, the thing that should be of interest is the refresh mode in power monitor. Check these screenshots, the circled value should stay at 120Hz consistently. Another screenshot I provided below without this mod shows 60Hz encircled when device not touched(which we don't want). The value on the right side of it (also in screenshots) is the framerate provided from the app (process) and indicates the actual frames displayed on the screen, if the screen isn't changing or moving, then there is nothing to display 120 frames about and will drop to 1 fps, which is completely normal.

Categories

Resources