Commit Graph

127 Commits

Author SHA1 Message Date
LoveSy 666e8780c7
Update deps (#2016) 2022-06-30 16:43:40 +08:00
LoveSy 307b88f1d6
Use `absl::flat_hash_map` instead (#2001) 2022-06-29 02:21:39 +08:00
LoveSy 5ea6dffcbf
Replace corruption handler of DB (#1982) 2022-06-09 07:09:31 +00:00
Fankesyooni c10d4dd837
Fix: "cancelNotificationWithTag" method difference when API below 30 (#1975) 2022-06-06 08:28:07 +00:00
XposedBot 9d3f9cfdc7
[translation] Update translation from Crowdin (#1970) 2022-06-02 06:48:38 +00:00
南宫雪珊 cbd19d17a8
Revert "Fix resource hook on MediaTek" (#1954)
MTK has fixed this issue, for devices that have not been updated,
can use `resetprop ro.vendor.pref_scale_enable_cfg 0`
2022-05-19 09:08:12 +00:00
南宫雪珊 8febd8cc7a
Fix resource hook on MediaTek (#1951) 2022-05-19 04:57:35 +08:00
Andrew Gunnerson 793c5c955a
LSPManagerService: Change SELinux label of entire cache directory (#1933) (#1944)
With webview on Android 13 Beta (at least on Google Pixel devices),
webview expects to be able to read from a randomly generated temp directory:

    /data/user/0/com.android.shell/cache/.com.google.Chrome.XXXXXX (deleted)

Before this change, the root of the cache directory is labeled with
`shell_data_file` and `Chrome_ChildIOT` is not permitted read access to
the temp directory:

    05-12 10:59:48.728 13692 13692 W Chrome_ChildIOT: type=1400 audit(0.0:258): avc: denied { read } for path=2F646174612F757365722F302F636F6D2E616E64726F69642E7368656C6C2F63616368652F2E636F6D2E676F6F676C652E4368726F6D652E5965394D6433202864656C6574656429 dev="dm-47" ino=230834 scontext=u:r:isolated_app:s0:c512,c768 tcontext=u:object_r:shell_data_file:s0 tclass=file permissive=0
2022-05-16 06:57:27 +08:00
LoveSy e3b96ebb92
Update AGP (#1941) 2022-05-15 14:08:08 +08:00
南宫雪珊 b392f331c8
Replace ParceledListSlice with ParcelableListSlice (#1936) 2022-05-14 23:06:18 +08:00
南宫雪珊 2f0de5b7f3
Fix save log (#1932) 2022-05-11 09:38:39 +00:00
南宫雪珊 b36c170b8c
Fix prefs on other user (#1929) 2022-05-10 14:17:00 +00:00
XposedBot ffabc92423
[translation] Update translation from Crowdin (#1920) 2022-05-07 03:56:57 +00:00
LoveSy dbc350a75e
Fix hooking internal used methods (#1900) 2022-04-28 11:38:10 +08:00
LoveSy 109cdba60c
Fix module appid abnormal after soft reset (#1895) 2022-04-27 07:33:11 +00:00
Fankesyooni 59913258f9
Hide username in primary user's notification (#1889)
The notification prompt will not contain the current username when the primary user installs the Xposed Module
2022-04-25 21:50:27 +08:00
Howard Wu d81b44f8ee
Show the username that the module is installed to (#1887) 2022-04-23 16:05:35 +08:00
Fankesyooni a0dd9c0866
Fix the Xposed Module notification repeated push problem and the other problem (#1886)
* Fix the Xposed Module notification repeated push problem

* Fix a possible bug when Xposed Module uninstall the notification push again

* Fix after an multi-pie user install the Xposed Module the active notification repeat
2022-04-23 15:25:10 +08:00
Fankesyooni 44e15da227
Fix the notification push issue after Xposed Module installation or removed (#1882)
* Canceled the notification when Xposed Module removed

* Fix the packageName confusion notification push problem

* Ignore the addition of duplicate ids

* Add the packageName into notification tag

* Revise the notification id into auto-increment id

* Add the conflict ids templates web url

* Revise only the package name and userId are reserved for judging the uniqueness of the notification id

* Fix code style
2022-04-22 06:40:03 +00:00
XposedBot 60e37fe128
[translation] Update translation from Crowdin (#1879) 2022-04-21 11:26:09 +00:00
Nullptr dc6cd4b0fd
Fix incorrect mount point on Android 10 (#1870)
* Detect conditions when dex2oat wrapper doesn't work

* No enum

* Copy

* Update

* Update

* Fix dex2oat wrapper on Android 10

* Stupid typo

* Update dex2oat.cpp

Co-authored-by: LoveSy <shana@zju.edu.cn>
2022-04-21 01:40:48 +00:00
Ketal 5b8c4ab15e
fix:error obfuscate classes list (#1874)
android.content.res.XmlResourceParser
2022-04-20 05:36:18 +00:00
LoveSy faf99616b4
Use `ParceledListSlice` only for system classes (#1865) 2022-04-17 17:34:17 +00:00
双草酸酯 0fb6931ef1
fix crash when obfuscation disabled (#1863) 2022-04-17 11:38:30 +00:00
双草酸酯 a1a9cb4d1b
Obfuscate all classes (#1850)
* Obfuscate more classes

WIP DO NOT USE THIS BRANCH

* Fix resources hook

NOT TESTED

* done

* remode debug code

* use fmt

* obfuscate core & nativebridge

* BridgeService

* update proguard rules

Co-authored-by: 南宫雪珊 <vvb2060@gmail.com>
Co-authored-by: LoveSy <shana@zju.edu.cn>
2022-04-17 15:51:27 +08:00
XposedBot 8a74235b92
[translation] Update translation from Crowdin (#1853) 2022-04-16 09:18:03 +00:00
LoveSy b5aff15919
Skip duplicate scopes for module process (#1845)
Fix #1844
2022-04-14 16:51:24 +08:00
南宫雪珊 4fcf2308df
Check preload dex (#1834) 2022-04-11 19:48:11 +08:00
南宫雪珊 4cb9115fa5
Fix regen signature (#1829) 2022-04-10 23:37:27 +08:00
LoveSy 5a143c9855
Log LRU (#1822)
Co-authored-by: 残页 <31466456+canyie@users.noreply.github.com>
2022-04-09 18:56:52 +08:00
XposedBot d1c5283661
[translation] Update translation from Crowdin (#1823) 2022-04-09 10:40:21 +00:00
Nullptr 6085d64835
Further fix module prefs (#1819) 2022-04-07 16:37:31 +00:00
南宫雪珊 be1bbf7b9b
Fix module prefs (#1813) 2022-04-05 17:12:50 +00:00
南宫雪珊 be722b2e2e
Fix moduleClassNames (#1796) 2022-04-05 15:41:23 +00:00
Nullptr ee2c1a3320
Fallback if dex2oat wrapper crashes (#1810)
* Fallback if dex2oat wrapper crashes

* Update daemon/src/main/java/org/lsposed/lspd/service/Dex2OatService.java

Co-authored-by: 残页 <31466456+canyie@users.noreply.github.com>

* Update

Co-authored-by: 残页 <31466456+canyie@users.noreply.github.com>
2022-04-05 09:14:28 +08:00
LoveSy a884c1b2ba
Support attach debugger to hooked process (#1807) 2022-04-04 12:58:20 +08:00
Nullptr 3ca1478a3a
Optimize dex2oat wrapper (#1805) 2022-04-03 11:30:15 +08:00
Nullptr 2f9e0e07b0
Resolve dex2oat parameters for Android 10+ (#1803) 2022-04-02 13:13:22 +08:00
南宫雪珊 e9e65f70c4
Reduce miscPath permissions (#1795) 2022-03-26 05:51:23 +00:00
LoveSy 57c1b8b904
Use ccache for all native modules (#1787) 2022-03-23 19:16:19 +08:00
XposedBot d5b1df5bd5
[translation] Update translation from Crowdin (#1785)
* New translations strings.xml (Romanian)

* New translations strings.xml (Urdu (Pakistan))

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Catalan)

* New translations strings.xml (Danish)

* New translations strings.xml (Finnish)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Polish)

* New translations strings.xml (Kurdish)

* New translations strings.xml (Kurdish)
2022-03-23 10:16:53 +00:00
LoveSy 9344cf6c54
NDK 24 (#1780)
* NDK 24

* Use `ANDROID_ALLOW_UNDEFINED_SYMBOLS`
2022-03-21 17:43:32 +08:00
LoveSy 416167a226
Refactor ApplicationService (#1775) 2022-03-20 08:44:17 +08:00
LoveSy f0c04177d6
Log `LSPlant` (#1770) 2022-03-18 08:54:28 +08:00
LoveSy 6b368b041b
Move all serivces into a single dir (#1768) 2022-03-16 20:55:45 +00:00
XposedBot 42a5357d6a
[translation] Update translation from Crowdin (#1767) 2022-03-16 17:15:59 +00:00
LoveSy 6258435645
Refine gradle script (#1765) 2022-03-16 17:20:43 +08:00
LoveSy 0bf0948e9a
Refactor `core` to use LSPlant as the ART hook framework (#1756) 2022-03-15 07:51:30 +08:00
LoveSy 6f48c663db
Refactor some gradle (#1752) 2022-03-13 07:23:04 +08:00
LoveSy 4b9a4f8316
Ensure um is ready when updating cache (#1737) 2022-02-28 22:23:13 +08:00