• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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.
    • L Offline
      Leppa @flohack
      last edited by 15 May 2017, 14:51

      @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 F 2 Replies Last reply 15 May 2017, 14:57 Reply Quote 0
      • D Offline
        demokrit @Leppa
        last edited by 15 May 2017, 14:57

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

        1 Reply Last reply Reply Quote 0
        • F Offline
          flohack @Leppa
          last edited by 15 May 2017, 17:23

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

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

          W 1 Reply Last reply 18 May 2017, 20:49 Reply Quote 0
          • W Offline
            walidham @flohack
            last edited by 18 May 2017, 20:49

            @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

            F 1 Reply Last reply 20 May 2017, 07:29 Reply Quote 1
            • F Offline
              flohack @walidham
              last edited by 20 May 2017, 07:29

              @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 20 May 2017, 11:13 Reply Quote 0
              • W Offline
                walidham @flohack
                last edited by 20 May 2017, 11:13

                @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

                F 1 Reply Last reply 21 May 2017, 12:24 Reply Quote 0
                • F Offline
                  flohack @walidham
                  last edited by 21 May 2017, 12:24

                  @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 21 May 2017, 13:24 Reply Quote 0
                  • W Offline
                    walidham @flohack
                    last edited by 21 May 2017, 13:24

                    @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 ?

                    F 1 Reply Last reply 21 May 2017, 13:37 Reply Quote 0
                    • F Offline
                      flohack @walidham
                      last edited by 21 May 2017, 13:37

                      @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 21 May 2017, 14:00 Reply Quote 0
                      • W Offline
                        walidham @flohack
                        last edited by 21 May 2017, 14:00

                        @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

                        F 1 Reply Last reply 21 May 2017, 14:20 Reply Quote 0
                        • F Offline
                          flohack @walidham
                          last edited by 21 May 2017, 14:20

                          @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 21 May 2017, 14:33 Reply Quote 0
                          • W Offline
                            walidham @flohack
                            last edited by 21 May 2017, 14:33

                            @Flohack yes thanks

                            1 Reply Last reply Reply Quote 0
                            • W Offline
                              walidham @flohack
                              last edited by 21 May 2017, 17:21

                              @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.

                              F 1 Reply Last reply 21 May 2017, 17:44 Reply Quote 1
                              • F Offline
                                flohack @walidham
                                last edited by 21 May 2017, 17:44

                                @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 21 May 2017, 20:59 Reply Quote 0
                                • W Offline
                                  walidham @flohack
                                  last edited by walidham 21 May 2017, 20:59

                                  @Flohack
                                  0_1495400347167_screenshot20170521_215141772.png

                                  F 1 Reply Last reply 22 May 2017, 06:54 Reply Quote 2
                                  • F Offline
                                    flohack @walidham
                                    last edited by 22 May 2017, 06:54

                                    @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 22 May 2017, 14:16

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

                                      W 2 Replies Last reply 22 May 2017, 23:10 Reply Quote 0
                                      • W Offline
                                        walidham @NeoTheThird
                                        last edited by 22 May 2017, 23:10

                                        @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 24 May 2017, 06:59 Reply Quote 0
                                        • W Offline
                                          walidham @walidham
                                          last edited by 24 May 2017, 06:59

                                          This post is deleted!
                                          1 Reply Last reply Reply Quote 0
                                          • W Offline
                                            walidham @NeoTheThird
                                            last edited by 24 May 2017, 07:01

                                            @NeoTheThird @Flohack Haha OMG RIL Work and double sim, only audio and bluetooth not working now, i will post screenshot in few minutes

                                            1 Reply Last reply Reply Quote 1
                                            19 out of 32
                                            • First post
                                              19/32
                                              Last post