Do I Need to Flash Gapps Again When Updating to Nightly

Please NOTE: Flashing software like Lineage OS on a device is an "at your ain risk" activity. Even if you follow our guide to the letter, we tin't accept any responsibility if your device breaks. Our guide is meant for educational purposes, and nosotros offer no guarantees of success.


One of the wonderful things about near Android devices is how many choices you take for which version of the operating arrangement to use. If y'all buy a smartphone with terrific hardware merely the software doesn't see your needs, you lot can normally install something dissimilar (eat information technology, iOS!).

Depending on the device, at that place are potentially dozens of versions of Android you lot can install. Some are created and maintained by a squad of developers, while others have just a single developer overseeing all aspects. Best of all, they are all gratis.

See too: A look at the major Android skins

The biggest and most pop custom Android experience is Lineage OS. Formerly known equally CyanogenMod (and later just Cyanogen), Lineage Bone is a close-to-stock version of Android with additional features that make your device more than powerful and customizable.

1 of the best things nigh Lineage Os is that information technology lets you update many devices to the latest version of Android — even if stock updates for that device ended long ago. This breathes new life into otherwise-forgotten smartphones and tablets.

Installing a new operating organization on your Android device might seem daunting, simply if y'all intermission it down into steps, information technology's fairly easy. There's also a broad margin for error so beginners don't need to worry about breaking their devices.

Hither'southward how to do it!

First, a primer

2019 vs 2020 camera phones 3

Robert Triggs / Android Authority

Earlier you get all crazy messing with the software of your device, you should know some basics. At that place are some terms and protocols that many sites and walkthroughs volition presume you already know, which could brand things confusing if you don't.

Here's a quick glossary of terms for y'all to refer to later on on if you're confused:

  • ROM — Stands for "read-only memory." This is where the core software of Android lives. Lineage OS will frequently exist referred to equally a "custom ROM," as information technology is a customized version of pure Android.
  • Flashing — When you overwrite one piece of software with some other piece of software, that'southward called "flashing." This guide y'all're reading goes over how to "flash" Lineage Bone.
  • Bootloader — When you power on a device, the first affair that turns on is the bootloader, which is responsible for starting upwardly other processes. Most Android devices come with locked bootloaders — i.e., yous tin't alter what it does. Luckily, nearly bootloaders can exist unlocked, which allows y'all to then flash new software.
  • Recovery — Later the bootloader loads, the recovery software arrangement will launch the operating system (Android). In nearly all cases, to launch a custom ROM you volition besides demand a custom recovery that differs from the one your device comes with.
  • Wipe — Various parts of the flashing process volition result 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 boot into the recovery and then stop.
  • Packages — Lineage Bone, Google apps, custom recoveries, etc., will ordinarily download to your device in a "package" of some kind, commonly in ZIP format. In virtually cases, you tin can simply presume "package" is equivalent to "Goose egg file."
  • ADB — Stands for "Android Debug Bridge." This is a tool that allows advice between a personal calculator and an Android smartphone. In most cases, you volition demand ADB on your reckoner to complete a flash.
  • Fastboot — This diagnostic tool comes with well-nigh Android installs and allows y'all to flash a new ROM. You commonly access fastboot through ADB. Some device manufacturers (including Samsung and a few others) utilise the term "Download mode" instead, but the functions are relatively the same.
  • Brick — If something goes incorrect with a flash, in rare cases it could cause your device to cease functioning. If your phone doesn't even plow on, it's as useful as a brick, hence the name. Some people will say things like "soft brick" to analyze that the device is unusable merely has the potential to exist fixed. Information technology is very difficult to brick a device, and usually only happens when people don't follow instructions carefully (hint hint).

Flashing Lineage OS: The Basics

Lineage OS Logo on OnePlus 8 Pro

C. Scott Brown / Android Authority

When you flash Lineage Bone (or any custom ROM), there are a fix of steps you almost ever must follow. How you complete those steps — and the tools needed to do the job — differs from device to device. But overall, the basic steps are the same.

