yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Original Android Development] treIII:
This is for the op. When I used htc phones the red text would appear once the bootloader was unlocked and I think the bootloader is where the problem was. It required fastboot flashing a hex edited h boot if I remember correctly. Just giving some input to try and help.

Sent from my Nexus 6P using Xparent Blue Tapatalk 2
[Nexus 6P Original Android Development] emiwonder:
yes, seems like it is going to show this message everytime you turn it on. kind of like moto devices. mine booted sucessfully. UPD: got a bootloop after installing TWRP. strange
[Nexus 6P Original Android Development] csh8428:
I had a similiar issue and this worked for me:

Download the the SkipSoft unlook/root tool. Go into Fastboot. Launch the tool on your pC, go through the "pick your version prompts". Once you get to the main screen with all the things you can do pick option 9(Download, Extract, and Flash Google Factory Stock Rom). Once you get it working, re-enable USB debugging in developer options. Then go back into fastboot and pick option 6(Flash Recovery) and pick TWRP.
[Nexus 6P Original Android Development] emiwonder:
Is there any way to disable that annoying message about unlocked bootloader?
[Nexus 6P Original Android Development] Lexmazter:
This post is just a small peek-a-boo for the new version of the MultiTool, I have no ETA right now, but most of the functionality is already present (unlock/lock bootloader, flash recovery, connection detection, sideload), the tool will be as before, cross-platform.

I'm just curious if people actually see a benefit of having a real GUI and if so, what other features would also be useful in such a tool.

P.S. After the actual release it will also go Open Source licensed under LGPL.

[IMG="AndroidMultiTool Alpha"]http://www.mediafire.com/convkey/f0c3/6i563lrfzd8az906g.jpg[/IMG]
[Nexus 6P Original Android Development] Ramone360:
im having the same problem. what do you mean deleted data 2/3 times ? thank you

edit : got it ! nvm
[Nexus 6P Original Android Development] exo8:
Can you please elaborate how you fixed this?
[Nexus 6P Original Android Development] Lexmazter:
I guess the part about flashing the kernel actually fixed it.
[Nexus 6P Original Android Development] exo8:
Which kernel? Thanks! I'm having a hard time mounting my 6P in this condition.. did you flash via adb?
[Nexus 6P Original Android Development] Lexmazter:
I guess it's this kernel and it's flashed from fasboot using this command:

fastboot flash boot <nameOfKernelHere>

P.S. I don't have the phone yet, unable to buy it in my country.
[Nexus 6P Original Android Development] freddienuxx:
I unlocked the boot loader bit won't let me flash recovery

Sent from my Nexus 6P
[Nexus 6P Original Android Development] Lexmazter:
Can you give more details? What does the tool say while you try to do this? Are there any errors?
[Nexus 6P Original Android Development] freddienuxx:
Yes! I'm OK lol. Do I have to download adb drivers?

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

I'm gonna back on computer now
[Nexus 6P Original Android Development] Unforgivenlife1986:
ok so i unlocked the bootloader. i installed the twrp recovery. Now when i go and find my super su file in recovery i cant find it for nothing. Also errors come up like unable to mount data and sd card. I need help please :)
[Nexus 6P Original Android Development] shimbob:
linux fastboot binary is old

The fastboot linux binary included with this v1.1 toolkit doesnt support the flashing command.

Had to grab an updated fastboot from here and that did the trick.
[Nexus 6P Original Android Development] Ramone360:
Flash the modified boot image from chainfire then format data in twrp. Modified MDB08K image works fine with the latest MDB08M build. #runninglikeachamp
[Nexus 6P Original Android Development] Unforgivenlife1986:
Ok so i just i just flashed the modified boot image. So i installed the Supersu and now im on a bootloop. Should i have cleared dalvic and cache??
[Nexus 6P Original Android Development] Ramone360:
Your welcome. That's your choice [emoji6]
[Nexus 6P Original Android Development] Unforgivenlife1986:
But now im stuck in a bootloop after flashing the super SU. WHYYYY??? lol
[Nexus 6P Original Android Development] Ramone360:
Thought you said your rooted but OK. Well idk probably you did something wrong
[Nexus 6P Original Android Development] Unforgivenlife1986:
do i have to format when i install the super su??
[Nexus 6P Original Android Development] Ramone360:
Assuming you already unlocked the bootloader

1. flash twrp via fastboot

2. flash the modified image via fastboot

