Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Change resolution from real 720p to real 1080p on the fly useing just 1 kernel (POC)

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

    #61
    I will update first post with how to and all files.
    Just give me some time
    Everything is possible if we work together!
    ApkFreak

    Comment


      #62
      Originally posted by lewy20041 View Post
      I will update first post with how to and all files.
      Just give me some time
      Thanks , really thanks

      Comment


        #63
        Any updates lewy20041 ? i know you told me give me some time but i can't wait more

        Comment


          #64
          I will try to post it tomorrow as I'm at work now.
          Please send me a pm tomorow so i dont forget;p
          Everything is possible if we work together!
          ApkFreak

          Comment


            #65
            Originally posted by lewy20041 View Post
            I will try to post it tomorrow as I'm at work now.
            Please send me a pm tomorow so i dont forget;p
            I posted the PM 2 days ago , waiting for your response.

            Comment


              #66
              not enough time.
              sory.
              you can get my firmware and just disamble it if you are in a hury.
              you need 720p.sh 1080p.sh from xbin folder, advanced_hfw from app folder.
              create preinstall folder in root directory and put there 720p.img(720p kernel) and 1080p.img
              i will post all files as soon as i get more free time.
              Everything is possible if we work together!
              ApkFreak

              Comment


                #67
                Originally posted by lewy20041 View Post
                not enough time.
                sory.
                you can get my firmware and just disamble it if you are in a hury.
                you need 720p.sh 1080p.sh from xbin folder, advanced_hfw from app folder.
                create preinstall folder in root directory and put there 720p.img(720p kernel) and 1080p.img
                i will post all files as soon as i get more free time.
                I already did all you said and more , In addition to the files you mentioned i did the following:
                i included also b720p.img , b1080p.img
                which i beleive the boot images , buildHD.prop , buildNORMAL.prop which
                Are the build properties for 1080p and 720p respectively , switchres.sh
                Which the script that decides between 720p.sh and 1080p.sh
                I also modified install.sh in the /system/bin folder
                which installs switchres.sh , 720p.sh , 1080p.sh scripts (correct me if i am wrong in this part)
                And finally modified init.rc in the boot to call install.sh during startup

                But it doesn't work , Advanced should shows up in my settings but nothing happened
                I can see that the advanced_hfw is installed as a system application but it doesn't exist
                In the settings menu or anywhere else , so i am unable to run it.

                i don't want to disturb you or waste your time , you don't have to write
                A how to nor post the any files because as you can see i am very close but
                something very small is missing , all i ask is that you tell me very briefly what it is.
                Last edited by opengl1971; 25 September 2013, 23:26.

                Comment


                  #68
                  Originally posted by opengl1971 View Post
                  I already did all you said and more , In addition to the files you mentioned i did the following:
                  i included also b720p.img , b1080p.img
                  which i beleive the boot images , buildHD.prop , buildNORMAL.prop which
                  Are the build properties for 1080p and 720p respectively , switchres.sh
                  Which the script that decides between 720p.sh and 1080p.sh
                  I also modified install.sh in the /system/bin folder
                  which installs switchres.sh , 720p.sh , 1080p.sh scripts (correct me if i am wrong in this part)
                  And finally modified init.rc in the boot to call install.sh during startup

                  But it doesn't work , Advanced should shows up in my settings but nothing happened
                  I can see that the advanced_hfw is installed as a system application but it doesn't exist
                  In the settings menu or anywhere else , so i am unable to run it.

                  i don't want to disturb you or waste your time , you don't have to write
                  A how to nor post the any files because as you can see i am very close but
                  something very small is missing , all i ask is that you tell me very briefly what it is.
                  i forgot something to;p
                  i edited the app so it will not show in app drawer.
                  use settings.apk from my firmware and you are good
                  Everything is possible if we work together!
                  ApkFreak

                  Comment


                    #69
                    Originally posted by lewy20041 View Post
                    i forgot something to;p
                    i edited the app so it will not show in app drawer.
                    use settings.apk from my firmware and you are good
                    Thanks very much i will try that

                    Comment


                      #70
                      Now i can confirm that it worked very well , thanks very much lewy2004
                      One last question , is it possible to change the HDMI Output resolution also ?
                      I thought of changing it in buildNORMAL.prop and buildHD.prop.

                      So is there a way to change it in these build.prop files ?

                      Comment


                        #71
                        probably no as its hardcoded in kernel:"
                        Everything is possible if we work together!
                        ApkFreak

                        Comment


                          #72
                          But when you change it manually it stays the same , so there must be some place this setting
                          Is saved right ?

                          Comment


                            #73
                            good point
                            i will try to figure this out and post if i find something ok
                            Everything is possible if we work together!
                            ApkFreak

                            Comment


                              #74
                              Thanks very much , i really appreciate it.

                              Comment


                                #75
                                The following syntax seems to do it:
                                echo "1920x1080p-60" > /sys/devices/virtual/display/display0.HDMI/mode

                                But it doesn't last between reboots and it is not reflected in the settings application
                                Meaning that when you change the HDMI resolution by this command say from 720p to 1080p
                                It works and HDMI resolution switches to 1080p but when you check the settings application
                                You will find it still indicates 720p despite the fact that it is 1080p.

                                The weird thing is that if you change the resolution manually you will find that
                                /sys/devices/virtual/display/display0.HDMI/mode has changed correctly which is weired

                                I think the only meaning of this is the setting app saves the resolution data in 2 places , one place
                                isresponsible to execute the change which is/sys/devices/virtual/display/display0.HDMI/mode
                                and another place some where else to save the data which the settings app reads the data from.

                                I think to do a permanent resolution change and to make the settings app shows the correct
                                Resolution we have to find this other place.

                                If this is windows i would write a C++ app to intercept any disk write system APIs and dump its
                                Content to analyze where the Api is going to write the data , but my android knowledge is next
                                To none

                                Comment

                                Working...
                                X