Krescue - take full control of your VIM device! easy way to install ANY OS! + back/restore your system

@hyphop , regarding to Armbian boot.
My emmc is running VIM3_Pie_V210908, it is working fine with CoreElec which running on a SD card.
Insert the SD card, I have CoreELEC, pop it out, I have android.

Now, I am trying to do the same thing with Armbian.
I have downloaded Armbian_21.08.1_Khadas-vim3_hirsute_edge_5.13.12_xfce_desktop.img from official site and burned it into a SD card. But it just not able to start from it.
I tried start with krescue (VIM3.krescue.sd.img), which also on a SD card, and downloaded
Khadas.UBOOT.mainline.emmc.kresq, and burned it to emmc, it has overwritten the existing android system, but ok to start the Armbian from the SD card then.

I am not an expert, is there a way to keep the android system in the emmc, and boot Armbian from SD card when I plug it in?

You can keep aml vendor uboot in emmc to have a working android in emmc and burn mainline uboot into spi using Krescue and switch between. It was described in this topic. A little bit awkward but after switching bootmode to SPI you can boot into any Linux distros from SD cards, USB drives and even partially from NVME drives without any issues or almost any ))

And if you need to start android again you can either press 3 times on function key at powering device up or switch bootmode back to emmc using Krescue or at command prompt

i will check it - but this thread about Krescue and emmc installations :wink:

  • u can install Armbian to eMMC via Krescue online scripts
  • or write mainline uboot to SPI or special emmc boot areas and can boot from SD / USB / NVME

PS: im not sure about android vendor uboot and armbian sd bootable posibilities need to check

yes its right solution too

Thank you both, I will try it.

Krescue update FROM: Fri Nov 12 06:28:15 2021 VER : 211112_258

  • Edge rk3399 emmc problems fixed
  • Amlogic VIMx sd / cards problem fixed
  • many other fixes & improvement

Krescue online scripts

Generig Ubuntu installation to EMMC / USB / SD

now its will be very easy - all process automated :wink: just 2 minutes

┌────────────────khadas/krescue-scripts───────────────────┐
│ Krescue scripts (beta test) v0.32                       │
│ ┌─────────────────────────────────────────────────────┐ │
│ │ 1  scripts/                        100 Nov 12 06:10 │ │
│ │ 2  README.md                        83 Nov 12 06:10 │ │
│ │ 3  Update-Online-Scripts...          0 Nov 12 06:44 │ │
│ └─────────────────────────────────────────────────────┘ │
│                                                         │
│                                                         │
│                                                         │
├─────────────────────────────────────────────────────────┤
│         <  OK  >     <Cancel>     < Info >              │
└──────────────────────[F1 - help ]───────────────────────┘
┌────────────────khadas/krescue-scripts───────────────────┐
│ Krescue scripts (beta test) v0.32                       │
│ ┌─────────────────────────────────────────────────────┐ │
│ │1  ../                                               │ │
│ │2  !README.md                              79 Nov 12 │ │
│ │3  AltLinux-install.sh                   4.3K Nov 12 │ │
│ │4  Armbian-Linux-install.sh              6.5K Nov 12 │ │
│ │5  Fedora-Linux-install.sh               6.1K Nov 12 │ │
│ │6  Manjaro-Linux-install.sh              3.5K Nov 12 │ │
│ │7  Ubuntu-focal-Generic-install.sh       2.6K Nov 120│ │
│ └─────────────────────────────────────────────────────┘ │
│                                                         │
│                                                         │
│                                                         │
├─────────────────────────────────────────────────────────┤
│         <  OK  >     <Cancel>     < Info >              │
└──────────────────────[F1 - help ]───────────────────────┘
   ┌─────────Ubuntu-focal-Generic-install.sh───────────┐
   │ Generic-Ubuntu NVME/USB/SD installation           │
   │ =======================================           │
   │                                                   │
   │ Generic Ubuntu Image for NVME / USB / SD usage    │
   │                                                   │
   │     - Linux-5.14-rc5_arm64..V1.0.7-210824         │
   │                                                   │
   │     REL=focal                                     │
   │                                                   │
   │     TYPES= minimal                                │
   │                                                   │
   │     BOARDS= VIM1 | VIM2 | VIM3 | VIM3L | Edge     │
   │ scripts/install/Ubuntu-focal-Generic-install.sh   │
   ├───────────────────────────────────────────────────┤
   │             <Install>       <Cancel >             │
   └───────────────────────────────────────────────────┘

