[GUIDE]Enable auto brightness in custom roms - Xiaomi Redmi 7 Guides, News, & Discussion

Hello everyone, I want to share how to enable auto brightness also known as adaptive brightness to custom roms for redmi 7.
Steps to enable auto brightness:
1. Download the attached apk
2. Navigate to /system/vendor/overlay using any file explorer which supports root. I will recommend ES File Explorer
3. Now copy the apk file to the navigated path
4. Set the apk permissions to 0777. If you are using ES File Explorer, then skip this step.
5. Reboot your device
6. Go to Settings > Display > Adaptive Brightness and enable it.
Don't forget to hit the thanks button
Note: This solution was found by @BoomBoomsss and was posted on 4PDA. I am just sharing his solution.

I am sorry that I couldn't give you credit on my post. But I am pretty sure that you have misunderstood me.
First, I didn't know that you are on XDA or what's your XDA profile. That's why I can't give you credit. But now I know. I will give you the credit on this post.
Secondly, I didn't say it's my work I just wanted to everyone hit the thanks button. I was looking for auto brightness for so long. But couldn't find a solution. That's why I thought I should share the solution with everyone.
Last thing, Sorry once again.

Tried the step by step guide, but I can't copy or move the apk to the specified folder... Sometimes the app points an error, but sometimes it says it copied/moved successfuly, but when I reboot nothing happens. Tried with ES File Explorer, and other apps as well. Any ideas?

prezoto said:
Tried the step by step guide, but I can't copy or move the apk to the specified folder... Sometimes the app points an error, but sometimes it says it copied/moved successfuly, but when I reboot nothing happens. Tried with ES File Explorer, and other apps as well. Any ideas?
Click to expand...
Click to collapse
Yes. Follow these steps:
Open ES file explorer
Go to menu > Tools> Root Explorer
Select Mount R/W
Select '/' and 'vendor/' to RW
Click Ok button
Restart your phone. Now follow the main steps and reboot again.
Sorry for being late. ?

Not working
I've followed your procedure, everything worked fine except the autobrightness doesn't. Brightness slider doesn't work at all.
My setup:
- redmi note 7
- vendor stock
- rom: lineage os 17 gsi from andyyan
- microg working
- phh-magisk
My question is, should i delete the only other file in /system/vendor/overlay which has almost the same name? Or what else can i do?
Thanks in advance
Edit: found a fix: in this telegram group @Lavendergsi
Search for brightness fix lavender and rename the zip so doesnt have spaces anymore. Flash via orangefox

Related

How to STOP the Sprint update notification [GUIDE & VIDEO]

