pastebin

Paste Search Dynamic
AOSP on blueline
  1.  
  2. 1/Fetching sources
  3. repo init -u https://android.googlesource.com/platform/manifest -b android-9.0.0_r34
  4. repo sync --jobs=12
  5.  
  6. 2/Creating keys
  7. subject='/C=...'
  8. for x in releasekey platform shared media; do \
  9.     ./development/tools/make_key ~/Android/keys/$x "$subject"; \
  10. done
  11. openssl genrsa -out avb.pem 2048
  12.  
  13. 3/Getting vendor binaries
  14. https://developers.google.com/android/drivers
  15. Untar & execute self extracting scripts in the root of the tree
  16.  
  17. 4/Building
  18. source build/envsetup.sh
  19. lunch aosp_blueline-user
  20. make -j12
  21. make dist
  22.  
  23. 5/Signing
  24. ./build/tools/releasetools/sign_target_files_apks -o -d ~/Android/keys --avb_vbmeta_key ~/Android/keys/avb.pem --avb_vbmeta_algorithm SHA256_RSA2048 --avb_system_key ~/Android/keys/avb.pem --avb_system_algorithm SHA256_RSA2048 out/target/product/blueline/obj/PACKAGING/target_files_intermediates/aosp_blueline-target_files-eng.zip signed-target_files.zip
  25.  
  26. 6/Making image
  27. ./build/tools/releasetools/img_from_target_files signed-target_files.zip signed-image.zip
  28.  
  29. 7/Flashing
  30. fastboot -w update signed-image.zip
Parsed in 0.003 seconds