Can you provide full log for me? Thanks very much.
Did you exec āmake cleanā command for your project ? you can have a try. Thanks
Yes, I ran Ėmake cleanĖ for both uboot and Android.
I think I had similar problem complaining afout ffmpeg when I was building Android Nougat some time ago, but canāt remember exactly - will try to lookup from my older notes.
No, sorry - that was different problem referring to ffmpeg.
I only saw the command āmake installcleanā and not āmake cleanā after you repo sync source code.
I can try again, but Iāve had:
gytis@gytis-vm:~/khadas/vim3$ make clean
19:52:55 Entire build directory removed.
gytis@gytis-vm:~/khadas/vim3$ repo sync -j4
Oh, you meant do make clean
after repo sync
?
Itās best to remove the out path manually.
Thanks! Build succeeded
#### build completed successfully (02:55:47 (hh:mm:ss)) ####
I will burn it to VIM3 tomorrow to check if Android Pie works.
Sequence was such:
- repo sync
- lunch
- make clean
- Delete out/ folder
- make otapackage
Build successfull and running on VIM3 Pro:
Works:
- Google Play
- Ethernet connection (MAC address is stable! )
Doesnāt work:
- SuperSU from Nougat branch - @Terry, maybe any ideas?
- Touch screen (doesnāt show any signs of life the same way as on Ubuntu Bionic );
- Sound - there is no sound via HDMI nor via ToneBoard .
The root is in our list of plans. We will add root support in the feature.
Did you use HID touch screen?
Is HDMI no sound? Did you connect VIM3 with other monitor?
Apparently to use SuperSU currently working Android version is Nougat - yesterday Iāve buit an image for VIM1 - with GApps and SuperSU - all works (I have SuperSU Pro licence - all got updated fine).
As for VIM3 Pro, I tried it with TS050 touch screen - it did not work at all with Android Pie built from source. Also audio is not passed via HDMI. I also plugged in Tone Board, but it was not giving sound either.
Currently I have Ubuntu Bionic Xfce built and burned to VIM3 Pro - there both HDMI audio and Tone Board works fine. After @numbqq updated Kernel also TS050 touch screen works with Ubuntu.
So to sum up, Android Pie on VIM3 Pro:
- Touch screen TS050 doesnāt work;
- There is no audio via HDMI and via Tone Board;
- SuperSU is not installed when using Ėhttps://github.com/khadas/supersuĖ;
- There are no controls to enable/disable top status bar and bottom bar;
- I couldnāt find how to reach typical Android settings - only right menu opens. In Nougat you can select More settings and see full list of usual Android settings.
@Terry Hi!
I have a problem with build Android ROM from the latest source:
[ 69% 49872/71457] target Prebuilt: Chrome (out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk)
FAILED: out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk
/bin/bash -c "(rm -f out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk ) && (cp \"device/khadas/kvim3/preinstall/Chrome.apk\" \"out/target/product/kvim3
/obj/APPS/Chrome_intermediates/package.apk\" ) && (if (zipinfo out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk 'lib/*.so' 2>/dev/null | grep -v ' stor
' >/dev/null) ; then rm -rf out/target/product/kvim3/obj/APPS/Chrome_intermediates/uncompressedlibs && mkdir out/target/product/kvim3/obj/APPS/Chrome_intermediates/unco
mpressedlibs; unzip -q out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk 'lib/*.so' -d out/target/product/kvim3/obj/APPS/Chrome_intermediates/uncompress
edlibs && zip -qd out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk 'lib/*.so' && ( cd out/target/product/kvim3/obj/APPS/Chrome_intermediates/uncompress
edlibs && find lib -type f | sort | zip -qD -X -0 ../package.apk -@ ) && rm -rf out/target/product/kvim3/obj/APPS/Chrome_intermediates/uncompressedlibs; fi ) && (if ! ou
t/host/linux-x86/bin/zipalign -c -p 4 out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk >/dev/null ; then mv out/target/product/kvim3/obj/APPS/Chrome_in
termediates/package.apk out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk.unaligned; out/host/linux-x86/bin/zipalign -f -p 4 out/target/product/kvim3/ob
j/APPS/Chrome_intermediates/package.apk.unaligned out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk.aligned; mv out/target/product/kvim3/obj/APPS/Chrome
_intermediates/package.apk.aligned out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk; fi )"
Unable to open 'out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk' for verification
Unable to open 'out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk.unaligned' as zip archive
mv: cannot stat 'out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk.aligned': No such file or directory
[ 69% 49882/71457] //bionic/libc:libc.llndk versioner preprocess include
warning: attempted to generate guard with empty availability: obsoleted = 21
warning: attempted to generate guard with empty availability: obsoleted = 23
[ 69% 49883/71457] //bionic/libc:common_libc versioner preprocess include [linux_glibc]
warning: attempted to generate guard with empty availability: obsoleted = 21
warning: attempted to generate guard with empty availability: obsoleted = 23
ninja: build stopped: subcommand failed.
00:51:39 ninja failed with: exit status 1
tried to build on another computer - got the same error:
[ 69% 49874/71457] target Prebuilt: Chrome (out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk)
FAILED: out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk
/bin/bash -c ā(rm -f out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk ) && (cp ādevice/khadas/kvim3/preinstall/Chrome.apkā āout/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apkā ) && (if (zipinfo out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk ālib/.soā 2>/dev/null | grep -v ā stor ā >/dev/null) ; then rm -rf out/target/product/kvim3/obj/APPS/Chrome_intermediates/uncompressedlibs && mkdir out/target/product/kvim3/obj/APPS/Chrome_intermediates/uncompressedlibs; unzip -q out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk 'lib/.soā -d out/target/product/kvim3/obj/APPS/Chrome_intermediates/uncompressedlibs && zip -qd out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk ālib/*.soā && ( cd out/target/product/kvim3/obj/APPS/Chrome_intermediates/uncompressedlibs && find lib -type f | sort | zip -qD -X -0 ā¦/package.apk -@ ) && rm -rf out/target/product/kvim3/obj/APPS/Chrome_intermediates/uncompressedlibs; fi ) && (if ! out/host/linux-x86/bin/zipalign -c -p 4 out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk >/dev/null ; then mv out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk.unaligned; out/host/linux-x86/bin/zipalign -f -p 4 out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk.unaligned out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk.aligned; mv out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk.aligned out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk; fi )ā
Unable to open āout/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apkā for verification
Unable to open āout/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk.unalignedā as zip archive
mv: cannot stat āout/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk.alignedā: No such file or directory
[ 69% 49880/71457] //bionic/libc:common_libc versioner preprocess include [linux_glibc]
warning: attempted to generate guard with empty availability: obsoleted = 21
warning: attempted to generate guard with empty availability: obsoleted = 23
[ 69% 49881/71457] //bionic/libc:libc.llndk versioner preprocess include
warning: attempted to generate guard with empty availability: obsoleted = 21
warning: attempted to generate guard with empty availability: obsoleted = 23
ninja: build stopped: subcommand failed.
22:26:45 ninja failed with: exit status 1
failed to build some targets (06:05:56 (hh:mm:ss))
well all is in there in the log if you lookā¦
Just make sure you have this apk āChrome.apkā in this dir "ādevice/khadas/kvim3/preinstallā
Thanks for the answer! I checked this first - the apk is in the folder.
I also tried to delete it from the preinstall.mk (because I do not need a preinstalled Chrome - I build gapps from opengapps repo). Same error ā¦
the apk is broken i just checked, see its size and you will notice it, just remove the apk and you will notice it will compile!
Ok!
Iām going to try it now.
Youāre right! Chrome.apk is 134b
My mistake. It was necessary to make a git lfs pull after repo sync
Sorry)
build completed successfully (55:02 (mm:ss))
well we all make mistakes
@Terry When I am trying to download from pie-arm for vim3 itās giving following error can you please check this log.
git clone GitHub - terry2droid/google google -b Pie-arm
Cloning into āgoogleāā¦
remote: Enumerating objects: 430, done.
remote: Total 430 (delta 0), reused 0 (delta 0), pack-reused 430
Receiving objects: 100% (430/430), 785.13 MiB | 2.31 MiB/s, done.
Resolving deltas: 100% (132/132), done.
Checking connectivityā¦ done.
Downloading apps/Chrome/Chrome.apk (132 MB)
Error downloading object: apps/Chrome/Chrome.apk (19ebe3b): Smudge error: Error downloading apps/Chrome/Chrome.apk (19ebe3b7d3d3c315f5425dd739a9d31c195071656836a8806ccfb5033b17d019): batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.
Errors logged to /home/pradeep/Desktop/Khadas_Os/git-lfs-2.3.4/WORKING_DIRECTORY/vendor/amlogic/google/.git/lfs/objects/logs/20210518T180236.138935748.log
Use git lfs logs last
to view the log.
error: external filter git-lfs smudge ā %f failed 2
error: external filter git-lfs smudge ā %f failed
fatal: apps/Chrome/Chrome.apk: smudge filter lfs failed
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with āgit statusā
and retry the checkout with āgit checkout -f HEADā
Hii @Terry
Iām using kvim3 pie SDK. Where do I put this directory after cloning???
āvendor/amlogic/common/ā¦???ā
Can you please give me the right location for GApps?