You can follow this guide to stop the Sprint update notification using the latest version of ES File explorer. This instruction is for the Sprint Samsung Galaxy note II. This is known to work on other Samsung devices as well. This guide will begin from scratch so that anyone can follow it from square one. If you already have root and ES File Explorer set up you can skip to step 7
See a video demonstration here http://www.youtube.com/watch?v=ifG5iPSFuCE
1. First be sure you have superuser access (root access). You can use a root checker like this one to be sure
https://play.google.com/store/apps/details?id=com.joeykrim.rootcheck&hl=en
2. Download and install ES File explorer. You can get that here...
https://play.google.com/store/apps/details?id=com.estrongs.android.pop&hl=en
3. Open ES File explorer and grant root permission. Go into settings and set your preferences
4. Tap your device menu
5. Tap Tools
6. Tap root explorer.
7. The root explorer menu will pop up and you'll tap Mount R/W
8. Fill in all the bubbles for RW and tap OK
9. Navigate to the root of your device (At the Top you'll see the root directory is listed as "Device" or "/")
10. Tap the File named "etc"
11. Tap the File named "security"
12. Long press on the otacerts.zip until the check box appears and put a check in it.
13. Tap more
14. Tap properties
15. Place check marks in the read and write boxes and Tap ok
16. Tap rename (on the bottom action bar)
17. Rename the otacerts.zip file to otacerts.bak and tap ok
18. Tap refresh (bottom action bar)
19. Pull down the notification curtain and accept the update. *Some devices reboot here. (if the notice isn't in your notification bar just go on to the next step)
20. On your homescreen open your device menu and Tap system settings.
21. Scroll to and select System update.
22. Tap Update firmware.
Your device will say it is up to date and you won't get the notification anymore. If you do then reboot and start over because you skipped something.
If this helped you feel free to click the "thanks" button.
Space reserved
Thankd
Sent from my SPH-L900 using xda app-developers app
There's easier way just freeze updater
Sent from my GT-I9505 using Xparent Skyblue Tapatalk 2
vasiaeva said:
There's easier way just freeze updater
Sent from my GT-I9505 using Xparent Skyblue Tapatalk 2
Click to expand...
Click to collapse
About that... I do appreciate your comment but I wanted to make a guide (and video) to help the most people. I felt like giving a free option here would be the best way to go.
I know there are apps that can freeze the updater but I didn't want to get into a comparison of the apps that may do it or provide instruction for every single one of them. Also there have been reports that freezing the updater didn't work or caused other issues. The solution I provided will work on the Sprint SGN2 (and other Samsung devices) and only requires ES File Explorer which I feel very comfortable recommending and is free.
I would like to consider all the options, though. So, going forward if we're going to recommend alternative solutions I think it would be best if a guide (or a link to a guide or video) would also be posted with it...or at least some detailed instructions. This way the most people will get the most out of it.
vasiaeva said:
There's easier way just freeze updater
Sent from my GT-I9505 using Xparent Skyblue Tapatalk 2
Click to expand...
Click to collapse
Is it called Updater, when looking for it to freeze, incase asked ??
DonB. said:
Is it called Updater, when looking for it to freeze, incase asked ??
Click to expand...
Click to collapse
First backup, in some roms it disabled by default and i'm not sure but it should be some like system updater or updater some like that
This is an excellent guide and a sure and EASY way to get rid of those pesky updates.
vasiaeva said:
First backup, in some roms it disabled by default and i'm not sure but it should be some like system updater or updater some like that
Click to expand...
Click to collapse
No need to do any backup using the method in the OP just follow the instructions or watch the video here
http://www.youtube.com/watch?v=ifG5iPSFuCE
just got my sprint note 2 last night its on 4.12 followed the vid and was ok for about 1 hour now i'm getting a thing for a 28.9 mb system update. how big is the 4.3? is it safe to take this little one? and I am rooted at this point thanks
timezone12 said:
just got my sprint note 2 last night its on 4.12 followed the vid and was ok for about 1 hour now i'm getting a thing for a 28.9 mb system update. how big is the 4.3? is it safe to take this little one? and I am rooted at this point thanks
Click to expand...
Click to collapse
The update notice you're seeing now is minor. It contains a security enhancement and nothing else worth mentioning. You needn't worry about it.
On a side note if you want 4.3 and don't want to wait for the OTA update you can get it here
http://forum.xda-developers.com/showthread.php?t=2541395
Cheers to lorjay589 for doing the heavy lifting.
regards
chzeckmate said:
You can follow this guide to stop the Sprint update notification using the latest version of ES File explorer. This instruction is for the Sprint Samsung Galaxy note II. This is known to work on other Samsung devices as well. This guide will begin from scratch so that anyone can follow it from square one. If you already have root and ES File Explorer set up you can skip to step 7
See a video demonstration here http://www.youtube.com/watch?v=ifG5iPSFuCE
1. First be sure you have superuser access (root access). You can use a root checker like this one to be sure
https://play.google.com/store/apps/details?id=com.joeykrim.rootcheck&hl=en
2. Download and install ES File explorer. You can get that here...
https://play.google.com/store/apps/details?id=com.estrongs.android.pop&hl=en
3. Open ES File explorer and grant root permission. Go into settings and set your preferences
4. Tap your device menu
5. Tap Tools
6. Tap root explorer.
7. The root explorer menu will pop up and you'll tap Mount R/W
8. Fill in all the bubbles for RW and tap OK
9. Navigate to the root of your device (At the Top you'll see the root directory is listed as "Device" or "/")
10. Tap the File named "etc"
11. Tap the File named "security"
12. Long press on the otacerts.zip until the check box appears and put a check in it.
13. Tap more
14. Tap properties
15. Place check marks in the read and write boxes and Tap ok
16. Tap rename (on the bottom action bar)
17. Rename the otacerts.zip file to otacerts.bak and tap ok
18. Tap refresh (bottom action bar)
19. Pull down the notification curtain and accept the update (if this isn't in your notification bar just go on to the next step)
20. On your homescreen open your device menu and Tap system settings.
21. Scroll to and select System update.
22. Tap Update firmware.
Your device will say it is up to date and you won't get the notification anymore. If you do then reboot and start over because you skipped something.
If this helped you feel free to click the "thanks" button.
Click to expand...
Click to collapse
Did exactly as described following the YouTube Video. Restarted and got the update notification. It did not work.
ArtooDetoo said:
Did exactly as described following the YouTube Video. Restarted and got the update notification. It did not work.
Click to expand...
Click to collapse
I don't want to seem contentious but you must have missed something in the process. This process is tried and true and has worked for tens of thousands of people so you most likely missed some minor thing. At any rate, when done exactly right it works.
I would suggest that you first make sure you're rooted and if so make sure that you've granted root to ES File explorer. Next make sure the otacerts.zip file has retained the name change to otacerts.bak and if it didn't then you've got permissions problems. Next in ES make sure root explorer has RW selected on each item. Make sure the icon for the otacerts file looks like a question mark (if it looks like a zip start over).
The best thing to do is just repeat the process. Take it slow and don't get frustrated. If you'd like to make a video of you going through the process I can look at it and tell you what you're missing.
chzeckmate said:
I don't want to seem contentious but you must have missed something in the process. This process is tried and true and has worked for tens of thousands of people so you most likely missed some minor thing. At any rate, when done exactly right it works.
I would suggest that you first make sure you're rooted and if so make sure that you've granted root to ES File explorer. Next make sure the otacerts.zip file has retained the name change to otacerts.bak and if it didn't then you've got permissions problems. Next in ES make sure root explorer has RW selected on each item. Make sure the icon for the otacerts file looks like a question mark (if it looks like a zip start over).
The best thing to do is just repeat the process. Take it slow and don't get frustrated. If you'd like to make a video of you going through the process I can look at it and tell you what you're missing.
Click to expand...
Click to collapse
All of the things you mentioned I did. I am running a stock rom and am rooted. That being said, I may have posted too quickly before. After performing the tasks that you outlined very clearly, the notification returned upon reboot. I slid it away and it has not returned. So, I humbly withdraw my previous post.
ArtooDetoo said:
All of the things you mentioned I did. I am rooted running a stock rom and am rooted. That being said, I may have posted too quickly before. After performing the tasks that you outlined very clearly, the notification returned upon reboot. I slid it away and it has not returned. So, I humbly withdraw my previous post.
Click to expand...
Click to collapse
If you wanna test to see if it comes back you could reboot again. If it doesn't come back after a reboot then you're all set. Let us know how it goes.
best regards
chzeckmate said:
If you wanna test to see if it comes back you could reboot again. If it doesn't come back after a reboot then you're all set. Let us know how it goes.
best regards
Click to expand...
Click to collapse
All good now. Thank you very much.
Thank you! This worked like a champ.
thisdidn't work on my note that 2 it's pushing the system 4. 3 the update. .. thoughts
treo4life said:
thisdidn't work on my note that 2 it's pushing the system 4. 3 the update. .. thoughts
Click to expand...
Click to collapse
I would suggest going through the process again. It's very easy to miss some small step in the process. Be sure you're rooted, make sure you've granted root to ES File explorer, make sure you have Root Explorer turned ON, make sure you have rw selected for all four selections under the Mount R/W menu, and make sure your name change of the otacerts.zip file sticks, make sure that the otacerts.bak file looks like a question mark and not a zip, and remember to refresh. Those are the most common things people overlook when running through this process.
Watch the video and follow precisely. Take it slow and don't let the video get ahead of you. I go really fast through it in the video so the pause button will be your friend. You'll get it don't worry.
chzeckmate said:
I would suggest going through the process again. It's very easy to miss some small step in the process. Be sure you're rooted, make sure you've granted root to ES File explorer, make sure you have Root Explorer turned ON, make sure you have rw selected for all four selections under the Mount R/W menu, and make sure your name change of the otacerts.zip file sticks, make sure that the otacerts.bak file looks like a question mark and not a zip, and remember to refresh. Those are the most common things people overlook when running through this process.
Watch the video and follow precisely. Take it slow and don't let the video get ahead of you. I go really fast through it in the video so the pause button will be your friend. You'll get it don't worry.
Click to expand...
Click to collapse
I got it figured out, had to click on the update. .

[bootanimation][resurrection-remix][480x800]

RESURRECTION REMIX LATEST BOOTANIMATION
I came across the new boot animation made by AltanKRK {Creator of Resurrection Remix ROM} which he posted on Google+
It looked amazing and I wanted it desperately, I down scaled it and now I'm sharing it with all of you...
I down sclaed the boot animation to 480x480 and it works flawlessly on Galaxy grand duos..
**Didn't made it to 480x800 because then it looked out of proportion**
INSTRUCTIONS
1. Download bootanimation.zip from the attachments below..
2. Move it to /system/media {Optionally backup the old bootanimation.zip by renaming it to bootanimation.zip.old}
3. Set permissions as RW-R-R
4. Reboot
5. BOOM you have the latest awesome boot animation... :highfive:
***This zip is not flashable, you manually have to push it to your device***
TESTED ON:-
Samsung Galaxy Grand Duos GT-I9082 with Resurrection Remix v5.4.5
Note:- This will work with any phone with custom rom & matching screen resolution [480x800]
You can use file explorer like ES File Explorer to change the file permissions...
Edit: Flashable zip now available.. Check post #3
Credits @Yousef Mohamed
Edit2:- Modified version 2 now available..
http://forum.xda-developers.com/showthread.php?p=61042243
This is my first work.. so please hit thanks and leave comments below...
can i make a flashable zip for you ?
Here you go !
Xenon92 CWM 6.0.5.0 Recovery Recommended
Works flawlessly... Good job..
I just saw it in google+ but it's in 1080something but now i can use this bootanimation because of you. Great job and thanks!
Well done bro..☺??
Yousef Mohamed said:
Here you go !
Click to expand...
Click to collapse
Thanks a lot bro... :thumbup:
Credits & info added to OP..
AakashKaushal98 said:
Well done bro..☺??
Click to expand...
Click to collapse
Tanwaad veere...
Error
When I try to copy the zip file in the specified folder, it shows copying error. Please can anyone help me? And how to you open the read write window. It doesn't show up in properties..
narangkunal said:
When I try to copy the zip file in the specified folder, it shows copying error. Please can anyone help me? And how to you open the read write window. It doesn't show up in properties..
Click to expand...
Click to collapse
Change the Permissions to Read and Write ( Simply tick every thing ) copy it and then change the permission to rw-r-r
or flash the Zip file in Post 3
Yousef Mohamed said:
Change the Permissions to Read and Write ( Simply tick every thing ) copy it and then change the permission to rw-r-r
or flash the Zip file in Post 3
Click to expand...
Click to collapse
How to access read and write properties after going into properties. I use ES file explorer. It shows error while copying!! Also, I tried flashing your zip file and the new boot animation is the android logo. I want the Ressurrection Remix logo. I think you've uploaded the wrong zip file.
narangkunal said:
How to access read and write properties after going into properties. I use ES file explorer. It shows error while copying!! Also, I tried flashing your zip file and the new boot animation is the android logo. I want the Ressurrection Remix logo. I think you've uploaded the wrong zip file.
Click to expand...
Click to collapse
Use CM File Manager , Go to properties of the bootanimation and then you will find two taps click on the second tap and then change the file permission
Anyone please confirm the problem with the Zip file ... Cause its working fine on my phone (CM12)
Yousef Mohamed said:
Use CM File Manager , Go to properties of the bootanimation and then you will find two taps click on the second tap and then change the file permission
Anyone please confirm the problem with the Zip file ... Cause its working fine on my phone (CM12)
Click to expand...
Click to collapse
I have myself checked the flashable zip and it works flawless.. So there's no problem with the zip you created...
narangkunal said:
How to access read and write properties after going into properties. I use ES file explorer. It shows error while copying!! Also, I tried flashing your zip file and the new boot animation is the android logo. I want the Ressurrection Remix logo. I think you've uploaded the wrong zip file.
Click to expand...
Click to collapse
Hey the flashable zip works fine for me..
About the copy error you told, verify root is enabled in Settings-> Developer Settings
Open ES file explorer, open the left menu scroll down to tools and make sure root explorer is enable, then try to copy...
Then select the file open properties and change the permissions to RW-R-R..
Then reboot..
Refer to the screenshot below..
Note:- In the screenshot you've posted you're trying to change the file permissions while the file is in your downloads folder but the permissions option is available for files in root specific directories.. So first copy and then change permissions..
ragtop98 said:
I have myself checked the flashable zip and it works flawless.. So there's no problem with the zip you created...
Click to expand...
Click to collapse
Actually there is , Some recoveries don't put the file permission to RW-R-R by default and i forget to put the Code in the script , Working on a fix right now , Sorry for that !
Yousef Mohamed said:
Actually there is , Some recoveries don't put the file permission to RW-R-R by default and i forget to put the Code in the script , Working on a fix right now , Sorry for that !
Click to expand...
Click to collapse
It's ok bro.. Plz fix it then attach it in your next post.. Also then plz delete your 2nd post with earlier attachment..
For those people unable to change permissions via ES file explorer...
Use CM File Manager and follow the screenshots below...
ragtop98 said:
For those people unable to change permissions via ES file explorer...
Use CM File Manager and follow the screenshots below...
Click to expand...
Click to collapse
Gives me Error states 6 after adding the fix -.- -_-
since it works with most of the users i will leave it like this until i switch to ubuntu or any linux-based OS
Hey, it worked man, it worked!! I followed the screenshots. Thanks a lot!!
Sent from my GT-I9082 using xda Forums PRO
Deleted
Bootanimation v2 now availaible!!
Here I present the 2nd version of the previous bootanimation..
It is slightly modified in the respect that earlier the whole animation looped until phone booted now a small part of it only loops..
The flashable zip is available too...:highfive:
Supported TWRP & CWM
Though I'll still suggest to manually push the file to /system/media and setting permissions to RW-R-R
Download link

How to enable dolby atmos or viper in j210f/j2 2016

Hi to everyone ,
At first I would like to show my frustation that even after trying 5 TIMES .I cant able to enable dolby atomes or viper in my STOCK ROM.
So ,someone please help me with this thing
I will be very greatfull to him
Thanks
Savitar99 said:
Hi to everyone ,
At first I would like to show my frustation that even after trying 5 TIMES .I cant able to enable dolby atomes or viper in my STOCK ROM.
So ,someone please help me with this thing
I will be very greatfull to him
Thanks
Click to expand...
Click to collapse
Okay so here's how you do it
1) Make sure you have root and TWRP/CWM recovery
2) Download and unzip the folder from the main viper page
3) Now for viper to work in Enforced SELinux, you'll have to flash this zip via the recovery that you have. (https://www.dropbox.com/s/k9cnruw2e1t1d4t/ViPER4Android-supolicy.zip?dl=0)
4) After that, you will need to download this(http://forum.xda-developers.com/attachment.php?attachmentid=3244040&d=1428124059) You'll find a folder named audio_config. Go to your root browser /system/etc and scroll till you find a file named audio_effects.conf. Rename this file as audio_effects.conf.bak. This will be a backup just incase you mess something up or it doesn't work.
5) Move the audio_config file that you downloaded from the link above to /system/etc
6) Move viper app to /system/app folder and reboot. The app will disappear
7) Now go to /system/app and open the file. You'll see the apk there. Install it and reboot.
8) Open v4a and install drivers. Reboot again
9) Enjoy!
Thank you very much. It worked for me.
fredy97 said:
Thank you very much. It worked for me.
Click to expand...
Click to collapse
Good to know
darshan1504 said:
Okay so here's how you do it
1) Make sure you have root and TWRP/CWM recovery
2) Download and unzip the folder from the main viper page
3) Now for viper to work in Enforced SELinux, you'll have to flash this zip via the recovery that you have. (https://www.dropbox.com/s/k9cnruw2e1t1d4t/ViPER4Android-supolicy.zip?dl=0)
4) After that, you will need to download this(http://forum.xda-developers.com/attachment.php?attachmentid=3244040&d=1428124059) You'll find a folder named audio_config. Go to your root browser /system/etc and scroll till you find a file named audio_effects.conf. Rename this file as audio_effects.conf.bak. This will be a backup just incase you mess something up or it doesn't work.
5) Move the audio_config file that you downloaded from the link above to /system/etc
6) Move viper app to /system/app folder and reboot. The app will disappear
7) Now go to /system/app and open the file. You'll see the apk there. Install it and reboot.
8) Open v4a and install drivers. Reboot again
9) Enjoy!
Click to expand...
Click to collapse
It works!
Hey, I Cant root my phone Samsung J200g and i cant install Dolby Atmos in my phone Please help me
Abhishek0555 said:
Hey, I Cant root my phone Samsung J200g and i cant install Dolby Atmos in my phone Please help me
Click to expand...
Click to collapse
How are you trying to root? Do you have a custom recovery? What super user?
Hey can someone help me ? I'm using glalxy j200g i was able to instal dolby atmos but even it turn on the sound still same no change

