A module of Riru. Enable Google Feed & Timeline & Location report in unsupported regions by changing system properties in related packages.
By default, __system_property_get and __system_property_read_callback (API 26+) will be hooked in these packages
- com.google.android.gsf
- com.google.android.gms
- com.google.android.apps.maps
and the return value will be changed
gsm.sim.operator.numeric->310030gsm.sim.operator.iso-country->us
Note, reboot (or kill zygote) is required to let the new settings take effect.
/data/adb/modules/riru_location_report_enabler/config/packages/<package name>
/data/adb/modules/riru_location_report_enabler/config/properties/<key> (file content is value)
Gradle tasks:
-
:riru:assembleDebug/ReleaseGenerate Magisk module zip to
out. -
:riru:pushDebug/ReleasePush the zip with adb to
/data/local/tmp. -
:riru:flashDebug/ReleaseFlash the zip with
adb shell su -c magisk --install-module. -
:riru:flashAndRebootDebug/ReleaseFlash the zip and reboot the device.