Related
I've been doing a lot of reading and searching but still can't find a definite answer...
My understanding is that I need to root the device to flash a custom rom
But from the instructions for noobs, they don't usually specify that I have to root
I assume that rooting is a pre-requisite for everything...but then some roms advertise that they are rooted (for example, LeoFroYo)
So it the rooting process tied to the rom itself and I have to root everytime I flash a new rom (if the rom is not rooted)? Or is it universal like HSPL on WinMo?
Rooting is per rom. What is required to flash a custom rom is having an unlocked bootloader and a custom recovery image. From there you can flash a pre-rooted rom.
The root instructions assume that you're gonna keep using the stock version with root abilities added on top. Whereas if you're using flashing something like CM, that already has root and OS tweaks.
FaJu said:
Rooting is per rom. What is required to flash a custom rom is having an unlocked bootloader and a custom recovery image. From there you can flash a pre-rooted rom.
The root instructions assume that you're gonna keep using the stock version with root abilities added on top. Whereas if you're using flashing something like CM, that already has root and OS tweaks.
Click to expand...
Click to collapse
Thanks! So does that mean when I get my phone out of the box, I have to root it once over the stock rom before I can flash any custom rom?
You need to root the phone originally and flash a custom rom. The "pre-rooted" means the rom is rooted. So if you flash that rom then you wont lose root. If you flash an un-rooted rom then you will lose it. So go through the steps and unlock your bootloader then flash a custom recovery image. Then decide which rom you wanted and flash it. All the custom roms are rooted.
futango said:
You need to root the phone originally and flash a custom rom. The "pre-rooted" means the rom is rooted. So if you flash that rom then you wont lose root. If you flash an un-rooted rom then you will lose it. So go through the steps and unlock your bootloader then flash a custom recovery image. Then decide which rom you wanted and flash it. All the custom roms are rooted.
Click to expand...
Click to collapse
That explains it. Thanks for your answer
one more question:
I take it as when bootloader is unlocked, there's no way to lock it again? Not even flashing the stock boot image?
No, once you unlock the bootloader, it stays unlocked.
Just to be clear here you don't _have_ to "root your phone once"
On _most_ phones you need an exploit to be able to get to the bootloader, this exploit is often referred to as rooting. After the exploit you generally have superuser access until you reboot, on some phone this may allow you to get at the bootloader and write anything you want there (E.G. an OS that give you superuser access at boot time)
However the N1 lets you issue the command "fastboot oem unlock" that unlocks the bootloader, from there you can flash a recovery image that will allow you to flash the main OS without having access to Google's release signing keys. Hence you _could_:
1. Bootloader unlock
2. Flash Custom recovery
3. Flash Custom OS
Without ever actually having "root" access, it just happens that most Devs prefer having root access available in both recovery and any custom rom they cook up.
I have an N1 that I unlocked and rooted and was running CM7 RC1 when I decided to try the stock Gingerbread. This switch went perfectly, but now I don't think I want to stay on the stock GB but I can't seem to get ROM Manager to boot into recovery to allow me to flash another ROM. Do I have to do something differently now? BTW, I do not have root on the 'new' GB.
Thanks.
Unless you flashed a pre-rooted version of Gingerbread, you will have lost root and your custom recovery...
If this is the case, you have two options:
1 - Flash a custom recovery through an unlocked bootloader.
2 - passimg back to an older version of Android and root again...
Sent from my Nexus One using XDA App
tsprks said:
BTW, I do not have root on the 'new' GB.
Click to expand...
Click to collapse
This is your problem. ROM Manager installs a custom recovery, but only when your phone is rooted. You need to re-root GB.
Can I ask them how people flash custom recoveries without having root? I see threads all over the place that say that you don't have to root your phone to run these custom ROM's.
tsprks said:
Can I ask them how people flash custom recoveries without having root? I see threads all over the place that say that you don't have to root your phone to run these custom ROM's.
Click to expand...
Click to collapse
You have to root, but you don't have to unlock your bootloader.
You have to do one of the things:
1) Root.
2) Unlock the bootloader.
Rooting allows you to bypass security mechanisms from within the OS, and flash the custom recovery from there.
Unlocking the bootloader turns off the security mechanisms, and you can flash whatever you want directly from bootloader.
Both achieve the same thing, but in different ways.
Root privileges in OS are lost upon official upgrades.
Unlocked bootloader is never lost.
Unlocked bootloader allows for an easy way to gain root in the first place, regardless of the ROM.
How does an unlocked bootloader allow me to flash whatever ROM I want? ROM Manager won't run without root? Am I missing something? I've read the wiki's and threads about rooting an N1 and they all just seem to stop at unlocking the bootloader, well, my bootloader is unlocked but I can't get it to boot into CWM so that I can select another ROM. Is there another way to do this?
ROM Manager is only one, and not the most successful nor most powerful, way to flash ROMs or recovery. ROM Manager was made for non-understanding people to make the process look and feel easier. The most powerful way is directly from bootloader - which needs to be unlocked to allow it.
If you read all the threads, you'll see that unlocking the bootloader is just a first step - you can look carefully at "installing custom ROM" guide in Wiki. Or, for example, here:
http://forum.xda-developers.com/showthread.php?t=636795
Read the Wiki, look for recovery installation instructions using unlocked bootloader, execute. I suggest Amon_Ra's.
if so, can anyone advise what is the best rom at the moment which is reliable
can every verison of tf701 be rooted?
"Best" is in the eye of the beholder...
Check the Development section for this tablet for custom roms. They are all reliable, but you'll have to try them to find the best - for you.
Some users have rooted successfully with Towelroot v1 without unlocking the bootloader.
But if you want to run a custom rom you need to unlock anyway and then you can root flashing SuperSU in your custom recovery or just flash a custom rom which is rooted anyway.
Hi,
I hope somebody is willing to help me; I couldn't find a guide covering exactly the same problem. Actually, I'm "just" looking for the right order of steps I should perform in order to restore the factory state of my Z3C. I'm currently running Cyanogen Mod 12.1 with unlocked bootloader (obviously). I would like to return to being able to use the DRM Camera functions. Afterwards I'd probably like to try another ROOTED stock-based firmware. (Thus the DRM functions should still be available again, right?)
Current setup: CM 12.1 + bootloader Unlocked + TA Backup has been performed
Aim: flash stock firmware + restore DRM functions + install (pre-rooted) stock-based firmware
What I don't understand: If I re-flash stock firmware the phone won't be rooted anymore, Custom Recovery is going to be lost, right? Is it right to T H E N restore the TA backup? (As the bootloader will be automatically relocked?) Or do I need to perform additional steps or the above mentioned in another order?!?!?
And: Can I then simply flash a stock-based ROM without losing the DRM functions again?
Thanks in advance!
artie_ficial said:
Hi,
I hope somebody is willing to help me; I couldn't find a guide covering exactly the same problem. Actually, I'm "just" looking for the right order of steps I should perform in order to restore the factory state of my Z3C. I'm currently running Cyanogen Mod 12.1 with unlocked bootloader (obviously). I would like to return to being able to use the DRM Camera functions. Afterwards I'd probably like to try another ROOTED stock-based firmware. (Thus the DRM functions should still be available again, right?)
Current setup: CM 12.1 + bootloader Unlocked + TA Backup has been performed
Aim: flash stock firmware + restore DRM functions + install (pre-rooted) stock-based firmware
What I don't understand: If I re-flash stock firmware the phone won't be rooted anymore, Custom Recovery is going to be lost, right? Is it right to T H E N restore the TA backup? (As the bootloader will be automatically relocked?) Or do I need to perform additional steps or the above mentioned in another order?!?!?
And: Can I then simply flash a stock-based ROM without losing the DRM functions again?
Thanks in advance!
Click to expand...
Click to collapse
You simply can not restore back to factory state of your phone unless you have backed up your DRM keys. I'm thinking that you haven't so...
Anyways, you can use a pre-rooted stock ROM and you will have stock state of the Z3C and also root. To do this, you simply download any of the many alternatives in xda. I, myself, recommend you to use Wajk's SlimROM. It has good features, good debloat and awesome battery life. You'll be on stock ROM and have root but you won't be able to use DRM functions. If you want the DRM functions so badly there's a way to spoof it. You can visit here: http://forum.xda-developers.com/z3-...ocked-update-conceptmm-root-recovery-t3291722 and follow the instructions. It will give you the concept version of Marshmallow, root and DRM functions!
The thing is you have lost your DRM functions by unlocking your bootloader. So flashing any other Stock ROM will not bring it back as it has something to do with the system of the phone. If you are OK with a Stock ROM without DRM functions, there are plenty Stock Pre-Rooted Firmwares on xda. You can download one, do a factory reset, and wipe dalvik/cache, then flash the Stock ROM.zip through your recovery. Have the best of luck!
EDIT: I don't know about the TA backup as I have never used it :/
Solution
marshalpear said:
You simply can not restore back to factory state of your phone unless you have backed up your DRM keys. I'm thinking that you haven't so...
Anyways, you can use a pre-rooted stock ROM and you will have stock state of the Z3C and also root. To do this, you simply download any of the many alternatives in xda. I, myself, recommend you to use Wajk's SlimROM. It has good features, good debloat and awesome battery life. You'll be on stock ROM and have root but you won't be able to use DRM functions. If you want the DRM functions so badly there's a way to spoof it. You can visit here: http://forum.xda-developers.com/z3-...ocked-update-conceptmm-root-recovery-t3291722 and follow the instructions. It will give you the concept version of Marshmallow, root and DRM functions!
The thing is you have lost your DRM functions by unlocking your bootloader. So flashing any other Stock ROM will not bring it back as it has something to do with the system of the phone. If you are OK with a Stock ROM without DRM functions, there are plenty Stock Pre-Rooted Firmwares on xda. You can download one, do a factory reset, and wipe dalvik/cache, then flash the Stock ROM.zip through your recovery. Have the best of luck!
EDIT: I don't know about the TA backup as I have never used it :/
Click to expand...
Click to collapse
Thanks for your effort! But you misunderstood me, I have a working backup of my "former" TA partition/DRM keys. All I was wondering about was WHEN exactly I should perform the restore process. But I found out anyway. For whoever should have the same question:
- revert back to the firmware you used when performing the ta/drm backup
- if necessary: root (as the ta-backup tool needs root permissions)
- restore drm key backup with the ta-backup tool
- do whatever ... I installed a pre-rooted stock based fw and it works with DRM keys and root/recovery
artie_ficial said:
Hi,
I hope somebody is willing to help me; I couldn't find a guide covering exactly the same problem. Actually, I'm "just" looking for the right order of steps I should perform in order to restore the factory state of my Z3C. I'm currently running Cyanogen Mod 12.1 with unlocked bootloader (obviously). I would like to return to being able to use the DRM Camera functions. Afterwards I'd probably like to try another ROOTED stock-based firmware. (Thus the DRM functions should still be available again, right?)
Current setup: CM 12.1 + bootloader Unlocked + TA Backup has been performed
Aim: flash stock firmware + restore DRM functions + install (pre-rooted) stock-based firmware
What I don't understand: If I re-flash stock firmware the phone won't be rooted anymore, Custom Recovery is going to be lost, right? Is it right to T H E N restore the TA backup? (As the bootloader will be automatically relocked?) Or do I need to perform additional steps or the above mentioned in another order?!?!?
And: Can I then simply flash a stock-based ROM without losing the DRM functions again?
Thanks in advance!
Click to expand...
Click to collapse
HI
Restoring TA backup Will NOT relock your Bootloader but it will simply restore the DRM keys that you backed up while unlocking Bootloader
So you will restore the DRM keys
flash stock Firmware
flash TWRP via fastboot and the you will be able to root with chainfire auto root flashable zip
or just download a prerooted stock firmware and flash it
Hi
i've had a z3c for a long time without rooting but now after upgrading to Marshmallow i want to root but, i don't know anything about rooting (what's flashing, twrp, custom rom,)?
what i want this:
Root my D5803 without ruining the camera after losing the DRM keys
Phone info:
Model number: D5803
Android version: 6.0.1
Android security patch: February 1, 2016
Build number: 23.5.A.0.570
Gandora42 said:
Hi
i've had a z3c for a long time without rooting but now after upgrading to Marshmallow i want to root but, i don't know anything about rooting (what's flashing, twrp, custom rom,)?
Click to expand...
Click to collapse
Why not flash a pre rooted rom and keep your bootloader intact. Slim 1.3 has a good following and Wajk is a committed developer
Destroying your TA partition just so you can get onto the latest (bug ridden & problematic) deployment seems a bit extreme.
Edit: if you already have MM installed then you will need to follow bilboa1's great guide on how to back up your TA partition and root
This will mean downgrading your rom to an older version, then rooting, then adding recovery, then flashing a MM build with root built in.
It's a long process but non destructive, you'll get to the magical MM but with bootloader intact.
Didgesteve said:
Why not flash a pre rooted rom and keep your bootloader intact. Slim 1.3 has a good following and Wajk is a committed developer
Destroying your TA partition just so you can get onto the latest (bug ridden & problematic) deployment seems a bit extreme.
Edit: if you already have MM installed then you will need to follow bilboa1's great guide on how to back up your TA partition and root
This will mean downgrading your rom to an older version, then rooting, then adding recovery, then flashing a MM build with root built in.
It's a long process but non destructive, you'll get to the magical MM but with bootloader intact.
Click to expand...
Click to collapse
Thank you, one question though, you said that the bootloader will be intact, what about the drm keys? i've read that the DRM keys might go even if the bootloader is locked!
Gandora42 said:
Thank you, one question though, you said that the bootloader will be intact, what about the drm keys? i've read that the DRM keys might go even if the bootloader is locked!
Click to expand...
Click to collapse
If you take the time to read the thread linked thread above, you'll see that it shows you how to care for your DRM keys so that they can be restored in the event of something untoward happening.
There is an encrypted partition (TA) on your phone that has your personal DRM keys, unique to your phone, they can't be replaced with anyone elses. To open you phone up to a custom kernel or a CM build rom you have to overwrite this encrypted partition, or unlock the bootloader.
Once you have used the old rom exploit to root the phone, you can flash any stock rom without fear. Stock roms are designed to work with the TA partition and pushing a stock rom onto your phone will not damage your DRM keys. That's why I said unlocking the bootloader is a big deal, not to be done just to root a phone. There are less damaging ways to get to an MM build, with all your camera functions intact.
Didgesteve said:
If you take the time to read the thread linked thread above, you'll see that it shows you how to care for your DRM keys so that they can be restored in the event of something untoward happening.
There is an encrypted partition (TA) on your phone that has your personal DRM keys, unique to your phone, they can't be replaced with anyone elses. To open you phone up to a custom kernel or a CM build rom you have to overwrite this encrypted partition, or unlock the bootloader.
Once you have used the old rom exploit to root the phone, you can flash any stock rom without fear. Stock roms are designed to work with the TA partition and pushing a stock rom onto your phone will not damage your DRM keys. That's why I said unlocking the bootloader is a big deal, not to be done just to root a phone. There are less damaging ways to get to an MM build, with all your camera functions intact.
Click to expand...
Click to collapse
so if i want to root but still keep my DRM keys i must use my phone with stock roms only? that's fair
Thanks again
Gandora42 said:
so if i want to root but still keep my DRM keys i must use my phone with stock roms only? that's fair
Thanks again
Click to expand...
Click to collapse
I just would like to add that you don't have to keep stock roms (like the pre-rooted stock roms) but also stock based custom roms, for example SliMM (http://forum.xda-developers.com/z3-compact/development/rom-slimm-t3359831). There are probably more stock based custom roms but SliMM is probably the only one that is being actively developed. I use it daily and love it.
CaptainJohny said:
I just would like to add that you don't have to keep stock roms (like the pre-rooted stock roms) but also stock based custom roms, for example SliMM (http://forum.xda-developers.com/z3-compact/development/rom-slimm-t3359831). There are probably more stock based custom roms but SliMM is probably the only one that is being actively developed. I use it daily and love it.
Click to expand...
Click to collapse
Oh, you mean Slim like I mentioned in my first post
Didgesteve said:
Oh, you mean Slim like I mentioned in my first post
Click to expand...
Click to collapse
Yes. Sorry for basically repeating your post, I just wanted to make it a little bit more clear for him, that there is a difference between stock based custom rom and a custom rom
to tell you the truth, i didn't know that slimm rom was a custom rom, i thought it was a stock rom with "more features"
If you don't know what root is etc I suggest you do some research on it before just jumping in without knowing anything about it ?
Sent from my D5803 using Tapatalk