[Q] Unroot via factory reset? - Moto X Q&A

I might need to send my phone back and it's rooted. Can I just factory reset?

No.
Here's a guide with video and all...
http://forum.xda-developers.com/showthread.php?t=2446515

Thanks. Will it be detectable that it was rooted?

Yes.
Sent from my XT1058 using xda app-developers app

planktoid said:
Yes.
Click to expand...
Click to collapse
So it can't be completely reversed? My phone has multiple physical defects and I dread the thought of having another broken phone for two years.

planktoid said:
Yes.
Sent from my XT1058 using xda app-developers app
Click to expand...
Click to collapse
Slusho said:
So it can't be completely reversed? My phone has multiple physical defects and I dread the thought of having another broken phone for two years.
Click to expand...
Click to collapse
I am not sure what @planktoid was referencing as far as it "being detectable". But if you follow that tutorial and use RSDLite to flash the original firmware you will be able to warranty return your phone without any problem.
---------- Post added at 08:14 AM ---------- Previous post was at 08:07 AM ----------
Which carrier are you with? If you are with a carrier that offers a bootloader unlock and you performed the bootloader unlock and rooted then you are not going to be covered by warranty. They definitely know if you unlocked your bootloader.
If all you did was root via jcase's PwnMyMoto - you will be fine to restore via RSDLite and do a warranty exchange.

thepolishguy said:
I am not sure what @planktoid was referencing as far as it "being detectable". But if you follow that tutorial and use RSDLite to flash the original firmware you will be able to warranty return your phone without any problem.
---------- Post added at 08:14 AM ---------- Previous post was at 08:07 AM ----------
Which carrier are you with? If you are with a carrier that offers a bootloader unlock and you performed the bootloader unlock and rooted then you are not going to be covered by warranty. They definitely know if you unlocked your bootloader.
If all you did was root via jcase's PwnMyMoto - you will be fine to restore via RSDLite and do a warranty exchange.
Click to expand...
Click to collapse
I just used jcase's root. Thanks, I was really worrying about this!

I am talking about the q/e bit.
Sent from my XT1058 using xda app-developers app

planktoid said:
I am talking about the q/e bit.
Sent from my XT1058 using xda app-developers app
Click to expand...
Click to collapse
I've never met a CSR smart enough to check that.
---------- Post added at 12:26 PM ---------- Previous post was at 12:11 PM ----------
Slusho said:
I just used jcase's root. Thanks, I was really worrying about this!
Click to expand...
Click to collapse
planktoid said:
I am talking about the q/e bit.
Sent from my XT1058 using xda app-developers app
Click to expand...
Click to collapse
thepolishguy said:
I've never met a CSR smart enough to check that.
Click to expand...
Click to collapse
I have to apologize. There is a very small chance that you could get the only CSR smart enough to look for the "tampered flag". I doubt that this is going to be the case. But I would also hate to see you get busted after I advised you to go ahead an return it.
If you want 100% piece of mind you can follow the instruction here...
That Pesky QE
...and reset the flag to 0/1 so that you are absolutely safe for a return.
Again - I apologize and props to Planktoid for bringing it up. I have never had a problem returning a device that has been rooted. But whose to say they won't check. This will solve that small possibility.

Okay, they probably have a procedure that doesn't include checking for the QE, but just to be sure, let me make sure I understand this. Will following these steps work?:
1. Follow the steps in the video.
2. Issue commands "fastboot erase userdata" and "fastboot reboot" using adb, and use "fastboot getvar all" to check the QE status.

Slusho said:
Okay, they probably have a procedure that doesn't include checking for the QE, but just to be sure, let me make sure I understand this. Will following these steps work?:
1. Follow the steps in the video.
2. Issue commands "fastboot erase userdata" and "fastboot reboot" using adb, and use "fastboot getvar all" to check the QE status.
Click to expand...
Click to collapse
I would just follow the instructions from P3Droid's tutorial at AOSP.us... http://aosp.us/?p=901
1) Download the stock firmware for your device. (Check sbf.droid-developers.org)
2) Grab the stock misc image
3) Open a command terminal...
Click to expand...
Click to collapse
Code:
adb shell
su
echo -ne “0″| dd of=/dev/block/platform/msm_sdcc.1/by-name/misc bs=1 seek=5379
exit
exit
3) Make sure your system is stock.
Now to make sure your system is stock:
Code:
fastboot flash boot boot.img
fastboot flash system system.im
You can pull these images from the SBF file by unzipping it with something like 7zip. If they won't flash for you then you'll have to use the other tutorial with RSDLite. They would not flash for me in Fastboot for some reason. Make sure you download the proper SBF for your phone.
If they do flash for you then you can move on to the next step in P3Droids tutorial...
Code:
fastboot erase userdata
fastboot reboot