3. Reboot into recovery and format userdata

4. Reboot and setup device and copy the lastest supersu beta onto the device

5. Reboot into twrp and flash supersu

6. Reboot

That's what I did. Hope this helps
[Nexus 6P Original Android Development] Unforgivenlife1986:
I just redid everything you had told me and it was successful installing super su no errors in the log and its not booting up
[Nexus 6P Original Android Development] Ramone360:
Flash the latest factory image and try again
[Nexus 6P Original Android Development] Unforgivenlife1986:
I have done that at least 3 times now its very frustrating. Could it be a bad supersu file im using?
[Nexus 6P Original Android Development] Ramone360:
Which one your using?
[Nexus 6P Original Android Development] Unforgivenlife1986:
beta supersu 2.52

what if i try to use an older version
[Nexus 6P Original Android Development] Ramone360:
That's what I'm using

Won't hurt to try an older version
[Nexus 6P Original Android Development] Unforgivenlife1986:
Do i have to reformat everything and then try the older one?
[Nexus 6P Original Android Development] Ramone360:
Idk but I recommend you do that
[Nexus 6P Original Android Development] Unforgivenlife1986:
im really giving up. I completely wiped everything out. IM using the MDB08k file, with a decrypted boot image. and everything works just fine. But when i go and flash the supersu file it just does a bootloop.
[Nexus 6P Original Android Development] Ramone360:
Try wiping dalvik and cache after you flash supersu
[Nexus 6P Original Android Development] Unforgivenlife1986:
I have done that already. I have no idea what else it could be.
[Nexus 6P Original Android Development] notfaded1:
Are you sure that image is modified insecure?

If that image isn't modified insecure like the one uploaded by chainfire supersu won't be able to root it? Try same process but use chainfires insecure image.
[Nexus 6P Original Android Development] Unforgivenlife1986:
I tried chainfires image and it finally worked :)
[Nexus 6P Original Android Development] curtdragon:
Ugh no matter what I do I can't get TWRP to see my internal memory
[Nexus 6P Original Android Development] Lexmazter:
I guess that's because all the internal data is encrypted, which means that you need to format all in order for TWRP to be able to see it and use it properly. I guess the way to do this would be through fastboot. But I don't have the phone yet so make sure you check some of the guides and comments around before taking a leap of faith.
[Nexus 6P Original Android Development] bryancotton84:
Im getting a weird error using a Mac....

Bryan-*******-MacBook-Pro:6PMultiTool.v1.1 bryan******$ sh 6PMultiToolv1.1-M.sh

6PMultiToolv1.1-M.sh: line 135: syntax error near unexpected token `)'

6PMultiToolv1.1-M.sh: line 135: `echo " with the name you gave it :) "'
[Nexus 6P Original Android Development] Lexmazter:
Apparently there is a typo there, at line 135, also, the mac binaries are very old and bootloader unlocking will not work unless you get the android-sdk and update the binaries yourself. I had no chance to test my work on MAC so far....
[Nexus 6P Original Android Development] mskip:
Deleted. Answered already.
[Nexus 6P Original Android Development] animere:
New TWRP works with Encrypted phones

https://dl.twrp.me/angler/

http://www.androidpolice.com/2015/1...ryption-on-the-nexus-6p-nexus-5x-coming-soon/
[Nexus 6P Original Android Development] littleneutrino:
Anyway Yet that a tool can Unlock, and Root the phone without wiping the data?
[Nexus 6P Original Android Development] bryancotton84:
Hmm after this error I tried with just fastboot and fastboot oem unlock command but kept getting an "unknown error"
[Nexus 6P Original Android Development] Lexmazter:
That's because the adb and fastboot binaries for MAC are very old and don't have the new "fastboot flashing unlock" command implemented.

Right now I'm working on a new version of the tool which will be tested on Windows, Linux and MAC, as an alternative you could download the android-sdk, get the platform tools and copy the binaries in the data folder, in the place of adb_mac and fastboot_mac, after that it should work.

If not, you can try unlocking manually using the commands in the terminal.

If you don't want to do that, you can wait for my new release of the tool which will hopefully be this weekend and if I can get hold of a MAC to test it...

