Themes / Apps / Mods [FIX] AUTOMATED PROXIMITY FIX FOR F3 - Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40

Congratulations guys I have created n tested highly advanced fully automated solution , now screen will work during calls as it should W/O NEED OF PROXIMITY SENSOR
Warning :-
I AM NOT RESPONSIBLE FOR ANY DAMAGE WHATSOEVER YOU MAY CAUSE TO YOUR DEVICE WHILE USING OR RANDOMLY EXPERIMENTING WITH THIS FIX, DONT TINKER WITH DEVICE IF U DONT KNOW WHAT U R DOING.
FEATURES -
1. PROXIMITY OFF DURING CALL
2. AUTO SCREEN OFF DURING CALL
3. AUTO SCREEN ON AFTER CALL
4. SHAKE TO SCREEN OFF DURING CALL
5. Whatsapp/Telegram or any calling app proximity fix
Jus add that app under "Proximity Sensor Off By Apps" profile
1. What is this fix about?
Ans. Poco F3 has an issue, that while calling screen turns on/off randomly due to proximity sensor malfunction , so to fix it I made a Tasker profile which, at the time of calling , disables proximity sensor , then it turns off screen while call n turns screen back on after call is complete......ITS FULLY AUTOMATED U NEED NOT TO TOUCH A SINGLE THING....EVERY THING IS DONE BY MY PROFILE
2. Why to re-enable proximity sensor?
Ans. Without proximity sensor phone will have issues with deep sleep function, so to avoid it proximity sensor is to be re-enabled.
3. Any draw back of this fix?
Ans. Proximity sensor won't work during call, have common sense it's a hardware issue.
3.1 What do I do if I want to use phone during call ?
Ans. If u want to use phone during call
for eg - take note of something or do anything else u can turn on the screen do the work, n the screen off by pressing pwr button, or just shaking phone a bit.
4. Minimum requirements for this fix?
Ans. a. Tasker app , auto input app
b. Any mi device which shipped with Android 10 or 11 out-of-box , if u have any other device u can test this fix if it works , most probably it would since m using sysfs interface shell script implimented by linux kernel, which is quite universal  both miui n custom roms are compatible;
c. Root;
d. Working mind 
5. PROCEDURE :-
0. Download
A. FOR ANDROID 12
the "prox-aosp12-2.0.xml" from below given link n copy it to "/storage/emulated/0/Tasker/configs/user" ;
B. FOR ANDROID 11
the "prox-aosp11-2.0.xml" from below given link n copy it to "/storage/emulated/0/Tasker/configs/user"
C. FOR MIUI WITH MIUI DIALER
the "prox-miui-midial-2.0.xml" from below given link n copy it to "/storage/emulated/0/Tasker/configs/user"
D. FOR MIUI WITH GOOGLE DIALER
the "prox-aosp11-2.0.xml" from below given link n copy it to "/storage/emulated/0/Tasker/configs/user"
NOW U CAN FOLLOW VIDEO GUIDE
1. Go to Tasker app;(all permission to Tasker app should already be given)
2. At the right corner of Tasker app u will see menu button (3 dot button) press it;
3. Go to "Data";
4. Go to "Restore";
5. Now select the XML that u have downloaded;
6. Press back button repeateadly till the app is closed;
7. Now download "auto input" app;
8. Give all permissions to Tasker n auto input app; (specially accessibility permission n draw over other app permission)
how? - Search these permissions in settings and u will find it.
8. That's it from here on my Tasker profile will take care of things;
TROUBLESHOOTING
VI. Downloads
A. XML file :-
Android 12
Google Drive: Sign-in
Access Google Drive with a Google account (for personal use) or Google Workspace account (for business use).
drive.google.com
Android 11
Google Drive: Sign-in
Access Google Drive with a Google account (for personal use) or Google Workspace account (for business use).
drive.google.com
MIUI WITH MI DIALER
Google Drive: Sign-in
Access Google Drive with a Google account (for personal use) or Google Workspace account (for business use).
drive.google.com
MIUI WITH GOOGLE DIALER
Google Drive: Sign-in
Access Google Drive with a Google account (for personal use) or Google Workspace account (for business use).
drive.google.com

Related

[TUT][2.2+] BLN for stock MMS.apk on any ICS/GB and more!