Okay thanks. You've been hugely helpful, and I will be sure to name my firstborn "thepolishguy".

Slusho said:
Okay thanks. You've been hugely helpful, and I will be sure to name my firstborn "thepolishguy".
Click to expand...
Click to collapse
Don't thank me until it has worked. Hopefully "thepolishguy" doesn't end up becoming a curse word around your house...
Code:
"son of a polishguy"
Code:
"that dirty rotten polishguy"

If you still have problems, and aren't on windows sigh: still having issues with that os), you could check out my thread:
[TOOL] Moto X FXZ Flashing Script (100% back to stock) [10/03/2013]

My new phone should come on Tuesday, so your fate will be determined then. And bhundven, thanks, I did see your thread and I'll be sure to keep that in mind.

Just curious if this would work on a Droid Maxx. I have the 1/1 qe flag in the bootloader. Been doing some google searches, but haven't found anything except this thread, and instructions to reset it to 0/1 on a Moto X. But I'm not sure if the location to reset would be the same. Any ideas?

BMAF said:
Just curious if this would work on a Droid Maxx. I have the 1/1 qe flag in the bootloader. Been doing some google searches, but haven't found anything except this thread, and instructions to reset it to 0/1 on a Moto X. But I'm not sure if the location to reset would be the same. Any ideas?
Click to expand...
Click to collapse
I have no idea but you can try hitting up @P3dRoid on Twitter. He'd know (if he has time to get back to you).
Also there's a G+ community for the MotoX Developer Version - you can ask there and see if someone chimes in.
Sent from my XT1060 using Tapatalk 4

When I get to the part in which I have to type "echo -ne “0″| dd of=/dev/block/platform/msm_sdcc.1/by-name/misc bs=1 seek=5379", I get back "cannot open for write: Permission denied".

Slusho said:
When I get to the part in which I have to type "echo -ne “0″| dd of=/dev/block/platform/msm_sdcc.1/by-name/misc bs=1 seek=5379", I get back "cannot open for write: Permission denied".
Click to expand...
Click to collapse
I asked someone with a lot more intelligence than me to visit your question. Hopefully he does. Sorry.
Just to help with some trouble shooting... after you enter
adb shell
su
what does it return? I believe that you should start with a "$". And then after you input "su" you should get a "#" on the return. Do you?

Slusho said:
When I get to the part in which I have to type "echo -ne “0″| dd of=/dev/block/platform/msm_sdcc.1/by-name/misc bs=1 seek=5379", I get back "cannot open for write: Permission denied".
Click to expand...
Click to collapse
you have to be root

Related

Been gone for a while but I have a question!

