Einleitung

Eine Custom-ROM (auch bekannt als Aftermarket-Firmware) ist eine modifizierte Version eines bereits bestehenden Betriebssystems, welche vom Hersteller des Geräts nicht offiziell unterstützt wird. Manche Custom-ROMs basieren auf vorhandenen Handy-Betriebssystemen, wie Android, und manche basieren auf PC-Betriebssystemen, wie Manjaro oder Ubuntu.

Sie unterscheiden sich von Geräten mit Standard-Firmware, da sie Funktionen und Verbesserungen bieten, die in der Standardversion von Android nicht vorhanden sind, sie enthalten keine Bloatware und sind nicht abhängig von den Softwareupdates der Gerätehersteller.

Zu den beliebtesten Custom-ROMs zählen LineageOS, LineageOS für microG, Paranoid Android, ProtonAOSP, GrapheneOS und CalyxOS.

Einige Custom-ROMs, wie GrapheneOS und ProtonAOSP bieten eine WebUSB-basierte Installationssoftware an, welche für die meisten Menschen einfacher zu bedienen ist, aber in dieser Anleitung werde ich die Installation mithilfe der Befehlszeilen erklären, da es der traditionelle und universelle Ansatz ist, eine Custom-ROM zu installieren.

Warnungen

  • Das Freischalten des Bootloaders setzt dein Gerät zurück, daher solltest du vorher ein Backup deiner Daten machen!
  • Dieser Vorgang kann bei einigen Herstellern zu einem Verfall der Garantie führen.
  • Ein modifiziertes Gerät löst die Play Integrity API (vorher: SafetyNet Attestation API) aus, was dazu führt, dass einige Dienste wie GPay oder Postident nicht mehr funktionieren.
  • Dadurch wird dein Gerät anfällig für Hacker, die physisch Zugang zu deinem Gerät haben. Deshalb solltest du den Bootloader nicht auf einem Gerät freischalten, auf dem du Staats-/Firmengeheimnisse aufbewahren möchtest.
  • Das Aufspielen einer Custom-ROM kann riskant sein und unerwartete Probleme verursachen oder sogar das Gerät beschädigen. Es wird empfohlen, eine Custom ROM nur dann zu installieren, wenn du im Umgang mit Android bereits Erfahrung hast.
  • Sei vorsichtig und lies die Anweisungen sorgfältig durch, wenn du den Bootloader deines Geräts freischaltest oder eine Custom-ROM installierst. Eine fehlerhafte Ausführung der Schritte kann zu unwiderruflichen Schäden an deinem Gerät führen.
  • Bevor du eine Custom-ROM aufspielst, stelle sicher dass sie mit deinem Gerät kompatibel ist und prüfe die bekannten Probleme und Fehler, die von anderen Benutzern gemeldet wurden.
  • Falls du während des Freischaltens oder der Installation auf ein Problem stößt, dann zögere nicht dir Hilfe von erfahrenen Benutzern in Foren oder bei den Entwicklern der Custom-ROMs zu suchen.
  1. KAHYI5jMmWjWUwQY
    KAHYI5jMmWjWUwQY
    qPOPSWMFSDr12ycl
    CKfbT2kwvb346wEx
    • Als Erstes müssen wir nach der Buildnummer suchen.

    • Normalerweise findet man sie unter Telefoninfo > Buildnummer oder System > Telefoninfo > Buildnummer, aber da dies von Gerät zu Gerät unterschiedlich ist, ist die Suchfunktion zu verwenden normalerweise der schnellste Weg.

    15min-1hour is incorrect for xiaomi phones. for xiaomi phones its 5-7 buisness days

    Filip -

  2. dZljVNRjUgSx2yp5
    dZljVNRjUgSx2yp5
    A6DaFEGyI6mNYl1S
    • Jetzt musst du nur noch mehrmals auf die Buildnummer tippen, bis du eine Bestätigungsmeldung mit der Aufschrift „Sie sind jetzt ein Entwickler.“ oder „Der Entwicklermodus wurde aktiviert.“ bekommst. Ich hab die Entwickleroptionen auf meinem Gerät schon aktiviert, also muss ich es nicht noch einmal machen.

    • Du wirst möglicherweise nach deinem Sperrbildschirm-Passwort gefragt, falls du eines eingerichtet hast.

  3. CYfMStLfhU3LGT6b
    • Such in den Entwickleroptionen nach der Option OEM-Entsperrung und aktiviere sie.

    • Du wirst möglicherweise aufgefordert, dein Sperrbildschirm-Passwort einzugeben, falls du eines eingerichtet hast.

    I can't enable the OEM on my phone

    Ibsan Furgassa -

    i have the same issue while enabling oem it's says i didn't complete the two weeks

    Fana$onic -

  4. FNKXMHl1sYMiMMVY
    • Such in den Entwickleroptionen nach der USB-Debugging-Option und aktiviere sie.

  5. D2AwKGELHrj6G1Hl
    D2AwKGELHrj6G1Hl
    E6UE3pqOkVRJQUAU
    • Schließ dein Handy mit einem USB-C auf USB-A Kabel an deinem Rechner an.

    • Falls du ein schlechtes Kabel verwendest, könntest du auf Probleme stoßen. Einige ältere Geräte kommen auch mit USB 3 im Fastboot-Modus auch nicht klar.

    • Zieh die Benachrichtigungsleiste nach unten und tippe auf Dieses Gerät über USB aufladen.

    • Wähle die Option Dateiübertragung/Android Auto.

    • Auf einigen älteren Geräten könnte diese Option stattdessen MTP heißen.

    Well that takes care of that cuz I don't have a regular PC but I will save these directions since Someone is donating a Chromebook to me, I went back to consumer cellular after they went with ATT instead of TMobile also & ATT installed software and what looks like bootloader and something about binding? Permissions say NO or NA but they were allowed to do this anyway! I'm furious

    deb patterson -

  6. JSs6S3EdtJORw3SK
    JSs6S3EdtJORw3SK
    vk2adCqunMswSINu
    • Öffne die Terminalanwendung auf deinem Rechner mit installierten SDK Platform Tools und gib adb devices ein

    • Dies sollte ein Popup auf deinem Gerät auslösen. Stell sicher, dass das Häkchen gesetzt ist, und klicke auf Allow (Erlauben)

    • Ich habe den Plattform-Tools-Ordner nicht zum PATH zugefügt. Deshalb muss ich mein Terminalfenster im Plattform-Tools-Ordner öffnen und .\ als Präfix für meine Befehle verwenden.

    • Du kannst den Befehl erneut ausführen, um zu überprüfen, es funktioniert hat. Es sollte jetzt device anstelle von unauthorized melden.

    PS C:\Users\ADMIN> adb reboot bootloader

    adb : The term 'adb' is not recognized as the name of a cmdlet, function,

    script file, or operable program. Check the spelling of the name, or if a

    path was included, verify that the path is correct and try again.

    At line:1 char:1

    + adb reboot bootloader

    + ~~~

    + CategoryInfo : ObjectNotFound: (adb:String) [], CommandNotF

    oundException

    + FullyQualifiedErrorId : CommandNotFoundException

    help me pls how do I do that

    Lê Minh Khôi -

    Since you probably haven't "installed" the platform tools, you'd have to use the terminal in the folder you downloaded. You could do that by first running the command cd C:\[location of the folder]\platform-tools first and adding a .\ in front of every subsequent command, like I do in the guide images. Alternatively, if you have a current version of Windows 10 or 11, you can actually install the platform tools via the Microsoft Store by running winget install --id=Google.PlatformTools -e

    Sebastian -

    Okay, so how do I get into the terminal mode on my laptop?

    ArlinaEinstein -

    i had gotten the same error as mentioned in above comment. What should I do?

    Riya Dasani -

    I don't have installed platform-tools, What should I do?

    Riya Dasani -

    "draw the rest of the owl" xd

    Jesus Christ -

    i installed sdk platform tools and android studio, but it says "the code execution cannoty proceed becuase AdbWinApi.dll was not found. reinstalling the program may fix this issue"

    Reginald Jackson -

    Have you already tried reinstalling Android Studio? If that doesn't work, you can alternatively use the methods I mentioned in my response to the first comment on this step. You don't necessarily need the full Android Studio suite unless you're developing an app. Using Winget or simply directly downloading the platform tools folder directly is typically a better option.

    Sebastian -

    What if it says device not found

    whyaren'tthingssimple -

  7. aNayoXwsQqmBED6i
    • Gib den Befehl adb reboot bootloader ein

    • Warte ein paar Sekunden, bis dein Gerät in den Bootloader gestartet hat, und gib dann den Befehl fastboot flashing unlock ein.

    • Einige Geräte verwenden stattdessen den Befehl fastboot oem unlock.

    • Wenn du eine Fehlermeldung erhältst, die ähnlich lautet wie FAILED (remote: 'Failed to unlock, decrypt failed!'), ist dein Bootloader gesperrt. Du benötigst einen Entsperrcode vom Hersteller.

    • Wenn du bei < waiting for any device > feststeckst und bereits sichergestellt hast, dass die Verbindung stabil ist, musst du möglicherweise den USB-Treiber deines Telefons aktualisieren.

    • Du solltest jetzt eine Eingabeaufforderung sehen, die der im Bild gezeigten ähnelt. Wähle mit der Lautstärkewippe die Option Unlock the bootloader und bestätige durch Drücken der Ein-/Aus-Taste.

    Hw long step take

    Josh Chibs -

    for me it says what can i do? and nothing happens

    C:\Windows\System32>fastboot flashing unlock

    < waiting for any device >

    Murathan Kilic -

    That means that it can't find your device. Have you made sure it's properly connected? Maybe a loose connection? If you are using a USB 3 cable, try using a USB 2 cable instead. USB 3 cables can sometimes cause problems. Sometimes you need to install a USB driver for your device as well, but if ADB worked Fastboot should typically work as well without installing any additional drivers.

    Sebastian -

    I have the same issue.

    John Kieu -

    I get stuck at the fastboot flashing unlock/ fastboot oem unlock step.

    When i use adb reboot bootloader the phone screen does turn on, but show nothing... is that right?

    Also is it ok that my phone disconnects briefly after the adb line?

    oajk -

    The brief disconnect is normal, since the device is rebooting, but it should show a rudimentary interface instead of just showing a blank screen. Doesfastboot device report a device even though the screen shows nothing? If so, maybe you can continue anyways.

    Sebastian -

    I keep getting: "remote: 'the command you input is restricted on locked hw'" What do I do?

    The RadioDemon -

    Are you trying to unlock an Amazon Fire device? I don't really have much experience with more locked down devices, you might find someone who can help you on the XDA Forum or Reddit.

    Sebastian -

    I need help and the command works fine but my phone turns off to show me the menu problem is that my automatic mode is charging only and not file transfer


    Le pro -

    I'd like instructions to unlock bootloader and flash via magisk app from one phone to another with termux, (terminal emulator app)

    Roger -

    Que puedo hacer si no detecta las teclas de volumen?

    Como le doy en 'yes'?!

    Para aceptar el desbloqueo

    A VTRX -

    My phone is not detected after the reboot to boot loader is done, when execute fast boot command the device not detected in the bootloader mode.

    Soundararajan Soundarapandian -

    PS C:\Users\sound\Downtoads\ptatform—toots—tatest—windows\pIatform—tooIs> .\adb devices

    List of devices attached


    its blank there after when in boot loader cant detect the device

    Soundararajan Soundarapandian -

    In bootloader you need to run ./fastboot devices

    Sebastian -

    when i write reboot bootloader , the phone goes in fast boot but 1 second later it turns on

    ismaele tortora -

    It’s possible that your phone is locked by the manufacturer, which might be why it doesn't enter bootloader mode. This is common with some brands, like Oppo. You might want to check via a quick Google search, if your phone model allows it or if it's restricted by the manufacturer.

    Sebastian -

    i cant enter the bootload by using adb reboot bootloader for my oppo r11,it just normal boot after I type "adb reboot bootloader"

    One star no tips -

    use another method

    Lê Minh Khôi -

    my phone just says downloading , i think its infinitly loading now :/

    Liam Zriouil -

    whenever i do adb reboot bootloader my phone turns off, then turns back on completely blank exept for the words enterring fastboot mode... and it just stays like that for ages, i can turn it back to normal but i cant really progress or do anything with fastboot mode

    DuskDomed -

    I get this: C:\Windows\System32>fastboot flashing unlock

    < waiting for device > I used the cable from usb-c to usb-c and usb-a to usb-c but the same thing happened and when I entered abd reboot bootloader the device restarts but ends up in the bootloader where I just start reboot If I can select bootloader or power off, what do I have to do?

    Eine deutsche Antwort ist auch möglich lg

    finn -

    Same for me as was mentioned above: the phone just freezes in >Fastboot mode...
    I feel that those Chinese mfs just made it like that or it is blocked by the manufacturer

    El Agua -

    Tengo una Lenovo TB-7304F y al escribir .\adb reboot bootloader se quedó en un pantallazo negro sin nada en pantalla

    Qué puedo hacer?

    Flor Nancy Olascoaga Aburto -

    well, i get an error with both fastboot flashing unlockand fastboot oem unlock : FAILED (remote: 'Unlock failed, data invalid')

    Skye -

  8. tm4Ua1NsqUQVpaPC
    • Falls dein Gerät nach dem Freischalten des Bootloaders neu gestartet hat, dann kannst du erneut in den Bootloader starten, indem du die Start- und Lautstärke-runter-Taste gedrückt hältst, bis das Gerät in den Bootloader gestartet hat.

    • Lade TWRP-Recovery für dein Gerät herunter oder nutze die Recovery, die bei deiner Custom-ROM dabei ist.

    • Gib den Befehl fastboot boot [directory]\[NameDerRecoverydatei].img ein und warte, bis dein Gerät in den Recovery-Modus gestartet hat.

    • Auf einigen Geräten musst du stattdessen den Befehl fastboot flash boot [directory]\[NameDerRecoverydatei].img und fastboot reboot recovery eingeben.

    Do I do this download on the computer

    Ian -

    • In TWRP drücke auf Advanced > ADB Sideload

    • Bei anderen Wiederherstellungen wie der LineageOS-Wiederherstellung könnte die Option ähnlich sein wie Apply Update > Apply Update from ADB

    • Lade das Betriebssystem-Image für die Custom-ROM herunter, die du installieren möchtest.

    • Gib den Befehl ein: adb sideload [directory]\[filenameOfTheOsImage].zip

    • Diesen Schritt musst du nur befolgen, wenn du Google-Dienste verwenden möchtest/musst und dein Betriebssystem-Image GApps nicht bereits enthält.

    • Dies funktioniert nicht, wenn du dein Gerät bereits neu gestartet hast.

    • Lade das GApps-Paket herunter, das du installieren möchtest.

    • Wiederhole Schritt 10, um ADB-Sideload erneut zu aktivieren.

    • Gib den Befehl ein: adb sideload [directory]\[filenameOfTheAppsPackage].zip

    • Wenn das Skript angibt, dass die API-Ebene/Level nicht übereinstimmt, obwohl du das richtige GApps-Paket für deine Version verwendest, kannst du dieses Problem in der Regel beheben, indem du in die Wiederherstellung neu startest.

    • Starte das System nicht, bevor du alle zusätzlichen Pakete, die du installieren möchtest, geflasht hast.

    • Einige Wiederherstellungen zeigen eventuell an, dass die Überprüfung fehlgeschlagen ist. Du kannst dies ignorieren und trotzdem fortfahren.

    • Bei einigen Geräten könntest du auf Speicherplatzprobleme stoßen. Du kannst diese Probleme in der Regel beheben, indem du ein kleineres GApps-Paket auswählst und später im Play Store die restlichen benötigten Apps installierst.

    • Dies kann einige Zeit in Anspruch nehmen, aber solange das Telefon nicht in einer Boot-Schleife (wiederholtem Neustart) hängen bleibt, sollte alles in Ordnung sein.

    • Falls es nicht funktioniert hat, kannst du es einfach erneut versuchen, indem du ab Schritt 8 beginnst.

