-
A rooted LG G8s with LineageOS 20 or an SD card
-
WinInstaller (LOS20) or WinInstaller (SD card) (If you are using an SD card)
Warning
All your data will be erased! Back up now if needed.
DO NOT REBOOT YOUR PHONE if you think you made a mistake, ask for help in the Telegram chat.
Important
This guide assumes you have already unlocked your bootloader and are already rooted, if this is not the case, you'll still need a PC to do that.
- Download Magisk.apk on your phone and rename it to Magisk.zip. This is necessary because flashing TWRP will remove your root.
- If you are not using LineageOS 20, copy it to your SD card. TWRP cannot decrypt the internal storage of other ROMs.
- In Magisk, select the modded-twrp-g8s-installer.zip and flash it.
- Return to the main menu, press the rotating arrow icon in the top right, and press
Reboot Recovery
.
- Once booted into TWRP, select Install and locate Magisk.zip and flash it.
- Reboot to Android, open the Magisk app, and follow the steps on the screen to complete the root process.
- Return to the Magisk main menu, press the rotating arrow icon in the top right, and press
Reboot Recovery
.
- Once booted into TWRP press the Advanced button on the bottom right of the screen, then press Terminal.
- Run all future commands in this terminal
Ignore any possible errors and continue
umount /dev/block/by-name/userdata
Note
If at any time parted asks you if you want to continue, or if you want to cancel something, type yes or ignore.
parted /dev/block/sda
Parted will print the list of partitions, userdata should be the last partition in the list.
print
Replace $ with the number of the userdata partition, which should be 30
If you have a grow partition, remove it as well
rm $
Replace 17.7GB with the former start value of userdata which we just deleted
Replace 64GB with the end value you want userdata to have. In this example your available usable space in Android will be 64GB-17.7GB = 47GB
mkpart userdata ext4 17.7GB 64GB
Replace 64GB with the end value of userdata
Replace 64.35GB with the value you used before, adding 0.35GB to it
mkpart esp fat32 64GB 64.35GB
Replace 64.35GB with the end value of esp
mkpart win ntfs 64.35GB 126GB
Use
set $ esp on
quit
- Format all data in TWRP, or Android will not boot.
- ( Go to Wipe > Format data > type
yes
). - Press the reboot button to reboot into Android.
Note
If Android does not start after +- 10 minutes, reboot back into stock recovery and perform a factory reset there.
- Download the Windows image and make sure it remains in the
Download
folder of your internal storage (if you are using LineageOS 20), else, put it in theDownload
folder in your SD card. - Download WinInstaller.zip and keep it in the
Download
folder as well. - Download and install the WOA Helper app, then open it and grant it root access. Do not do anything else inside the app yet.
- Press the
Reboot to Recovery
button in the top right of Magisk again. - Once booted into TWRP, enter your password if it asks you to.
- In TWRP, select Install and then locate WinInstaller.zip and flash it.
- Once you're given the option to reboot, do so.
Note
Wait untill all processes complete and your device boots into Windows. This will take around 15-20 minutes.
Tip
If you wish to skip the Microsoft Account login, press the I don't have internet button in the WiFi page, then when prompted, press the Continue with limited setup button.
- Run the Android shortcut on your desktop (you can also pin it to your start menu / taskbar for ease of access).
If it says "UEFI NOT FOUND", copy the UEFI image from your SD card into the UEFI folder of your internal storage
- Press QUICKBOOT TO WINDOWS inside the WOA Helper app, or use the newly created toggle in your quick settings panel.