Installing on Samsung S7 (SM-G930F) with /e/OS?
(I've done a bit of installed custom ROMs on all my phones, but I've steered clear of Samsungs up until now so I'm a bit nervous of their 'Download' stuff.)
Preliminaries:
/e/OS:
e-1.3-q-20220905216076-stable-herolte.zip
(based on lineageos 18.1)
I've followed
these install instructions because it says
here that '
Github is the only source where you can get official Magisk information and downloads.'
But, the
install instructions here seem pretty complete and 'official'.
(
Method 2 Install seems the same as
Github install instructions, but
Method 1 Install isn't reported on Github. What's official?)
So, first up I am using a Samsung device with Andriod 9.0 or latter, but as I'm using it with /e/OS, I ignored the warning that said: 'If you are using a Samsung device that is launched with Android 9.0 or higher, you can now jump to
its own section.' I hope that was correct - but if not, someone please shout!
Steps so far:
- Magisk App reports 'Ramdisk: Yes' so, I need a copy of
boot.img
. Done, extracted from here.
- Device does not have separate
vbmeta
Code:
$ adb shell ls -l /dev/block/by-name|grep vbmeta
$
- At Patching Images I did not have either “Recovery Mode” or “Patch vbmeta in boot image” options so I hope these settings were detected automagically, please shout otherwise
- 'Choose “Select and Patch a File” in method, and select the boot/recovery image' was the only option
- This is where things got difficult, I couldn't
adb pull /sdcard/Download/magisk_patched_[random_strings].img
because the output file was written to /storage/emulated/0/Download/magisk_patched-25200_UjUVt.img
and /storage/emulated/0/
is only accessible to root via adb
and I don't yet have root access... :-/
- So, I copied via MTD mount device - like it says not to here... :-/ (Any workarounds?)
- Now, I've got my magisk_patched patched image on my PC, what? I'm using a Samsung device with doesn't seem to have normal
fastboot
but instead has 'Download.' If I boot to fastboot
from recovery
(it's an /e/OS recovery) it just boots straight to the system; if I boot to fastboot
from adb
, it just boots straight to the system... I can reboot to Download from Android via the extended reboot menu - but, then when I'm in Download what do I do? fastboot flash boot /path/to/magisk_patched.img
isn't going to work...
- The /e/OS recovery does offer the option to apply an update from internal storage - should follow the Method 1 Install install from here?
- The /e/OS recovery does offer the option to apply an update from ADB Sideload - but... which partition:
Code:
heroltexx:/ # ls -l /dev/block/by-name
total 0
lrwxrwxrwx 1 root root 15 2022-09-24 16:39 BOOT -> /dev/block/sda5
lrwxrwxrwx 1 root root 15 2022-09-24 16:39 BOTA0 -> /dev/block/sda1
lrwxrwxrwx 1 root root 15 2022-09-24 16:39 BOTA1 -> /dev/block/sda2
lrwxrwxrwx 1 root root 16 2022-09-24 16:39 CACHE -> /dev/block/sda15
lrwxrwxrwx 1 root root 15 2022-09-24 16:39 CPEFS -> /dev/block/sdd1
lrwxrwxrwx 1 root root 16 2022-09-24 16:39 CP_DEBUG -> /dev/block/sda17
lrwxrwxrwx 1 root root 16 2022-09-24 16:39 DNT -> /dev/block/sda10
lrwxrwxrwx 1 root root 15 2022-09-24 16:39 EFS -> /dev/block/sda3
lrwxrwxrwx 1 root root 16 2022-09-24 16:39 HIDDEN -> /dev/block/sda16
lrwxrwxrwx 1 root root 15 2022-09-24 16:39 OTA -> /dev/block/sda7
lrwxrwxrwx 1 root root 15 2022-09-24 16:39 PARAM -> /dev/block/sda4
lrwxrwxrwx 1 root root 16 2022-09-24 16:39 PERSDATA -> /dev/block/sda13
lrwxrwxrwx 1 root root 16 2022-09-24 16:39 PERSISTENT -> /dev/block/sda11
lrwxrwxrwx 1 root root 15 2022-09-24 16:39 RADIO -> /dev/block/sda8
lrwxrwxrwx 1 root root 15 2022-09-24 16:39 RECOVERY -> /dev/block/sda6
lrwxrwxrwx 1 root root 16 2022-09-24 16:39 STEADY -> /dev/block/sda12
lrwxrwxrwx 1 root root 16 2022-09-24 16:39 SYSTEM -> /dev/block/sda14
lrwxrwxrwx 1 root root 15 2022-09-24 16:39 TOMBSTONES -> /dev/block/sda9
lrwxrwxrwx 1 root root 16 2022-09-24 16:39 USERDATA -> /dev/block/sda18
lrwxrwxrwx 1 root root 14 2022-09-24 16:39 sda -> /dev/block/sda
lrwxrwxrwx 1 root root 14 2022-09-24 16:39 sdb -> /dev/block/sdb
lrwxrwxrwx 1 root root 14 2022-09-24 16:39 sdc -> /dev/block/sdc
lrwxrwxrwx 1 root root 14 2022-09-24 16:39 sdd -> /dev/block/sdd
heroltexx:/ #
/dev/block/sda5
?
Attached screenshot of what the Magisk App looks like:
View attachment 5719443
Any ideas about how to install Magisk?