Fairphone

Camera

Source

Problem: The shuttersound is annoying and it should be disabled. Same for the focussing sound.

Solution: On a rooted phone, connect to the shell, remount the system partition and e.g. rename the audio files.

$ adb shell
shell@FP2:/ $ su
root@FP2:/ $ mount -o rw,remount /system
root@FP2:/ $ mv /system/media/audio/ui/camera_click.ogg /system/media/audio/ui/camera_click.ogg.bak
root@FP2:/ $ mv /system/media/audio/ui/camera_focus.ogg /system/media/audio/ui/camera_focus.ogg.bak
root@FP2:/ $ exit
shell@FP2:/$ exit

Applies to: Fairphone 2

Battery

Problem Around the time when the Update to Firmware 1.8 came out, the battery started to behave a bit weird. While at first everything seemed to be normal, after a restart of the phone ( for whatever reason I have), the battery percentage suddenly showed a drop of sometimes more than 30% after the reboot. Also the subjective feeling that the battery did not last as long as it did before became more and more real.

Solution This post in the FP-Forum suggested the following procedure:

At FP they told me that the battery has its own software inside, which sometimes needs to be reset.

  • Use the battery up until it is below 0% (until the phone dies).
  • Take the battery out of the phone.
  • Plug your charger into the phone (still without battery).
  • Insert your battery. (This will give the battery a kick)
  • Charge your phone in one go until 100%. Do not boot.

Firmware upgrade on a rooted phone

Source

I have been doing this too often, therefore the quick recipe:

  1. Make sure there is a rootet boot image available for the target firmware version at https://fp2.retsifp.de and download it.
  2. Perform a full firmware upgrade on the phone.
  3. Connect it via USB and enable the USB debugging in the phone settings.
  4. Make sure the device is visiable to adb.

bash sudo adb devices

  1. Reboot the phone into the bootloader.

bash sudo adb reboot bootloader

  1. Make sure you still have a connection to the phone while being in the bootloader:

bash sudo fastboot devices

  1. Upload the new bootimage:

bash sudo fastoot flash boot <boot.img>

  1. Reboot the phone

bash sudo fastboot reboot

  1. Usual steps to perform after upgrading and rooting the phone:

    1. Install Busybox binaries.
    2. Enable the Ad-blocker.
    3. Re-apply the firewall rules.
    4. Disable the USB debugger.

SD Card writeable

Source

With Busybox

adb shell
su
mount -o rw,remount /system
vi /system/etc/permisisons/platform.xml

Without busybox

  1. Pull the file

bash adb pull /system/etc/permissions/platform.xml

  1. Edit the file according to the change below
  2. Push the file back

bash adb push platform.xml /system/etc/permissions/platform.xml

Change

  <permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
      <group gid="sdcard_r" />
      <group gid="sdcard_rw" />
+     <group gid="media_rw" />
  </permission>