Commit Graph

146 Commits

Author SHA1 Message Date
topjohnwu
ffec9a4ddd Minor changes 2022-02-02 05:06:12 -08:00
topjohnwu
9b18960bbd Getting APK doesn't need ContentProvider 2022-02-02 04:58:31 -08:00
topjohnwu
a009fdbdc3 Fix root service on stub 2022-02-02 04:49:23 -08:00
topjohnwu
c1fc3f373c Proper app relaunch for stub 2022-02-02 04:44:22 -08:00
topjohnwu
f4cf5dc0cd Rename class 2022-02-02 02:50:27 -08:00
topjohnwu
355341f0ab Use AppComponentFactory to replace ClassLoader 2022-02-01 22:43:44 -08:00
vvb2060
636479b15b Fix dynLoad 2022-01-24 21:31:27 -08:00
Ilya Kushnir
2752083d29
Update RU strings 2022-01-20 01:59:33 -08:00
vvb2060
afcc60066e Fix toast 2021-12-27 12:17:35 -08:00
vvb2060
d3ade06421 Use InputStream transfer 2021-12-27 12:17:35 -08:00
南宫雪珊
df191cd2b5
Use AGP to compile resources 2021-12-14 05:30:15 -08:00
南宫雪珊
baa19f0ccf
Rewrite app installation
Fix  #4960
2021-12-14 05:20:29 -08:00
topjohnwu
54e3f1998a Support RootService on stub APKs 2021-12-13 04:05:42 -08:00
topjohnwu
de3747d65e Copy APK from external storage in stub
Much faster and easier development
2021-12-13 04:05:42 -08:00
vvb2060
65224ed22b Fix NPE when apk could not be parsed 2021-11-29 00:04:51 -08:00
Arbri çoçka
ce1ee5cb9d Fix strings in stub Albania 2021-11-02 03:07:44 -07:00
Arbri çoçka
d7e7df3bd9 Add translate Albania in stub 2021-10-23 23:55:57 -07:00
0purple
8d8ba11221 Update strings.xml 2021-10-23 23:55:38 -07:00
topjohnwu
136d8c39d9 Move more code into buildSrc 2021-09-09 20:19:49 -07:00
vvb2060
810cf4dee8 Move config to buildSrc 2021-09-09 01:37:20 -07:00
topjohnwu
714feeb9a7 Support building on case insensitive filesystems
Fix #4643, close #4641
2021-09-07 04:02:29 -07:00
topjohnwu
9c09ad3b62 Open source fully obfuscated stub 2021-09-02 21:31:33 -07:00
vvb2060
dcc1fd3ee4
Use PACKAGE_FULLY_REMOVED for magiskhide
Remove from magiskhide only if pkg fully deleted
2021-09-02 02:15:25 -07:00
vvb2060
68fbdd474c Target SDK 31 2021-09-02 01:39:34 -07:00
Antikruk
9ac0f11d9a
Update Belarusian translation 2021-08-29 03:27:57 -07:00
topjohnwu
c59f8adc4a Update Android Studio 2021-07-30 14:23:20 -07:00
topjohnwu
1b9d8e068a Remove/move unused files 2021-04-18 05:04:14 -07:00
topjohnwu
4c1ea0e421 Update stub implementation
Prevent some potential issues
2021-04-17 22:14:54 -07:00
topjohnwu
7e01f9c95e Minor changes 2021-04-17 19:57:47 -07:00
topjohnwu
1f0a35f073 Set minSdkVersion to 21 2021-04-09 20:01:32 -07:00
vvb2060
aad52ae743 Fix UID removed action 2021-03-24 04:43:45 -07:00
topjohnwu
15e27e54fb Migrate to new endpoints 2021-03-05 05:09:25 -08:00
vvb2060
ee0ec3fbfa Use UID_REMOVED action for multi-user and shared user id compatibility 2021-02-25 20:08:42 -08:00
Ilya Kushnir
3e61ab0d25
Update RU strings 2021-02-25 19:54:58 -08:00
sn-o-w
22662d7e03 Update Romanian 2021-02-24 02:08:46 -08:00
topjohnwu
d2e2847b03 Fix stub 2021-02-23 03:24:51 -08:00
Lishoo
ea545bae26 Update polish translations 2021-02-20 01:50:44 -08:00
MC Naveen
ded73e958b Added Tamil Translation 2021-02-13 17:09:28 -08:00
vvb2060
a78f255928 Update zh-rCN translation 2021-02-11 23:25:24 -08:00
topjohnwu
f6126dd20e Support Shortcuts pre API 26
Close #3778
2021-01-29 23:16:09 -08:00
topjohnwu
6fb20b3ee5 Proper proguard rules 2021-01-27 04:56:39 -08:00
topjohnwu
fba83e2330 Support stub APK loading down to Android 5.0 2021-01-26 07:27:35 -08:00
vvb2060
4ea5f34bf3 Remove unused action 2021-01-23 18:11:08 -08:00
topjohnwu
2e0f7a82fa More complete stub sources 2021-01-22 20:45:37 -08:00
topjohnwu
ab9a83c82f Bump target SDK to 30 2021-01-22 05:03:33 -08:00
topjohnwu
ec8fffe61c Merge Magisk install zip into Magisk Manager
Distribute Magisk directly with Magisk Manager APK. The APK will
contain all required binaries and scripts for installation and
uninstallation. App versions will now align with Magisk releases.

Extra effort is spent to make the APK itself also a flashable zip that
can be used in custom recoveries, so those still prefer to install
Magisk with recoveries will not be affected with this change.

As a bonus, this makes the whole installation and uninstallation
process 100% offline. The existing Magisk Manager was not really
functional without an Internet connection, as the installation process
was highly tied to zips hosted on the server.

An additional bonus: since all binaries are now shipped as "native
libraries" of the APK, we can finally bump the target SDK version
higher than 28. The target SDK version was stuck at 28 for a long time
because newer SELinux restricts running executables from internal
storage. More details can be found here: https://github.com/termux/termux-app/issues/1072
The target SDK bump will be addressed in a future commit.

Co-authored with @vvb2060
2021-01-22 02:29:54 -08:00
topjohnwu
eb959379e8 Prevent resource ID clash 2020-12-29 02:39:47 -08:00
topjohnwu
41a644afb9 Open source stub APK loader
Close #3537
2020-12-29 01:44:02 -08:00
dark-basic
24059e7403 Update Stub-es version 2020-12-27 22:09:03 -08:00
topjohnwu
4662454938 More attempts to fix gradle cache on Windows 2020-12-27 20:13:50 -08:00