How to update custom rom android

How to Install a Custom ROM on your Android Phone to give it a fresh new look!

Every smartphone comes with a default ROM or UI pre-installed. It can be AOSP-based with not a lot of added features, more commonly referred to as Stock Android, or it can be a custom skin from a particular brand. Samsung phones, for example, use a custom UX based on Android called OneUI. Xiaomi phones use MIUI, Oppo uses ColorOS, OnePlus uses OxygenOS, etc. Every UI looks different and has a different set of features.

While some may like a certain UI or skin, others may not. Some users prefer a feature-rich interface with the ability to install themes and modify system elements while some may want a clean, simple experience with no frills. This is where installing a custom Android ROM comes into the picture.

A custom ROM essentially replaces the stock ROM or skin on your phone with the one you choose to install. For example, if you have a Xiaomi or Redmi phone running on MIUI but you don’t like the interface, you can install a custom ROM that will change the UI to stock Android or something else you like.

There are multiple benefits to installing a custom Android ROM. If the UI you’re currently using has a lot of ads or bloatware, you can install a custom ROM to get rid of them. If your phone’s OEM has stopped updating your device and you’re stuck on an older Android version, you can use a custom ROM based on a newer version of Android. If you like a different OEM’s UI and want to try it on your phone, you can install a custom ROM.

Now that you know what a custom ROM can do, let’s tell you how you can install it on your Android phone. Note that there’s no universal custom ROM, although Project Treble somewhat materialized it by introducing the concept of the Generic System Image (GSI). While it is possible to install a GSI sprinkled with all the goodies from your favorite custom ROM, keep in mind that it may not offer you the same level of stability and performance that you can get from a fine-tuned dedicated custom ROM for your device. So with all of this being said, you’ll have to install a ROM that’s specifically made for your phone. Failing to do so may result in bricking your phone. You’ll then have to find ways to recover it or take it to the service center.

Note: Installing a custom ROM can void the warranty on some devices since it involves unlocking the bootloader. Proceed with caution as you can cause temporary/permanent damage to your device if you don’t follow all the steps correctly.

Sometimes, installation instructions can have some variations depending on your device. These are generic instructions. Please double-check with your device forums for variations.

Pre-requisites to Install a Custom ROM

There are certain things you need before you can start installing a custom Android ROM on your phone. Let’s go over all of them so your device is ready for the installation process.

  • An Android device.
  • An unlocked bootloader (if you don’t know how to unlock the bootloader of your phone, head over to the XDA Forums and search for your device name followed by “unlock bootloader” and you’ll find a guide. The process is different for every phone so make sure you follow the one specifically meant for your device.)
  • A custom recovery: TWRP is a good option, you can follow our detailed guide to install TWRP on your phone. However, some custom ROMs have specific recommendations on the recovery you need to use, so please follow that if such instructions are present.
  • A custom ROM zip file that you want to install (again, head over to the XDA Forums and search for your device, go through all the available ROMs, and choose the one you want to install.)
    • Please note again that custom ROM installation instructions can and do vary by device and ROM. If your ROM of choice comes with its own instructions, please follow them instead of this guide. This guide is a general list of instructions and does not take into account any special device instructions.
  • GApps or Google Apps.
  • A little bit of patience.
Читайте также:  Java или android разработчик что выбрать

How to Install a Custom ROM

Now you have everything ready to install a custom ROM, we can begin the process.

Step 0: Back up your data

There’s one more thing you need to do before starting the installation though, and that’s to make a backup of all your data. We have a detailed guide to help you back up every aspect of your phone’s data so make sure you do that so it’s easy to restore your data once you install a new ROM.

Step 1: Downloading the correct ROM

As we mentioned earlier, the best way to do this is to head over to the XDA Forums for your device and look for a ROM that best suits your needs. Custom ROMs are device-specific so download a ROM that’s made specifically for your device. Also, there can be multiple variants of the same device based on carrier, region, etc. so keep this in mind too. Locate the appropriate custom ROM for your exact device. If you’re not sure, ask about compatibility in the XDA Forums.

Once you’ve found the ROM you want to install, download the zip file either on your computer or on your phone. Note that you will need to data wipe your phone in some of the later steps, so it is advisable to do the file transfer later on, after the data wipe — but ensure that your phone can connect to your computer and can receive files, just to be clear that your device drivers are in place. Later on, you will need to copy the ROM file to the root of your phone’s internal storage. Don’t extract the zip file.

Step 2: Downloading GApps or Google Apps

