Fairphone
Camera
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
I have been doing this too often, therefore the quick recipe:
- Make sure there is a rootet boot image available for the target firmware version at https://fp2.retsifp.de and download it.
- Perform a full firmware upgrade on the phone.
- Connect it via USB and enable the USB debugging in the phone settings.
-
Make sure the device is visiable to
adb
.$ sudo adb devices ....
-
Reboot the phone into the bootloader.
$ sudo adb reboot bootloader
-
Make sure you still have a connection to the phone while being in the bootloader:
$ sudo fastboot devices
-
Upload the new bootimage:
$ sudo fastoot flash boot <boot.img>
-
Reboot the phone
$ sudo fastboot reboot
-
Usual steps to perform after upgrading and rooting the phone:
- Install Busybox binaries.
- Enable the Ad-blocker.
- Re-apply the firewall rules.
- Disable the USB debugger.
SD Card writeable
With Busybox
adb shell
su
mount -o rw,remount /system
vi /system/etc/permisisons/platform.xml
Without busybox
-
Pull the file
$ adb pull /system/etc/permissions/platform.xml
-
Edit the file according to the change below
- Push the file back
$ 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>