Root access issue.

So I booted twrp.img and installed magisk 17.1 and updated to magisk 17.2 beta and root is there via root checker. However, regardless of what file explorer I tried to use I cannot replace or delete files in vendor/libs or anywhere in the system folder. Can someone explained to me why and how I can overwrite files in vendor/lib?
Is the file explorer showing root permissions in Magisk? I've started running in to a similar issue recently myself. It seems random but I can view and edit some files in the root partition but there are others where I am denied access. Before a couple of weeks ago I didn't have this issue. I'm not sure when the problem started but from what I have read FX file explorer and there dedicated root addon will work. I haven't had a chance to check for myself though.
I have the same issue. I can't save my edits in build.prop.
user557 said:
I have the same issue. I can't save my edits in build.prop.
Click to expand...
Click to collapse
Worked for me on stock October security patch with Magisk 17.2 and Total Commander. I use Google's default Kernel.
What has worked for me in the past was to uncheck the two radio buttons on magisk main screen. {The two advanced items} then I would press the install button right below. After doing that I would be able to change files in directories I once couldn't. Worth a shot
Fe Mike said:
What has worked for me in the past was to uncheck the two radio buttons on magisk main screen. {The two advanced items} then I would press the install button right below. After doing that I would be able to change files in directories I once couldn't. Worth a shot
Click to expand...
Click to collapse
Thanks for the info. It works! :good:

How to get pixel's Google assistant 2.0 new UI and look for galaxy A10!

Ok first you gotta know that t works ok Pixel devices for now. So follow this tutorial [so easy it is just 1 step] to edit your device fingerprint to Pixel 4 XL.
After you done this you should be able to see assistant transparent black UI. But not full yet.
Get yourself zarchiver from playstore
Link for app: https://play.google.com/store/apps/details?id=ru.zdevs.zarchiver
Or just use your root file manager.
We need any file manager that can access root.
Simply go to zarchiver settings and choose ROOT then enable [root permissions] then go to ROOT of phone and follow this destination...
data/data/com.google.android.googlequicksearchbox/shared_prefs
And get that xml file and paste it in [shared_prefs] folder... [It will ask you to replace the old one with this. Say yes. Xml file link that YOU will paste it in the shared_prefs folder:-
GEL.GSAPrefs.xml
drive.google.com
Then after you paste it in the [shared_prefs] folder... Go back one step and long click on that [shared_prefs] folder. And choose "permissions"
And then set the number of permissions to 551 [r-x r-x --x] after that hit ok then just close all apps and call assistant manually. You should see the new update.
Screenshot of the new update [check attached files.]

Categories

Resources