# UPDATE - Installing Batocera v32+ on S905/S905x/S905w/S905d Android TV Boxes

## Things You Will Need

- A microSD card at least 4 GB https://amzn.to/36CpShC | https://amzn.to/3CXJngt | https://amzn.to/3JqyxSP

## Downloads and Flashing to MicroSD

1. Download Batocera Download
2. Download Balena Etcher Download
3. Run Balena Etcher
4. Burn Batocera image to microSD card
5. Safely remove microSD and re-insert
6. Ignore/close the Windows dialogs to format the inserted microSD card
7. Open the microSD card in Explorer and navigate to the /boot directory
8. Locate the .dtb file name that corresponds to target Amlogic processor
9. Navigate up one directory and edit the uEnv.txt file
10. Update the FDT= line to point to the correct .dtb file in the /boot directory

## Booting to Batocera for the First Time

1. Plug the power adapter into the Android TV box
2. If the device has never booted from external storage before the stock Android OS will load
3. In Android, navigate to the application drawer > Run Update & Backup
4. Select Local > Navigate to the microSD card > aml_autoscript.zip
5. Select Update
6. The system will reboot twice and should then begin booting Batocera from the microSD card
7. You should see the Batocera splash screen
8. Setup Your Controller
9. Game

Special thanks to the developers of Batocera for making this amazing software