Custom Rom - General Questions and Answers

My friend changed my custom rom to CyanogenMod and now I am deciding to change the custom rom again. Can someone help me about changing it. I only have few knowlegde about it. Do I need to unlock the bootloader again or not? From my recent research some they that if your device was rooted there's no need to unlocking bootloader.
P.s Can anyone suggest a new custom rom for my device Samsung Galaxy Avant 4.4.2. As of now it was on CyanogenMod11 custom Rom?

Rooting Android OS means to add a functionality called su to it, whereas unlocking device's bootloader means to give you complete autonomy over your Android device. It will trigger a factory reset that will erase all of your data. It will also allow you to install a custom ROM on your device. Unfortunately, it can also compromise the security of your phone and/or can brick your phone making it impossible to turn on.
To unlock a device's bootloader it's NOT needed that Android OS got rooted before.

so it means that I can change the custom rom without unlocking bootloader because my device is ROOTED?

Exactly the opposite is the case: carefully read posts.

Related

[Q] About Unlocking, Flashing and Rooting

Hi, I am new to XDA and this is my first ever post, so Devs, be easy on me.
I own a Sony Xperia SP device (c5302) which is currently running Android 4.3 (12.1.A.1.201) and I want to gain root access on my device.
I looked at several tutorials and videos and found that I need to have the Bootloader unlocked first of all. I am not sure about the exact procedure as every tutorial follows a slightly differently process.
Here are my questions as a newbie.
I want to know that what losses can I have if I try to unlock my bootloader?
After rooting, will I be able to get the same android and build version running on my device i.e. Android 4.3 and build 12.1.A.1.201?
Will I be able to get future updates from Sony that are shown in the phone as notifications as and when the updates arrive?
Is it possible to bring my phone back to the same condition it is in today? Like it was never rooted or the bootloader was never unlocked, because I want to avail warranty as well?
1. Warranty
2. Ofcourse
3. I think this is device / manufacturer specific...
4. You can always reflash to stock ROM, talking about bootloader some bootloaders can be unlocked but can't be relocked this is again device / manufacturer specific.

[Q] Quick Question for Quick Answer

Hello folks,
What is the benefit of rooting a locked bootloader phone? If I am understanding it correctly, if my phone is locked that means I cannot install custom ROM/Kernel or is that assumption wrong? FYI - According to my research my phone bootloader cannot be unlocked (thanks ROGERS!...)
I want to know to determine if I should use the up-to-date firmware or downgrade my firmware and root it.
thanks!
Vicente
with root on locked bootloader phone, you can save drm keys to relock in a future in case you want.
If you only want to use some apps that need root (like Titanium, Greenify, SoftKeyz...) but want to stay in stock.
and you understands correctly, if you have a locked phone, you CAN'T flash custom rom or kernel (some phones have roms to locked bootloaders, but not this case....)
If you have locked bootloader you CAN use stock BASED custom roms. You can't use non stock based roms like cm12 etc. And also custom kernels can't be used like said before. Every rom should contain information if it's usable for locked bootloader or not in the OP
Backing up TA is not even useful for you since your bootloader can't be unlocked.
Root is used only for root apps like rootexplorer, titanium backup, xposed etc.

BRICKING and OEM/bootloader locking

Hello everyone, I have questions. I will be happy if someone could help me understand Android better.
Edit: find most answers here https://android.stackexchange.com/questions/21460/what-does-fastboot-oem-lock-do, the following remains:
Is locked OEM equal to locked bootloader?
If not, which is more serious e.g. undesirable when using rooted custom ROMs?
Is it possible that booting fresh custom ROM will lock bootloader (or OEM..) back without asking? just like this happened to me with stock firmware
Is it dangerous if bootloader gets locked and I use TWRP?

[Q] Backup before unlocking bootloader? Custom kernel on locked bootloader?

Hello. What's the easiest way to backup everything (and I mean everything, including detailed app data) before unlocking my bootloader? I want to flash a custom kernel with minimum modifications to anything else, and obviously I want to take a backup of everything before I lose them with the unlock process, but I haven't been able to find a way to do so on a stock ROM that's not even rooted.
Or is there a way to root my phone before I unlock it?
I've never had a OnePlus device before, so here I am, asking dumb questions. :silly:
Also, one more question (in three parts, sorry!): since some of the newer apps, especially banking apps, have started using stricter safety procedures, they can detect an unlocked (or even merely rooted) device, and so they don't work. 1) Is there any way I can use a custom kernel on a locked (or relocked) bootloader? 2) Is it possible to use a custom kernel on an unlocked phone that's not rooted? 3) If neither of the two is possible, how can I prevent said apps from detecting my unlocked bootloader and rooted phone?
Thank you very much in advance for taking the time to answer all of my questions.

