Upgrade RemixOS 2.0.205 to 2.0.403, MANUAL procedure possible?

61 views
Skip to first unread message

Vincent Cojot

unread,
Nov 28, 2016, 10:14:42 AM11/28/16
to Remix OS for PC

Hi everyone,

First, I'd like to thank the teams behind RemixOS and Android x86 for making this possible.
This is a very welcome addition to my toolset of recovery options for my personal use.

I have both RemixOS 2.0 and 3.0 working fine in VirtualBOX on Linux.
My problem is that the RemixOS 2.0 VM is unable to update to the latest 2.0 release.

More specifically, my 2.0 VM runs 2.0.205 and when I attempt to 'Reboot and Install'
(see screenshot #1), I am greeted with a warning that says:
"RemixOS was not installed properly using the Remix OS Installation Tool..."
I installed 2.0 using the DVD iso image.

If I attempt to proceed anyway, my VM reboots and comes back without any update being performed.

I have the 2.0.403 ISO (Remix_OS_for_PC_64bit_B2016071101.zip).
Is there a way/tool to perform a manual update?

Thanks,

Vincent


Dondre Johnson

unread,
Nov 28, 2016, 7:34:47 PM11/28/16
to Remix OS for PC
If the data.img can be saved, copy it and paste it to an empty folder. Uninstall the Remix OS 2.0 VM, and download the .403 VM. Try to plug back in the data.img after setting up the new Remix OS 2.0 VM
(I do not have VMWare, so I don't know if this will work)

Vincent Cojot

unread,
Nov 28, 2016, 9:35:06 PM11/28/16
to Remix OS for PC
Hi Dondre,
There isn't a data.img per se.. The VM has a single virtual disk.

That disk has a single partition of type 83 (Linux).

Inside that partition, which happens to be mounted under /mnt,
there's a /mnt/android-2016-04-20 directory (I assume it matches the RemixOS 2.0.205 release that I am using).

Also, it appears that there is a /mnt/android-2015-04-20/system.img file loopback mounted as /android/system.
/android itself is of type tmpfs and pretty much empty.

Since I am familiar with Linux and not so much with RemixOS, I'm just asking if there is a way to execute
the upgrade process manually from 2.0.205 in debug mode.

My 2c,
Vincent

Vincent Cojot

unread,
Nov 28, 2016, 11:33:13 PM11/28/16
to Remix OS for PC
Done, and happily running 2.0.403 on my VM.
Here's how I did it:

1) Mount the DVD ISO image under /mnt and copy system.sfs elsewhere:
# mount -o loop Remix_OS_for_PC_64bit_B2016071101.iso /mnt
# mkdir /tmp/rebuild
# cp -a /mnt/system.sfs /tmp/rebuild
# cd /tmp/rebuild
# unsquashfs system.sfs
# mv squashfs-root/system.img /tmp/rebuild

At this point, you can pause and root system.img or proceed with the injection.
The current directory should be similar to this listing:
# ls -la
total 3490248
drwxr-xr-x 9 root root       4096 Nov 28 23:16 .
drwxr-xr-x 3 root root       4096 Nov 28 23:20 ..
drwxr-xr-x 3 root root       4096 Jul 11 12:15 boot
drwxr-xr-x 2 root root       4096 Jul 11 12:15 .disk
drwxr-xr-x 4 root root       4096 Jul 11 12:15 efi
-rw-r--r-- 1 root root         12 Jul 11 12:15 info.ini
-rw-r--r-- 1 root root    4941230 Jul 11 12:15 initrd.img
-rw-r--r-- 1 root root    3405041 Jul 11 11:30 install.img
drwxr-xr-x 2 root root       4096 Jul 11 13:05 isolinux
-rw-r--r-- 1 root root    5205456 Jul 11 11:37 kernel
-rw-r--r-- 1 root root    1155361 Jul 11 11:55 ramdisk.img
-rw-r--r-- 1 root root        467 Jan 14  2016 Readme.txt
-rw-r--r-- 1 root root       2393 Jan 14  2016 rootx.sh
drwxr-xr-x 2 root root       4096 Nov 28 22:57 squashfs-root
drwxr-xr-x 2 root root       4096 Jan 14  2016 su
-rw-r--r-- 1 root root 2684354560 Nov 28 22:57 system.img
-rw-r--r-- 1 root root  874881024 Jul 11 12:57 system.sfs
drwxr-xr-x 2 root root       4096 Jul 28  2015 tmp
-rw-r--r-- 1 root root       2196 Jul 11 13:05 TRANS.TBL

2) With the VBox VM turned off, mount its HD using 'nbd':
# modprobe nbd max_part=16
# qemu-nbd -c /dev/nbd0 /shared/vbox0/VM/RemixOS_2/disk1.vdi 
# mount -t ext4 /dev/nbd0p1 /mnt

3) Inject the new (2.0.403) files into that filesystem:
# rsync -avP  system.img initrd.img kernel ramdisk.img /mnt

4) Cleanup
# umount /mnt
# qemu-nbd -d /dev/nbd0

5) Reboot your RemixOS VM and enjoy.

Tested using 2.0.205 (upgraded to 2.0.403).

My 2c,
Vincent


Reply all
Reply to author
Forward
0 new messages