Timeframe for real root? - XPERIA X10 General

Hi,
So after doing the "root" everything appears to work fine but with some small problems. First of all, I'm not root. I have decent access to stuff on the system disk with just a few roadblocks. In short, I don't have full access to the system.
Now I didn't expect bootloader, recovery partition or anything like that but being able to modify init-scripts and things of that nature would be nice. It appears that what we have isn't root but rather wheel, escalated privileges but not quite God-like access to the system.
Will that come automagically with a modded recovery or bootloader or what's the deal?
Thanks

What do you want? If u wanna be uid=0 just check second post in Guide thread. (We forgot to pack a Superuser.apk inside the progress. Will be done while we're updating the procedure).
On all others stuff like recovery or BL (we just need one of them modded) is being worked
Regards
Bin4ry

Sounds very good, that you are trying to get acces to the BL, so it's possible to get 2.2

Mod. edit: not dev related, moved to general

Related

[Q] 3.2.1 rooted stock rom?

I currently have stock 3.2 rooted (US 7.006.01_COM_GEN2). I got an ota notification for 7.014.01. Is there a rooted version of the ota I can flash via cwm?
From searching around, it's also looking like another ota ( 7.014.02?) Is right behind the 7.014.01. Is that true, and if so, is that available in rooted cwm-flashable form?
Neither available yet. (I'm waiting too. They were just released, so give them some time)
I wouldn't be so quick to update something, without first knowing what it is
Old saying "if it ain't broke, don't fix it"
A little more info on the update;
http://www.androidcentral.com/syste...ia-brings-market-update-and-improved-ui-speed
Yes, the 01 and 02 will break root. But, never fear, I rooted it for you. Here's the link
http://forum.xda-developers.com/showthread.php?t=1307539&page=12
Very cool
Although I don't need it, it's nice to know some people are still doing some neat things for stock 3.2.
update without wiping?
Thanks for the info. But, unless I'm reading your instructions wrong, it sounds like I have to wipe to update to your rooted 3.2.1. Is there just a rooted update.zip that can be flashed with cwm without wiping?
Or am I missing something?
There are some roms currently in the works for 3.2.1. I'd expect them to come out fairly soon, keep an eye on the development forum. A few guys working on them right now.
mpkrcl said:
Thanks for the info. But, unless I'm reading your instructions wrong, it sounds like I have to wipe to update to your rooted 3.2.1. Is there just a rooted update.zip that can be flashed with cwm without wiping?
Or am I missing something?
Click to expand...
Click to collapse
Ok, if I hear you correctly, you are already rooted and want to use CWM to run the updates and keep root? Therefore you don't wipe out everything?
Piece of cake, just grab the update.zip and change it not to wipe your permissions. Then rebuilt it.
If you don't know how to do that, then put a backdoor into your device therefore you can get back into the device as root. Updates (normally) are not evil un-rooting tools. They don't seek and destroy root and rooting tools. Updates just reset the permissions on all files in /system removing the 'sticky' bit. The 'sticky' bit is how you get root.
What is a 'sticky' bit you ask? Well, in Linux (Unix) you can set a permission on a file so that any time it is run, it runs as the user that owns the file. This would be like setting a shortcut in Windows to say always run as 'Administrator'.
So, when you apply an update, the last thing it does is resets all the permissions back to their default. Since they recursively do this on the /system directory they remove the sticky bit on your su program.
So, all you have to do is set up a root backdoor outside the /system folder. My favorite is to set the ro.kernel.qemu = 1. This makes adb run as root. Now after your OTA resets permissions, you can just adb shell and you get #(root). Now you just reset your 'sticky' bits.
TD

Curious about non blackbox root process for Nexus devices

I have been a Linux based software developer for over 10 years but recently started looking into Android development and just purchased a Nexus 6 phone from Motorola to start hacking on. The first thing obviously is to unlock the bootloader (which seems really straight forward) and then root the phone. But this leads me to a question.
I have been searching the internet for root techniques for the Nexus device and I keep finding tutorials that point me to downloading premade files from others that root the phone in a blackbox fashion. I would rather understand the actual root process than just follow a cookie cutter process designed to make it easier for people who don't want to learn how to do it. So my question is this, does anybody know of any information anywhere that details and explains the rooting process without using others downloaded files or actually explains what those downloaded files are doing? I am a curious guy and don't really like blackboxes if I have an alternative. I would much rather learn the process so I can start figuring out how to hack on this phone more effectively.
Thanks for any information you can provide!
Adrian
aew_78 said:
I have been a Linux based software developer for over 10 years but recently started looking into Android development and just purchased a Nexus 6 phone from Motorola to start hacking on. The first thing obviously is to unlock the bootloader (which seems really straight forward) and then root the phone. But this leads me to a question.
I have been searching the internet for root techniques for the Nexus device and I keep finding tutorials that point me to downloading premade files from others that root the phone in a blackbox fashion. I would rather understand the actual root process than just follow a cookie cutter process designed to make it easier for people who don't want to learn how to do it. So my question is this, does anybody know of any information anywhere that details and explains the rooting process without using others downloaded files or actually explains what those downloaded files are doing? I am a curious guy and don't really like blackboxes if I have an alternative. I would much rather learn the process so I can start figuring out how to hack on this phone more effectively.
Thanks for any information you can provide!
Adrian
Click to expand...
Click to collapse
Unlock the bootloader, flash TWRP recovery. Flash the SuperSU zip in TWRP.
Profit.
Thanks for the reply
Evolution_Tech said:
Unlock the bootloader, flash TWRP recovery. Flash the SuperSU zip in TWRP.
Profit.
Click to expand...
Click to collapse
Thanks for the reply! This seems like the general process I have seen in the tutorials. What I would really like to understand is the nature of the process though. Previously in all my other Android devices I blindly downloaded files and followed instructions to run them and it all just seemed to work. Now I'm trying to figure out the process and why it worked. You could say I am trying to understand how the people that create these downloadable files do it. I'm not looking for a quick root process, but a more thorough approach that actually teaches me what's going on.
For instance, I don't know why I need to flash the TWRP recovery (or even what it is doing in the process) and I don't understand what the SuperSU is doing? Consider me a very curious novice who would like to get to the point to where I could be a valuable contributor to a project like TWRP.
aew_78 said:
Thanks for the reply! This seems like the general process I have seen in the tutorials. What I would really like to understand is the nature of the process though. Previously in all my other Android devices I blindly downloaded files and followed instructions to run them and it all just seemed to work. Now I'm trying to figure out the process and why it worked. You could say I am trying to understand how the people that create these downloadable files do it. I'm not looking for a quick root process, but a more thorough approach that actually teaches me what's going on.
For instance, I don't know why I need to flash the TWRP recovery (or even what it is doing in the process) and I don't understand what the SuperSU is doing? Consider me a very curious novice who would like to get to the point to where I could be a valuable contributor to a project like TWRP.
Click to expand...
Click to collapse
Maybe start here:
http://forum.xda-developers.com/showthread.php?t=2948481
aew_78 said:
I have been a Linux based software developer for over 10 years but recently started looking into Android development and just purchased a Nexus 6 phone from Motorola to start hacking on. The first thing obviously is to unlock the bootloader (which seems really straight forward) and then root the phone. But this leads me to a question.
I have been searching the internet for root techniques for the Nexus device and I keep finding tutorials that point me to downloading premade files from others that root the phone in a blackbox fashion. I would rather understand the actual root process than just follow a cookie cutter process designed to make it easier for people who don't want to learn how to do it. So my question is this, does anybody know of any information anywhere that details and explains the rooting process without using others downloaded files or actually explains what those downloaded files are doing? I am a curious guy and don't really like blackboxes if I have an alternative. I would much rather learn the process so I can start figuring out how to hack on this phone more effectively.
Thanks for any information you can provide!
Adrian
Click to expand...
Click to collapse
Find stuff from chainfire, for example: THIS.
You could check sources from superuser written by Koush. Although it is old, you will get the basic idea of what is going on with root.
Basically the entire idea is to get the linux su binary installed on the system.
The problem is that the user that you are using doesn't have permission to create or execute the su binary.
The root process is the process of making both of those true.
Sometimes a root kit needs to utilize an exploit for this to happen, or can simply be flashed (written to the system) before the system is booted (typically in recovery mode).
Picture twrp as your recovery tool for your comp. Basically same functions. SuperSU does the same thing as root on your Linux
Benefits if running Linux you only download 2 files. Twrp and SuperSU. Process is done in terminal so you can see everything that is happening. Also if you open a rom zip you can access the notes that tell it what to do and sorta see what's going on in there as well.

[GUIDE] Rooting the OPX without unlocking the bootloader.

This method uses KINGROOT, no mingling with the bootloader.
STEP 1
Just google "kingroot" (kingroot.net) and dowload the latest apk, open the app and after the initial welcome screens click on the button in the bottom that says "TRY IT", give it some time 4-5 minutes.
Thats it, your device is rooted, just like that.
BENEFITS OF THIS METHOD.
Since you have not unlocked the bootloader once you choose to unroot the device(why would anyone ) no one will be able to tell if you actually rooted the device.
RECOMMENDED (Like seriously recommended)
Once you get the root access install the app "Partitions Backup" by the one and only "wanam" and backup the partitions highlighted in yellow(at least these three modem, modemst1 and modemst2) these are your devices efs partitions. They will be the only thing that will save a lot of trouble if you manage to corrupt your efs partitions(I've been there people, trust me not a pretty situation!:crying, copy these safely to your ext sd, computer, email yourself a compressed copy(this way The NSA will also get a copy which they off course never looked into, so now it's like completely safe).
One more optional thing is to uninstall the sister app of kingroot "PURIFY" its really an annoying little app(imo at least).
OTA
This method also disables ota updates.
So the only way to update is to dirty flash the base stock rom dump throught stock recovery(which i forgot to mention as a benefit you have not mingled with) and then go ahead and sequentially update your device and then eepeat the root process in the aforementioned manner.
If I've made any mistake please do correct me(my first thread, my first guide) , if you have anything to add please let it out.... Thanks for reading, and be kind to each other. :angel:
Will this wipe my device?
I'm going to close this thread based on the fact that there are multiple threads on this same topic, including an active thread that can be found linked below.
http://forum.xda-developers.com/oneplus-x/general/guide-root-oneplus-x-twrp-pc-t3251027

Root first or update first?

Hello everyone,
My Moto X Pure edition is on the way on the mail. I'm already excited to root it and get twrp on it. However, I believe the phone will come with android lollipop installed, and I should get an option for an OTA update for android 6.0.
My question is: Should I root my phone and install twrp BEFORE receiving the update, or after? I plan to use WinDroid Toolkit to root my phone and install twrp (seems to be the easiest way) so have any of you done it while having 6.0 already installed?
Your phone will most likely arrive with 6.0 pre-installed on it. You can't take an OTA with TWRP installed. I can't answer the WinDroid question.
Edit: It will most likely come with 6.0 already assuming you purchased it from Motorola.
quakeaz said:
Your phone will most likely arrive with 6.0 pre-installed on it. You can't take an OTA with TWRP installed. I can't answer the WinDroid question.
Edit: It will most likely come with 6.0 already assuming you purchased it from Motorola.
Click to expand...
Click to collapse
Thanks a lot for your help! It's good that the phone will most likely come with MM. Does Motorola also offer an OTA update to 6.0.1?
I wanted to flash a pre-rooted stock-based ROM because I thought it would be easier to get root. Although, my preference really would be to get the stock update, then just root that. The only reason I wanted to flash an already rooted ROM was because it seems kind of tricky to root it haha. Is the systemless root by ivcarlos the easiest way to root MM? Or have you perhaps found another way to root it on MM?
Additionally, just to make sure before I go on with anything: I should first let the clean phone upgrade to android 6.0.1, AFTER that I should unlock the bootloader, followed by installing TWRP and root, correct? @vertigo_2_20
Thank you for any help you can give me!
Henryy97 said:
Thanks a lot for your help! It's good that the phone will most likely come with MM. Does Motorola also offer an OTA update to 6.0.1?
I wanted to flash a pre-rooted stock-based ROM because I thought it would be easier to get root. Although, my preference really would be to get the stock update, then just root that. The only reason I wanted to flash an already rooted ROM was because it seems kind of tricky to root it haha. Is the systemless root by ivcarlos the easiest way to root MM? Or have you perhaps found another way to root it on MM?
Additionally, just to make sure before I go on with anything: I should first let the clean phone upgrade to android 6.0.1, AFTER that I should unlock the bootloader, followed by installing TWRP and root, correct? @vertigo_2_20
Thank you for any help you can give me!
Click to expand...
Click to collapse
IIRC, that's how I did it (OTA 6.0.1 > unlock bootloader > flash TWRP > root), though I did miss some things along the way that I only found out about after the fact, so I've included warnings about those thing here. Before I rooted, I read the following (and a LOT more, but these are the primary ones I based how I did it on):
ivcarlos' method, which you mentioned
And this, which is what I followed for rooting, though I don't remember why. I also had to use 2.62-3 as mentioned in the instructions vs 2.65 which is mentioned at the end as verified working, since it didn't work for me.
I ran across this as well, probably when 2.65 didn't work, and there's some good tidbits in there, worth reading through.
I also found this, but only after I finished rooting with the other method, and I didn't have the time to mess with it. I don't know enough to say whether it's really a better method or not, but something worth checking out if you have the time.
Just make sure you backup anything you want to keep (phone log, texts, pictures, etc) before unlocking the bootloader. I recommend SMS Backup & Restore with Titanium Backup as a secondary backup. Then, use fastboot to back up your recovery before flashing TWRP (I didn't know to do this until too late). Also, make sure you back up your /system and /boot partitions (don't need /data, since you're dealing with a freshly wiped phone from unlocking the bootloader, so nothing there to back up) with TWRP (and store the backups on the external SD card and/or your computer) as soon as you get TWRP flashed, before you do anything else.
Remember, anything you do that modifies /system can potentially break the "systemless" aspect of this root, thereby breaking Android Pay as well as the ability to receive OTA updates. Examples of things that might do this are AdAway (there's apparently a systemless file that needs to be flashed before installing it, which I didn't realize until too late, so mine may be broken already) and battery apps like GSam and BetterBatteryStats. I've yet to get an answer on if these really do break it, though. One that definitely will is Xposed, but I just found there's a systemless version, so when I get time I plan on trying that out. I think even if you do break it you can just a) reflash your backup (/recovery, /boot, & /system) then take an OTA and reflash TWRP and re-root, or b) flash the updated partitions from the OTA then reflash recovery and re-root. Of course, any of those things that changed /system (AdAway, Xposed, battery apps, etc), will probably be broken by this, and I believe they're supposed to be uninstalled first and reinstalled after.
I wouldn't doubt if I've screwed something up, so hopefully somebody can correct me on anything I did, as well as provide more information regarding the breaking of systemless.
vertigo_2_20 said:
IIRC, that's how I did it (OTA 6.0.1 > unlock bootloader > flash TWRP > root), though I did miss some things along the way that I only found out about after the fact, so I've included warnings about those thing here. Before I rooted, I read the following (and a LOT more, but these are the primary ones I based how I did it on):
ivcarlos' method, which you mentioned
And this, which is what I followed for rooting, though I don't remember why. I also had to use 2.62-3 as mentioned in the instructions vs 2.65 which is mentioned at the end as verified working, since it didn't work for me.
I ran across this as well, probably when 2.65 didn't work, and there's some good tidbits in there, worth reading through.
I also found this, but only after I finished rooting with the other method, and I didn't have the time to mess with it. I don't know enough to say whether it's really a better method or not, but something worth checking out if you have the time.
Just make sure you backup anything you want to keep (phone log, texts, pictures, etc) before unlocking the bootloader. I recommend SMS Backup & Restore with Titanium Backup as a secondary backup. Then, use fastboot to back up your recovery before flashing TWRP (I didn't know to do this until too late). Also, make sure you back up your /system and /boot partitions (don't need /data, since you're dealing with a freshly wiped phone from unlocking the bootloader, so nothing there to back up) with TWRP (and store the backups on the external SD card and/or your computer) as soon as you get TWRP flashed, before you do anything else.
Remember, anything you do that modifies /system can potentially break the "systemless" aspect of this root, thereby breaking Android Pay as well as the ability to receive OTA updates. Examples of things that might do this are AdAway (there's apparently a systemless file that needs to be flashed before installing it, which I didn't realize until too late, so mine may be broken already) and battery apps like GSam and BetterBatteryStats. I've yet to get an answer on if these really do break it, though. One that definitely will is Xposed, but I just found there's a systemless version, so when I get time I plan on trying that out. I think even if you do break it you can just a) reflash your backup (/recovery, /boot, & /system) then take an OTA and reflash TWRP and re-root, or b) flash the updated partitions from the OTA then reflash recovery and re-root. Of course, any of those things that changed /system (AdAway, Xposed, battery apps, etc), will probably be broken by this, and I believe they're supposed to be uninstalled first and reinstalled after.
I wouldn't doubt if I've screwed something up, so hopefully somebody can correct me on anything I did, as well as provide more information regarding the breaking of systemless.
Click to expand...
Click to collapse
Thank you for your reply! I'll read the links you sent me, although from what I can see the "root done right" is for the nexus 6, and if it works for the moto x pure it doesn't seem to be overall that much beneficial over the systemless root.
What exactly is the effect of breaking the "systemless" aspect of the root? For example, if I install AdAway, what will happen? I didn't really get that from your post.
Perhaps after all this process, I'll write a how-to guide, heh
So according to your experience, SUPERSU 2.62-3 is the adequate version to use for android 6.0.1?
Thanks again!
Henryy97 said:
Thank you for your reply! I'll read the links you sent me, although from what I can see the "root done right" is for the nexus 6, and if it works for the moto x pure it doesn't seem to be overall that much beneficial over the systemless root.
What exactly is the effect of breaking the "systemless" aspect of the root? For example, if I install AdAway, what will happen? I didn't really get that from your post.
Perhaps after all this process, I'll write a how-to guide, heh
So according to your experience, SUPERSU 2.62-3 is the adequate version to use for android 6.0.1?
Thanks again!
Click to expand...
Click to collapse
My understanding is that breaking it will render Android Pay inoperable and will make it so you can't take an OTA, though as I mentioned, it seems you still can by reverting back, it's just a LOT more work. But again, as I said, I'm not completely sure and I haven't been able to get an answer.
As for the supersu version, it doesn't really matter, because you'll just update it once you're rooted and booted into the OS. I just found that, despite what that post said, 2.65 did not work for me, so I had to flash 2.62-3 which did. Not a big deal, was just a little frustrating and scary when 2.65 didn't work because I was worried that I broke something and that the method wasn't going to work.
Edit: Good catch BTW on the link having to do with the Nexus. I didn't even look at what sub-forum it was in. At least it's one less thing to worry about for now, though I do hope it spreads to more devices, because we could always use more, not to mention better (assuming it is) ways of doing things.
vertigo_2_20 said:
My understanding is that breaking it will render Android Pay inoperable and will make it so you can't take an OTA, though as I mentioned, it seems you still can by reverting back, it's just a LOT more work. But again, as I said, I'm not completely sure and I haven't been able to get an answer.
As for the supersu version, it doesn't really matter, because you'll just update it once you're rooted and booted into the OS. I just found that, despite what that post said, 2.65 did not work for me, so I had to flash 2.62-3 which did. Not a big deal, was just a little frustrating and scary when 2.65 didn't work because I was worried that I broke something and that the method wasn't going to work.
Edit: Good catch BTW on the link having to do with the Nexus. I didn't even look at what sub-forum it was in. At least it's one less thing to worry about for now, though I do hope it spreads to more devices, because we could always use more, not to mention better (assuming it is) ways of doing things.
Click to expand...
Click to collapse
Thanks. I am aware that you can revert back to lollipop, and do the update from there whenever you want to update to a newer OTA MM update. However, my real question is, what does it mean to break the systemless aspect? I know that it will prevent further OTA updates, but will xposed work as it should, etc? If I am rooting my device, it's really to get xposed. So, if it means that I must revert to an unrooted stock rom everytime I wanna update, then so be it. I just want to make sure that breaking the systemless root aspect will not make the ROM unstable. Will it?
Henryy97 said:
Thanks. I am aware that you can revert back to lollipop, and do the update from there whenever you want to update to a newer OTA MM update. However, my real question is, what does it mean to break the systemless aspect? I know that it will prevent further OTA updates, but will xposed work as it should, etc? If I am rooting my device, it's really to get xposed. So, if it means that I must revert to an unrooted stock rom everytime I wanna update, then so be it. I just want to make sure that breaking the systemless root aspect will not make the ROM unstable. Will it?
Click to expand...
Click to collapse
I think you'll find all the info you're looking for and more in those links. But in summary, as I said, AFAIK the only consequence is breaking OTAs. It does not prevent you from using xposed, rather xposed is one of the things that breaks it. Systemless is so called because it roots without affecting the /system partition, therefore preventing the breaking of Android Pay and allowing OTAs. Once /system is modified (unclear if at all or just beyond a point), these two will no longer function. So if you "break" the systemless root by doing stuff that modifies /system (i.e. xposed, etc), you basically now have a standard (non-systemless) root, which simply negates the benefits it provides. But as far as I could tell, systemless is the only option anyway, so you just do it since it works and it's easy, then you either are careful not to break it if Pay/OTAs are important to you, or if you don't care about those then you just do whatever you want just as if you were rooted in the traditional way. But as I said, once I get the time, I plan to try out the systemless xposed, though it may not matter since I might have already broken it, but may as well, and maybe it'll mean not having to uninstall it when it comes time to take an OTA. If you play with it and figure it out, let me know.
vertigo_2_20 said:
I think you'll find all the info you're looking for and more in those links. But in summary, as I said, AFAIK the only consequence is breaking OTAs. It does not prevent you from using xposed, rather xposed is one of the things that breaks it. Systemless is so called because it roots without affecting the /system partition, therefore preventing the breaking of Android Pay and allowing OTAs. Once /system is modified (unclear if at all or just beyond a point), these two will no longer function. So if you "break" the systemless root by doing stuff that modifies /system (i.e. xposed, etc), you basically now have a standard (non-systemless) root, which simply negates the benefits it provides. But as far as I could tell, systemless is the only option anyway, so you just do it since it works and it's easy, then you either are careful not to break it if Pay/OTAs are important to you, or if you don't care about those then you just do whatever you want just as if you were rooted in the traditional way. But as I said, once I get the time, I plan to try out the systemless xposed, though it may not matter since I might have already broken it, but may as well, and maybe it'll mean not having to uninstall it when it comes time to take an OTA. If you play with it and figure it out, let me know.
Click to expand...
Click to collapse
Once again, thanks. I reached the limit of thanks I can give for today, haha. I'm reading up much more on the process, etc. Just one final question, how often do the OTA updates come on average? I always like having the latest software installed, so MAYBE I can consider having an unrooted phone.. although that will be very difficult. I love my xposed. Anyway, I guess if updates only come about once a month, then rooting is fine. Not too much of a loss. I will definitely be making a how-to guide once I'm done with all of this! (and once my device arrives)
Henryy97 said:
Once again, thanks. I reached the limit of thanks I can give for today, haha. I'm reading up much more on the process, etc. Just one final question, how often do the OTA updates come on average? I always like having the latest software installed, so MAYBE I can consider having an unrooted phone.. although that will be very difficult. I love my xposed. Anyway, I guess if updates only come about once a month, then rooting is fine. Not too much of a loss. I will definitely be making a how-to guide once I'm done with all of this! (and once my device arrives)
Click to expand...
Click to collapse
I bought my phone ~5-6 months ago. When I got it, the MM update was waiting (released late last year). Probably ~2 months later, another update came through. Since then, nothing. So it looks like probably 3 maybe 4 a year. I'd rather be rooted with all the benefits than get a small update, though I'd really rather have both.
6.0.1 is not out yet although there is a reteu version posted which works great. Rooting is as simple flashing su 2.62-3 with twrp.
lafester said:
6.0.1 is not out yet although there is a reteu version posted which works great. Rooting is as simple flashing su 2.62-3 with twrp.
Click to expand...
Click to collapse
I'll check it out. Do you mind sharing the link to that version just in case? I am very confused now though, because @vertigo_2_20 says he has 6.0.1, and you say you didn't get it. Perhaps location matters? Can you elaborate a little bit more?
And actually, I've just realized: I think I was looking at too many outdated posts perhaps with all the complicated root procedures such as the one by ivcarlos. The guide that amit.lohar made is very simple which is the one vertigo kindly shared in this OP. One final question @vertigo_2_20 (sorry for so many questions). Does the method by amit.lohar work for 6.0 anddd 6.0.1? I would assume so since they're pretty much very similar. What is your take on this?
I assumed I was on 6.0.1 because I received a system update after being on MM, so I don't know what else it could be. Though it does just say 6.0 in settings. Regardless, I only did it a few weeks ago, so if you're fully updated, you'll be the same as what I was. Even if not, I would think it wouldn't matter. As long as you do a back up before messing with things, worse case scenario is you screw something up and restore the backup.
Henryy97 said:
I'll check it out. Do you mind sharing the link to that version just in case? I am very confused now though, because @vertigo_2_20 says he has 6.0.1, and you say you didn't get it. Perhaps location matters? Can you elaborate a little bit more?
And actually, I've just realized: I think I was looking at too many outdated posts perhaps with all the complicated root procedures such as the one by ivcarlos. The guide that amit.lohar made is very simple which is the one vertigo kindly shared in this OP. One final question @vertigo_2_20 (sorry for so many questions). Does the method by amit.lohar work for 6.0 anddd 6.0.1? I would assume so since they're pretty much very similar. What is your take on this?
Click to expand...
Click to collapse
No I don't get links for people... this forum is small and easy to read. Dev section has one pre loaded with franken and there are two threads in general.
Henryy97 said:
Once again, thanks. I reached the limit of thanks I can give for today, haha. I'm reading up much more on the process, etc. Just one final question, how often do the OTA updates come on average? I always like having the latest software installed, so MAYBE I can consider having an unrooted phone.. although that will be very difficult. I love my xposed. Anyway, I guess if updates only come about once a month, then rooting is fine. Not too much of a loss. I will definitely be making a how-to guide once I'm done with all of this! (and once my device arrives)
Click to expand...
Click to collapse
If receiving the OTA updates is something you really want, systemless root will allow you to get them with a lot less effort. The trick is knowing which of the apps that require root privileges will end up modifying your system. Avoid the ones that will and you can enjoy root with less work to get updates. If the only root required apps you are interested in modifies the system, then it will be a matter of what you value more.
Sent from my awesome phone!
That reminds me of another thing I haven't yet figured out. If /system is modified, I'm assuming the OTA will still show up and just won't install, but I wonder if it won't even show up anymore. Anyone know?
aybarrap1 said:
If receiving the OTA updates is something you really want, systemless root will allow you to get them with a lot less effort. The trick is knowing which of the apps that require root privileges will end up modifying your system. Avoid the ones that will and you can enjoy root with less work to get updates. If the only root required apps you are interested in modifies the system, then it will be a matter of what you value more.
Sent from my awesome phone!
Click to expand...
Click to collapse
Ahhh! I guess I'll just flash ROMS to update my phone then because I need my xposed Besides, after 6.0, if we want root, we can only get the systemless one anyway, right?
Also, I did not quite understand something about systemless root. If the root is 'systemless', then how can apps still edit the system? I've read up that after a memory wipe, the root will actually go away but what happens if I have apps that already modified the system? I just don't quite get how the apps can get into the system and modify it, if the root itself cannot do that because it is systemless. Am I getting the wrong idea here? I've read, and read, and read. I can't find an answer to that :/ According to what you have said though, if I were to get an app that modifies the system, then it would essentially *break* the systemless aspect of it, right? Therefore, it just becomes a normal root?
I feel like I'm going in circles now so I hope someone will be able to explain this for me or just point me in the right direction!
Systemless root does not mean root doesn't have access to /system, it simply means a way of gaining root access without modifying the /system partition, because if you gain root with the old methods, which DO modify /system, it breaks Android Pay and OTAs. Root still has access to modify system, hence why you have to be careful in installing apps, xposed, etc, because if they have root access, they can modify it, and if they do, your systemless root just became useless. The whole point is to NOT modify it so as to keep those certain functions intact, but it doesn't prevent you from doing so after gaining root.
vertigo_2_20 said:
Systemless root does not mean root doesn't have access to /system, it simply means a way of gaining root access without modifying the /system partition, because if you gain root with the old methods, which DO modify /system, it breaks Android Pay and OTAs. Root still has access to modify system, hence why you have to be careful in installing apps, xposed, etc, because if they have root access, they can modify it, and if they do, your systemless root just became useless. The whole point is to NOT modify it so as to keep those certain functions intact, but it doesn't prevent you from doing so after gaining root.
Click to expand...
Click to collapse
My experience was rooting 5.1.1 on the new phone. I backed up at every stage. I tried a few roms, no big deal. I liked 5.1.1 better due to micro sd card usage. I stupidly allowed the OTA to attempt to install. I knew it would fail but hoped it would stop nagging. The result I did not expect was phone continually rebooting on its own, trying to complete the update. After it completed the reboot it would start to shut down and begin the reboot process again. I restored a backup and froze the Motorola Update app with Titanium Backup. Problem solved. Don't do what I did!
Why would you want to stay on L? M is so much better. Between Doze and permission control, you'll have better battery life and more privacy and security. Not to mention the increased security from having more up-to-date software. I'd recommend just taking the update.

