Skip to content

Latest commit

 

History

History
115 lines (75 loc) · 2.58 KB

uninstall.md

File metadata and controls

115 lines (75 loc) · 2.58 KB

Windows 11 running on betalm

Running Windows on the LG G8s

Uninstalling Windows

Prerequisites

Notes

Warning

Do not run all commands at once, execute them in order!

YOU CAN BREAK YOUR DEVICE WITH THE COMMANDS BELOW IF YOU DO THEM WRONG!!!

DO NOT REBOOT YOUR PHONE! If you think you made a mistake, ask for help in the Telegram chat.

Reboot into fastboot mode

If you don't have access to fastboot, use the instructions in the partitioning guide to flash the engineering ABL.

  • With the device turned off, hold the volume down button, then plug the cable in.

Opening CMD as an admin

Download platform-tools and extract the folder somewhere, then open CMD as an administrator.

It is recommended to keep this window open and use it throughout the entire guide.

Replace path\to\platform-tools with the actual path to the platform-tools folder, for example C:\platform-tools.

cd path\to\platform-tools

Boot into the modded TWRP

Replace path\to\modded-twrp-g8s.img with the actual path of the provided TWRP image

After booting into TWRP, leave the device on the main screen. You can press the power button to turn the display off, if you want

fastboot boot path\to\modded-twrp-g8s.img

Unmount data

Ignore any possible errors and continue

Replug the cable if it says "no devices/emulators found"

adb shell umount /dev/block/by-name/userdata

Preparing parted

adb shell parted /dev/block/sda

Delete Windows Partition

Use print all to make sure that partition 32 is Windows

rm 32

Delete ESP Partition

Use print all to make sure that partition 31 is ESP

rm 31

Resize userdata Partition

Use print all to make sure that partition 30 is userdata

These are two different commands, run them seperately

resizepart 30
126GB

Exit Parted

quit

Format all data

  • Go to the Wipe menu in your recovery and wipe all data. If this doesn't work, simply reboot your phone.

Reboot your phone

Once it is booted, it might tell you decryption was unsuccesful and it will ask you to erase all data.

  • Press this button to erase all data.

Finished!