So this is a simple tutorial on how to get BLN working even for apps, that does not support them (e.g. stock mms.apk etc.). There are plenty of 3rd party apps that this does support.
What do we need:
1. Smartphone with android os (works on 2.2+)
2. Root (obviously ).
3. Application BLN Control Free or Pro or other that works with BLN (tested on Pro).
4. Application Light Flow Lite or it's full version. (Full version does support many 3rd party apps). I did it with Lite version.
5. 5 minutes of your time.
Instruction:
1. Install BLN Control (Pro) app.
2. Turn on (check) BLN in app (Activate BLN option). If we have paid version we can also set schedule for only-day work and MissedCall already.
3. Install Ligh Flow (Lite).
4. Open it. There will be pop-up. Press "ok" or "yes" (don't remember which one now). At top you will see "Light Flow Lite Off", press it and turn it on. There is chance of leak in security but app does not have network connection (as it says) so it won't even do anything if got any informations. Go back to app.
5. Get in "General Settings section" and check as on screen:
Don't change anything else unless you know what are you doing.
6. Get in "Notifications" and after that check positions that interests you (for me its e-mail, sms, mms & gmail, since i already have "missed calls" from bln control pro. If you have free version you should turn it on too).
Settings for SMS (same for others).
Color and rate is of course not important to I9100 owners . I also recomendt not to set sound or vibrate for any notifications used in this app as stock apps for any activities has them already. Also be sure to turn off acitivities that you don't want ((missed call if you enabled them in bln pro), calendar, all with battery, bluetooth, both signal and g.talk).
After you finish only these icons should be on:
- koniec
7. If we have paid version we can go to "Additional Apps Supported" in main Menu and use it with 3rd party apps.
8. Close app, test it - should work flawlessy. Well if you get sms, turn on screen, won't read it and turn it off - it will light ON, becouse it's set to turn notification off only when you enter base app (e.g. stock mms.apk). It's becouse BLN sets of before screen turns on, and it would not light after screen turn off in other case.
I saw application on Market (blah, Play now - who da faq invented that name?!) and searched it on xda - there were some notes aboud that, but many people still didn't know there is any way for BLN on ICS or even some GB roms. It's still better alternative to modify services.jar/odex Hope now people will know about this way
As for battery - i think it will use less or same as BLN app. I just got it so I can't really say for sure now.
Tested on:
XWLP9 (ICS 4.0.3) with Apex Launcher Pro 1.1.0, stock mms.apk (4.0.3-XWLP9), BLN Control Pro v. 0.17.5 and Light Flow Lite 2.12.5.

Xposed frameworks Guide!!!! + Examples

How to install the Xposed Framework and Use it ( Big Thanks to Rovo 89 for introducing this )
If u want to know what exactly this is about http://forum.xda-developers.com/showthread.php?t=1574401
For the framework:
Download XposedInstaller.apk and install it ( download below)
Launch the Xposed Installer and click on "Install/Update"
Reboot
Done!
For any modifications/modules you want to install:
Download <module>.apk and install it ( first install the app settings)
Launch the Xposed Installer and go to the "Modules" tab (you will also get there if you click on the notification warning you that the module is not enabled yet)
Enable the module by checking the checkbox
Reboot
Done!
Instructions for using modules :
Starting with Gmail
At this point i believe u have rebooted your phone after installing app settings and before that the Xposed installer itself
Open app settings and search for Gmail.
To get the kind of result displayed below
1. Change Screen(dp) settings to preferably 600*1024
2. Change font scale to 80 otherwise the dual panel will look messed up.
3. I would suggest u change the orientation to always landscape - worked best for me - depends on your liking
press the save button on the right top corner (then press yes) and check your newly designed gmail app right away
You can tinker with the settings and change it to your liking
Now lets move on to System Settings menu. (Dual panel!)( If u dont use Liquid smooth or AOKP)
search for settings in App settings
in the settings menu
Change DPI to 160
Screen(dp) to 1000*1600
and font scale to 130 ( ORIENTATION PREFERABLY ALWAYS LANDSCAPE )
Now save and check it out!
For the same thing - But If u use LiquidSmooth or AOKP or PA or anything that already allows you to force dual panel )
Search for force dual panel in your system settings menu and check it.
Then go to app settings -> settings -> and then
Change DPI to 160
Font Scale to 110
Save and enjoy!
Now one last example for the PLAY STORE
Search for playstore in the app settings list and enter it.
Change DPI to 160
Font Scale to 110
Screen(dp) to 1000*1600 ( ORIENTATION PREFERABLY ALWAYS LANDSCAPE - YOUR CHOICE - WORKS BOTH WAYS )
Additional Settings for each app:
1. u can check fulscreen to disable statusbar in that app
2. Check screen on to change display timeout to never!( it will always stay on in that ap
3. go to locale settings and select the language u want to display it in!
I will update this thread with links to more modules once the repo is up. At the time it is down.
Well nothing new.
It's for those who newbies who have not found a proper and easily explained guide for xposed frameworks yet!
Sent from my XT910 using Tapatalk 2
Why not 240 for camera and FM radio if you've changed DPI and are on stock. YouTube, calendar have tablet versions some work well, others are interesting, set auto rotate for stock gallery. The over lockscreen setting can be used for clock app, calculator, torch app anything that personal info can't be taken from but might be needed quickly or by a friend etc also on the selected app in the app settings if you tap menu you can launch the app without having to go home and tap it
1Chef said:
Why not 240 for camera and FM radio if you've changed DPI and are on stock. YouTube, calendar have tablet versions some work well, others are interesting, set auto rotate for stock gallery. The over lockscreen setting can be used for clock app, calculator, torch app anything that personal info can't be taken from but might be needed quickly or by a friend etc
Click to expand...
Click to collapse
Yeah exactly. Users can change and tinker as they want. This was just to get them used to Xposed modules . I will add links to a few more modules in a while.
Sent from my XT910 using Tapatalk 2

What features would you like to see in Lineage that CM didn't have?

Use this thread to suggest features that weren't in CyanogenMOD that you'd like to see in Lineage.
Parenthesized text in italic are my comments regarding the suggestion.
Suggested Features
Built-in system cleaner
Device: request the PIN once a day
Extra support for smart cards
Disable root icon for specific apps
Display network speed in status bar (see EDIT below)
Incremental updates (OP note: this could be handy)
Better app lock (CM had Protected Apps but you can bypass them by clicking on a notification, and you can only lock them with a pattern)
A bunch of features to include in the default launcher
Built in Package Disabler (I think you can just disable the app in the Settings?)
Battery bar
Use substratum theme engine (or at least have better support for it)
Free RAM overview in Recents
Allow any app to run in background
Better support for microG
Stock launcher experience, with more customization options
More lock screen options, like time and weather widgets on lock screen
WebDAV (CardDAV, CalDAV) sync options
Become a fully featured ROM with full F-Droid support
Built-in support for OpenVPN
Autolock phone after call end
Adreno idler
Live Display for all phones (I don't think that's possible because of the sensors each phone has)
Reverse portrait mode
Ship ROM with no apps installed; let the user choose his apps (bit skeptical about this one, maybe we could customize what packages we'd want in our ROM before downloading it?)
WiFi band selection (was removed in Nougat)
Caffeine quick tile (http://lineageos.org/Last-Week-in-LineageOS-5/)
Change DPI settings per app (have different DPIs for different apps)
Better permission handling
Custom date format in status bar
Advanced call blocker and recorder (the latter would be neat to have)
Record voice calls with Voice Recorder app
Backup and restore LineageOS settings (maybe the user could choose where he wants to save the backup file?)
GNURoot Debian support
Gello: update to Chromium v50+ (see EDIT below)
Gello: allow users to choose their download location
Music: add Folder View option
Trebuchet: notification count badge that works like TeslaUnread
Ability to manage certificates
MAC address spoofing
Dialer: option to choose SIM while calling, and to set what SIM to use for each contact
Support for Cisco AnyConnect SSL VPN protocol
Add behaviors for double press, triple press on Home, Back and Overview buttons
Airplane Mode scheduler
Support for dnscrypt
Better built in File browser with local network browsing
One tap toggle for settings tiles
SystemUI tiles
Clear all recents
Add "wave to unlock phone" gesture
Allow users to change SELinux from permissive to enforcing and enforcing to permissive
Night mode tile for Quick Settings
Display Location icon on status bar
Choose which Quick Settings tiles and Power Menu buttons are available when screen is locked
Update unrar and p7zip
Scrolling screenshot and auto enable the navbar when rotating 180°
Display day and month in status bar if date position is set to center
Dialer: option to extend blocking to SMS, block hidden numbers and numbers with prefix names
Trebuchet: option to use Home button to open app drawer
CMUpdater: option to flash additional zips
Add "flip to turn off alarm" gesture
CustomTiles: add Night Mode tile
Option to set different ringtones for different SIMs in dual-SIM phones
CustomTiles: add LTE tile
Add SlimRecents
Solid color wallpapers
Toggle ticker or heads-up notifications
Spam filter for SMS app
Support for EAP SIM protocol to use Mobile Carriers networks
EDIT:
zwliew said:
This is actually in the works
WIP Gerrit patches: https://review.lineageos.org/#/q/topic:network-traffic
An updated Gello based on the latest Chromium release is also planned.
Click to expand...
Click to collapse
EDIT2: I'm not, in any way, affiliated with LineageOS (nor am I an official developer). I'm a community member just like you are
Android in general needs a system cleaner. Like CCleaner and others. Something like that would be good.
Change logs should be listed in the system update tool.
The system update tool should show at least a week of older updates as well as the current available updates. For example if I am running cm14.1 12-12-16 and I check for updates it will not show 12-6-16, only newer updates. Some updates contain bugs that may be missed for days. I usually delete old updates because it uses up space on my device with limited space. I updated to the latest cm14.1 two days ago and my data service was broken. The website no longer listed cm updates for me to find and I could not downgrade, I'm running aicp because I couldn't downgrade BC I usually delete updates that are older.
RockyTV said:
I'll start this discussion by suggesting two things:
substratum theme engine as default (or at least full compatibility with it)
use a PIN or password to unlock Protected Apps (right now you must use a pattern)
Just suggest what would you like to see in Lineage, preferably things that weren't included in CM.
Click to expand...
Click to collapse
Honestly, I'd prefer if they just use the CM Theme Engine. I already invested in that.
Sent from my Galaxy S4 using XDA Labs
Sidebars, like old AOKP
Scrolling screenshot.
Theme engine since cm 14.1 doesn't have one.
TWRP recovery
Scheduled full backup of LineageOS modified OS settings (Live Display, Battery meter, time settings, WiFi passwords, status bar quick access configs etc) and apps with their data to Google Drive, so the user can wipe the phone or pick up a new one and restore everything from Google Drive.
Okay, I guess I find I'm slowly turning into more and more of a scientist and so I come up with really whacky theories and really whacky ideas of things to try. I'm knowledgeable about security practices, so some things I'd like to see... (I've been on Android 5, so it is possible at least one of these was already added to 7)
Add the ability to make LineageOS demand the device password (or PIN) once per day. Fingerprint readers are handy for quick lock/unlock, but your fingerprints are readily available. If one was to end up in state custody you likely don't want them to access your private data. As such, I'd like the ability for devices to lock once per day and require the password (or PIN) to unlock.
Include some extra support for smart-cards. One neat thing about smart-cards is they're rather more difficult to tamper with than normal data on a phone. If one's phone ended up in the hands of authorities and they really wanted to unlock it, they'd be able to get at the hashes in flash-memory. If the key for encrypting the userdata area was instead stored on a smart-card, they have a great deal more difficulty getting at it.
It would also be interesting to support OpenPGP cards and using a olde phone as an extra layer of security protecting one's PGP keys.
Okay, hopefully not too whacky for you.
The ability to roll back updates, (I know you can always take backups, but those take forever.)
- The old jellybean tablet ui for tablets.
- Assuming it's going back to it's roots as an os for enthusiasts, rather than a mainstream os, I'd like to see trickstermod type settings built in again.
- If means income to support development, I wouldn't be opposed to them following through on the miui business model they flirted with of having a cutting edge theme engine and a proprietary paid theme store.
Some way to disable the root notification icon per app.
Network speed display on the status bar
Double tap to wake!!!! I don't want to use my hardware buttons more than I have to. Cut down on physical wear.
Incremental updates
App Lock
Sent from my Redmi Note 3 using XDA-Developers mobile app
cato1986 said:
Android in general needs a system cleaner. Like CCleaner and others. Something like that would be good.
Change logs should be listed in the system update tool.
The system update tool should show at least a week of older updates as well as the current available updates. For example if I am running cm14.1 12-12-16 and I check for updates it will not show 12-6-16, only newer updates. Some updates contain bugs that may be missed for days. I usually delete old updates because it uses up space on my device with limited space. I updated to the latest cm14.1 two days ago and my data service was broken. The website no longer listed cm updates for me to find and I could not downgrade, I'm running aicp because I couldn't downgrade BC I usually delete updates that are older.
Click to expand...
Click to collapse
Google search an archived version of the site.
Sent from my HM NOTE 1LTE using Tapatalk
rjtgupta84 said:
Google search an archived version of the site.
Sent from my HM NOTE 1LTE using Tapatalk
Click to expand...
Click to collapse
When your phone isn't working right you should be able to just rollback
cato1986 said:
When your phone isn't working right you should be able to just rollback
Click to expand...
Click to collapse
Yeah just like many did with Windows 10. ??
Desired LineageOS features that were not in CM?
1) Samsung's Smart Stay feature
http://www.samsung.com/us/support/answer/ANS00047864/
2) Ambient Display/Moto Active Display feature
https://www.youtube.com/watch?v=5TyhaOjME5g
3) The ability to increase the size of all icons and text e.g. like in Nova Launcher
4) Lock screen weather animation(e.g. Like in the LG G3)
5) Double tap to wake and sleep, and Knock code
6) "Doze - For Better Battery Life" functionality with a whitelist feature
https://play.google.com/store/apps/details?id=com.yirgalab.dzzz&hl=en
7) A Package Disabler app feature that can disable any application
https://play.google.com/store/apps/details?id=com.ospolice.packagedisablerpro&hl=en
8) A reliable custom ROM installer that supports a large variety of Android devices
9) Stickers and themes for the native SMS application
10) When you downloaded a new CM ROM upgrade(e.g. a nightly), you had to reboot into TWRP and manually select the ROM file to install it.
LineageOS ROM upgrades should function like regular OTA upgrades do i.e. you download it, choose install, it reboots your phone and
it automatically applies the upgrade(i.e. no hunting down the appropriate zip file)
P.S. The appropriate version of GApps should automatically be installed too if GApps was present before the upgrade!
11) A parallax effect option for any wallpaper(e.g. in the Samsung Galaxy S6)
12) Counters/badges for unread emails, missed voicemails, calls & SMS/MMS messages
13) A native HTML email client(as opposed to plain text). I should be able to click on urls in emails. Phone numbers in emails should
launch the phone dialer
14) A calendar icon that shows the current date on the home screen calendar icon
15) A voicemail-to-text feature
16) A chatheads option for the SMS app
17) A shortcut to install gApps
A superuser more in line with SuperSu, so no apps bork because no "SuperSu" even though device is rooted.
Perhaps phh's SuperUser/ OpenSource SELinux-capable SuperUser?