Please note that the new release is a whole different thing and might not be ready until next week, as it will be a full GUI with lots of other features (I have an old screenshot on the main thread in the Soon section).
[Nexus 6P Original Android Development] billku:
Sorry if this was asked already, but where does one download chainfires insecure image? I'm also in bootloop after rooting through the twrp and installing supersu. Thanks so much in advance.
[Nexus 6P Original Android Development] bryancotton84:
Sorry should of been more clear. I downloaded the newest android-sdk and was still having issues in inputting manually in terminal with "fastboot oem unlock" I cant seem to find any information at all as to why it wont unlock.

EDIT: Disregard, just found that the new command is "fastboot flashing unlock"
[Nexus 6P Original Android Development] billku:
Desperately need help. I'm in a bootloop so I can't directly load the factory image onto my phone and start over, I'm trying to use the Multi-tool to sideload the image, but the it's telling me "device (null) not found" and is not loading the factory image onto the phone. I have the phone connected to my computer (which seems to recognize it) and in fastboot mode, I'm not sure what I'm doing wrong, though certainly I am very new to adb. Can anyone please advise? Thanks so much...

Some more details to my screw-up -- I was in a bootloop after TWRP rooted my phone and installed SuperSU for me, then I read about the issues with SuperSu on this thread, so I figured if I relocked and then unlocked the bootloader, it would erase SuperSu and I could start again. But I'm still in the bootloop, and now I realize that USB debugging is no longer checked since unlocking the bootloader again erased all data. I realize I've royally screwed up, I'm hoping someone out there can help me or point me somewhere helpful... again, thanks so much...
[Nexus 6P Original Android Development] claribanter:
Hey, I was in a bootloop after using this tool too. I've modified it to install TWRP 2.8.7.1 instead of 2.8.7.0. Which took care of device encryption causing twrp to not have access to the data partition. I also added an option to install chainfire's insecure boot. The insecure boot part is what you need to install to get out of the boot loop. Just get back into the bootloader by holding the power and volume down buttons and then use option 6 in the tool.

Here's the modified tool:6PMultiTool.v1.2

I sent a message to Lexmazter (op) to ask him if he would upload it but it's going to take a while for him to get back to me and I can't sit here while you panic in a bootloop with your new device. Hopefully he's not mad. Just to be clear I had very little to do with creating this tool. I just modified a few lines of code to update it. Lexmazter is the original author of the script.

Good Luck

Edit: Fixed link
[Nexus 6P Original Android Development] daihl92:
I can't even get terminal to recognize it. I just get "No such file or directory"

Any hints?
[Nexus 6P Original Android Development] urbanpitch:
Mac terminal is having some strange issues, even when unlocking via fastboot flashing unlock which results in an error

I'm trying to find out what's going on but the device 'angler' can't be found when I do an adb device check anyone have any hints? I'm totally lost at this point after reinstalling all abd and fastboot sdk tools back to $path ?
[Nexus 6P Original Android Development] daihl92:
I actually got it to work with another process. Unlocked, flashed twrp, formatted, and installed supersu. Waiting on the first boot, it has been taking quite a while on the final boot screen before it says android
[Nexus 6P Original Android Development] billku:
Unfortunately, I'm still in a bootloop after using option 6 in your modified tool. I've been researching how to flash a factory image under these conditions, but I'm having no luck. Really bummed out, can anyone point me in a direction to figure out how to flash a factory image on a phone that won't boot and may not have USB debugging checked off since the data was reset?
[Nexus 6P Original Android Development] Lexmazter:
Flashing of factory image has nothing to do with USB debugging, it's all from bootloader (fastboot commands).

In order to get back to the factory defaults and get back to ground zero, just download the image from this link, extract it somewhere like C:/ and run the flashall.bat.

If you don't have fastboot or adb installed in your environment, then just copy the adb.exe and fastboot.exe from Data folder of my tool in the same folder where the factory batch is.
[Nexus 6P Original Android Development] billku:
it's telling me that it can't find my device. I'm pretty sure I've installed the device drivers, what else could be causing that error?

---------- Post added at 11:33 PM ---------- Previous post was at 11:28 PM ----------

Also, I'm running minimal adb and fastboot and I have adb.exe and fastboot.exe in the folder along with the angler tar, and it's telling me that it doesn't recognize the flashall.bat command. So frustrating.
[Nexus 6P Original Android Development] Lexmazter:
Just double click the flashall.bat, don't execute it from cmd, if you want to execute it from CMD you need to be in the exact same folder to do so.
[Nexus 6P Original Android Development] billku:
Sorry to be thick about this, but I don't see and flashall.bat to click on. I tried minimal adb and fastboot, I also tried regular sdk and platform tools. I pasted the factory image into the platform tools folder. I see adb.exe, dmtracedump.exe, flashboot.exe, etc1tool.exe, etc, but no flashall.bat. I did try the "adb shell" command, and it said device 'null' not found. I get the sense it's not seeing my phone, and I have no idea where this "flashall.bat" command is on top of that. Again, apologize for my issues here, I don't get what's going on.

