<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.exploitee.rs/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Tchebb</id>
	<title>Exploitee.rs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.exploitee.rs/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Tchebb"/>
	<link rel="alternate" type="text/html" href="https://wiki.exploitee.rs/index.php?title=Special:Contributions/Tchebb"/>
	<updated>2026-04-30T18:31:51Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.0-alpha</generator>
	<entry>
		<id>https://wiki.exploitee.rs/index.php?title=ONN_4K_Box&amp;diff=3048</id>
		<title>ONN 4K Box</title>
		<link rel="alternate" type="text/html" href="https://wiki.exploitee.rs/index.php?title=ONN_4K_Box&amp;diff=3048"/>
		<updated>2021-08-08T23:25:04Z</updated>

		<summary type="html">&lt;p&gt;Tchebb: Add basic fastboot and rooting info&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__FORCETOC__&lt;br /&gt;
{{Disclaimer}}&lt;br /&gt;
This page will be dedicated to a general overview of descriptions and information related to the ONN 4K streaming box.&lt;br /&gt;
[[File:ONN_4K_Box_Stock_Photo.png|200px|left|thumb]]&lt;br /&gt;
[[Category:AndroidTV]]&lt;br /&gt;
&lt;br /&gt;
== Getting to fastboot mode ==&lt;br /&gt;
There are two implementations of fastboot on this device: one is in U-Boot and is a traditional bootloader fastboot, which can write basic flash partitions like &amp;lt;code&amp;gt;boot&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;cache&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;userdata&amp;lt;/code&amp;gt;. The other is in the recovery and is Android&#039;s [https://source.android.com/devices/bootloader/fastbootd fastbootd], which additionally knows how to write to Android dynamic partitions like &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;vendor&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To enter the bootloader fastboot, you can run &amp;lt;code&amp;gt;adb reboot bootloader&amp;lt;/code&amp;gt; while booted into Android. Alternatively, you can enter it directly from power off by connecting the device to a computer over USB while holding the side button and waiting for a USB device with VID:PID &amp;lt;code&amp;gt;1b8e:c003&amp;lt;/code&amp;gt; to show up. This device is the bootloader&#039;s implementation of Amlogic&#039;s proprietary USB download protocol, and you can use it to enter fastboot: first, download or clone [https://github.com/superna9999/pyamlboot pyamlboot], which implements the Amlogic protocol. Then, run &amp;lt;code&amp;gt;./bulkcmd.py fastboot&amp;lt;/code&amp;gt; (don&#039;t worry if it prints an error), and the device should re-enumerate with USB VID:PID &amp;lt;code&amp;gt;18d1:0d02&amp;lt;/code&amp;gt;, which signifies fastboot mode.&lt;br /&gt;
&lt;br /&gt;
To enter fastbootd, you can run &amp;lt;code&amp;gt;adb reboot bootloader&amp;lt;/code&amp;gt; while booted into Android. There&#039;s also likely a command to boot into this mode from Amlogic download mode, since that mode lets you send arbitrary commands to U-Boot, but my device is not currently in a working enough state for me to find and test that command.&lt;br /&gt;
&lt;br /&gt;
== Rooting ==&lt;br /&gt;
It&#039;s been reported that patching &amp;lt;code&amp;gt;boot.img&amp;lt;/code&amp;gt; with Magisk, following Magisk&#039;s standard instructions for that, and reflashing it to the &amp;lt;code&amp;gt;boot&amp;lt;/code&amp;gt; partition using fastboot is sufficient to root the device with no loss of functionality.&lt;br /&gt;
&lt;br /&gt;
== aml_autoscript ==&lt;br /&gt;
while booting into recovery for any reason, U-Boot will look for USB mass storage devices on the OTG port and, if it finds one, exec a script from its root called aml_autoscript if it finds one and then boot an image called recovery.img if it finds one.&lt;br /&gt;
&lt;br /&gt;
== Tear Down ==&lt;br /&gt;
The ONN 4K streaming box is pretty easy to get apart once all the clips holding the case together are undone. In this tear down we used a razor blade but a guitar pick or similar small and durable piece of plastic is recommended. &lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:ONN_4K_Top.jpg&lt;br /&gt;
File:ONN_4K_Bottom.jpg&lt;br /&gt;
File:ONN_4K_Open_Split.jpg&lt;br /&gt;
File:ONN_4K_Open_Split_Board_Out.jpg&lt;br /&gt;
File:ONN_4K_Board_Top.jpg&lt;br /&gt;
File:ONN_4K_Board_Bottom.jpg&lt;br /&gt;
File:ONN_4K_Board_Top_EMF_Removed.jpg&lt;br /&gt;
File:ONN_4K_Board_Top_EMF_Removed_Cleared.jpg&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;/div&gt;</summary>
		<author><name>Tchebb</name></author>
	</entry>
</feed>