Don't like miui :c - Xiaomi Mi 5 Questions & Answers

Hi, i got the xiomi mi 5 like 4 days ago and i have had some issues
List:
1-Apps get kill in the background way to fast (1 min)
2-Can't i uninstall google apps
3-Notification don't show on the lockscreen
4-Why the f do i have to do a double finger gesture to expand notification
5-miui fails to change between 2g,3g and 4g
6- Settings that i change globaly in the security app then need to be change in everyapp
I really like the phone, it's super fast and good made but those miui things are really annoying for me now i have try cm13 and the one thing that kill me was that the recent app button was set to menu and you couldn't change it. It was the same for mokee and slimrom :/
Is there a rom that can help me with the "problems" i have?
∆ Sorry if my english is not the best.

Backup your phone first !!!
you can try flashing this to restore your Xiaomi keys or if you want to do it manually,...
Make sure you grant root access to your file manager.
open file manager or ES Explorer or any other root file manager in phone and go to
Code:
system/usr/keylayout/
open the file "synaptics_dsx.kl" in any text editor
edit the following
Code:
key 139 APP_SWITCH VIRTUAL
key 158 BACK VIRTUAL
save & set permission as follow
Code:
S R W X
OWNER [] [x] [x] []
GROUP [] [x] [] []
OTHERS [] [x] [] []
Reboot...

chiragkrishna said:
Backup your phone first !!!
you can try flashing this to restore your Xiaomi keys or if you want to do it manually,...
Make sure you grant root access to your file manager.
open file manager or ES Explorer or any other root file manager in phone and go to
Code:
system/usr/keylayout/
open the file "synaptics_dsx.kl" in any text editor
edit the following
Code:
key 139 APP_SWITCH VIRTUAL
key 158 BACK VIRTUAL
save & set permission as follow
Code:
S R W X
OWNER [] [x] [x] []
GROUP [] [x] [] []
OTHERS [] [x] [] []
Reboot...
Click to expand...
Click to collapse
I'll try it once i get home, thank for replying :fingers-crossed:
it didn't work :c buttons stay the same

I really wasn't a fan either. I installed Resurrection Remix and am now 95% happy with that!

Related

help please

how do i change this so my wifi works
(Fixing WLAN button malfunction, somehow it doesn’t work by default on Wing): **Thanks for beowulf6’s post for this fix.
Change "HKEY_LOCAL_MACHINE \SOFTWARE \HTC \CommManager \WLAN= "Windows WLanMgr.exe " "DeviceName" = "{98C5250D-C29A-4985-AE5F-AFE5367E5006} TNETW12345"
the end of this long String is the WLAN-Adaptername of the Device.
just change in this Example "TNETW12345" into "TNETWLN1"
-Step 3: (Fixing Wi-Fi setting launch issue) **Thanks for phatman81’s post for this fix.
Change "HKEY_LOCAL_MACHINE\SOFTWARE\HTC\CommManager\W LAN\ Default:"
\Windows\WlanMgr.exe --> \Windows\ctlpnl.exe

jellybean + verizon + hotspot = working