I've been gone from the rooting and android scene for a while I recently got my nexus 6 and looked up how to root but all videos are on android 5.0 and I'm on 5.1 does the 5.0 method work? And will the toolkit be the easiest way? Any links to help me ease back into this would be awesome thanks in advance !
One more question when are we getting exposed installer?
Sent from my Nexus 6 using XDA Free mobile app
What are you talking about? Android 5.1 doesn't exist. Don't use toolkits, they're dangerous and doesn't teach much.
Follow the guide, http://forum.xda-developers.com/nexus-6/general/how-to-nexus-6-one-beginners-guide-t2948481
I assume you mean 5.0.1
yes, same root methods as always. but you dont need a toolkit. its easy enough as it is, for any nexus device.
1. fastboot oem unlock(unlocks your bootloader), then reboot.
2. flash a custom recovery, while in fastboot
3. flash the latest supersu zip in your new recovery.
4. reboot with root :highfive:
zephiK said:
What are you talking about? Android 5.1 doesn't exist. Don't use toolkits, they're dangerous and doesn't teach much.
Follow the guide, http://forum.xda-developers.com/nexus-6/general/how-to-nexus-6-one-beginners-guide-t2948481
Click to expand...
Click to collapse
Sorry 5.0.1 I've been gone a while I apologize
Sent from my Nexus 6 using XDA Free mobile app
simms22 said:
I assume you mean 5.0.1
yes, same root methods as always. but you dont need a toolkit. its easy enough as it is, for any nexus device.
1. fastboot oem unlock(unlocks your bootloader), then reboot.
2. flash a custom recovery, while in fastboot
3. flash the latest supersu zip in your new recovery.
4. reboot with root :highfive:
Click to expand...
Click to collapse
I'm just not the best with command windows :/ any way u can kind of link me to a step by step tutorial and again I apologize I've been gone a really long time
Sent from my Nexus 6 using XDA Free mobile app
etp23 said:
I'm just not the best with command windows :/ any way u can kind of link me to a step by step tutorial and again I apologize I've been gone a really long time
Sent from my Nexus 6 using XDA Free mobile app
Click to expand...
Click to collapse
how long have you been gone, and where did you go??? anyways http://forum.xda-developers.com/nexus-6/general/how-to-nexus-6-one-beginners-guide-t2948481
simms22 said:
how long have you been gone, and where did you go??? anyways http://forum.xda-developers.com/nexus-6/general/how-to-nexus-6-one-beginners-guide-t2948481
Click to expand...
Click to collapse
since i rooted my galaxy note three that was back in november of 2013 so its been a while nothing but work since then and thanks man i appreciate it!!
etp23 said:
since i rooted my galaxy note three that was back in november of 2013 so its been a while nothing but work since then and thanks man i appreciate it!!
Click to expand...
Click to collapse
good luck :fingers-crossed:
at least its much easier to root a nexus!
simms22 said:
how long have you been gone, and where did you go??? anyways http://forum.xda-developers.com/nexus-6/general/how-to-nexus-6-one-beginners-guide-t2948481
Click to expand...
Click to collapse
simms22 said:
good luck :fingers-crossed:
at least its much easier to root a nexus!
Click to expand...
Click to collapse
h
oh yeah man i had a hard time with that note 3 and thanks one m ore quick question though is the chainfire method safe or is that a toolbox as well? lol
etp23 said:
h
oh yeah man i had a hard time with that note 3 and thanks one m ore quick question though is the chainfire method safe or is that a toolbox as well? lol
Click to expand...
Click to collapse
oh, im not familiar with it, lol! i thought i linked you the old fashioned way. just unlock the bootloader reboot, flash a custom recovery, then flash the latest supersu in that new recovery. after you reboot, with root. this is the latest supetsu btw http://download.chainfire.eu/695/SuperSU/UPDATE-SuperSU-v2.45.zip
How long does the SDK take? It didn't give me an option for slim SDK so I'm just adding whatever it has checked at start and is there anyway to change my SDK path? And can I just skip the installation and try and flash the custom recovery?
simms22 said:
oh, im not familiar with it, lol! i thought i linked you the old fashioned way. just unlock the bootloader reboot, flash a custom recovery, then flash the latest supersu in that new recovery. after you reboot, with root. this is the latest supetsu btw http://download.chainfire.eu/695/SuperSU/UPDATE-SuperSU-v2.45.zip
Click to expand...
Click to collapse
Can I just skip the installation of all the SDK or whatever? And try and install the custom recovery? Or do I have to wait for it all to be done?
Although it's the "cheating" way, you can use Wug's Toolkit ?
etp23 said:
Can I just skip the installation of all the SDK or whatever? And try and install the custom recovery? Or do I have to wait for it all to be done?
Click to expand...
Click to collapse
you dont need to install the sdk. what you need to install is fastboot and adb. both are in the sdk. but, if you google it, youll find much smaller files with fastboot and adb included.
simms22 said:
you dont need to install the sdk. what you need to install is fastboot and adb. both are in the sdk. but, if you google it, youll find much smaller files with fastboot and adb included.
Click to expand...
Click to collapse
I see lol can't get fastboot working :/ back to the noob level
etp23 said:
I see lol can't get fastboot working :/ back to the noob level
Click to expand...
Click to collapse
is the n6 driver installed? or the universal adb driver?
---------- Post added at 01:06 PM ---------- Previous post was at 12:57 PM ----------
start fastboot, type fastboot devices. then we will see if fastboot sees your device.
simms22 said:
is the n6 driver installed? or the universal adb driver?
---------- Post added at 01:06 PM ---------- Previous post was at 12:57 PM ----------
start fastboot, type fastboot devices. then we will see if fastboot sees your device.
Click to expand...
Click to collapse
My fast boot just opens and closes as soon as I open it up:/
etp23 said:
My fast boot just opens and closes as soon as I open it up:/
Click to expand...
Click to collapse
You're supposed to run fastboot in the command prompt.
PR0XiMA said:
You're supposed to run fastboot in the command prompt.
Click to expand...
Click to collapse
How do I do that? I open a command prompt by typing cmd into the search right?
etp23 said:
How do I do that? I open a command prompt by typing cmd into the search right?
Click to expand...
Click to collapse
Yes, remember to change directory to where fastboot and adb is located.

