Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ Join [Project Valhalla Discord](https://discord.gg/KBhuVAd2NR)

## ⚠️ Warning ⚠️

## Make sure you are was updating the unit to the latest OTA version before continue the installation.
## Make sure you are updating the unit to the latest OTA version before continue the installation.

- Latest version for **Model: Odin** is: `Odin_V1.0.2.147_20221116_180053_user`
- Latest version for **Model: Odin_M2** is: `Odin_M2_V1.0.2.151_20221116_184125_user`

Here's how you can find what Hardware revision you have:
[Hardware Revision](https://github.com/ProjectValhalla/OdinMultiBootGuides/blob/main/pages/hardware_revision.md)
[Hardware Revision](https://github.com/ahaddad91/OdinMultiBootGuides/blob/main/pages/hardware_revision.md)

[Odin Windows Dual-Boot Guide](https://github.com/ProjectValhalla/OdinMultiBootGuides/blob/main/pages/odin_dualboot_windows_guide.md)
[Odin Windows Dual-Boot Guide](https://github.com/ahaddad91/OdinMultiBootGuides/blob/main/pages/odin_dualboot_windows_guide.md)

[Odin Linux Dual-Boot Guide](https://github.com/ProjectValhalla/OdinMultiBootGuides/blob/main/pages/odin_dualboot_linux_guide.md)
[Odin Linux Dual-Boot Guide](https://github.com/ahaddad91/OdinMultiBootGuides/blob/main/pages/odin_dualboot_linux_guide.md)
33 changes: 33 additions & 0 deletions pages/GPU driver update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
🔙 [Windows Dual Boot Instructions](https://github.com/ahaddad91/OdinMultiBootGuides/blob/main/pages/odin_dualboot_windows_guide.md)

Update GPU Driver from POCO F1
This allows to run some games that were not running with out of the box valhalla drivers (ie Need For Speed Most Wanted 2005)
1 - Go to https://github.com/edk2-porting/WOA-Drivers/releases/tag/2210.1-fix

2 - Download the beryllium.zip file

3 - Extract the GPU folder to your desktop

4 - Go to device manager, video adapters, right click Adreno 630, update drivers

5 - Choose to select driver from your computer, in the next screen select the option to search for drivers in a folder, select "from disk"

6 - Select the qcdx850.inf file from your Desktop\GPU folder

7 - It will display a message saying that the driver is not signed, install anyway

8 - Your GPU will display as Adreno 680 in device manager, it works fine, just ignore

App Screenshot

Video of NFS MW (doesn't work out of the box in Valhalla installation) , DMC4 and NFS Hot Pursuit running with the updated driver:

https://www.youtube.com/watch?v=LeEsKOwLIXk

To get DMC4 to work you have to go to C:\Users\YOURUSERNAME\AppData\Local\CAPCOM\DEVILMAYCRY4SPECIALEDITION open config.ini with text editor and replace everything with https://pastebin.com/emS7h5Ew
You should now be able to enter graphics settings ingame, set everything to low.

To get NFS Hot Pursuit to work, go to My Documents\Criterion Games\Need for Speed(TM) Hot Pursuit open config.NFS11Save with text editor and replace everything with https://pastebin.com/37VNQZMU and:
Launch game. Decreasing resolution in this game has little to no impact on FPS, so I run it in 1080p.

Open task manager with the game open, go to NFS11.exe process, right click, set affinity and uncheck core 0 and core 1, go back to game and enjoy.
31 changes: 31 additions & 0 deletions pages/Tuning.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
🔙 [Windows Dual Boot Instructions](https://github.com/ahaddad91/OdinMultiBootGuides/blob/main/pages/odin_dualboot_windows_guide.md)

[Mandatory Tweaks](https://docs.google.com/spreadsheets/d/1FWoHbTymzHX0w9wPf5sNIoR_hEGEV3YHg1achKPnl-0/edit?pli=1&gid=1402553146#gid=1402553146)

Download everything in the essentials sheet in the link above. I am working to condense the process here.

Other tweaks

You can use winutil to debloat windows after installation, but I recommend using only the "tweaks" tab, don't use it to install softwares or to mess with windows update: https://github.com/ChrisTitusTech/winutil

Do not install Borderless Gaming as it seems to corrupt Windows installation.

Do not try to remove Test Mode watermark using "Bcdedit.exe -set TESTSIGNING OFF" it will cause boot error

Do not try to remove Test Mode watermark with 3rd party tools, some are flagged with virus, others cause boot error / system corruption

Activate .NET 2.0 and 3.5 from control panel: https://www.howtogeek.com/880208/how-to-enable-net-framework-2-0-and-3-5-in-windows-11/

Install Visual C++ Redistributable:(ARM64, X86 and X64): https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170

Install OpenCL™ and OpenGL® Compatibility Pack

Install DirectX Runtime: https://www.microsoft.com/en-us/download/details.aspx?id=35

You can use dControl to disable Windows Defender to squeeze a little bit more of performance:

https://www.sordum.org/9480/defender-control-v2-1/

DO AT YOUR OWN RISK!!!! You have to disable Windows Defender real time protection before downloading dControl

And you are good to go.
8 changes: 8 additions & 0 deletions pages/Windowed mode fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
🔙 [Windows Dual Boot Instructions](https://github.com/ahaddad91/OdinMultiBootGuides/blob/main/pages/odin_dualboot_windows_guide.md)

Fix games running only in windowed mode:
Use Fullscreenizer: https://github.com/KasumiL5x/Fullscreenizer

In Windows go to Settings > Display Settings > Graphics Settings > Change default graphics settings.

Enable optimization for windowed games. This will allow the fake fullscreen of Fullscreenizer to run with real fullscreen performance.
4 changes: 2 additions & 2 deletions pages/installing_windows.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
🔙 Previous Step: [Partitioning the device](https://github.com/ProjectValhalla/OdinMultiBootGuides/blob/main/pages/preparing_windows_files.md)
🔙 Previous Step: [Partitioning the device](https://github.com/ahaddad91/OdinMultiBootGuides/blob/main/pages/preparing_windows_files.md)

# Installing Windows

Expand Down Expand Up @@ -31,4 +31,4 @@ Plug your device into your PC
- If you have **Model: Odin** Run the `restore_odin_m0.bat` for Windows Host or `restore_odin_m0.sh` for Linux Host in the `odin_custom_boot_1.0.3` folder.
- If you have **Model: Odin_M2** Run the `restore_odin_m2.bat` for Windows Host or `restore_odin_m2.sh` for Linux Host in the `odin_custom_boot_1.0.3` folder.

This will repartition your device. It will take several minutes to complete.
This will repartition your device. It will take several minutes to complete.
45 changes: 39 additions & 6 deletions pages/odin_dualboot_windows_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ It will also divide your available storage in half between the two operating sys

- A Windows or Linux based computer (vm will work)

- An **Odin-Base** (4GB RAM with 64GB Storage) or an **Odin-Pro** (8GB RAM with 128GB or 256GB Storage)

- An **Odin-Base** (4GB RAM with 64GB Storage) or an **Odin-Pro** (8GB RAM with 128GB or 256GB Storage) -> Odin 2 requires making a low level driver for Odin 2 to boot Windows in efi bootloader, and Windows driver for specific Odin 2 hardware.
- An 8GB or larger USB flash drive formatted to FAT32

- A USB-A to USB-C adapter to plug the flash drive into the C port of the Odin (if your drive doesn't have a USB-C connector)
Expand All @@ -33,11 +32,45 @@ It will also divide your available storage in half between the two operating sys

- Sensor Config Driver if you have **Model: Odin_M2** [qcSensorsConfig850-M2.zip](https://download.project-valhalla.com/custom_boot/qcSensorsConfig850-M2.zip)

- An install.wim from either folder in this [link](https://download.project-valhalla.com/windows_release/).
- Build 22621.1 is recommended as it has the least graphical issues at this time.
- An [install.wim](https://www.microsoft.com/en-us/software-download/windows11arm64) click the link and download Windows 11 Arm64 in your preferred language.

- Mount the downloaded Windows 11 Arm64 ISO (right click the downloaded ISO file and click mount)

- Create a folder named "sources" at C:\, (or whatever letter drive your OS is installed on) If you don't know how, then open file explorer and double click This PC, then double click on the drive with the OS on it (Windows icon). Now make the folder named "sources".

- Press the windows key and type cmd then press enter. With the mounted ISO execute the following command (change the ISO drive letter (F:) if necessary):

Dism /Split-Image /ImageFile:F:\sources\install.wim /SWMFile:C:\sources\install.swm /FileSize:4000

- You now have two .swm files in C:\sources
install.swm install2.swm

- Copy the install.swm and install2.swm from C:\sources to USB\images\ (or delete the install.wim if you already did this with Project Valhalla instructions, and then copy over the two .swm files)

- In your USB stick, go to installer folder, open the install.cmd file with a text editor. In line 57 change /Index:1 to /Index:2, this is because Windows 11 Pro is Index 2 in the retail ISOs. If you skip this step you will install Windows Enterprise and will be able to login only with a corporate account.

Line 57:

From: dism /Apply-Image /ImageFile:%WinPESource%images\install.swm /SwmFile:%WinPESource%images\install*.swm /Index:1 /ApplyDir:w: /ScratchDir:w:\temp

To: dism /Apply-Image /ImageFile:%WinPESource%images\install.swm /SwmFile:%WinPESource%images\install*.swm /Index:2 /ApplyDir:w: /ScratchDir:w:\temp
ATTENTION: There are 2 lines that contain /Index:1 very close to eachother, its the second one, number 57

- Eject your USB and proceed to the installation

## Installation Steps:

1. [Preparing Windows Odin and Files](https://github.com/ProjectValhalla/OdinMultiBootGuides/blob/main/pages/preparing_windows_files.md)
1. [Preparing Windows Odin and Files](https://github.com/ahaddad91/OdinMultiBootGuides/blob/main/pages/preparing_windows_files.md)

2. [Installing Windows](https://github.com/ahaddad91/OdinMultiBootGuides/blob/main/pages/installing_windows.md)

*In case of error during windows installation (after plugging USB stick step) you don't need to start from scratch from QFIL, or repartition android/windows, just follow the steps carefully to prepare the USB stick again, insert it into your Odin and reboot. Installation will proceed as normal.

## GPU driver update:
[GPU driver update](https://github.com/ahaddad91/OdinMultiBootGuides/blob/main/pages/GPU%20driver%20update.md)

## Windowed mode fix:
[Windowed mode fix](https://github.com/ahaddad91/OdinMultiBootGuides/blob/main/pages/Windowed%20mode%20fix.md)

2. [Installing Windows](https://github.com/ProjectValhalla/OdinMultiBootGuides/blob/main/pages/installing_windows.md)
## Mandatory Tuning:
[Tuning](https://github.com/ahaddad91/OdinMultiBootGuides/blob/main/pages/Tuning.md)
8 changes: 5 additions & 3 deletions pages/preparing_windows_files.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
🔙 [Windows Dual Boot Instructions](https://github.com/ahaddad91/OdinMultiBootGuides/blob/main/pages/odin_dualboot_windows_guide.md)

# Preparing the Odin and Files

## Preparing the software
Expand All @@ -6,7 +8,7 @@

2. Extract the contents of `odin_custom_boot_1.0.3.7z` into a folder.

3. Extract the contents of `odin_windows_installer.7z` into a separate folder and put the `install.wim` you selected in the `images` folder.
3. Extract the contents of `odin_windows_installer.7z` into a separate folder and put the `install.swm` and `install2.swm` you selected in the `images` folder.

## Odin Device Preparation

Expand All @@ -24,9 +26,9 @@ The Odin will reboot to fresh start Android when the configuration has completed

## USB Stick Preparation

1. While that is flashing is the perfect time to setup your USB drive. Copy the contents of the `odin_windows_installer` folder onto the root of your FAT32 formatted USB drive. Make sure the `install.wim` file is in the `images` folder.
1. While that is flashing is the perfect time to setup your USB drive. Copy the contents of the `odin_windows_installer` folder onto the root of your FAT32 formatted USB drive. Make sure the `install.swm` and `install2.swm` file is in the `images` folder.
2. If you have **Model: Odin_M2** then you need to replace Sensor Config driver, Extract `qcSensorsConfig850-M2.zip` and replace files inside `\installer\drivers\qcSensorsConfig850` with the new one. **This will solve upside down screen problem in Windows**.

## Step 2

[Installing Windows](https://github.com/ProjectValhalla/OdinMultiBootGuides/blob/main/pages/installing_windows.md)
[Installing Windows](https://github.com/ahaddad91/OdinMultiBootGuides/blob/main/pages/installing_windows.md)