Commit Graph

4117 Commits

Author SHA1 Message Date
topjohnwu 7da35e5468 Extract full module installation logic 2020-03-15 00:23:07 -07:00
Simon Shi 7768274b2f Fix build issue 2020-03-14 11:17:51 -07:00
topjohnwu 33f006655d Update README 2020-03-13 02:12:35 -07:00
topjohnwu 612b51d48f Disable MagiskHide by default
Since SafetyNet CTS is impossible to achieve, leaving MagiskHide on
by default no longer serves a purpose.

For more details regarding the latest SafetyNet changes, please check:
https://twitter.com/topjohnwu/status/1237656703929180160
https://twitter.com/topjohnwu/status/1237830555523149824

MagiskHide's functionality will continue to exist within the Magisk
project as it is still extremely effective to hide modifications in
userspace (including SafetyNet's basicIntegrity check).

Future MagiskHide improvements _may_ come, but since the holy grail
has been taken, any form of improvement is now a very low priority.
2020-03-13 01:48:14 -07:00
topjohnwu 8101f3f67d Set proper permissions 2020-03-12 00:51:46 -07:00
GaryOderNichts e3c8d723e3 Add linebrake notice for module.prop
This made some trouble when creating a module.prop on Windows. The file could not be read properly by magisk manager and my module folder had an \r at the end which made it unremovable through Magisk Manager.
2020-03-12 00:34:56 -07:00
Tornike Khintibidze 4579825758 Updated Georgian strings 2020-03-12 00:33:04 -07:00
Ilya Kushnir ef91c33f55 Update RU strings 2020-03-12 00:31:55 -07:00
dark-basic 511d5993df Update Strings-es.xml 2020-03-12 00:31:34 -07:00
Viktor De Pasquale 9f4958e869 Updated safetynet success color to primary 2020-03-12 00:30:00 -07:00
Fox2Code c07775f5e3 Add missing ro.vendor(.boot).warranty_bit props
Co-authored-by: John Wu <topjohnwu@gmail.com>
2020-03-12 00:28:43 -07:00
topjohnwu e261579e72 Use standalone mode in boot scripts 2020-03-11 00:11:15 -07:00
topjohnwu cf54cad3ce deleteprop -> delprop 2020-03-09 02:05:24 -07:00
topjohnwu a0998009c1 Small native code reorganization 2020-03-09 01:50:30 -07:00
topjohnwu d6fdbfe9b7 Utilize standalone mode for emulator.sh 2020-03-08 23:27:06 -07:00
Vladimír Kubala 07228279a3 Update Slovak translation 2020-03-08 23:26:08 -07:00
JoanVC100 6877ef790f Add strings 2020-03-08 23:25:25 -07:00
cristisilaghi a3809648dd Update Romanian 2020-03-08 23:25:05 -07:00
YU-YEN HSU df15606b00 prop compare fix 2020-03-08 22:58:37 -07:00
YU-YEN HSU 4dc0d13688 Xiaomi cross region flash hacks 2020-03-08 22:58:37 -07:00
topjohnwu 541fa5cb1f Update dependencies 2020-03-08 22:54:14 -07:00
Alessandro Astone ab9442d4ae Fixup mounting system on Lineage Recovery
* Lineage Recovery 17.1, like AOSP Q recovery, has '/' as a shared
   mount point, causing `mount --move` to fail.
   If it fails, directly mount system to /system_root via
   /dev/block/ symlinks, like AnyKernel and OpenGapps

Co-authored-by: John Wu <topjohnwu@gmail.com>
2020-03-08 22:38:47 -07:00
osm0sis f5c099e9a7 scripts: fix addon.d after merge to trampoline
- pass addon.d arguments through trampoline or nothing will happen
- exit immediately after handing over from trampoline
- better grep for recovery OUTFD which should work in all cases
- output to logcat when booted and no binaries are found
- use /postinstall/tmp path to call functions from addon.d-v2 in progress
- remove unnecessary check for $MAGISKBIN since we're already executing from within it
- make sure we're not in $TMPDIR again before we delete it
- use $MAGISKBIN wherever possible in case it ever needs to be changed
2020-03-08 22:33:19 -07:00
Shaka Huang 9582379e1b Fix error patching boot.img
Signed-off-by: Shaka Huang <shakalaca@gmail.com>
2020-03-08 22:27:18 -07:00
topjohnwu db9a4b31f9 Update scripts to use BusyBox standalone mode 2020-03-08 22:25:06 -07:00
Viktor De Pasquale 409cb06ea0 Fixed layout not reacting to nested scroll on su screen 2020-03-04 23:51:06 -08:00
Viktor De Pasquale 88d917b662 Added permission check for installing/downloading modules 2020-03-04 23:50:50 -08:00
topjohnwu faf077b494 Min ver is 19.0, don't need legacy commands 2020-02-29 15:41:15 -08:00
topjohnwu ee1f45aa91 Add new commandline option to get tmpfs root 2020-02-29 15:33:11 -08:00
topjohnwu 915fd3020b Small string resource reorganization
Close #2454
2020-02-29 14:49:06 -08:00
micheleberrettis1 642788abec Typo fix.
Fixed two typos in the Italian translation.
2020-02-29 02:09:08 -08:00
Vladimír Kubala 3cd11dd9a0 Update Slovak translation 2020-02-29 02:08:52 -08:00
kam821 bf2c5ce368 Updated Polish translation
Synced with latest strings file, some minor fixes.
2020-02-29 02:08:36 -08:00
cristisilaghi 65c510a211 Update Romanian strings 2020-02-29 02:08:23 -08:00
topjohnwu 6fbc38d764 Add more notice/messages 2020-02-29 02:04:31 -08:00
topjohnwu 200bf993d8 Show unsupported message when running low versions 2020-02-28 21:09:52 -08:00
topjohnwu 38af82e152 Update AS 2020-02-28 17:49:19 -08:00
topjohnwu fc05f377fb Update env fix handling logic 2020-02-28 17:44:03 -08:00
topjohnwu 5c0e86383c Add test button toggle in code 2020-02-28 11:53:25 -08:00
topjohnwu 64f5ff5475 Use global A/B detection 2020-02-28 10:30:53 -08:00
topjohnwu 758777111a Improve application startup 2020-02-27 12:54:42 -08:00
topjohnwu b90e0430f8 Don't do layered cards 2020-02-27 01:43:00 -08:00
topjohnwu 0ce7da1bf6 Upgrade AGP 2020-02-25 15:14:24 -08:00
Viktor De Pasquale e6464c5c7f Fixed module filter list not respecting single column layout 2020-02-25 15:03:31 -08:00
topjohnwu c6b3f06b95 Cleanup stuffs 2020-02-22 01:28:33 -08:00
topjohnwu 581419b6a3 Update dependencies 2020-02-21 23:40:20 -08:00
topjohnwu 696ab677be New pre-init magic mount implementation 2020-02-21 00:49:58 -08:00
topjohnwu 0d229dac3b Support Android 11 SELinux paths
This is NOT proper Android 11 support
2020-02-21 00:49:33 -08:00
topjohnwu 3b8ea599f0 Fix switch_root implementation 2020-02-20 21:08:59 -08:00
topjohnwu 3e70a61e33 Fix strings 2020-02-18 16:14:11 -08:00