Xperia Z2 TA/DRM Backup Problem

Hi everyone.
I have been looking to join for a long time now, I hope my first post is not considered a poor quality post as I'm really stuck at the moment and can't wait to fullfil this learning curve.
I've been reading as much as I can for a long time, considering to root my Z2 mobile for a long time also, I finally decided I would like to for various reasons.
I am running D6503 / 6.0.1 / 23.5.A.1.291
So far I have enabled my Windows 10 machine to allow adb, this took a few attempts but when reading the comments it became clear I needed to type ./adb devices and not just "adb devices", once I noticed this small issue the process worked.
I then tried to run Backup-TA.bat as this is needed before rooting, to save losing any DRM Keys
Waiting for USB Debugging...OK
Pushing Backup TA Tools...OK
Checking for SU binary...FAILED
Requesting root permissions...FAILED
I'm sorry if this is a typical newbie question, I have an idea that I'm missing the SU Binary and need to provide root permission due to the message but I've not read a clear comment about where to get those.
EDIT:
Not to sound even further like a newbie or like I've not read anything, but I've read you need to root first, before backing up TA/DRM?
I thought the point was to backup TA/DRM before rooting since rooting will lose the DRM forever?
EDIT2:
I'm not looking for anything too advanced right now and would be happy with just rooting, no custom roms, just happy to remove bloatware, add some apps, mod the camera etc
Can somebody confirm, you need to root and then backup ta/drm, then unlock bootloader (which will lose your ta/drm forever unless you backup first)?
I'm sure it's all simple after the first success, I just don't want to make any mistakes that can't be undone.
unknown5 said:
Hi everyone.
I have been looking to join for a long time now, I hope my first post is not considered a poor quality post as I'm really stuck at the moment and can't wait to fullfil this learning curve.
I've been reading as much as I can for a long time, considering to root my Z2 mobile for a long time also, I finally decided I would like to for various reasons.
I am running D6503 / 6.0.1 / 23.5.A.1.291
So far I have enabled my Windows 10 machine to allow adb, this took a few attempts but when reading the comments it became clear I needed to type ./adb devices and not just "adb devices", once I noticed this small issue the process worked.
I then tried to run Backup-TA.bat as this is needed before rooting, to save losing any DRM Keys
Waiting for USB Debugging...OK
Pushing Backup TA Tools...OK
Checking for SU binary...FAILED
Requesting root permissions...FAILED
I'm sorry if this is a typical newbie question, I have an idea that I'm missing the SU Binary and need to provide root permission due to the message but I've not read a clear comment about where to get those.
EDIT:
Not to sound even further like a newbie or like I've not read anything, but I've read you need to root first, before backing up TA/DRM?
I thought the point was to backup TA/DRM before rooting since rooting will lose the DRM forever?
EDIT2:
I'm not looking for anything too advanced right now and would be happy with just rooting, no custom roms, just happy to remove bloatware, add some apps, mod the camera etc
Can somebody confirm, you need to root and then backup ta/drm, then unlock bootloader (which will lose your ta/drm forever unless you backup first)?
I'm sure it's all simple after the first success, I just don't want to make any mistakes that can't be undone.
Click to expand...
Click to collapse
Yes you can root on LB and backup TA partition.just follow the awesome guide by @rocker00.
Link: https://forum.xda-developers.com/xperia-z2/general/tool-rooting-23-5-1-291-supersu-t3437280
vikash1994b said:
Yes you can root on LB and backup TA partition.just follow the awesome guide by @rocker00.
Link: https://forum.xda-developers.com/xperia-z2/general/tool-rooting-23-5-1-291-supersu-t3437280
Click to expand...
Click to collapse
Thank you but I have read this thread again and again, I am still looking to get everything in order fully.
Waiting for USB Debugging...OK
Pushing Backup TA Tools...OK
Checking for SU binary...FAILED
Requesting root permissions...FAILED
You failed. Why failed?
You need accept permission SuperSu for device.
Before you plug in device, you need turn USB Debugging and plug in device you need to accept permission SuperSu, allow all (important)
Ok. Do it, again and enjoy your phone.
When you are a Sony Xperia Z2 owner on Android 6.0.1 you need to be a wizard to get started with rooting your device.
I managed to get a wizard. The huge problem is: When you wanna root your z2 6.0.1 you need to get into the recovery but you cant get into the recovery without root ....... the magical trick is to downgrade to android 5.x and use kingroots or whatever the app is called and than you can flash a recovery and install a custom rom. Or use the android 6.0.1 magic which is just another workaround: https://forum.xda-developers.com/xpe...persu-t3437280
When you have trouble to deal with that instructions let us know why you fail.
A super awesome super user here helped me with every step if moderators wish to close this thread now.

Categories

Resources