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

    Need Help to fix GPU adreno 305

    Scheduled Pinned Locked Moved Porting
    adreno 305
    32 Posts 5 Posters 10.4k Views 4 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.
      • flohackF Offline
        flohack @walidham
        last edited by

        @walidham Beautiful! You are really skilled then, not many people can port in the first go so that they get a usable screen.

        You can follow these items roughly to see if you got all things covered:

        AppArmor
        Bluetooth
        Boot
        Camera
        Cellular Radio
        GPS
        Graphics
        Resume
        Rotation
        Sound
        Touch

        BR Florian πŸ˜‰

        My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

        L 1 Reply Last reply Reply Quote 1
        • L Offline
          Leppa @flohack
          last edited by

          @Flohack said in Need Help to fix GPU adreno 305:

          @walidham Beautiful! You are really skilled then, not many people can port in the first go so that they get a usable screen.

          You can follow these items roughly to see if you got all things covered:

          AppArmor
          Bluetooth
          Boot
          Camera
          Cellular Radio
          GPS
          Graphics
          Resume
          Rotation
          Sound
          Touch

          BR Florian πŸ˜‰

          Why is touch at the bottom? I'd consider that somewhat more important.

          Everyone believes that their actions are better than the alternatives.

          D flohackF 2 Replies Last reply Reply Quote 0
          • D Offline
            demokrit @Leppa
            last edited by

            @Leppa
            I think from a quick look that it is just posted in alphabetical order 😜

            1 Reply Last reply Reply Quote 0
            • flohackF Offline
              flohack @Leppa
              last edited by

              @Leppa Please, this is NOT ordered by importance πŸ™‚

              My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

              W 1 Reply Last reply Reply Quote 0
              • W Offline
                walidham @flohack
                last edited by

                @Flohack Hi can you help me to understant this error :

                E/adsprpc ( 0): vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:33:apps_std fopen failed: ./oemconfig.so No such file or directory
                E/adsprpc ( 0): vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:33:apps_std fopen failed: /system/lib/rfsa/adsp/./oemconfig.so No such file or directory

                btw camera(photo) , power buton, rotaion work.
                what no work : ril, audio, wifi,....

                full logs logcat

                flohackF 1 Reply Last reply Reply Quote 1
                • flohackF Offline
                  flohack @walidham
                  last edited by

                  @walidham Hello, sorry no...

                  You might want to take a look at CM/Lineage sources if they somewhere include a file called oemconfig.so - which source does your vendor tree come from? TheMuppets?

                  BR

                  My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                  W 1 Reply Last reply Reply Quote 0
                  • W Offline
                    walidham @flohack
                    last edited by

                    @Flohack Hi, wifi fixed, amazon & ebay application work, but browser, facebook and twiter crash .

                    For vendor, yes i used TheMuppets, cm-12.1 device tree and cm12.1 kernel with small modification in 4 files (fix boot.img size, compilation errors...)
                    I think RIL not work due to this error of file oemconfig.so.
                    I think need more debug for it

                    flohackF 1 Reply Last reply Reply Quote 0
                    • flohackF Offline
                      flohack @walidham
                      last edited by

                      @walidham Crashing Apps can be an indication that your apparmor does not work... Did you apply those patches already?

                      BR

                      My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                      W 1 Reply Last reply Reply Quote 0
                      • W Offline
                        walidham @flohack
                        last edited by

                        @Flohack in wiki ubuntu guide its not clear how to patch apparmor, i will try to do it.
                        The audio is not working, is it related to apparmor ?
                        Also i found that RIL is related to audio, i think fix audio will fix RIL, right ?

                        flohackF 1 Reply Last reply Reply Quote 0
                        • flohackF Offline
                          flohack @walidham
                          last edited by

                          @walidham I was never so far that I could see if audio or RIL works. But maybe yes.

                          Which kernel version do you have? I just replaced the apparmor folder completly with the backport version. Dunno if this will be enough but it looked so far ok πŸ˜‰

                          BR

                          My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                          W 1 Reply Last reply Reply Quote 0
                          • W Offline
                            walidham @flohack
                            last edited by

                            @Flohack i used motorola kernel msm8226 v 3.42.
                            Can u give me the link the backport version.
                            Also many thanks for reply
                            Best Regards

                            flohackF 1 Reply Last reply Reply Quote 0
                            • flohackF Offline
                              flohack @walidham
                              last edited by

                              @walidham See https://developer.ubuntu.com/en/phone/devices/porting-new-device/ => Scroll down to "Device-specific changes" => Scroll further down to "AppArmor" and you see a list of links for that. Found it? πŸ˜ƒ

                              linux-maguro (3.0.0)
                              linux-grouper (3.1.10)
                              linux-mako (3.4.0)
                              linux-manta (3.4.0)
                              

                              BR

                              My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                              W 2 Replies Last reply Reply Quote 0
                              • W Offline
                                walidham @flohack
                                last edited by

                                @Flohack yes thanks

                                1 Reply Last reply Reply Quote 0
                                • W Offline
                                  walidham @flohack
                                  last edited by

                                  @Flohack OMG, its work now, many thanks, apparmor work, i tested by open browser.
                                  Also its more fast now

                                  My big problem now is pulseaudio and ril.

                                  flohackF 1 Reply Last reply Reply Quote 1
                                  • flohackF Offline
                                    flohack @walidham
                                    last edited by

                                    @walidham Wow good job man! The critical point is if we ever find a kernel that is not already ported. AppArmor backporting is real pain. Keep on going, send screenshots etc πŸ˜‰

                                    BR

                                    My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                                    W 1 Reply Last reply Reply Quote 0
                                    • W Offline
                                      walidham @flohack
                                      last edited by walidham

                                      @Flohack
                                      0_1495400347167_screenshot20170521_215141772.png

                                      flohackF 1 Reply Last reply Reply Quote 2
                                      • flohackF Offline
                                        flohack @walidham
                                        last edited by

                                        @walidham I love it! Hope you get rild / ofono running, but you got already some cool stuff here.

                                        My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                                        1 Reply Last reply Reply Quote 0
                                        • N Offline
                                          NeoTheThird
                                          last edited by

                                          Wow, this is awesome! Good work and keep it up!

                                          W 2 Replies Last reply Reply Quote 0
                                          • W Offline
                                            walidham @NeoTheThird
                                            last edited by

                                            @NeoTheThird @Flohack
                                            Thank you very much
                                            I need help for ril /ofono & pulseaudio.

                                            i have this error
                                            ses=4294967295 pid=2685 comm="pulseaudio" reason="memory violation" sig=11

                                            apparmor="DENIED" operation="open" profile="/usr/lib/telepathy/telepathy-ofono" name="/dev/tty" uid=32011 pid=3190 comm="telepathy-ofono"

                                            i added module-droid-glue.so but no change, same error.

                                            full logcat

                                            full dmesg

                                            List of sound cards
                                            cat /proc/asound/cards
                                            0 [msm8226tapan930]: msm8226-tapan93 - msm8226-tapan9302-snd-card
                                            msm8226-tapan9302-snd-card

                                            W 1 Reply Last reply Reply Quote 0
                                            • W Offline
                                              walidham @walidham
                                              last edited by

                                              This post is deleted!
                                              1 Reply Last reply Reply Quote 0
                                              • First post
                                                Last post