Hither'southward what y'all'll demand to flash a ROM:

  • Compatible Android smartphone or tablet
  • USB cable for that device
  • Laptop or desktop running Windows, macOS, or Linux
  • An cyberspace connection
  • Time (this could take an hour or 2, depending on how comfortable y'all are with the technologies involved)

Hither are the steps 1 usually performs to wink a ROM:

  1. Install necessary computer software (ADB, drivers, etc.)
  2. Download packages (ROM, recovery, apps, etc.)
  3. Backup and set device
  4. Unlock bootloader
  5. Wink custom recovery
  6. Flash custom ROM
  7. Install Google apps
  8. Reboot and personalize

Each stride begets the side by side. You install the computer software first considering it accesses the device's bootloader. Then, you lot unlock the bootloader because it accesses the recovery. You and then modify the recovery to a custom 1 because information technology flashes the ROM. Yous so flash the ROM, and on and on. It'due south a very linear process.

With that in mind, it is imperative you follow the third step and make a backup earlier performing any changes to your device. If something goes wrong after yous unlock the bootloader, there will exist no way to get your phone back to the manner it used to be. Instead, your phone will be set back to mill default similar it was when you outset turned it on.

One other affair to keep in mind: unlocking the bootloader commonly voids your device'south warranty. Devices will permanently record an unlocked bootloader so even if you lot unlock information technology and then lock information technology once again the company will know. If something goes wrong and you give it to the OEM, there'southward a practiced take a chance it will refuse to help if it sees you unlocked the bootloader.

Step 1: Install the necessary software

Some rare devices out there allow you to flash new ROMs without needing to hook up to a computer first. Nevertheless, the vast majority of devices will crave admission to a PC running Windows, macOS, Linux, or even Chrome Os. This can be a x-year-one-time laptop or loftier-functioning desktop — information technology doesn't have a lot of computational power to flash a ROM.

Usually, the software you need is ADB. Google hosts and maintains ADB, so there are no concerns nearly viruses or malware when downloading and installing the program.

Except in rare cases, you're going to demand ADB on your computer to do this.

Yous tin can visit this page to follow explicit instructions on how to download and install ADB for your computer platform. It doesn't accept long and the instructions are very straightforward.

Once you've installed ADB, you'll access it through a command prompt on Windows or a concluding window on Linux and macOS. This might seem daunting, but don't worry: the commands are extremely unproblematic and easy to just copy and paste.


Pro Tip: Eventually you'll claw your Android device to your estimator to connect to ADB. When you do this, brand certain y'all are using the USB cable that came with the device. If you don't accept access to that, use a loftier-quality, short-and-thick cablevision. Cheap cables you become for $1 each could cause bug with flashing, so don't use them.

Pace 2: Download packages

LineageOS

To get Lineage Bone for your device, you'll demand to first bank check to make certain your device is compatible with the ROM. Go to the Lineage OS wiki on your estimator and practise a search for the device you'd like to flash.

Lineage Os supports the most popular devices from almost all major manufacturers. Unless you have a very unpopular or low-priced budget device, chances are good you can install at least one version of Lineage Os.

One of the first steps is getting all your packages downloaded on your computer.

When you find the device you lot want to wink, click on its photograph. That will take you to a folio filled with data on that particular device as it relates to Lineage Os. On this page, y'all'll notice a link to download packages.

When you go to the listing of files associated with your device, yous might wonder which ane to download. But download whichever file has the nearly recent upload engagement under the cavalcade labeled "File." Yous'll also want to download the file correct side by side to it under the column "Recovery paradigm." Remember, we're downloading these files on a computer, non your telephone!

Got the files! At present what?

One time yous have those two files downloaded to your computer, yous can leave the Lineage OS site. All the same, you don't but need the Lineage OS and recovery packages; you lot as well need the Google apps package.

Why exercise you 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, y'all won't have access to the Play Store to find the apps you lot want. Furthermore, if you don't install these during the initial flashing procedure, you will not accept whatever Google products on your device when you boot. You can't install the apps later on — you must install them during your original flash.

Required reading: Everything you lot need to know about Google Play Services

You tin get the appropriate Google apps for your device here. Refer to the Lineage OS installation guide for your particular device for assistance on choosing the Google apps bundle you need. For most devices, you'll cull the Arm64 package for the most recent version of Android.

Once you have those iii packages downloaded (Lineage, recovery, Google apps), movement the files into the same location as the ADB files you installed in the previous step. Then rename them to simpler things; for case, the recovery file proper name is very long and catchy (lineage-18.ane-20220109-recovery-instantnoodlep.img, for example). Change it to just RECOVERY.img. This will make information technology easier to find the files later and also save you some command line typing.

Rename each file you downloaded equally such:

  • lineage-xx.x-xxxxxxxx-recovery-xxxx.img > RECOVERY.img
  • lineage-xx.ten-xxxxxxxx-nightly-xxxx-signed.zip > LINEAGE.cipher
  • MindTheGapps-twenty.x.10-xxxxx-xxxxxxxx_xxxxxx.zip > GAPPS.naught

Don't forget to move them to the ADB binder (for Windows, that's %USERPROFILE%\adb-fastboot\platform-tools). Once the files are all organized, you're set for the next footstep!


