Jump to content

A guide to installing Armbian on the H96 Max V11


Maxxim

Recommended Posts

A guide to installing Armbian on the H96 Max V11 (RK3318_V1.4 blue PCB)

 

H96-Max-v11_PCB(front)-.thumb.jpg.79573cdeb0e98c1d9a1209b57a4c9db5.jpg

 

What you will need

  • Your H96 Max V11 TV box with the power supply and the HDMI cable that came with it;
  • A TV or a monitor with an HDMI port;
  • A wired USB keyboard (or a wireless one with a USB dongle);
  • An Ethernet cable to connect to a router on your home network that has Internet access;
  • A Micro SD card (minimum 1GB, more if you're going to back up Android on your box before overwriting it with Armbian);
  • A USB card reader for Micro SD cards;
  • A Windows PC connected to your home network;

 

Installation steps

  1. Download the experimental Armbian image (kernel 5.19.15 and libreelec patches — alas, that's the latest version that works correctly with our box) and a copy of the Multitool;
  2. Burn the Multitool on the SD card using Rufus (no need to change any settings, just click "SELECT" and locate multitool.img.xz or drag and drop the file on Rufus and then click "START");
  3. Connect your TV box to the TV or monitor, connect the keyboard, plug in the Multitool SD card and then plug in the power cord;
  4. Wait a minute (while SD card partitions are being resized) for the Multitool main menu to appear, then select "Shutdown";
  5. Unplug the power cord and the SD card, then plug the SD card into your PC. Two new drives should appear, labeled BOOTSTRAP and MULTITOOL. If you see both, skip the next step. If you only see the BOOTSTRAP, proceed to the next step;
  6. Start Disk Management (press Win+X, K). Scroll down the list of disks (use the scrollbar, because mouse wheel doesn't work there) to locate your SD card, and on the MULTITOOL partition right-click, then press C, and click "Add", "OK";
  7. Open the MULTITOOL drive in Windows Explorer (or your favorite file manager) and copy the downloaded Armbian image to the images folder;
  8. Safely remove (eject) the SD card, plug it into the TV box and plug in the power cord. The Multitool main menu will appear in a few seconds;
  9. If you don't care about stock Android firmware on your TV box, skip the next step. If you want to back up the Android firmware, proceed to the next step;
  10. In the Multitool main menu select "Backup flash" and click through (there will be only one option). Name your backup file. Wait for the backup to finish. The backup file will be saved to the backups folder on the SD card's MULTITOOL partition;
  11. Now it's time to replace Android with Armbian. In the Multitool main menu select "Burn image to flash" and click through (there will be only one option). Wait for the process to complete, then in the main menu select "Shutdown";
  12. Unplug the power cord and the SD card, then replug the power cord. Wait a few minutes for Armbian to get everything ready for its first launch, and then follow the initial setup prompts;
  13. You will be taken to the login prompt. Log in with the name/password for the regular user you've created;
  14. Connect your TV box to your home network router with an Ethernet cable;
  15. In Armbian, enter the command sudo cat /run/motd.dynamic and note the IP address assigned by the router to the TV box;
  16. Now you will need to connect to your TV box on the home network via the SSH protocol. If you're running Windows 10 or later, press Win+X, I, Enter. A PowerShell/Terminal window will open. Enter the following command, substituting the words in angle brackets with actual values: ssh <IP address from the previous step> -l <name for the regular user>. Type yes at the prompt asking if you really want to connect to this unknown host. At the next prompt that appears, enter the password for the regular user you've created. Skip the next step;
  17. If you're running an older version of Windows, you will need to download PuTTY, an SSH and Telnet client, set up an SSH connection to your TV box with the IP address above and log in with the name/password for the regular user;
  18. Now it's time to fix the settings for the Wi-Fi chip that doesn't work out of the box on the H96 Max V11. To delete the old settings, copy the command sudo rm -f /usr/lib/firmware/brcm/brcmfmac4334-sdio.rockchip,rk3318-box.txt and paste it by right-clicking in the SSH window, then press Enter;
  19. To create the new settings file, enter (copy-paste) the command sudo nano /usr/lib/firmware/brcm/brcmfmac4334-sdio.rockchip,rk3318-box.txt
  20. The nano text editor will open with a new empty file;
  21. Now open this small text file (a copy of nvram_2734c.txt from this forum topic), press Ctrl-A to select all text in it, then Ctrl-C to copy it to the clipboard;
  22. Switch to the SSH window, right-click to paste the copied text to nano then press Ctrl-S to save and Ctrl-X to exit;
  23. Enter (or copy-paste) the command sudo reboot -f to reboot Armbian. After that you can either close the SSH window and proceed with the physical console or start a new SSH session once Armbian has restarted;
  24. Enter (or copy-paste) the command sudo apt update && sudo apt install armbian-config
  25. After the update and installation is completed, run armbian-config to configure various software and hardware settings (including Wi-Fi). It is recommended to select "Freeze" in System settings to disable Armbian kernel upgrades because our kernel is compiled with custom patches enabling HDMI output on H96 Max V11 to work properly that are unavailable in other kernel versions.
Edited by Maxxim
SSH instructions updated for Windows 10 and later
Link to comment
Share on other sites

16 hours ago, robby said:

"ssh <IP>"

Thanks for the tip! I've been using PuTTY for so long (it's actually KiTTY these days) I wasn't even aware Windows 10 had a native ssh client. :)
Instructions updated. (And it's not simply "ssh <IP>", unless you use the same name everywhere. :) You need to specify the username otherwise ssh will try to log you in with your Windows username by default.)

Link to comment
Share on other sites

I had a V11 and was able to get Bluetooth to work by performing the following steps:

1) run sudo rk3318-config and accept all defaults.

2) Create the following symbolic link: 

sudo ln -s /lib/firmware/brcm/BCM43342.hcd /lib/firmware/brcm/BCM.hcd

3) Reboot sudo reboot

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines