Jump to content

General Guide To Custom ROMs and Rooting (w/ FAQ)

_ASSASSIN_

Need help with rooting s3 neo 4.4.2 

Okay so i tried odin and it doesnt work i tried towelroot and it says not suported device i tried kingo android root and it doesnt work ethier idk what to do can somebody help me please  :) P.S i will tell you all info you need  :) just ask

Link to comment
Share on other sites

Link to post
Share on other sites

  • 4 months later...

my htc wildfire s now has a version of nadroid thats made to look like ios 7

My pc:

http://pcpartpicker.com/p/dvcw23 

(Black Glacier)

 

My server:

Dual xeon x5679 processors, 24gb of ECC memory, Nvidia quadro 295 NVS and 48tb of storage.  (z600

Link to comment
Share on other sites

Link to post
Share on other sites

do i drop the .zip that i downloaded from the cynogen mod site onto my sd card or do i drop the contens onto my sd card?

My pc:

http://pcpartpicker.com/p/dvcw23 

(Black Glacier)

 

My server:

Dual xeon x5679 processors, 24gb of ECC memory, Nvidia quadro 295 NVS and 48tb of storage.  (z600

Link to comment
Share on other sites

Link to post
Share on other sites

do i drop the .zip that i downloaded from the cynogen mod site onto my sd card or do i drop the contens onto my sd card?

what are you even trying to do?

Link to comment
Share on other sites

Link to post
Share on other sites

  • 1 month later...

I FINALLY added a kernel tweaking section. Hopefully with this I will be able to be very indepth, and provide you guys with all the advice I can since I have learned so much about kernel tweaking after messing with this stuff for about a year now :)

So far I have started simple with the basic questions that people typically ask.

Link to comment
Share on other sites

Link to post
Share on other sites

  • 10 months later...

so i have a 2012 nexus 7... i wanted to downgrade to 4.4 kitkat and i downloaded the wrong version and i bricked my tablet. I can't do anything now. Anyone knows what can i do? 

Link to comment
Share on other sites

Link to post
Share on other sites

  • 3 weeks later...
On 9/6/2016 at 6:21 AM, kuku24 said:

so i have a 2012 nexus 7... i wanted to downgrade to 4.4 kitkat and i downloaded the wrong version and i bricked my tablet. I can't do anything now. Anyone knows what can i do? 

Wugfresh Nexus Root Toolkit. Just Google that and download the toolkit. It has more than once helped me get my soft bricked / hard bricked Nexus 5 back to life. And yes using that you can downgrade to Kitkat as well. 

Link to comment
Share on other sites

Link to post
Share on other sites

  • 8 months later...

Thank you very much for taking the time to create this for those of us who have no idea what we're doing.

 

I'm considering rooting my phone because it only has 8GB of internal memory and won't allow me to mount the SD card as seamless memory. Since the phone did a mandatory OS update, it's become almost unusable since it has no space. Literally the OS apps are taking up all the space. Fantastic.

 

In the tutorial, you instruct the reader to install Android SDK. Will that allow me to change my phone to act in the way I need it to? Making the SD card seamless is all I need just so I can use the phone properly.

Link to comment
Share on other sites

Link to post
Share on other sites

  • 7 months later...

Has anyone here got the new iPhone X? It's a pain with the charging leads!

Link to comment
Share on other sites

Link to post
Share on other sites

  • 1 year later...

I Have " Sony Xperia Z3+ Dual [E6533] ". Due To The Lack Of Developer Support We Don't Have Any Custom Rom Other Than Lineage OS 14.1 . I've Read a Forum That Porting Rom To Same Chipset Phones Is Easy and Yet There Is No Proper Guide To Update Device Tree And Build ROM From The Updated Device Tree. My Phone Has The Same Chipset As Nexus 6P And Oneplus 2. So The Thing Is Can Anyone Able To Build " Lineage OS 16 " For My Phone So That We Can See The Light Of The Day [Android_Pie]...

Device Tree : https://github.com/LineageOS/android_device_sony_ivy/tree/lineage-15.0
Kernel : https://github.com/LineageOS/android_kernel_sony_msm8994

Link to comment
Share on other sites

Link to post
Share on other sites

  • 8 months later...

Hey guyz.

Sorry for my bad english..

 

I am stuck in this weird situation right now. My father has an old motorola moto g 3rd gen dual sim xt1550.. the reason my father is using this mobile because he doesn't have to do that much thing on smartphone and he needs 2 sim to work at a time. I love custom roms from ages.. but now i tried every (famous) rom and it works fine.. the only issue i am having that i cannot run 2 sims on new roms.. don't know why.. i think there is exact same device which also named as moto g 3rd gen but it doesn't have dual sim.. i really really realllyy appreciate if someone can provide me a custom rom for this device which doesn't effect my dual sim option.. and if possible then provide me a rom which runs atleast on android 7 or higher

Link to comment
Share on other sites

Link to post
Share on other sites

  • 8 months later...

he i want to download a different rom for my Samsung j5 2016 but i find it very hard to find roms that support the j5 has any one got a suggestion.

Link to comment
Share on other sites

Link to post
Share on other sites

  • 11 months later...

Can anyone recommend the Android 11 Rom for the i9505?

Link to comment
Share on other sites

Link to post
Share on other sites

  • 6 months later...
On 5/27/2021 at 2:31 PM, Suki-chan said:

Can anyone recommend the Android 11 Rom for the i9505?

That's low end af. You are better of installing andorid 8

Link to comment
Share on other sites

Link to post
Share on other sites

  • 5 months later...

For anyone with the s10 line, t.me/exynos9820oss_news has a lot of roms and it pushes updates as notifications.

check your cables!
samsung s10e | android enthusiast | Tech blogger | XC Athlete | Surface pro 4

 

Link to comment
Share on other sites

Link to post
Share on other sites

  • 8 months later...

Here's how you can install a custom Android ROM on your phone to change the UI, add new features, and customize it to your liking.

Link to comment
Share on other sites

Link to post
Share on other sites

  • 3 months later...
On 3/15/2014 at 1:56 AM, _ASSASSIN_ said:

 

 

Android Custom ROM and Rooting Guide

by me, _ASSASSIN_, and those mentioned in credits.

 

So why did I create this guide?

Since we have a lot of people that are new and want to completely change their phone, it’s crucial to understand the fundamentals of what you are doing so when you come across an issue it will be easier to address. Everything in normal text is by me, and everything that is in italics is by other sources.


thanks to :

@Whiskers, @TheSLSAMG, @nsyedhasan for all the edits

@lekro for a bit of adding and ideas

@Levent for our Odin & Knox sections

Cyanogen Wiki

 

Also, before I say anything:

BY DOING THIS YOU ARE VOIDING YOUR WARRANTY

 

DO NOT DOWNLOAD ANY ROOT APPLICATION THAT IS NOT ON THE PLAYSTORE/DOESN'T HAVE A XDA THREAD ON IT

 

*EDIT* 3/30/18
I think it's also important to keep in mind here that root IS a security vulnerability. Android for the most part secure, however if you root, you have to be extra careful with what you do with your device.

Even simple things such as init.d are able to be exploited to do some pretty nasty things. I strongly recommend that you always check what you are granting superuser to.

 

 

FAQ

First, let me start up with some basic FAQ

 

1. How do you install a custom rom?

A: Custom ROMs require a lot of pre requisites, you first need

  1. an unlocked bootloader

  2. a custom recovery installed

  3. need to be rooted

Now then, there are multiple ways to get steps 1 and 3 done which is why I’m not putting in root methods, because they are so different for each device. Basically, once you have found a method that is reliable for your device, do that, and then install a custom recovery, using which you can install a custom ROM. Another alternative is Odin which you can use to install custom ROMs with (see below).

 

2. Rooting / What is Root?

In layman's terms, it’s similar to having administrator level access on a Windows machine, but for android. Root access is a part of the Linux kernel, but was removed from android because Google would prefer to have a safer environment for their OS. Rooting is a way of modifying your device to give users access to the /root partition on your phone. Why does this matter? Rooting allows you, the user, to read and write from the /system partition, which allows for you to do a lot more with your phone than you could before, such as:

-backing up apps

- removing pre-installed bloatware

- installing a custom recovery, custom ROMsand custom kernels (we will get further in-depth with this later)

- extensive customizability and other customized apps.

 

3. What is the benefit of custom ROMs?

A: To make it easy, a custom ROM will be faster, more stable (if you get a proper release) and have faster updates than any other manufacturers could possibly claim.

If you have an older device that has had it’s support dropped, you can easily just install the latest version of android from a custom ROM if it is supported.

Not only that, but they also have lots of customizations that can be done to the UI to streamline the OS to your liking.

And since most custom ROMs are AOSP/stripped down manufacturer based ROMs, and are inherently more minimal, they can improve battery life also by not having an excess amount of background process and useless animations that might slow down your device.

It can also help influence your choice in buying a phone, no longer do you have to worry about purchasing a beast phone with a bad OS, you can easily just change the OS and have a device you always wanted with an OS that is just as great, however you have to keep in mind that certain manufacturers do not support the 3rd party development community. Notable examples recently being LG and Samsung.

 

4. When I install a custom rom, how do I move all of my information from my current ROM to my new one?

A: Before you install the custom ROM, create a backup in TWRP, of your /system, /data, and /boot. This install will allow you so that if the install fails, you can go back and re-do it without a bricked phone.

 

5. Why should I install ROM X over ROM Y?

A: For me, there is no reason why people should install a ROM because I say so, I recommend ROMs based on how I use my phone, and I like their features and support. There is nothing holding you back from trying new ROMs, just make sure they are from reliable developers.

 

AOSP

AOSP stands for Android Open Source Project. This project is just the stock Google version of android’s source code. This allows for developers to customize the OS in ways they seem fit. This also allows for the manufacturer versions of Android such as Sense (HTC) or Touchwiz (Samsung) to happen since those companies bring in their own developers to create their own skinned versions of Android. It also allows for custom ROMs .

 

Custom

A custom ROMs are custom firmware(s) that changes your /system. This basically changes the entire OS of your system. Also it isn’t technically a ROM, more so a P-ROM (Programmable Read Only Memory).

So why exactly would you want to install something like a custom ROM? Custom ROMs typically come with custom kernels, which in short allows for performance and stability tweaks compared to a manufacturer distributed kernel. Most come with slightly modified stock AOSP, which means you are going to get on of the least bloated versions of android. Some custom ROMs also pride themselves on original development with original features.

Of course there are also other ROMs out there. There are ones that are based on both Sense and TouchWiz. Typically these ROMs de-bloat the skinned version and add customization to it. These ROMs can be great if you are really accustomed to that version of Android and don’t want to take a big leap to stock AOSP.

However, as many “feature packed” ROMs there are, each ROM is a different experience that caters to different users. There really is no such thing as a perfect ROM. You are just going to have to find a ROM that you like.

 

Custom Kernels

A kernel is low-level code that allows the OS and any other high-level code (applications) to interact with the hardware. It essentially fits the same purpose as a kernel for other Operating Systems such as Windows, Mac OS X or Linux. AOSP or CM based roms typically come with a custom kernel. When people say that you can get an improvement in regards to performance and stability with a custom ROM, they mean that the included kernel for this ROM comes with tweaks and improvements that do this. Custom kernels allow also for Overclocking/Underclocking, Overvolting/Undervolting, TCP congestion control, Governor options (Governors determine how the CPU reacts to load, such as enabling/disabling cores and how it ramps to different frequencies), I/O Scheduler options (Disk Scheduling), Touch controls (these can vary from the double tap to wake feature from Sony devices) to the Logo2menu feature created by XDA developers that makes the HTC logo a menu button) and undervolting.

 

Custom Recovery

Custom Recovery is a better alternative to stock Android 3E Recovery as it adds multiple features that were not included in the stock recovery (such as creating backups, partitioning your SD card, Mounting your phone’s SD card to PC without needing it to boot in to Android OS). There are multiple choices you can make when you are installing custom recovery

- TWRP (TeamWinRecoveryProject)

- CWM (ClockworkMod), CWM Touch (ClockworkMod with touchscreen compatibility)

- Philz Touch Recovery (CWM based).

 

Busybox

You might be wondering what Busybox is since so many root applications require that you need it, like for example Titanium Backup. Busybox is essentially just a bunch of UNIX programs that can be installed into the /system for applications to use when granted Superuser permission.
 

Xposed Module

Created by XDA member rovo89, Xposed Framework allows for many of the customizations that are bundled into custom ROMs to be implemented into other ROMs simply by using .apk files (android package file) to modify your system. It requires root but it’s a great way to extensively customize your ROM without having to change out ROMs. Using the Xposed Installer APK found on this thread, you will be able to download the framework and all applications that support Xposed Framework. Some applications that I recommend that use Xposed are:

 

I personally love Xposed, as it allows for a ton of features to be used with even the stock ROM which your device came with. My only complaint is that it requires a lot of rebooting and the API goes away when flashing nightlies, so when you flash a nightly you should prepare to reboot again in order to install Xposed.

 

