SD Card no writing permission in FP2

OK, so my file would look like this:

<?xml version="1.0" encoding="utf-8"?>

name=“android.permission.BLUETOOTH_ADMIN” >

<permission name="android.permission.BLUETOOTH_STACK" >

gid=“net_bt_stack” />

<permission name="android.permission.NET_TUNNELING" >

 <group gid="vpn" />

<permission name="android.permission.INTERNET" >
<permission name="android.permission.READ_LOGS" >

name=“android.permission.READ_EXTERNAL_STORAGE” >

<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >

gid=“sdcard_r” />


name=“android.permission.ACCESS_ALL_EXTERNAL_STORAGE” >


name=“android.permission.WRITE_MEDIA_STORAGE” >

<permission name="android.permission.ACCESS_CACHE_FILESYSTEM" >
<permission name="android.permission.DIAGNOSTIC" >

  <group gid="input" />
    <group gid="diag" />



<permission name="android.permission.MODIFY_NETWORK_ACCOUNTING">
<permission name="android.permission.LOOP_RADIO" 
    <group gid="loop_radio" />




name=“android.permission.MODIFY_AUDIO_SETTINGS” uid=“media” />

name=“android.permission.ACCESS_SURFACE_FLINGER” uid=“media” />

name=“android.permission.WAKE_LOCK” uid=“media” />

name=“android.permission.UPDATE_DEVICE_STATS” uid=“media” />

name=“android.permission.UPDATE_APP_OPS_STATS” uid=“media” />


name=“android.permission.ACCESS_SURFACE_FLINGER” uid=“graphics” />


file=”/system/framework/android.test.runner.jar" />




power-save package=“com.android.providers.downloads” />

I only deleted exactly from the first <!- -… to the next - ->
That means that I didn’t delete any space between strings.
Is there a problem if there is to many space?
I never edited a xml-file before…
So next step would be the transfer via sms.

Because of the space between the strings the first 160 characters of a sms would look like this:

Or should I better count the amount o space between strings and insert that into the platform.xml in the permission-folder of my phone?

I don’t think that the spaces between the strings make any difference, so I would leave them out - so you have to send less text messages :smile:

Seems like the sms-edited platform.xml (inserted only parts) doesn’t change a lot. How can i install busybox via adb and where do I get it? On the other hand: no apps are working but amaze. No internet.
Thought to send the phone back to the netherlands and let it repair by technicians of FP because it seems like I couldn’t solve my problem.

With “doesn’t change a lot”, do you mean no change at all? Or can you access now at least some drive (like internal or external storage).
Basically it should work if the corrupted file gets fixed.

Well, if you can’t get apps running, maybe installing busy box won’t work either. At least the busy box app which I am using is rather an installer that - when opening the app - downloads the necessary components (binary).

For an adb install you basically need to download the apk file to your computer, and with the command “adb install FILENAME” you can install it. Though I am not sure if that will work if you cannot get root access for the adb.

I think if everything fails then you still have a chance to get a running system by yourself. You could download the stock ROM and flash it from the recovery, or you could ask someone who compiled the FP-OSOS if he or she could provide you with the images.

Thanks again for your kind help!
No, I can’t mount the storage or the external card and no app is working.
So I would like to flash the stock rom which I downloaded now. Afterwards I could use your platform.xml again that you kindly provided for me
But I couldn’t find a wiki for flashing the rom for beginners in the forum in a quick search. Is there one?

I just saw you already opened up a new thread for continuing on your system rescue mission!
Anyhow, I am not so well versed with flashing and stuff, so I hope others can be of more help. Maybe you can ask @Moritz, he managed to get a softbricked FP2 working again with the OTA zip.

Good Luck! :smile:

Hi there,

I’ve installed open camera and configured the storage location to an existing folder on my external sd card. however the app doesn’t seem to have write permissions there. In the file manager I can change permissions but they doesn’t seem to be permanant.

Any clues?


Android 5 doesn’t grant general write permissions for the SD card.
With a rooted phone this problem can be fixed. See, for example, posts 2, 3, or 27 in this thread for different solutions.

Oh yeah I distinctly remember something now. Seems I’ve enjoyed Cyanogenmod for too long ;). Anyway thx for pointing that out. Lets see if I can root my new FP2 w/o having a brick :wink:

Yeah, there are many great features from CM that I miss on Android.
Anyhow, rooting isn’t too difficult. See https://forum.fairphone.com/t/pencil2-howto-root-with-superuser/12375

