Adb Failed to Read Command No Error Pixel
PLEASE Note: Flashing software like Lineage Bone on a device is an "at your own take chances" activeness. Even if you follow our guide to the letter, nosotros tin't have any responsibility if your device breaks. Our guide is meant for educational purposes, and we offer no guarantees of success.
One of the wonderful things virtually virtually Android devices is how many choices y'all have for which version of the operating arrangement to apply. If you lot buy a smartphone with terrific hardware merely the software doesn't encounter your needs, you can usually install something unlike (consume it, iOS!).
Depending on the device, there are potentially dozens of versions of Android you can install. Some are created and maintained by a squad of developers, while others have but a single developer overseeing all aspects. Best of all, they are all gratis.
Encounter also: A expect at the major Android skins
The biggest and most popular custom Android experience is Lineage OS. Formerly known equally CyanogenMod (and afterward only Cyanogen), Lineage OS is a shut-to-stock version of Android with additional features that make your device more than powerful and customizable.
One of the best things about Lineage Bone is that it lets you lot update many devices to the latest version of Android — even if stock updates for that device ended long agone. This breathes new life into otherwise-forgotten smartphones and tablets.
Installing a new operating system on your Android device might seem daunting, but if you suspension it down into steps, it'south fairly easy. There's also a wide margin for error and so beginners don't need to worry about breaking their devices.
Hither's how to exercise it!
Beginning, a primer
Robert Triggs / Android Authorisation
Before you get all crazy messing with the software of your device, you should know some basics. There are some terms and protocols that many sites and walkthroughs will assume yous already know, which could make things disruptive if you don't.
Here's a quick glossary of terms for you lot to refer to later on if you're confused:
- ROM — Stands for "read-only retentiveness." This is where the cadre software of Android lives. Lineage OS volition ofttimes be referred to as a "custom ROM," equally it is a customized version of pure Android.
- Flashing — When you overwrite one piece of software with some other piece of software, that's called "flashing." This guide you're reading goes over how to "wink" Lineage Os.
- Bootloader — When you ability on a device, the first thing that turns on is the bootloader, which is responsible for starting up other processes. Most Android devices come with locked bootloaders — i.e., yous can't change what information technology does. Luckily, about bootloaders can be unlocked, which allows you to then flash new software.
- Recovery — After the bootloader loads, the recovery software organization will launch the operating system (Android). In near all cases, to launch a custom ROM y'all volition as well need a custom recovery that differs from the 1 your device comes with.
- Wipe — Various parts of the flashing process volition upshot in a "wipe" — the erasure of data from your device. A full wipe would eliminate all operating arrangement files from your device, causing your device to kicking into the recovery and then stop.
- Packages — Lineage OS, Google apps, custom recoveries, etc., will usually download to your device in a "package" of some kind, usually in Null format. In most cases, yous can simply assume "packet" is equivalent to "ZIP file."
- ADB — Stands for "Android Debug Bridge." This is a tool that allows communication betwixt a personal calculator and an Android smartphone. In near cases, you volition need ADB on your computer to complete a flash.
- Fastboot — This diagnostic tool comes with well-nigh Android installs and allows you to flash a new ROM. You commonly admission fastboot through ADB. Some device manufacturers (including Samsung and a few others) utilise the term "Download style" instead, but the functions are relatively the same.
- Brick — If something goes wrong with a flash, in rare cases it could cause your device to cease functioning. If your phone doesn't even turn on, it's equally useful as a brick, hence the name. Some people will say things similar "soft brick" to clarify that the device is unusable merely has the potential to be fixed. It is very difficult to brick a device, and usually just happens when people don't follow instructions advisedly (hint hint).
Flashing Lineage Os: The Nuts
C. Scott Dark-brown / Android Say-so
When yous wink Lineage OS (or any custom ROM), in that location are a set of steps you almost always must follow. How you complete those steps — and the tools needed to do the task — differs from device to device. Merely overall, the basic steps are the same.
Here's what you'll demand to flash a ROM:
- Uniform Android smartphone or tablet
- USB cable for that device
- Laptop or desktop running Windows, macOS, or Linux
- An internet connectedness
- Time (this could accept an hour or ii, depending on how comfortable you lot are with the technologies involved)
Hither are the steps ane usually performs to flash a ROM:
- Install necessary reckoner software (ADB, drivers, etc.)
- Download packages (ROM, recovery, apps, etc.)
- Fill-in and prepare device
- Unlock bootloader
- Wink custom recovery
- Flash custom ROM
- Install Google apps
- Reboot and personalize
Each stride begets the next. Yous install the computer software first because information technology accesses the device'southward bootloader. Then, you unlock the bootloader considering it accesses the recovery. You lot and then change the recovery to a custom one because it flashes the ROM. You then wink the ROM, and on and on. It'due south a very linear process.
With that in mind, it is imperative you follow the tertiary step and make a backup earlier performing any changes to your device. If something goes wrong after you unlock the bootloader, at that place will be no way to become your phone back to the way it used to exist. Instead, your telephone will be ready back to mill default like it was when you lot kickoff turned information technology on.
One other affair to keep in listen: unlocking the bootloader commonly voids your device'south warranty. Devices will permanently tape an unlocked bootloader so fifty-fifty if yous unlock it then lock it again the company volition know. If something goes wrong and you requite it to the OEM, there'southward a good chance it will decline to help if it sees you lot unlocked the bootloader.
Pace one: Install the necessary software
Some rare devices out there allow you to flash new ROMs without needing to hook up to a figurer first. Yet, the vast bulk of devices volition require access to a PC running Windows, macOS, Linux, or even Chrome OS. This can be a ten-year-old laptop or high-functioning desktop — it doesn't take a lot of computational power to flash a ROM.
Normally, the software you demand is ADB. Google hosts and maintains ADB, then in that location are no concerns about viruses or malware when downloading and installing the plan.
Except in rare cases, yous're going to need ADB on your estimator to do this.
You can visit this page to follow explicit instructions on how to download and install ADB for your figurer platform. It doesn't take long and the instructions are very straightforward.
Once you've installed ADB, yous'll access it through a control prompt on Windows or a concluding window on Linux and macOS. This might seem daunting, only don't worry: the commands are extremely simple and easy to just copy and paste.
Pro Tip: Eventually you'll claw your Android device to your reckoner to connect to ADB. When you do this, make sure yous are using the USB cablevision that came with the device. If you don't have access to that, apply a high-quality, short-and-thick cable. Cheap cables you get for $1 each could crusade issues with flashing, so don't use them.
Stride 2: Download packages
To get Lineage OS for your device, you'll need to first check to make certain your device is uniform with the ROM. Go to the Lineage OS wiki on your reckoner and exercise a search for the device yous'd like to wink.
Lineage Os supports the most pop devices from well-nigh all major manufacturers. Unless you have a very unpopular or low-priced budget device, chances are proficient you can install at to the lowest degree one version of Lineage Os.
1 of the beginning steps is getting all your packages downloaded on your reckoner.
When y'all discover the device you lot want to flash, click on its photo. That will have you to a page filled with information on that particular device as it relates to Lineage OS. On this page, you'll find a link to download packages.
When you get to the list of files associated with your device, y'all might wonder which 1 to download. Only download whichever file has the near recent upload engagement under the column labeled "File." You'll besides want to download the file right side by side to it under the column "Recovery image." Remember, nosotros're downloading these files on a computer, not your phone!
Got the files! Now what?
Once you have those two files downloaded to your computer, yous can exit the Lineage OS site. However, you don't just demand the Lineage Bone and recovery packages; you also need the Google apps packet.
Why do y'all need a Google apps package? The rules of open-source systems state that Lineage OS cannot come with Google apps pre-installed. Without Google apps, you won't have access to the Play Store to find the apps you want. Furthermore, if you don't install these during the initial flashing process, you will non take any Google products on your device when you boot. You can't install the apps later — y'all must install them during your original flash.
Required reading: Everything you need to know nearly Google Play Services
You can get the appropriate Google apps for your device here. Refer to the Lineage OS installation guide for your particular device for help on choosing the Google apps package you need. For most devices, y'all'll choose the Arm64 package for the almost recent version of Android.
One time you have those three packages downloaded (Lineage, recovery, Google apps), motility the files into the same location as the ADB files you installed in the previous step. Then rename them to simpler things; for example, the recovery file name is very long and tricky (lineage-18.1-20220109-recovery-instantnoodlep.img, for instance). Change it to only RECOVERY.img. This will make it easier to find the files afterwards and also salvage you some control line typing.
Rename each file you downloaded as such:
- lineage-xx.x-xxxxxxxx-recovery-xxxx.img > RECOVERY.img
- lineage-xx.x-xxxxxxxx-nightly-xxxx-signed.nil > LINEAGE.zilch
- MindTheGapps-xx.x.x-xxxxx-xxxxxxxx_xxxxxx.zip > GAPPS.nothing
Don't forget to move them to the ADB folder (for Windows, that'south %USERPROFILE%\adb-fastboot\platform-tools). Once the files are all organized, you're fix for the side by side step!
Pro Tip: Your device has a code proper noun that Lineage Bone volition use to place it. The lawmaking name is shown on the Lineage OS compatible devices list — use this to search for compatible packages, that manner you know you lot're always downloading the right 1!
Step 3: Backup and prepare device
There are many dissimilar means to backup your device. There are free and paid apps on the Google Play Shop, as well as free and paid software for personal computers.
There's no 1 correct fashion to backup your device. Figure out whichever method works best for you and make the backup.
Afterward y'all've backed everything upwardly, yous need to do ii things on your device before you move on to the adjacent step: enable USB debugging and OEM unlocking. These are two toggles in your device's settings panel, hidden in a section chosen "Developer Options."
Don't skip this step: backup everything first!
Practice a Google search for "access Android developer options [your device proper name here]" to find instructions on how to access these two toggles (it unremarkably involves tapping a bunch of times on your Android build number in Settings). One time you accept admission to developer options, toggle on both USB debugging and OEM unlock. If OEM unlock isn't there, don't worry: just make certain USB debugging is turned on.
Once you've done all that, connect your device to your computer with a skilful USB cable. You lot might see a notification on your phone asking if you trust the calculator. Ostend you lot trust the connectedness and get out out of settings. You might see drivers are installing on your computer, which is normal.
You're set up for the next footstep!
Pro Tip: Do not skip annihilation in this step. This stuff is here for a reason. Information technology could take y'all hours to reinstall all your apps, log in to all your accounts, move over all your photos, and all that. You also don't want to risk losing any important data. Be rubber!
Stride four: Unlock the bootloader
C. Scott Brown / Android Authorisation
The steps for unlocking the bootloader of your device will vary depending on the make and model of your smartphone or tablet. Some OEMs make the process incredibly like shooting fish in a barrel, while others purposely make information technology difficult (or even impossible).
To brand your life easier, head over to XDA Developers and find the forum for your device. Skim through the threads and see if other users accept successfully unlocked the bootloader. If everyone else seems to be having no trouble, you'll be fine.
If you find other users are having trouble with the bootloader, it could exist for a few reasons. It might exist because the device is also new, so no one has figured out the procedure yet. It might also be that the bootloader is protected and difficult or impossible to unlock; Samsung is notorious for this.
Basics for unlocking a bootloader
Once you are sure the bootloader is unlockable, head to the Lineage Bone installation guide for your detail device. There you'll find step-by-step instructions on how to unlock your bootloader.
Remember: this volition wipe your device's information.
In most cases, to unlock the bootloader you hook your device upward to your estimator using a USB cable and and so run a few ADB and fastboot commands to unlock the smartphone or tablet:
- An ADB command to make sure your device is properly connected
- An ADB command to reboot the device into fastboot mode (run into glossary above)
- A fastboot command to cheque that the device is in fastboot manner and properly continued
- A fastboot control to unlock the bootloader
If you are on Windows, you might run into an mistake when you try the steps listed on your device's bootloader folio. The problem might be that your command prompt is not in the right location. With the command prompt open, type the following command (run into above):
cd %userprofile%\adb-fastboot\platform-tools
The kickoff thing to practice after hooking your device up to the estimator is run an ADB control to ensure a proper connection (see to a higher place):
adb devices
If you don't see any devices listed after running that command, bank check your Android device — information technology might have this screen:
C. Scott Brown / Android Potency
Click the "Always allow" box and striking "Allow." That should solve the problem, merely run the "adb devices" command again only to be sure.
If after successfully connecting to ADB and rebooting into fastboot mode yous face some problems, that probable means you lot demand to update the drivers on your reckoner. Do a Google search for "[device name here] drivers" and download and install the latest version.
With all that done, you should be able to successfully unlock the bootloader. Later on your bootloader is unlocked, your device will reboot and enter Android setup, just like afterward a manufactory reset. You're ready for the next stride.
Pro Tip: YouTube is your friend! A quick YouTube search could net y'all a video walkthrough of how to unlock your device's bootloader. Scout it and this whole process will likely be and then much easier!
Step 5: Wink a custom recovery
C. Scott Brown / Android Authority
Now that the bootloader is unlocked, information technology's fourth dimension to actually wink something onto your device. This is a big step! You volition be flashing software onto your smartphone or tablet that will drastically change how your device functions.
You already downloaded the advisable custom recovery from Lineage dorsum in step ii. However, if you lot haven't done this already, head back to that stride and become the recovery file thatexactly matches your device model.
As one final alarm: flashing the wrong custom recovery onto a device could crusade a brick. Exist absolutely certain that the file yous downloaded matches the model of your device. You've been warned.
Flashing your Lineage OS recovery
Once you're all set, plug your phone into your computer and fire up ADB via a control prompt and perform the post-obit control:
adb devices
Just like earlier, the command above ensures your device is properly continued to your computer. Later that, run this 1:
adb reboot bootloader
Too every bit before, that command gets you into fastboot mode. Next, run this command:
fastboot devices
That performs 1 concluding check before the wink that your device is connected and fastboot is set to go. Finally, you run this command:
fastboot flash recovery RECOVERY.img
Cheque out the screenshot beneath to meet how this should all await:
Once you've flashed your new recovery, reboot your phone. The easiest manner to do this is right from the control prompt:
fastboot reboot
Your phone volition reboot as normal. Once information technology's done, yous'll have terminated your fastboot connectedness and be back in ADB. You'll now use ADB to boot into your new recovery with this command:
adb reboot recovery
Since you just flashed over your original recovery, your device will boot into Lineage recovery. You'll be greeted first by the screen below:
C. Scott Brownish / Android Authority
Once you've booted your device up into Lineage recovery, you are ready for the side by side footstep: flashing Lineage OS!
Pro Tip: There are numerous YouTube videos and online tutorials on how to flash a custom recovery. In fact, in that location's probably a video specific to your device! Search Google for "flash Lineage recovery on [device proper name here] video" and see if you can scout someone else get through this process get-go and then you'll accept a better idea of what to exercise.
Pace 6: Flash Lineage Bone
C. Scott Brown / Android Authorization
You downloaded the advisable Lineage OS file to your computer way back in the second step. Recall that it needs to be in the ADB folder and renamed to LINEAGE.cipher.
From the primary menu of Lineage recovery, tap Factory reset, and and so tap Format information/factory reset. Lineage will warn y'all this is serious business, but since you made a fill-in in the 3rd stride you take cipher to worry nearly (correct?!). Follow the prompts and consummate the format process.
Subsequently you go a "Data wipe consummate" message at the bottom of the screen, hit the back push until you're back at the recovery'southward master card. HitAdvanced and then strikingEnable ADB. Now you lot've factory reset Android and are ready to utilise ADB commands once again.
Once that'southward washed, y'all're set to wink Lineage Os.
Moving files and flashing
With your device still in recovery fashion and connected to your figurer, fire upwards a command prompt or terminal window in the ADB folder and perform a device check. One time checked, from the main carte du jour of the recovery, tap Apply update > Apply from ADB. At present, blazon in this control:
adb sideload LINEAGE.nothing
Afterward you type that in and press Enter, ADB will begin flashing the Lineage OS file to your device. This could take some time, and sometimes in that location'south no progress bar to sentinel how fast information technology's going. Give it a while (at to the lowest degree five minutes) before touching anything. Eventually, you'll see a "Total xfer" notification. This means it worked!
Exercise annotation that sometimes you could see "adb: failed to read command: Success" or "adb: failed to read control: No error." Either way, this however means the sideloading worked.
At present that you've flashed Lineage Os, y'all're set up for the 2d-to-terminal step. Stay in recovery!
Pro Tip: If sideloading your Lineage Os file isn't working, make sure the file is in the aforementioned computer directory every bit ADB. If the Lineage Os parcel is on your desktop and ADB is in its own folder, ADB won't know where the file is when you lot blazon in its name. All the files you lot are pushing and flashing should exist in the same folder as the ADB programme. Refer dorsum to the 2d step if you're confused!
Step vii: Flash necessary applications
Jimmy Westenberg / Android Potency
You've come up a long style so far! You are and then shut to being washed. You lot have an unlocked bootloader, a custom recovery, and a fresh install of the latest version of Lineage Os.
The but thing you're missing is Google apps such as the Google Play Store, Google Play Services, Gmail, and Google Maps. You're going to wink the ZIP file of Google apps you downloaded in the second footstep in the aforementioned fashion as you flashed Lineage OS.
With your device booted into Lineage recovery, caput to the master carte du jour. Tap onAvant-garde > Reboot to Recovery. Your phone volition reboot, so give it a second. Once information technology's rebooted and back to the master menu of your recovery, tapApply Update > Employ from ADB. Every bit earlier, you're going to sideload the Google apps:
adb sideload GAPPS.zero
Commonly, your Google apps package is smaller than your Lineage OS parcel, and then this sideload won't take every bit much time. Halfway through the sideload, the recovery volition alarm you that the Google Apps package failed a verification test. This is normal and expected behavior. Just tap on Yes to install the package anyway.
After you tapYep, you tin can picket your apps installing. You have finished! Navigate back to the main menu of recovery and tap Reboot.
Pro Tip: If you want to root your device, you lot can also wink a root file at this stage (before rebooting into the system). There are multiple root methods and files available for different devices, so I'm non going to go over them here. If y'all want root access, this would be the perfect opportunity to flash that file too.
Step 8: Reboot and personalize
C. Scott Brownish / Android Potency
Your first kicking into Lineage Bone will have a infinitesimal — give information technology time. You lot just installed a new operating organization and don't want to rush it!
If your first kick takes longer than xv minutes, though, something is incorrect. Practice a difficult reboot by belongings down the power button until the device restarts. Let it endeavor to kick once more. If it still doesn't kicking, something didn't wink correctly, then head back to the sixth step above and outset again.
The beginning thing you'll notice upon a successful kicking is a new boot animation, with the Lineage OS logo's three circles on a curved line.
One time the kick is complete, you'll be at the startup screen of Android, where you'll pick your language, add your Google Account, connect to Wi-Fi, and then on. This is all very similar to what you previously performed when you lot first got your device, and so at that place shouldn't be any surprises.
One time you get to the home screen, you are officially done — y'all have Lineage OS on your device! Now head to YouTube to learn about all the bang-up features yous can play with in this new version of Android.
Pro Tip: This is a great time to restore all the apps you backed up in the 3rd step. You tin also manually re-download them all if you skipped that step. We'll talk to yous in a few hours.
Concluding thoughts
C. Scott Brown / Android Authority
Depending on your device, there are likely a lot of other custom ROMs out there also Lineage Os. Now that y'all know how to wink a ROM, you can become wink-happy and endeavour out all sorts of new flavors. All you need to exercise is find ROMs that lucifer your device's model number and then repeat steps six through eight. You don't need to unlock the bootloader or install a custom recovery again.
However, you'll need to backup your device again. Don't forget this vital pace!
If yous try out custom ROMs and decide yous don't like them anymore, it is incredibly easy to switch back to the stock ROM your device originally had. There'due south a different set of instructions for flashing dorsum to stock, merely the essence is substantially the same. Practice some Googling to figure out how to flash your particular device back to its mill defaults by searching for "flash [device name here] dorsum to stock."
I promise this guide has been helpful to you! If you become stuck, ask some questions in the comments and someone will surely help you out!
Adb Failed to Read Command No Error Pixel
Source: https://www.androidauthority.com/lineageos-install-guide-893303/