# Remove eSim in recovery mode or fastboot?

**URL:** <https://forum.fairphone.com/t/remove-esim-in-recovery-mode-or-fastboot/117070>\
**Category:** Fairphone 4\
**Tags:** esim\
**Created:** [March 22, 2025, 7:55am UTC](https://forum.fairphone.com/t/remove-esim-in-recovery-mode-or-fastboot/117070 "2025-03-22T07:55:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kugiigi](https://forum.fairphone.com/user_avatar/forum.fairphone.com/kugiigi/32/44864_2.png) [@kugiigi](https://forum.fairphone.com/u/kugiigi)\
**Post date:** [March 22, 2025, 7:55am UTC](https://forum.fairphone.com/t/remove-esim-in-recovery-mode-or-fastboot/117070/1 "2025-03-22T07:55:59Z")

</div>

Hi  
I recently got a 2nd hand Fairphone 4 and flashed it with Ubuntu Touch. It has an eSim installed and wasn’t able to remove it before flashing Ubuntu Touch. UT doesn’t have a way to manage eSim yet. Is there a way to remove the eSim in recovery mode or fastboot without deleting my data? I’m having an issue with mobile data which doesn’t work most of the time so I want to eliminate the eSim as cause of the issue. As much as possible, I don’t want to reflash Android again because I’m always anxious when backing up and restoring data 😅

I found this command `fastboot oem reset esim` but not sure if it’ll work in FP4 and if it doesn’t delete data and factory reset.

---

<div class="post-metadata">

**Author:** ![oli.sax](https://forum.fairphone.com/user_avatar/forum.fairphone.com/oli.sax/32/9127_2.png) [@oli.sax](https://forum.fairphone.com/u/oli.sax)\
**Post date:** [March 22, 2025, 5:58pm UTC](https://forum.fairphone.com/t/remove-esim-in-recovery-mode-or-fastboot/117070/2 "2025-03-22T17:58:25Z")

</div>

> [@kugiigi](#):
>
> without deleting my data?

I never deleted eSim so I cannot help you for that.

But I did switch several times between Ubuntu Touch and Android and I found an easy way to restore UT data, with TWRP recovery.

To backup Ubuntu Touch:

- flash TWRP as recovery
- backup only the /Data partition, on external SD

To restore Ubuntu Touch:

- Fresh install of UT
- TWRP restore of /Data partition, and reboot 🙂

> [@kugiigi](#):
>
> I don’t want to reflash Android again because I’m always anxious when backing up and restoring data

I never had issues flashing different operating systems. Remember to NOT relock the bootloader because with this action you have risks of bricking…

---

<div class="post-metadata">

**Author:** ![kugiigi](https://forum.fairphone.com/user_avatar/forum.fairphone.com/kugiigi/32/44864_2.png) [@kugiigi](https://forum.fairphone.com/u/kugiigi)\
**Post date:** [March 24, 2025, 6:27am UTC](https://forum.fairphone.com/t/remove-esim-in-recovery-mode-or-fastboot/117070/3 "2025-03-24T06:27:08Z")

</div>

Yeah, I already do that when backing up and restoring my data. I’m just an anxious person and I’m always worried something wrong would happen or unknowingly lose data 😅  
If I can’t find a way to remove the eSim then I would definitely just reflash Android.  
Thanks anyway 👍

---

<div class="post-metadata">

**Author:** ![mpeter](https://forum.fairphone.com/letter_avatar/mpeter/32/6_449c533f586939b6e5f246632a46421f.png) [@mpeter](https://forum.fairphone.com/u/mpeter)\
**Post date:** [April 4, 2025, 9:59pm UTC](https://forum.fairphone.com/t/remove-esim-in-recovery-mode-or-fastboot/117070/5 "2025-04-04T21:59:36Z")

</div>

I dont have experience on this, but I have read that there are eSIM management utils for linux. cant find my notes right now, but check these:

- [An eSIM manager for Mobile Linux - Luca Weiss](https://lucaweiss.eu/post/2024-06-24-esim-manager-for-mobile-linux/)
- [lucaweiss/lpa-gtk: Download and manage eSIM profiles - Codeberg.org](https://codeberg.org/lucaweiss/lpa-gtk)
- [GitHub - creamlike1024/EasyLPAC: lpac GUI Frontend](https://github.com/creamlike1024/EasyLPAC)

---

<div class="post-metadata">

**Author:** ![oli.sax](https://forum.fairphone.com/user_avatar/forum.fairphone.com/oli.sax/32/9127_2.png) [@oli.sax](https://forum.fairphone.com/u/oli.sax)\
**Post date:** [April 5, 2025, 7:21am UTC](https://forum.fairphone.com/t/remove-esim-in-recovery-mode-or-fastboot/117070/6 "2025-04-05T07:21:49Z")

</div>

In the last [Q&A 161](https://ubports.com/fr/blog/ubports-blogs-et-nouvelles-1/post/ubuntu-touch-q-a-161-3956), Marius spoke about LPAC implementation 🙂

> In yet more big news, Marius has now succeeded in getting an eSIM to work. At the moment it functions only in command line but he is working on a UI for it. The fix used the Lpac library. A big shout out to the developers of that because it contains resources which we have used for lots of different things.

---

<div class="post-metadata">

**Author:** ![system](https://forum.fairphone.com/uploads/default/original/3X/1/1/11e17f7340474b66653aecb35249cc1ba19b7b52.png) [@system](https://forum.fairphone.com/u/system)\
**Post date:** [October 2, 2025, 7:22am UTC](https://forum.fairphone.com/t/remove-esim-in-recovery-mode-or-fastboot/117070/7 "2025-10-02T07:22:45Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
