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

    ZRAM and Swap?

    Scheduled Pinned Locked Moved Porting
    11 Posts 4 Posters 1.9k Views 2 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.
    • KenedaK Offline
      Keneda
      last edited by Keneda

      What is surnia?!?

      EDIT : ok i found, it's Moto E 2015 4G

      https://forums.ubports.com/topic/186/problem-porting-to-moto-e-2015-4g-surnia/1?_=1598520000760

      2015-2023 : Meizu MX4 ☠️⚰️✝️
      2023-2024 : Nexus 5 ☠️⚰️✝️
      2024-***** : FPOS Fairphone 5
      🇲🇫🇬🇧

      1 Reply Last reply Reply Quote 0
      • I Offline
        impreza233
        last edited by

        Motorola Moto E 2015 4G/LTE, aka that phone:
        alt text

        1 Reply Last reply Reply Quote 0
        • K Offline
          kugiigi
          last edited by

          Zram is being used in bq E5 which also have 1 GB of RAM. It does make the phone faster and smoother.

          I 1 Reply Last reply Reply Quote 0
          • I Offline
            impreza233 @kugiigi
            last edited by

            @kugiigi and how it could be implemented on surnia?

            D 1 Reply Last reply Reply Quote 0
            • D Offline
              doniks @impreza233
              last edited by

              @impreza233 probably first kernel config https://github.com/ubports/kernel_vegetahd/blob/master/mediatek/config/krillin/autoconfig/kconfig/project#L1947 then check kernel log to see whether ut picks this up right away

              I 1 Reply Last reply Reply Quote 1
              • I Offline
                impreza233 @doniks
                last edited by

                @doniks thanks 🙂 I will take this on account.

                D 1 Reply Last reply Reply Quote 0
                • D Offline
                  doniks @impreza233
                  last edited by

                  @impreza233 Looking forward to hear how this goes!

                  I 1 Reply Last reply Reply Quote 0
                  • I Offline
                    impreza233 @doniks
                    last edited by

                    @doniks myself and a fellow (@bartbart2003 ) have tested that on config, but it seems not working at this moment

                    D 1 Reply Last reply Reply Quote 0
                    • D Offline
                      doniks @impreza233
                      last edited by

                      @impreza233 said in ZRAM and Swap?:

                      @doniks myself and a fellow (@bartbart2003 ) have tested that on config, but it seems not working at this moment

                      mhm. so you did enable in the kernel config and it has rebuilt and booted successfully? Anything visible in kernel log?

                      I have never used zram before, but from quick research it looks as if it is all about creating a swap space (in compressed ram). Do you have a swap device now? Is it used (swapon -s)?

                      I 1 Reply Last reply Reply Quote 1
                      • I Offline
                        impreza233 @doniks
                        last edited by

                        @doniks it has booted successfully, but we have not seem any indication on kernel log. We will test that command.

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • First post
                          Last post