18
submitted 1 month ago* (last edited 1 week ago) by monovergent@lemmy.ml to c/degoogle@lemmy.ml

Looking to try installing a GSI to a device without any third-party ROMs ported to it yet. Want to back up the stock ROM in case something goes wrong. Manufacturer doesn't offer the stock ROM for download and the only copy online is from a website that looks pretty shady. Can unlock the bootloader, but no reports of anyone rooting or installing a custom recovery environment for it. Every tutorial says to just look for a ROM on the internet, but how do people extract them in the first place?

EDIT: Ideally, it would go as follows on recent Android devices: (https://gist.github.com/gitclone-url/a1f693b64d8f8701ec24477a2ccaab87)

  1. Unlock bootloader
  2. Install rooted GSI, which takes over one of the two redundant system partitions
  3. With rooted shell now available in the GSI, extract the other system partition holding the stock image

But it turns out this could be a weeks-long adventure for Huawei and Honor phones. I spoke too soon and it turns out the OEM unlocking in developer options on Honor phones doesn't get you very far. Once we reach fastboot / bootloader, the actual unlock commands require a 16-digit code to proceed. Huawei/Honor no longer issue the codes, though the IMEI of the first slot is related, so it is used as the starting point for a many days long bruteforce attack. Also does not work if the code is not just numeric, but instead alphanumeric, as is the case for all non-European and some European units.

https://github.com/vcka/huawei-honor-unlock-bootloader

https://github.com/Martazza/Huawei-Bootloader-Unlocker

On Day 1, the battery died while plugged in, so I had to charge and am now resuming with a USB C to C cable in hopes it will deliver sufficient power. As for the ROMs, it looks like there were attempts to tap from the Honor update CDN, but I could not get the following solutions to work:

https://github.com/rabits/honor-tools

https://xdaforums.com/t/unlock-bootloader-code-for-honor-magic-v2-root-with-magisk.4663415/#post-89499716

Will update if I succeed. Moral of the story: Don't buy Honor phones if you intend on degoogling.

you are viewing a single comment's thread
view the rest of the comments
[-] eruchitanda@lemmy.world 4 points 1 month ago

Unless it's a privacy issue for you, it would be easier –IMO– to find help if you'll share the exact model you have, and the custom ROM you're using.

[-] monovergent@lemmy.ml 2 points 1 month ago

Honor 90 Lite (CRT-NX1), attempting to get LeOS GSI on it or at least some flavor of AOSP GSI.

this post was submitted on 31 Aug 2025
18 points (100.0% liked)

DeGoogle Yourself

13814 readers
276 users here now

A community for those that would like to get away from Google.

Here you may post anything related to DeGoogling, why we should do it or good software alternatives!

Rules

  1. Be respectful even in disagreement

  2. No advertising unless it is very relevent and justified. Do not do this excessively.

  3. No low value posts / memes. We or you need to learn, or discuss something.

Related communities

!privacyguides@lemmy.one !privacy@lemmy.ml !privatelife@lemmy.ml !linuxphones@lemmy.ml !fossdroid@social.fossware.space !fdroid@lemmy.ml

founded 5 years ago
MODERATORS