How To Guide Dark mode - Individual apps (A11)

When you enable Dark mode, it doesn't show Individual apps (screenshot 1)
Individual apps list is needed to toggle per apps if you want to exclude some apps (particular app may not display correctly in Dark mode - like gray-on-black or so)
I can enable the Individual app list by long pressing the grayed-out Individual apps text with slightly sliding the finger.
List may immediately disappear but after few tries I have the list (screenshot 2)
It works for me on the stock MIUI 12.5.8 (EEA)
----
Unfortunately, users claim that Individual apps list can be no more be enabled with MIUI 13 (A12) - sad
For me, and i beleive all Lisa phones, there is no problem with dark mode individual apps on 12.5.8.
The problem and the bug is on MIUI 13 (13.0.5). There is no workaround.
Thanks. I found a better solution. Tap and hold the individual apps text and slightly slide right and then without releasing the finger, slide up to scroll down. This will open the app list and it'll stay there as long as you don't scroll back up. All this while I thought it was magisk that caused the issue lol. I'm on MIUI 12.5.5 IN.
MrDSM said:
For me, and i beleive all Lisa phones, there is no problem with dark mode individual apps on 12.5.8.
The problem and the bug is on MIUI 13 (13.0.5). There is no workaround.
Click to expand...
Click to collapse
That's why I prefer Xiaomi.eu
Weekly 22.9.21, MIUI 13 - no problem with disabling/enabling Dark mode per individual apps

