# FP2 Bricked - Recovery Help

**URL:** <https://forum.fairphone.com/t/fp2-bricked-recovery-help/12032>\
**Category:** Fairphone 2\
**Tags:** bricked, recovery\
**Created:** [January 10, 2016, 7:31am UTC](https://forum.fairphone.com/t/fp2-bricked-recovery-help/12032 "2016-01-10T07:31:12Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Moritz](https://forum.fairphone.com/letter_avatar/moritz/32/6_449c533f586939b6e5f246632a46421f.png) [@Moritz](https://forum.fairphone.com/u/Moritz)\
**Post date:** [January 10, 2016, 7:31am UTC](https://forum.fairphone.com/t/fp2-bricked-recovery-help/12032/1 "2016-01-10T07:31:12Z")

</div>

Hi guys,  
so I tried rooting my FP2 with KingRoot and SuperSuMe yesterday only to realize that it get’s stuck on the loading screen and doesn’t boot anymore. So I did some research and found [this](https://fairphone.zendesk.com/hc/en-us/articles/201189497-Fairphone-OS-multiple-versions-) and [this](http://forum.xda-developers.com/wiki/Fairphone_Fairphone/Guides#Bricked_your_Fairphone.3F), both related to the FP1, but I figured the procedure qould be the same in general.  
So I can boot into recovery and open an adb connection from my windows PC, all I seem to be missing, is a fresh ROM to flash to my phone via sideload. Where would I get one?  
I actually do have a second FP2 at hand and I figured I might just backup its ROM and flash it to my other FP2, but I did not find a way to extract it without changing the recovery and since the second one isn’t my phone I was too scared to brick it as well by fiddling around with its recovery.  
So any help you guys can give me is highly appreciated at the moment, as I’m still quite new to the Android world 🙂  
Thanks and best regards,

Moritz

---

<div class="post-metadata">

**Author:** ![merci](https://forum.fairphone.com/user_avatar/forum.fairphone.com/merci/32/1902_2.png) [@merci](https://forum.fairphone.com/u/merci)\
**Post date:** [January 10, 2016, 9:32am UTC](https://forum.fairphone.com/t/fp2-bricked-recovery-help/12032/2 "2016-01-10T09:32:11Z")

</div>

Perhaps @paulakreuzer could tell you more. If I remember correctly he softbricked his phone by deinstalling all GSM… Unfortunately, I am no dev either…

---

<div class="post-metadata">

**Author:** ![anon82083517](https://forum.fairphone.com/letter_avatar/anon82083517/32/6_449c533f586939b6e5f246632a46421f.png) [@anon82083517](https://forum.fairphone.com/u/anon82083517)\
**Post date:** [January 10, 2016, 9:43am UTC](https://forum.fairphone.com/t/fp2-bricked-recovery-help/12032/3 "2016-01-10T09:43:09Z")

</div>

The OTA updater ([http://ota.fairphone.com/FP2/updater.zip](http://ota.fairphone.com/FP2/updater.zip)) points to this file:  
[  
http://storage.googleapis.com/fairphone-updates/FP2-gms36-1.1.7-ota.zip](http://storage.googleapis.com/fairphone-updates/FP2-gms36-1.1.7-ota.zip)

Does this help?

EDIT: Sorry, I just realized that this only contains `boot.img` - I doubt this is sufficient to rebuild the complete system. ☹

---

<div class="post-metadata">

**Author:** ![paulakreuzer](https://forum.fairphone.com/user_avatar/forum.fairphone.com/paulakreuzer/32/35401_2.png) [@paulakreuzer](https://forum.fairphone.com/u/paulakreuzer)\
**Post date:** [January 10, 2016, 9:50am UTC](https://forum.fairphone.com/t/fp2-bricked-recovery-help/12032/4 "2016-01-10T09:50:44Z")

</div>

Well what I did was simply a [hard reset](https://forum.fairphone.com/t/pencil2-fairphone-forum-dictionary/5309/20?u=paulakreuzer). That got me so far that I could boot up the phone again, so - to undo the rest of the damage I did - I could reinstall the OS through the updater App.

---

<div class="post-metadata">

**Author:** ![Moritz](https://forum.fairphone.com/letter_avatar/moritz/32/6_449c533f586939b6e5f246632a46421f.png) [@Moritz](https://forum.fairphone.com/u/Moritz)\
**Post date:** [January 10, 2016, 9:56am UTC](https://forum.fairphone.com/t/fp2-bricked-recovery-help/12032/5 "2016-01-10T09:56:19Z")

</div>

Okay,  
where would I get the proper system.img to flash it to the phone? Another user was so kind to send me his build of the FP2-osos, but if I try to flash it via adb sideload I get:

> Finding update package…  
> Opening update package…  
> E:footer is wrong  
> E:signature verification failed  
> Installation aborted

So something seems not to be right…

---

<div class="post-metadata">

**Author:** ![USB-2](https://forum.fairphone.com/user_avatar/forum.fairphone.com/usb-2/32/2883_2.png) [@USB-2](https://forum.fairphone.com/u/USB-2)\
**Post date:** [January 10, 2016, 10:16am UTC](https://forum.fairphone.com/t/fp2-bricked-recovery-help/12032/6 "2016-01-10T10:16:34Z")

</div>

The .zip file contains the file system.new.dat. Apparently you can convert it to a system.img like this:

> **[\[DEV\] sdat2img 1.0 - img2sdat 1.6 ◦ Unpack/re-pack android DAT files](https://forum.xda-developers.com/android/software-hacking/how-to-conver-lollipop-dat-files-to-t2978952)**
>
> Introduction You probably know already that starting from Android 5.x (Lollipop) compiled roms (aosp,cm,stock) are not compressed anymore the way they use…

Good luck, trying…

---

<div class="post-metadata">

**Author:** ![fp1\_wo\_sw\_updates](https://forum.fairphone.com/user_avatar/forum.fairphone.com/fp1_wo_sw_updates/32/2188_2.png) [@fp1\_wo\_sw\_updates](https://forum.fairphone.com/u/fp1_wo_sw_updates)\
**Post date:** [January 10, 2016, 10:28am UTC](https://forum.fairphone.com/t/fp2-bricked-recovery-help/12032/7 "2016-01-10T10:28:17Z")

</div>

Is this really needed? I think the device should be able just use FP2-gms36-1.1.7-ota.zip (on a SD/sideloaded) from the recovery. But I don’t have a FP2 so I don’t want to say anything wrong.

---

<div class="post-metadata">

**Author:** ![Moritz](https://forum.fairphone.com/letter_avatar/moritz/32/6_449c533f586939b6e5f246632a46421f.png) [@Moritz](https://forum.fairphone.com/u/Moritz)\
**Post date:** [January 10, 2016, 10:32am UTC](https://forum.fairphone.com/t/fp2-bricked-recovery-help/12032/8 "2016-01-10T10:32:34Z")

</div>

It actually did work!  
It just took me some time downloading the package but flashing works as it is and I didn’t need to convert anything. Phone took something like 5 minutes to boot afterwards (probably running after-installation and setup scripts) but now it’s very vanilla again!  
Thanks for the link to the ota-update @anon82083517 and thanks for the support @USB-2 🙂

---

<div class="post-metadata">

**Author:** ![USB-2](https://forum.fairphone.com/user_avatar/forum.fairphone.com/usb-2/32/2883_2.png) [@USB-2](https://forum.fairphone.com/u/USB-2)\
**Post date:** [January 10, 2016, 10:54am UTC](https://forum.fairphone.com/t/fp2-bricked-recovery-help/12032/9 "2016-01-10T10:54:02Z")

</div>

Cool!

It’s a seriously important thing we learnded here today! 😄👍

---

<div class="post-metadata">

**Author:** ![fp1\_wo\_sw\_updates](https://forum.fairphone.com/user_avatar/forum.fairphone.com/fp1_wo_sw_updates/32/2188_2.png) [@fp1\_wo\_sw\_updates](https://forum.fairphone.com/u/fp1_wo_sw_updates)\
**Post date:** [January 10, 2016, 11:53am UTC](https://forum.fairphone.com/t/fp2-bricked-recovery-help/12032/10 "2016-01-10T11:53:08Z")

</div>

> [@USB-2](#):
>
> It’s a seriously important thing we learnded here today! ￼￼

It think the is currently a lot of confusing info floating around (What does the recovery verify?, what’s inside the ota? Does a full backup work? Shameless plug: I think the best source for info right now is the wiki here, if one does not want to read all the threads in the forum. 😉

> [@\[HOWTO\] pencil2 Compiling Fairphone Open OS / Rooting](https://forum.fairphone.com/t/compiling-fairphone-open-source/11600):
>
> warning Phones can be life savers. Don’t rely on this ROM as your sole communication means. warningThis is mostly for users that want to play with their phones smile and want to have a bit more control over their devices. Let’s update this together (code, spelling, …). ROOTING: If you’re just here for rooting the phone, please take a look at the section called “Ways for adding setuid/setgid’ed su/adbd and other binaries to the image (Rooting)” below first. Maybe you don’t need to bu…

---

<div class="post-metadata">

**Author:** ![Jannis](https://forum.fairphone.com/letter_avatar/jannis/32/6_449c533f586939b6e5f246632a46421f.png) [@Jannis](https://forum.fairphone.com/u/Jannis)\
**Post date:** [January 13, 2016, 8:52pm UTC](https://forum.fairphone.com/t/fp2-bricked-recovery-help/12032/11 "2016-01-13T20:52:41Z")

</div>

So, how did you actually do it? Copy the .zip to an SD card, boot the recovery and use “apply update from sdcard”? I’m currently trying to send the .zip via sideload but when the PC is at ~40% the phone cancels the process:

> Finding update package…  
> Opening update package…  
> Verifying update package…  
> E:failed to verify whole-file signature  
> E:signature verification failed

I verified the MD5 of the ota-zip with the one from the updater.xml and they match.

Is there a file size limit for sideload? I’d need to find a free µSD-card to test the “from sdcard”-approach.  
**UPDATE** : Found a suitable µSD-card and I’m currently copying the OTA zip file to it

---

<div class="post-metadata">

**Author:** ![fp1\_wo\_sw\_updates](https://forum.fairphone.com/user_avatar/forum.fairphone.com/fp1_wo_sw_updates/32/2188_2.png) [@fp1\_wo\_sw\_updates](https://forum.fairphone.com/u/fp1_wo_sw_updates)\
**Post date:** [January 13, 2016, 9:02pm UTC](https://forum.fairphone.com/t/fp2-bricked-recovery-help/12032/12 "2016-01-13T21:02:40Z")

</div>

Did it work? If the checksum matches, you should be able to sideload the .zip from the SD card. I hope it will work for you!

---

<div class="post-metadata">

**Author:** ![Jannis](https://forum.fairphone.com/letter_avatar/jannis/32/6_449c533f586939b6e5f246632a46421f.png) [@Jannis](https://forum.fairphone.com/u/Jannis)\
**Post date:** [January 13, 2016, 9:05pm UTC](https://forum.fairphone.com/t/fp2-bricked-recovery-help/12032/13 "2016-01-13T21:05:10Z")

</div>

Nope, sideloading the OTA-zip doesn’t work for me. I also tried different USB-cables. It _might_ fail since the recovery I’m using is self-compiled using the instructions on [http://code.fairphone.com](http://code.fairphone.com) but that’d be a strange reason.  
I’ll tell you if it worked usind the sdcard as soon as copying finished.

---

<div class="post-metadata">

**Author:** ![lklaus](https://forum.fairphone.com/user_avatar/forum.fairphone.com/lklaus/32/26176_2.png) [@lklaus](https://forum.fairphone.com/u/lklaus)\
**Post date:** [January 13, 2016, 9:07pm UTC](https://forum.fairphone.com/t/fp2-bricked-recovery-help/12032/14 "2016-01-13T21:07:43Z")

</div>

If you’re using a self compiled recovery you might as well disable the zip file verification. I think this is only a hassle and does not serve any real purpose

---

<div class="post-metadata">

**Author:** ![Jannis](https://forum.fairphone.com/letter_avatar/jannis/32/6_449c533f586939b6e5f246632a46421f.png) [@Jannis](https://forum.fairphone.com/u/Jannis)\
**Post date:** [January 13, 2016, 9:35pm UTC](https://forum.fairphone.com/t/fp2-bricked-recovery-help/12032/15 "2016-01-13T21:35:49Z")

</div>

“Applying update via sdcard” also failed for me with both OTA zips (1.1.6 and 1.1.7) though the MD5s of the files match what’s in the updater.xml. Sadly I can no longer try using the original recovery system since I don’t have the .img (No one except Fairphone has, I assume).  
@lklaus: Sure I could disable that. I’m just wondering why it failes on the official updates released by Fairphone 😏

---

<div class="post-metadata">

**Author:** ![Moritz](https://forum.fairphone.com/letter_avatar/moritz/32/6_449c533f586939b6e5f246632a46421f.png) [@Moritz](https://forum.fairphone.com/u/Moritz)\
**Post date:** [January 13, 2016, 10:12pm UTC](https://forum.fairphone.com/t/fp2-bricked-recovery-help/12032/16 "2016-01-13T22:12:40Z")

</div>

interesting… I uploaded it via adb sideload and it worked on the very first try…  
why would a custom recovery impact the installation of a standard rom? Doesn’t make sense to me…

---

<div class="post-metadata">

**Author:** ![lklaus](https://forum.fairphone.com/user_avatar/forum.fairphone.com/lklaus/32/26176_2.png) [@lklaus](https://forum.fairphone.com/u/lklaus)\
**Post date:** [January 14, 2016, 8:02am UTC](https://forum.fairphone.com/t/fp2-bricked-recovery-help/12032/17 "2016-01-14T08:02:56Z")

</div>

Does not make sense, I’m simply not sure in the recovery are all keys used…

---

<div class="post-metadata">

**Author:** ![barney](https://forum.fairphone.com/letter_avatar/barney/32/6_449c533f586939b6e5f246632a46421f.png) [@barney](https://forum.fairphone.com/u/barney)\
**Post date:** [January 29, 2016, 9:51pm UTC](https://forum.fairphone.com/t/fp2-bricked-recovery-help/12032/18 "2016-01-29T21:51:46Z")

</div>

@Moritz  
Hey,  
Freibadschwimmer suggested to me to ask you for help [here](https://forum.fairphone.com/t/how-can-i-flash-the-stock-rom/13219/3)  
I made some mistakes concerning [getting write access to my sdcard](https://forum.fairphone.com/t/sd-card-no-writing-permission-in-fp2/11841/47)  
Now my phone is dead and I tried to recover it but I couldn’ succeed.  
Which mistake have I done?  
Could you help me to restore my phone?

---

<div class="post-metadata">

**Author:** ![barney](https://forum.fairphone.com/letter_avatar/barney/32/6_449c533f586939b6e5f246632a46421f.png) [@barney](https://forum.fairphone.com/u/barney)\
**Post date:** [January 30, 2016, 5:53am UTC](https://forum.fairphone.com/t/fp2-bricked-recovery-help/12032/19 "2016-01-30T05:53:01Z")

</div>

I am a beginner!  
Though I first stored the FP2-gms36-1.1.7-ota.zip on my sdcard.  
Then I booted into recovery mode (at least I think so) and chose “install update from sdcard” and pointed to the ota.zip .  
The phone installed it but after the reboot I got error messages like “google services are terminated” as well as Hangouts and more about google services.  
I can’t finish the setup wizard because of the failure messages (google services are  
terminated) and the wizard itself gets terminated. These messages began before flashing after a mistake in editing the platform.xml because the storage and the external sdcard weren’t recognized any more.  
Did I make any mistake concerning the flashing?  
I guess that the storage partition has to be recovered or created new?  
I want the phone to be as it was delivered. What else do I have todo?  
Could anybody help me because I am a bit despaired about my newe phone and begin to get hopeless.  
Do I have to send my phone back to FP?

---

<div class="post-metadata">

**Author:** ![lklaus](https://forum.fairphone.com/user_avatar/forum.fairphone.com/lklaus/32/26176_2.png) [@lklaus](https://forum.fairphone.com/u/lklaus)\
**Post date:** [January 30, 2016, 8:39am UTC](https://forum.fairphone.com/t/fp2-bricked-recovery-help/12032/20 "2016-01-30T08:39:09Z")

</div>

Maybe try to flash ota.zip in fastboot, as you can add -w, which does some wiping too

[Next page](https://forum.fairphone.com/t/fp2-bricked-recovery-help/12032.md?page=2)