FASTBOOT

“Fastboot is a small tool that comes with the Android SDK (software development kit) that can be used to re-flash partitions on your device. It is an alternative to the recovery mode for doing installations and updates.

Because fastboot mode can start on your device even before Android loads (and can even run when Android isn't installed at all), fastboot mode is useful for updating the firmware quickly, without having to use a recovery mode. In fact, it's frequently the preferred way to initially install the recovery image on many devices. Fastboot can also be used for developer operations like unlocking the bootloader of Google's Nexus devices.

Not all devices support fastboot, but many do.

There are two "sides" to using fastboot-- the computer side and the device side. Typically your device first is connected to your computer via a USB cable. Then you boot into the "fastboot mode" on the device. On your computer, you then run the fastboot tool to issue commands. Please note that fastboot commands will ONLY work while the device is in fastboot mode.”

(Source: Cyanogen Wiki- http://wiki.cyanogenmod.org/w/Doc:_fastboot_intro)

 

Fastboot can be used to unlock the bootloader and install custom recoveries on devices.


 

ADB

“ADB ("adb"), or the Android Debug Bridge, is a development tool included with the Android SDK (Software Developer Kit), which allows for communication from an Android device (such as a phone or tablet) to a personal computer, and vice-versa. This communication can be made over a wifi connection. However, more commonly, it is made via a USB cable.”

(Source: Cyanogen Wiki- http://wiki.cyanogenmod.org/w/Doc:_adb_intro)

 

ADB can be used via the ADB shell using CMD in Windows and running the adb.exe inside the platform-tools in the SDK. Some common uses for ADB is backing up a phone without use of root access, restoring said backup, using adb sideload to easily install a custom ROM placed in the platform-tools folder. ADB push to push files to your phone, etc. An easy way of seeing all of the ADB commands, enter in the cmd located in the proper folder, "ADB" and a list of commands will appear.

 

“Alternatively, you can add the adb directory to your PATH environment variable, eliminating the need to “cd” to the adb directory every time you wish to use it. Of course, this is only necessary if you are using adb all the time rather than just once.

 

Note that you will need to add your device id to the adb driver’s configuration file in order to use adb sideload in most cases.”

- Lekro


 

How to setup ADB & Fastboot

Method 1 (Recommended)

*Google has made it easier on everyone, and has released the adb and fastboot binaries independent of the Android SDK*

Here's the link where you can find the downloads for Windows, Mac, and Linux operating systems.

https://www.xda-developers.com/google-releases-separate-adb-and-fastboot-binary-downloads/

unzip the binaries, go to a terminal and use the 'cd' program to go to the directory/folder where it's located, and you are good to go with using both adb and fastboot.

Method 2:

Alternatively, If you don’t want to install everything that comes with the android SDK, you can download the ADB & Fastboot minimal tools here. It is installed like any other windows application. Once installed, it will run and give your a command prompt that will open that will allow you to use both adb and fastboot tools.

Something to note with this program is that it has gotten rather out of date, it would be recommended to go with method 1.

Here is adb/fastboot

example screenshot.png


 

then you need to set up the adb drivers to work with your device.

it’s much easier on windows 7 than windows 8. Win 8 is the same process, only difference is you need to disable driver signature verification.

 

ODIN

Odin is used for select devices found in this thread. This is used for both rooting and installing custom ROMs on mostly Samsung deviceswatermarked4odin.jpg

Make sure Auto Reboot and F.Reset Time is checked ,once that is done you can click to AP button and manage to your .tar.md5 file (must be the one downloaded from samsung-updates.com)

 

watermarked3odin.jpg

Once application loaded the Flash files you can click Start

 

NOTE:IF ODIN SOMEHOW CRASHES OR GETS INTERRUPTED DURING THE FLASH PROCESS YOU CAN HARD BRICK YOUR PHONE.

(-Levent)

 

There is also mobile Odin by XDA dev Chainfire, which you can also use.

 

What is Knox and why is it important

Knox is a eFuse that is in Samsung devices with Qualcomm processors, simply it is a fuse that checks if phone has 3rd party recovery (this also counts flashing unsigned or modified images through Odin).

How to check Knox Status (First you need to keep knox apps to see if you triggered knox)

boot into Download Mode at the top left side of the screen you will see

Knox Warranty Void ,if its set to 0x1 you have triggered knox and your warranty is no longer valid

If it’s set to 0x0 you haven’t triggered knox and your warranty is still valid

 

NOTE: YOU CAN’T REVERT KNOX STATUS (yet) if you try to downgrade your rom to a older one without knox you will also trigger Knox


 

Recommended Apps For Root Users.

Here are some of the free apps that I personally use:

 

SuperSU (not maintained by chainfire, and the rights are given to some random chinese software firm, watch out) R.I.P. (I personally use Magisk nowadays)

Kernel Adiutor

Greenify

SD Maid

Busybox Free

Adaway

Titanium Backup

Hidden Content

DOT so I remember this thread.

AMD Ryzen R9 5900X  | Arctic Liquid Freezer II 360  |  GIGABYTE X570S AERO G  |  2x32GB G'skill TridentZ 4000MHz  | MSI RX 6900 XT Gaming Z Trio 16GB Dark Base Pro 900 (Orange)  | TOSHIBA 4TB 3.5" Drive - Game Drive | Crucial MX200 250GB 2.5" SSD - Boot Drive | Cooler Master V750 PSU |

 

Living Room PC: AMD Ryzen 2400G | MSI RX VEGA 56 8GB AERO | 2x8 GB Crucial Ballistix 2400MHz | Intenso 250GB SSD | Seagate 500 GB HDD | Node 202 + 850W PSU |

Link to comment
Share on other sites

Link to post
Share on other sites

  • 4 months later...

I decided to practice on a (very) old Sony device, fully working, i had laying around, an Xperia E3 that allows bootloader unlock.

 

Got this from the EMMA flash tool...

 

Is the hope lost? I have an Xperia 1 with broken antenna, but it would be much cooler to get this one working that is in almost new condition.

Skärmbild 2023-10-19 202214.png

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×