Cool as it turns out rooting the FP2 is almost the same thing as rooting a Samsung device. Not I’m the “king” of my phone with write permissions to my sdcard sweet! :smiley: Now let’s see what we can do about the notification LED color thing :smiley:

Again thanks for the swift help!


Thanks to FBS (freibadschwimmer) - I rooted my FP2 yesterday. Indeed: also thanks to him rooting to me was easier than to pull and push platform-permissions. Typos inclusive from max_s who also made a great work.

So what ? No, I still can hardly believe that I had to root my phone only to use my brand new SD card newly formated inside FP2. (I asked myself “what the heck are you doing here ? Ah, you wanted to root anyway!”) I was reading the things about android security issues that hindered writing to my card. But why e.g. has a samsung smartphone user not these running gauntlets ?

sorry and many thanx to both FBS and Max_s.

I’m having an issue with one of my apps. I’m using Open Camera because there it’s possible to save my photos on the SD card. And I use Piktures for viewing my photo collections. Open Camera can save to the card without problems, Piktures can delete from the card without problems. The weird thing is, Piktures is not able to write changed content to the card. When I try to turn a photo around (left or right) and Piktures would save the new photo to the SD card, it shows

Piktures is not able to write or delete inside this directory. You may have to execute this action with a file manager. Thanks for your appreciation.

Saving turned photos to the internal storage via Piktures works flawlessly.

Any ideas?

Hallo zusammen, mein Englisch ist inzwischen schon sehr verblasst und wenn ich die Texte von google etc. übersetzen lasse, bekomme ich noch größere Fragezeichen vor Augen. Kann mir bitte jemand den Weg in guter und verständlicher Form beschreiben, damit auch ich mir die Daten, Bilder, downloads usw. auf SD Karte speichern kann?
Viele Grüße und schon mal ein Dankeschön.

Da das in Googles Sicherheitskonzept von Android 5 nicht vorgesehen ist, muss du dein FP2 erst rooten, um dieses zu umgehen. Hier ist eine deutsche Anleitung. Aber Vorsicht, du machst das auf eigene Gefahr!!!


Anschließend kannst du generelle Schreibrechte auf die SD vergeben, z.B. mit dem Programm SDFix.

1 Like

Hi Joschka, also die app amaze oder der ES explorer, können das auch einfach ohne einen root zugriff, bei mir ging es so, ich habe den ES Explorer aufgemacht, dann habe ich eine Datei kopiert und wollte sie auf die SD karte schieben, das ging nicht da gab es eine Fehlermeldung die du einfach akzeptierst, danach geht es dann. ebenso bei Amaze (dass ist die app die drauf ist. also bei mir geht es nun wunderbar, ohne root. :wink:

nochmal ich, der Jon1 hat dies damals vorgeschlagen und es fluorierte :wink:
John schrieb (findest du ganz oben): ES Explorer and Amaze usually ask you to select the root of the SD card to grant permission when you try to do something, such as delete file. Have you been through this process? danach hat sich aus dem thema ein unglaubliches Thema entwickelt, es gibt hunderte ansätze, aber bei mir reichte dieser.

:de: Das klingt ja so, als ob die SD-Karte nur mit einem gerooteten FP2 nutzbar wäre. Ganz so schlimm ist es ja nicht. Alle Apps haben Leserecht für Dateien auf der SD-Karte. Wenn das FP an den PC angeschlossen ist, können Musik, Bilder u.s.w. von dort auf der SD-Karte gespeichert werden und mit dem FP angehört bzw. angeschaut werden. Auf meinem - nicht gerooteten - FP2 kann ich außerdem mit Amaze (vorinstalliert) und dem Total Commander Dateien aus dem internen Speicher auf die SD-Karte verschieben. Beide Apps wollten beim ersten Versuch, etwas auf die SD-Karte zu schreiben, bestätigt haben, dass das erlaubt ist. Ich kann leider nicht mehr genau beschreiben, was da zu tun war. Es war aber selbsterklärend und nicht kompliziert.

Zu beachten ist außerdem, dass SD-Karten, die 64GB oder größer sind, wohl formatiert werden müssen. Bei 32GB ist das nicht nötig.

Nachsatz: Da war @Mac_Marc jetzt schneller. Mein erster Satz bezog sich auf die Antwort von @Irina_Spitznagel.