mod81
I have a T95 mini and am thinking of flashing the Quadra Linux image over Android on the EMMC inside the box rather than keep booting from SD card. But wondered if there is a way to backup the original factory installed Android OS before flashing Quadra in case I want to go back to Android at some point?
 
 
txneo
You could try this:
 
 
  1. Boot to an SD of Quadra by the conventional method
  2. Install a 32GB SD card in a USB-MicroSD Reader and plug it into a port
  3. Open an terminal and type: dd if=/dev/mmcblk2 of=/dev/sda bs=4k count=3847164 status=progress
  4. Wait until the prompt returns
  5. Type: sync
This will do a block by block copy from the internal eMMC to the SD.
 
Presumably, putting this 32GB card in the device and powering it up w/o a monitor will flash the contents back to the internal flash.
You can probably do it with Balena Etcher too although I dont know about that program.
 
Reply 2 0
mod81
Thanks you txneo for the tip, i ended up finding out from the Armbian forums that there is already a utility included with Armbian for specifically backing up the internal emmc called ddbr.
I booted my box with Quadra running from a 32GB SD card, ran the ddbr util from the terminal which gives you a few options such as if you want to backup or restore and whether to compress the backup, and then it backed up the 16GB emmc to a IMG file in a folder called DDBR on the SD card. Which took about 20 mins.

I then installed Quarda to the emmc with the sata-nand-install command which went smoothly and after completing I could then boot to Quadra directly from emmc without needing to boot from SD card.
 
I wanted to check that the Android backup i made using ddbr actually worked, so I booted Quadra from the SD card and restored the backup onto the emmc. And i am happy to report it did then booted back to Android when I rebooted without a SD card inserted.
 
It does appear that ddbr is using the dd command in the background to do the backing up and restoring, similar to the command txneo provided, but through a wizard so less likely you will make a type I guess?
Reply 0 0
txneo
Thanks for this info about the ddbr command. I didn't know about that. 
Reply 0 0
Reply