Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To have a working emulator can only compile it? #59

Open
Benjamin-Loison opened this issue Jun 15, 2024 · 444 comments
Open

To have a working emulator can only compile it? #59

Benjamin-Loison opened this issue Jun 15, 2024 · 444 comments

Comments

@Benjamin-Loison
Copy link
Owner

Benjamin-Loison commented Jun 15, 2024

https://wiki.lineageos.org/emulator

Would be nice to be able to download the compiled files directly like on Waydroid.

Tracking this issue on my Waydroid fork does not seem appropriate.

See https://discord.com/channels/@me/752997802317185035/1251488897704398900.

Related to Benjamin_Loison/lineageos4microg.github.io/issues/4.

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Jul 5, 2024

@Benjamin-Loison
Copy link
Owner Author

Related to #63.

@Benjamin-Loison
Copy link
Owner Author

Therefore, any apps that depend on some kind of device integrity checks passing, will not work on LineageOS, and while there might be some ways to bypass these checks, we neither support nor endorse any of them.

Source: https://wiki.lineageos.org/quirks/snet/
Source: https://wiki.lineageos.org/devices/FP4/

@Benjamin-Loison
Copy link
Owner Author

waydroid/waydroid#1034

@Benjamin-Loison
Copy link
Owner Author

waydroid_script

@Benjamin-Loison
Copy link
Owner Author

@Benjamin-Loison
Copy link
Owner Author

@Benjamin-Loison
Copy link
Owner Author

@Benjamin-Loison
Copy link
Owner Author

@Benjamin-Loison
Copy link
Owner Author

@Benjamin-Loison
Copy link
Owner Author

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Dec 28, 2024

Wikipedia: MicroG#LineageOS for MicroG (1263368712) does not seem to mention the change of 25/02/24.

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Jan 3, 2025

GmsCore/wiki/Prerequisites seems to be met now on on LineageOS
GmsCore/wiki
GmsCore/wiki/Installation

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Jan 26, 2025

https://wiki.lineageos.org/libvirt-qemu can be useful for untrusted usage.

Warning: The following virtio_* build targets are not officially supported and are maintained by individual LineageOS maintainers. Due to this, unlike Cuttlefish/Emulator/AVD which is guaranteed to function when built, virtio_* build targets carry no such guarantee.
warning
Warning: None of the virtio_* build targets are built by LineageOS build servers, and no OTA updates will be delivered to builds of these targets. As such, you must build all images and update the builds manually.

So let us try emulator again.

So maybe can use for both virtual machines to ease the workflow.

Alternatively can run the emulator within a virtual machine. It may be interesting as the virtual machine documentation looks more complex.

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Jan 26, 2025

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Jan 26, 2025

Should be able to update without loosing current setup preferably.

https://wiki.lineageos.org/libvirt-qemu#adb-sideload

@Benjamin-Loison
Copy link
Owner Author

Should keep data across reboots of the LineageOS setup.

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Jan 26, 2025

It can be an intermediary step to #25.

To ensure portability from a computer to the other can use f/strace to figure out the files needed in build folder.

https://wiki.lineageos.org/emulator#running-the-emulator emulator is less file precise than defining a virtual machine.
https://wiki.lineageos.org/emulator#exporting-for-use-in-android-studioavd

If you now look into the out/target/product/<arch> directory, you will find a ZIP file sdk-repo-linux-system-images.zip that contains all the necessary files for running the emulator image externally.

@Benjamin-Loison
Copy link
Owner Author

I have the feeling already to have built emulator but no according to searching emulator in these repository issues.

@Benjamin-Loison
Copy link
Owner Author

https://wiki.lineageos.org/libvirt-qemu#known-issues is otherwise acceptable it seems.

@Benjamin-Loison
Copy link
Owner Author

avd
Output:
Command 'avd' not found, did you mean:
  command 'aid' from deb id-utils
  command 'bvd' from deb boogie
  command 'atd' from deb at
  command 'and' from deb and
  command 'ava' from deb ava
  command 'vd' from deb visidata
  command 'axd' from deb afnix
Try: sudo apt install <deb name>

@Benjamin-Loison
Copy link
Owner Author

As here need to test on the compiled computer the build, let use my computer.

@Benjamin-Loison
Copy link
Owner Author

mkdir -p ~/android/lineage
git lfs install
Git LFS initialized.
df -h /
Output:
Filesystem                   Size  Used Avail Use% Mounted on
/dev/mapper/nvme0n1p8_crypt  677G  284G  358G  45% /
export USE_CCACHE=1
export CCACHE_EXEC=/usr/bin/ccache
ccache -M 50G
Set cache size limit to 50.0 GB

@Benjamin-Loison
Copy link
Owner Author

repo init -u https://github.com/LineageOS/android.git -b lineage-22.1 --git-lfs --no-clone-bundle
Output:
Downloading Repo source from https://gerrit.googlesource.com/git-repo
remote: Total 9060 (delta 4331), reused 9060 (delta 4331)

... A new version of repo (2.50) is available.
... New version is available at: /home/benjamin_loison/android/lineage/.repo/repo/repo
... The launcher is run from: /usr/bin/repo
!!! The launcher is not writable.  Please talk to your sysadmin or distro
!!! to get an update installed.


Your identity is: Benjamin Loison <[email protected]>
If you want to change this, please re-run 'repo init' with --config-name

repo has been initialized in /home/benjamin_loison/android/lineage

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Jan 26, 2025

date; time repo sync; matrix-commander -m 'Repo sync finished!'
Output:
Sun 26 Jan 17:06:54 CET 2025

... A new version of repo (2.50) is available.
... New version is available at: /home/benjamin_loison/android/lineage/.repo/repo/repo
... The launcher is run from: /usr/bin/repo
!!! The launcher is not writable.  Please talk to your sysadmin or distro
!!! to get an update installed.

Fetching: 100% (1468/1468), done in 1h9m22.804s
device/qcom/sepolicy: Shared project LineageOS/android_device_qcom_sepolicy found, disabling pruning.
device/qcom/sepolicy_vndr/legacy-um: Shared project LineageOS/android_device_qcom_sepolicy_vndr found, disabling pruning.
hardware/qcom-caf/bt: Shared project LineageOS/android_hardware_qcom_bt found, disabling pruning.
hardware/qcom-caf/msm8953/audio: Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.
hardware/qcom-caf/msm8953/display: Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
hardware/qcom-caf/msm8953/media: Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
hardware/qcom-caf/sm8450/audio/agm: Shared project LineageOS/android_vendor_qcom_opensource_agm found, disabling pruning.
hardware/qcom-caf/sm8450/audio/pal: Shared project LineageOS/android_vendor_qcom_opensource_arpal-lx found, disabling pruning.
hardware/qcom-caf/sm8450/audio/primary-hal: Shared project LineageOS/android_hardware_qcom_audio-ar found, disabling pruning.
hardware/qcom-caf/sm8450/data-ipa-cfg-mgr: Shared project LineageOS/android_vendor_qcom_opensource_data-ipa-cfg-mgr found, disabling pruning.
hardware/qcom-caf/wlan: Shared project LineageOS/android_hardware_qcom_wlan found, disabling pruning.
Updating files: 100% (455/455), done.external/TestParameterInjectorUpdating files:  18% (90/497)
Updating files: 100% (11718/11718), done.roid_external_arm-trusted-firmwareUpdating files:  80% (9375/11718)
Updating files: 100% (497/497), done./external/bazelbuild-rules_pythonUpdating files:  89% (443/497)
Updating files: 100% (29303/29303), done.ernal/boringsslUpdating files:  76% (22271/29303)
Updating files: 100% (45347/45347), done.ernal/crcalcUpdating files:  33% (15402/45347)
Updating files: 100% (7561/7561), done.xternal/dagger2Updating files:   2% (188/7561)
Updating files: 100% (15706/15706), done.ernal/jackson-coreUpdating files:  91% (14293/15706)
Updating files: 100% (6272/6272), done.
Updating files: 100% (16102/16102), done.ernal/kotlinx.metadataUpdating files:  99% (15941/16102)
Updating files: 100% (59993/59993), done.ernal/ksoap2Updating files:  99% (59394/59993)
Updating files: 100% (21683/21683), done.ernal/ms-tpm-20-refUpdating files: 100% (21683/21683)
Updating files: 100% (10640/10640), done.ernal/openscreenUpdating files:  95% (10108/10640)
Updating files: 100% (29004/29004), done.ernal/vboot_referenceUpdating files:  95% (27554/29004)
Updating files: 100% (14317/14317), done.ernal/volleyUpdating files:  94% (13458/14317)
Updating files: 100% (3815/3815), done.rameworks/compile/libbccUpdating files:  59% (2251/3815)
Updating files: 100% (5358/5358), done.rameworks/hardware/interfacesUpdating files:  75% (4019/5358)
Updating files: 100% (410/410), done.prebuilts/6.6/x86-64Updating files:  59% (242/410)
Updating files: 100% (618/618), done.
Updating files: 100% (124/124), done.prebuilts/common-modules/virtual-device/mainline/x86-64Updating files:  98% (122/124)
Updating files: 100% (288/288), done.OS/charterUpdating files:  59% (171/288)
Updating files: 100% (862/862), done.m/packages/apps/SystemUIGoUpdating files:  95% (52211/54958)
Updating files: 100% (54958/54958), done.ckages/apps/TvFeedbackConsentUpdating files:  85% (6751/7942)
Updating files: 100% (7942/7942), done.
Updating files: 100% (3243/3243), done./android_packages_apps_UpdaterUpdating files:  99% (3217/3243)
Updating files: 100% (1028/1028), done.packages/modules/NeuralNetworksUpdating files:  90% (926/1028)
Updating files: 100% (7694/7694), done.prebuilts/abi-dumps/platformUpdating files:  99% (7618/7694)
Updating files: 100% (6788/6788), done.prebuilts/checkstyleUpdating files:  18% (1406/7810)
Updating files: 100% (7810/7810), done.prebuilts/build-toolsUpdating files:  68% (5311/7810)
Updating files: 100% (809/809), done.m/prebuilts/clang-toolsUpdating files:   1% (56/5589)
Updating files: 100% (2986/2986), done.
Updating files: 100% (15/15), done.orm/prebuilts/devtoolsUpdating files:  67% (3745/5589)
Updating files: 100% (117/117), done.OS/android_prebuilts_extract-toolsUpdating files:  83% (98/117)
Updating files: 100% (3595/3595), done./android_prebuilts_gcc_linux-x86_arm_arm-linux-androideabi-4.9Updating files:  18% (6110/32856)
Updating files: 100% (3960/3960), done.prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8Updating files:  77% (3069/3960)
Updating files: 100% (5589/5589), done.prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8Updating files:  99% (5534/5589)
Updating files: 100% (144/144), done.OS/android_prebuilts_clang_kernel_linux-x86_clang-r416183bUpdating files:   1% (201/13689)
Updating files: 100% (684/684), done.m/prebuilts/gradle-pluginUpdating files:  23% (7803/32856)
Updating files: 100% (13689/13689), done.ebuilts/jdk/jdk8Updating files:  67% (9172/13689)
Updating files: 100% (1290/1290), done.prebuilts/module_sdk/WifiUpdating files:  73% (942/1290)
Updating files: 100% (159/159), done.m/prebuilts/ndkUpdating files:  40% (13386/32856)
Updating files: 100% (3002/3002), done.prebuilts/r8Updating files:  19% (594/3002)
Updating files: 100% (941/941), done.m/prebuilts/module_sdk/artUpdating files:  58% (269/460)
Updating files: 100% (460/460), done.m/prebuilts/remoteexecution-clientUpdating files:  58% (271/460)
Updating files: 100% (11084/11084), done.ebuilts/miscUpdating files:   0% (12/14789)
Updating files: 100% (1055/1055), done.prebuilts/runtimeUpdating files:   1% (276/22862)
Updating files: 100% (2101/2101), done./android_prebuilts_tools-lineageUpdating files:   2% (458/22862)
Updating files: 100% (21272/21272), done.ebuilts/vndk/v29Updating files:  68% (22343/32856)
Updating files: 100% (18265/18265), done.ebuilts/vndk/v30Updating files:   3% (728/22862)
Updating files: 100% (18387/18387), done.ebuilts/vndk/v31Updating files:  12% (1877/14789)
Updating files: 100% (30673/30673), done.ebuilts/vndk/v32Updating files:  16% (2374/14789)
Updating files: 100% (19651/19651), done.ebuilts/vndk/v33Updating files:  71% (10501/14789)
Updating files: 100% (14789/14789), done.stem/dmesgdUpdating files:  99% (14752/14789)
Updating files: 100% (1209/1209), done.system/memory/libmemunreachableUpdating files:  85% (1028/1209)
Updating files: 100% (1789/1789), done.tools/currysrcUpdating files:  26% (5945/22862)
Updating files: 100% (183/183), done.latform-compatUpdating files:  73% (134/183)
Updating files: 100% (32856/32856), done.ndroid_vendor_qcom_opensource_vibratorUpdating files: 100% (32856/32856)
Updating files: 100% (22862/22862), done.ebuilts/clang/host/linux-x86Updating files:  27% (6253/22862)
Checking out: 100% (1468/1468), done in 3m55.860s
repo sync has finished successfully.

