How would I root my first gen Moto G? - Moto G Q&A, Help & Troubleshooting

I'm not sure how I would root it, all the tutorials are different from one another. I have no expericence in rooting devices so don't use all these fancy words lol. I've heard something about unlocking the bootloader what ever that is, but I can't find any good tutorials! Help!

Firstly, rooting is not something that one should do without knowing exactly what they are doing, like flying a plane, or performing surgery. Before rooting, you should read up on how it actually works, and the risk involved. It is very important to learn the 'fancy words' and what everything - like a bootloader - actually means. Rooting is a very risky process and is much more complicated than running a dodgy 'one click root tool'. Rooting has serious risks, as rooting can expose personal data by making the device more vulnerable, cause a permanent hard brick and even make the device physically unsafe.
When you first root a device, you should be able to do it with your eyes closed. You learn by reading, so here's some info to get you started:
Bootloaders
http://www.addictivetips.com/mobile...-bootloader-on-android-phones-complete-guide/
Unlocked bootloader risks
http://www.howtogeek.com/142502/htg...-of-unlocking-your-android-phones-bootloader/
Common Android partitions
http://www.addictivetips.com/mobile...plained-boot-system-recovery-data-cache-misc/
How root access works
https://en.wikipedia.org/wiki/Rooting_(Android_OS)
https://seasonofcode.com/posts/how-...planation-of-the-android-rooting-process.html

Related

[Q] can you differentiate the terms used in android development

hi I am a noob in xda i have been wondering what are the different types of methods used for android development can you help me out?
First I would like to know the meaning of these and what their function is, I have been looking through the internet and I have a really crappy computer that sometimes I am just too lazy to search the internet. I have been looking for instructions on how to root my phone (sk17i) but I just dont seem to understand the meaning of unlock bootloader, custom kernel, flash, root, ROMs, MODs and all the other terms. I just want to understand what the above terms mean and what are their individual finctions. If you could add more or a complete list of these terms I would really appreciate it.
Second is this a step by step process? For example after unlocking the bootloader should I root my device or can I proceed without rooting ? And also can I root without unlocking the bootloader as mentioned is it really necessary to do it in a step by step procedure?
Sooorrry I am a NOOB

[Q] Questions regarding root and unlocking bootloader

Hi,
I just wish to ask if there is any undesirable side effects from unlocking the bootloader ?
I came from the Sony Xperia side and there are unfortunate side effects such as loss of DRM keys and stuff.
The sticky thread for information under the development section for knowhow is filled with broken links and the disclaimer at htcdev isn't very heartening. I just need some assurance before I go on to unlocking and rooting the device.
Thank you.
sayatsugu said:
Hi,
I just wish to ask if there is any undesirable side effects from unlocking the bootloader ?
I came from the Sony Xperia side and there are unfortunate side effects such as loss of DRM keys and stuff.
The sticky thread for information under the development section for knowhow is filled with broken links and the disclaimer at htcdev isn't very heartening. I just need some assurance before I go on to unlocking and rooting the device.
Thank you.
Click to expand...
Click to collapse
There aren't any seriously undesirable side effects that I know of. Just that rooting is almost pointless unless you can get your device to turn S-OFF (by default the device is in S-ON, which means that /system partition may not be written). Until you get S-OFF, most post-root tweaks like the ones that use Xposed Framework, etc., will not work properly.
As of now, the only way to get S-OFF on the HTC One E8 is Sunshine. My advice would be to try Sunshine out and see if your device is even compatible with it. Until that is confirmed, there is really no point in unlocking your bootloader or root the devoce. The Sunshine test is (according to jcase) harmless and only runs a series of tests until you actually pay for it. Also, it is $25.00, which is steep but probably worth it if you need the functionality.
Be advised that if you do choose to run Sunshine on your device, it would be at your own risk. I did try running it and found that my device isn't compatible with the exploit that Sunshine uses.
That's unfortunate, I was looking to use Titanium Backup to move my stuff over. I will have to explore other options then.
Thank you for your informative reply
Just try running Sunshine on your device and that should answer your questions. If you're getting S-OFF then root is probably worth it.

Which files are checked by "locked" bootloaders? Want to root locked phone.

