Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Tutorial: Enable RK3368 True Octa-Core Processor - Part 1 of 2

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #61
    Originally posted by prahjister View Post

    Nice thread. Good work. misc.img tells the box what to do on next boot. http://www.mediafire.com/file/a9mvg4sk4hb9y74/misc.zip here are some i have collected. Cant remember what the one i labeled clear does. Maybe that is why when you flash yours it doesnt boot. Try using the wipe all one. Second though maybe better take misc from the stock one and bring into yours. I bet it boots after that.
    Thanks for the help... I'm going to try my stock misc.img and see if that works. I would like to be able to build everything though. I don't want to use anything that I haven't compiled.

    The stock misc.img does the trick! now to figure out what it is exactly and then make AOSP compile one that is the same.
    EDIT: looks like I forgot to add misc.img to my update.img causing all of the issues :/
    EDIT: Also my wireless is rtl8723bs that is why I have it set to that in my kernel.
    Last edited by l33tlinuxh4x0r; 14 December 2016, 04:49.

    Comment


      #62
      Originally posted by l33tlinuxh4x0r View Post

      Thanks for the help... I'm going to try my stock misc.img and see if that works. I would like to be able to build everything though. I don't want to use anything that I haven't compiled.

      The stock misc.img does the trick! now to figure out what it is exactly and then make AOSP compile one that is the same.
      EDIT: looks like I forgot to add misc.img to my update.img causing all of the issues :/
      EDIT: Also my wireless is rtl8723bs that is why I have it set to that in my kernel.
      ... whoops! I figured it was down to your misc.img. Good job hunting it down. As to Bluetooth again, I think it's something similarly simple, but likely to do with your kernel.
      ​​​​​

      Comment


        #63

        What's your antutu score look like for each segment, ram, ux, etc.?

        The next bit of cpu tuning you can look into is the parameters for the tunables in /sys/kernel/hmp as well as /proc/sys/kernel..

        Comment


          #64
          Originally posted by Shomari View Post
          What's your antutu score look like for each segment, ram, ux, etc.?

          The next bit of cpu tuning you can look into is the parameters for the tunables in /sys/kernel/hmp as well as /proc/sys/kernel..
          I changed the cpufreq safe frequencies and now my device is unstable I need to readjust my clock frequencies and get stable again. I'll report back after building.

          Bluetooth fails with the following:
          Code:
          In transmit_data, error writing to the uart serial port: Bad file descriptor
          Last edited by l33tlinuxh4x0r; 14 December 2016, 20:02.

          Comment


            #65
            I seem to have broken my wifi as well while trying to fix my bluetooth. I need to revert some changes :/

            Comment


              #66
              Originally posted by l33tlinuxh4x0r View Post
              I seem to have broken my wifi as well while trying to fix my bluetooth. I need to revert some changes :/
              ...quick note, since you're working from source, if you're not already doing it, try to keep in the habit of commenting your changes in the code and even the files. That'll prove very useful and save time especially when debugging/reverting changes.

              Comment


                #67
                Originally posted by Shomari View Post

                ...quick note, since you're working from source, if you're not already doing it, try to keep in the habit of commenting your changes in the code and even the files. That'll prove very useful and save time especially when debugging/reverting changes.
                True... I have mental notes and copies of all the changed files. I also have copies of the original source tree however I must have forgotten to backup one of my changes because Android will no longer compile and I cannot find the issue Time to take the original source tree and put my changes back into it and try again :/

                EDIT: Also for what it is worth. I am trying to port the geekbox 6.0.1 sources to AOSP nougat 7.1.1 sources. That might be worth while!

                Comment


                  #68
                  Originally posted by l33tlinuxh4x0r View Post

                  True... I have mental notes and copies of all the changed files. I also have copies of the original source tree however I must have forgotten to backup one of my changes because Android will no longer compile and I cannot find the issue Time to take the original source tree and put my changes back into it and try again :/

                  EDIT: Also for what it is worth. I am trying to port the geekbox 6.0.1 sources to AOSP nougat 7.1.1 sources. That might be worth while!
                  ...damn. That's why when working from source it's best to comment at the code level - every little change - before and after tests. Ends up saving tons of time. If only I had that habit from day one myself 😩

                  Comment


                    #69
                    Originally posted by Shomari View Post

                    ...damn. That's why when working from source it's best to comment at the code level - every little change - before and after tests. Ends up saving tons of time. If only I had that habit from day one myself 😩
                    Yeah I tend to use meld of diff to tell me what is changed it works really well. I just forgot what file I changed before I backed it up


                    EDIT: I figured it out except for why bluetooth isn't working It is slow going but at least I have wifi working again and everything else that I was working on. I'm pretty sure that it has something to do with my system.img and some configs in it.
                    Last edited by l33tlinuxh4x0r; 15 December 2016, 04:30.

                    Comment


                      #70
                      I am 90% sure that I have found the problem... The drivers for bluetooth are looking for my device at /dev/ttyS1 and it is actually at /dev/ttyS0. I can fix this by running the following command but it resets after every reboot.

                      Code:
                      ln -s /dev/ttyS0 /dev/ttyS1
                      I am currently looking in the code for a fix so that I can just compile it and make it work all of the time.

                      Just edited my dts file and changed ttyS0 to ttyS1 now to boot it and see if it worked.

                      EDIT: everything is working now! If there is enough interest from people with rtl8723bs wifi cards I might upload it and let others try it
                      Last edited by l33tlinuxh4x0r; 16 December 2016, 23:39.

                      Comment

                      Working...
                      X