real	73m20.864s
user	101m54.783s
sys	15m49.588s
2025-01-26 18:20:17,501:     INFO: matrix-commander: This message was sent: "Repo sync finished!" to room "!pdsVekCwcOiaJoleKk:matrix.org" as event "$wIq3LqgmBWCc86uSmYcS_Yspe0-kP-dWKrMDxV1tDso".
source build/envsetup.sh
breakfast sdk_phone_x86_64 eng
Output:
Trying dependencies-only mode on a non-existing device tree?

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=15
LINEAGE_VERSION=22.1-20250126-UNOFFICIAL-sdk_phone_x86_64
TARGET_PRODUCT=lineage_sdk_phone_x86_64
TARGET_BUILD_VARIANT=eng
TARGET_ARCH=x86_64
TARGET_ARCH_VARIANT=x86_64
TARGET_2ND_ARCH_VARIANT=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-6.1.0-30-amd64-x86_64-Debian-GNU/Linux-12-(bookworm)
HOST_CROSS_OS=windows
BUILD_ID=AP4A.250105.002
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=device/generic/goldfish device/generic/goldfish-opengl hardware/google/camera hardware/google/camera/devices/EmulatedCamera packages/apps/FMRadio/jni/fmr

Could try compiling ARM on my computer and export it to Oracle Cloud to help Waydroid persons.
Maybe can run ARM build on my computer:

For starting, x86 or x86_64 is recommended, as your computer can run it natively using hardware acceleration.

Tip: If you’re running an ARM computer such as an Apple Silicon Mac, you should choose arm64 for supported LineageOS Versions.
This will significanly improve the emulator performance compared to using x86_64 builds via a translation layer such as Rosetta 2.

@Benjamin-Loison
Copy link
Owner Author

Could be curious and try compiling:

  • TV
  • Automotive

as they seem Emulator compatible.

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Jan 26, 2025

With 40 GB of swap.

date; time mka; matrix-commander -m 'Compilation finished!'

output.txt

emulator

output.txt.gpg.zip

Image

Note that we can scroll.

My 200 % scale in OS settings may be to blame.

emulator
Output:
...
INFO    | Boot completed in 44235 ms
...

on following starts, why is it so long with a computer power?

@Benjamin-Loison
Copy link
Owner Author

DuckDuckGo search sdkmanager emulator.

@Benjamin-Loison
Copy link
Owner Author

./avdmanager list device
Output:
Available devices definitions:
id: 0 or "automotive_1024p_landscape"
    Name: Automotive (1024p landscape)
    OEM : Google
    Tag : android-automotive-playstore
---------
id: 1 or "Galaxy Nexus"
    Name: Galaxy Nexus
    OEM : Google
---------
id: 2 or "desktop_large"
    Name: Large Desktop
    OEM : Google
    Tag : android-desktop
---------
id: 3 or "desktop_medium"
    Name: Medium Desktop
    OEM : Google
    Tag : android-desktop
---------
id: 4 or "medium_phone"
    Name: Medium Phone
    OEM : Generic
---------
id: 5 or "medium_tablet"
    Name: Medium Tablet
    OEM : Generic
---------
id: 6 or "Nexus 10"
    Name: Nexus 10
    OEM : Google
---------
id: 7 or "Nexus 4"
    Name: Nexus 4
    OEM : Google
---------
id: 8 or "Nexus 5"
    Name: Nexus 5
    OEM : Google
---------
id: 9 or "Nexus 5X"
    Name: Nexus 5X
    OEM : Google
---------
id: 10 or "Nexus 6"
    Name: Nexus 6
    OEM : Google
---------
id: 11 or "Nexus 6P"
    Name: Nexus 6P
    OEM : Google
---------
id: 12 or "Nexus 7 2013"
    Name: Nexus 7
    OEM : Google
---------
id: 13 or "Nexus 7"
    Name: Nexus 7 (2012)
    OEM : Google
---------
id: 14 or "Nexus 9"
    Name: Nexus 9
    OEM : Google
---------
id: 15 or "Nexus One"
    Name: Nexus One
    OEM : Google
---------
id: 16 or "Nexus S"
    Name: Nexus S
    OEM : Google
---------
id: 17 or "pixel"
    Name: Pixel
    OEM : Google
---------
id: 18 or "pixel_2"
    Name: Pixel 2
    OEM : Google
---------
id: 19 or "pixel_2_xl"
    Name: Pixel 2 XL
    OEM : Google
---------
id: 20 or "pixel_3"
    Name: Pixel 3
    OEM : Google
---------
id: 21 or "pixel_3_xl"
    Name: Pixel 3 XL
    OEM : Google
---------
id: 22 or "pixel_3a"
    Name: Pixel 3a
    OEM : Google
---------
id: 23 or "pixel_3a_xl"
    Name: Pixel 3a XL
    OEM : Google
---------
id: 24 or "pixel_4"
    Name: Pixel 4
    OEM : Google
---------
id: 25 or "pixel_4_xl"
    Name: Pixel 4 XL
    OEM : Google
---------
id: 26 or "pixel_4a"
    Name: Pixel 4a
    OEM : Google
---------
id: 27 or "pixel_5"
    Name: Pixel 5
    OEM : Google
---------
id: 28 or "pixel_6"
    Name: Pixel 6
    OEM : Google
---------
id: 29 or "pixel_6_pro"
    Name: Pixel 6 Pro
    OEM : Google
---------
id: 30 or "pixel_6a"
    Name: Pixel 6a
    OEM : Google
---------
id: 31 or "pixel_7"
    Name: Pixel 7
    OEM : Google
---------
id: 32 or "pixel_7_pro"
    Name: Pixel 7 Pro
    OEM : Google
---------
id: 33 or "pixel_c"
    Name: Pixel C
    OEM : Google
---------
id: 34 or "pixel_tablet"
    Name: Pixel Tablet
    OEM : Google
---------
id: 35 or "pixel_xl"
    Name: Pixel XL
    OEM : Google
---------
id: 36 or "resizable"
    Name: Resizable (Experimental)
    OEM : Generic
---------
id: 37 or "desktop_small"
    Name: Small Desktop
    OEM : Google
    Tag : android-desktop
---------
id: 38 or "small_phone"
    Name: Small Phone
    OEM : Generic
---------
id: 39 or "tv_1080p"
    Name: Television (1080p)
    OEM : Google
    Tag : android-tv
---------
id: 40 or "tv_4k"
    Name: Television (4K)
    OEM : Google
    Tag : android-tv
---------
id: 41 or "tv_720p"
    Name: Television (720p)
    OEM : Google
    Tag : android-tv
---------
id: 42 or "wearos_large_round"
    Name: Wear OS Large Round
    OEM : Google
    Tag : android-wear
---------
id: 43 or "wearos_rect"
    Name: Wear OS Rectangular
    OEM : Google
    Tag : android-wear
---------
id: 44 or "wearos_small_round"
    Name: Wear OS Small Round
    OEM : Google
    Tag : android-wear
---------
id: 45 or "wearos_square"
    Name: Wear OS Square
    OEM : Google
    Tag : android-wear
---------
id: 46 or "2.7in QVGA"
    Name: 2.7" QVGA
    OEM : Generic
---------
id: 47 or "2.7in QVGA slider"
    Name: 2.7" QVGA slider
    OEM : Generic
---------
id: 48 or "3.2in HVGA slider (ADP1)"
    Name: 3.2" HVGA slider (ADP1)
    OEM : Generic
---------
id: 49 or "3.2in QVGA (ADP2)"
    Name: 3.2" QVGA (ADP2)
    OEM : Generic
---------
id: 50 or "3.3in WQVGA"
    Name: 3.3" WQVGA
    OEM : Generic
---------
id: 51 or "3.4in WQVGA"
    Name: 3.4" WQVGA
    OEM : Generic
---------
id: 52 or "3.7 FWVGA slider"
    Name: 3.7" FWVGA slider
    OEM : Generic
---------
id: 53 or "3.7in WVGA (Nexus One)"
    Name: 3.7" WVGA (Nexus One)
    OEM : Generic
---------
id: 54 or "4in WVGA (Nexus S)"
    Name: 4" WVGA (Nexus S)
    OEM : Generic
---------
id: 55 or "4.65in 720p (Galaxy Nexus)"
    Name: 4.65" 720p (Galaxy Nexus)
    OEM : Generic
---------
id: 56 or "4.7in WXGA"
    Name: 4.7" WXGA
    OEM : Generic
---------
id: 57 or "5.1in WVGA"
    Name: 5.1" WVGA
    OEM : Generic
---------
id: 58 or "5.4in FWVGA"
    Name: 5.4" FWVGA
    OEM : Generic
---------
id: 59 or "6.7in Foldable"
    Name: 6.7" Horizontal Fold-in
    OEM : Generic
---------
id: 60 or "7in WSVGA (Tablet)"
    Name: 7" WSVGA (Tablet)
    OEM : Generic
---------
id: 61 or "7.4in Rollable"
    Name: 7.4" Rollable
    OEM : Generic
---------
id: 62 or "7.6in Foldable"
    Name: 7.6" Fold-in with outer display
    OEM : Generic
