メインコンテンツにスキップ
Androidフォンのブートローダーのロック解除方法

Androidフォンのブートローダーのロック解除方法

Sebastian

Sebastian とその他 3 人の作成者

最終更新日: February 3, 2025

2分 - 1時間
中レベル
コミュニティメンバーによる寄稿ガイド

ブートローダーのロックを解除すると、Android携帯にカスタムファームウェアをインストールすることができ、携帯に変更を加えるためのフルアクセス権限が与えられます。このような変更は、プリロードされたソフトウェアの一部を変更したり、オペレーティングシステム全体を置き換えることも含まれます。

ブートローダの中には全くロックされていないものもあれば、スタンダードなfastboot コマンドを使ってロック解除できるもの、メーカーからのロック解除コードが必要なものなどがあります。また、ロック解除方法が全く含まれておらず、ソフトウェアエクスプロイトによってのみロック解除が可能な電話もあります。このようなロックダウンされたデバイスは、通常キャリアとの契約に起因します。

このガイドでは、標準的なfastbootコマンドによるブートローダのアンロックのみを取り上げてます。

ご注意

  • ブートローダーのロックを解除すると、携帯電話がリセットされますので、全データのバックアップをとってください
  • メーカーによっては、保証が無効になる場合があります。
  • アンロックされたブートローダは Play Integrity API (旧SafetyNet Attestation API) を作動させ、GPay など一部のサービスを停止させることがあります。
  • これは、あなたのデバイスに物理的にアクセスできるハッカーに対して脆弱になるので、国家や企業の秘密を運ぶ予定のデバイスには絶対にしないでください。

追加情報

  1. Androidフォンのブートローダーのロック解除方法, ビルドナンバーの検索: 手順 1、 3の画像 1 Androidフォンのブートローダーのロック解除方法, ビルドナンバーの検索: 手順 1、 3の画像 2 Androidフォンのブートローダーのロック解除方法, ビルドナンバーの検索: 手順 1、 3の画像 3
    • まず最初に、ビルドバンバーを検索する必要があります。

    • 通常は「この機種について」→「ビルド番号」または「システム」→「この機種について」→「ビルド番号」で確認できますが、端末によって異なるため、通常は検索機能を使うのが最も簡単な方法です。

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

    Filip - 返信

  2. Androidフォンのブートローダーのロック解除方法, ディベロッパーオプションを解除: 手順 2、 2の画像 1 Androidフォンのブートローダーのロック解除方法, ディベロッパーオプションを解除: 手順 2、 2の画像 2
    • これでビルド番号を繰り返しタップして、「あなたは現在、ディベロッパーです!」という確認メッセージを表示させます。すでに開発者向けオプションは有効であるため、改めてやる必要はありません。

    • ロック画面のパスワードを設定している場合は、入力を促されることがあります。

  3. Androidフォンのブートローダーのロック解除方法, OEMロック解除の許可: 手順 3、 1の画像 1
    • ディベロッパー向けオプションで、OEMロック解除オプションを探し、有効にしてください。

    • ロック画面のパスワードを設定している場合は、入力をリクエストされることがあります。

    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. Androidフォンのブートローダーのロック解除方法, USBデバッグの有効化: 手順 4、 1の画像 1
    • ディベロッパー向けオプションで、USBデバッグのオプションを探し、有効にします。

  5. Androidフォンのブートローダーのロック解除方法, 携帯電話をコンピューターに接続: 手順 5、 2の画像 1 Androidフォンのブートローダーのロック解除方法, 携帯電話をコンピューターに接続: 手順 5、 2の画像 2
    • USB-C to USB-Aケーブルで携帯電話をパソコンに接続します。

    • ケーブルが破損していると、何らかの問題が発生する可能性があります。また、一部の古いデバイスでは、USB 3をfastbootモードで使用することを嫌がるものもあります。

    • 通知シェードを引き下げ、このデバイスをUSBで充電するを選択します。

    • オプションのファイル転送/Android Autoを選択します。

    • 旧デバイスでは、このオプションの代わりにMTPと呼ばれる場合があります。

    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. Androidフォンのブートローダーのロック解除方法, コンピューター上でABDコマンド実行を許可する: 手順 6、 2の画像 1 Androidフォンのブートローダーのロック解除方法, コンピューター上でABDコマンド実行を許可する: 手順 6、 2の画像 2
    • SDK Platform Toolsがインストールされているコンピュータでターミナル・アプリケーションを開き、adb devicesと入力します。

    • これにより、お使いのデバイスにポップアップが表示されるはずです。チェックマークにチェックが入っていることを確認し、許可するをクリックします。

    • PATHにplatform-tools-folderを追加していません。そのため、ターミナルウィンドウをplatform-tools-folderで開き、コマンドのプレフィックスとして. \ を入力する必要があります。

    • もう一度コマンドを実行し、うまくいったかどうか確認してください。 unauthorized の代わりに device と表示されるはずです。

    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 -

  7. Androidフォンのブートローダーのロック解除方法, ブートローダーを解除: 手順 7、 1の画像 1
    • コマンド adb reboot bootloader を入力します。

    • デバイスがブートローダに再起動するまで数秒待ち、 fastboot flashing unlock コマンドを入力します。

    • デバイスによっては、代わりに fastboot oem unlock というコマンドを使用する場合があります。

    • FAILED (remote: 'Failed to unlock, decrypt failed!')というエラーメッセージが表示された場合は、ブートローダーがロックされており、メーカーからのロック解除コードが必要です。

    • < waiting for any device >というメッセージが表示されて先に進まなくなり、接続が安定していることがわかっている場合は、デバイスのUSBドライバーを更新する必要があるかも知れません。

    • これで画像に示すようなプロンプトが表示されるはずです。ボリューム・ロッカーで「ブートローダーのロック解除」オプションを選択し、電源ボタンを押して確認します。

    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 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 - 返信

    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 - 返信

