Status: Under development
Note For now, the support for these devices are not yet in the edk2-msm repo, but in MU-sm8150Pkg. The support would be added into edk2-msm after as soon as problems got fixed.
Some LG devices like LG G8X cannot enter fastboot mode by default. The LGE’s proprietary download mode replaces that.
However, it is possible to enable the fastboot mode by erasing
IMPORTANT: Please do a backup of them before erasing
There are several methods of erasing:
dd if=/dev/zero of=/dev/block/by-name/laf_a bs=4k dd if=/dev/zero of=/dev/block/by-name/laf_b bs=4k
(Dangerous operation! Please make sure you know what you are doing)
This section is mostly the same with the main installation guide, with one additional step.
Please read 1.2 Partition the UFS carefully first.
After executing the “Print the current partition table” step as below:
You may notice that right after the
userdata partiton, there’s also a tiny
......... Number Start End Size File system Name Flags ......... 30 19.0GB 126GB 107GB ext4 userdata 31 126GB 126GB 4096B grow (parted)
For now, the
parted tool has a known issue. The partition table will be corrupted after creating more than 32 numbers of partitions.
To solve that, we can delete the
grow partition here.
(parted) rm 31
Then follow the remaining steps in 1.2 Partition the UFS.
At the meantime, for LG G8X/V50S it doesn’t support the mainline linux-based linux-simple-mass-storage
But we can use the msc.sh mentioned earlier in TWRP/OrangeFox to achieve the similar functionality.
adb push msc.sh /cache/ adb shell sh /cache/msc.sh
The disk should show up in your PC now. (Which supports USB3.0 thanks @gus33000)
Only for G8S right now
Enter simpleinit and select Massstorage on the upper left corner, you will see some lines of text and maybe some penguins then youre in mass storage mode
TODO: Enable simplemasstorage on G8X
Please read 2.1 Installing using mass storage mode
and skip the part of booting UEFI image.
The driver pack above contains a tool called DriverUpdater.exe(by @gus33000)
After extracting the driver pack, open a prompt window and change directory to the extracted folder.
.\DriverUpdater.exe -d .\definitions\Desktop\ARM64\Internal\your_device_code.txt -r . -p E:\
(replace the definition file to the one corresponding to your device, and replace the E:\ to the installation path of your windows arm system)
Please read 2.1.4 Fix partition names