Ubt for LG Stylo 2



  • Am trying to install everything to port UT to my device..following this tutorial https://developer.ubuntu.com/en/phone/devices/porting-new-device/ a LG Stylo 2. But for some reason. Am stock.
    Everything is good until this point.( phablet-dev-bootstrap phablet) command empty or not found.

    Any help please....!!

    update 2
    I fixed my 1st problem.
    now am trying to build by my self... a UT image just for practice... before start with my own device ( LG Stylo 2 ).

    but I have a lot of problem

    here is my log.

    You're building on Linux

    Lunch menu... pick a combo:
    1. aosp_arm-eng
    2. aosp_x86-eng
    3. aosp_mips-eng
    4. vbox_x86-eng
    5. aosp_manta-userdebug
    6. mini_armv7a_neon-userdebug
    7. mini_x86-userdebug
    8. aosp_grouper-userdebug
    9. aosp_flo-userdebug
    10. aosp_tilapia-userdebug
    11. aosp_deb-userdebug
    12. aosp_mako-userdebug
    13. aosp_hammerhead-userdebug

    Which would you like? [aosp_arm-eng] 5
    /bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
    /bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error

    /bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
    /bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
    /bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
    /bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
    /bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
    /bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
    /bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
    /bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
    /bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
    /bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
    /bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
    /bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
    /bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
    /bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
    /bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
    /bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
    /bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
    /bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error

    there are 13 options... I try every single one...!! same problem.
    sorry for my really bad english.

    any help...?



  • Hi there, and good luck with your venture...

    In general, all the work that is described in the tutorial that you are following, is about setting up the AOSP interface layer between the Ubuntu Touch image and your device. (Maybe this can be more clearly seen by the deploying guide, here https://wiki.ubuntu.com/Touch/Deploying , but this is for much later). As such, the procedure is very close to the work of bringing AOSP to a device... and there is a lot of support for that in popular forums, such as xda, where the user base is much larger, and you will be getting a lot more feedback (I presume).

    Now, about your question, a quick search with mr. google says things related to mixup between 64bit and 32bit packages. Your problem is it is more like setting up the development environment properly than anything else...



  • 10-4

    👍


Log in to reply
 

Looks like your connection to UBports Forum was lost, please wait while we try to reconnect.