---------
id: 63 or "8in Foldable"
    Name: 8" Fold-out
    OEM : Generic
---------
id: 64 or "10.1in WXGA (Tablet)"
    Name: 10.1" WXGA (Tablet)
    OEM : Generic
---------
id: 65 or "13.5in Freeform"
    Name: 13.5" Freeform
    OEM : Generic

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Feb 3, 2025

The Stack Overflow answer 54668368:

sudo apt install -y cpu-checker
Output:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  msr-tools
The following NEW packages will be installed:
  cpu-checker msr-tools
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 18.8 kB of archives.
After this operation, 69.6 kB of additional disk space will be used.
Get:1 http://ftp.fr.debian.org/debian bookworm/main amd64 msr-tools amd64 1.3-5 [10.1 kB]
Get:2 http://ftp.fr.debian.org/debian bookworm/main amd64 cpu-checker amd64 0.7-1.3+b1 [8,764 B]
Fetched 18.8 kB in 5s (3,595 B/s)
Selecting previously unselected package msr-tools.
(Reading database ... 410494 files and directories currently installed.)
Preparing to unpack .../msr-tools_1.3-5_amd64.deb ...
Unpacking msr-tools (1.3-5) ...
Selecting previously unselected package cpu-checker.
Preparing to unpack .../cpu-checker_0.7-1.3+b1_amd64.deb ...
Unpacking cpu-checker (0.7-1.3+b1) ...
Setting up msr-tools (1.3-5) ...
Setting up cpu-checker (0.7-1.3+b1) ...
Processing triggers for man-db (2.11.2-2) ...

on my Debian 12 GNOME laptop.

@Benjamin-Loison
Copy link
Owner Author

kvm-ok
Output:
INFO: /dev/kvm exists
KVM acceleration can be used

@Benjamin-Loison
Copy link
Owner Author

./avdmanager create avd -n test -k 'system-images;android-35;default;arm64-v8a'
Output:
[=======================================] 100% Fetch remote repository...
Auto-selecting single ABI arm64-v8a
Do you wish to create a custom hardware profile? [no]

@Benjamin-Loison
Copy link
Owner Author

./emulator -avd test
Output:
INFO         | Android emulator version 35.3.11.0 (build_id 12836668) (CL:N/A)
INFO         | Graphics backend: gfxstream
INFO         | checking ANDROID_HOME for valid sdk root.
INFO         | checking ANDROID_SDK_ROOT for valid sdk root.
WARNING      | ANDROID_SDK_ROOT is missing.
emulator: WARN: Cannot find valid sdk root from environment variable ANDROID_HOME nor ANDROID_SDK_ROOT,Try to infer from emulator's path
INFO         | guessed sdk root is /home/benjamin_loison/Desktop/android_sdk
WARNING      | platforms subdirectory is missing under /home/benjamin_loison/Desktop/android_sdk, please install it
INFO         | guessed sdk root /home/benjamin_loison/Desktop/android_sdk does not seem to be valid
INFO         | guessed sdk root is /home/benjamin_loison/Desktop
WARNING      | platforms subdirectory is missing under /home/benjamin_loison/Desktop, please install it
INFO         | guessed sdk root /home/benjamin_loison/Desktop does not seem to be valid
INFO         | guessed sdk root is /home/benjamin_loison
WARNING      | platforms subdirectory is missing under /home/benjamin_loison, please install it
INFO         | guessed sdk root /home/benjamin_loison does not seem to be valid
WARNING      | invalid sdk root /home/benjamin_loison
emulator: WARN: Cannot find valid sdk root path.
PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT

@Benjamin-Loison
Copy link
Owner Author

ANDROID_HOME=~/Desktop/android_sdk
echo $ANDROID_HOME
/home/benjamin_loison/Desktop/android_sdk

does not help.

@Benjamin-Loison
Copy link
Owner Author

ANDROID_SDK_ROOT=~/Desktop/android_sdk

does not help.

@Benjamin-Loison
Copy link
Owner Author

export ANDROID_SDK_ROOT=~/Desktop/android_sdk
./emulator -avd test
Output:
INFO         | Android emulator version 35.3.11.0 (build_id 12836668) (CL:N/A)
INFO         | Graphics backend: gfxstream
INFO         | checking ANDROID_HOME for valid sdk root.
INFO         | checking ANDROID_SDK_ROOT for valid sdk root.
WARNING      | platforms subdirectory is missing under /home/benjamin_loison/Desktop/android_sdk, please install it
emulator: WARN: Cannot find valid sdk root from environment variable ANDROID_HOME nor ANDROID_SDK_ROOT,Try to infer from emulator's path
INFO         | guessed sdk root is /home/benjamin_loison/Desktop/android_sdk
WARNING      | platforms subdirectory is missing under /home/benjamin_loison/Desktop/android_sdk, please install it
INFO         | guessed sdk root /home/benjamin_loison/Desktop/android_sdk does not seem to be valid
INFO         | guessed sdk root is /home/benjamin_loison/Desktop
WARNING      | platforms subdirectory is missing under /home/benjamin_loison/Desktop, please install it
INFO         | guessed sdk root /home/benjamin_loison/Desktop does not seem to be valid
INFO         | guessed sdk root is /home/benjamin_loison
WARNING      | platforms subdirectory is missing under /home/benjamin_loison, please install it
INFO         | guessed sdk root /home/benjamin_loison does not seem to be valid
WARNING      | invalid sdk root /home/benjamin_loison
emulator: WARN: Cannot find valid sdk root path.
PANIC: Broken AVD system path. Check your ANDROID_SDK_ROOT value [/home/benjamin_loison/Desktop/android_sdk]!

@Benjamin-Loison
Copy link
Owner Author

./sdkmanager --list | grep platform
Output:
Warning: Errors during XML parse:
Warning: Additionally, the fallback loader failed to parse the XML.
Warning: Errors during XML parse:
Warning: Additionally, the fallback loader failed to parse the XML.
  platform-tools                                                                  | 35.0.2            | Android SDK Platform-Tools                                                
  platforms;android-10                                                            | 2                 | Android SDK Platform 10                                                   
  platforms;android-11                                                            | 2                 | Android SDK Platform 11                                                   
  platforms;android-12                                                            | 3                 | Android SDK Platform 12                                                   
  platforms;android-13                                                            | 1                 | Android SDK Platform 13                                                   
  platforms;android-14                                                            | 4                 | Android SDK Platform 14                                                   
  platforms;android-15                                                            | 5                 | Android SDK Platform 15                                                   
  platforms;android-16                                                            | 5                 | Android SDK Platform 16                                                   
  platforms;android-17                                                            | 3                 | Android SDK Platform 17                                                   
  platforms;android-18                                                            | 3                 | Android SDK Platform 18                                                   
  platforms;android-19                                                            | 4                 | Android SDK Platform 19                                                   
  platforms;android-20                                                            | 2                 | Android SDK Platform 20                                                   
  platforms;android-21                                                            | 2                 | Android SDK Platform 21                                                   
  platforms;android-22                                                            | 2                 | Android SDK Platform 22                                                   
  platforms;android-23                                                            | 3                 | Android SDK Platform 23                                                   
  platforms;android-24                                                            | 2                 | Android SDK Platform 24                                                   
  platforms;android-25                                                            | 3                 | Android SDK Platform 25                                                   
  platforms;android-26                                                            | 2                 | Android SDK Platform 26                                                   
  platforms;android-27                                                            | 3                 | Android SDK Platform 27                                                   
  platforms;android-28                                                            | 6                 | Android SDK Platform 28                                                   
  platforms;android-29                                                            | 5                 | Android SDK Platform 29                                                   
  platforms;android-30                                                            | 3                 | Android SDK Platform 30                                                   
  platforms;android-31                                                            | 1                 | Android SDK Platform 31                                                   
  platforms;android-32                                                            | 1                 | Android SDK Platform 32                                                   
  platforms;android-33                                                            | 3                 | Android SDK Platform 33                                                   
  platforms;android-33-ext4                                                       | 1                 | Android SDK Platform 33-ext4                                              
  platforms;android-33-ext5                                                       | 1                 | Android SDK Platform 33-ext5                                              
  platforms;android-34                                                            | 3                 | Android SDK Platform 34                                                   
  platforms;android-34-ext10                                                      | 1                 | Android SDK Platform 34-ext10                                             
  platforms;android-34-ext11                                                      | 1                 | Android SDK Platform 34-ext11                                             
  platforms;android-34-ext12                                                      | 1                 | Android SDK Platform 34-ext12                                             
  platforms;android-34-ext8                                                       | 1                 | Android SDK Platform 34-ext8                                              
  platforms;android-35                                                            | 2                 | Android SDK Platform 35                                                   
  platforms;android-35-ext14                                                      | 1                 | Android SDK Platform 35-ext14                                             
  platforms;android-7                                                             | 3                 | Android SDK Platform 7                                                    
  platforms;android-8                                                             | 3                 | Android SDK Platform 8                                                    
  platforms;android-9                                                             | 2                 | Android SDK Platform 9                                                    
  platforms;android-Baklava                                                       | 4                 | Android SDK Platform Baklava

@Benjamin-Loison
Copy link
Owner Author

./sdkmanager --install 'platforms;android-35'
Output:
Warning: Errors during XML parse:                                               
Warning: Additionally, the fallback loader failed to parse the XML.             
Warning: Errors during XML parse:                                               
Warning: Additionally, the fallback loader failed to parse the XML.             
[=======================================] 100% Unzipping... android-35/templates

@Benjamin-Loison
Copy link
Owner Author

./emulator -avd test
Output:
INFO         | Android emulator version 35.3.11.0 (build_id 12836668) (CL:N/A)
INFO         | Graphics backend: gfxstream
INFO         | checking ANDROID_HOME for valid sdk root.
INFO         | checking ANDROID_SDK_ROOT for valid sdk root.
WARNING      | platform-tools subdirectory is missing under /home/benjamin_loison/Desktop/android_sdk, please install it
emulator: WARN: Cannot find valid sdk root from environment variable ANDROID_HOME nor ANDROID_SDK_ROOT,Try to infer from emulator's path
INFO         | guessed sdk root is /home/benjamin_loison/Desktop/android_sdk
WARNING      | platform-tools subdirectory is missing under /home/benjamin_loison/Desktop/android_sdk, please install it
INFO         | guessed sdk root /home/benjamin_loison/Desktop/android_sdk does not seem to be valid
INFO         | guessed sdk root is /home/benjamin_loison/Desktop
WARNING      | platforms subdirectory is missing under /home/benjamin_loison/Desktop, please install it
INFO         | guessed sdk root /home/benjamin_loison/Desktop does not seem to be valid
INFO         | guessed sdk root is /home/benjamin_loison
WARNING      | platforms subdirectory is missing under /home/benjamin_loison, please install it
INFO         | guessed sdk root /home/benjamin_loison does not seem to be valid
WARNING      | invalid sdk root /home/benjamin_loison
emulator: WARN: Cannot find valid sdk root path.
PANIC: Broken AVD system path. Check your ANDROID_SDK_ROOT value [/home/benjamin_loison/Desktop/android_sdk]!

@Benjamin-Loison
Copy link
Owner Author