終わりに

ブートローダを再ロックするには、fastboot flashing lock コマンドを実行します。

ストックファームウェアを実行している間のみブートローダをロックしてください

75 の人々がこのガイドを完成させました。

以下の翻訳者の皆さんにお礼を申し上げます:

en jp

100%

これらの翻訳者の方々は世界を修理する私たちのサポートをしてくれています。 あなたも貢献してみませんか?
翻訳を始める ›

作成者

3人の作成者と共同で作成されました。

Sebastian

メンバー登録日: 08/19/18

28,112 ポイント

71のガイドは作成済み

チーム

German Translators German Translators人のメンバー

Community

35 メンバー

1,212のガイドは作成済み

32 件のコメント

You have shared a very useful post i really like it keep going on, thanks for sharing such an informative content about Samsung Bootloader Unlock with us. I like to visit this helpful blog again for further updates on this beneficial post.☺️

File Rehab - 返信

I'm using a Nokia G60 I was offered.

When I try "fastboot oem unlock" I get:

FAILED (remote: 'Failed to unlock, decrypt failed!')

Please update the guide for such cases.

Thank you

Bruno - 返信

As far as I know, Nokia phones need an unlock code from the manufacturer. I don't have much experience with this, so I suggest you ask/search around on forums like xda developers or reddit. It might even help to directly ask the Nokia support for help. Depending on who you end up with they might even help you out.

Sebastian -

did it work with any realme device?

ëĺäžäžÿ - 返信

Realme requires you to run an app beforehand, but the rest of the process should be pretty similar.

Sebastian -

I didn't complete this step by step but it seems like a pretty well put together and quite possibly useful so I think you deserve the 30 points anyway. going to save this guy and check back in after Ive tried it out

Dago Gomez - 返信

Device does nothing once it restarts to enter bootloader. What to do? No other key combination works too. Device is Coradir C01.

Coco Mark - 返信

Don't waste time, if the hardware has locked oem and that oem unlock is greyed out, you cannot unlock it. You'll need a specific code or unlocking tool from hardware manufacturer to unlock any tablet that has the boatloader locked. there is no other way around it. only a few tablets can load new firmware that was not original. nexus 7 you can load android on it. most tablets you need manufacturers tool to communicate with the software in the chip level. you can remove the chip and put chip in it but that is too much work the tablet is stuck with the OEM software. and you cannot even upgrade it. contact the manufacturer. only pixel cell phones or some cell phones you can unlock oem. these cell phones are subsidize by the cell phone company and you can only use the cell phone on their network. that is the reason you cannot unlock it from business perspective. you subscribe 5 year phone plan and cell phone is free promotions. What you have wrong tech advice telling people you can unlock it when you cannot.

tech2025 - 返信

Motorola g41

Jose - 返信

Hello,

I am getting the following error; Any idea why could I do?

$ fastboot flashing unlock or $ fastboot oem unlock

FAILED (remote: 'unknown command')
fastboot: error: Command failed

