Commit Graph

256 Commits

Author SHA1 Message Date
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
XposedBot e1508a16f4
[translation] Update translation from Crowdin (#1709) 2022-02-20 15:00:56 +00:00
XposedBot 756e4370e2
[translation] Update translation from Crowdin (#1700) 2022-02-19 13:17:45 +08:00
XposedBot 90116ab1cd
[translation] Update translation from Crowdin (#1696) 2022-02-17 13:11:47 +00: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 306468afb4
Refine configuration change (#1672) 2022-02-11 23:34:36 +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 771bd77585 optimization 2022-02-08 23:34:43 +08:00
vvb2060 7e3d57353e show snackbar after toggling option 2022-02-08 23:34:43 +08: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
kotori2 cedb0d0f1d make compiler happy 2022-02-08 23:34:43 +08:00
kotori2 55469abc8d Fix dex loading while obfuscation is disabled 2022-02-08 23:34:43 +08:00
Stillhard 4ffea2a367 Fix proguard rules 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 d3518d18d6 fix wrong signature 2022-02-08 23:34:43 +08:00
kotori0 2582eb3654 add option to disable dex obfuscation 2022-02-08 23:34:43 +08:00
LoveSy 67e3460d7a Get rid of config.cpp 2022-02-08 23:34:43 +08:00
LoveSy 45f0962d59 No need for signature prefix 2022-02-08 23:34:43 +08:00
kotori0 a854bb6a33 more java keywords 2022-02-08 23:34:43 +08:00
kotori0 f254576934 blacklist java keywords 2022-02-08 23:34:43 +08:00
kotori0 581810401d Use PLOGE 2022-02-08 23:34:43 +08:00
kotori0 2034441122 make 西大师 satisfy 2022-02-08 23:34:43 +08:00
kotori0 9760e8d733 reduce memory allocation && properly close fds 2022-02-08 23:34:43 +08:00
kotori0 d3b0140230 Proxy transaction from system server service to application service 2022-02-08 23:34:43 +08:00
kotori0 a628528cd8 Fix memory leaks && use RAII on obfuscation methods 2022-02-08 23:34:43 +08:00
kotori0 8d2a8c4c3f simplify include path 2022-02-08 23:34:43 +08:00
kotori0 d40191b711 use random class names 2022-02-08 23:34:43 +08:00
kotori0 db7d1b9323 refine code 2022-02-08 23:34:43 +08:00
kotori0 4d5a4dcb27 [core] send LSP main dex through binder 2022-02-08 23:34:43 +08:00
kotori0 30d1c1b551 [core] Runtime dex obfuscation implementation 2022-02-08 23:34:43 +08:00
XposedBot 64e2728217
[translation] Update translation from Crowdin (#1644) 2022-02-08 02:27:48 +08:00
XposedBot 966ec1047c
[translation] Update translation from Crowdin (#1643) 2022-02-07 17:55:24 +00:00
LoveSy dea13db843
run service.sh by busybox sh with `ASH_STANDALONE=1` (#1633) 2022-02-05 10:20:34 +00:00
LoveSy 9f20d8609f
Fix logical shortcut (#1632) 2022-02-05 09:37:03 +00:00
LoveSy bde9990c50
Fix module re-enable (#1631) 2022-02-05 16:42:41 +08:00
南宫雪珊 d8908d7ff8
Fix modules status in log (#1630) 2022-02-05 12:57:44 +08:00
LoveSy e70a9fddaa
Dynamically generate shortcut icon (#1628) 2022-02-04 17:55:42 +00:00
南宫雪珊 dab4879176
Save more modules info to log (#1625) 2022-02-03 20:43:38 +00:00
LoveSy 4bcf7718ad
Do not broadcast when module path not changed (#1622) 2022-02-03 17:53:48 +00:00
LoveSy 4955dcb542
Module list from manager should use match all flag (#1621) 2022-02-04 01:35:37 +08:00
XposedBot a92b5999e2
[translation] Update translation from Crowdin (#1616) 2022-02-03 14:44:24 +08:00
LoveSy b81caac913
Collect modules in log and close fds (#1610) 2022-02-02 20:27:21 +08:00
XposedBot 3c03d4d160
[translation] Update translation from Crowdin (#1606) 2022-02-02 16:32:35 +08:00
LoveSy 74c55e9947
Fix log save (#1605) 2022-02-02 08:01:59 +00:00
LoveSy 1be8257252
Fix save log & repo (#1597) 2022-02-01 12:33:18 +08:00
LoveSy 9fd0a1156b
Fetch modules from all users (#1588) 2022-01-30 05:38:24 +00:00
LoveSy afb80064cf
JVM's GC sucks (#1584) 2022-01-30 12:35:42 +08:00
LoveSy 40aebb5703
Try to restart zygote if injection fails (#1582)
Max #retrial=1 by default
2022-01-29 19:24:38 +08:00
LoveSy 5fd296e3ad
Avoid frequently wait if log tag prop not found (#1580) 2022-01-29 10:24:37 +00:00
南宫雪珊 5209136174
Save tombstones and anr (#1579) 2022-01-29 07:26:13 +00:00
LoveSy 31e6246e6e
Better component name for shortcut (#1570)
Some launcher may not support __activity_dummy

Co-authored-by: 南宫雪珊 <vvb2060@gmail.com>
2022-01-28 14:05:00 +08:00
LoveSy 8668d73a2d
Update dep (#1565) 2022-01-27 23:02:16 +08:00
LoveSy 3dcbe46f88
Don't show on denylist when enforcement is off (#1563) 2022-01-26 16:07:11 +00:00
LoveSy 303def1344
Proper support RTL (#1562) 2022-01-26 11:50:47 +08:00
LoveSy 5ee5297fb6
[app] Fix back press behavior (#1552) 2022-01-24 18:33:58 +08:00
LoveSy d11c0f78a8
More MD3 designs (#1548)
Co-authored-by: RikkaW <rikka@shizuku.moe>
2022-01-22 22:40:30 +08:00
LoveSy efe6ed1288
Fix crash when propinfo is null (#1544) 2022-01-16 20:36:59 +08:00
XposedBot 8ddbe37d35
[translation] Update translation from Crowdin (#1540)
* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)
2022-01-16 03:22:43 +00:00
LoveSy 29781f7a0f
Fix endless loop after resetting log prop (#1536) 2022-01-15 16:00:15 +00:00
LoveSy 47d88050d3
Add log configuration ensure watchdog (#1535) 2022-01-15 23:17:20 +08:00
LoveSy 9480844c7b
Use thinlto & enable lto cache (#1517) 2022-01-08 01:13:00 +00:00
XposedBot d7ea7aff03
[translation] Update translation from Crowdin (#1513) 2022-01-06 14:39:50 +00:00
Nullptr b9093f2bb6
[daemon] Fix shortcut (#1511) 2022-01-02 20:06:56 +08:00
XposedBot 26fba0de19
[translation] Update translation from Crowdin (#1509) 2021-12-30 17:57:04 +00:00
Nullptr 1f5dfbc1b9
[daemon] Only package needed resources (#1508)
* [skip ci] Fix reRunDaemon task

* [daemon] Only package needed resources

* Shrink resources
2021-12-30 17:31:34 +00:00
Nullptr 16e1de76ff
[daemon] Minify (#1507) 2021-12-30 14:48:15 +00:00
Nullptr 23c044a4f3
[daemon] Fix proguard (#1505) 2021-12-30 03:32:21 +00:00
Nullptr b9666c9d08
[core] Split daemon (#1503) 2021-12-30 09:21:44 +08:00