Risks of having an unlocked bootloader

Hello guys, This is my first thread on XDA forum.
I just bought Xiaomi device (Poco X3 Pro Global) a few days ago.
So this is my first time to try custom rom, I searched what I'm trying to do, I'd like to make sure whether what I understand is correct or not since I'm totally new on custom rom.
the sources I mainly referred to:
source1
source2
Basic assumption:
1. Only flash custom rom without rooting
2. All unlocking bootloader and flashing custom rom process done perfectly, and all resouces (recovery, rom, ADB tool etc...) used during process are 100% clean and genuine.
3. No cold boot attack (source2) happens on me.
Q1. source1 is really helpful, but it's from 2012, is this still valid today?
Q2. source1 is posted on Galaxy Nexus forum, but is this applied to all android based devices, right?
Q3. This threat model assumes attacker has physical access to device, then I guess unlocking bootloader itself is 100% totally irrelevant to software level security risks like malware or OS vulnerability, is this right? (assuming no rooting and 100% genuine rom and resources)
Q4. From source1 you can choose between [device encryption] and [relocking bootloader] to protect security, which methods do you recommend using?
I feel I'm much more inclined to try device encryption method since I don't know if it's possible to relock bootloader safely after migrating from Global stock rom to xiaomi.eu rom. (Can anyone confirm this?) I fear it become bricked during relocking process.
Q5. So if I set device encryption with strong password and turn off USB debugging mode, I need not too worrysome?
Are there any other points in terms of security to bear in mind if you use device with unlocked bootloader?
Thank you for reading my thread
[INFO] Understanding the risks of having an unlocked bootloader
While unlocking the bootloader on a Galaxy Nexus unleashes the full potential of the bootloader, it also poses a security risk. Even with your lockscreen protected with a pattern/PIN/password, not having flashed a custom recovery, having an...
forum.xda-developers.com
jwoegerbauer said:
[INFO] Understanding the risks of having an unlocked bootloader
While unlocking the bootloader on a Galaxy Nexus unleashes the full potential of the bootloader, it also poses a security risk. Even with your lockscreen protected with a pattern/PIN/password, not having flashed a custom recovery, having an...
forum.xda-developers.com
Click to expand...
Click to collapse
that's what I linked in thread (source1)
Only a side-remark:
An Android Smartphone bootloader is processor-specific and every OEM has its own version of bootloader specific for the hardware present in its environment.
It's the primary task of every bootloader to verify the Android OS to be loaded is genuine means signed by OEM to ensure the Android OS ( it's by nature a Custom ROM ) works flawlessly as it can be expected by user. People who use a phone as a tool and not as a toy probably never come up with the idea to unlock the bootloader because they know about the strengths and weaknesses of the phone when they bought it, they can expect that OEM did their best with regards to a phone's performance - OEMs are certainly not dumber than generally claimed by the modder / hacker scene.
My POV: Unlocking a phone's bootloader is an unnecessary action at all. If people do so they indirectly admit that they have purchased a phone that does not meet their expectations - they have made a wrong purchase.
Thanks for comment.
I understand your POV.
I realized later Global rom can't do call recording, that's the main reason why I try to flash xiaomi.eu rom and other optimazations are second reason.
And this phone will be my main phone so I wanted to make sure about security risk before I will change rom.
cromcromc said:
Thanks for comment.
I understand your POV.
I realized later Global rom can't do call recording, that's the main reason why I try to flash xiaomi.eu rom and other optimazations are second reason.
And this phone will be my main phone so I wanted to make sure about security risk before I will change rom.
Click to expand...
Click to collapse
Having an unlocked bootloader doesn't need to be a risk whatsover as long as you're not flashing untrusted ROMS and other components to the device and critically control anything being flashed to the device. If you're flashing a signed ROM from the manufacturer as it sounds like is your plan, there is nothing to worry about. You can even lock the BL again after flashing & optimizing if you absolutely wish to although usually not recommended.

Categories

Resources