Setup Computer For Rooting - Step By Step Tutorial


Tutorial on how to install driver on windows 11/ 10, especially disable secure boot for install mediatek driver. Usually use to unbrick or bypass unlock bootloder for using tools such as Unlock Tool, AMT, TFT, DFT Pro, etc

Use case : Mediatek driver is unsigned, so we have tu disable secure boot etc, You can download driver here

Check Secure Boot Status 


  • open powershell using admin acces, type
  • Confirm-SecureBootUEFI
  • True = Secure Boot is enabled. 
  • False = Secure Boot is disabled
If FALSE we dont need to configure secure boot again

Windows Shortcut Key




Use case : There is no advanced system setting menu on the setting menu
 
  • Setup System Properties 
    sysdm.cpl
  • Windows Security (Defender main app)
    windowsdefender:
  •  

Restore Powershell

Reinstall powershell, run from cmd.exe with admin acces
DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow

Check Windows Encrypt



  • run powershell as admin
  • manage-bde -status
  • Protection OFF = safe to turn off secure boot in BIOS
  • Protection ON = cannot turn off secure boot in BIOS, must format windows

Disable Secure Boot On BIOS

Enter BIOS
  • Asus : F2
  • HP = esc repeatedly + F10
  • Thinkpad : F1 repeatedly




  • Turn off windows complete
  • Press shift > select menu power off
  • turn on computer and boot into BIOS
  • Seach secure boot and 

Example on Asus Vivobook

  • Advance setting


  • Security tab > Secure boot



  • Secure boot contol > disable


  • Save and Exit (F10) > yes > confirm

Disable Secure Boot On Windows

  • start > run > type cmd 
  • Right click > Run as administrator
  • bcdedit /set testsigning on
  • restart computer
From here you can install unsigned mediatek driver

For Windows 7




You some update first to use adb & fastboot, and old samsung diver
  • SAMSUNG_USB_Driver_1.5.51.0_win7
  • Windows 7 Universal C Runtime Update KB2999226 64bit | 32bit
  • VC++ 2015–2022 Redistributable 64bit | 32bit
Or you can download from github or sourceforge

usb2ser.sys A driver cannot load on this devices"




On some case in will show error message "usb2ser.sys A driver cannot load on this devices" it is because use old mediatek driver. 
The solution is to disable memory integity (search on start > run > core isolation  > disable > restart)



Fix CRB


Error message An error occurred while importing the distro (I'm on Windows 11 LSTC)
Step to fix
  • Open powerShell as admin
  • wsl --import crb "F:\crb_340\wsl\crb" "F:\crb_340\wsl\crb-wsl.tar.gz" --version 2

Fix Death Phone When Enter Fastboot

use case : when you boot into bootloader you phone become death sleep. When when you turn in one, it become normal (in my case  Poco F10. Create a file name it cukimai.bat, paste this text, save and run it

@echo off
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "osvc" /t REG_BINARY /d "0000" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "SkipContainerIdQuery" /t REG_BINARY /d "01000000" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "SkipBOSDescriptorQuery" /t REG_BINARY /d "01000000" /f

pause


Post a Comment for "Setup Computer For Rooting - Step By Step Tutorial"