This repository was archived by the owner on Jan 27, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 702
Meizu M2 Mini
Andrey edited this page Sep 16, 2019
·
1 revision
It's broken by default on our device, but can be fixed by editing /system/bin/rw-system.sh script.
Find this code:
for f in /vendor/lib/mtk-ril.so /vendor/lib64/mtk-ril.so /vendor/lib/libmtk-ril.so /vendor/lib64/libmtk-ril.so; do
[ ! -f $f ] && continue
# shellcheck disable=SC2010
ctxt="$(ls -lZ "$f" | grep -oE 'u:object_r:[^:]*:s0')"
b="$(echo "$f" | tr / _)"
cp -a "$f" "/mnt/phh/$b"
sed -i \
-e 's/AT+EAIC=2/AT+EAIC=3/g' \
"/mnt/phh/$b"
chcon "$ctxt" "/mnt/phh/$b"
mount -o bind "/mnt/phh/$b" "$f"
setprop persist.sys.phh.radio.force_cognitive true
setprop persist.sys.radio.ussd.fix true
doneand replace it to:
setprop persist.sys.phh.radio.force_cognitive true
setprop persist.sys.radio.ussd.fix trueStock camera app can't take photos, but can record videos.
Then I tested with third-party camera app Footej Camera. It can take photos but can't record videos.
If you're flashed latest Magisk and don't getting prompt to root access, try to do this:
As it turns out, it wasn't Magisk's fault. The shared library
libdirect-coredump.sowas missing from/system/lib//system/lib64, so I copied it from/vendorand Magisk started working perfectly.
| Component | Comment |
|---|---|
| Camera | Semi broken |
| Speaker / Mic | Working |
| Bluetooth | Working |
| WiFi | Working with 2G and 5G networks. Tethering broken |
| SIM / Mobile Data / Voice | Semi broken. Mobile data and outgoing calls working. Second SIM-card slot not tested (should work) |
| VoLTE | Unknown |
| Offline Charging | Working |
| 3.5mm audio jack | Working |
Tested By: EarsKilla - M2 mini (global), HavocOS 2.9 - 17.09.2019
Template created by @zguithues and @hackintosh5
End