Draft: WIP: initial support for Xiaomi Mi TV Stick
This is a work-in-progress merge request adding support for the Xiaomi Mi TV Stick (https://wiki.postmarketos.org/wiki/Xiaomi_Mi_TV_Stick_(xiaomi-aquaman)). It depends on kernel patches which have been sent upstream and are currently awaiting review: https://lore.kernel.org/all/20250131200319.19996-3-funderscore@postmarketos.org/T/
TODO:
- Neat bootflow packaging
- Test on all 3 major board variants
- Update wiki page
- etc...
Merge request reports
Activity
added category::device type::feature labels
added 1 commit
- 1faa30ef - WIP: linux-postmarketos-amlogic: fresh new patches
added 1 commit
- b6e91cff - WIP: linux-postmarketos-amlogic: fresh new patches from the ML
WIP installation instructions:
pmbootstrap init pmbootstrap install --sdcard=/dev/your_usb_drive
If running Android 10:
- Hook up UART
- Get to U-Boot shell
Hit Enter or space or Ctrl+C key to stop autoboot -- : 0 aquaman_q# setenv bootandroid "${bootcmd}" aquaman_q# setenv bootcmd "usb start;fatload usb 0 1080000 aml_autoscript;autoscr 1080000 ;run bootandroid" aquaman_q# saveenv aquaman_q# reset
If running Android 9:
WORK-IN-PROGRESS: THESE INSTRUCTIONS HAVE NOT BEEN TESTED YET. HERE BE DRAGONS - YOUR DEVICE MAY NO LONGER BOOT! YOU HAVE BEEN WARNED.
WIP
- Boot to fastboot
$ git clone https://github.com/superna9999/pyamlboot $ cd pyamlboot $ fastboot oem update $ ./bulkcmd.py 'setenv bootandroid "${bootcmd}"' $ ./bulkcmd.py 'setenv bootcmd "usb start;fatload usb 0 1080000 aml_autoscript;autoscr 1080000 ;run bootandroid"' $ ./bulkcmd.py 'ui init; ui text - "${bootcmd}" 20 20;ui update' # please check your HDMI monitor to see if it looks correct $ ./bulkcmd.py 'saveenv' $ ./bulkcmd.py 'reset' # ... and hope
Edited by Ferass El Hafidi- Resolved by Ferass El Hafidi
btw android 9 comand 5:
$ ./bulkcmd.py 'setenv bootcmd "usb start";fatload usb 0 1080000 aml_autoscript;autoscr 1080000 ;run bootandroid
added 1 commit
- c44a9e4a - WIP: device-amlogic-tvbox: weird stuff for DT stuff
Tried tested for Xiaomi tv stick Green variant (android 9 pie) device if cant find usb boots android normaly. No brick these codes
$ git clone https://github.com/superna9999/pyamlboot $ cd pyamlboot $ fastboot oem update $ ./bulkcmd.py 'setenv bootandroid "${bootcmd}"' $ ./bulkcmd.py 'setenv bootcmd "usb start;fatload usb 0 1080000 aml_autoscript;autoscr 1080000 ;run bootandroid"' $ ./bulkcmd.py 'ui init; ui text - "${bootcmd}" 20 20;ui update' # please check your HDMI monitor to see if it looks correct $ ./bulkcmd.py 'saveenv' $ ./bulkcmd.py 'reset' # ... and hope
Edited by 19atlasadded 1 commit
- 92df2365 - WIP: linux-postmarketos-amlogic: add support for Realtek UART BT
added status::mr-stale label
Sorry to bother you @funderscore,
but we've detected that this merge request hasn't seen any recent activity. If you need help, want to discuss your approach with developers, or you are all done and this is waiting for review, you can ping
@postmarketOS
. You can also ask on matrix in #devel:postmarketos.org or #postmarketos-devel on OFTC.Thanks for your contribution.