Commit Graph

78 Commits

Author SHA1 Message Date
Howard Wu 86fd75ab7a
Clear application profile data before perform dexOpt (#2141) 2022-09-26 10:01:26 +08:00
5ec1cff 135a7d69f8
Avoid calling `finishReceiver` for unordered broadcasts (#2139) 2022-09-25 16:07:55 +08:00
LoveSy 811d3e49c1
Refine codes (#2122) 2022-09-15 10:18:27 +08:00
LoveSy 8f8eb73a69
Fix broadcastIntentWithFeature on Android S with newer patch (#2111) 2022-09-14 10:52:52 +08:00
LoveSy 1b3b838760
Fix broadcast on SDK 32 (#2065) 2022-08-08 13:45:58 +00:00
LoveSy 02f09247ae
Use striped so for debug build (#2047) 2022-07-25 00:33:00 +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
南宫雪珊 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
南宫雪珊 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
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
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
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
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
LoveSy 5a143c9855
Log LRU (#1822)
Co-authored-by: 残页 <31466456+canyie@users.noreply.github.com>
2022-04-09 18:56:52 +08: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
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 416167a226
Refactor ApplicationService (#1775) 2022-03-20 08:44:17 +08:00
LoveSy 4b9a4f8316
Ensure um is ready when updating cache (#1737) 2022-02-28 22:23:13 +08:00
LoveSy e17c39318d
Call `systemMain` after prepare (#1692) 2022-02-14 12:27:41 +00:00
LoveSy 808d941846
Fix icon creation on ZUI (#1690)
Fix #1687
2022-02-14 19:39:16 +08:00
南宫雪珊 a32d4fc0ab
Save boot kmsg (#1688) 2022-02-14 10:36:00 +00:00
南宫雪珊 a72f59d07a
Fix create modules dir (#1686) 2022-02-14 09:57:08 +00:00
LoveSy 36d1f8dba7
Parallize module cache and preload (#1681) 2022-02-14 16:54:24 +08:00
LoveSy 26f414ff03
Update dependencies (#1680) 2022-02-12 19:38:46 +00:00
LoveSy 5ab4c98fc5
Refine obfuscate (#1679) 2022-02-13 02:47:59 +08:00
LoveSy e3a7256f01
Use S_V2 instead to check Tiramisu(#1667) 2022-02-11 01:58:55 +00:00
LoveSy b0d1e7a2bb
Support Android 13 DP1 (#1666) 2022-02-11 09:12:10 +08:00
双草酸酯 4e33363729
Fix #1652 (#1655) 2022-02-09 15:35:26 +00:00
kotori2 16b7936303 disable dex obfuscate by default && show toast after toggling dex obfuscate option 2022-02-08 23:34:43 +08:00
kotori2 9e07750d0e properly close pfd 2022-02-08 23:34:43 +08:00
LoveSy 68b98c2850 Update ConfigManager.java 2022-02-08 23:34:43 +08:00
kotori2 c63794d304 set initial value for dex obfuscate 2022-02-08 23:34:43 +08:00
kotori0 2582eb3654 add option to disable dex obfuscation 2022-02-08 23:34:43 +08:00