redmi note 9 pro put apps in sleep mode whereas it is unwanted

Hello,
I correctly configured my phone to let some app being not optimised for battery saving. in each app, I can select if I want this app to be optimised for battery saving.
I did it for some app like synology drive.
I noticed that synology drive is inerrupted anyway when the phone has the screen off.
is it normal ? is there a way to have some app that are not shut down ? the problem is that these kind of app that are used for synchronization or file transfert must not be cut off when the screen is off because the transfert are interrupted.
Hello. If you are using MIUI then try this 1. open the app 2. touch recents 3. long press the app 4. touch the lock icon.
Thanks I did it, but I read that the lock is usefull only to keep the app running even if I close all app in the recents app. does it really have something to do with the OS stopping background apps ?
is miui known to be painfull and kill background apps ?
I have the solution : i must disable MIUI optimization.
from :
What is MIUI Optimization and should you turn it off? - xiaomiui
MIUI optimization is an option that helps to load the app and the app data in parallel to reduce load times and ensure a smooth user experience.
xiaomiui.net
extract : "Background apps cannot sync data."
tested with synology drive and it works, after disabling, my transferts works even when the phone has screen off.
I don't know how to close the thread and mark it as resolved. anyway someone has more news about MIUI optimization, it would be great, would it break something to disable it ?

Categories

Resources