stock ZV5 SYSTEM IMG USED FOR UNROOTING?

Does anyone have a stock system img of zv5 to use to unroot
I would really appreciate this as well. Not sure if the rooted system img is causing the problems I am having and I accidentally blew away the backup I made
No. There isn't one available yet.
kyle1867 said:
No. There isn't one available yet.
Click to expand...
Click to collapse
We are not talking about the tot file. Just the unrooted system image. Someone has to have it.
centran said:
We are not talking about the tot file. Just the unrooted system image. Someone has to have it.
Click to expand...
Click to collapse
As said, there isn't one available yet; no one will have it.
kyle1867 said:
As said, there isn't one available yet; no one will have it.
Click to expand...
Click to collapse
How can no one have it? Anyone who is NOT rooted would have to do is follow the root method but instead of running the command specified to flash the rooted system image you would run this instead....
dd if=/dev/block/mmcblk0 bs=8192 seek=65536 count=557312 of=/data/media/0/system.LS991ZV5.img
use the LEAVE command to reboot and then file transfer that image off and post it here.
I thought I did this before I rooted but forgot to transfer it off and accidentally blew the file away with a factory reset (doh!)
Can someone please post this? I should have just backed it up myself but I figured there would be a kdz or tot available.
Lol
kyle1867 said:
As said, there isn't one available yet; no one will have it.
Click to expand...
Click to collapse
If you rooted and followed the instructions to back up your system.img file before hand then YES, I'm sure there are some around.
https://drive.google.com/file/d/0BxXIXq7_2balSDgwSGZNdlNVakE/view?pli=1
Jessooca said:
Thanks for posting this fatboypup!
---------- Post added at 12:11 PM ---------- Previous post was at 12:10 PM ----------
Check your PM!
Click to expand...
Click to collapse
I has no PM ;(
delete

Issues with unrooting

I am trying to apply an update that was pushed to my Verizon Nexus 6. I was using Nexus Root Toolkit V2.0.5 developed by Wug, to do the unroot and re-lock the boot loader. It went fine no issues, have the correct build of android plugged into the toolkit. Rebooted, and I used root checker to verify that root is gone, and it is not, it is still rooted. I can unroot using supersu, and root checker confirms that root is gone. After locking the bootloader, I go and try to apply the update and it still fails. I am able to restart the phone and use it, but I do not understand what is going on with it. Anybody have any thoughts?
FireMedic1234 said:
I am trying to apply an update that was pushed to my Verizon Nexus 6. I was using Nexus Root Toolkit V2.0.5 developed by Wug, to do the unroot and re-lock the boot loader. It went fine no issues, have the correct build of android plugged into the toolkit. Rebooted, and I used root checker to verify that root is gone, and it is not, it is still rooted. I can unroot using supersu, and root checker confirms that root is gone. After locking the bootloader, I go and try to apply the update and it still fails. I am able to restart the phone and use it, but I do not understand what is going on with it. Anybody have any thoughts?
Click to expand...
Click to collapse
for the couple thousandth time it has been mentioned here, you can not apply an update if any stock files have been changed. with you having root at one point, your files have been changed. and to really unroot, you have to flash a factory image. otherwise, even tjough you unrooted, your files are still changed.
simms22 said:
for the couple thousandth time it has been mentioned here, you can not apply an update if any stock files have been changed. with you having root at one point, your files have been changed. and to really unroot, you have to flash a factory image. otherwise, even tjough you unrooted, your files are still changed.
Click to expand...
Click to collapse
Yeah hey thanks hadn't seen that a million times or so. I know updates cannot be flashed while rooted or unlocked. I am trying to unroot by flashing a factory image and it is not taking, no errors come up in the log and it reboots fine.
FireMedic1234 said:
Yeah hey thanks hadn't seen that a million times or so. I know updates cannot be flashed while rooted or unlocked. I am trying to unroot by flashing a factory image and it is not taking, no errors come up in the log and it reboots fine.
Click to expand...
Click to collapse
are you using fastboot while you are in your bootloader? oh, and you need an unlocked bootloader as well.
simms22 said:
are you using fastboot while you are in your bootloader? oh, and you need an unlocked bootloader as well.
Click to expand...
Click to collapse
Yes I am. I had locked the bootloader and tired to apply the update and that didn't work. I currently have an unlocked boot but did not root yet, was waiting for feedback from here.
FireMedic1234 said:
Yes I am. I had locked the bootloader and tired to apply the update and that didn't work. I currently have an unlocked boot but did not root yet, was waiting for feedback from here.
Click to expand...
Click to collapse
ok, boot into the bootloader, connwct via usb to your computer, the type fastboot devices. at that point, it should list your phone via a number. if it does, then its all connected right. then you can flash the factory image, but do not use the flash-all script, flash them all individually.
Ok thanks, Does it work the same if you do it through Wugs tool, clicking the flash stock + unroot button, and letting it run the scripts?
FireMedic1234 said:
Ok thanks, Does it work the same if you do it through Wugs tool, clicking the flash stock + unroot button, and letting it run the scripts?
Click to expand...
Click to collapse
ill be honest.. its best to do it the first time manually. that way you learn to do things that can fix your phone in the future, plus tool kits can and fo mess up occasionally, which make things hard to fix. i tell everyone that they can use toolkits, but they wont learn anything and will remain clueless. if you already know what you are doing, then tool kits are fine
I concur. I have used "the" toolkit to see what happens. Have had multiple failures using toolkit and always had to revert to fastboot to fix. Might as well use fastboot up front. Saves a lot of time and headaches.
simms22 said:
ill be honest.. its best to do it the first time manually. that way you learn to do things that can fix your phone in the future, plus tool kits can and fo mess up occasionally, which make things hard to fix. i tell everyone that they can use toolkits, but they wont learn anything and will remain clueless. if you already know what you are doing, then tool kits are fine
Click to expand...
Click to collapse
Gotcha thanks again!
When I try to flash system.img it errors out saying it is not there, but it is. any thoughts?
FireMedic1234 said:
When I try to flash system.img it errors out saying it is not there, but it is. any thoughts?
Click to expand...
Click to collapse
You can drag and drop or copy/paste the image into the command line.
FireMedic1234 said:
When I try to flash system.img it errors out saying it is not there, but it is. any thoughts?
Click to expand...
Click to collapse
are you flashing with flash-all or are you flashing each image individually. dont use flash-all, flash them individually.
Share a screen print of the command prompt, with the command you executed, and the error message?
was doing the flash-all. is the command "fastboot flash system system.img" minus the quotes? If that doesn't work I will try and drop and drag see if that works
FireMedic1234 said:
was doing the flash-all. is the command "fastboot flash system system.img" minus the quotes? If that doesn't work I will try and drop and drag see if that works
Click to expand...
Click to collapse
Yes.
FireMedic1234 said:
When I try to flash system.img it errors out saying it is not there, but it is. any thoughts?
Click to expand...
Click to collapse
You don't need to put the system.img there. Please do read general > sticky roll-up thread > adb and fastboot...
...some time.
I guess my issue was in my head. I am so damn concerned that I am going to do something wrong and brick the phone that I am afraid to run the commands. I just flashed the system.img had it write in 4 different parts.... and it worked fine, rebooted and everything.... so far.
FireMedic1234 said:
I guess my issue was in my head. I am so damn concerned that I am going to do something wrong and brick the phone that I am afraid to run the commands. I just flashed the system.img had it write in 4 different parts.... and it worked fine, rebooted and everything.... so far.
Click to expand...
Click to collapse
Yes the flash-all.bat can't break up the image. Has something to do with how it sees the partition. Have heard that fastboot in SDK 23+ has fixed this problem. Have not confirmed as I do each individually anyway depending on what I want to do.
---------- Post added at 12:13 PM ---------- Previous post was at 12:07 PM ----------
Only way you're gonna possibly brick is flash wrong image to wrong partition. Not sure that even that can be corrected with fastboot as long as the one you bork isn't the bootloader.

[Q] What files I need to root 5.1.1?

Hey guys I just bought a Nexus 6 yesterday and once I got it updated to 5.1.1 LYZ28E, and I'm trying to root my device at first I was going to use cf auto root but I noticed it was for 5.0 only so can someone tell me what files I need exactly and what would be the easiest way to root? Thanks in advance
1. unlock your bootloader with fastboot.
2. fastboot flash twrp recovery.
3. flash the latest supersu in your new recovery
4. reboot with root. yes, thay easy.
simms22 said:
1. unlock your bootloader with fastboot.
2. fastboot flash twrp recovery.
3. flash the latest supersu in your new recovery
4. reboot with root. yes, thay easy.
Click to expand...
Click to collapse
I have tried with fastboot using the cmd but it doesnt find the path so can you uploads me the correct files to download thnks
Jiggs82 said:
I have tried with fastboot using the cmd but it doesnt find the path so can you uploads me the correct files to download thnks
Click to expand...
Click to collapse
very easy.. using google, search for supersu 2.49 and for twrp recovery n6. they will come right up. the nexus 6 is called shamu.
Jiggs82 said:
I have tried with fastboot using the cmd but it doesnt find the path so can you uploads me the correct files to download thnks
Click to expand...
Click to collapse
Download the latest SDK from Google. You need newer ADB and Fastboot files in order to work with a 5.1.1 bootloader.
Make sure all the files are in the same folder as well. I never trusted using environment variables.
Sent from my SM-N920T using Tapatalk
NotATreoFan said:
I never trusted using environment variables.
Click to expand...
Click to collapse
What now? That's how a PC works.
danarama said:
What now? That's how a PC works.
Click to expand...
Click to collapse
I was referring to setting up ADB and Fastboot so that you can use them from anywhere. I just copy all the files I'm working with into the same folder.
Sent from my SM-N920T using Tapatalk
NotATreoFan said:
Download the latest SDK from Google. You need newer ADB and Fastboot files in order to work with a 5.1.1 bootloader.
Make sure all the files are in the same folder as well. I never trusted using environment variables.
Sent from my SM-N920T using Tapatalk
Click to expand...
Click to collapse
I downloaded the latest sdk and adb and fastboot 1.4.2 , supersu 2.49 and twrp 2.8.7.1 so what do i do next? btw when u meant all the files in the same folder which files u mean? thanks
NotATreoFan said:
I was referring to setting up ADB and Fastboot so that you can use them from anywhere. I just copy all the files I'm working with into the same folder.
Sent from my SM-N920T using Tapatalk
Click to expand...
Click to collapse
I know what you're talking about. I just wonder why you don't trust environment variables, because that seems an odd thing to say.
Environment variables are how windows works.
---------- Post added at 07:21 PM ---------- Previous post was at 07:18 PM ----------
Jiggs82 said:
I downloaded the latest sdk and adb and fastboot 1.4.2 , supersu 2.49 and twrp 2.8.7.1 so what do i do next? btw when u meant all the files in the same folder which files u mean? thanks
Click to expand...
Click to collapse
Dude, have a read about adb and fastboot..it's easy to understand.
I wrote a thread.. Go to general > sticky roll-up thread > adb and fastboot, what is it?
I've put everything you need to know in there.
danarama said:
I know what you're talking about. I just wonder why you don't trust environment variables, because that seems an odd thing to say.
Environment variables are how windows works.
---------- Post added at 07:21 PM ---------- Previous post was at 07:18 PM ----------
Dude, have a read about adb and fastboot..it's easy to understand.
I wrote a thread.. Go to general > sticky roll-up thread > adb and fastboot, what is it?
I've put everything you need to know in there.
Click to expand...
Click to collapse
Yeah, I'm a weird guy. Had a soft brick once on a M8 because my work laptop decided to forget about a set variable midway through flashing.
No doubt it was a quirk, I'm just playing it 110% safe by not relying on them for flashing.
Sent from my SM-N920T using Tapatalk
danarama said:
I know what you're talking about. I just wonder why you don't trust environment variables, because that seems an odd thing to say.
Environment variables are how windows works.
---------- Post added at 07:21 PM ---------- Previous post was at 07:18 PM ----------
Dude, have a read about adb and fastboot..it's easy to understand.
I wrote a thread.. Go to general > sticky roll-up thread > adb and fastboot, what is it?
I've put everything you need to know in there.
Click to expand...
Click to collapse
Lol i will, ive rooted phones befpre from non nexuses to the nexus 5 but it was so simple using cf auto root guess i shouldve never updated to 5.1.1 so thats my fault smh and since im using a new laptop that could be the reason to since i have to download everything all over again im just having a hard time finding which is the correct files since theyre are old and new ones posted all over the place lol ill get it done tho just gotta have patience thanks again fo your help tho
Jiggs82 said:
Lol i will, ive rooted phones befpre from non nexuses to the nexus 5 but it was so simple using cf auto root guess i shouldve never updated to 5.1.1 so thats my fault smh and since im using a new laptop that could be the reason to since i have to download everything all over again im just having a hard time finding which is the correct files since theyre are old and new ones posted all over the place lol ill get it done tho just gotta have patience thanks again fo your help tho
Click to expand...
Click to collapse
Download rue latest SDK 23 then go through the installer to get the platform-tools.
Jiggs82 said:
Lol i will, ive rooted phones befpre from non nexuses to the nexus 5 but it was so simple using cf auto root guess i shouldve never updated to 5.1.1 so thats my fault smh and since im using a new laptop that could be the reason to since i have to download everything all over again im just having a hard time finding which is the correct files since theyre are old and new ones posted all over the place lol ill get it done tho just gotta have patience thanks again fo your help tho
Click to expand...
Click to collapse
you root the n6 exactly the same way you root a nexus 5, or any nexus.
NotATreoFan said:
Yeah, I'm a weird guy. Had a soft brick once on a M8 because my work laptop decided to forget about a set variable midway through flashing.
No doubt it was a quirk, I'm just playing it 110% safe by not relying on them for flashing.
Sent from my SM-N920T using Tapatalk
Click to expand...
Click to collapse
It doesn't really make sense.. If fastboot or adb are running, "losing" an environment variable would make no difference. ...and if they were lost between commands,.the next command simply wouldn't run so couldn't cause a brick either.
I've been rooting and and flashing for over 5 years and an IT technician for over 10 years and I've never heard or imagined of any such thing. Whatever caused your brick, I can say with say with confidence that it was nothing to do with environment variables.. Windows runs on environment variables. In fact when you go to run and type "cmd", that only works because of environment variables. There is no way to avoid them.
none
NotATreoFan said:
Download the latest SDK from Google. You need newer ADB and Fastboot files in order to work with a 5.1.1 bootloader.
Make sure all the files are in the same folder as well. I never trusted using environment variables.
Sent from my SM-N920T using Tapatalk
Click to expand...
Click to collapse
Ummmmmm, if you don't ajsust your Environmental Variables, your commands in command prompt will not work, unless you have a computer I know nothing about
USMC retired said:
Ummmmmm, if you don't ajsust your Environmental Variables, your commands in command prompt will not work, unless you have a computer I know nothing about [emoji14]
Click to expand...
Click to collapse
I have a work laptop running Windows 7 that is so bloated they've managed to make it run worse than XP on a 286.
On my home machine it all runs perfect.
Sent from my SM-N920T using Tapatalk
USMC retired said:
Ummmmmm, if you don't ajsust your Environmental Variables, your commands in command prompt will not work, unless you have a computer I know nothing about
Click to expand...
Click to collapse
They will work if you cd to or open cmd in the dir that adb or fastboot is in.
Nice
danarama said:
They will work if you cd to or open cmd in the dir that adb or fastboot is in.
Click to expand...
Click to collapse
I wasn't aware of that, I've always just done the EV thing as a force of habit more than anything else.
USMC retired said:
I wasn't aware of that, I've always just done the EV thing as a force of habit more than anything else.
Click to expand...
Click to collapse
Yes it's the best way.
Yeah
danarama said:
Yes it's the best way.
Click to expand...
Click to collapse
I tried it and sweet, says your in the UK, you must be a night owl

Unrooting Verizion nexus 6 on 5.1.0 build number LMY47E

I have been rooted for a few months now and need to get a replacement phone from vzw. I have been searching for the better part of 2 days on how to completly unroot my nexus 6. i used the method used in "[HOW-TO] The Nexus 6 All-In-One Beginner's Guide By xBeerdroiDx" to root it. Which installed TWRP, with any other phone ive rooted i could just go to SuperSU and click full unroot and it would do it. That is not the case now. Can i get a step by step directions from someone on how to unroot my phone please.
Thanks in advance.
djhudjr said:
I have been rooted for a few months now and need to get a replacement phone from vzw. I have been searching for the better part of 2 days on how to completly unroot my nexus 6. i used the method used in "[HOW-TO] The Nexus 6 All-In-One Beginner's Guide By xBeerdroiDx" to root it. Which installed TWRP, with any other phone ive rooted i could just go to SuperSU and click full unroot and it would do it. That is not the case now. Can i get a step by step directions from someone on how to unroot my phone please.
Thanks in advance.
Click to expand...
Click to collapse
sure.. get the factory image from the google site, download it to your computer, unzip it, then flash each part of it individually via fastboot while youre in your bootloader. thats the only real way to "unroot" a device.every othet way removes root but keeps the changed files. so they think that youre still rooted.
simms22 said:
sure.. get the factory image from the google site, download it to your computer, unzip it, then flash each part of it individually via fastboot while youre in your bootloader. thats the only real way to "unroot" a device.every othet way removes root but keeps the changed files. so they think that youre still rooted.
Click to expand...
Click to collapse
So after i flash each part it will be "Unrooted" or do i have to delete anything else?
djhudjr said:
So after i flash each part it will be "Unrooted" or do i have to delete anything else?
Click to expand...
Click to collapse
nope, thats it. but, to finish, you want to make sure that you will boot first, then youll have to relock your bootloader at the very end
djhudjr said:
So after i flash each part it will be "Unrooted" or do i have to delete anything else?
Click to expand...
Click to collapse
if you want the phone clean, you will need to use -w command in fastboot to wipe all the data also.
bweN diorD said:
if you want the phone clean, you will need to use -w command in fastboot to wipe all the data also.
Click to expand...
Click to collapse
ive never wiped before flashing a factory image(i assumed it does it automatically before flashing each partition), but that can be a good idea as well :good:
simms22 said:
ive never wiped before flashing a factory image(i assumed it does it automatically before flashing each partition), but that can be a good idea as well :good:
Click to expand...
Click to collapse
-w only wipes the data partition as far as i know.
i havent dissected the files for this phone, but all past device img's i have, has a wiping command of some sort in there somewhere.
its usually something like "erase userdata" or similar.
the files are .tar and .tgz my computer wont recognize them am i doing something wrong?
djhudjr said:
the files are .tar and .tgz my computer wont recognize them am i doing something wrong?
Click to expand...
Click to collapse
you need software to open the archives. i think win rar may do it, but im not positive.
simms22 said:
sure.. get the factory image from the google site, download it to your computer, unzip it, then flash each part of it individually via fastboot while youre in your bootloader. thats the only real way to "unroot" a device.every othet way removes root but keeps the changed files. so they think that youre still rooted.
Click to expand...
Click to collapse
ok so noob it down because i cant seem to figure out how to flash it from my pc to my phone. it isnt showing up
djhudjr said:
ok so noob it down because i cant seem to figure out how to flash it from my pc to my phone. it isnt showing up
Click to expand...
Click to collapse
you need fastboot(and adb for other things). you can get that from google or you can search google for a smaller download. its in the sdk( i believe), but that download is huge. i installed a fastboot for dummies version a few years back, with adb as well, and ot turned out to be only 35mb.
---------- Post added at 08:06 PM ---------- Previous post was at 08:05 PM ----------
http://forum.xda-developers.com/nexus-6/general/guide-flash-factory-images-nexus-6shamu-t2954008
i think fastboot is in this zip too, let me know if its not.
http://www.mediafire.com/download/2845j2d8tqzi6at/adb.rar
---------- Post added at 08:13 PM ---------- Previous post was at 08:10 PM ----------
heres the proper mfastboot if you want that
http://www.mediafire.com/download/abfnoae9hdeyh5k/mfastboot-v2.zip

Categories

Resources