./sdkmanager --install 'platform-tools'
Output:
Warning: Errors during XML parse:                                               
Warning: Additionally, the fallback loader failed to parse the XML.             
Warning: Errors during XML parse:                                               
Warning: Additionally, the fallback loader failed to parse the XML.             
[=======================================] 100% Unzipping... platform-tools/lib64

@Benjamin-Loison
Copy link
Owner Author

./emulator -avd test
Output:
INFO         | Android emulator version 35.3.11.0 (build_id 12836668) (CL:N/A)
INFO         | Graphics backend: gfxstream
INFO         | Found systemPath /home/benjamin_loison/Desktop/android_sdk/system-images/android-35/default/arm64-v8a/
PANIC: Avd's CPU Architecture 'arm64' is not supported by the QEMU2 emulator on x86_64 host.

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Feb 4, 2025

source build/envsetup.sh
export AB_OTA_UPDATER=false
breakfast virtio_x86_64
Output:
In file included from build/make/core/config.mk:394:
In file included from build/make/core/envsetup.mk:351:
build/make/core/product_config.mk:226: error: Cannot locate config makefile for product "lineage_virtio_x86_64".
00:07:41 dumpvars failed with: exit status 1
Device virtio_x86_64 not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS).
Found repository: android_device_virt_virtio_x86_64
Default revision: lineage-22.1
Checking branch info
Checking if device/virt/virtio_x86_64 is fetched from android_device_virt_virtio_x86_64
Adding dependency: LineageOS/android_device_virt_virtio_x86_64 -> device/virt/virtio_x86_64
Syncing repository to retrieve project.

... A new version of repo (2.50) is available.
... New version is available at: /home/benjamin_loison/android/lineage/.repo/repo/repo
... The launcher is run from: /usr/bin/repo
!!! The launcher is not writable.  Please talk to your sysadmin or distro
!!! to get an update installed.

Fetching: 100% (2/2), done in 2.882s
Checking out: 100% (1/1), done in 0.004s
repo sync has finished successfully.
Repository synced!
Looking for dependencies in device/virt/virtio_x86_64
Default revision: lineage-22.1
Checking branch info
Adding dependencies to manifest
Checking if device/virt/virtio-common is fetched from android_device_virt_virtio-common
Adding dependency: LineageOS/android_device_virt_virtio-common -> device/virt/virtio-common
Syncing dependencies

... A new version of repo (2.50) is available.
... New version is available at: /home/benjamin_loison/android/lineage/.repo/repo/repo
... The launcher is run from: /usr/bin/repo
!!! The launcher is not writable.  Please talk to your sysadmin or distro
!!! to get an update installed.

Fetching: 100% (2/2), done in 6.495s
Checking out:  50% (1/2), done in 0.004s
Checking out:  50% (1/2), done in 0.000s
repo sync has finished successfully.
Looking for dependencies in device/virt/virtio-common
Default revision: lineage-22.1
Checking branch info
Adding dependencies to manifest
Checking if device/virt/virt-common is fetched from android_device_virt_virt-common
Adding dependency: LineageOS/android_device_virt_virt-common -> device/virt/virt-common
Syncing dependencies

... A new version of repo (2.50) is available.
... New version is available at: /home/benjamin_loison/android/lineage/.repo/repo/repo
... The launcher is run from: /usr/bin/repo
!!! The launcher is not writable.  Please talk to your sysadmin or distro
!!! to get an update installed.

Fetching: 100% (2/2), done in 1.935s
Checking out:  50% (1/2), done in 0.014s
Checking out:  50% (1/2), done in 0.000s
repo sync has finished successfully.
Looking for dependencies in device/virt/virt-common
Default revision: lineage-22.1
Checking branch info
Default revision: lineage-22.1
Checking branch info
Default revision: lineage-22.1
Checking branch info
Adding dependencies to manifest
Checking if external/mesa is fetched from android_external_mesa
Adding dependency: LineageOS/android_external_mesa -> external/mesa
Checking if kernel/virt/virtio is fetched from android_kernel_virt_virtio
Adding dependency: LineageOS/android_kernel_virt_virtio -> kernel/virt/virtio
Checking if prebuilts/bootmgr is fetched from android_prebuilts_bootmgr
Adding dependency: LineageOS/android_prebuilts_bootmgr -> prebuilts/bootmgr
Syncing dependencies

... A new version of repo (2.50) is available.
... New version is available at: /home/benjamin_loison/android/lineage/.repo/repo/repo
... The launcher is run from: /usr/bin/repo
!!! The launcher is not writable.  Please talk to your sysadmin or distro
!!! to get an update installed.

Fetching: 66% (4/6) 2:59 | 1 job | 2:59 LineageOS/android_kernel_virt_virtio @ kernel/virt/virtio
remote: Enumerating objects: 9605232        
remote: Enumerating objects: 9702532        
remote: Enumerating objects: 9914137, done.        
remote: Counting objects:   0% (1/308905)        
remote: Counting objects:   1% (3090/308905)        
remote: Counting objects:   2% (6179/308905)        
remote: Counting objects:   3% (9268/308905)        
remote: Counting objects:   4% (12357/308905)        
remote: Counting objects:   5% (15446/308905)        
remote: Counting objects:   6% (18535/308905)        
remote: Counting objects:   7% (21624/308905)        
remote: Counting objects:   8% (24713/308905)        
remote: Counting objects:   9% (27802/308905)        
remote: Counting objects:  10% (30891/308905)        
remote: Counting objects:  11% (33980/308905)        
remote: Counting objects:  12% (37069/308905)        
remote: Counting objects:  13% (40158/308905)        
remote: Counting objects:  14% (43247/308905)        
remote: Counting objects:  15% (46336/308905)        
remote: Counting objects:  16% (49425/308905)        
remote: Counting objects:  17% (52514/308905)        
remote: Counting objects:  18% (55603/308905)        
remote: Counting objects:  19% (58692/308905)        
remote: Counting objects:  20% (61781/308905)        
remote: Counting objects:  21% (64871/308905)        
remote: Counting objects:  22% (67960/308905)        
remote: Counting objects:  23% (71049/308905)        
remote: Counting objects:  24% (74138/308905)        
remote: Counting objects:  25% (77227/308905)        
remote: Counting objects:  26% (80316/308905)        
remote: Counting objects:  27% (83405/308905)        
remote: Counting objects:  28% (86494/308905)        
remote: Counting objects:  29% (89583/308905)        
remote: Counting objects:  30% (92672/308905)        
remote: Counting objects:  31% (95761/308905)        
remote: Counting objects:  32% (98850/308905)        
remote: Counting objects:  33% (101939/308905)        
remote: Counting objects:  34% (105028/308905)        
remote: Counting objects:  35% (108117/308905)        
remote: Counting objects:  36% (111206/308905)        
remote: Counting objects:  37% (114295/308905)        
remote: Counting objects:  38% (117384/308905)        
remote: Counting objects:  39% (120473/308905)        
remote: Counting objects:  40% (123562/308905)        
remote: Counting objects:  41% (126652/308905)        
remote: Counting objects:  42% (129741/308905)        
remote: Counting objects:  43% (132830/308905)        
remote: Counting objects:  44% (135919/308905)        
remote: Counting objects:  45% (139008/308905)        
remote: Counting objects:  46% (142097/308905)        
remote: Counting objects:  47% (145186/308905)        
remote: Counting objects:  48% (148275/308905)        
remote: Counting objects:  49% (151364/308905)        
remote: Counting objects:  50% (154453/308905)        
remote: Counting objects:  51% (157542/308905)        
remote: Counting objects:  52% (160631/308905)        
remote: Counting objects:  53% (163720/308905)        
remote: Counting objects:  54% (166809/308905)        
remote: Counting objects:  55% (169898/308905)        
remote: Counting objects:  56% (172987/308905)        
remote: Counting objects:  57% (176076/308905)        
remote: Counting objects:  58% (179165/308905)        
remote: Counting objects:  59% (182254/308905)        
remote: Counting objects:  60% (185343/308905)        
remote: Counting objects:  61% (188433/308905)        
remote: Counting objects:  62% (191522/308905)        
remote: Counting objects:  63% (194611/308905)        
remote: Counting objects:  64% (197700/308905)        
remote: Counting objects:  65% (200789/308905)        
remote: Counting objects:  66% (203878/308905)        
remote: Counting objects:  67% (206967/308905)        
remote: Counting objects:  68% (210056/308905)        
remote: Counting objects:  69% (213145/308905)        
remote: Counting objects:  70% (216234/308905)        
remote: Counting objects:  71% (219323/308905)        
remote: Counting objects:  72% (222412/308905)        
remote: Counting objects:  73% (225501/308905)        
remote: Counting objects:  74% (228590/308905)        
remote: Counting objects:  75% (231679/308905)        
remote: Counting objects:  76% (234768/308905)        
remote: Counting objects:  77% (237857/308905)        
remote: Counting objects:  78% (240946/308905)        
remote: Counting objects:  79% (244035/308905)        
remote: Counting objects:  80% (247124/308905)        
remote: Counting objects:  81% (250214/308905)        
remote: Counting objects:  82% (253303/308905)        
remote: Counting objects:  83% (256392/308905)        
remote: Counting objects:  84% (259481/308905)        
remote: Counting objects:  85% (262570/308905)        
remote: Counting objects:  86% (265659/308905)        
remote: Counting objects:  87% (268748/308905)        
remote: Counting objects:  88% (271837/308905)        
remote: Counting objects:  89% (274926/308905)        
remote: Counting objects:  90% (278015/308905)        
remote: Counting objects:  91% (281104/308905)        
remote: Counting objects:  92% (284193/308905)        
remote: Counting objects:  93% (287282/308905)        
remote: Counting objects:  94% (290371/308905)        
remote: Counting objects:  95% (293460/308905)        
remote: Counting objects:  96% (296549/308905)        
remote: Counting objects:  97% (299638/308905)        
remote: Counting objects:  98% (302727/308905)        
remote: Counting objects:  99% (305816/308905)        
remote: Counting objects: 100% (308905/308905)        
remote: Counting objects: 100% (308905/308905), done.        
remote: Compressing objects:   0% (1/8598)        
remote: Compressing objects:   0% (54/8598)        
remote: Compressing objects:   1% (86/8598)        
remote: Compressing objects:   1% (120/8598)        
remote: Compressing objects:   2% (172/8598)        
remote: Compressing objects:   2% (186/8598)        
remote: Compressing objects:   3% (258/8598)        
remote: Compressing objects:   3% (263/8598)        
remote: Compressing objects:   4% (344/8598)        
remote: Compressing objects:   4% (348/8598)        
remote: Compressing objects:   5% (430/8598)        
remote: Compressing objects:   5% (445/8598)        
remote: Compressing objects:   6% (516/8598)        
remote: Compressing objects:   6% (543/8598)        
remote: Compressing objects:   7% (602/8598)        
remote: Compressing objects:   7% (657/8598)        
remote: Compressing objects:   8% (688/8598)        
remote: Compressing objects:   9% (774/8598)        
remote: Compressing objects:   9% (803/8598)        
remote: Compressing objects:  10% (860/8598)        
remote: Compressing objects:  11% (946/8598)        
remote: Compressing objects:  11% (958/8598)        
remote: Compressing objects:  12% (1032/8598)        
remote: Compressing objects:  13% (1118/8598)        
remote: Compressing objects:  13% (1141/8598)        
remote: Compressing objects:  14% (1204/8598)        
remote: Compressing objects:  15% (1290/8598)        
remote: Compressing objects:  15% (1335/8598)        
remote: Compressing objects:  16% (1376/8598)        
remote: Compressing objects:  17% (1462/8598)        
remote: Compressing objects:  17% (1542/8598)        
remote: Compressing objects:  18% (1548/8598)        
remote: Compressing objects:  19% (1634/8598)        
remote: Compressing objects:  20% (1720/8598)        
remote: Compressing objects:  20% (1776/8598)        
remote: Compressing objects:  21% (1806/8598)        
remote: Compressing objects:  22% (1892/8598)        
remote: Compressing objects:  23% (1978/8598)        
remote: Compressing objects:  23% (2049/8598)        
remote: Compressing objects:  24% (2064/8598)        
remote: Compressing objects:  25% (2150/8598)        
remote: Compressing objects:  26% (2236/8598)        
remote: Compressing objects:  27% (2322/8598)        
remote: Compressing objects:  27% (2380/8598)        
remote: Compressing objects:  28% (2408/8598)        
remote: Compressing objects:  29% (2494/8598)        
remote: Compressing objects:  30% (2580/8598)        
remote: Compressing objects:  31% (2666/8598)        
remote: Compressing objects:  32% (2752/8598)        
remote: Compressing objects:  32% (2760/8598)        
remote: Compressing objects:  33% (2838/8598)        
remote: Compressing objects:  34% (2924/8598)        
remote: Compressing objects:  35% (3010/8598)        
remote: Compressing objects:  36% (3096/8598)        
remote: Compressing objects:  36% (3180/8598)        
remote: Compressing objects:  37% (3182/8598)        
remote: Compressing objects:  38% (3268/8598)        
remote: Compressing objects:  39% (3354/8598)        
remote: Compressing objects:  40% (3440/8598)        
remote: Compressing objects:  41% (3526/8598)        
remote: Compressing objects:  42% (3612/8598)        
remote: Compressing objects:  43% (3698/8598)        
remote: Compressing objects:  43% (3713/8598)        
remote: Compressing objects:  44% (3784/8598)        
remote: Compressing objects:  45% (3870/8598)        
remote: Compressing objects:  46% (3956/8598)        
remote: Compressing objects:  47% (4042/8598)        
remote: Compressing objects:  48% (4128/8598)        
remote: Compressing objects:  49% (4214/8598)        
remote: Compressing objects:  50% (4299/8598)        
remote: Compressing objects:  51% (4385/8598)        
remote: Compressing objects:  51% (4435/8598)        
remote: Compressing objects:  52% (4471/8598)        
remote: Compressing objects:  53% (4557/8598)        
remote: Compressing objects:  54% (4643/8598)        
remote: Compressing objects:  55% (4729/8598)        
remote: Compressing objects:  56% (4815/8598)        
remote: Compressing objects:  57% (4901/8598)        
remote: Compressing objects:  58% (4987/8598)        
remote: Compressing objects:  59% (5073/8598)        
remote: Compressing objects:  60% (5159/8598)        
remote: Compressing objects:  61% (5245/8598)        
remote: Compressing objects:  62% (5331/8598)        
remote: Compressing objects:  63% (5417/8598)        
remote: Compressing objects:  64% (5503/8598)        
remote: Compressing objects:  65% (5589/8598)        
remote: Compressing objects:  66% (5675/8598)        
remote: Compressing objects:  67% (5761/8598)        
remote: Compressing objects:  67% (5769/8598)        
remote: Compressing objects:  68% (5847/8598)        
remote: Compressing objects:  69% (5933/8598)        
remote: Compressing objects:  70% (6019/8598)        
remote: Compressing objects:  71% (6105/8598)        
remote: Compressing objects:  72% (6191/8598)        
remote: Compressing objects:  73% (6277/8598)        
remote: Compressing objects:  74% (6363/8598)        
remote: Compressing objects:  75% (6449/8598)        
remote: Compressing objects:  76% (6535/8598)        
remote: Compressing objects:  77% (6621/8598)        
remote: Compressing objects:  78% (6707/8598)        
remote: Compressing objects:  79% (6793/8598)        
remote: Compressing objects:  80% (6879/8598)        
remote: Compressing objects:  81% (6965/8598)        
remote: Compressing objects:  82% (7051/8598)        
remote: Compressing objects:  83% (7137/8598)        
remote: Compressing objects:  84% (7223/8598)        
remote: Compressing objects:  85% (7309/8598)        
remote: Compressing objects:  86% (7395/8598)        
remote: Compressing objects:  87% (7481/8598)        
remote: Compressing objects:  88% (7567/8598)        
remote: Compressing objects:  89% (7653/8598)        
remote: Compressing objects:  90% (7739/8598)        
remote: Compressing objects:  91% (7825/8598)        
remote: Compressing objects:  92% (7911/8598)        
remote: Compressing objects:  93% (7997/8598)        
remote: Compressing objects:  94% (8083/8598)        
remote: Compressing objects:  95% (8169/8598)        
remote: Compressing objects:  96% (8255/8598)        
remote: Compressing objects:  97% (8341/8598)        
remote: Compressing objects:  98% (8427/8598)        
remote: Compressing objects:  99% (8513/8598)        
remote: Compressing objects: 100% (8598/8598)        
remote: Compressing objects: 100% (8598/8598), done.        
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 2215 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output