Pro Tip: Your device has a code proper name that Lineage Os will employ to identify information technology. The code name is shown on the Lineage Bone uniform devices list — utilise this to search for compatible packages, that manner yous know you're always downloading the right one!

Step iii: Backup and prepare device

Cloud backup lead image

There are many different ways to backup your device. There are gratis and paid apps on the Google Play Store, every bit well as free and paid software for personal computers.

There's no one right way to backup your device. Figure out whichever method works best for you and make the fill-in.

After you've backed everything up, you demand to do ii things on your device before you motion on to the next step: enable USB debugging and OEM unlocking. These are ii toggles in your device'southward settings panel, hidden in a section chosen "Developer Options."

Don't skip this footstep: backup everything start!

Do a Google search for "admission Android developer options [your device name here]" to observe instructions on how to access these 2 toggles (it normally involves tapping a bunch of times on your Android build number in Settings). Once you take access to developer options, toggle on both USB debugging and OEM unlock. If OEM unlock isn't in that location, 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 good USB cable. Y'all might see a notification on your phone asking if you trust the computer. Confirm you trust the connection and go out out of settings. Yous might see drivers are installing on your computer,  which is normal.

You lot're set up for the adjacent step!


Pro Tip: Do not skip anything in this footstep. This stuff is hither for a reason. Information technology could accept you hours to reinstall all your apps, log in to all your accounts, motion over all your photos, and all that. You also don't want to take chances losing whatsoever of import data. Be safe!

Pace 4: Unlock the bootloader

Unlock Bootloader

C. Scott Brown / Android Authorization

The steps for unlocking the bootloader of your device will vary depending on the make and model of your smartphone or tablet. Some OEMs brand the procedure incredibly like shooting fish in a barrel, while others purposely make it difficult (or even impossible).

To make your life easier, head over to XDA Developers and find the forum for your device. Skim through the threads and run across if other users take successfully unlocked the bootloader. If everyone else seems to be having no trouble, you'll be fine.

If you lot discover other users are having problem with the bootloader, it could exist for a few reasons. It might be because the device is besides new, and then no one has figured out the process 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

One time you are sure the bootloader is unlockable, head to the Lineage OS installation guide for your item device. There you'll detect step-by-pace instructions on how to unlock your bootloader.

Retrieve: this volition wipe your device's data.

In well-nigh cases, to unlock the bootloader you hook your device up to your computer using a USB cable and then run a few ADB and fastboot commands to unlock the smartphone or tablet:

  • An ADB command to brand certain your device is properly connected
  • An ADB command to reboot the device into fastboot mode (see glossary in a higher place)
  • A fastboot command to bank check that the device is in fastboot mode and properly connected
  • A fastboot command to unlock the bootloader

If you are on Windows, you might come across an error when you attempt the steps listed on your device's bootloader page. The problem might be that your command prompt is non in the right location. With the command prompt open, blazon the following control (meet above):

cd %userprofile%\adb-fastboot\platform-tools

The first thing to do later hooking your device upwardly to the calculator is run an ADB command to ensure a proper connection (see higher up):

adb devices

If you don't see whatsoever devices listed after running that command, check your Android device — it might have this screen:

USB Debugging Prompt on OnePlus 8 Pro

