How to build Android 9 for the Rock64
#2
When I build using the method outlined above, I get the following error:


Code:
FAILED: TAs
/bin/bash -c "(make -j3 -C /home/lineageos/external/rk_tee_user O=/home/lineageos/external/rk_tee_user TA_DEV_KIT_DIR=/home/lineageos/external/rk_tee_user/export-user_ta clean ) && (make -j3 -C /home/lineageos/external/rk_tee_user CROSS_COMPILE=\$(pwd)/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi- CROSS_COMPILE_HOST=\$(pwd)/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi- CROSS_COMPILE_TA=\$(pwd)/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi- CROSS_COMPILE_user_ta=\$(pwd)/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi- TA_DEV_KIT_DIR=/home/lineageos/external/rk_tee_user/export-user_ta O=/home/lineageos/external/rk_tee_user )"
make: Entering directory '/home/lineageos/external/rk_tee_user'
make[1]: Entering directory '/home/lineageos/external/rk_tee_user/ta'
make[2]: Entering directory '/home/lineageos/external/rk_tee_user/ta/testapp'
 CLEAN   .
make[2]: Leaving directory '/home/lineageos/external/rk_tee_user/ta/testapp'
make[2]: Entering directory '/home/lineageos/external/rk_tee_user/ta/testapp_storage'
 CLEAN   .
make[2]: Leaving directory '/home/lineageos/external/rk_tee_user/ta/testapp_storage'
make[1]: Leaving directory '/home/lineageos/external/rk_tee_user/ta'
make: Leaving directory '/home/lineageos/external/rk_tee_user'
make: Entering directory '/home/lineageos/external/rk_tee_user'
make[1]: Entering directory '/home/lineageos/external/rk_tee_user/ta'
make[2]: Entering directory '/home/lineageos/external/rk_tee_user/ta/testapp'
 CPP     /home/lineageos/external/rk_tee_user/ta/testapp/ta.lds
 /home/lineageos/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc      /home/lineageos/external/rk_tee_user/ta/testapp/user_ta_header.o
 /home/lineageos/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc      /home/lineageos/external/rk_tee_user/ta/testapp/testapp_ta.o
 LD      /home/lineageos/external/rk_tee_user/ta/testapp/8cccf200-2450-11e4-abe20002a5d5c52c.elf
 OBJDUMP /home/lineageos/external/rk_tee_user/ta/testapp/8cccf200-2450-11e4-abe20002a5d5c52c.dmp
 OBJCOPY /home/lineageos/external/rk_tee_user/ta/testapp/8cccf200-2450-11e4-abe20002a5d5c52c.stripped.elf
 SIGN    /home/lineageos/external/rk_tee_user/ta/testapp/8cccf200-2450-11e4-abe20002a5d5c52c.ta
 SIGN KEY /home/lineageos/external/rk_tee_user/export-user_ta/keys/oem_privkey.pem
Traceback (most recent call last):
 File "/home/lineageos/external/rk_tee_user/export-user_ta/scripts/sign.py", line 80, in <module>
   main()
 File "/home/lineageos/external/rk_tee_user/export-user_ta/scripts/sign.py", line 40, in main
   from Crypto.Signature import PKCS1_v1_5
ImportError: No module named Crypto.Signature
/home/lineageos/external/rk_tee_user/export-user_ta/mk/link.mk:65: recipe for target '/home/lineageos/external/rk_tee_user/ta/testapp/8cccf200-2450-11e4-abe20002a5d5c52c.ta' failed
make[2]: *** [/home/lineageos/external/rk_tee_user/ta/testapp/8cccf200-2450-11e4-abe20002a5d5c52c.ta] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/lineageos/external/rk_tee_user/ta/testapp'
Makefile:37: recipe for target 'ta' failed
make[1]: *** [ta] Error 2
make[1]: Leaving directory '/home/lineageos/external/rk_tee_user/ta'
Makefile:27: recipe for target 'ta' failed
make: *** [ta] Error 2
make: Leaving directory '/home/lineageos/external/rk_tee_user'
[ 10% 9248/90512] Export includes file:  -- out/target/product/rk3...bj/SHARED_LIBRARIES/libGLESv2.ndk.24_intermediates/export_includes
ninja: build stopped: subcommand failed.
17:07:14 ninja failed with: exit status 1


Fixed by installing pycrypto:

Code:
pip install pycrypto
  Reply


Messages In This Thread
RE: How to build Android 9 for the Rock64 - by dazza5000 - 07-17-2019, 11:47 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Ir codes for Android 9 Redwid 2 113 07-07-2020, 04:37 AM
Last Post: Redwid
Wink Android ( Stock or TV version ) rooted image please !!! AngelfromSpain 3 288 06-17-2020, 10:01 AM
Last Post: tophneal
  Minimum requirements for ROCK64 Android install? eugenev13 0 115 06-04-2020, 02:23 AM
Last Post: eugenev13
  Google Play on Android 9.0 admiral_andersen 3 381 05-29-2020, 03:56 AM
Last Post: admiral_andersen
  Android Images (ROCK64) pineadmin 68 49,773 05-22-2020, 03:44 AM
Last Post: ricklar
  Utility to make Android SDCard image jonsmirl 1 452 05-18-2020, 01:35 AM
Last Post: afoisset
  Android TV 9 - sleeping mode and backup Ludovic 0 214 04-24-2020, 03:39 AM
Last Post: Ludovic
  Android 10 for Rock64? Blinky 0 338 04-21-2020, 12:55 AM
Last Post: Blinky
  Can't boot android 9 on rock64 maks2204 4 464 04-19-2020, 05:30 AM
Last Post: Averell
  Stock Android Oreo 8.1 release tllim 49 22,695 04-11-2020, 04:43 PM
Last Post: Pepe

Forum Jump:


Users browsing this thread: 1 Guest(s)