LineageOS/android_kernel_virt_virtio:
remote: Enumerating objects: 9605232        
remote: Enumerating objects: 9702532        
remote: Enumerating objects: 9914137, done.        
remote: Counting objects:   0% (1/308905)        
remote: Counting objects:   1% (3090/308905)        
remote: Counting objects:   2% (6179/308905)        
remote: Counting objects:   3% (9268/308905)        
remote: Counting objects:   4% (12357/308905)        
remote: Counting objects:   5% (15446/308905)        
remote: Counting objects:   6% (18535/308905)        
remote: Counting objects:   7% (21624/308905)        
remote: Counting objects:   8% (24713/308905)        
remote: Counting objects:   9% (27802/308905)        
remote: Counting objects:  10% (30891/308905)        
remote: Counting objects:  11% (33980/308905)        
remote: Counting objects:  12% (37069/308905)        
remote: Counting objects:  13% (40158/308905)        
remote: Counting objects:  14% (43247/308905)        
remote: Counting objects:  15% (46336/308905)        
remote: Counting objects:  16% (49425/308905)        
remote: Counting objects:  17% (52514/308905)        
remote: Counting objects:  18% (55603/308905)        
remote: Counting objects:  19% (58692/308905)        
remote: Counting objects:  20% (61781/308905)        
remote: Counting objects:  21% (64871/308905)        
remote: Counting objects:  22% (67960/308905)        
remote: Counting objects:  23% (71049/308905)        
remote: Counting objects:  24% (74138/308905)        
remote: Counting objects:  25% (77227/308905)        
remote: Counting objects:  26% (80316/308905)        
remote: Counting objects:  27% (83405/308905)        
remote: Counting objects:  28% (86494/308905)        
remote: Counting objects:  29% (89583/308905)        
remote: Counting objects:  30% (92672/308905)        
remote: Counting objects:  31% (95761/308905)        
remote: Counting objects:  32% (98850/308905)        
remote: Counting objects:  33% (101939/308905)        
remote: Counting objects:  34% (105028/308905)        
remote: Counting objects:  35% (108117/308905)        
remote: Counting objects:  36% (111206/308905)        
remote: Counting objects:  37% (114295/308905)        
remote: Counting objects:  38% (117384/308905)        
remote: Counting objects:  39% (120473/308905)        
remote: Counting objects:  40% (123562/308905)        
remote: Counting objects:  41% (126652/308905)        
remote: Counting objects:  42% (129741/308905)        
remote: Counting objects:  43% (132830/308905)        
remote: Counting objects:  44% (135919/308905)        
remote: Counting objects:  45% (139008/308905)        
remote: Counting objects:  46% (142097/308905)        
remote: Counting objects:  47% (145186/308905)        
remote: Counting objects:  48% (148275/308905)        
remote: Counting objects:  49% (151364/308905)        
remote: Counting objects:  50% (154453/308905)        
remote: Counting objects:  51% (157542/308905)        
remote: Counting objects:  52% (160631/308905)        
remote: Counting objects:  53% (163720/308905)        
remote: Counting objects:  54% (166809/308905)        
remote: Counting objects:  55% (169898/308905)        
remote: Counting objects:  56% (172987/308905)        
remote: Counting objects:  57% (176076/308905)        
remote: Counting objects:  58% (179165/308905)        
remote: Counting objects:  59% (182254/308905)        
remote: Counting objects:  60% (185343/308905)        
remote: Counting objects:  61% (188433/308905)        
remote: Counting objects:  62% (191522/308905)        
remote: Counting objects:  63% (194611/308905)        
remote: Counting objects:  64% (197700/308905)        
remote: Counting objects:  65% (200789/308905)        
remote: Counting objects:  66% (203878/308905)        
remote: Counting objects:  67% (206967/308905)        
remote: Counting objects:  68% (210056/308905)        
remote: Counting objects:  69% (213145/308905)        
remote: Counting objects:  70% (216234/308905)        
remote: Counting objects:  71% (219323/308905)        
remote: Counting objects:  72% (222412/308905)        
remote: Counting objects:  73% (225501/308905)        
remote: Counting objects:  74% (228590/308905)        
remote: Counting objects:  75% (231679/308905)        
remote: Counting objects:  76% (234768/308905)        
remote: Counting objects:  77% (237857/308905)        
remote: Counting objects:  78% (240946/308905)        
remote: Counting objects:  79% (244035/308905)        
remote: Counting objects:  80% (247124/308905)        
remote: Counting objects:  81% (250214/308905)        
remote: Counting objects:  82% (253303/308905)        
remote: Counting objects:  83% (256392/308905)        
remote: Counting objects:  84% (259481/308905)        
remote: Counting objects:  85% (262570/308905)        
remote: Counting objects:  86% (265659/308905)        
remote: Counting objects:  87% (268748/308905)        
remote: Counting objects:  88% (271837/308905)        
remote: Counting objects:  89% (274926/308905)        
remote: Counting objects:  90% (278015/308905)        
remote: Counting objects:  91% (281104/308905)        
remote: Counting objects:  92% (284193/308905)        
remote: Counting objects:  93% (287282/308905)        
remote: Counting objects:  94% (290371/308905)        
remote: Counting objects:  95% (293460/308905)        
remote: Counting objects:  96% (296549/308905)        
remote: Counting objects:  97% (299638/308905)        
remote: Counting objects:  98% (302727/308905)        
remote: Counting objects:  99% (305816/308905)        
remote: Counting objects: 100% (308905/308905)        
remote: Counting objects: 100% (308905/308905), done.        
remote: Compressing objects:   0% (1/8598)        
remote: Compressing objects:   0% (54/8598)        
remote: Compressing objects:   1% (86/8598)        
remote: Compressing objects:   1% (120/8598)        
remote: Compressing objects:   2% (172/8598)        
remote: Compressing objects:   2% (186/8598)        
remote: Compressing objects:   3% (258/8598)        
remote: Compressing objects:   3% (263/8598)        
remote: Compressing objects:   4% (344/8598)        
remote: Compressing objects:   4% (348/8598)        
remote: Compressing objects:   5% (430/8598)        
remote: Compressing objects:   5% (445/8598)        
remote: Compressing objects:   6% (516/8598)        
remote: Compressing objects:   6% (543/8598)        
remote: Compressing objects:   7% (602/8598)        
remote: Compressing objects:   7% (657/8598)        
remote: Compressing objects:   8% (688/8598)        
remote: Compressing objects:   9% (774/8598)        
remote: Compressing objects:   9% (803/8598)        
remote: Compressing objects:  10% (860/8598)        
remote: Compressing objects:  11% (946/8598)        
remote: Compressing objects:  11% (958/8598)        
remote: Compressing objects:  12% (1032/8598)        
remote: Compressing objects:  13% (1118/8598)        
remote: Compressing objects:  13% (1141/8598)        
remote: Compressing objects:  14% (1204/8598)        
remote: Compressing objects:  15% (1290/8598)        
remote: Compressing objects:  15% (1335/8598)        
remote: Compressing objects:  16% (1376/8598)        
remote: Compressing objects:  17% (1462/8598)        
remote: Compressing objects:  17% (1542/8598)        
remote: Compressing objects:  18% (1548/8598)        
remote: Compressing objects:  19% (1634/8598)        
remote: Compressing objects:  20% (1720/8598)        
remote: Compressing objects:  20% (1776/8598)        
remote: Compressing objects:  21% (1806/8598)        
remote: Compressing objects:  22% (1892/8598)        
remote: Compressing objects:  23% (1978/8598)        
remote: Compressing objects:  23% (2049/8598)        
remote: Compressing objects:  24% (2064/8598)        
remote: Compressing objects:  25% (2150/8598)        
remote: Compressing objects:  26% (2236/8598)        
remote: Compressing objects:  27% (2322/8598)        
remote: Compressing objects:  27% (2380/8598)        
remote: Compressing objects:  28% (2408/8598)        
remote: Compressing objects:  29% (2494/8598)        
remote: Compressing objects:  30% (2580/8598)        
remote: Compressing objects:  31% (2666/8598)        
remote: Compressing objects:  32% (2752/8598)        
remote: Compressing objects:  32% (2760/8598)        
remote: Compressing objects:  33% (2838/8598)        
remote: Compressing objects:  34% (2924/8598)        
remote: Compressing objects:  35% (3010/8598)        
remote: Compressing objects:  36% (3096/8598)        
remote: Compressing objects:  36% (3180/8598)        
remote: Compressing objects:  37% (3182/8598)        
remote: Compressing objects:  38% (3268/8598)        
remote: Compressing objects:  39% (3354/8598)        
remote: Compressing objects:  40% (3440/8598)        
remote: Compressing objects:  41% (3526/8598)        
remote: Compressing objects:  42% (3612/8598)        
remote: Compressing objects:  43% (3698/8598)        
remote: Compressing objects:  43% (3713/8598)        
remote: Compressing objects:  44% (3784/8598)        
remote: Compressing objects:  45% (3870/8598)        
remote: Compressing objects:  46% (3956/8598)        
remote: Compressing objects:  47% (4042/8598)        
remote: Compressing objects:  48% (4128/8598)        
remote: Compressing objects:  49% (4214/8598)        
remote: Compressing objects:  50% (4299/8598)        
remote: Compressing objects:  51% (4385/8598)        
remote: Compressing objects:  51% (4435/8598)        
remote: Compressing objects:  52% (4471/8598)        
remote: Compressing objects:  53% (4557/8598)        
remote: Compressing objects:  54% (4643/8598)        
remote: Compressing objects:  55% (4729/8598)        
remote: Compressing objects:  56% (4815/8598)        
remote: Compressing objects:  57% (4901/8598)        
remote: Compressing objects:  58% (4987/8598)        
remote: Compressing objects:  59% (5073/8598)        
remote: Compressing objects:  60% (5159/8598)        
remote: Compressing objects:  61% (5245/8598)        
remote: Compressing objects:  62% (5331/8598)        
remote: Compressing objects:  63% (5417/8598)        
remote: Compressing objects:  64% (5503/8598)        
remote: Compressing objects:  65% (5589/8598)        
remote: Compressing objects:  66% (5675/8598)        
remote: Compressing objects:  67% (5761/8598)        
remote: Compressing objects:  67% (5769/8598)        
remote: Compressing objects:  68% (5847/8598)        
remote: Compressing objects:  69% (5933/8598)        
remote: Compressing objects:  70% (6019/8598)        
remote: Compressing objects:  71% (6105/8598)        
remote: Compressing objects:  72% (6191/8598)        
remote: Compressing objects:  73% (6277/8598)        
remote: Compressing objects:  74% (6363/8598)        
remote: Compressing objects:  75% (6449/8598)        
remote: Compressing objects:  76% (6535/8598)        
remote: Compressing objects:  77% (6621/8598)        
remote: Compressing objects:  78% (6707/8598)        
remote: Compressing objects:  79% (6793/8598)        
remote: Compressing objects:  80% (6879/8598)        
remote: Compressing objects:  81% (6965/8598)        
remote: Compressing objects:  82% (7051/8598)        
remote: Compressing objects:  83% (7137/8598)        
remote: Compressing objects:  84% (7223/8598)        
remote: Compressing objects:  85% (7309/8598)        
remote: Compressing objects:  86% (7395/8598)        
remote: Compressing objects:  87% (7481/8598)        
remote: Compressing objects:  88% (7567/8598)        
remote: Compressing objects:  89% (7653/8598)        
remote: Compressing objects:  90% (7739/8598)        
remote: Compressing objects:  91% (7825/8598)        
remote: Compressing objects:  92% (7911/8598)        
remote: Compressing objects:  93% (7997/8598)        
remote: Compressing objects:  94% (8083/8598)        
remote: Compressing objects:  95% (8169/8598)        
remote: Compressing objects:  96% (8255/8598)        
remote: Compressing objects:  97% (8341/8598)        
remote: Compressing objects:  98% (8427/8598)        
remote: Compressing objects:  99% (8513/8598)        
remote: Compressing objects: 100% (8598/8598)        
remote: Compressing objects: 100% (8598/8598), done.        
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 2215 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
LineageOS/android_kernel_virt_virtio: sleeping 4.0 seconds before retrying
remote: Enumerating objects: 9605232        
remote: Enumerating objects: 9914137, done.        
remote: Counting objects:   0% (1/308905)        
remote: Counting objects:   1% (3090/308905)        
remote: Counting objects:   2% (6179/308905)        
remote: Counting objects:   3% (9268/308905)        
remote: Counting objects:   4% (12357/308905)        
remote: Counting objects:   5% (15446/308905)        
remote: Counting objects:   6% (18535/308905)        
remote: Counting objects:   7% (21624/308905)        
remote: Counting objects:   8% (24713/308905)        
remote: Counting objects:   9% (27802/308905)        
remote: Counting objects:  10% (30891/308905)        
remote: Counting objects:  11% (33980/308905)        
remote: Counting objects:  12% (37069/308905)        
remote: Counting objects:  13% (40158/308905)        
remote: Counting objects:  14% (43247/308905)        
remote: Counting objects:  15% (46336/308905)        
remote: Counting objects:  16% (49425/308905)        
remote: Counting objects:  17% (52514/308905)        
remote: Counting objects:  18% (55603/308905)        
remote: Counting objects:  19% (58692/308905)        
remote: Counting objects:  20% (61781/308905)        
remote: Counting objects:  21% (64871/308905)        
remote: Counting objects:  22% (67960/308905)        
remote: Counting objects:  23% (71049/308905)        
remote: Counting objects:  24% (74138/308905)        
remote: Counting objects:  25% (77227/308905)        
remote: Counting objects:  26% (80316/308905)        
remote: Counting objects:  27% (83405/308905)        
remote: Counting objects:  28% (86494/308905)        
remote: Counting objects:  29% (89583/308905)        
remote: Counting objects:  30% (92672/308905)        
remote: Counting objects:  31% (95761/308905)        
remote: Counting objects:  32% (98850/308905)        
remote: Counting objects:  33% (101939/308905)        
remote: Counting objects:  34% (105028/308905)        
remote: Counting objects:  35% (108117/308905)        
remote: Counting objects:  36% (111206/308905)        
remote: Counting objects:  37% (114295/308905)        
remote: Counting objects:  38% (117384/308905)        
remote: Counting objects:  39% (120473/308905)        
remote: Counting objects:  40% (123562/308905)        
remote: Counting objects:  41% (126652/308905)        
remote: Counting objects:  42% (129741/308905)        
remote: Counting objects:  43% (132830/308905)        
remote: Counting objects:  44% (135919/308905)        
remote: Counting objects:  45% (139008/308905)        
remote: Counting objects:  46% (142097/308905)        
remote: Counting objects:  47% (145186/308905)        
remote: Counting objects:  48% (148275/308905)        
remote: Counting objects:  49% (151364/308905)        
remote: Counting objects:  50% (154453/308905)        
remote: Counting objects:  51% (157542/308905)        
remote: Counting objects:  52% (160631/308905)        
remote: Counting objects:  53% (163720/308905)        
remote: Counting objects:  54% (166809/308905)        
remote: Counting objects:  55% (169898/308905)        
remote: Counting objects:  56% (172987/308905)        
remote: Counting objects:  57% (176076/308905)        
remote: Counting objects:  58% (179165/308905)        
remote: Counting objects:  59% (182254/308905)        
remote: Counting objects:  60% (185343/308905)        
remote: Counting objects:  61% (188433/308905)        
remote: Counting objects:  62% (191522/308905)        
remote: Counting objects:  63% (194611/308905)        
remote: Counting objects:  64% (197700/308905)        
remote: Counting objects:  65% (200789/308905)        
remote: Counting objects:  66% (203878/308905)        
remote: Counting objects:  67% (206967/308905)        
remote: Counting objects:  68% (210056/308905)        
remote: Counting objects:  69% (213145/308905)        
remote: Counting objects:  70% (216234/308905)        
remote: Counting objects:  71% (219323/308905)        
remote: Counting objects:  72% (222412/308905)        
remote: Counting objects:  73% (225501/308905)        
remote: Counting objects:  74% (228590/308905)        
remote: Counting objects:  75% (231679/308905)        
remote: Counting objects:  76% (234768/308905)        
remote: Counting objects:  77% (237857/308905)        
remote: Counting objects:  78% (240946/308905)        
remote: Counting objects:  79% (244035/308905)        
remote: Counting objects:  80% (247124/308905)        
remote: Counting objects:  81% (250214/308905)        
remote: Counting objects:  82% (253303/308905)        
remote: Counting objects:  83% (256392/308905)        
remote: Counting objects:  84% (259481/308905)        
remote: Counting objects:  85% (262570/308905)        
remote: Counting objects:  86% (265659/308905)        
remote: Counting objects:  87% (268748/308905)        
remote: Counting objects:  88% (271837/308905)        
remote: Counting objects:  89% (274926/308905)        
remote: Counting objects:  90% (278015/308905)        
remote: Counting objects:  91% (281104/308905)        
remote: Counting objects:  92% (284193/308905)        
remote: Counting objects:  93% (287282/308905)        
remote: Counting objects:  94% (290371/308905)        
remote: Counting objects:  95% (293460/308905)        
remote: Counting objects:  96% (296549/308905)        
remote: Counting objects:  97% (299638/308905)        
remote: Counting objects:  98% (302727/308905)        
remote: Counting objects:  99% (305816/308905)        
remote: Counting objects: 100% (308905/308905)        
remote: Counting objects: 100% (308905/308905), done.        
remote: Compressing objects:   0% (1/8598)        
remote: Compressing objects:   0% (54/8598)        
remote: Compressing objects:   1% (86/8598)        
remote: Compressing objects:   1% (121/8598)        
remote: Compressing objects:   2% (172/8598)        
remote: Compressing objects:   2% (188/8598)        
remote: Compressing objects:   3% (258/8598)        
remote: Compressing objects:   3% (266/8598)        
remote: Compressing objects:   4% (344/8598)        
remote: Compressing objects:   4% (351/8598)        
remote: Compressing objects:   5% (430/8598)        
remote: Compressing objects:   5% (448/8598)        
remote: Compressing objects:   6% (516/8598)        
remote: Compressing objects:   6% (548/8598)        
remote: Compressing objects:   7% (602/8598)        
remote: Compressing objects:   7% (664/8598)        
remote: Compressing objects:   8% (688/8598)        
remote: Compressing objects:   9% (774/8598)        
remote: Compressing objects:   9% (811/8598)        
remote: Compressing objects:  10% (860/8598)        
remote: Compressing objects:  11% (946/8598)        
remote: Compressing objects:  11% (967/8598)        
remote: Compressing objects:  12% (1032/8598)        
remote: Compressing objects:  13% (1118/8598)        
remote: Compressing objects:  13% (1152/8598)        
remote: Compressing objects:  14% (1204/8598)        
remote: Compressing objects:  15% (1290/8598)        
remote: Compressing objects:  15% (1346/8598)        
remote: Compressing objects:  16% (1376/8598)        
remote: Compressing objects:  17% (1462/8598)        
remote: Compressing objects:  18% (1548/8598)        
remote: Compressing objects:  18% (1566/8598)        
remote: Compressing objects:  19% (1634/8598)        
remote: Compressing objects:  20% (1720/8598)        
remote: Compressing objects:  20% (1804/8598)        
remote: Compressing objects:  21% (1806/8598)        
remote: Compressing objects:  22% (1892/8598)        
remote: Compressing objects:  23% (1978/8598)        
remote: Compressing objects:  24% (2064/8598)        
remote: Compressing objects:  24% (2084/8598)        
remote: Compressing objects:  25% (2150/8598)        
remote: Compressing objects:  26% (2236/8598)        
remote: Compressing objects:  27% (2322/8598)        
remote: Compressing objects:  28% (2408/8598)        
remote: Compressing objects:  28% (2421/8598)        
remote: Compressing objects:  29% (2494/8598)        
remote: Compressing objects:  30% (2580/8598)        
remote: Compressing objects:  31% (2666/8598)        
remote: Compressing objects:  32% (2752/8598)        
remote: Compressing objects:  32% (2811/8598)        
remote: Compressing objects:  33% (2838/8598)        
remote: Compressing objects:  34% (2924/8598)        
remote: Compressing objects:  35% (3010/8598)        
remote: Compressing objects:  36% (3096/8598)        
remote: Compressing objects:  37% (3182/8598)        
remote: Compressing objects:  37% (3237/8598)        
remote: Compressing objects:  38% (3268/8598)        
remote: Compressing objects:  39% (3354/8598)        
remote: Compressing objects:  40% (3440/8598)        
remote: Compressing objects:  41% (3526/8598)        
remote: Compressing objects:  42% (3612/8598)        
remote: Compressing objects:  43% (3698/8598)        
remote: Compressing objects:  44% (3784/8598)        
remote: Compressing objects:  44% (3809/8598)        
remote: Compressing objects:  45% (3870/8598)        
remote: Compressing objects:  46% (3956/8598)        
remote: Compressing objects:  47% (4042/8598)        
remote: Compressing objects:  48% (4128/8598)        
remote: Compressing objects:  49% (4214/8598)        
remote: Compressing objects:  50% (4299/8598)        
remote: Compressing objects:  51% (4385/8598)        
remote: Compressing objects:  52% (4471/8598)        
remote: Compressing objects:  53% (4557/8598)        
remote: Compressing objects:  53% (4586/8598)        
remote: Compressing objects:  54% (4643/8598)        
remote: Compressing objects:  55% (4729/8598)        
remote: Compressing objects:  56% (4815/8598)        
remote: Compressing objects:  57% (4901/8598)        
remote: Compressing objects:  58% (4987/8598)        
remote: Compressing objects:  59% (5073/8598)        
remote: Compressing objects:  60% (5159/8598)        
remote: Compressing objects:  61% (5245/8598)        
remote: Compressing objects:  62% (5331/8598)        
remote: Compressing objects:  63% (5417/8598)        
remote: Compressing objects:  64% (5503/8598)        
remote: Compressing objects:  65% (5589/8598)        
remote: Compressing objects:  66% (5675/8598)        
remote: Compressing objects:  67% (5761/8598)        
remote: Compressing objects:  68% (5847/8598)        
remote: Compressing objects:  69% (5933/8598)        
remote: Compressing objects:  70% (6019/8598)        
remote: Compressing objects:  71% (6105/8598)        
remote: Compressing objects:  72% (6191/8598)        
remote: Compressing objects:  73% (6277/8598)        
remote: Compressing objects:  74% (6363/8598)        
remote: Compressing objects:  75% (6449/8598)        
remote: Compressing objects:  76% (6535/8598)        
remote: Compressing objects:  77% (6621/8598)        
remote: Compressing objects:  78% (6707/8598)        
remote: Compressing objects:  78% (6731/8598)        
remote: Compressing objects:  79% (6793/8598)        
remote: Compressing objects:  80% (6879/8598)        
remote: Compressing objects:  81% (6965/8598)        
remote: Compressing objects:  82% (7051/8598)        
remote: Compressing objects:  83% (7137/8598)        
remote: Compressing objects:  84% (7223/8598)        
remote: Compressing objects:  85% (7309/8598)        
remote: Compressing objects:  86% (7395/8598)        
remote: Compressing objects:  87% (7481/8598)        
remote: Compressing objects:  88% (7567/8598)        
remote: Compressing objects:  89% (7653/8598)        
remote: Compressing objects:  90% (7739/8598)        
remote: Compressing objects:  91% (7825/8598)        
remote: Compressing objects:  92% (7911/8598)        
remote: Compressing objects:  93% (7997/8598)        
remote: Compressing objects:  94% (8083/8598)        
remote: Compressing objects:  95% (8169/8598)        
remote: Compressing objects:  96% (8255/8598)        
remote: Compressing objects:  97% (8341/8598)        
remote: Compressing objects:  98% (8427/8598)        
remote: Compressing objects:  99% (8513/8598)        
remote: Compressing objects: 100% (8598/8598)        
remote: Compressing objects: 100% (8598/8598), done.        
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 3767 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
error: Cannot fetch LineageOS/android_kernel_virt_virtio from https://github.com/LineageOS/android_kernel_virt_virtio
Fetching: 100% (6/6), done in 14m10.600s
Updating files: 100% (82293/82293), done._external_mesaUpdating files:  35% (29367/82293)
Checking out:  50% (3/6), done in 4.662s
Checking out:  50% (3/6), done in 0.006s
error: Unable to fully sync the tree
error: Downloading network changes failed.
Try re-running with "-j1 --fail-fast" to exit at the first error.
================================================================================
Repo command failed due to the following `SyncError` errors:
GitCommandError: 'fetch --quiet --progress github --force --prune --recurse-submodules=no --tags +refs/heads/lineage-22.1:refs/remotes/github/lineage-22.1 +refs/tags/*:refs/tags/*' on LineageOS/android_kernel_virt_virtio failed
stdout: remote: Enumerating objects: 9605232        
Looking for dependencies in external/mesa
external/mesa has no additional dependencies.
Looking for dependencies in kernel/virt/virtio
kernel/virt/virtio has no additional dependencies.
Looking for dependencies in prebuilts/bootmgr
prebuilts/bootmgr has no additional dependencies.
Done
device/virt/virtio-common/device-common.mk:46: warning: Using source built kernel
device/virt/virtio-common/device-common.mk:46: warning: Using source built kernel
device/virt/virtio-common/device-common.mk:46: warning: Using source built kernel
device/virt/virtio-common/device-common.mk:46: warning: Using source built kernel

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=15
LINEAGE_VERSION=22.1-20250203-UNOFFICIAL-virtio_x86_64
TARGET_PRODUCT=lineage_virtio_x86_64
TARGET_BUILD_VARIANT=userdebug
TARGET_ARCH=x86_64
TARGET_ARCH_VARIANT=sandybridge
HOST_OS=linux
HOST_OS_EXTRA=Linux-6.1.0-30-amd64-x86_64-Debian-GNU/Linux-12-(bookworm)
HOST_CROSS_OS=windows
BUILD_ID=AP4A.250105.002
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=device/google/cuttlefish/shared/sensors/multihal device/generic/goldfish device/virt/virt-common device/virt/virtio-common device/virt/virtio_x86_64 packages/apps/FMRadio/jni/fmr
============================================
date; time m espimage-install; matrix-commander -m 'Build finished!'

