<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Fake RAM size on an Android TV Box</title>
        <description> I don&amp;#039;t know if this should be posted here or on the Debian sub-forum. Please feel free to move this topic to a more appropriate sub-forum if warranted.

Before I go into the subject, I wanted to say that I did encounter a similar issue with a fake RAM size on a 10.1&amp;quot; Android tablet that I bought from a Chinese seller on eBay. The eBay ad claimed the tablet was an octa-core system with a 4GB RAM. Upon received the tablet, sure enough the info section under the settings did really show the device had 8-core CPU with a 4GB RAM. However, the system wasn&amp;#039;t very responsive. So, I installed this AIDA64 utility and it revealed the tablet only had a 4-core CPU with 1GB RAM.

Now back to the subject. A friend recently bought this Android 10.0 TV BOX 16GB 256GB 8G 128G D9 TV Box 2.4G/5G WIFI 905 Core 4K 4D bluetooth TV receiver 1280P Fast Set Top Youtube Set and the info on the device really shows the system has 16GB RAM. So, I asked him to install the AIDA64 utility and it finds out the system indeed has 16GB RAM. However, upon looking closer to the /proc/meminfo (see the attached picture or the excerpt below) dumped by the AIDA64 utility, is it safe to conclude that this device only has 1GB RAM, i.e. MemAvailable is 251744 kB with a SwapCached 12944 kB, as shown below?
MemTotal:        16777216 kB
MemFree:         15818188 kB
MemAvailable:      251744 kB
Buffers:              888 kB
Cached:            205980 kB
SwapCached:         12944 kB
Active:            320304 kB
Inactive:          255352 kB
Active(anon):      233500 kB
Inactive(anon):    140876 kB
Active(file):       86804 kB
Inactive(file):    114476 kB
Unevictable:         4208 kB
...
OTOH, is there any other way anyone out here can recommend on how to solidly check the RAM size, besides opening the case (which I believe is completely sealed, i.e. no screws found at the bottom of the case)? Perhaps, install the Armbian on a USB stick to find out more (if the device is supported)?</description>
        <link>https://forum.doozan.com/read.php?8,128234,128234#msg-128234</link>
        <lastBuildDate>Thu, 12 Mar 2026 02:51:15 -0500</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://forum.doozan.com/read.php?8,128234,137574#msg-137574</guid>
            <title>Re: Fake RAM size on an Android TV Box</title>
            <link>https://forum.doozan.com/read.php?8,128234,137574#msg-137574</link>
            <description><![CDATA[ I bought similar tv android box 4gb ram 8cpu<br />
<br />
But is too slow for amount of resources.<br />
<br />
Is very big fake and a lot of that kind of stuff on AliExpress and other websites.]]></description>
            <dc:creator>Rmx</dc:creator>
            <category>Off-Topic</category>
            <pubDate>Wed, 22 May 2024 08:25:42 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?8,128234,132360#msg-132360</guid>
            <title>Re: Fake RAM size on an Android TV Box</title>
            <link>https://forum.doozan.com/read.php?8,128234,132360#msg-132360</link>
            <description><![CDATA[ &gt; Why does someone with programming skills patches<br />
&gt; the Kernel to fake this values? For what? 30 Euros<br />
&gt; / box price difference? Google for<br />
&gt; foxluo@hugsun02<br />
&gt; <br />
&gt; What a shame.<br />
<br />
The people who did the fake might not have been the same ones who used it.]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>Off-Topic</category>
            <pubDate>Sat, 18 Jun 2022 14:54:25 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?8,128234,132358#msg-132358</guid>
            <title>Re: Fake RAM size on an Android TV Box</title>
            <link>https://forum.doozan.com/read.php?8,128234,132358#msg-132358</link>
            <description><![CDATA[ wegegeld Wrote:<br />
-------------------------------------------------------<br />
&gt; <br />
&gt; So I put a 2GB file into it:<br />
&gt; <br />
&gt; Seems this file takes 4GB space:<br />
&gt; <br />
&gt; <br />
&gt; Why does someone with programming skills patches<br />
&gt; the Kernel to fake this values? For what? 30 Euros<br />
&gt; / box price difference? Google for<br />
&gt; foxluo@hugsun02<br />
&gt; <br />
&gt; What a shame.<br />
<br />
Just when I think nothing could drop my jaw!  8-(<br />
<br />
So thanks form me; you people are awesome for shining the light!]]></description>
            <dc:creator>JoeyPogoPlugE02</dc:creator>
            <category>Off-Topic</category>
            <pubDate>Sat, 18 Jun 2022 10:28:08 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?8,128234,132341#msg-132341</guid>
            <title>Re: Fake RAM size on an Android TV Box</title>
            <link>https://forum.doozan.com/read.php?8,128234,132341#msg-132341</link>
            <description><![CDATA[ Hello,<br />
<br />
I bought the  <br />
<br />
RUPA Android TV Box 11.0, Smart TV Box <b>8GB RAM 64GB ROM</b> RK3566 Quad-Core 64-Bit-ARM Cortex-A53 CPU.<br />
<br />
Got root via developer-mode/internet-adb and the allready installed /system/xbin/su<br />
<br />
Kernel shows 32GB flash<br />
[    9.825255] mmcblk2: mmc2:0001 032G34 29.1 GiB <br />
<br />
but filesystem tells me:<br />
<br />
rk356x_box:/sdcard # df -h .                                                                                                                                                                    <br />
Filesystem     Size  Used Avail Use% Mounted on<br />
/dev/fuse       49G  577M   48G   2% /storage/emulated<br />
<br />
So I put a 2GB file into it:<br />
rk356x_box:/sdcard # dd if=/dev/zero of=bla bs=1M count=2048<br />
<br />
Seems this file takes 4GB space:<br />
<br />
rk356x_box:/sdcard # df -h .               <br />
Filesystem     Size  Used Avail Use% Mounted on<br />
/dev/fuse       49G  4.5G   44G  10% /storage/emulated<br />
<br />
Same goes for ram. Kernel shows 4GB Ram<br />
rk356x_box:/sdcard # dmesg |grep Memo<br />
[    0.000000] Memory: 3966216K/4175872K available (15230K kernel code, 2104K rwdata, 9112K rodata, 4096K init, 2198K bss, 201464K reserved, 8192K cma-reserved)<br />
<br />
But /proc/meminfo fakes 8GB<br />
rk356x_box:/sdcard # cat /proc/meminfo                                                                                                                                                          <br />
MemTotal:        8165416 kB<br />
MemFree:         6077872 kB<br />
MemAvailable:    6098120 kB<br />
...<br />
<br />
with 6.4 G used after boot<br />
rk356x_box:/sdcard # free -h<br />
		total        used        free      shared     buffers<br />
Mem:             7.7G        6.4G        1.3G        5.4M        2.0M<br />
-/+ buffers/cache:           6.4G        1.3G<br />
Swap:            3.8G           0        3.8G<br />
<br />
Why does someone with programming skills patches the Kernel to fake this values? For what? 30 Euros / box price difference? Google for foxluo@hugsun02<br />
<br />
What a shame.]]></description>
            <dc:creator>wegegeld</dc:creator>
            <category>Off-Topic</category>
            <pubDate>Wed, 15 Jun 2022 04:20:22 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?8,128234,128459#msg-128459</guid>
            <title>Re: Fake RAM size on an Android TV Box</title>
            <link>https://forum.doozan.com/read.php?8,128234,128459#msg-128459</link>
            <description><![CDATA[ Just dispute with the credit card.]]></description>
            <dc:creator>daviddyer</dc:creator>
            <category>Off-Topic</category>
            <pubDate>Sat, 18 Dec 2021 09:31:09 -0600</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?8,128234,128449#msg-128449</guid>
            <title>Re: Fake RAM size on an Android TV Box</title>
            <link>https://forum.doozan.com/read.php?8,128234,128449#msg-128449</link>
            <description><![CDATA[ I just installed/ran a shell terminal. After doing an <i>su</i> into root, I was able to do a <i>df</i> to dump partitions and a <i>dmesg</i> | <i>more</i> to dump the kernel boot log to reveal the RAM size ([ 0.000000@0] Memory: <b>609240K</b>/<b>1027072K</b> available (11061K kernel code, 1298K rwdata, 4600K rodata, 1307K init, 3727K bss, 417832K reserved)). I created a video clip for my friend to show these two dumps so he can send them to the seller and/or AliExpress to ask for a full refund. Let&#039;s what will happen.]]></description>
            <dc:creator>habibie</dc:creator>
            <category>Off-Topic</category>
            <pubDate>Sat, 18 Dec 2021 05:47:23 -0600</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?8,128234,128424#msg-128424</guid>
            <title>Re: Fake RAM size on an Android TV Box</title>
            <link>https://forum.doozan.com/read.php?8,128234,128424#msg-128424</link>
            <description><![CDATA[ An alternative might be seeing if you can boot an <a href="https://github.com/ophub/amlogic-s9xxx-armbian"  rel="nofollow">Armbian for Amlogic S9xxx STB</a> image from microSD which will bypass the current firmware and see the true RAM.]]></description>
            <dc:creator>rayknight</dc:creator>
            <category>Off-Topic</category>
            <pubDate>Fri, 17 Dec 2021 21:50:45 -0600</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?8,128234,128409#msg-128409</guid>
            <title>Re: Fake RAM size on an Android TV Box</title>
            <link>https://forum.doozan.com/read.php?8,128234,128409#msg-128409</link>
            <description><![CDATA[ Well,, pry it open first...]]></description>
            <dc:creator>daviddyer</dc:creator>
            <category>Off-Topic</category>
            <pubDate>Fri, 17 Dec 2021 08:35:35 -0600</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?8,128234,128404#msg-128404</guid>
            <title>Re: Fake RAM size on an Android TV Box</title>
            <link>https://forum.doozan.com/read.php?8,128234,128404#msg-128404</link>
            <description><![CDATA[ bodhi Wrote:<br />
-------------------------------------------------------<br />
&gt; habibie,<br />
&gt; <br />
&gt; &gt; I sure would like to hack this device to learn something. For instance, can we modify the boot arguments to remove the <i>androidboot.fake_rom_size=256</i>? If so, how?<br />
<br />
&gt; <br />
&gt; Looks like this box can be pried opened with a plastic wedge. Open and look for serial header.<br />
&gt; <br />
&gt;<br />
I hope so. For now, I proposed to my friend as follows: I hope I am able to just install some google chrome plugins, i.e. <a href="https://chrome.google.com/webstore/detail/speed-dial-fvd-new-tab-pa/llaficoajjainaijghjlofdfmbjpebpa"  rel="nofollow">Speed Dial [FVD] - New Tab Page, 3D, Sync...</a>, etc. This way, I can load google chrome with lots of sites and do a <i>cat /proc/meminfo</i> from a shell (through i.e. <a href="https://m.apkpure.com/bash-shell-x-root/com.bitcubate.android.bash.installer"  rel="nofollow">Bash Shell X [Root]</a> application) to show how much RAM and if the SWAP file are both used. Video the whole process and have my friend send it to the seller and/or AliExpress as a proof to get a full refund. My friend promised to give this TV Box to me when he gets a full refund. From that on, I hope to start prying the box with a plastic wedge to open it.<br />
<br />
&gt; <blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />[    0.000000@0] CPU: AArch64 Processor [410fd034] revision 4</div></blockquote>
&gt; <br />
&gt; <blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />[    0.000000@0] Kernel command line: rootfstype=ramfs init=/init console=ttyS0,115200 no_console_suspend earlycon=aml_uart,0xc81004c0 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000 androidboot.selinux=permissive logo=osd1,loaded,0x3d800000,576cvbs maxcpus=4 vout=576cvbs,enable hdmimode=1080p60hz cvbsmode=576cvbs hdmitx= cvbsdrv=0 androidboot.firstboot=0 androidboot.fake_rom_size=256 fake_mem_size=16 jtag=apao quiet androidboot.hardware=amlogic androidboot.logo_mode=0 androidboot.serialno=1234567890 mac=6c:01:1b:09:d9:65 androidboot.mac=6c:01:1b:09:d9:65 androidboot.slot_suffix=_a buildvariant=userdebug</div></blockquote>
&gt; <br />
&gt; This looks like amlogic chip, so most likely running with u-boot as boot loader. If you have serial console you can change bootargs.<br />
&gt; <br />
Yes and it is an <a href="https://www.alibaba.com/product-detail/D9-TV-Box-Amlogic-S905L2-Smart_1600163294442.html"  rel="nofollow">AMLogic S905L2 CPU</a> (go to <b>Product Detail</b> and it clearly says the CPU is <i>Amlogic S905L2 up to 1.5 GHz, Quad core</i>).<br />
<br />
&gt; =====<br />
&gt; <br />
&gt; If there is no serial header, then perhaps the USB port is used for that purpose.<br />
&gt; <br />
&gt; The kernel boot log does show any typical USB serial TTL chip (e.g. CP2xxx, PL3xxx), but there is this UART driver.<br />
&gt; <br />
&gt; <pre class="bbcode">
&gt; [    0.185770@0] Serial: AMBA PL011 UART driver
&gt;</pre>
&gt; <br />
&gt; So if you have a USB cable that has one connector that fit this box (is this regular USB A connector?), and the other end is USB A connector. Then you can try connecting a Kirkwood/rPi box with this cable.<br />
&gt; <br />
&gt; And then power up both boxes, see if you can find this message in this TV box dmesg:<br />
&gt; <br />
Right now, I have borrowed the device and have powered it up through its USB1 port connected to one of the USB ports on my computer. The device is also connected to my router and I am able to obtain a <a href="https://support.honeywellaidc.com/s/article/How-to-use-adb-over-TCPIP-connect"  rel="nofollow">shell using ADB to remotely connect with a TCP/IP connection</a>.<br />
<br />
&gt; <pre class="bbcode">
&gt; xxxx serial: ttyAMA0 at
&gt;</pre>
&gt;  <br />
&gt; If you see that device is up, use minicom/picocom<br />
&gt; on the serial console server box.<br />
&gt; <br />
&gt; Note: on the rPI, the PL011 UART is connected to<br />
&gt; Bluetooth. So if this is the same as rPi, then USB<br />
&gt; cable won&#039;t show anything.<br />
&gt;<br />
The <i>dmesg</i> dump (attached in my OP) does show the following (I am not sure if <b>c11084c0</b> can be considered as a serial console):<br />
<pre class="bbcode">[    0.818615@2] usbhid: USB HID core driver
[    0.819488@2] ashmem: initialized
[    0.819732@2] logger: created 256K log &#039;log_main&#039;
[    0.819956@2] logger: created 256K log &#039;log_events&#039;
[    0.820160@2] logger: created 256K log &#039;log_radio&#039;
[    0.820372@2] logger: created 256K log &#039;log_system&#039;
[    0.821989@2] meson_uart c81004c0.serial: ==uart0 reg addr = ffffff80000fe4c0
[    0.822023@2] c81004c0.serial: ttyS0 at MMIO 0xc81004c0 (irq = 225, base_baud = 1500000) is a meson_uart
[    0.822039@2] meson_uart c81004c0.serial: ttyS0 use xtal(8M) 24000000 change 0 to 115200
[    0.894386@2] console [ttyS0] enabled
[    0.894901@2] meson_uart c11084c0.serial: ==uart1 reg addr = ffffff800010a4c0
[    0.894934@2] c11084c0.serial: ttyS1 at MMIO 0xc11084c0 (irq = 58, base_baud = 1500000) is a meson_uart
[    0.895798@2] hdmitx_hdcp_init
</pre>]]></description>
            <dc:creator>habibie</dc:creator>
            <category>Off-Topic</category>
            <pubDate>Fri, 17 Dec 2021 06:06:39 -0600</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?8,128234,128379#msg-128379</guid>
            <title>Re: Fake RAM size on an Android TV Box</title>
            <link>https://forum.doozan.com/read.php?8,128234,128379#msg-128379</link>
            <description><![CDATA[ habibie,<br />
<br />
&gt; I sure would like to hack this device to learn<br />
&gt; something. For instance, can we modify the boot<br />
&gt; arguments to remove the<br />
&gt; <i>androidboot.fake_rom_size=256</i>? If so, how?<br />
<br />
Looks like this box can be pried opened with a plastic wedge. Open and look for serial header.<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />[    0.000000@0] CPU: AArch64 Processor [410fd034] revision 4</div></blockquote>
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />[    0.000000@0] Kernel command line: rootfstype=ramfs init=/init console=ttyS0,115200 no_console_suspend earlycon=aml_uart,0xc81004c0 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000 androidboot.selinux=permissive logo=osd1,loaded,0x3d800000,576cvbs maxcpus=4 vout=576cvbs,enable hdmimode=1080p60hz cvbsmode=576cvbs hdmitx= cvbsdrv=0 androidboot.firstboot=0 androidboot.fake_rom_size=256 fake_mem_size=16 jtag=apao quiet androidboot.hardware=amlogic androidboot.logo_mode=0 androidboot.serialno=1234567890 mac=6c:01:1b:09:d9:65 androidboot.mac=6c:01:1b:09:d9:65 androidboot.slot_suffix=_a buildvariant=userdebug</div></blockquote>
<br />
This looks like amlogic chip, so most likely running with u-boot as boot loader. If you have serial console you can change bootargs.<br />
<br />
=====<br />
<br />
If there is no serial header, then perhaps the USB port is used for that purpose.<br />
<br />
The kernel boot log does show any typical USB serial TTL chip (e.g. CP2xxx, PL3xxx), but there is this UART driver.<br />
<br />
<pre class="bbcode">
[    0.185770@0] Serial: AMBA PL011 UART driver</pre>
<br />
So if you have a USB cable that has one connector that fit this box (is this regular USB A connector?), and the other end is USB A connector. Then you can try connecting a Kirkwood/rPi box with this cable.<br />
<br />
And then power up both boxes, see if you can find this message in this TV box dmesg:<br />
<br />
<pre class="bbcode">
xxxx serial: ttyAMA0 at</pre>
 <br />
If you see that device is up, use minicom/picocom on the serial console server box.<br />
<br />
Note: on the rPI, the PL011 UART is connected to Bluetooth. So if this is the same as rPi, then USB cable won&#039;t show anything.]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>Off-Topic</category>
            <pubDate>Thu, 16 Dec 2021 16:33:41 -0600</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?8,128234,128369#msg-128369</guid>
            <title>Re: Fake RAM size on an Android TV Box</title>
            <link>https://forum.doozan.com/read.php?8,128234,128369#msg-128369</link>
            <description><![CDATA[ daviddyer Wrote:<br />
-------------------------------------------------------<br />
&gt; Kernel command line<br />
&gt; ......androidboot.fake_rom_size=256<br />
&gt; fake_mem_size=16 ...<br />
&gt; <br />
&gt; interesting parameters...<br />
&gt;<br />
I sure would like to hack this device to learn something. For instance, can we modify the boot arguments to remove the <i>androidboot.fake_rom_size=256</i>? If so, how?]]></description>
            <dc:creator>habibie</dc:creator>
            <category>Off-Topic</category>
            <pubDate>Thu, 16 Dec 2021 12:23:36 -0600</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?8,128234,128344#msg-128344</guid>
            <title>Re: Fake RAM size on an Android TV Box</title>
            <link>https://forum.doozan.com/read.php?8,128234,128344#msg-128344</link>
            <description><![CDATA[ &gt; Kernel command line<br />
&gt; ......androidboot.fake_rom_size=256<br />
&gt; fake_mem_size=16 ...<br />
&gt; <br />
&gt; interesting parameters...<br />
<br />
That&#039;s the loudest bell ringing :)) I don&#039;t know Android but it looks like a custom kernel, so they can do whatever they want to fake it.<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />[    0.000000@0] Memory: 609240K/1027072K available (11061K kernel code, 1298K rwdata, 4600K rodata, 1307K init, 3727K bss, 417832K reserved)</div></blockquote>
 <br />
Regardless of whatever real RAM they have on this box, the kernel only knows 1GB. So I&#039;d say return it.]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>Off-Topic</category>
            <pubDate>Wed, 15 Dec 2021 23:00:08 -0600</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?8,128234,128324#msg-128324</guid>
            <title>Re: Fake RAM size on an Android TV Box</title>
            <link>https://forum.doozan.com/read.php?8,128234,128324#msg-128324</link>
            <description><![CDATA[ daviddyer Wrote:<br />
-------------------------------------------------------<br />
&gt; Kernel command line<br />
&gt; ......androidboot.fake_rom_size=256<br />
&gt; fake_mem_size=16 ...<br />
&gt; <br />
&gt; interesting parameters...<br />
&gt;<br />
Indeed an interesting one.]]></description>
            <dc:creator>habibie</dc:creator>
            <category>Off-Topic</category>
            <pubDate>Wed, 15 Dec 2021 18:51:48 -0600</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?8,128234,128319#msg-128319</guid>
            <title>Re: Fake RAM size on an Android TV Box</title>
            <link>https://forum.doozan.com/read.php?8,128234,128319#msg-128319</link>
            <description><![CDATA[ Well, back in the days with 386/486/Pentium, we have fake cache motherboard and re-marked cpu,...]]></description>
            <dc:creator>daviddyer</dc:creator>
            <category>Off-Topic</category>
            <pubDate>Wed, 15 Dec 2021 18:21:25 -0600</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?8,128234,128309#msg-128309</guid>
            <title>Re: Fake RAM size on an Android TV Box</title>
            <link>https://forum.doozan.com/read.php?8,128234,128309#msg-128309</link>
            <description><![CDATA[ Kernel command line ......androidboot.fake_rom_size=256 fake_mem_size=16 ...<br />
<br />
interesting parameters...]]></description>
            <dc:creator>daviddyer</dc:creator>
            <category>Off-Topic</category>
            <pubDate>Wed, 15 Dec 2021 16:36:38 -0600</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?8,128234,128304#msg-128304</guid>
            <title>Re: Fake RAM size on an Android TV Box</title>
            <link>https://forum.doozan.com/read.php?8,128234,128304#msg-128304</link>
            <description><![CDATA[ Finally, I managed to remotely connect the device using the <i>adb</i> utility through a TCP/IP connection and found out the device only has 1GB RAM through a <i>dmesg</i> dump (see line #45 on the attached file) or the excerpt is shown below ([    0.000000@0] <b>Memory: 609240K/1027072K</b> available (11061K kernel code, 1298K rwdata, 4600K rodata, 1307K init, 3727K bss, 417832K reserved)). I hope anyone here can confirm this before I will tell my friend to file a full refund.<br />
<pre class="bbcode">p281:/ # dmesg
[    0.000000@0] Initializing cgroup subsys cpu
[    0.000000@0] Initializing cgroup subsys cpuacct
[    0.000000@0] Linux version 3.14.29-g56dfc295cbe4 (org@nb16) (gcc version 4.9.2 20140904 (prerelease) (crosstool-NG linaro-1.13.1-4.9-2014.09 - Linaro GCC 4.9-2014.09) ) #17 SMP PREEMPT Tue Jun 15 09:19:57 CEST 2021
[    0.000000@0] CPU: AArch64 Processor [410fd034] revision 4
[    0.000000@0] no prop version_code
[    0.000000@0] fdt Reserved memory table:
[    0.000000@0]              linux,di_cma: 0x000000003c800000 - 0x000000003f000000  (40 MiB)
[    0.000000@0] cma: Reserved 40 MiB at 3c800000, total cma pages:10240
[    0.000000@0]             linux,ion-dev: 0x000000003a800000 - 0x000000003c800000  (32 MiB)
[    0.000000@0]               linux,ppmgr: 0x000000003a800000 - 0x000000003a800000  (0 MiB)
[    0.000000@0]        linux,codec_mm_cma: 0x0000000028000000 - 0x0000000033c00000  (188 MiB)
[    0.000000@0] cma: Reserved 188 MiB at 28000000, total cma pages:58368
[    0.000000@0]              linux,picdec: 0x000000003a800000 - 0x000000003a800000  (0 MiB)
[    0.000000@0] Reserved memory: unable to setup CMA region
[    0.000000@0]               linux,demod: 0x000000003a200000 - 0x000000003a800000  (6 MiB)
[    0.000000@0]   linux,codec_mm_reserved: 0x0000000036100000 - 0x000000003a200000  (65 MiB)
[    0.000000@0]           linux,vdin1_cma: 0x0000000034c00000 - 0x0000000036000000  (20 MiB)
[    0.000000@0] cma: Reserved 20 MiB at 34c00000, total cma pages:63488
[    0.000000@0] fdt Reserved memory total:  371 MiB
[    0.000000@0] cma: Reserved 8 MiB at 34400000, total cma pages:65536
[    0.000000@0] On node 0 totalpages: 256768
[    0.000000@0]   Normal zone: 5539 pages used for memmap
[    0.000000@0]   Normal zone: 0 pages reserved
[    0.000000@0]   Normal zone: 256768 pages, LIFO batch:31
[    0.000000@0] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000@0] PERCPU: Embedded 12 pages/cpu @ffffffc0360a8000 s20032 r8192 d20928 u49152
[    0.000000@0] pcpu-alloc: s20032 r8192 d20928 u49152 alloc=12*4096
[    0.000000@0] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000@0] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 251229
[    0.000000@0] Kernel command line: rootfstype=ramfs init=/init console=ttyS0,115200 no_console_suspend earlycon=aml_uart,0xc81004c0 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000 androidboot.selinux=permissive logo=osd1,loaded,0x3d800000,576cvbs maxcpus=4 vout=576cvbs,enable hdmimode=1080p60hz cvbsmode=576cvbs hdmitx= cvbsdrv=0 androidboot.firstboot=0 androidboot.fake_rom_size=256 fake_mem_size=16 jtag=apao quiet androidboot.hardware=amlogic androidboot.logo_mode=0 androidboot.serialno=1234567890 mac=6c:01:1b:09:d9:65 androidboot.mac=6c:01:1b:09:d9:65 androidboot.slot_suffix=_a buildvariant=userdebug
[    0.000000@0] logo: osd1
[    0.000000@0] logo: loaded
[    0.000000@0] logo: 0x3d800000
[    0.000000@0] logo: 576cvbs
[    0.000000@0] vout_serve: 576cvbs
[    0.000000@0] vout_serve: enable: 1
[    0.000000@0] logo: get hdmimode: 1080p60hz
[    0.000000@0] logo: get cvbsmode: 576cvbs
[    0.000000@0] tv_vout: cvbs performance line = 0
[    0.000000@0] jtag: jtag select 2
[    0.000000@0] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000@0] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000@0] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000@0] Memory: 609240K/1027072K available (11061K kernel code, 1298K rwdata, 4600K rodata, 1307K init, 3727K bss, 417832K reserved)
[    0.000000@0] Virtual kernel memory layout:
[    0.000000@0]     vmalloc : 0xffffff8000000000 - 0xffffff8040000000   (  1024 MB)
[    0.000000@0]     vmemmap : 0xffffff8040010000 - 0xffffff80415b8000   (    21 MB)
[    0.000000@0]     modules : 0xffffffbffc000000 - 0xffffffc000000000   (    64 MB)
[    0.000000@0]     memory  : 0xffffffc000000000 - 0xffffffc03f000000   (  1008 MB)
[    0.000000@0]       .init : 0xffffffc001fcd000 - 0xffffffc002113e40   (  1308 kB)
[    0.000000@0]       .text : 0xffffffc001080000 - 0xffffffc001fcc7e4   ( 15666 kB)
[    0.000000@0]       .data : 0xffffffc002114000 - 0xffffffc002258838   (  1299 kB)
[    0.000000@0] PM: Registered nosave memory: [mem 0x01080000-0x01fcbfff]</pre>
[]]></description>
            <dc:creator>habibie</dc:creator>
            <category>Off-Topic</category>
            <pubDate>Wed, 15 Dec 2021 15:58:49 -0600</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?8,128234,128284#msg-128284</guid>
            <title>Re: Fake RAM size on an Android TV Box</title>
            <link>https://forum.doozan.com/read.php?8,128234,128284#msg-128284</link>
            <description><![CDATA[ habibie,<br />
<br />
&gt; tablet was an octa-core system with a 4GB RAM.<br />
&gt; Upon received the tablet, sure enough the info<br />
&gt; section under the settings did really show the<br />
&gt; device had 8-core CPU with a 4GB RAM. However, the<br />
&gt; system wasn&#039;t very responsive. So, I installed<br />
&gt; this<br />
&gt; <a href="https://play.google.com/store/apps/details?id=com.finalwire.aida64&amp;hl=en"  rel="nofollow">AIDA64</a><br />
&gt; utility and it revealed the tablet only had a<br />
&gt; 4-core CPU with 1GB RAM.<br />
<br />
Not sure if the utility is up-to-date. The new octa-core are usually BigLittle (4 performance, 4 low energy). Not sure if the tablet was set up to disable the 4 low energy core (wildass guess) ?<br />
<br />
FWIW, in the old days, that could also be dual-issue for each core, so they claim 8 core. For example the Pogoplug V3 is not actual dual-core, but dual-issue (run as fast as real dual-core).<br />
<br />
&gt; is it safe to conclude that this device<br />
&gt; only has 1GB RAM, i.e. <b>MemAvailable</b> is<br />
&gt; 251744 kB with a <b>SwapCached</b> 12944 kB, as<br />
&gt; shown below?<br />
&gt; <pre class="bbcode">MemTotal:        16777216 kB
&gt; MemFree:         15818188 kB
&gt; MemAvailable:      251744 kB
&gt; Buffers:              888 kB
&gt; Cached:            205980 kB
&gt; SwapCached:         12944 kB
&gt; Active:            320304 kB
&gt; Inactive:          255352 kB
&gt; Active(anon):      233500 kB
&gt; Inactive(anon):    140876 kB
&gt; Active(file):       86804 kB
&gt; Inactive(file):    114476 kB
&gt; Unevictable:         4208 kB
&gt; ...</pre>
<br />
Not really. I would trust:<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />MemTotal:        16 777 216 kB</div></blockquote>
<br />
In Debian<br />
<br />
<pre class="bbcode">
# free -h
               total        used        free      shared  buff/cache   available
Mem:           999Mi       122Mi       354Mi       0.0Ki       522Mi       622Mi
Swap:          8.0Gi        18Mi       8.0Gi</pre>
<br />
You would add used+free+cache memory and it&#039;ll come out to be Total.<br />
<br />
&gt; Perhaps, install the Armbian<br />
&gt; on a USB stick to find out more (if the device is<br />
&gt; supported)?<br />
<br />
Or find an Android memtest utility that stress the memory to the max.]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>Off-Topic</category>
            <pubDate>Tue, 14 Dec 2021 18:18:40 -0600</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?8,128234,128239#msg-128239</guid>
            <title>Re: Fake RAM size on an Android TV Box</title>
            <link>https://forum.doozan.com/read.php?8,128234,128239#msg-128239</link>
            <description><![CDATA[ Oh, well, if it&#039;s too good to be true,......]]></description>
            <dc:creator>daviddyer</dc:creator>
            <category>Off-Topic</category>
            <pubDate>Tue, 14 Dec 2021 14:36:05 -0600</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?8,128234,128234#msg-128234</guid>
            <title>Fake RAM size on an Android TV Box</title>
            <link>https://forum.doozan.com/read.php?8,128234,128234#msg-128234</link>
            <description><![CDATA[ I don&#039;t know if this should be posted here or on the <a href="https://forum.doozan.com/list.php?2"  rel="nofollow">Debian</a> sub-forum. Please feel free to move this topic to a more appropriate sub-forum if warranted.<br />
<br />
Before I go into the subject, I wanted to say that I did encounter a similar issue with a fake RAM size on a 10.1&quot; Android tablet that I bought from a Chinese seller on eBay. The eBay ad claimed the tablet was an octa-core system with a 4GB RAM. Upon received the tablet, sure enough the info section under the settings did really show the device had 8-core CPU with a 4GB RAM. However, the system wasn&#039;t very responsive. So, I installed this <a href="https://play.google.com/store/apps/details?id=com.finalwire.aida64&amp;hl=en"  rel="nofollow">AIDA64</a> utility and it revealed the tablet only had a 4-core CPU with 1GB RAM.<br />
<br />
Now back to the subject. A friend recently bought this <a href="https://www.aliexpress.com/item/1005003109261319.html"  rel="nofollow">Android 10.0 TV BOX 16GB 256GB 8G 128G D9 TV Box 2.4G/5G WIFI 905 Core 4K 4D bluetooth TV receiver 1280P Fast Set Top Youtube Set</a> and the info on the device really shows the system has 16GB RAM. So, I asked him to install the <a href="https://play.google.com/store/apps/details?id=com.finalwire.aida64&amp;hl=en"  rel="nofollow">AIDA64</a> utility and it finds out the system indeed has 16GB RAM. However, upon looking closer to the <b>/proc/meminfo</b> (see the attached picture or the excerpt below) dumped by the <a href="https://play.google.com/store/apps/details?id=com.finalwire.aida64&amp;hl=en"  rel="nofollow">AIDA64</a> utility, is it safe to conclude that this device only has 1GB RAM, i.e. <b>MemAvailable</b> is 251744 kB with a <b>SwapCached</b> 12944 kB, as shown below?<br />
<pre class="bbcode">MemTotal:        16777216 kB
MemFree:         15818188 kB
MemAvailable:      251744 kB
Buffers:              888 kB
Cached:            205980 kB
SwapCached:         12944 kB
Active:            320304 kB
Inactive:          255352 kB
Active(anon):      233500 kB
Inactive(anon):    140876 kB
Active(file):       86804 kB
Inactive(file):    114476 kB
Unevictable:         4208 kB
...</pre>
OTOH, is there any other way anyone out here can recommend on how to solidly check the RAM size, besides opening the case (which I believe is completely sealed, i.e. no screws found at the bottom of the case)? Perhaps, install the Armbian on a USB stick to find out more (if the device is supported)?]]></description>
            <dc:creator>habibie</dc:creator>
            <category>Off-Topic</category>
            <pubDate>Tue, 14 Dec 2021 12:04:10 -0600</pubDate>
        </item>
    </channel>
</rss>
