[Redmi Note 8 Guides, News, & Discussion] tweakradje:
Just got this device and here are some tweaks for the stock miui 11 rom.

A few little things. Maybe I post more if I find them useful.

Know your hardware (Device Info HW app)

You need to know what specific hardware is in your Redmi Note 8 (camera, fingerprint sensor etc) for some tweaks.

General info

Camera sensor info

Enable App drawer in Launcher

(4.14.1404)

Install quickshortcut maker from the play store. (https://play.google.com/store/apps/details?id=com.sika524.android.quickshortcut)

Start QSM and go down to Systemlauncher > expand it > click on last activity: AllAppsSettingsActivity.

Click Try

Select App drawer!

Lab camera options

Not very useful. Create folder in storage DCIM/Camera called Lab_options_visible

Kill camera app and start it. Now you see more items in camera settings.

Hidden menus in About Phone

In the settings goto About phone > All specs

tap 7 times on Processor > Bug report

tap 5 times on Kernel version > CIT (Phone hardware test)

tap 5 times on Internal Storage > Mobile radio sim 1/2 and Wifi things

Change Font

Goto Settings > Themes > More

Type the word Font in the Search box

In the Results you see Fonts > click More

Download and Apply the font. Reboot needed

Manage your Fonts: Use QuickShortcutMaker > Expand Themes > Click FontsettingsActivity > Try

When not to use Battery saver

In general saving energy when you switch of the screen is a good idea.

Unless you have apps that need to run all the time. Like Navigation apps.

So if you have problems with Navigation/gps apps that behave odd do this:

Long click on the app icon > App info > Battery saving > switch from "Battery saving" to None.

Disable/Uninstall a package

When you have adb access to the Note 8 you can disable packages. Well uninstall.

- adb shell

- pm list packages -s -f -e | sort -> gives you sorted enabled system package names

- pm uninstal --user 0 <packagename>

If you need the package back you can use: adb shell pm install-existing <packagename>

(if you have root better use: pm disable <packagename>, easier to enable again)

List only disabled (system) packages: pm list packages -s -f -d | sort

Battery saving tips

Switch off in Settings > Battery > cog wheel top right > Scenario's > Detect sleep (is high wakelock on android system)

Switch off MIUI optimization in developer settings

Switch off Notifications for Xiaomi Service Framework and Xiaomi Service Framework Keeper

Assisted GPS

Don't know if this makes a big difference but GPS indoors is really fast now.

Use Quickshortcutmaker and search for GPS. In settings you find A-GPS-settings. Click it and click Try.

- Network: All

- SI-mode: MSB

- Server: supl.google.com

- Port: 7276

- Reset: HOT

- More -> SAVE !!!

TWRP and modifying /system issues on MIUI 11 (Android 9 system-as-root)

After installing TWRP and you want to change files in TWRP mode on /system_root/system it will not work.

You need to install MAGISK and then use SU to modify the system. (TWRP/MAGISK instructions: https://xdaforums.com/redmi-note-8/how-to/guide-unlocking-bootloader-twrp-rooting-t4031831)

Some mods for rooted ginkgo (with Magisk)

Before overwrite PLEASE make copy of original file FIRST (like build.prop.ORG)

- /system/build.prop (see last part in build.prop that was added, if you have other MIUI version add only the that last part)

- /system/etc/device-features/ginkgo.xml (expose some other features on the MIUI ROM)

- /data/adb/service.d/tweakradje-ginkgo.sh (my script to "correct" some cpu/linux settings, also loads my /system/etc/sysclt.conf)

- /system/etc/sysclt.conf (some linux/kernel improvements)

How to install from a pc:

Open DOS/CMD in the folder where the downloaded files are, unzip the zip files

Copy the files to the "/sdcard": adb push <file> /sdcard/

adb.exe shell

su

stop

mount -o rw,remount / (that is system partition)

mount -o rw,remount /vendor (that is vendor partition)

cd /system

cp -p build.prop build.prop.ORG (one time to make copy of original file)

cp /sdcard/build.prop . (permissions should be ok)

....etc...

sync

reboot

See attachements for files

Use fingerprint button for sleep

My fingerprint sensor is a fpc1020. Now I can reassign a tap on the fp sensor to any function.

Edit the file /system/usr/keylayout/uinput-fpc.kl (remember I have fpc sensor)

#key 96 DPAD_CENTER

key 96 SLEEP

#key 96 CAMERA

Wifi performance testing

Wifi performance is pretty avarage. When BT is switched on it is getting worse.

The wcn3990 Wifi/BT combo chip isn't that bad. Must be driver (firmware) issue or configuration issue.

I have attached /vendor./etc/wifi/WCNSS_qcom_cfg.ini file with some mods. Looks like it is little better.

Maybe you can give feedback?

EDIT: 23 aug 2020

Best experience for the RN8 using a MIUI based ROM: MiuiMiX_2.0_ginkgo_20.3.26_v11-9 Download: https://androidfilehost.com/?fid=4349826312261756420

For best wifi settings use this setting in GLOBAL db:

settings put --user 0 global wifi_score_params rssi2=-95:-85:-73:-60,rssi5=-85:-82:-70:-57
settings put --user 0 global wifi_coverage_extend_feature_enabled 0
settings put --user 0 global wifi_networks_available_notification_on 0
settings put --user 0 global wifi_poor_connection_warning 0
settings put --user 0 global wifi_scan_always_enabled 0
settings put --user 0 global wifi_scan_throttle_enabled 0
settings put --user 0 global wifi_verbose_logging_enabled 0
settings put --user 0 global wifi_suspend_optimizations_enabled 1
settings put --user 0 global wifi_wakeup_enabled 0
settings put --user 0 global sysui_powerui_enabled 1
settings put --user 0 global ble_scan_always_enabled 0

---new 4 jan 2021---

settings put global network_avoid_bad_wifi 0
settings put global network_scoring_ui_enabled 0
settings put global tcp_default_init_rwnd 20 #60, kernel 4-20 MAJOR network speedup! Also try 10!
settings put global wifi_country_code GB
settings put global wifi_frequency_band 0 #0=auto 1=5 2=2.4
settings put global wifi_max_dhcp_retry_count 0
settings put global wifi_framework_scan_interval_ms 0 # 5*60*1000 5min 0=don't scan when connected, we are stationary/screen on!
settings put global wifi_supplicant_scan_interval_ms 5000 #15000 15sec search while connected for connect, roaming or open network, screen on, not wakeup scan (5sec is min)
settings put global wifi_watchdog_poor_network_test_enabled 0
settings put global netstats_enabled 1 # bandwidth monitoring, some apps need this
settings put global connectivity_metrics_buffer_size 20000 #2000 max=10*2000

settings put system bluetooth_discoverability 1 # 2=always 1=only connect 0=off, improve wifi!
settings put system bluetooth_discoverable_timeout 60 #after 60s wifi is fast!

cmd wifi get-poll-rssi-interval-msecs
>>> WifiStateMachine.mPollRssiIntervalMsecs = 3000
cmd wifi get-ipreach-disconnect
>>> IPREACH_DISCONNECT state is true
cmd wifi set-ipreach-disconnect disabled
cmd wifi get-ipreach-disconnect
>>> IPREACH_DISCONNECT state is false

And add this before END to the /vendor/etc/wifi/WCNSS_qcom_cfg.ini file:

gEnableDebugLog=0
gLinkSpeedRssiHigh=-60
gLinkSpeedRssiMed=-70
gLinkSpeedRssiLow=-82
gEnableFatalEvent=0
5g_rssi_boost_threshold=-65
5g_rssi_boost_factor=2
5g_max_rssi_boost=20
gSetAntennaIsolation=15
enableBTChainSeparation=1
gSetBTCMode=1

HQ Hifi Headphone mod

Copy xml files over existing /vendor/etc/ files. Make copy of original first. Then reboot.

audio_platform_info_intcodec.xml

mixer_paths_idp.xml

For MiSound you maybe need to set setprop ro.audio.hifi true (or in /vendor/build.prop:ro.audio.hifi=true)

Suggestions are welcome! Please post below.

Cheers