wjrsonic / Riru-LocationReportEnabler

A Riru module. Enable location report by hook system_property_get.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Riru - Location Report Enabler

A module of Riru. Enable Google Feed & Timeline & Location reprot in unsupported regions by changing system properties in related packages.

What does this module do

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 -> 310030
  • gsm.sim.operator.iso-country -> us

Configuration

Note, reboot (or kill zygote) is required to let the new settings take effect.

Packages

/data/adb/riru/modules/location_report_enabler/config/packages/<package name>

Properties

/data/adb/riru/modules/location_report_enabler/config/properties/<key> (file content is value)

About

A Riru module. Enable location report by hook system_property_get.

License:MIT License


Languages

Language:C++ 59.7%Language:Shell 31.6%Language:CMake 5.2%Language:C 3.5%