UPDATE: Realizing that I didn't extract the tar, just the tgz file. Didn't realize I had to double extract. Let's see if I can get this to work now...
[Nexus 6P Original Android Development] Lexmazter:
I guess you haven't extracted the .tar and .tgz archives of the factory image, the flashall.bat is in the archive and in the last folder in the archive, that's what you need and there is where you need to put the fastboot.exe.

If you don't know how to open or extract the archives, you can try by installing 7-zip.
[Nexus 6P Original Android Development] billku:
SUCCESS!

Thanks so much for your patience...
[Nexus 6P Original Android Development] Lexmazter:
Well, you can hit the thanks button while at it :D
[Nexus 6P Original Android Development] billku:
You got it!!!
[Nexus 6P Original Android Development] notfaded1:
Glad you got it...

That's how you learn right? Gratz
[Nexus 6P Original Android Development] Lexmazter:
New release up, please note that some things were not tested properly due to the fact that I don't have the device, but I seriously hope you enjoy it. :)
[Nexus 6P Original Android Development] cantsingh:
Going to give this a shot on my 6P / Macbook combination. Here goes nothing, thanks Lex!
[Nexus 6P Original Android Development] lynxznet:
http://puu.sh/lcVcG/01830c3eba.png

Hmm.. Your new release is not working on Windows 10. Also, I tried to run in compatibility mode for 8/7 then run as admin. Nope.
[Nexus 6P Original Android Development] Lexmazter:
Apparently i forgot to add qwindows.dll to the package. You should download it from somewhere, i'm not at my pc, will update the zip file once i get to the pc.

You can also use dependency walker to check for the missing dll. Sorry for that...
[Nexus 6P Original Android Development] Tw1ser:
Is there actual qwindows.dll download link anywhere? I've tried multiple and it still gives the same error. Also, where do you put that .dll file?
[Nexus 6P Original Android Development] Lexmazter:
The .dll file needs to be next to the .exe file.

But to skip all, just download Qt IDE and install it, it will run fine after that. Untill I update the package that is...
[Nexus 6P Original Android Development] Tw1ser:
Yea that's what I've done, but it still gives the error. I tried downloading Qt IDE but my down speed is to slow right now, so I'll just wait for you to fix it :)
[Nexus 6P Original Android Development] Lexmazter:
From what I read the qwindows.dll needs to be in a folder platforms next to the .exe, you should try that, if not, will figute it out when I reach home. (Like 4 hours maybe)

You can check google for this problem, I found some nice stackoverflow answers that should fix it.
[Nexus 6P Original Android Development] pittnuma:
yep, get the same error, no luck with qt either
[Nexus 6P Original Android Development] cantsingh:
okay, spent all day fighting this thing to get it working and it turns out the only thing missing is the option to flash the insecure boot.img. The moment you flash that, everything works. great job OP!
[Nexus 6P Original Android Development] lynxznet:
I've gotta say.. if you want the app to succeed, you shouldn't delay putting that DLL in or even adding it to your post ASAP. It prevents a lot of people from being able to use it.

Also, I'm pretty unable to locate the dll you are talking about. The original program you uploaded was great, and this new one seems even better. But yeah, pretty much everyone is going to run into this issue now.
[Nexus 6P Original Android Development] Lexmazter:
Soon will get home and fix it for you. Just a little more, party over soon ?
[Nexus 6P Original Android Development] RoscoeDpG:
haha take ur time we not going anywhere
[Nexus 6P Original Android Development] chevycam94:
Windows 10 x64. For me, it wont run. Errors out saying it cant find "QT".
[Nexus 6P Original Android Development] Lexmazter:
Okay, sorry for the long wait, as expected qwindows.dll was missing, tested on my girlfriend's laptop, it had the same problem and the .dll fixed it.

The .zip file with the newly include .dll has been put instead of the old one in the main thread.