output.txt

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Feb 4, 2025

Have I tested my ARM emulator system image build on my Debian 12 GNOME laptop? Because it is what I am trying to do with closed-source components currently. Yes, see #issuecomment-2615408546.

@Benjamin-Loison
Copy link
Owner Author

date; time m espimage-install; matrix-commander -m 'Build finished!'

output.txt

@Benjamin-Loison
Copy link
Owner Author

ls -lh out/target/product/virtio_x86_64/
Output:
total 2.8G
-rw-r--r--  1 benjamin_loison benjamin_loison 1.9M Feb  4 10:46 all_modules.txt
-rw-r--r--  1 benjamin_loison benjamin_loison    1 Feb  4 11:15 android-info-extra.txt
-rw-r--r--  1 benjamin_loison benjamin_loison   28 Feb  4 01:38 android-info.txt
drwxr-xr-x 40 benjamin_loison benjamin_loison 4.0K Feb  4 11:14 apex
-rw-r--r--  1 benjamin_loison benjamin_loison  21M Feb  4 11:19 boot.img
-rw-r--r--  1 benjamin_loison benjamin_loison   93 Feb  4 10:46 build_fingerprint.txt
-rw-r--r--  1 benjamin_loison benjamin_loison   50 Feb  4 10:46 build_thumbprint.txt
drwxr-xr-x  2 benjamin_loison benjamin_loison 4.0K Feb  4 11:15 cache
-rw-r--r--  1 benjamin_loison benjamin_loison  50M Feb  4 11:15 cache.img
-rw-r--r--  1 benjamin_loison benjamin_loison 190K Feb  4 00:24 clean_steps.mk
-rw-r--r--  1 benjamin_loison benjamin_loison 8.0M Feb  4 11:19 combined-ramdisk.img
-rw-r--r--  1 benjamin_loison benjamin_loison 8.0M Feb  4 11:19 combined-ramdisk.img-without_bootconfig
-rw-r--r--  1 benjamin_loison benjamin_loison  22M Feb  4 11:19 combined-ramdisk-recovery.img
-rw-r--r--  1 benjamin_loison benjamin_loison  22M Feb  4 11:19 combined-ramdisk-recovery.img-without_bootconfig
drwxr-xr-x  2 benjamin_loison benjamin_loison 4.0K Feb  4 01:37 debug_ramdisk
drwxr-xr-x  2 benjamin_loison benjamin_loison  12K Feb  4 11:15 dexpreopt_config
-rw-r--r--  1 benjamin_loison benjamin_loison  89M Feb  4 11:19 EFI.img
drwxr-xr-x  2 benjamin_loison benjamin_loison 4.0K Feb  4 11:15 fake_packages
-rw-r--r--  1 benjamin_loison benjamin_loison  265 Feb  4 11:15 fastboot-info.txt
drwxr-xr-x  6 benjamin_loison benjamin_loison 4.0K Feb  4 11:12 gen
drwxr-xr-x  3 benjamin_loison benjamin_loison 4.0K Feb  4 11:07 install
-rw-r--r--  1 benjamin_loison benjamin_loison  304 Feb  4 10:54 installed-files-ramdisk.json
-rw-r--r--  1 benjamin_loison benjamin_loison   81 Feb  4 10:54 installed-files-ramdisk.txt
-rw-r--r--  1 benjamin_loison benjamin_loison 2.7K Feb  4 11:15 installed-files-root.json
-rw-r--r--  1 benjamin_loison benjamin_loison  589 Feb  4 11:15 installed-files-root.txt
-rw-r--r--  1 benjamin_loison benjamin_loison  19M Feb  4 11:19 kernel
-rw-r--r--  1 benjamin_loison benjamin_loison 898M Feb  4 11:21 lineage-22.1-20250204-UNOFFICIAL-virtio_x86_64.img
-rw-r--r--  2 benjamin_loison benjamin_loison 817M Feb  4 11:21 lineage-22.1-20250204-UNOFFICIAL-virtio_x86_64.zip
-rw-r--r--  1 benjamin_loison benjamin_loison  117 Feb  4 11:21 lineage-22.1-20250204-UNOFFICIAL-virtio_x86_64.zip.sha256sum
-rw-r--r--  2 benjamin_loison benjamin_loison 817M Feb  4 11:21 lineage_virtio_x86_64-ota.zip
-rw-r--r--  1 benjamin_loison benjamin_loison 3.4K Feb  4 11:15 misc_info.txt
drwxr-xr-x 27 benjamin_loison benjamin_loison 4.0K Feb  4 11:15 obj
drwxr-xr-x  3 benjamin_loison benjamin_loison 4.0K Feb  4 10:54 odm
-rw-r--r--  1 benjamin_loison benjamin_loison  352 Feb  4 11:21 ota_metadata
-rw-r--r--  1 benjamin_loison benjamin_loison  241 Feb  4 11:21 ota_metadata.pb
-rw-r--r--  1 benjamin_loison benjamin_loison  16M Feb  4 10:54 persist.img
-rw-r--r--  1 benjamin_loison benjamin_loison   57 Feb  4 00:25 previous_build_config.mk
drwxr-xr-x 11 benjamin_loison benjamin_loison 4.0K Feb  4 11:15 product
-rw-r--r--  1 benjamin_loison benjamin_loison  17K Feb  4 10:54 product_packages.txt
drwxr-xr-x 10 benjamin_loison benjamin_loison 4.0K Feb  4 11:07 ramdisk
-rw-r--r--  1 benjamin_loison benjamin_loison 2.0M Feb  4 11:07 ramdisk.img
-rw-r--r--  1 benjamin_loison benjamin_loison  35M Feb  4 11:12 ramdisk-recovery.cpio
-rw-r--r--  1 benjamin_loison benjamin_loison  16M Feb  4 11:14 ramdisk-recovery.img
drwxr-xr-x  3 benjamin_loison benjamin_loison 4.0K Feb  4 00:51 recovery
-rw-r--r--  1 benjamin_loison benjamin_loison  34M Feb  4 11:19 recovery.img
drwxr-xr-x 29 benjamin_loison benjamin_loison 4.0K Feb  4 11:07 root
-rw-------  1 benjamin_loison benjamin_loison 4.7K Feb  4 10:54 super_empty.img
drwxr-xr-x 11 benjamin_loison benjamin_loison 4.0K Feb  4 11:21 symbols
drwxr-xr-x 13 benjamin_loison benjamin_loison 4.0K Feb  4 11:15 system
drwxr-xr-x  3 benjamin_loison benjamin_loison 4.0K Feb  4 11:15 system_dlkm
drwxr-xr-x 10 benjamin_loison benjamin_loison 4.0K Feb  4 11:15 system_ext
drwxr-xr-x 11 benjamin_loison benjamin_loison 4.0K Feb  4 11:15 vendor
drwxr-xr-x  4 benjamin_loison benjamin_loison 4.0K Feb  4 11:19 vendor_dlkm
drwxr-xr-x  3 benjamin_loison benjamin_loison 4.0K Feb  4 01:06 vendor_ramdisk
-rw-r--r--  1 benjamin_loison benjamin_loison 4.0M Feb  4 11:19 vendor_ramdisk.img

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Feb 4, 2025