After the update to Jellybean the Wifi hotspot stopped working for me. I have a Motoactv that I also used with the bluetooth tethering. So I was particularly unhappy. I found out that you can work around this though.
1. Buy sqlite from the market
2. Open com.android.providers.settings
3. Open settings.db
4. Open Secure
5. Look for subscription_mode - set this to 1(should be _id 67)
6. Open com.motorola.android.providers.settings
7. Open settings.db
8. Open settings
9. Look for entitlement_check - set this to 0(should be _id 79)
10. Reboot
11. Enjoy
Note: For me #67 disappeared after this, and was moved to #285 and set to 0 after this was done(by the hotspot program).
I'm just wondering where the next place they move it to will be.
zeroktal said:
After the update to Jellybean the Wifi hotspot stopped working for me. I have a Motoactv that I also used with the bluetooth tethering. So I was particularly unhappy. I found out that you can work around this though.
1. Buy sqlite from the market
2. Open com.android.providers.settings
3. Open settings.db
4. Open Secure
5. Look for subscription_mode - set this to 1(should be _id 67)
6. Open com.motorola.android.providers.settings
7. Open settings.db
8. Open settings
9. Look for entitlement_check - set this to 0(should be _id 79)
10. Reboot
11. Enjoy
Note: For me #67 disappeared after this, and was moved to #285 and set to 0 after this was done(by the hotspot program).
Click to expand...
Click to collapse
Doesn't work for me
This doesn't work for me on JB 2.06. I set subscription_mode to 1 and JB keeps reseting is back to zero after restart. For steps 6-10, I don't have entitlement_check.
zeroktal said:
After the update to Jellybean the Wifi hotspot stopped working for me. I have a Motoactv that I also used with the bluetooth tethering. So I was particularly unhappy. I found out that you can work around this though.
1. Buy sqlite from the market
2. Open com.android.providers.settings
3. Open settings.db
4. Open Secure
5. Look for subscription_mode - set this to 1(should be _id 67)
6. Open com.motorola.android.providers.settings
7. Open settings.db
8. Open settings
9. Look for entitlement_check - set this to 0(should be _id 79)
10. Reboot
11. Enjoy
Note: For me #67 disappeared after this, and was moved to #285 and set to 0 after this was done(by the hotspot program).
Click to expand...
Click to collapse
I tried this and the subscription mode resets to 0 after rebooting.
When I turn on the mobile hotspot it gets stuck at "turning on" and doesn't work, any ideas?
Remove Safestrap
No Idea why this happens, but if I have Safestrap enabled(can be installed, just not enabled) my wifi hotspot will do that. Soon as I disable it, boom it starts working.
Remove Safestrap
No Idea why this happens, but if I have Safestrap enabled(can be installed, just not enabled) my wifi hotspot will do that. Soon as I disable it, boom it starts working.

How to keep env variable when SuperSu-ing?

I have a problem with SuperSU as well as Superuser app on my Razr i. The Razr i has its default LD_LIBRARY_PATH set like this:
LD_LIBRARY_PATH=/vendor/lib:/system/lib:/system/lib/arm
But when I have a su-App, it only sees this one
LD_LIBRARY_PATH=/vendor/lib:/system/lib
resulting in non-working apps because of missing libraries ("Openvpn Settings" in this case). The same happens when I'm sending a "su" on adb shell. I'm wondering now how I could set the default library path now...normally it should be possible to either call "su" with some special parameters to handle over the variables or to somewhere set those default values (they must come from somewhere). But at least the apps seem to not offer that?
BerniG said:
I have a problem with SuperSU as well as Superuser app on my Razr i. The Razr i has its default LD_LIBRARY_PATH set like this:
LD_LIBRARY_PATH=/vendor/lib:/system/lib:/system/lib/arm
But when I have a su-App, it only sees this one
LD_LIBRARY_PATH=/vendor/lib:/system/lib
resulting in non-working apps because of missing libraries ("Openvpn Settings" in this case). The same happens when I'm sending a "su" on adb shell. I'm wondering now how I could set the default library path now...normally it should be possible to either call "su" with some special parameters to handle over the variables or to somewhere set those default values (they must come from somewhere). But at least the apps seem to not offer that?
Click to expand...
Click to collapse
Try this (it usually works in Linux):
- Install Android Terminal Emulator
- Open it and type "su - "
- Allow via SuperSu or Superuser the Android Terminal Emulator to become root
- Edit .bashrc or .bash_profile with desired LD_LIBRARY_PATH you need.
- Save it
- Done!!

Lineage OS 04.04.17 wifi won't connect