I'm truly sorry for this issue and I really hope that it's fixed now, need to sleep in peace (4 AM here).
[Nexus 6P Original Android Development] rootdefyxt320:
Lexmazter, I think if you use [MENTION=3682533]AdamOutler[/MENTION] CASUAL language, this would make it compatible across the WIndows, Mac and Linux platforms with the one file. This would make your life easier in general and you would only need to maintain one release.
[Nexus 6P Original Android Development] dolapo78:
Any instructions on how to properly use this tool?
[Nexus 6P Original Android Development] Lexmazter:
CASUAL is java based and basically the same things would have differ in the actual code, I thought at what language/platform to use before starting it and QT won.

Depends what you mean by that. There are instructions of how to run it, don't know exactly what I should add to help with that. The tool has tool-tips assigned to all buttons, maybe those will help.
[Nexus 6P Original Android Development] lynseyw:
Ok, so I haven't been in the game for a few years as I have had locked down Samsung devices on Verizon. I used to be all into it and even made some mods myself. I really feel like I have to learn it all over. I don't care if I am rooted that much, as at the moment I actually use android pay. What I would like to do is unlock the bootloader, install TWRP, so I can flash the mod that moves the back button to the right side instead of the left. How do I go about this? When connected, what mode should my phone be in.

Also, I get the android with a red triangle when I try to boot into stock recovery. Why is this happening?

Any help is greatly appreciated.
[Nexus 6P Original Android Development] Lexmazter:
You need to be in bootloader in order to have Fastboot mode active, from there you can use all the fastboot related stuff. You need to have the bootloader unlocked but - Android pay might not work with an unlock bootloader. You need a custom Recovery (twrp that's included) and a custom kernel to be able to boot (Chainfire's insecure boot).

After that you're ready to go.

ADB mode is available in Recovery and while booted in the actual ROM with the USB debugging on.

If you're using this on Windows, you need to install the device drivers by yourself from here.
[Nexus 6P Original Android Development] lynseyw:
Should I worry that I am getting the red triangle andy when trying to boot into stock recovery? How to fix this?
[Nexus 6P Original Android Development] boynamedstacy:
I am also having some issues using a mac. I was able to unlock and install twrp but it wont boot into the system. I get the insecure flash screen and it asks for my password. (0000) says it is the correct password but then tells me there is a problem with my device and to contact the manufacturer. It then makes me factory reset the phone. I tried using the sideload feature in twrp but that failed on boot also.
[Nexus 6P Original Android Development] Lexmazter:
To be honest I don't know how the the stock recovery should look like (don't have the phone) and you have nothing to do there :).
[Nexus 6P Original Android Development] Lexmazter:
Heve you flashed the kernel (Chainfire's insecure boot) via fastboot?
[Nexus 6P Original Android Development] boynamedstacy:
Yes, I tried that through your tool and it seems like it froze. The progress bar filled up and stayed there. I had to hit the upper left red exit button to close the dialog. It doesn't appear to have worked
[Nexus 6P Original Android Development] Lexmazter:
If the progress bar was filled that means it finished flashing, will add to my Todo list to show a message when finished...
[Nexus 6P Original Android Development] boynamedstacy:
OK cool. But I still can't boot into the system, I am stuck in twrp or fastboot. The return to stock option is not working through the tool either. Any suggestions on how I can get up and running again?
[Nexus 6P Original Android Development] Lexmazter:
In the main thread in the FAQ section I've provided details how to use the return to stock feature.

You need to download first the archive from here, from the tool, stock option select open folder, and copy there the folder from the 2 archives (the one that contains the images, but the folder is needed).

I didn't included any stock images in the tool because of the 1 GB size increase of the archive.

Edit: Please note that the Chainfire's kernel only works with mdb08k variant, so maybe that's why it doesn't work for you.
[Nexus 6P Original Android Development] lynseyw:
Me too, not sure what to do now. Tried factory reset, can get it to boot, but can't get very far as gapps has stopped working and flashes error every second.
[Nexus 6P Original Android Development] Lexmazter:
Can you check what variant do you have flashed on your phone? (software version, variant, whatever) as the kernel is only working with mdb808k.
[Nexus 6P Original Android Development] lynseyw:
Yes, I was using MDA89D, so now what do I do?
[Nexus 6P Original Android Development] Lexmazter:
Flash the stock image of mdb08k and start over...

You don't need to unlock bootloader againt though, only recovery, kernel and whatever you need next.
[Nexus 6P Original Android Development] lynseyw:
Will try. Downloading now. The download is so slow.