UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Ubuntu Touch Development Q&A

    Scheduled Pinned Locked Moved Porting
    18 Posts 3 Posters 10.2k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • H Offline
        h2o64
        last edited by

        [quote='mariogrip' pid='42' dateline='1434229727']
        [quote='h2o64' pid='41' dateline='1434225120']
        [quote='mariogrip' pid='1' dateline='1425686206']
        Ask whatever you want about Ubuntu touch porting/development  🙂

        For general questions:
        http://ubports.com/forums/showthread.php?tid=2
        [/quote]

        Hi !
        I'm the Motorola Moto G porter.
        I work on this project for months, trying to do the best way possible. And I achieve to get it.
        BUT after all the progress I made, I'm still get one error http://pastebin.com/EMaJCDnn

        [code][    6.282118,1] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200
        [    6.282128,1]
        [    6.282363,1] Backtrace:
        [    6.282602,1] [<c0109a24>] (dump_backtrace+0x0/0x10c) from [<c0934420>] (dump_stack+0x18/0x1c)
        [    6.282690,1]  r6:e4928000 r5:c0f499e4 r4:c102c0f8 r3:00000001
        [    6.283150,1] [<c0934408>] (dump_stack+0x0/0x1c) from [<c0934c84>] (panic+0x94/0x1f4)
        [    6.283244,1] [<c0934bf0>] (panic+0x0/0x1f4) from [<c018403c>] (do_exit+0x3d0/0x878)
        [    6.283330,1]  r3:e4930000 r2:e4927ed8 r1:00000200 r0:c0c0e677
        [    6.283782,1]  r7:e4928418
        [    6.283947,1] [<c0183c6c>] (do_exit+0x0/0x878) from [<c01847b0>] (do_group_exit+0x8c/0xc8)
        [    6.284097,1]  r7:000000f8
        [    6.284262,1] [<c0184724>] (do_group_exit+0x0/0xc8) from [<c0184804>] (__wake_up_parent+0x0/0x28)
        [    6.284413,1]  r7:000000f8 r6:0005d444 r5:00000004 r4:00000000
        [    6.284807,1] [<c01847ec>] (sys_exit_group+0x0/0x18) from [<c0105b20>] (ret_fast_syscall+0x0/0x30)
        [    6.284969,0] CPU0: stopping
        [    6.285053,0] Backtrace:
        [    6.285218,0] [<c0109a24>] (dump_backtrace+0x0/0x10c) from [<c0934420>] (dump_stack+0x18/0x1c)
        [    6.285371,0]  r6:c0f17e98 r5:c0f5d10c r4:00000000 r3:271ae936
        [    6.285836,0] [<c0934408>] (dump_stack+0x0/0x1c) from [<c010b014>] (handle_IPI+0x13c/0x22c)
        [    6.285994,0] [<c010aed8>] (handle_IPI+0x0/0x22c) from [<c0100434>] (gic_handle_irq+0xb0/0xbc)
        [    6.286080,0]  r7:fa003000 r6:c0f17e98 r5:00000006 r4:c0f1e4b0
        [    6.286476,0] [<c0100384>] (gic_handle_irq+0x0/0xbc) from [<c0943100>] (__irq_svc+0x40/0x70)
        [    6.286628,0] Exception stack(0xc0f17e98 to 0xc0f17ee0)
        [    6.286714,0] 7e80:                                                       8d4fdf3b 83126e97
        [    6.286869,0] 7ea0: 0000121b 00000000 0046bb19 00000000 7522c350 00000001 c1a73850 c0f1fd78
        [    6.286962,0] 7ec0: 00000000 c0f17f24 00000000 c0f17ee0 c01bf8fc c0169400 00000013 ffffffff
        [    6.287123,0] [<c0169270>] (lpm_cpuidle_enter+0x0/0x1bc) from [<c068bad4>] (cpuidle_enter+0x1c/0x20)
        [    6.287282,0] [<c068bab8>] (cpuidle_enter+0x0/0x20) from [<c068bf00>] (cpuidle_enter_state+0x1c/0x74)
        [    6.287441,0] [<c068bee4>] (cpuidle_enter_state+0x0/0x74) from [<c068c0d0>] (cpuidle_idle_call+0x178/0x344)
        [    6.287591,0]  r6:00000002 r5:c0fb49e0 r4:c1a73850 r3:00000000
        [    6.287988,0] [<c068bf58>] (cpuidle_idle_call+0x0/0x344) from [<c0106a64>] (cpu_idle+0x90/0xf8)
        [    6.288158,0] [<c01069d4>] (cpu_idle+0x0/0xf8) from [<c0905648>] (rest_init+0x94/0xb0)
        [    6.288307,0]  r5:00000001 r4:c0f17f9c
        [    6.288550,0] [<c09055b4>] (rest_init+0x0/0xb0) from [<c0e00b00>] (start_kernel+0x2f8/0x354)
        [    6.288701,0]  r6:c0f01104 r5:00000000 r4:c0f1fb60
        [    6.289018,0] [<c0e00808>] (start_kernel+0x0/0x354) from [<00008040>] (0x8040)
        [    6.289168,0]  r7:c0f29984 r6:c0f01100 r5:c0f1e4a8 r4:10c5387d
        [    6.289561,3] CPU3: stopping
        [    6.289880,3] Backtrace:
        [    6.290068,3] [<c0109a24>] (dump_backtrace+0x0/0x10c) from [<c0934420>] (dump_stack+0x18/0x1c)
        [    6.290219,3]  r6:e4989ee0 r5:c0f5d10c r4:00000003 r3:271ae936
        [    6.290615,3] [<c0934408>] (dump_stack+0x0/0x1c) from [<c010b014>] (handle_IPI+0x13c/0x22c)
        [    6.290772,3] [<c010aed8>] (handle_IPI+0x0/0x22c) from [<c0100434>] (gic_handle_irq+0xb0/0xbc)
        [    6.290925,3]  r7:fa003000 r6:e4989ee0 r5:00000006 r4:c0f1e4b0
        [    6.291321,3] [<c0100384>] (gic_handle_irq+0x0/0xbc) from [<c0943100>] (__irq_svc+0x40/0x70)
        [    6.291474,3] Exception stack(0xe4989ee0 to 0xe4989f28)
        [    6.291565,3] 9ee0: 8d4fdf3b 83126e97 00001902 00000000 0061b2c9 00000000 7507ce79 00000001
        [    6.291722,3] 9f00: c1a91850 c0f1fd78 00000000 e4989f6c 00000000 e4989f28 c01bf8fc c0169400
        [    6.291874,3] 9f20: 00000013 ffffffff
        [    6.291967,3] [<c0169270>] (lpm_cpuidle_enter+0x0/0x1bc) from [<c068bad4>] (cpuidle_enter+0x1c/0x20)
        [    6.292126,3] [<c068bab8>] (cpuidle_enter+0x0/0x20) from [<c068bf00>] (cpuidle_enter_state+0x1c/0x74)
        [    6.292285,3] [<c068bee4>] (cpuidle_enter_state+0x0/0x74) from [<c068c0d0>] (cpuidle_idle_call+0x178/0x344)
        [    6.292437,3]  r6:00000002 r5:c0fb49e0 r4:c1a91850 r3:00000000
        [    6.292833,3] [<c068bf58>] (cpuidle_idle_call+0x0/0x344) from [<c0106a64>] (cpu_idle+0x90/0xf8)
        [    6.292993,3] [<c01069d4>] (cpu_idle+0x0/0xf8) from [<c0930af4>] (secondary_start_kernel+0xec/0x108)
        [    6.293145,3]  r5:00000003 r4:c0f4f23c
        [    6.293385,3] [<c0930a08>] (secondary_start_kernel+0x0/0x108) from [<00930214>] (0x930214)
        [    6.293536,3]  r5:00000015 r4:2494006a
        [    6.293770,2] CPU2: stopping
        [    6.293856,2] Backtrace:
        [    6.294108,2] [<c0109a24>] (dump_backtrace+0x0/0x10c) from [<c0934420>] (dump_stack+0x18/0x1c)
        [    6.294195,2]  r6:e497fee0 r5:c0f5d10c r4:00000002 r3:271ae936
        [    6.294657,2] [<c0934408>] (dump_stack+0x0/0x1c) from [<c010b014>] (handle_IPI+0x13c/0x22c)
        [    6.294816,2] [<c010aed8>] (handle_IPI+0x0/0x22c) from [<c0100434>] (gic_handle_irq+0xb0/0xbc)
        [    6.294901,2]  r7:fa003000 r6:e497fee0 r5:00000006 r4:c0f1e4b0
        [    6.295357,2] [<c0100384>] (gic_handle_irq+0x0/0xbc) from [<c0943100>] (__irq_svc+0x40/0x70)
        [    6.295509,2] Exception stack(0xe497fee0 to 0xe497ff28)
        [    6.295600,2] fee0: 8d4fdf3b 83126e97 000011e7 00000000 0045f00d 00000000 7523940e 00000001
        [    6.295756,2] ff00: c1a87850 c0f1fd78 00000000 e497ff6c 00000000 e497ff28 c01bf8fc c0169400
        [    6.295908,2] ff20: 00000013 ffffffff
        [    6.296001,2] [<c0169270>] (lpm_cpuidle_enter+0x0/0x1bc) from [<c068bad4>] (cpuidle_enter+0x1c/0x20)
        [    6.296162,2] [<c068bab8>] (cpuidle_enter+0x0/0x20) from [<c068bf00>] (cpuidle_enter_state+0x1c/0x74)
        [    6.296321,2] [<c068bee4>] (cpuidle_enter_state+0x0/0x74) from [<c068c0d0>] (cpuidle_idle_call+0x178/0x344)
        [    6.296408,2]  r6:00000002 r5:c0fb49e0 r4:c1a87850 r3:00000000
        [    6.296870,2] [<c068bf58>] (cpuidle_idle_call+0x0/0x344) from [<c0106a64>] (cpu_idle+0x90/0xf8)
        [    6.297031,2] [<c01069d4>] (cpu_idle+0x0/0xf8) from [<c0930af4>] (secondary_start_kernel+0xec/0x108)
        [    6.297182,2]  r5:00000002 r4:c0f4f23c
        [    6.297423,2] [<c0930a08>] (secondary_start_kernel+0x0/0x108) from [<00930214>] (0x930214)
        [    6.297573,2]  r5:00000015 r4:2494006a
        [    6.535935,1] Crash partition in use!
        [    7.536086,1] wcnss crash shutdown 0
        [    7.536239,1] Rebooting in 5 seconds..
        [   12.536474,1] Going down for restart now
        [   12.537337,1] failed to disable wdog debug: -4
        [   12.537513,1] Calling SCM to disable SPMI PMIC arbiter[/code]

        One error that you faced ...
        Could you help me fixing it ?
        Thank you 🙂

        Contact : theh2o64@gmail.com
        Sources :
        main : https://github.com/ubuntu-touchCAF
        trees :

        • https://github.com/ubuntu-touchCAF/android_device_motorola_msm8226-common
        • https://github.com/ubuntu-touchCAF/android_device_motorola_falcon
          [/quote]

        I just looked over it quick, one thing i notice is that you have console set to NULL in the kernel cmdline, try to set it to "console=tty0" in BOARD_KERNEL_CMDLINE (in boardConfig.mk)
        [/quote]
        Your port does have it too nope ?
        Does it affect WCNSS driver someway ?

        1 Reply Last reply Reply Quote 0
        • mariogripM Offline
          mariogrip Administrators
          last edited by

          And based on the error it seems like an missing console due to ubuntu not starting at all, it mounts the system, but does not start.

          1 Reply Last reply Reply Quote 0
          • H Offline
            h2o64
            last edited by

            [quote='mariogrip' pid='44' dateline='1434230432']
            And based on the error it seems like an missing console due to ubuntu not starting at all, it mounts the system, but does not start.
            [/quote]

            I can't access to adb in real time actually.
            Should I define a console ?

            1 Reply Last reply Reply Quote 0
            • mariogripM Offline
              mariogrip Administrators
              last edited by

              [quote='h2o64' pid='45' dateline='1434230620']
              [quote='mariogrip' pid='44' dateline='1434230432']
              And based on the error it seems like an missing console due to ubuntu not starting at all, it mounts the system, but does not start.
              [/quote]

              I can't access to adb in real time actually.
              Should I define a console ?
              [/quote]

              I think you need to define the console, i had to do that with the oneplus one. kernel panics are kinda hard to understand sometimes. i don't think adbd does not start at such low level, adbd get started by upstart. but you can force it to start with "break" in kernel cmdline (example break=top) to stop and start adbd where you can look around.

              1 Reply Last reply Reply Quote 0
              • H Offline
                h2o64
                last edited by

                [quote='mariogrip' pid='46' dateline='1434231284']
                [quote='h2o64' pid='45' dateline='1434230620']
                [quote='mariogrip' pid='44' dateline='1434230432']
                And based on the error it seems like an missing console due to ubuntu not starting at all, it mounts the system, but does not start.
                [/quote]

                I can't access to adb in real time actually.
                Should I define a console ?
                [/quote]

                I think you need to define the console, i had to do that with the oneplus one. kernel panics are kinda hard to understand sometimes. i don't think adbd does not start at such low level, adbd get started by upstart. but you can force it to start with "break" in kernel cmdline (example break=top) to stop and start adbd where you can look around. 
                [/quote]

                I know about those "breaks" but I don't know how to use them. I just need to chuck them in the cmdline ? in the ramdisk ?

                1 Reply Last reply Reply Quote 0
                • mariogripM Offline
                  mariogrip Administrators
                  last edited by

                  [quote='h2o64' pid='47' dateline='1434231654']
                  [quote='mariogrip' pid='46' dateline='1434231284']
                  [quote='h2o64' pid='45' dateline='1434230620']
                  [quote='mariogrip' pid='44' dateline='1434230432']
                  And based on the error it seems like an missing console due to ubuntu not starting at all, it mounts the system, but does not start.
                  [/quote]

                  I can't access to adb in real time actually.
                  Should I define a console ?
                  [/quote]

                  I think you need to define the console, i had to do that with the oneplus one. kernel panics are kinda hard to understand sometimes. i don't think adbd does not start at such low level, adbd get started by upstart. but you can force it to start with "break" in kernel cmdline (example break=top) to stop and start adbd where you can look around. 
                  [/quote]

                  I know about those "breaks" but I don't know how to use them. I just need to chuck them in the cmdline ? in the ramdisk ?
                  [/quote]
                   
                  in cmdline (BOARD_KERNEL_CMDLINE)

                  1 Reply Last reply Reply Quote 0
                  • mariogripM Offline
                    mariogrip Administrators
                    last edited by

                    btw, is the android container mountable?

                    In recovery

                    cd data && mkdir tmp
                    mount -o loop tmp system.img
                    cd tmp/var/lib/lxc/android && mkdir temp
                    mount -o loop tmp system.img

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      Procyon
                      last edited by

                      Mariogrip when I try to make the kernel from sources, it won't run it wants to compile /boot I need to make the kernel for mkbootimg

                      1 Reply Last reply Reply Quote 0
                      • mariogripM Offline
                        mariogrip Administrators
                        last edited by

                        [quote='Procyon' pid='50' dateline='1434233676']
                        Mariogrip when I try to make the kernel from sources, it won't run it wants to compile /boot I need to make the kernel for mkbootimg
                        [/quote]

                        The kernel is inside boot.img, if it make a boot.img then it also made the kernel.

                        are you getting some errors? if yes paste them.

                        and also i texed you on the irc, but you quit. 😛 I use a webclient that does not give me notification so i might be little slow on the irc.

                        1 Reply Last reply Reply Quote 0
                        • H Offline
                          h2o64
                          last edited by

                          [quote='mariogrip' pid='49' dateline='1434233506']
                          btw, is the android container mountable?

                          In recovery

                          cd data && mkdir tmp
                          mount -o loop tmp system.img
                          cd tmp/var/lib/lxc/android && mkdir temp
                          mount -o loop tmp system.img
                          [/quote]

                          Here is the result : mountable (I did this one time previously btw)
                          [code]louis@louis-All-Series:~/Dev/Ubuntu_Touch_Flash/project_rootstock$ adb shell
                          ~ # cd data/ && mkdir tmp
                          mkdir: can't create directory 'tmp': File exists
                          /data # mount -o loop system.img tmp/
                          /data # cd tmp/var/lib/lxc/android && mkdir temp
                          mkdir: can't create directory 'temp': File exists
                          /data/tmp/var/lib/lxc/android # mount -o loop system.img temp/
                          /data/tmp/var/lib/lxc/android # cd temp/
                          /data/tmp/var/lib/lxc/android/temp # ls
                          bin         build.prop  extras      lost+found  ubuntu      vendor
                          boot        etc         lib         media       usr         xbin
                          /data/tmp/var/lib/lxc/android/temp #
                          [/code]

                          EDIT : I made many tries and I finally set "break=mountroot" --> mountroot is the level of the crash for sure.
                          Logs here http://pastebin.com/cr2zRD3M

                          1 Reply Last reply Reply Quote 0
                          • P Offline
                            Procyon
                            last edited by

                            [quote='mariogrip' pid='51' dateline='1434234227']
                            [quote='Procyon' pid='50' dateline='1434233676']
                            Mariogrip when I try to make the kernel from sources, it won't run it wants to compile /boot I need to make the kernel for mkbootimg
                            [/quote]

                            The kernel is inside boot.img, if it make a boot.img then it also made the kernel.

                            are you getting some errors? if yes paste them.

                            and also i texed you on the irc, but you quit. 😛 I use a webclient that does not give me notification so i might be little slow on the irc.
                            [/quote]

                            I felt tired, can I decompile boot.IMG?

                            1 Reply Last reply Reply Quote 0
                            • mariogripM Offline
                              mariogrip Administrators
                              last edited by

                              [quote='h2o64' pid='52' dateline='1434261731']
                              [quote='mariogrip' pid='49' dateline='1434233506']
                              btw, is the android container mountable?

                              In recovery

                              cd data && mkdir tmp
                              mount -o loop tmp system.img
                              cd tmp/var/lib/lxc/android && mkdir temp
                              mount -o loop tmp system.img
                              [/quote]

                              Here is the result : mountable (I did this one time previously btw)

                              [code]louis@louis-All-Series:~/Dev/Ubuntu_Touch_Flash/project_rootstock$ adb shell
                              ~ # cd data/ && mkdir tmp
                              mkdir: can't create directory 'tmp': File exists
                              /data # mount -o loop system.img tmp/
                              /data # cd tmp/var/lib/lxc/android && mkdir temp
                              mkdir: can't create directory 'temp': File exists
                              /data/tmp/var/lib/lxc/android # mount -o loop system.img temp/
                              /data/tmp/var/lib/lxc/android # cd temp/
                              /data/tmp/var/lib/lxc/android/temp # ls
                              bin         build.prop  extras      lost+found  ubuntu      vendor
                              boot        etc         lib         media       usr         xbin
                              /data/tmp/var/lib/lxc/android/temp #
                              [/code]

                              EDIT : I made many tries and I finally set "break=mountroot" --> mountroot is the level of the crash for sure.
                              Logs here http://pastebin.com/cr2zRD3M
                              [/quote]

                              I tried to set console=null on my oneplus one and it gave me and kernel panic, so i really think you need to console=tty0 and remove androidboot.console.

                              1 Reply Last reply Reply Quote 0
                              • P Offline
                                Procyon
                                last edited by

                                keep getting these errors:

                                [code]make[1]: Leaving directory '/home/cedian/phablet/kernel/oneplus/msm8974'
                                preparing StaticLib: libc_common [including  /home/cedian/phablet/out/target/product/bacon/obj/STATIC_LIBRARIES/libc_netbsd_intermediates/libc_netbsd.a]
                                preparing StaticLib: libc_common [including  /home/cedian/phablet/out/target/product/bacon/obj/STATIC_LIBRARIES/libc_tzcode_intermediates/libc_tzcode.a]
                                target StaticLib: libc_common (/home/cedian/phablet/out/target/product/bacon/obj/STATIC_LIBRARIES/libc_common_intermediates/libc_common.a)
                                cedian@cedian-ubuntu-only:~/phablet$ ARCH="arm" CROSS_COMPILE="arm-linux-androideabi-" make -i -j4 adsprpcd
                                mkdir: cannot create directory ‘/etc/firmware’: Permission denied
                                ln: failed to create symbolic link ‘/etc/firmware/wcd9320/wcd9320_anc.bin’: No such file or directory
                                ln: failed to create symbolic link ‘/etc/firmware/wcd9320/wcd9320_mbhc.bin’: No such file or directory
                                ln: failed to create symbolic link ‘/etc/firmware/wcd9320/wcd9320_mad_audio.bin’: No such file or directory
                                mkdir: cannot create directory ‘/etc/firmware’: Permission denied
                                ln: failed to create symbolic link ‘/etc/firmware/wlan/prima/WCNSS_qcom_cfg.ini’: No such file or directory

                                PLATFORM_VERSION_CODENAME=REL
                                PLATFORM_VERSION=4.4.2
                                TARGET_PRODUCT=aosp_bacon
                                TARGET_BUILD_VARIANT=userdebug
                                TARGET_BUILD_TYPE=release
                                TARGET_BUILD_APPS=
                                TARGET_ARCH=arm
                                TARGET_ARCH_VARIANT=armv7-a-neon
                                TARGET_CPU_VARIANT=krait
                                HOST_ARCH=x86
                                HOST_OS=linux
                                HOST_OS_EXTRA=Linux-3.19.0-18-generic-x86_64-with-Ubuntu-15.04-vivid
                                HOST_BUILD_TYPE=release
                                BUILD_ID=KOT49H
                                OUT_DIR=/home/cedian/phablet/out

                                including abi/cpp/Android.mk ...
                                including bionic/Android.mk ...
                                including bootable/recovery/Android.mk ...
                                including build/libs/host/Android.mk ...
                                including build/target/board/Android.mk ...
                                including build/tools/acp/Android.mk ...
                                including build/tools/check_prereq/Android.mk ...
                                including build/tools/fs_config/Android.mk ...
                                including build/tools/zipalign/Android.mk ...
                                including device/asus/deb/dumpstate/Android.mk ...
                                including device/asus/deb/recovery/Android.mk ...
                                including device/asus/deb/self-extractors/Android.mk ...
                                including device/asus/flo/Android.mk ...
                                including device/asus/grouper/Android.mk ...
                                including device/asus/tilapia/recovery/Android.mk ...
                                including device/asus/tilapia/self-extractors/Android.mk ...
                                including device/generic/goldfish/audio/Android.mk ...
                                including device/generic/goldfish/camera/Android.mk ...
                                including device/generic/goldfish/gps/Android.mk ...
                                including device/generic/goldfish/lights/Android.mk ...
                                including device/generic/goldfish/opengl/Android.mk ...
                                including device/generic/goldfish/power/Android.mk ...
                                including device/generic/goldfish/qemu-props/Android.mk ...
                                including device/generic/goldfish/qemud/Android.mk ...
                                including device/generic/goldfish/sensors/Android.mk ...
                                including device/lge/hammerhead/Android.mk ...
                                including device/lge/mako/Android.mk ...
                                including device/samsung/manta/Android.mk ...
                                including external/aac/Android.mk ...
                                including external/busybox/Android.mk ...
                                including external/bzip2/Android.mk ...
                                including external/checkpolicy/Android.mk ...
                                including external/e2fsprogs/Android.mk ...
                                including external/expat/Android.mk ...
                                including external/flac/Android.mk ...
                                including external/freetype/Android.mk ...
                                including external/fsck_msdos/Android.mk ...
                                including external/gcc-demangle/Android.mk ...
                                including external/genext2fs/Android.mk ...
                                including external/giflib/Android.mk ...
                                including external/gtest/Android.mk ...
                                including external/icu4c/Android.mk ...
                                including external/jhead/Android.mk ...
                                including external/jpeg/Android.mk ...
                                including external/libgsm/Android.mk ...
                                including external/liblzf/Android.mk ...
                                including external/libpng/Android.mk ...
                                including external/libselinux/Android.mk ...
                                including external/libsepol/Android.mk ...
                                including external/libvpx/Android.mk ...
                                including external/mksh/Android.mk ...
                                including external/openssl/Android.mk ...
                                including external/pigz/Android.mk ...
                                including external/protobuf/Android.mk ...
                                including external/qemu/Android.mk ...
                                including external/scrypt/Android.mk ...
                                including external/sepolicy/Android.mk ...
                                including external/sfntly/Android.mk ...
                                including external/skia/Android.mk ...
                                including external/sonivox/Android.mk ...
                                including external/speex/Android.mk ...
                                including external/sqlite/android/Android.mk ...
                                including external/sqlite/dist/Android.mk ...
                                including external/stlport/Android.mk ...
                                including external/tinyalsa/Android.mk ...
                                including external/tinycompress/Android.mk ...
                                including external/tremolo/Android.mk ...
                                including external/webp/Android.mk ...
                                including external/webrtc/Android.mk ...
                                including external/wpa_supplicant_8/Android.mk ...
                                including external/yaffs2/Android.mk ...
                                including external/zlib/Android.mk ...
                                including frameworks/av/camera/Android.mk ...
                                including frameworks/av/drm/common/Android.mk ...
                                including frameworks/av/drm/drmserver/Android.mk ...
                                including frameworks/av/drm/libdrmframework/Android.mk ...
                                including frameworks/av/drm/mediadrm/plugins/mock/Android.mk ...
                                including frameworks/av/media/common_time/Android.mk ...
                                including frameworks/av/media/libcpustats/Android.mk ...
                                including frameworks/av/media/libeffects/downmix/Android.mk ...
                                including frameworks/av/media/libeffects/factory/Android.mk ...
                                including frameworks/av/media/libeffects/loudness/Android.mk ...
                                including frameworks/av/media/libeffects/lvm/lib/Android.mk ...
                                including frameworks/av/media/libeffects/lvm/wrapper/Android.mk ...
                                including frameworks/av/media/libeffects/preprocessing/Android.mk ...
                                including frameworks/av/media/libeffects/proxy/Android.mk ...
                                including frameworks/av/media/libeffects/visualizer/Android.mk ...
                                including frameworks/av/media/libmedia/Android.mk ...
                                including frameworks/av/media/libmediaplayerservice/Android.mk ...
                                including frameworks/av/media/libnbaio/Android.mk ...
                                including frameworks/av/media/libstagefright/Android.mk ...
                                including frameworks/av/media/mediaserver/Android.mk ...
                                including frameworks/av/services/audioflinger/Android.mk ...
                                including frameworks/av/services/camera/libcameraservice/Android.mk ...
                                including frameworks/av/services/medialog/Android.mk ...
                                including frameworks/base/cmds/bootanimation/Android.mk ...
                                including frameworks/base/cmds/screencap/Android.mk ...
                                including frameworks/base/libs/androidfw/Android.mk ...
                                including frameworks/base/services/input/Android.mk ...
                                including frameworks/base/tools/aapt/Android.mk ...
                                including frameworks/native/cmds/installd/Android.mk ...
                                including frameworks/native/cmds/servicemanager/Android.mk ...
                                including frameworks/native/libs/binder/Android.mk ...
                                including frameworks/native/libs/diskusage/Android.mk ...
                                including frameworks/native/libs/gui/Android.mk ...
                                including frameworks/native/libs/input/Android.mk ...
                                including frameworks/native/libs/ui/Android.mk ...
                                including frameworks/native/opengl/libagl/Android.mk ...
                                including frameworks/native/opengl/libs/Android.mk ...
                                including frameworks/native/opengl/tests/Android.mk ...
                                including frameworks/native/services/batteryservice/Android.mk ...
                                including frameworks/native/services/connectivitymanager/Android.mk ...
                                including frameworks/native/services/powermanager/Android.mk ...
                                including frameworks/native/services/sensorservice/Android.mk ...
                                including frameworks/native/services/surfaceflinger/Android.mk ...
                                including frameworks/opt/emoji/Android.mk ...
                                including hardware/akm/AK8975_FS/akmdfs/Android.mk ...
                                including hardware/akm/AK8975_FS/libsensors/Android.mk ...
                                including hardware/broadcom/libbt/Android.mk ...
                                including hardware/broadcom/wlan/bcmdhd/Android.mk ...
                                including hardware/conn_init/Android.mk ...
                                including hardware/invensense/Android.mk ...
                                including hardware/libhardware/Android.mk ...
                                including hardware/libhardware_legacy/Android.mk ...
                                including hardware/qcom/audio/Android.mk ...
                                including hardware/qcom/bt/Android.mk ...
                                including hardware/qcom/camera/Android.mk ...
                                including hardware/qcom/display/Android.mk ...
                                build/core/copy_headers.mk:15: warning: overriding recipe for target '/home/cedian/phablet/out/target/product/bacon/obj/include/qcom/display/copybit.h'
                                build/core/copy_headers.mk:15: warning: ignoring old recipe for target '/home/cedian/phablet/out/target/product/bacon/obj/include/qcom/display/copybit.h'
                                build/core/copy_headers.mk:15: warning: overriding recipe for target '/home/cedian/phablet/out/target/product/bacon/obj/include/qcom/display/copybit_priv.h'
                                build/core/copy_headers.mk:15: warning: ignoring old recipe for target '/home/cedian/phablet/out/target/product/bacon/obj/include/qcom/display/copybit_priv.h'
                                including hardware/qcom/keymaster/Android.mk ...
                                including hardware/qcom/media-caf-new/Android.mk ...
                                including hardware/qcom/power/Android.mk ...
                                including hardware/qcom/wlan/qcwcn/Android.mk ...
                                including hardware/ril/libril/Android.mk ...
                                including hardware/ril/librilutils/Android.mk ...
                                including hardware/ril/reference-ril/Android.mk ...
                                including hardware/ril/rild/Android.mk ...
                                including hardware/samsung_slsi/exynos5/Android.mk ...
                                including hardware/ti/omap3/Android.mk ...
                                including hardware/ti/omap4xxx/Android.mk ...
                                including hardware/ti/wlan/mac80211/Android.mk ...
                                including hardware/ti/wpan/Android.mk ...
                                including prebuilts/tools/linux-x86/sdl/Android.mk ...
                                including sdk/emulator/mksdcard/Android.mk ...
                                including sdk/emulator/opengl/Android.mk ...
                                including sdk/emulator/qtools/Android.mk ...
                                including system/core/Android.mk ...
                                including system/extras/ext4_utils/Android.mk ...
                                including system/media/audio_route/Android.mk ...
                                including system/media/audio_utils/Android.mk ...
                                including system/media/camera/src/Android.mk ...
                                including system/media/camera/tests/Android.mk ...
                                including system/security/keystore/Android.mk ...
                                including system/security/softkeymaster/Android.mk ...
                                including system/vold/Android.mk ...
                                including ubuntu/assets/Android.mk ...
                                including ubuntu/libhybris/compat/camera/Android.mk ...
                                including ubuntu/libhybris/compat/input/Android.mk ...
                                including ubuntu/libhybris/compat/media/Android.mk ...
                                including ubuntu/libhybris/compat/surface_flinger/Android.mk ...
                                including ubuntu/libhybris/compat/ui/Android.mk ...
                                including ubuntu/platform-api/android/hybris/Android.mk ...
                                including ubuntu/upstart-property-watcher/Android.mk ...
                                build/core/Makefile:32: warning: overriding recipe for target '/home/cedian/phablet/out/target/product/bacon/system/etc/apns-conf.xml'
                                build/core/base_rules.mk:529: warning: ignoring old recipe for target '/home/cedian/phablet/out/target/product/bacon/system/etc/apns-conf.xml'
                                PRODUCT_COPY_FILES device/sample/etc/apns-full-conf.xml:system/etc/apns-conf.xml ignored.
                                PRODUCT_COPY_FILES device/oppo/msm8974-common/audio/audio_policy.conf:system/etc/audio_policy.conf ignored.
                                PRODUCT_COPY_FILES device/oppo/msm8974-common/audio/mixer_paths.xml:system/etc/mixer_paths.xml ignored.
                                No private recovery resources for TARGET_DEVICE bacon
                                device/oneplus/bacon/mkbootimg.mk:47: warning: overriding recipe for target '/home/cedian/phablet/out/target/product/bacon/boot.img'
                                build/core/Makefile:489: warning: ignoring old recipe for target '/home/cedian/phablet/out/target/product/bacon/boot.img'
                                make: *** No rule to make target 'adsprpcd'.  Stop.
                                [/code]

                                1 Reply Last reply Reply Quote 0
                                • P Offline
                                  Procyon
                                  last edited by

                                  It gives the error no such file or directory when building apparmor

                                  1 Reply Last reply Reply Quote 0
                                  • H Offline
                                    h2o64
                                    last edited by

                                    [quote='mariogrip' pid='54' dateline='1434298331']
                                    I tried to set console=null on my oneplus one and it gave me and kernel panic, so i really think you need to console=tty0 and remove androidboot.console.
                                    [/quote]

                                    Hey @mariogrip !
                                    Long time has past and I investigated a lot.
                                    My device [b]can't boot without a console[/b] (for many reasons that I can't even totally explain).
                                    So I need to find a way to fix the crash and make Ubuntu Touch accept console flags.
                                    If you know some Canonical Devs, could you ask them why the console is disabled ? And even what's make the kernel crash ?

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post