Hello there
I finally completed installing Lineage OS to my Mi5 today, following all the official instructions on the Lineage os page.
Everything installed without error - however I can't connect to wifi!
When choosing the wifi network it says "Connecting" quickly followed by "Saved". Occasionally it will say "Authentication failed" or "Disabled".
I can't get it to connect to either 2.4ghz or 5ghz, and both of these were working fine in Miui Global stable rom.
Any insight would be wonderful.
Cheers!
Edit: solution down the thread.
Hi!
Have you tried to reflash rom?
Are you using stock LOS kernel ou another kernel?
Yes I did reflash the ROM once. I assume I'm using the default kernel, I haven't gone to any efforts to use another (I'm a noob )
Solution
Follow up - after much pulling out of hair and freaking out, this solution finally did the job:
https://forum.xda-developers.com/mi-5/help/wifi-connectivity-problem-t3517777/post70408866
All hail Pekkuky!
"This is what I did to fix my WiFi:
First prepare an new MAC-address. I personally don't know when a MAC-address is considered valid, so I just took one from an other device. I used the mac address of my previous mobile phone, which could connect to my router.
1. Disable WiFi.
3. Enable debugger settings (Setting>about Phone>Press build number repeatedly).
2. Enable root (Develepor settings>root access set to "Apps and ADB").
3. Open the file manager app.
4. Give the file manager app root access (menu>Settings(cog in lower left corner)>General settings>Access mode set this on "Root Access mode").
5. Now find the file root/etc/firmware/wlan/qca_cld/ and open wlan_mac.bin.
You should see something similar to:
Code:
Intf0MacAddress=XXXXXXXXXXXX
Intf1MacAddress=XXXXXXXXXXXX
END
6. Change the first to your new MAC-address, but first write down the old one, so you can change it back if this method doesn't work for you.
The last X of the next line should be a digit higher than the previous line. E.g:
Code:
Intf0MacAddress=957FDC328BF4
Intf1MacAddress=957FDC328BF5
END
(This MAC-address most likely won't work).
7. Save the file. You might need to press the save button a few times.
8. Check if the file has changed.
9. Check if you MAC-address has changed (Settings>WiFI>Configure-WIFI(cog in right upper corner)).
10. Enable WiFi.
I hope this works for everyone that has the same problem. "

Hide Quick Settings on Lock Screen

I did some research and found a way to make the quick settings tiles disappear on the lock screen. Note that your device needs to be rooted using either SuperSu or Magisk.
The first thing you have to do is download Tasker.
On the Tasker app, make a new profile
Event --> Display --> Display Off
Now make a task, we will name this task "Hide Tiles"
New Task --> Code --> Run Shell
‎Now important, if you're rooted with SuperSu then use the first code, if you're rooted with Magisk then use the second one.
‎First code is (without quotes): "settings put secure sysui_qs_tiles 0"
‎Second code is (WITH quotes): /sbin/su -c "settings put secure sysui_qs_tiles 0"
This is the profile that will hide the tiles when the phone is locked, now we need a profile where it shows them after the password/fingerprint is used on the phone.
Go ahead and create a new profile
Event --> Display --> Display Unlocked
Now make a task, we will name it "Show Tiles"
(SuperSu uses the first code, Magisk uses the second one)
‎New Task --> Code --> Run Shell
‎First code (without quotes): "settings put secure sysui_qs_tiles wifi,cell,location,dnd,rotation,bt,battery,flashlight,hotspot,airplane,inversion,saver,cast"
‎(From the screenshot you will learn which name refers to which tile, you can then add/remove/reorder them however you want)
Second code (WITH quotes): /sbin/su -c "settings put secure sysui_qs_tiles wifi,cell,location,dnd,rotation,bt,battery,flashlight,hotspot,airplane,inversion,saver,cast"
If these codes don't work with Tasker, you can use them in Secure Settings but instead of (New Task --> Code --> Run Shell) you have to do (New Task --> Plugin --> Secure Settings --> Configuration --> Action --> Run Command)
The code you'll have to use is the one we used for Supersu (it will work for both Magisk and SuperSu users) but make sure you check the USE ROOT box)
I have tried this on a Nexus 5X running Oreo 8.1 OPM3 and it works every single time.
Let me know if you have tried this on your phone so we'd know which devices it works on. Thank you!
nice, but too bad it crashes on miui based roms
Worked with Secure Settings an Oneplus 3t, Skydragon-Rom.
Thank you! :good:
There are some Quicksettings i don't know the name to let it show after unlock. Can anybody help me?
The tiles from the first picture would be great to know the correct name.
This is very interesting, thanks for the question.

Categories

Resources