Abschluss

Um das Gerät in den Originalzustand zu versetzen, folge diesen Anweisungen mit einem Betriebssystemabbild, das der Gerätehersteller zur Verfügung gestellt hat.

Sebastian

Mitglied seit: 19/08/18

29300 Reputation

2 Kommentare

The problem is you need the exact customt TWRP recovery AND exact install .zip for the model number. There is no unversal twrp file or universal android, or utbuntu. Each manufacturer, model, useds a 'custom twrp file. and unique identifier for android 'custom' rom even for android itself.

if you install wrong file not for the particular device, it won't work and you need to customized or find the exact model rom known as custom rom. even if the phone is running android. you can only flash the manfucturere rom for that device. or c ustomized it yourself

oem unlocking just means you can FLASH it. most devices now have oem locked and you cannot flash anything on it. improperly flashing wrong rom can brick the device and if there is no custom rom for download, there is nothing you can do. you have make one for yourself which needs the manufacturers drivers etc.

Nexus Nexus -

And you notice there is no technical support about flashing your old tablets or phones from the manufacturere to download and firmware. or download section. Because they don't want people to be flashing and old phone or tablet. You neeed both custom recovery plus 'custom' rom for that operating system to work. and that .zip files is from manufacturer. most people dont have the tech ability to make custom roms or custom android for their device and with so many models and very little demand it's not worth making it.you see droid kits which only works on samsung phones or tablets and they have downloads to reflash it is BRICKED.

Nexus Nexus -