Custom ROMs do not come with Google’s apps and services pre-installed (with the exception of a few). So if you want to be able to sign in with your Google account and use Google’s services like Sync, Play Store, Gmail, Drive, etc., you’ll need to install a separate GApps package. There are multiple variants of GApps you can install. You can refer to our guide on finding the right Gapps package for you and download one that’s appropriate for you. This will also be in the form of a zip file. Download and transfer it to your phone’s internal storage. You can also install them right from your PC/Mac if you opt for the adb sideload method.

Note: Some custom ROMs like Pixel Experience come with GApps pre-installed. In such cases, you don’t have to flash the GApps file separately.

Step 3: Booting into TWRP

Once you’ve copied the ROM and GApps files to your phone’s internal memory, it’s time to boot into TWRP to flash the files. If you’re not familiar with booting into recovery mode on your phone, we have a guide telling you how to boot into recovery on your phone so you can follow that to boot into TWRP. Once you’re in TWRP, there are a few things you need to do before installing the ROM which we’ll go over in the next step.

Step 4: Installing the Custom ROM

Once you’re in TWRP, it’s a good idea to take a nandroid backup of your entire system before proceeding further. This can be useful in case you end up with a failed installation. You’ll be able to boot into TWRP and restore the backup to go back to the previous state of your device.

  • To do this, select the Backup option in TWRP and select Boot, System Image, Data, Modem, and EFS, and then Swipe to backup. Wait till it’s done.

  • This step will wipe your entire phone: Go back to the main menu of TWRP and select Wipe. Then, Swipe to Factory Reset. Select the Format Data option and type in ‘yes’ and select the tick mark to format your phone. Note that formatting the /data partition will need you to reboot once so that TWRP can properly identify the newly created file system.

  • Moreover, since the internal memory of the device is wiped during formatting, you must copy the ROM and GApps files once again to your phone’s storage.
    • You can do this from within TWRP itself. Head over to the Mount section and select the Enable MTP option.
    • Now, connect your phone to your PC and it should be detected as a storage device. Transfer the ROM and gapps files.
Читайте также:  Отпечаток пальца для android

  • Once done, go back to the main menu on TWRP and select Install. Browse to the location where you saved the ROM and GApps files. First, select the ROM and Swipe to Install it.
    • Head back to the previous menu and select the GApps file. Install that as well. Once the installation is complete, select Reboot to System.
    • If your installation does not boot with this sequence of steps, you may need to flash/install the ROM, reboot back into recovery, and then flash the GApps file. This additional reboot is needed in some cases.

You now have a custom Android ROM installed on your phone! Wait for your phone to boot up. It may take a while for the initial boot process so don’t panic, your phone will boot into the setup process.

That’s how you can install a custom Android ROM on your phone. It’s a fairly simple process and with a little bit of time and patience, you can enjoy a fresh new ROM on your phone with added features, customization, theming, and more. If you installed a custom ROM and you don’t like it or it has issues, just download a new ROM and repeat the installation process.

Источник

[GUIDE] Complete Guide how to root and update custom ROM Android 1.72.405.3

piczok

Member

Recently I was able to update stock ROM in my Desire HD with 1.72.405.3 version. I’d like to share with all of you folks how to do this on your devices.
Please note: YOU ARE DOING THIS ONLY ON YOUR OWN RESPONSIBILITY . Much love and respect going out for jkoljo, who helped me with his tutorials and his support.

Requirements:

  • Tools
  • HTC Sync

My workaround:
C:\
|
L _ AndroidTools
|
|
L _ AndroidSDK\tools

A — Downgrade. We need to put some files on phone and run it to fake version of soft and flash with stock ROM:
Downgrade tutorial by jkoljo
B — Radio S-OFF. We need this in order to be able to flash DHD with custom ROMs. Radio S-OFF tutorial by jkoljo
C — Flashing custom ROM.
Put .zip file with custom ROM to root of the sd card. (I’ve used Android Revolution, which perfectly worked for me.) Boot your DHD into Clockwork Recovery. Select install from sdcard -> Choose .zip file and select .zip file with custom rom.
D — Flashing radio. As per instructions in Revolution ROM radio should be updated to 26.04.02.17 version. Please follow this instructions:
Tutorial for flashing Radio by leith51

Summary (MY DHD):
Android version: 2.2.1
Radio: 12.28e.60.140fU_26.04.02.17_M2
Kernel: 2.6.32.21-g3d0aaff
Compilation number: 1.72.405.3 CL296490 release-keys
Software number: Android Revolution HD 2.0.44 by mike1986
Browser version: WebKit 3.1

Credits: jkoljo, leith51


If you like our work you can buy us a beer via PayPal

Источник

[GUIDE] Flashing and updating custom ROMs

Nebrassy

Recognized Developer

Flashing for Dummies

In this guide we’ll go over how to flash custom ROMs with root and TWRP in addition to updating
this guide will always be updated

