Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
RikkaW committed Mar 22, 2021
1 parent ad34d71 commit 0b1d37f
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Riru - Location Report Enabler
# Location Report Enabler

A module of [Riru](https://github.com/RikkaApps/Riru). Enable Google Feed & Timeline & Location report in unsupported regions by changing system properties in related packages.

Expand All @@ -21,8 +21,8 @@ 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>`
`/data/adb/modules/riru_location_report_enabler/config/packages/<package name>`

### Properties

`/data/adb/riru/modules/location_report_enabler/config/properties/<key>` (file content is value)
`/data/adb/modules/riru_location_report_enabler/config/properties/<key>` (file content is value)
40 changes: 39 additions & 1 deletion template/magisk_module/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,47 @@
# Riru - Location Report Enabler
# Location Report Enabler

Enable Google Feed & Timeline & Location report in unsupported regions by changing system properties in related packages.

**This module requires Riru v25.0.0 or above.**

## 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/modules/riru_location_report_enabler/config/packages/<package name>`

### Properties

`/data/adb/modules/riru_location_report_enabler/config/properties/<key>` (file content is value)

## Source code

<https://github.com/RikkaApps/Riru-LocationReportEnabler>

## Changelog

### v11.0.0 (2021-03-22)

- Riru v25
- Move configuration path to Magisk module path (`/data/adb/modules/riru_location_report_enabler`), old configuration will be moved on upgrade
- Unload on unrelated processes
- Reduce file size

### v10.2 (15) (2021-01-07)

- Fix the return value of `__system_property_get` ([#33](https://github.com/RikkaApps/Riru-LocationReportEnabler/pull/33))
Expand Down

0 comments on commit 0b1d37f

Please sign in to comment.