Skip to content

Commit

Permalink
Added Natrium mountpoints (Xiaomi Mi5s Plus)
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueKenny authored and bhush9 committed Jan 5, 2018
1 parent 9a12c31 commit 00b5d85
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions fixup-mountpoints
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ shift
echo "Fixing mount-points for device $DEVICE"

case "$DEVICE" in
"suzu")
"suzu")
sed -i \
-e 's block/bootdevice/by-name/DDR mmcblk0p16 ' \
-e 's block/bootdevice/by-name/FOTAKernel mmcblk0p42 ' \
Expand Down Expand Up @@ -1034,6 +1034,21 @@ case "$DEVICE" in
-e 's block/bootdevice/by-name/misc mmcblk0p9 ' \
"$@"
;;
"natrium")
sed -i \
-e 's /dev/block/bootdevice/by-name/boot sde36 ' \
-e 's /dev/block/bootdevice/by-name/recovery sda13 ' \
-e 's /dev/block/bootdevice/by-name/cache sda14 ' \
-e 's /dev/block/bootdevice/by-name/system sde39 ' \
-e 's /dev/block/bootdevice/by-name/userdata sda15 ' \
-e 's /dev/block/bootdevice/by-name/persist sda12 ' \
-e 's /dev/block/bootdevice/by-name/dsp sde32 ' \
-e 's /dev/block/bootdevice/by-name/modem sde35 ' \
-e 's /dev/block/bootdevice/by-name/bluetooth sde26 ' \
-e 's /dev/block/bootdevice/by-name/frp sda7 ' \
-e 's /dev/block/bootdevice/by-name/misc sda9 ' \
"$@"
;;
*)
cat <<EOF
Expand All @@ -1048,4 +1063,3 @@ EOF
exit 1
;;
esac

0 comments on commit 00b5d85

Please sign in to comment.