Read the ENTIRE guide before you start

things to keep in mind:
1- when you flash a ROM through TWRP, it will flash to your inactive slot, that’s why you need to switch slot after flashing it and then flash everything else, think of it like an OTA update except you need to switch active slot yourself

2- when you change your active slot in TWRP, it will only change after you reboot, your active slot will always be the one you’re currently booted on

3- the order of flashing anything that modifies boot is
1) TWRP
2) custom kernel
3) noverity
4)Magisk

if you’re not sure, flash stock boot of your rom and do it again, flashing TWRP will break Magisk, flashing a custom kernel will break magisk, flashing TWRP after flashing a custom kernel will most likely get you a bootloop

It is no longer required to be on stock Oreo before flashing, but I currently still recommend you do so as there might be some minor bugs on some custom roms, but otherwise everything will work just fine.

get latest platform-tools if you haven’t already, using an older one WILL result in errors
platform-tools

Читайте также:  Subway surf с читами для андроид

extract it and open the folder
hold shift then right click on an empty space then click «open command window here»
if you’re on windows 10, doing that will open power shell instead, inside power shell, type «cmd» and press enter, use cmd for everything below

if you’re coming from stock, you need to do this first

type the following command (data and files will be wiped)

Notes:
Pixel Experience includes Gapps, do not flash them after the rom
many roms include TWRP, such as Havoc, AICP and many others, check ROM thread first, if it includes it then don’t flash TWRP.

Flashing custom ROMs and other stuff

download latest TWRP img and zip from https://twrp.me/xiaomi/xiaomimia2.html and place it in the same folder you extracted platform-tools to

NOTE: if you are on stock then use TWRP 3.2.3 img, not 3.3

note: if you’re having issues with official TWRP, I’ve built an unofficial one with F2FS support which you can try here
be careful if you switch to F2FS, it will only work with a recovery that supports it and a ROM that supports it, no stock.

rename the img to twrp.img

if you get a bootloop, force shutdown (power + volume down) and try again

using MTP copy the files needed to flash to your phone
if MTP doesn’t work, you have the following options
1) wipe data from TWRP, try again
2) advanced > file manager, go to /data/media , if there is nothing in there, create a new folder called 0 there by going to Advanced > Terminal and typing the following commands

do that for each file you need

after you got the files on your phone, it’s time to flash
remember that when flashing a ROM, it will flash to your inactive slot, in this guide I’ll assume your active slot is B, use «fastboot set_active b» in fastboot if you’d like to follow along
First go to wipe > advanced and select System and Data then wipe, then you can start flashing

1- flash the ROM zip
2- flash TWRP zip, so you can boot to TWRP without the need of a PC (ONLY if the ROM doesn’t include it already)
3- switch your active slot (to A if you are on B and to B if you were on A)
4- reboot recovery
5- flash Gapps if required by the ROM you’re flashing, Opengapps nano is recommended, you can get it here http://Opengapps.org
6- (optional) flash a custom kernel if desired/needed
7- (optional) flash DM-VERITY & FORCEENCRYPT DISABLER zip , this will disable DM verity and encryption in vendor, this is not required by most custom ROMs as they will disable encryption anyway, it is most useful on stock, and in the possibility that the ROM you’re flashing does not disable encryption
8- flash Magisk
9- reboot to system

IMPORTANT, if you get an error while flashing ROM zip, do the following
use latest official TWRP, if you’re already using it, then the ROM you’re flashing is one of the older ROMs
previously, ROMs and TWRP used Jasmine as a codename for our device, while the real codename is Jasmine_sprout, this caused some issues, newer ROMs and TWRP now use the correct codename, but that means new TWRP can not flash older ROMs, and so you will need some simple modifications to the ROM zip:
1- open the ZIP using WinRAR on PC or X-plore on phone
2- go to META-INF/com/android/metadata and open it as text
3- on the last line, edit ‘pre-device=jasmine’ to ‘pre-device=jasmine_sprout’
4- save it and try flashing again

Switching between custom ROMs
follow the same flashing instructions, you can boot directly to TWRP by holding power + volume up, wipe data and system first then flash ROM and the rest.

Updating Custom ROMs

For OFFICIAL ROMs which support A/B OTA it’s very easy
1- once you get a notification that an update is available, download and install with the system updater but don’t reboot (If the ROM includes TWRP then don’t do any of the following steps, just reboot)
2- go to Magisk, Downloads, search for «TWRP A/B Retention Script» and install it
3- on the main Magisk page, click install > install > Install to Inactive Slot (After OTA)
4- once Magisk finishes, reboot, you will now be on the opposite slot with both Magisk and TWRP installed.

Источник

Оцените статью