Installation
Attention!
You perform all actions at your own risk. Authors of article and ALT Linux Team are not responsible for the consequences - "bricked" handhelds, missing user data or broken equipment, etc.
Details of ALTEMU installation are depends oт handheld type (see "Supported device" section), but in total installation proccess looks like this:
Memory card preparation
Downloading the image:
wget https://ftp.altlinux.org/pub/beta/mobile/altemu/YYYMMDD/alt-altemu-anbernic-rgxx3-rk3566-YYYYMMDD.img.xzPutting card reader with inserted memory card into USB port and writing image:
Linux (command line)
su -
xzcat alt-altemu-anbernic-rgxx3-rk3566-<YYYYMMDD>.img.xz | dd of=/dev/<storage_name> oflag=direct,sync iflag=fullblock bs=4M status=progressWindows
Unpack archive with 7z or another archive manager, and write image with Rufus in dd mode or BalenaEtcher
RG353M / P / V, RG552, ARC D, Powkiddy X55 preparation
Removing Android
Unfortunately, at this moment, for successful ALTEMU load, you should erase stock Android from internal storage.
If you want to safe Android image, you need additional memory card with a volume of 128 Gb to place Android image.
Switch device in recovery mode (hold Volume + and Power buttons on turned off device),
Connect our device from the OTG port to computer.
Installing
android-tools:
su -
apt-get install android-tools- Run commands one by one, waiting for the task to be completed.
Find our device - «Recovery» name and code number:
adb devicesGetting root rights on device:
adb rootConnect to device:
adb shell- Find internal storage device to erase:
ls /dev/block/ | grep mmcblkInternal storage will show as /dev/block/mmcblkX, with bunch of partitions
Insert large memory card into handheld's second slot (she appears as
/dev/block/mmcblkY, with one partition).Mount memory card:
mount /dev/block/mmcblkYp1 /mnt- Making image from internal storage:
dd if=/dev/block/mmcblkX of=/mnt/android_image.imgNOTE
Image creation is long proccess, volume of internal storage ~ 64Gb.
- After proccess completion unmount our memory card:
umount /mntAnd eject it from device
- Start to erase internal storage:
dd if=/dev/zero of=/dev/block/mmcblkX bs=4MAnd waiting, until utility messaging us about no free space in storage.
After that we can put memory card with ALTEMU with hope of successful load 😃