Generic Ubuntu focal - minimal ::  installation for: VIM3 .
│ Select installation TYPE:                               │
│ ┌─────────────────────────────────────────────────────┐ │
│ │                       NVME                          │ │
│ │                       USB                           │ │
│ │                       SD                            │ │
│ └─────────────────────────────────────────────────────┘ │
│                                                         │
│                                                         │
│                                                         │
├─────────────────────────────────────────────────────────┤
│               <  OK  >        <Cancel>                  │
└─────────────────────────────────────────────────────────┘
Generic Ubuntu focal - minimal :: NVME(/dev/nvme0n1) in
│ update/write uboot into:                            │
│ ┌─────────────────────────────────────────────────┐ │
│ │                eMMC  boot areas                 │ │
│ │                SPI   flash                      │ │
│ │                skip  ignore                     │ │
│ └─────────────────────────────────────────────────┘ │
│                                                     │
│                                                     │
│                                                     │
├─────────────────────────────────────────────────────┤
│             <  OK  >       <Cancel>                 │
└─────────────────────────────────────────────────────┘
┌─────────────────Shutdown system────────────────────┐
│          To boot into your new system!             │
│             press Reboot or Poweroff               │
│ - -------------------------------------------- -   │
│ please eject SD card before for reboot from eMMC   │
├────────────────────────────────────────────────────┤
│       < Reboot >    <Poweroff>    <  Back  >       │
└────────────────────────────────────────────────────┘
root@khadas:~# lsb_release -a
Description:    Ubuntu 20.04.3 LTS
Release:        20.04
Codename:       focal
root@khadas:~# uname -a
Linux khadas 5.14.0-rc5 #1 SMP Tue Aug 24 12:26:10 CST 2021 aarch64 aarch64 aarch64 GNU/Linux
root@khadas:~# grep nvme /proc/mounts 
/dev/nvme0n1p2 / ext4 rw,relatime,errors=remount-ro 0 0
/dev/nvme0n1p1 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
/dev/nvme0n1p1 /boot/efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
6 Likes

Dear @hyphop ,
After the latest Krescue update of 12 November I have the issue with WiFi. It is always Off and can’t find any networks to connect.
Could you check it please and fix if it is not only my issue.
In the meantime I will try installing Krescue last version on new empty sd card to check does it make any difference with Wifi.

Big tnx for notification ! already fixed ! plz update Krescue to latest

Krescue online scripts update v0.33

any destination from NVME | USB | SD | eMMC for next systems

  • Armbian-Linux-install.sh
  • Ubuntu-focal-Generic-install.sh

PS: still on testing stage - may be some combination not suitable for NVME or other variant please submit us any issues

Ambian examples

root@khadas-edge:~#
root@khadas-edge:~# uname -a
Linux khadas-edge 5.10.60-rockchip64 #21.08.1 SMP PREEMPT Wed Aug 25 18:56:55 UTC 2021 aarch64 GNU/Linux
root@khadas-edge:~# df | grep /$
/dev/nvme0n1p1 676305456 1597756 667794808   1% /
2 Likes

Whilst I was very impressed with this a few years back, it seem to be pretty much broken now. No krescue SD created will boot therefore it is not possible to use as it ONLY utilises the SD card. Shame! I was expecting to see great improvement after all this time.

EDIT://

Wooooo, I just tried it with a USB thumb-drive and it booted into Krescue ( so I’m forced to withdraw my previously stated disappointment) :innocent:

please tell us more details about problem ?

Well I initially thought that Krescue no longer booted from SD but it seems that might be down to the VIM3 Pro doesn’t like the brand I use. After discovering that I can boot Krescue from a thumb drive however, it seems that the images available haven’t REALLY advanced much and so the whole point of the thing seems to be going to waste. The ATV image only accepts a WiFi connection (completely disregarding my 1GB LAN . Not too sure of the logic behind that? So all in all, it still appears to be a great idea that is riddled with bugs. Fortunately it’s not the ONLY way to load images :smiley: :+1:

Got the same problem with the VIM3_Pie_V210908 image. Seems it might actually be an issue with the image itself as the same image that you burn with AML image brner also has the problem. I guess the point is, you guys should be testing these images before you put them out there to stuff up users’ setups :wink:

i still cant clear understand your real problem ?
android images ? or krescue ?

He is trying to tell us that he cannot get the Lan to work.

@hyphop

I will be flashing android again on my vim3 and will test is lan works.

@Poida
It’s better to note down the bugs and issues in pointers and use simple English for everyone to understand the message you’re trying to convey :wink:
English is (not) everyone’s first language.
Please let us about the other bugs that are present.

Both

I doubt that or there would be no confusion, I AM
English :wink: :rofl:

  1. Krescue just system which can install other system, and for this situation android content will be same doesn’t matter it was written by krescue or by other method
  2. if u have problem with android please submit this issue to android thread

It’s all good. I was curious to have a look at the Android 12 preview. It didn’t work and the latest “stable” Android image (krescue and Amlogic USB Burner versions) presented an issue with Ethernet LAN. Doesn’t matter as I rarely use Android, and every previous backup I made restores perfectly, without any issues. Have a look (or don’t), fix the issues (or don’t). Just reporting what I found :+1:

He is trying to say that krescue is just a flashing and rescue tool.

The issues you’re facing is for images you tried and those issues needs to be reporting on their respective threads.

Example Android Pie is maintained by khadas so look for android pie thread and report it there.

I think ATV is maintain by superceleron as community developer and his thread is different.

So yea you’re reporting the issues on the wrong thread.