mirror of
https://gitlab.com/Nanolx/NanoDroid
synced 2024-11-02 03:40:13 +00:00
possibly fix A/B device detection
This commit is contained in:
parent
97024b8ea4
commit
2a49ff28a6
@ -203,13 +203,14 @@ mount_partitions () {
|
||||
mount -t ext4 -o rw $SYSTEMBLOCK /system
|
||||
fi
|
||||
|
||||
[ ! -f /system/build.prop ] && error "failed to mount /system (unsupported A/B device?)"
|
||||
|
||||
if [ -f /system/init ]; then
|
||||
mkdir /system_root 2>/dev/null
|
||||
mount --move /system /system_root
|
||||
mount -o bind /system_root/system /system
|
||||
fi
|
||||
|
||||
[ ! -f /system/build.prop ] && error "failed to mount /system (unsupported A/B device?)"
|
||||
|
||||
}
|
||||
|
||||
detect_mode () {
|
||||
|
Loading…
Reference in New Issue
Block a user