Flash NEOS - nasser2019/CommaAi GitHub Wiki

How to install NEOS OS

Pre-requisites

You will need ADB and fastboot to unlock your bootloader and flash the OS.

If your Oneplus 3T is running Oxygen OS 9.0.x, you will have to rollback to OOS 5.0.x or earlier to avoid issues. You can do this by:

  • Using MSM Tool on windows. You have will need proper device drivers (QDLoader) to recognize phone's Qualcomm download mode. I recommend this because you can't go wrong.
  • Flashing package with older firmware via TWRP. Fill this in.

You will need eon-neos repo and python 3, this should do the majority of your work!

Device-specific

Oneplus 3T

MSM Tool Method (This will relock bootloader):

  1. Hold your power button for 40 seconds.
  2. Once it is off, hold volume up for 10 seconds and plug phone in. - You should see it recognize it as 'QDLoader' or 'Qualcomm 9008' and not 'Unknown devices' plus 'QHUSB_BULK'. Otherwise, you installed drivers wrong or havent.
  3. Launch MSMTool executable in extracted folder and press start.
  4. Once it finishes (goes green), it should restart. Otherwise, disconnect and boot into system.

TWRP Method:

  1. Fill me in.

Unlocking phone

Unlocking allows you to flash custom firmware. Necessary for NEOS. You can lock bootloader after installing NEOS to save your precious bootloader warning seconds.

Oneplus 3T

  1. Enter settings app.
  2. Press 'About phone'.
  3. Tap 'Build Number' like a mad lad till you see results.
  4. Go back, click 'Developer Options'.
  5. Enable 'OEM unlocking' and 'Advanced Reboots'.
  6. Hold power button. Press restart then bootloader.
  7. Plug your phone in and use fastboot. - On windows, go to folder you extracted and open CMD. use 'fastboot.exe' - On linux, fastboot is avaliable in terminal.
  8. Check if phone is properly connected by typing 'fastboot devices'. It should appear and show connection as 'fastboot'.
  9. (Warning: will clear data.) Type 'fastboot oem unlock' and say yes to prompts. Your phone will clear data and reboot.

Le Eco LePro 3

  • Fill me in.

Installation

You will use eon-neos repo to download and install NEOS OS. DO NOT DISCONNECT THE DEVICE!

Windows:

  1. Open powershell and run python download.py.
  2. Put your Eon into fastboot mode by turning off your Eon, then holding volume down + power (comma two, eon gold), or volume up + power (eon).
  3. Run flash.ps1 (right click, run with powershell).

Linux/OS X:

  1. Open a terminal.
  2. Run ./download.py
  3. Put your Eon into fastboot mode by turning off your Eon, then holding volume down + power (comma two, eon gold), or volume up + power (eon).
  4. Run ./flash.py

Success! With NEOS OS installed, you are ready to install OpenPilot.

Other / Old guides

Flashing Steps and Troubleshooting

Flashing Notes from @Erich

Images that'll work with 0.6... system.simg https://drive.google.com/file/d/1ySz1zLiy9bP6c8lDRgCo7k2kcCReGF__/view?usp=drivesdk boot.img https://drive.google.com/file/d/1c1ovbvBP8TqOEiNbh-KAPyI5hxlW1_a1/view?usp=drivesdk recovery.img https://drive.google.com/open?id=1mbXjhU2qlfz0jCNdDxHFnFj1YM5CeAQn logo.bin https://drive.google.com/file/d/1UEFVnuMp3wlfN9P9pdys33-sNlVfDkLj/view?usp=sharing

Flashing Notes from @Ari

Just for everyone stuck, I took my working eon and flashed the latest Android 9 then flashed neos and got mac 02:00:00 Then I flashed this unbrick image https://androidfilehost.com/?fid=11410963190603910547 Booted into android 8, enabled oem unlock and unlocked the bootloader again. After it finished booting into android, > I went back to the bootloader and flashed the system and boot images extracted from this OTA zip https://commadist.azureedge.net/neosupdate/ota-signed-> c992abb59cbaf6588f51055db52db619061107851773fc8480acb8bb5d77a28f.zip Then I ran fastboot format userdata (because neos doesn't support encrypted data partition from Oxygen OS) and then I rebooted into neos and wifi was working again

⚠️ **GitHub.com Fallback** ⚠️