C. Scott Brown / Android Authority

Click the "Always allow" box and hit "Allow." That should solve the problem, but run the "adb devices" command over again only to be certain.

If after successfully connecting to ADB and rebooting into fastboot way you confront some problems, that probable means you demand to update the drivers on your estimator. Do a Google search for "[device name here] drivers" and download and install the latest version.

With all that done, you should exist able to successfully unlock the bootloader. After your bootloader is unlocked, your device will reboot and enter Android setup, just similar after a manufactory reset. You're prepare for the next step.


Pro Tip: YouTube is your friend! A quick YouTube search could internet yous a video walkthrough of how to unlock your device's bootloader. Sentinel it and this whole procedure volition likely be so much easier!

Step 5: Wink a custom recovery

Lineage OS Recovery Options

C. Scott Brown / Android Authority

Now that the bootloader is unlocked, it'southward time to actually flash something onto your device. This is a big step! You will be flashing software onto your smartphone or tablet that will drastically alter how your device functions.

You already downloaded the appropriate custom recovery from Lineage dorsum in step 2. However, if you haven't washed this already, head back to that step and go the recovery file thatexactly matches your device model.

As ane terminal alert: flashing the wrong custom recovery onto a device could cause a brick. Be absolutely certain that the file you downloaded matches the model of your device. You've been warned.

Flashing your Lineage Os recovery

Once yous're all set up, plug your phone into your calculator and burn down upward ADB via a command prompt and perform the post-obit control:

adb devices

Just like earlier, the control in a higher place ensures your device is properly connected to your computer. Afterwards that, run this one:

adb reboot bootloader

Likewise as earlier, that command gets you into fastboot style. Adjacent, run this command:

fastboot devices

That performs ane final check earlier the flash that your device is connected and fastboot is ready to go. Finally, you run this command:

fastboot flash recovery RECOVERY.img

Check out the screenshot below to run across how this should all wait:

In one case y'all've flashed your new recovery, reboot your telephone. The easiest way to do this is correct from the control prompt:

fastboot reboot

Your phone will reboot as normal. In one case it's done, you'll accept terminated your fastboot connection and exist back in ADB. Y'all'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 start by the screen below:

Lineage OS Recovery

C. Scott Brown / Android Authority

In one case yous've booted your device upwardly into Lineage recovery, you are prepare for the next step: flashing Lineage Os!


Pro Tip: There are numerous YouTube videos and online tutorials on how to wink a custom recovery. In fact, there'southward probably a video specific to your device! Search Google for "flash Lineage recovery on [device name here] video" and run across if you can spotter someone else go through this process first so y'all'll have a better idea of what to do.

Stride six: Wink Lineage Os

Lineage Recovery Factory Reset

C. Scott Brown / Android Authority

You downloaded the appropriate Lineage Bone file to your computer way back in the second stride. Remember that it needs to exist in the ADB folder and renamed to LINEAGE.zip.

From the main carte of Lineage recovery, tap Factory reset, and and so tap Format data/manufacturing plant reset. Lineage will warn you this is serious business, only since y'all fabricated a backup in the tertiary stride you accept nothing to worry about (right?!). Follow the prompts and complete the format process.

After yous get a "Information wipe complete" bulletin at the bottom of the screen, striking the back button until you're back at the recovery's main menu. HitAdvanced and and so hitEnable ADB. At present you've factory reset Android and are ready to use ADB commands again.

Once that's done, you lot're ready to flash Lineage OS.

Moving files and flashing

With your device still in recovery mode and connected to your estimator, burn up a command prompt or terminal window in the ADB folder and perform a device cheque. Once checked, from the main menu of the recovery, tap Utilize update > Use from ADB. Now, blazon in this command:

adb sideload LINEAGE.zip

After you type that in and printing Enter, ADB will begin flashing the Lineage Bone file to your device. This could have some time, and sometimes there'southward no progress bar to picket how fast it's going. Requite it a while (at least v minutes) before touching annihilation. Eventually, you'll see a "Total xfer" notification. This means it worked!

Do notation that sometimes you could run across "adb: failed to read command: Success" or "adb: failed to read command: No mistake." Either way, this still means the sideloading worked.