Which files are checked by "locked" bootloaders? Want to root locked phone.
//Skip to the last paragraph if you don't care about the context of the question
Hi, I'm looking to get a few applications requiring root onto a device with a locked bootloader. I'm a programmer, but not an android programmer, and my linux skills are only mediocre. Until recently I had an S5 active (also locked) using TWRP and a custom ROM, but the "waterproof" feature didn't work when I fell in a river with it. I've long since forgotten how I managed to get it working, it involved reading threads here for about 2 days until I figured out enough to get it working.
The only specific items I want to install that require root are a whitelist-style firewall and xprivacy. My plan of attack, unless I find anything more promising, is don't immediately allow the new phone (CAT S60) to get updates, get temporary root with dirtycow, then attempt to modify something that is both A) running in root context and B) the bootloader won't complain about. The problem is that I have no idea which things the bootloader is checking.
What I can't figure out is which files are actually "verified" by the bootloader on Android? Just the initramfs? The entire root partition (i.e. everything outside userspace) as well? Is it a short enough checksum that it could be defeated by padding the image until it reaches the same checksum?
yeah let us know if you can get it to root , lot of people are banging their head over this on this forum
aff3p said:
//Skip to the last paragraph if you don't care about the context of the question
Hi, I'm looking to get a few applications requiring root onto a device with a locked bootloader. I'm a programmer, but not an android programmer, and my linux skills are only mediocre. Until recently I had an S5 active (also locked) using TWRP and a custom ROM, but the "waterproof" feature didn't work when I fell in a river with it. I've long since forgotten how I managed to get it working, it involved reading threads here for about 2 days until I figured out enough to get it working.
The only specific items I want to install that require root are a whitelist-style firewall and xprivacy. My plan of attack, unless I find anything more promising, is don't immediately allow the new phone (CAT S60) to get updates, get temporary root with dirtycow, then attempt to modify something that is both A) running in root context and B) the bootloader won't complain about. The problem is that I have no idea which things the bootloader is checking.
What I can't figure out is which files are actually "verified" by the bootloader on Android? Just the initramfs? The entire root partition (i.e. everything outside userspace) as well? Is it a short enough checksum that it could be defeated by padding the image until it reaches the same checksum?
Click to expand...
Click to collapse
I believe it checks the entire /system partition during boot just before/as the kernel loads it to verify whether /system has been modified.
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE

Noob want to learn how to Google unlock

I'm new to all this and am interested in learning how to Google unlock phones root phones does anyone have any guides or software that will point me in the right direction.
Snyder191 said:
I'm new to all this and am interested in learning how to Google unlock phones root phones does anyone have any guides or software that will point me in the right direction.
Click to expand...
Click to collapse
You can't just follow the guide to become an expert
You will have to go through trail and errors
Guides does nothing if you atleast didn't search and try,Google and xda are your best friends, there is no one way of rooting phones.
Start reading about custom ROMs
Custom recoveries
Understand the risks
What is a unlocked bootloader
You will have to love to read and search, read between the lines
Let's take it into application:
Let's say you have a Huawei GX8
You want to root it
You will go through these steps:
unlocking bootloader
Flashing twrp
Rooting
The most important thing is to never give up, dont panic if your phone had problems,Its your way of learning!!
Stay hopeful,Listen through the panic
You will need to read a guide for each phone (some may work in general)

ZTE Blade 10 Prime Root Guide?

I have been dying to get into rooting for a while now, and I figured that the low-cost ZTE Blade 10 prime would be a great first device to root. It seems I was mistaken as I have been unable to find a guide for my device. I am also a complete noob, so maybe I have been missing something? I also need to be sure that I can return my phone to its pre-rooted state as it is my daily carry and I cannot afford to have it bricked.
I realize rooting is inherently dangerous to the device, but is there a safe way I can root the device and have the ability to recover it if I screw up?
All advice is greatly appreciated.
The_Inqusitor said:
I have been dying to get into rooting for a while now, and I figured that the low-cost ZTE Blade 10 prime would be a great first device to root. It seems I was mistaken as I have been unable to find a guide for my device. I am also a complete noob, so maybe I have been missing something? I also need to be sure that I can return my phone to its pre-rooted state as it is my daily carry and I cannot afford to have it bricked.
I realize rooting is inherently dangerous to the device, but is there a safe way I can root the device and have the ability to recover it if I screw up?
All advice is greatly appreciated.
Click to expand...
Click to collapse
Well unfortunately you'll have to take the risk to screw up your device if you wanna root.
And I'm not sure if you'll be able to unroot properly after you rooted.
But hey, you're free to give it a try: https://forum.xda-developers.com/general/help/zte-blade-10-prime-root-t4092479/
i know its old but you can unlock the bootloader and root with magisk via rom2box.

Categories

Resources