sudo apt install -y qemu-system-arm qemu-efi-aarch64 qemu-system-x86 ovmf
Output:
Reading package lists...
Building dependency tree...
Reading state information...
qemu-system-arm is already the newest version (1:7.2+dfsg-7+deb12u12).
qemu-efi-aarch64 is already the newest version (2024.11-5).
qemu-system-x86 is already the newest version (1:7.2+dfsg-7+deb12u12).
ovmf is already the newest version (2022.11-6+deb12u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Source: https://wiki.lineageos.org/libvirt-qemu#install-the-virtual-machine-software

@Benjamin-Loison
Copy link
Owner Author

Let us try non-A/B build 10 GiB of size for the first disk.
add disk for storing userdata as usually being 8 GB.

@Benjamin-Loison
Copy link
Owner Author

ls -lh out/target/product/virtio_x86_64/lineage-22.1-20250204-UNOFFICIAL-virtio_x86_64.img ~/lineage-22.1-20250201-UNOFFICIAL-virtio_x86_64.img
Output:
-rw-r--r-- 1 libvirt-qemu    libvirt-qemu    825M Feb  1 19:10 /home/benjamin_loison/lineage-22.1-20250201-UNOFFICIAL-virtio_x86_64.img
-rw-r--r-- 1 benjamin_loison benjamin_loison 898M Feb  4 11:21 out/target/product/virtio_x86_64/lineage-22.1-20250204-UNOFFICIAL-virtio_x86_64.img

So both .img have quite the same size.

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Feb 4, 2025

Formatting options look different to #issuecomment-2629134313.

Image

Image

Image

Image

Image

Note that I am fine running Windows in a virtual machine if necessary to be able to run ARM apps with a decent speed.

Image

@Benjamin-Loison
Copy link
Owner Author

Image
Image
Image

@Benjamin-Loison
Copy link
Owner Author

So not storage difference with #issuecomment-2629146781. I suspect the total storage quantity being faked.

@Benjamin-Loison
Copy link
Owner Author

Would help the issue:
-----BEGIN PGP MESSAGE-----

hF4DTQa9Wom5MBgSAQdAyU48FrmWaIb+T8jCj1d6hJcHtpb8R3Xn3iJeTB73/zQw
sl/VOvSLJ3o/JV70261wk5Dm44ITmcvD4JYMMdJdcIr0CQC1O38rhMBXRbE3xLSE
0pUB/ObeOFHB01jsjMXUK81dEnrTaW7xznuEzmWDbB889bxLAoKZXVKrEi5fNpN9
ZwG5+tLj8hKqN3bYHSap5NVM2q6ZV64lTbjkUK1fmfb21xsesmZ8yi47qSqy6+0e
9HiL5C8EH7Vtb15YBOlc/zvKpoguWDgvBu8tJzZOCvb7uMeZvxs/DwjN2NKByMnq
dEXCbZz8Gw==
=IV5D
-----END PGP MESSAGE-----

@Benjamin-Loison
Copy link
Owner Author

Related to the issue:
-----BEGIN PGP MESSAGE-----

hF4DTQa9Wom5MBgSAQdA1mBbKNHeIIynH4miKWeZILSJAvQKlyAXeO/BfH5SFUYw
XUlrFxXDtSt7XPqNkSm2pzry6aJwViF53tNVmN2rbWmuhebWW2lflh9Ooq2eEl9k
0msBJMlykfFSHZ6Feaw3sNwYgH0s1PxQUsKJITl2kcqKLncIOrCRV2wHU4xL9RjC
bYN0juwOPRJ5hAcEmcBObPfBUwcdtIjhPw13Q8x75pKiinDncJ51SGtRwpJHbPXF
mCVv86T9d8BI0/NPwQ==
=Aw4N
-----END PGP MESSAGE-----

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Feb 26, 2025

I just verified and without formatting it states the install to have failed and it does not seem to boot correctly at reboot. A screenshot would have been appreciated.

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Feb 26, 2025

If I am able to efficiently run ARM apps, then let know the person:
-----BEGIN PGP MESSAGE-----

hF4DTQa9Wom5MBgSAQdA4TVxySV995aNUqaTxS3L7wjoPvQF56fMbayEYB3nWDEw
oeWWNRFVkfnKMPNE+5wNOKUa4niOVWpS9Uxh3aMbof76pMh+oik8P/vU24CIoqQ+
0qoBMVNErcj6eREW+2aiGJbkbBky25kUW37iXVli0hhJOqt9pSPTMj4oxaI8t+Hm
jDlVSFP/N9KdPfmGoTamCKmp6t/e8HchlhWcrbFqupLY2tExN+iSO593QWEOiYW5
vgM6clbAMSAz7PsgnBPhqzVvXho/vPuFXgrBVNolXgYTfXmd5VCKZ7qqvhRaPzti
ci0Rqm7QEfYmCqEIJOQyfyDVLqNlb9iaCvkhOw==
=AxXE
-----END PGP MESSAGE-----

He may have a Mac, I asked him, such that may try on his Mac to know if ARM apps work fine on this setup.

@Benjamin-Loison
Copy link
Owner Author

Waydroid does not include an emulation layer. As a result, devices can only run Android applications that match their specific hardware architecture. [...] The developers are considering adding an emulation layer in the future, potentially utilizing components of the Android system built for Windows 11.[3]

Source: Wikipedia: Waydroid#Limitations (1267136573)

Android subsystem for Windows 11

Source: https://www.xda-developers.com/waydroid-android-apps-on-linux/

may be an interesting workaround if able to make it work within a virtual machine.

Could also in theory try to run my ARM emulator from my Fairphone 4 as it is ARM but I suspect bad performances even if in theory may be quite fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant