yashsingh1/xdaforums huggingface dataset:
[X Play Android Development] tadei:
Flashing stock rom

I own moto x play XT1562 Dual Sim with android version 7.1.1, i recently tried to root my phone, i successiful unlock the boot loader, but when it comes to install the custom root and rooting through SuperSu. the phone end up on boot log screen without starting. I have tried to install three different custom rom as suggested here in forum with no success, Also i used RSD lite but the phone end up installing 8 out of 23 files. what should i do to restore my phone to normal operation?
[X Play Android Development] Shibin_1985:
Use magisk to root.. It could be the supersu thats leading to bootloops
[X Play Android Development] dnickel:
error windroid 3.1

hi ; i get this error:

System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.

at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)

at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)

--- End of inner exception stack trace ---

at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)

at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)

at System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult result)

--- End of stack trace from previous location where exception was thrown ---

at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

at WinDroid_Toolkit.MainWindow.<DownloadFile>d__17.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

at WinDroid_Toolkit.MainWindow.<Window_Loaded>d__19.MoveNext()

2:08:50 AM[INFO]:Microsoft Windows NT 6.2.9200.0 64Bit

2:08:50 AM[INFO]:WinDroid Toolkit 3.1.0.0

2:08:50 AM[INFO]:mscorlib 4.0.0.0

2:08:50 AM[INFO]:PresentationFramework 4.0.0.0

2:08:50 AM[INFO]:System.Xaml 4.0.0.0

2:08:50 AM[INFO]:System 4.0.0.0

2:08:50 AM[INFO]:MahApps.Metro 1.2.4.0

2:08:50 AM[INFO]:AndroidLib 1.5.2.0

2:08:50 AM[INFO]:WindowsBase 4.0.0.0

2:08:50 AM[INFO]:PresentationCore 4.0.0.0

2:08:50 AM[INFO]:AutoUpdater.NET 1.3.2.0

2:08:50 AM[INFO]:System.IO.Compression.FileSystem 4.0.0.0

2:08:50 AM[UPDATE]:AutoUpdater started.

2:08:50 AM[FILE]:File directory created.

2:08:50 AM[FILE]:File directory created.

2:08:50 AM[FILE]:File directory created.

2:08:50 AM[FILE]:File directory created.

2:08:53 AM[DOWNLOAD]:Download of Drivers started.
[X Play Android Development] kkbalimidi:
Windroid Toolkit showing error

Windroid Toolkit showing error afterselecting the Brand and make and logs are here.

System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 198.255.114.12:443

at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)

at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)

at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)

--- End of inner exception stack trace ---

at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)

at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)

at System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult result)

--- End of stack trace from previous location where exception was thrown ---

at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

at WinDroid_Toolkit.MainWindow.<DownloadRecoveries>d__16.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

at WinDroid_Toolkit.MainWindow.<deviceListBox_SelectionChanged>d__20.MoveNext()

PM 06:21:15[INFO]:Microsoft Windows NT 6.1.7601 Service Pack 1 64Bit

PM 06:21:15[INFO]:WinDroid Toolkit 3.1.0.0

PM 06:21:15[INFO]:mscorlib 4.0.0.0

PM 06:21:15[INFO]:PresentationFramework 4.0.0.0

PM 06:21:15[INFO]:System.Xaml 4.0.0.0

PM 06:21:15[INFO]:System 4.0.0.0

PM 06:21:15[INFO]:MahApps.Metro 1.2.4.0

PM 06:21:15[INFO]:AndroidLib 1.5.2.0

PM 06:21:15[INFO]:WindowsBase 4.0.0.0

PM 06:21:15[INFO]:PresentationCore 4.0.0.0

PM 06:21:15[INFO]:AutoUpdater.NET 1.3.2.0

PM 06:21:15[INFO]:System.IO.Compression.FileSystem 4.0.0.0

PM 06:21:15[UPDATE]:AutoUpdater started.

PM 06:21:32[DOWNLOAD]:Recovery download queued.

PM 06:21:33[DOWNLOAD]:Recovery download started.

PM 06:21:55[DOWNLOAD]:Recovery download error.

Please suggest what to do.

Thanks
[X Play Android Development] Linusrg1:
Linux and mac support and you have a really cool tool

please make Linux support as that is the only os I run.
[X Play Android Development] Morricorne:
This app still work? Is good to try on old x play? Or better flash everything manualy?
[OnePlus 2 Q&A, Help & Troubleshooting] dambrosioj:
I am loving my OPT and the premium feel but I was wondering if anyone else has a somewhat loose power button that rattles a bit. I never notice it since I have it in a case. But coming from a Nexus 5 and Nexus 6. The power button on those is super solid.

Just curious if i got a bum one or there all like that.
[OnePlus 2 Q&A, Help & Troubleshooting] immiteshk:
Nope you are not the only one.

There are many check on oneplus forums.

Mine power button is a little bit loose almost ignoreable but the volume rocker is a bit loose.

I can move them with finger.

Op quality checks aren't upto the mark it seems.
[OnePlus 2 Q&A, Help & Troubleshooting] aziz981:
Both power button and volume button can move around quite a bit for me, appears loose, but as long as they dont fall...
[OnePlus 2 Q&A, Help & Troubleshooting] ad78:
Mine are solid
[OnePlus 2 Q&A, Help & Troubleshooting] arinjayw:
Mine are lose too. Checked in OP service center in Mumbai and found there are no spare parts at all. it sucks.

I am in discussion with their customer support for the solution. I want this lose buttons problem resolved anyhow, it wont sustain for long.
[OnePlus 2 Q&A, Help & Troubleshooting] Bacardidu06530:
My OPT volume button is loose also, it moves up and down by a half millimetre.

Kinda tarnishes the premium feel of it.
[X Style (Pure) Android Development] Rapscallion16:
Link To Main Thread

About

The WinDroid Toolkit is a Windows program built in Visual Studio using the C# programming language that simplifies the rooting process for many Android devices. The toolkit makes it easy to unlock your bootloader, flash a custom recovery and gain permanent root. It also includes other functions such as flashing kernels, pushing files and installing apps. If you find it helpful, give me a thanks and a donation if you can. If you find a bug or have a feature request, feel free to leave a reply. Thanks!

Download

WinDroid Toolkit

Changelog

Check out this document for current and past changelogs.

Supported Devices

Check out this spreadsheet for a list of currently supported devices.

Device not supported? Make a request here!

Contribute

Check out the source code on GitHub here.

Disclaimers

Please do not post, mirror, or take credit for this toolkit or any related work without explicit permission.

I am in no way responsible for any harm, damage, nuclear fission or bee infestation that may occur to your device through the use of this toolkit.
[X Style (Pure) Android Development] Rapscallion16:
Reserved

Reserved.
[X Style (Pure) Android Development] GuestK00339:
Wow this looks great good job!
[X Style (Pure) Android Development] toyanucci:
Hey, great work! I haven't gotten my moto x pure yet but I appreciate you putting this together for us.

One question, would it be possible to add an option to remove the bootloader unlocked warning as well? I see here in this forum that there's a way to do it, but if you could automate it with your program I think it would add to it.

Thanks either way!
[X Style (Pure) Android Development] jmileti:
+1
[X Style (Pure) Android Development] not-i:
Success, bootloader unlocked. This worked on my Australian purchased Style. Thanks mate :)
[X Style (Pure) Android Development] jmileti:
thanks. worked flawlessly. now to work on that damn bootloader logo.
[X Style (Pure) Android Development] Cowbell_Guy:
Thanks excited to try this
[X Style (Pure) Android Development] patt2k:
Looks good will come in handy for newbies :)
[X Style (Pure) Android Development] mynameisjon:
Can't even get the program to run. Just keeps crashing on my Windows 10 notebook.
[X Style (Pure) Android Development] thefunks67:
I agree, an option to one click fix the unlock warning message would be awesome!

Thanks for this tool.

-Funk
[X Style (Pure) Android Development] tjarvis:
Probably an issue with Windows 10, but the tool crashes after every command. I have to reopen the tool and try again. I eventually got everything by command prompt, but I loved the tool on my 2014 X. Thank you.
[X Style (Pure) Android Development] Big Cam:
Awesome, I plan on buying a Moto X Pure in the next month or two and root access was something I am not willing to go without, glad to see the forums are already coming alive for this new powerhouse!
[X Style (Pure) Android Development] not-i:
I'm running Windows 10 and it worked fine
[X Style (Pure) Android Development] MattDrumz:
Strange. I guess I'll just have to try it manually then and make sure something isn't wrong with my setup.

EDIT: I just figured out what the issue was. It might be helpful to put this in the OP so that other people do not make the same mistake:

The installation was failing because I did not go to the developer options and enable OEM unlocking. It works now, thanks so much!
[X Style (Pure) Android Development] sdube3:
Will this factory reset my phone?
[X Style (Pure) Android Development] TrenchKato:
We dont have time for no stinkin' commands! Thanks.
[X Style (Pure) Android Development] MattDrumz:
Yes. Unlocking the bootloader wipes the device.
[X Style (Pure) Android Development] twoeleven99:
App keeps crashing at the twrp step
[X Style (Pure) Android Development] scabbie1980:
Can you make a return to stock and lock bootloader so we get OTA updates. Thank you
[X Style (Pure) Android Development] bbdaines:
Will not detect device

The program will not detect my stock 6.0 phone on Verizon, it sees my Nexus 6 just fine?

Where do you find this after you have closed the program, it did not create a file in the start menu?
[X Style (Pure) Android Development] brunodiorio:
System.ArgumentOutOfRangeException

System.ArgumentOutOfRangeException: Comprimento não pode ser menor que zero.

Nome do parâmetro: length

em System.String.Substring(Int32 startIndex, Int32 length)

em WinDroid_Toolkit.MainWindow.<GetUnlockString>d__23.MoveNext()
[X Style (Pure) Android Development] BigM69:
Deleted
[X Style (Pure) Android Development] enzodad:
didnt work on my moto x opure

---------- Post added at 11:56 PM ---------- Previous post was at 11:55 PM ----------

claims it installed TWRP but when i try to go into it says no command
[X Style (Pure) Android Development] yangqdr:
Sweet.... worked on moto x pure. Makes things easy since I don't mod my phone that often.

I donated
[X Style (Pure) Android Development] foxchic426:
Wifi won't turn on

I had rooted my Moto x pure and it bootooped. So I flashed stock firmware and now I'm on 5.1.1 and my wifi won't turn on and I can't update. I've rerooted, and everything, it still won't work. Can I edit build.prop settings to enable wifi, or any suggestions on how to fix this?

:confused:
[X Style (Pure) Android Development] jason2678:
Flash modem again. It fails first try more often than not on this phone, and that messes up the toolkits and flash scripts. You're better off to flash it yourself and pay attention to the terminal output. If it fails, try again. Probably ought to erase modemst1 and modemst2 and let those rebuild too.
[X Style (Pure) Android Development] tech_infinity:
There is no need to lock bootloader to get ota. The only thing to get ota is that everything else like recovery should be stock.
[X Style (Pure) Android Development] CoolChenz:
would this format my device?
[X Style (Pure) Android Development] jason2678:
Unlocking the bootloader always wipes the device, if that's what you're asking.
[X Style (Pure) Android Development] TrenchKato:
I got it to work by re-enabling the USB debug setting. And I had to start from the bootloader. If I allowed the app to reboot from the system it would crash.
[X Style (Pure) Android Development] KBizzle:
If you are on Windows 10 and it keeps crashing on reboots. Right click on the tool exe and select "Troubleshoot Compatibility". Let it do its thing and then select the top option. Then test and close the compatibility test window. It should stop crashing on reboots.

---------- Post added at 12:00 PM ---------- Previous post was at 11:35 AM ----------

Spoke too soon. Works all the way up to flashing the Recovery. Crashes when I try to flash recovery from fastboot. Not a big deal as I know I can flash it manually. Thank you op.

Edit: Well, it crashes but TWRP is installed. So everything worked.
[X Style (Pure) Android Development] rockinandroid:
Windows 10 not worning

Hey Guys trying to run this on windows 10 pro and not working.....keeps crashing...tried everything in this thread...any other suggestions or anyone know how to do manually.....new to this moto x style of flashing.....thanks for any help...
[X Style (Pure) Android Development] twoeleven99:
for those that have the app crash at the flash twrp step, boot into recovery. it kept crashing for me but like someone else said it still flashed twrp
[X Style (Pure) Android Development] KBizzle:
Did you try running as administrator?
[X Style (Pure) Android Development] Rapscallion16:
I'm trying to pinpoint the apparent crashing issues with Windows 10, but without errors codes or logs, it's hard to determine anything. I've been developing and testing the toolkit on Windows 10 for almost a year now and haven't faced any of these issues, and it doesn't appear to be a widespread issue, so something about certain people's setups is messing with the toolkit.
[X Style (Pure) Android Development] feffrey:
Worked great, thank you!
[X Style (Pure) Android Development] not-i:
It worked fine for me to unlock but as others have said I had trouble with twrp. I did it a couple of days ago so can't remember if it crashed but I did end up losing my recovery.

I ended up flashing twrp manually and now all good.

Didn't try SuperSU option as I did that myself. Windows 10

Should have taken a log for you at the time
[X Style (Pure) Android Development] drt054:
So, the phone says I am unlocked. I flashed twrp through this program and it didn't work, when rebooting into recovery it just says "No Command" with the android on it's back and red triangle. I also tried flashing the img manually. Still get back to same screen??

nevermind.. got it now. Flashed manually, then from fastboot screen up arrow until recovery. Then swipe on the TWRP screen where it says Read only
[X Style (Pure) Android Development] kennonk:
I had this same problem but had to reflash 4 times before it finally would boot into recovery past the No Command screen. I flashed via this app, then manually twice, then this app a 4th time and suddenly booted into TWRP fine. Not sure why, maybe bad md5sum or something...all working now :)
[X Style (Pure) Android Development] xChrisk:
First, and foremost, thank you for this tool. I wanted to report that the tool did not crash once for me in windows 10 pro.

One suggestion, I'm not sure if its possible, but a way to capture and/or display fastboot information. I had trouble unlocking because I simply forgot to check this option in my phones developer tools. The Windows tool would report phone unlocked, however, the phone was not unlocking and the tool's log was not showing any error. I attempted to unlock manually through terminal/fastboot and that is when I received an actual error from fastboot indicating that I was a dumbass, I mean, forgot to toggle "enable phone unlocking."

Like I said, just an idea.
[X Style (Pure) Android Development] GrandMstrBud:
I don't think it unlocked the bootloader, doesn't flash any recovery and see no status on the screen stating so when it reboots.

---------- Post added at 02:16 PM ---------- Previous post was at 01:59 PM ----------

I guess you have to allow the bootloader to be unlocked in developer options. Be nice to know, but now recovery is not flashing.
[X Style (Pure) Android Development] wonsanim:
This application unlock the bootloader without contact Motorola?
[X Style (Pure) Android Development] xChrisk:
No, you need to obtain an unlock code from Motorola still.
[X Style (Pure) Android Development] wonsanim:
thanks chris
[X Style (Pure) Android Development] kendive:
I got my bootloader unlocked and getting the message that it's unlocked.

I can't get it to flash twrp. I try to get into recovery and all I get is the android with the ! No Command???

I see that supersu zip file got pushed to the phone.

What gives getting recovery to work?

Thanks
[X Style (Pure) Android Development] Rapscallion16:
Double check that you checked the button in developer options that allows you to unlock your bootloader, then try the unlock command in the toolkit again. That seems to be the issue for a lot people, and I'll include a message about that in the next update.
[X Style (Pure) Android Development] kendive:
I will give that a try. I just tried to flash recovery using adb and the same thing so that may be it. Thanks

Update...

I guess you mean the OEM Unlocking turned on? I have always had this on so now I don't know whats going on flashing recovery...

Ok I got it to work but using adb not this toolkit. I don't know why recovery would not start using this toolkit???

The only thing that work for me with the toolkit was unlocking the bootloader.

.
[X Style (Pure) Android Development] GrandMstrBud:
I was able to the old fashion manual way for both unlocking and also installing TWRP. The tool didn't seem to work. Oh well I'm unlocked and rooted now. Bring on the custom ROM's
[X Style (Pure) Android Development] kendive:
Same here...

A couple of things to add to this toolkit.

Have the cmd window popup showing what is happening.

When you flash supersu is the last command fastboot boot "twrp.img" being done? Does not seem like it.
[X Style (Pure) Android Development] PiousInquisitor:
Fify.
[X Style (Pure) Android Development] IMGetwired:
Question about unlocking bootloader on VZW version

Basically, is it possible to unlock the bootloader of this phone if I have the Verizon variant? Or, maybe that's where I'm confused a bit -- is there no "variant" and it's an "all-band" LTE device? Anyway, I'm almost ready to order this to replace my now un-rootable Note 3 (f*cking Verizon), but I HAVE to be able to root this. This looks like a gorgeous phone and tools like Windroid UAT will no doubt come in handy...hopefully even for those of us w/ Verizon-based devices. Can anyone here confirm whether bootloader unlocking on an XT1575 on Verizon works or not? THANKS!!!
[X Style (Pure) Android Development] GrandMstrBud:
I'm unlocked and rooted on Verizon. Mobile hotspot doesn't seem to be as good as my LG G3 though so kind of disappointed
[X Style (Pure) Android Development] Gunthermic:
This is a non-carrier specific phone. Works just fine on Verizon. They "Big Red" have nothing to do with the phone itself. You just need a nano sim card is all.
[X Style (Pure) Android Development] mkp52mkp:
will i get ota if i root moto x style??
[X Style (Pure) Android Development] wonsanim:
Unfortunately Not
[X Style (Pure) Android Development] PiousInquisitor:
You will get the ota. It will fail to install though. To get it to work you will need to unroot, reverse any mods and flash the stock recovery image. You could also wait for someone to build a twrp flashable update. Anyway, just because you root doesn't mean you cant ever update.

Fortunately you are wrong.
[X Style (Pure) Android Development] wonsanim:
Your Explanation, make my answer wrong!:laugh:
[X Style (Pure) Android Development] PiousInquisitor:
Like I posted, you will get the ota.

Like a Vulcan, I embrace technicalities.
[X Style (Pure) Android Development] thebobmannh:
If you want to be pedantic, it depends whta he means by "get." If by "get" he means "be notified of," then you're "right." If instead he uses "get" as shorthand for "be able to install," -- which I think any thinking person would assume -- then no, he will not "get" the ota.
[X Style (Pure) Android Development] PiousInquisitor:
"Get" as in "be notified of" and "download". At which point one can fastboot flash the system image and recovery image then apply it.

Anyway, my point was that all is not lost by rooting. Taking an ota when you have rooted is trivial.

Another consideration for this topic is root survival mode. It's possible that one could flash stock recovery, use root survival mode and take the ota.
[X Style (Pure) Android Development] haZethew0rld:
edit
[X Style (Pure) Android Development] paullu:
I follow the steps unlocked bl and looks like successful flash recovery too because message come out said move to steps three

but I stuck on steps three to root it said can't find device. try many times. anyone help
[X Style (Pure) Android Development] yung40oz84:
Just flash super su zip in recovery

---------- Post added at 09:43 PM ---------- Previous post was at 09:43 PM ----------

This tool worked great!/ did whole things no problems. Thanks!
[X Style (Pure) Android Development] paullu:
I try too . no recovery don't know why
[X Style (Pure) Android Development] kent1146:
Try hitting the REFRESH button (bottom right). The online / offline status (bottom left) should show as online. Then try step 3.

If it doesn't, then reboot your computer, and try again. It's not uncommon for a glitch like that to develop if you're doing a lot of unplugging or rebooting of a device.
[X Style (Pure) Android Development] ttkyles:
simply awesome Worked fine until twrp and root

i just did that part via computer

thanks sooo Much
[X Style (Pure) Android Development] Uncle Louie:
Tool worked like a charm, thank you!

I had thought that TWRP hadn't flashed, because I too got the "No Command" error after attempting to gain root at the last step. I tried flashing TWRP again, only instead of letting the program reboot, I selected Recovery on the phone while still in Fastboot mode (use the volume keys to navigate the menus, and the power button to select) and it booted into TWRP.
[X Style (Pure) Android Development] jvs60:
booter unlocked but the tool refuses to flash twrp recovery. so when i try to flash through adb the img file won't open

---------- Post added at 01:06 PM ---------- Previous post was at 12:59 PM ----------

thanks, this ended up working for me
[X Style (Pure) Android Development] mcdonsco:
Can this be used to ONLY root the moto x pure 2015?

I have no interest in unlocking the bootloader (rom'ing etc) but I do need to get root on it.

Thanks!
[X Style (Pure) Android Development] Uncle Louie:
The bootloader has to be unlocked to gain root access on the XPE.
[X Style (Pure) Android Development] TattooedNerd32:
Thanks for putting this tool together, it made everything so simple! It all worked on the first try after I got my usb driver issues resolved, I can't wait for Roms.
[X Style (Pure) Android Development] tony1208:
I have all macs grr lol