cvaa - 返信

The LG G5 works a bit differently, LineageOS has great instructions for that device, though.

Sebastian -

Forgot to mention it is LG G5 phone.

cvaa - 返信

Hello , Why am i getting this error,?

C:\Program Files (x86)\adb_fastboot>fastboot oem unlock

...

FAILED (remote: Token Verify Failed, Reboot the device

)

finished. total time: 0.004s

C:\Program Files (x86)\adb_fastboot>fastboot oem unlock 445G-H3CN-YRUR-UOX

...

FAILED (remote: Token Verify Failed, Reboot the device

)

finished. total time: 0.005s

I used fastboot flashing unlock also but nothing, same error.

Note- The phone I am trying to unlock was locked using ADB ( fastboot oem lock ).

Please help. I used even Xiaomi's official unlock tool (latest v) but says " This device is not activated. Please activate it and try again.

Thank You!

Hacker Aro - 返信

ich bekomme nachdem "fastboot flashing unlock" die Meldung "wait for any device". Was habe ich falsch gemacht?

rene - 返信

Das bedeutet das er kein verbundenes Gerät erkennt. Das könnte viele Gründe haben, z. B. ein Wackelkontakt im Stecker, ein billiges Kabel oder ein USB 3 Kabel. Fastboot ist aus irgendeinem Grund im Gegensatz zu ADB recht empfindlich.

Sebastian -

Was gibt es für Möglichkeiten den bootloader anderweitig zu entriegeln? ich habe jetzt schon viele Kabeln an unterschiedlichen buchsen verbunden, unterschiedliche treiber und adb tools versucht. ich verzweifle allmählich.

rene -

Was für ein Handy hast du denn? Es könnte auch sein, dass der Bootloader auf deinem Handy nicht entsperrt werden kann.

Sebastian -

Need more simple detailed instructions

Robert Wymore - 返信

so i ordered one of the galaxy knockoffs from amazon. So its unlocked and has dual sim etc. Has a vanilla version of stock android 13 and could be a cool phone. In my developer options it has oem unlocking built in and also a DSU loader. very robust developer options. It does not seem to want to reboot in to bootloader with the commands. I dont know if its already unlocked and i just need to load a rom or what? on amazon its called the Yemjaw C24 ultra. galaxy s24 clone i believe. I'm hoping i can get something else loaded on here, as specs wise its a powerful phone that is being underutilized by the crappy rom it came installed with.

Joshua Hayes - 返信

Im using a Samsung Galaxy M215F (Turkey)

when i try both of the fastboot commands, it doesnt seem to do anything. it takes abnormally long and only stops upon device disconnect

emir eri - 返信

Somebody did this to my phone and installed spyware hack apps you name it destroyed thousands of devices I go through so many phones because they keep getting on to the next phone I get how do I fix them like is there a way to remove these apks. They passing system app so security does nothing passes.... Also is there a way to know if the apps on a new phone are legit system apps or there shouldn't be hundreds of network overlay stacking tethering apps etc is there a list somewhere ?

Megz - 返信

i tried to unlock the bootloder of my infinix hot 40i and bot comand's faild to work pls if you know how to unlock it pleas advice

Blacknight Ravana - 返信

how to get the unlock code for specific smartphone like Huawei P30 pro? i have tried all steps many times but it does not work!!! i need to get the code but i do not know where to get!! i have checked many website including Huawei official site and AI chat tools, where are trusted sources to get unlocking code for android smartphones??

Roman Ismaeel - 返信

Am using sumsang A04e please help with guid on how to unlock payments from watu credit

Isaac12 - 返信

Thx for that tutorial, top quality !

Guilbault Frederic - 返信

Bonsoir je suis ravis de tomber sur cet site internet.je suis un dépanneur j'aimerais bien me lancer plus profond . quelqu'un peut m'aider

Tianne - 返信

please , is that works with HTC U Ultra ?

George Youssif - 返信

Impressed app and am interested in it

Thomas Luate - 返信

I am the first to start these programm what should I do

Hussein Kassimu Nindi - 返信

Please help me to start this business

Hussein Kassimu Nindi - 返信

Bonjour
Comment revenir à un fonctionnement normal pour éviter le message de sécurité au démarrage et revendre son téléphone ?

Claude PRIMAT - 返信

コメントを追加

統計データ:

過去 24時間: 291

過去 7 日: 2,149

過去 30 日: 9,145

今までの合計 244,955