A Riru module. Enable location report by hook system_property_get.
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
and the return value will be changed
gsm.sim.operator.numeric
-> 310030
gsm.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/Release
Generate Magisk module zip to out
.
:riru:pushDebug/Release
Push the zip with adb to /data/local/tmp
.
:riru:flashDebug/Release
Flash the zip with adb shell su -c magisk --install-module
.
:riru:flashAndRebootDebug/Release
Flash the zip and reboot the device.