Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

[Script] Auto frame rate for X96max ATV (and other clones)

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #46
    Originally posted by zoelechat View Post

    service.d is built-in Magisk equivalent of init.d, I've never used Amlogic box tool (does init.d feature of that tool breaks Magisk service.d??)
    I don't use magisk, but I'm use amlogic tool box. But for 50afr script it's the same

    Comment


      #47
      Ah ok, has sense then, my bad you told it already
      I personally prefer not to trip system partition for easier restore or update (main advantage of Magisk), but that entirely remains one's choice.

      Comment


        #48
        Everything is good. And thanks again for the AFR

        Comment


          #49
          Originally posted by zoelechat View Post

          Then /data/adb/service.d is mandatorily there, beware it's in ROOT of device, not in user storage
          Doesn't matter anyway if you found a workaround.
          I'm also running xtmod by Xannytech and magisk 18.1. There is no data/adb/device.d.

          I really don't understand where I should install the AFR? Please help!

          Comment


            #50
            Are you sure you're looking at root of device? Through adb or any root explorer app?
            What about /sbin/.core/img/.core/service.d folder?

            Comment


              #51
              Ok, let's do a simple procedure for those ignoring what is root

              ONLY APPLIES TO MAGISK >=18 ROOTED ROM
              • Copy unzipped 50afr to internal storage (the place where there are Android, Download, DCIM, etc folders) using any file explorer of your choice.
              • Open Termux app, then type:
                Code:
                su
                You should get superuser popup, accept it.
              • Move script to the right place by typing:
                Code:
                mv /data/media/0/50afr /data/adb/service.d
              • Give execute permissions:
                Code:
                chmod 755 /data/adb/service.d/50afr
              • Reboot, done.
              ps: Don't forget to install busybox Magisk module first!!
              Last edited by zoelechat; 21 March 2019, 15:16.

              Comment


                #52
                Congratulations for the work ... it works in t95q with rom xtmod atv .. but I have a question. I have tried some movies to check it, .. almost all are at 23.98 fps and the image has changed to 24fps..correct .. but I have tried the hobbit that is at 48fps already changed to 30fps .. should not have changed to 50fps ??

                Comment


                  #53
                  I like the idea of 48fps and smoother motion in general, but it's very particular case not intended in script, and I wouldn't be surprised if it's also not expected by HW decoder which often (wrongly) reports 30fps when it mixes up itself (you may notice it by the time, it's far from perfect)
                  Wondering at which refresh rate it would look the "less worse" given that probably not much (no?) TVs would support exactly 48Hz. I guess 50Hz would be ugly (48/50 = 24/25, one stutter per second!). Obviously 24Hz is only "multiple" of 48fps but loosing benefit of double frame rate, shame
                  You still can try to add 48 case to 23|24 in script but as said I doubt HW really understands it...

                  Comment


                    #54
                    Originally posted by zoelechat View Post
                    Ok, let's do a simple procedure for those ignoring what is root
                    • Copy unzipped 50afr to internal storage (the place where there are Android, Download, DCIM, etc folders) using any file explorer of your choice.
                    • Open Termux app, then type:
                      Code:
                      su
                      You should get superuser popup, accept it.
                    • Move script to the right place by typing:
                      Code:
                      mv /data/media/0/50afr /data/adb/service.d
                    • Give execute permissions:
                      Code:
                      chmod 755 /data/adb/service.d/50afr
                    • Reboot, done.
                    ps: Don't forget to install busybox Magisk module first!!
                    Excellent! Thanks.

                    Yes, I'm using root X-plore and total commander (which I've granted superuser permission). There is no device.d in data/adb. But there is service.d. Will follow your instructions and try.

                    Great work!

                    Sent from my CLT-L29 using Tapatalk

                    Comment


                      #55
                      But!? LOL, there was a typo from the beginning in 1st post, it's indeed service.d, not device.d !!! Edited, you could have told it earlier

                      Comment


                        #56

                        Comment


                          #57
                          Originally posted by zoelechat View Post
                          But!? LOL, there was a typo from the beginning in 1st post, it's indeed service.d, not device.d !!! Edited, you could have told it earlier
                          LOL!

                          Damn haha. Went through many folders looking for device.d. Didn't trust the search function. No wonder I couldn't find it.

                          Sent from my CLT-L29 using Tapatalk

                          Comment


                            #58
                            Originally posted by zoelechat View Post
                            I like the idea of 48fps and smoother motion in general, but it's very particular case not intended in script, and I wouldn't be surprised if it's also not expected by HW decoder which often (wrongly) reports 30fps when it mixes up itself (you may notice it by the time, it's far from perfect)
                            Wondering at which refresh rate it would look the "less worse" given that probably not much (no?) TVs would support exactly 48Hz. I guess 50Hz would be ugly (48/50 = 24/25, one stutter per second!). Obviously 24Hz is only "multiple" of 48fps but loosing benefit of double frame rate, shame
                            You still can try to add 48 case to 23|24 in script but as said I doubt HW really understands it...

                            ​I could try it, .. then if I modify this line by entering "48" it will be correct ?? ..excuse my ignorance..
                            ..
                            ​​​​​​
                            48|50)
                            SWITCHTO=${DEFDEF}50hz

                            ...

                            Comment


                              #59
                              Originally posted by Atlas_co View Post
                              I could try it, .. then if I modify this line by entering "48" it will be correct ?? ..excuse my ignorance..
                              ..
                              48|50)
                              SWITCHTO=${DEFDEF}50hz
                              Exactly, or 23|24|48) for 24Hz case, or 59|60|48) for 60Hz case. But if it switched to 30Hz so far, it's likely that HW sees it as 30fps anyway. However there is a case where 30Hz could be default (and max supported): if using UHD on HDMI1.4, and script is not designed for that scenario unless you tweak SWITCHTO values.

                              ps: At any time you can check fps reported by HW using that command from terminal, that's where I get it:
                              Code:
                              cat /sys/class/vdec/vdec_status
                              If it's wrong there I can't do any miracle

                              Comment


                                #60
                                Hi, i have one android box tanix tx5 max with same processor.

                                What steps i need to do for run this script?

                                Thanks in advance

                                Comment

                                Working...
                                X