Eray Rafet
0598f5f89a
Update Bulgarian translation
...
Grammar, spelling and punctuation fixes
2018-11-28 01:40:41 -05:00
topjohnwu
f723427b8b
Add built-in procfs protection on SDK 24+
...
More information in the Medium Post:
https://medium.com/@topjohnwu/from-anime-game-to-android-system-security-vulnerability-9b955a182f20
2018-11-28 01:27:32 -05:00
topjohnwu
f69a004c1c
Use raw execve
...
Some devices have broken libc...
2018-11-28 00:07:57 -05:00
topjohnwu
1134b18a8b
Rename application label to "Magic" to prevent detection
2018-11-27 03:56:14 -05:00
topjohnwu
2e4aa507f7
Use magisk to clone file attributes
2018-11-27 03:56:14 -05:00
topjohnwu
5fb96cdcf4
Auto launch new app after repackaging/restoring Manager
2018-11-27 03:56:14 -05:00
topjohnwu
e8cba3524e
Kill target processes properly
2018-11-27 03:56:14 -05:00
younis12c
7e6b5363f1
Update strings.xml
...
complete translation added
2018-11-26 20:13:31 -05:00
topjohnwu
29457a1d28
Small adjustments
2018-11-26 03:26:45 -05:00
topjohnwu
731455f164
Update exec functions signatures
2018-11-26 03:06:48 -05:00
topjohnwu
b01a8cace6
Always try native accept4
2018-11-26 02:57:34 -05:00
vvb2060
72db5b4fac
Update zh-rCN translation
2018-11-25 17:04:45 -05:00
topjohnwu
ddfd42994e
Module id and name can no longer be null
...
Close #797
2018-11-25 17:04:23 -05:00
topjohnwu
2a9ff9c5ef
Update dependencies
2018-11-25 03:33:41 -05:00
Ilya Kushnir
6d49f05356
Minor fixes to RU strings
2018-11-24 15:53:42 -05:00
Albert I
85a5e62e36
Update Indonesian translations
...
Signed-off-by: Albert I <krascgq@outlook.co.id>
2018-11-24 15:53:35 -05:00
topjohnwu
e67965a381
Silent some errors
2018-11-24 15:53:15 -05:00
topjohnwu
ec4723096f
Prevent file descriptor from unclosed
2018-11-23 21:15:44 -05:00
topjohnwu
762b678d24
Prevent any SELinux issues of root shell streams
2018-11-23 21:08:06 -05:00
topjohnwu
38fcc57bbf
Use component name as targets
...
Services can name their process name arbitrarily, for instance the service in
com.google.android.gms that is responsible for SafetyNet is named
com.google.android.gms.unstable. There are many apps out in the wild use
dedicated services with special names to detect root, and previously the user
is expected to add all of them to the hide list.
In this commit, we change from targeting process names to component names.
On Android, component names are composed of <pkg>/<cls>. When targeting
component names, we can always know what application spawned the new process.
This means that if the user adds a package name to the hidelist, MagiskHide can
now target ALL possible processes of that specific application.
To abide with this change, the default SafetyNet target is now changed from
com.google.android.gms.unstable (process name) to
com.google.android.gms/.droidguard.DroidGuardService (component name)
2018-11-23 15:47:49 -05:00
topjohnwu
c8c57c74cc
Optimize proc_monitor
2018-11-23 14:32:33 -05:00
topjohnwu
0784448c69
Remove /.backup folder on start
2018-11-20 05:24:40 -05:00
topjohnwu
de0064af47
Fix SIGWINCH never followed
...
Close #786
2018-11-20 04:40:42 -05:00
topjohnwu
baae1fc84f
Modernize selinux stub
2018-11-20 03:49:44 -05:00
topjohnwu
2ab999f4ca
Fix bug in DB query wrapper
2018-11-20 02:20:49 -05:00
topjohnwu
c9f390d6e0
Abort upon any error occurred
2018-11-20 02:20:49 -05:00
Igor Sorocean
af05922ecc
Update romanian strings
2018-11-20 02:19:52 -05:00
Nguyễn Trung Hậu
299edbf3ab
Updated Vietnamese translations
2018-11-20 02:19:42 -05:00
Rom
c8abed9d48
French translation update
2018-11-20 02:19:30 -05:00
topjohnwu
3622c49ce1
Update busybox
2018-11-18 15:58:41 -05:00
topjohnwu
0462e9a7d9
Update external dependencies
2018-11-18 03:34:59 -05:00
topjohnwu
c3a6091908
Update to 1.29.3
2018-11-18 02:45:21 -05:00
topjohnwu
ab5fedda0b
Prevent Magisk database race condition
...
The database should only be accessed by a single process, which is magiskd.
This means 'magisk --sqlite [SQL]' has to be updated to pass the SQL command to the daemon.
In addition, open the database connection with SQLITE_OPEN_FULLMUTEX to support multithread in magiskd.
2018-11-16 03:20:30 -05:00
topjohnwu
ba70269398
Directly print output over socket
2018-11-16 01:49:15 -05:00
topjohnwu
77fd5fa7de
Do not follow symlink when checking legacy paths
2018-11-16 01:16:25 -05:00
topjohnwu
ab74290fe3
Move magiskhide config into database
2018-11-16 01:15:34 -05:00
topjohnwu
3aad9d8166
Add CLI to detect MagiskHide status
2018-11-16 00:37:41 -05:00
topjohnwu
572e078d87
Fully deprecate <mount_point>/.core folder
...
Symlinks are preserved for backwards compatibility
2018-11-15 22:55:28 -05:00
topjohnwu
ee4548230b
Disable native systemless hosts, add built-in systemless hosts module
2018-11-15 13:57:41 -05:00
topjohnwu
96b93bd876
Add function to find manager APK
...
Close #673
2018-11-15 03:12:31 -05:00
marciozomb13
927f69fe30
Brazilian Portuguese Update
2018-11-15 03:03:21 -05:00
Ian Macdonald
7e9ad5927a
Fix grammatical errors, unnatural-sounding English and bad punctuation
2018-11-15 03:03:06 -05:00
Ian Macdonald
6d6b07865e
Add 15 and 45 second Request Timeout options.
2018-11-15 03:02:45 -05:00
topjohnwu
376e7977f0
Deprecate path /sbin/.core, switch to /sbin/.magisk
...
Symlink is preserved for backwards compatibility
2018-11-15 01:36:03 -05:00
topjohnwu
83ae66daea
Change stock boot image SHA1 backup method
2018-11-15 00:33:20 -05:00
topjohnwu
89e0be0099
Fix a bug causing magiskhide CLI freezing
2018-11-13 02:22:55 -05:00
topjohnwu
ef40c1212e
Prevent infinite loop if process is killed
...
Close #761
2018-11-13 02:11:02 -05:00
topjohnwu
3a2a2a4ffa
Micro optimizations
2018-11-13 02:07:02 -05:00
topjohnwu
9592a69986
Prevent unmounting non-custom mount points
2018-11-13 01:53:48 -05:00
topjohnwu
89be07e1f2
Update to libsu 2.0.3
2018-11-13 00:21:42 -05:00