robotnix icon indicating copy to clipboard operation
robotnix copied to clipboard

aarch64-linux host fixes & other improvments

Open RossComputerGuy opened this issue 1 year ago • 6 comments

This PR will fix robotnix to make it usable on aarch64-linux hosts.

RossComputerGuy avatar Sep 27 '24 19:09 RossComputerGuy

Thanks a bunch for looking into this, I've been wanting that too when I still had a mac.

Please note that the project is pretty much dead at this point before you invest any more effort into this. I have not touched the code in many months and currently do not have the motivation to do so.

Atemu avatar Sep 27 '24 19:09 Atemu

Heh yeah, I'm just trying to get AOSP to at least build on my Ampere Altra at the very least.

RossComputerGuy avatar Sep 27 '24 19:09 RossComputerGuy

Please also note that I have no idea whether AOSP even works on x86 at this point :/

The only thing I know to be working is lineageos.

Atemu avatar Sep 27 '24 20:09 Atemu

Hmm, vendor-files-crosshatch failed:

[*] Setting output base to '/build/crosshatch/robotnix'
[*] Extracting '/nix/store/4xr37g0jp4xyvg5gyh0hznr06nb217fm-crosshatch-sp1a.210812.016.c1-factory-67ea87fc.zip'
[*] Extracting 'image-crosshatch-sp1a.210812.016.c1.zip'
Cannot write output file
[-] simg2img failed to convert system.img from sparse
[-] Factory images data extract failed

RossComputerGuy avatar Sep 27 '24 20:09 RossComputerGuy

Make sure your android tools are actually aarch64, there might be some downloaded binaries in use here.

Atemu avatar Sep 27 '24 22:09 Atemu

It seems I might be hitting a bit of https://github.com/tadfisher/android-nixpkgs/issues/50

RossComputerGuy avatar Sep 29 '24 04:09 RossComputerGuy