Now that you've flashed Lineage Os, you're ready for the second-to-last step. Stay in recovery!


Pro Tip: If sideloading your Lineage OS file isn't working, make sure the file is in the same computer directory as ADB. If the Lineage OS parcel is on your desktop and ADB is in its own binder, ADB won't know where the file is when you type in its name. All the files you are pushing and flashing should be in the same folder as the ADB program. Refer back to the second footstep if yous're confused!

Step 7: Flash necessary applications

the google pixel 5a home screen showing a close up of the google search bar

Jimmy Westenberg / Android Authority

You've come a long manner so far! You are so shut to being done. Y'all have an unlocked bootloader, a custom recovery, and a fresh install of the latest version of Lineage OS.

The only affair y'all're missing is Google apps such as the Google Play Store, Google Play Services, Gmail, and Google Maps. You're going to flash the Null file of Google apps you lot downloaded in the second step in the same fashion every bit you flashed Lineage Os.

With your device booted into Lineage recovery, head to the chief menu. Tap onAdvanced > Reboot to Recovery. Your phone will reboot, and so give information technology a 2d. In one case it's rebooted and dorsum to the main menu of your recovery, tapUse Update > Apply from ADB. As before, yous're going to sideload the Google apps:

adb sideload GAPPS.zip

Usually, your Google apps package is smaller than your Lineage Os packet, and then this sideload won't have as much time. Halfway through the sideload, the recovery volition warning you lot that the Google Apps package failed a verification examination. This is normal and expected behavior. Merely tap on Yes to install the parcel anyway.

After y'all tapAye, you can watch your apps installing. You have finished! Navigate back to the chief menu of recovery and tap Reboot.


Pro Tip: If you desire to root your device, you can too flash 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 you lot want root access, this would be the perfect opportunity to flash that file as well.

Pace 8: Reboot and personalize

Lineage OS Start Screen

C. Scott Brownish / Android Authorization

Your showtime kick into Lineage OS volition take a minute — give it time. You but installed a new operating system and don't desire to rush it!

If your first boot takes longer than 15 minutes, though, something is wrong. Practise a hard reboot by holding down the power button until the device restarts. Permit it try to boot again. If information technology still doesn't boot, something didn't flash correctly, so head back to the sixth pace above and start again.

The starting time matter you lot'll notice upon a successful boot is a new boot blitheness, with the Lineage Os logo'southward three circles on a curved line.

Once the kick is complete, yous'll exist at the startup screen of Android, where you'll pick your language, add together your Google Account, connect to Wi-Fi, and then on. This is all very similar to what you previously performed when you beginning got your device, then there shouldn't be any surprises.

Once y'all get to the abode screen, you are officially washed — you have Lineage Os on your device! At present head to YouTube to learn nearly all the nifty features you can play with in this new version of Android.


Pro Tip: This is a great time to restore all the apps y'all backed up in the 3rd step. You tin also manually re-download them all if you skipped that step. Nosotros'll talk to you lot in a few hours.

Final thoughts

Lineage OS Logo

C. Scott Brown / Android Authority

Depending on your device, at that place are likely a lot of other custom ROMs out there besides Lineage OS. Now that you know how to flash a ROM, you tin get flash-happy and try out all sorts of new flavors. All you need to do is notice ROMs that lucifer your device's model number and and then repeat steps half-dozen through eight. Y'all don't need to unlock the bootloader or install a custom recovery once again.

However, you'll need to fill-in your device again. Don't forget this vital step!

If you lot effort out custom ROMs and decide y'all don't like them anymore, information technology is incredibly piece of cake to switch back to the stock ROM your device originally had. There'due south a different set of instructions for flashing back to stock, but the essence is essentially the same. Do some Googling to effigy out how to wink your detail device back to its factory defaults by searching for "flash [device name here] back to stock."

I promise this guide has been helpful to y'all! If you get stuck, inquire some questions in the comments and someone volition surely help you out!

eicherdisentithe.blogspot.com

Source: https://www.androidauthority.com/lineageos-install-guide-893303/

0 Response to "Do I Need to Flash Gapps Again When Updating to Nightly"

Postar um comentário

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel