mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-08-14 08:37:25 +00:00
Compare commits
4 Commits
manager-v5
...
v16.7
Author | SHA1 | Date | |
---|---|---|---|
![]() |
153c7fdf20 | ||
![]() |
90379eeb35 | ||
![]() |
3ae959af95 | ||
![]() |
c8cc652b71 |
@@ -27,8 +27,8 @@ android {
|
||||
|
||||
productFlavors {
|
||||
full {
|
||||
versionCode 128
|
||||
versionName "5.8.2"
|
||||
versionCode 129
|
||||
versionName "5.8.3"
|
||||
}
|
||||
stub {
|
||||
versionCode 1
|
||||
|
@@ -1,3 +1,6 @@
|
||||
### v5.8.3
|
||||
- Update internal scripts for detecting ramdisk partition on Huawei devices
|
||||
|
||||
### v5.8.2
|
||||
- Prevent invalid modules in the online repo crashing the app
|
||||
- Update Stable and Beta channel URLs
|
||||
|
1
build.py
1
build.py
@@ -214,6 +214,7 @@ def build_apk(args):
|
||||
header('Output: ' + release)
|
||||
rm(unsigned)
|
||||
# Dump the stub APK to header
|
||||
mkdir(os.path.join('native', 'out'))
|
||||
with open(os.path.join('native', 'out', 'binaries_xz.h'), 'w') as out:
|
||||
with open(release, 'rb') as src:
|
||||
xz_dump(src, out, 'manager_xz')
|
||||
|
@@ -157,6 +157,12 @@ static int strend(const char *s1, const char *s2) {
|
||||
|
||||
static int read_fstab_dt(const struct cmdline *cmd, const char *mnt_point, char *partname) {
|
||||
char buf[128];
|
||||
struct stat st;
|
||||
sprintf(buf, "/%s", mnt_point);
|
||||
lstat(buf, &st);
|
||||
// Don't early mount if the mount point is symlink
|
||||
if (S_ISLNK(st.st_mode))
|
||||
return 1;
|
||||
sprintf(buf, "%s/fstab/%s/dev", cmd->dt_dir, mnt_point);
|
||||
if (access(buf, F_OK) == 0) {
|
||||
int fd = open(buf, O_RDONLY | O_CLOEXEC);
|
||||
|
@@ -177,7 +177,7 @@ find_boot_image() {
|
||||
if [ ! -z $SLOT ]; then
|
||||
BOOTIMAGE=`find_block boot$SLOT ramdisk$SLOT`
|
||||
else
|
||||
BOOTIMAGE=`find_block boot_a kern-a android_boot kernel boot lnx bootimg`
|
||||
BOOTIMAGE=`find_block boot ramdisk boot_a kern-a android_boot kernel lnx bootimg`
|
||||
fi
|
||||
if [ -z $BOOTIMAGE ]; then
|
||||
# Lets see what fstabs tells me
|
||||
|
Reference in New Issue
Block a user