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

MicroSD read only OTA25?

Scheduled Pinned Locked Moved Solved Support
7 Posts 2 Posters 501 Views 1 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.
    • A Offline
      aimar
      last edited by aimar 19 Apr 2023, 11:54

      I do not want to blame OTA25. I do not want to be a pain in the ass. I cannot corfirm OTA25 is the cause, but by the time I updated (BQ E4.5 stable) my microSD card started mounting automatically as a read only file system.
      First I noticed the camera complaining about the impossibility of saving the pictures in the card. Afterwards I realized that Syncthing was not syncing and OSM ScoutServer also complained.
      I shutdown, reboot, restart, detach the card and insert again without any luck.
      Finally, this command in the terminal did the trick:

      sudo mount --options remount,rw /dev/mmcblk1
      

      /dev/mmcblk1 is the path to the card found by fdisk -l
      Currently the issue is solved although I have to run the command each time I restart the device. Because now, I do not know why or how, I can boot without any trouble even with OTA25.
      I would like to know how can I make this rw persistent.
      Besides, does anybody have a similar issue since updating?

      1 Reply Last reply Reply Quote 0
      • A aimar referenced this topic on 19 Apr 2023, 13:11
      • A Offline
        aimar
        last edited by 19 Apr 2023, 13:54

        I realize that from time to time, maybe when the phone goes to sleep, the microSD card becomes read only again.
        I use the mentioned command and I can create/delete again files in it.

        A 1 Reply Last reply 19 Sept 2023, 07:58 Reply Quote 0
        • A Offline
          aimar @aimar
          last edited by aimar 19 Sept 2023, 07:58

          It was quite annoying to open the terminal and launch the command each time I wanted to take a photo or save a file in the SD card, so I formated the SD card.
          I have created symlinks for all the folders in the home folder towards the SD card. It is a 128 MB card, I have to take advantage of it.
          However, although the problem is solved (the SD card is not read only now; I can write on it), the camera app keeps complaining stating that the SD card is read only. I removed the Pictures folder symlink and tried to save the photos on a fresh Pictures folder of the device's home folder. But every time I take a photo I get a "failed" error.
          Has anyone faced a similar issue?

          A 1 Reply Last reply 19 Sept 2023, 08:14 Reply Quote 0
          • A Offline
            aimar @aimar
            last edited by 19 Sept 2023, 08:14

            I have reälized that the Pictures folder I have just created in the home folder lacks the custom icon overlaying the folder icon.
            Maybe that is the reason why the captures failed.
            Even the screenshots are not saved (they do not however show any error alert).
            I think camera app is not recognizing the /home/Pictures folder as valid.
            Any ideas to solve it?
            Thank you.

            1 Reply Last reply Reply Quote 0
            • A Offline
              aimar
              last edited by 17 Oct 2023, 17:33

              I found that the file ~/.config/user-dirs.dirs contains the default folders. So I edited it and restored the missing default home folders, e.g., XDG_PICTURES_DIR="$HOME/" to XDG_PICTURES_DIR="$HOME/Pictures".
              Now I can save the photos in the device. The problem with the read only SD card persists. I have tried with a brand new SD card with no luck.

              1 Reply Last reply Reply Quote 0
              • A Offline
                aimar
                last edited by 18 Oct 2023, 20:13

                Well, actually I had not used "Pictures" but the translation to my language. It seems that for saving in the SD card, "Pictures" is mandatory.
                Maybe I am wrong but at least now I can save wherever I want to.

                K 1 Reply Last reply 18 Oct 2023, 23:19 Reply Quote 1
                • A aimar has marked this topic as solved on 18 Oct 2023, 20:13
                • K Offline
                  Keneda @aimar
                  last edited by 18 Oct 2023, 23:19

                  @aimar said in MicroSD read only OTA25?:

                  Maybe I am wrong

                  You're not ^^

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

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post