yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Q&A, Help & Troubleshooting] PhillyKing:
Hi All and Thanks!

I recently got a Nexus 6p but I'm having issues transferring my data and setup from my 1+1 to it.

When I tried the Tap and Go, the only device it would list is my Nexus 5 but not my 1+1, even though it's the most recently used device.

I then tried using Google Settings and Setup Nearby Device...nothing.

Finally tried using the NFC touch method and still nothing. I get no response from the N6p. I got a response when I touch the N5 and 1+1 but none with either phone to the N6p.

Thanks for any all help!
[Nexus 6P Q&A, Help & Troubleshooting] PhillyKing:
I figured out where the NFC for N6p is but still doesn't do anything. Going to try to factory reset again.
[AT&T Samsung Galaxy S6] Cusa:
Pic of supersu working?
[AT&T Samsung Galaxy S6] PMDColeslaw:
Does it trip Knox or any of that mumbo jumbo? If we test it how do we go back if we don't want to reroot every time?
[AT&T Samsung Galaxy S6] metalcated:
See attached image.
[AT&T Samsung Galaxy S6] PMDColeslaw:
Nice! So if we flash this and want to revert back to stock I assume Odin would be the only way. If so does that mean loss of all your data?
[AT&T Samsung Galaxy S6] dreamyy5:
Can you show us how to do this ? Thank you!
[AT&T Samsung Galaxy S6] metalcated:
Honestly I would say a clean removal of SuperSU through the SuperSU App should work. Although I have not tried this yet, but I don't see why it wouldn't work. However if it does not, yes flash back to using Odin would be needed and a total loss of data would be in order, so as always... backup, backup!
[AT&T Samsung Galaxy S6] PMDColeslaw:
Interesting. I wonder if you could use this to develop some sort of script like the safestrap recovery on the S4? Maybe one that runs the root commands on boot from a file on the phone instead of adb.
[AT&T Samsung Galaxy S6] metalcated:
I welcome it to anyone willing to do it. :)
[AT&T Samsung Galaxy S6] PMDColeslaw:
It's out of my wheelhouse unfortunately, but it seems like a possibility. Hopefully someone else can give it a shot. Are you able to debloat with the root you have so far?
[AT&T Samsung Galaxy S6] metalcated:
I created a system img that is flashable via FlashFire, I will zip it up and upload to AFH.
[AT&T Samsung Galaxy S6] dreamyy5:
I tried to run root-Install.cmd, after that I stuck in booting (with at&t logo), seems that root-Boot.cmd doesn't help. BTW,my firmware version is G920AUCU3BOI2, would that make a difference?
[AT&T Samsung Galaxy S6] metalcated:
I haven't tried this on OI2, you may need to upgrade to OJ7. I put the link in the thread. If you pull apart the tar and extract the system.img and boot.img from the kernel and make your own tar (use 7zip), you SHOULD not loose your personal data and all it would do it update your system. BUT, you'll also need to update the recovery, etc. It can be done but you'd need to be careful how you do it so you don't loose your data. I would just back up your phone and expect to loose your data. Let me know if you need help.

With different builds in mind, I updated the scripts. PM me if you want the updated link to tested on other builds.
[AT&T Samsung Galaxy S6] PMDColeslaw:
I'm on BOJ9. Can I still flash the debloated file or is it based on another build?

UPDATE: After flashing the two files in images folder the phone rebooted and I got this Knox message.

When I try to run the root.cmd file nothing happens. Any suggestions?
[AT&T Samsung Galaxy S6] metalcated:
Try to use debloater and disable Knox and reboot then try again if root is not active. I may need to dig some more and add some cmds to the script to disable Knox software. I was able to boot up and then disable it.
[AT&T Samsung Galaxy S6] PMDColeslaw:
I cant get root because the intall-root.cmd file won't run. It just flashes a cmd prompt and then closes. I'm on windows 10
[AT&T Samsung Galaxy S6] metalcated:
Oh you know something. I didn't include adb.exe, do you have adb installed? Install it here if not - http://xdaforums.com/showthread.php?t=2588979
[AT&T Samsung Galaxy S6] metalcated:
Plus make sure that you have the correct drivers installed and can see your device.

# adb devices
[AT&T Samsung Galaxy S6] PMDColeslaw:
I do have adb and can see it under devices. Do I need to move the .cmd file to the adb folder?
[AT&T Samsung Galaxy S6] metalcated:
Only if you don't have the directory for adb in your path. So if you don't then yes.
[AT&T Samsung Galaxy S6] Droid_JD:
no pressure or anything. The way I see it, we're just lucky to have someone (potentially) working on this.

sent from your mom's phone.
[AT&T Samsung Galaxy S6] krainal:
Holly mother!!!, so close to get it. would be a huge achievement, the startup sound is not important ta as we achieve the proper restart the phone. We will be waiting with crossed fingers. ;)
[AT&T Samsung Galaxy S6] karate104:
What's the best way to backup my phone prior to using this root method? If I understand this phone's structure correctly (and this is based on my understanding of previous Galaxy phones, not specifically S6), kernel and recovery are tied together meaning no custom recovery and thus no backups via CWM or TWRP (someone please correct me if I'm wrong). So how are we to backup our phones then?
[AT&T Samsung Galaxy S6] SplashUp:
I am also using windows 10, I had the same issue, when I didn't turn on developer mode. After that I opened the cmd file from cmd prompt instead of double clicking.
[AT&T Samsung Galaxy S6] shichemt:
Use Smart Switch or MyBackup Pro.
[AT&T Samsung Galaxy S6] notobsessivejustcurious:
Thank you sir!,

added a variable, rebooted, root-install.

now i'm rooted. thank you!
[AT&T Samsung Galaxy S6] SplashUp:
I am able to root, but whenever I tried to Flashfire debloated it is getting into bootloop right after the first screen,

I am not even getting the samsung animation and the blinking blue charging light. I am using OJ9, please provide a working debloated with xposed.
[AT&T Samsung Galaxy S6] krainal:
You can try Flashfire. It's a powerfull tool from Chainfire.
[AT&T Samsung Galaxy S6] karate104:
Flashfire requires root. Can't use it prior to rooting your phone...
[AT&T Samsung Galaxy S6] metalcated:
This has worked for others, not too sure why your phone is having issues. You can debloat the phone yourself and not use the one I provided. Since this has worked for others I cannot say what issue you are having or if any apps on your phone to be at fault of at all. OJ9 system is not supported at this time, OJ7 system is all we have been able to get working.
[AT&T Samsung Galaxy S6] metalcated:
You can also see this link for reference: http://xdaforums.com/galaxy-nexus/general/guide-phone-backup-unlock-root-t1420351
[AT&T Samsung Galaxy S6] elesbb:
can someone give me this file from their device, it is located here: /system/bin/toolbox

I need that file please. :) Thanks!

File was provide! Thank you [MENTION=3834401]shichemt[/MENTION]
[AT&T Samsung Galaxy S6] GayCasper:
It's rooted
[AT&T Samsung Galaxy S6] Vaira:
Have you considered the ability to run scripts from su.d folder (once gained root) which is akin to init.d and considered chainfires supolicytool?

5.5.1 at his references:

https://su.chainfire.eu/

And supolicy --live "permissive *" is used to permissive all teh things at his su update-binary which is actually a plain text script...

Once gained root a folder su.d with a script made for your needs (instead of init.d script) and supolicy --live "permissive *" can help...probably...it is executed on any reboot

I don't know..what do you think?
[AT&T Samsung Galaxy S6] metalcated:
Yeah we've already been down this path, init.d and su.d don't run soon enough. The kernel is enforcing selinux.
[AT&T Samsung Galaxy S6] TheRootPrince:
So where is the actual guide? Is it assumed we flash this just with Odin or? You seem to talk about adb but give no adb commands.
[AT&T Samsung Galaxy S6] Vaira:
Sure you have tried it exactly this way using supolicy of CF? I do not mean using su..

BTW: su.d folder and script perm.sh or something should be chmod'ed to 0700....

#! /system/bin/sh

/system/xbin/supolicy --live "permissive *"

:)
[AT&T Samsung Galaxy S6] nugzo:
What are the chances of this method working for the ATT S6 Edge+ (g928a)?
[AT&T Samsung Galaxy S6] metalcated:
I'll try this later on just to see. But I don't think it will work, we already checked the boot routine and init or su don't even get run before the system looks for the selinux state.
[AT&T Samsung Galaxy S6] metalcated:
Working on it...

I have 1 confirmed working and 1 failed case. I could use one more test case before I say yes or no to this working. I see no reason it shouldn't work.
[AT&T Samsung Galaxy S6] Apexseal:
Post #1
[AT&T Samsung Galaxy S6] Vaira:
Do you exactly know why it does not boot when enforcing?

Another way would be (if set it to permissive cannot be done) to make it boot when still enforcing...

Chainfires beta super su 2.67 script might give you some info..also concerning system root and the right security contexts (chcon) for the files depending on API version)

For instance this info...

Note that if SELinux is set to enforcing, the daemonsu binary expects
# to be run at startup (usually from install-recovery.sh, 99SuperSUDaemon,
# or app_process) from u:r:init:s0 or u:r:kernel:s0 contexts. Depending
# on the current policies, it can also deal with u:r:init_shell:s0 and
# u:r:toolbox:s0 contexts. Any other context will lead to issues eventually.
[AT&T Samsung Galaxy S6] doctorbatman:
Great stuff! I had no problem getting this to work on my Cricket G920-AZ. I'm all debloated and running several applications that require SuperSU. The boot script wouldn't work on my windows 10 machine, presumably because of drivers, but all scripts worked on Ubuntu 14.04. It seems like I'm getting significantly less screen time since rooting, and I'm trying to figure that out. I installed the tethered root v3, is there any reason to run it again with the v4 files?
[AT&T Samsung Galaxy S6] fff84:
Hi, congratulations for your great work!

I've got an AT&T S6 edge 5.1.1 baseband G925AUCU3BOJ7

As far as you know, anyone have succeeded rooting this phone?

Thanks
[AT&T Samsung Galaxy S6] buradd:
RTFM
[AT&T Samsung Galaxy S6] hatabush:
HELP

I have this error, what to do?

* daemon not running. starting it now on port 5037 *

* daemon started successfully *
[AT&T Samsung Galaxy S6] notobsessivejustcurious:
wait....some more or restart cmd, try again.
[AT&T Samsung Galaxy S6] oneszero:
Help Obtained root but now I have no access to Mobile Data

Have gained root access on 5.1.1, but lost access to Mobile Data in the process.
[AT&T Samsung Galaxy S6] notobsessivejustcurious:
happened to me, also.

i remedied it by going into phone settings *#*#4636#*#* (assuming you have att) go into device info and make sure you're on the network type.
[AT&T Samsung Galaxy S6] evilmrt:
Have the same model, keep us posted. I'm waiting for them to hopefully solve the tether problem before I jump in.

Worse screen time? How much worse?
[AT&T Samsung Galaxy S6] nugzo:
I can help if you need it. I'm not a dev but am familiar with adb. Been rooting since n1 days. I have the 928a on oj1.
[AT&T Samsung Galaxy S6] oneszero:
Heres all the info I Could dig up
[AT&T Samsung Galaxy S6] hatabush:
*metalcated*

xda sr member

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

. ID matched: 0/root

. Press CTRL+C to cancel or enter to continue.

Here he writes! what to do? Thank you
[AT&T Samsung Galaxy S6] doctorbatman:
I've been getting about 2 hours of screen time. I think the battery is draining more quickly while the screen is off too. Strange considering I greenify some of the annoying processes that used to run all the time (ex. Play music and peel smart remote). This is down from typically getting at least 3 hours SOT.
[AT&T Samsung Galaxy S6] 1spookydad:
How do i flash the debloated file
[AT&T Samsung Galaxy S6] notobsessivejustcurious:
Through flashfire, an app on the play store.
[AT&T Samsung Galaxy S6] 1spookydad:
Cannot get data to work. I wiped my phone with flash fire by accident and data isnt working
[AT&T Samsung Galaxy S6] notobsessivejustcurious:
Look up four posts^^^^
[AT&T Samsung Galaxy S6] 1spookydad:
where do i enter the number i dont understand lol sorry :/
[AT&T Samsung Galaxy S6] notobsessivejustcurious:
Phone dialer/keypad
[AT&T Samsung Galaxy S6] metalcated:
Someone want to write up instructions on what was done for the g925a and send them to me? Looks like this is working and I can update my post. ?
[AT&T Samsung Galaxy S6] jmoss1972:
Same process is working for the 925A as well?
[AT&T Samsung Galaxy S6] 1spookydad:
I enter it and nothing happens, when i press call it just says the number cannot be completed as dialed
[AT&T Samsung Galaxy S6] notobsessivejustcurious:
It should pop the menu up instantaneously, on att anyways, make sure you have the right sequence: *#*#4636#*#*
[AT&T Samsung Galaxy S6] 1spookydad:
Nothing is happening
[AT&T Samsung Galaxy S6] notobsessivejustcurious:
http://www.smartmobilephonesolutions.com/content/some-useful-and-interesting-smartphone-codes it should work, unless something went wonky in flashing.
[AT&T Samsung Galaxy S6] dandrumheller:
Not sure if it will work, but I use an app called "network" on the play store for easy access to these settings on my moto e.
[AT&T Samsung Galaxy S6] notobsessivejustcurious:
Were you able to get data back?
[AT&T Samsung Galaxy S6] dandrumheller:
It's a different device. Just offering an alternate selection for getting to the radio menu (it's essentially an app that does the same thing as dialing *#*#4636#*#*). Haven't re-rooted my S6 yet since 5.1.1, so don't know if it will work for sure.
[AT&T Samsung Galaxy S6] Zireseth:
Any progress with rooting?
[AT&T Samsung Galaxy S6] GayCasper:
No I'm giving up.
[AT&T Samsung Galaxy S6] metalcated:
I do have a couple confirmed cases where people with g925a have successfully rooted on OJ7. If anyone wants to help [MENTION=7099297]GayCasper[/MENTION] out who has done this as well as send me the steps you've performed and I will post those steps in the OP so everyone can benefit! I'd appreciate it.
[AT&T Samsung Galaxy S6] GayCasper:
I have the oj9 maybe that's why it's not working
[AT&T Samsung Galaxy S6] ekailai:
I can comfirm G925A is able to root using this method, the different is the AP sourse I used the G925A_Kernel_Root_5.1.1_SamFirm.NET.tar, the other steps is same as this post's method! Good Luck G925Aers.

---------- Post added at 01:18 PM ---------- Previous post was at 01:11 PM ----------

I wonder after we root can we install the rom from other model.
[AT&T Samsung Galaxy S6] metalcated:
The debloated one? The edge screen may require stuff that is not in the g920a ROM but only one way to tell, flash it and let us know! Worst case you have to flash system again and root again. Up to you though! Thanks.
[AT&T Samsung Galaxy S6] SplashUp:
I have oj9 I can root it successfully. Just don't use the debloated.
[AT&T Samsung Galaxy S6] GayCasper:
What did you do to get it to root. I've tried everything and it won't root
[AT&T Samsung Galaxy S6] metalcated:
There may be differences between oj9 releases for g920a and g925a, please make sure everyone is specific when saying what phone your rooting.
[AT&T Samsung Galaxy S6] randomphace:
[IMG="s6 Edge"]http://i.imgur.com/q6JnHbD.png?2[/IMG]

Thank you, and yes confirmed working on oj7 with the G925a.

Just flash G925A_Kernel_Root_5.1.1_SamFirm.NET.tar.md5 in the AP slot using odin.

Run the root-Install.cmd or root-Install.sh.

I don't think it is possible with oj9 due to the need to downgrade some files.
[AT&T Samsung Galaxy S6] randomphace:
I am having issues with the boot-root.cmd script. The prompt pulls up and does nothing, have tried while stuck in the bootloop, tried with the charging logo and even gave it a shot in download mode. Any help, also using G925a wonder if this may be the cause. Any other g925a users experiencing this issue

Fixed it. For some reason the script didnt work so I just copied the script text from the .cmd file and manually input it into adb
[AT&T Samsung Galaxy S6] GayCasper:
I need to get 07 instead of 09
[AT&T Samsung Galaxy S6] randomphace:
Make sure that you are actually on the os7 firmware. I was able to prevent any forced updates just in case and just updated from oi2. To do this for the future, download package disabler pro, and then freeze the attupdates apk.
[AT&T Samsung Galaxy S6] GayCasper:
Yeah I don't have the 0s7. I have 0s9
[AT&T Samsung Galaxy S6] randomphace:
I am sure there will be a workaround, it may be possible, since oj9 works on the g920a, so hang in there and also avoid marshmallow until root is confirmed. Im sure it will arrive soon.
[AT&T Samsung Galaxy S6] samird16:
I believe I got stuck in a bootloop, att logo keeps popping up, so anyway to get out of this or just restore from stock using odin? Also, is there a guide on installing the debloat software using fireflash? I tried downloading and putting the zip file onto my phone and it never came up, so I'm not sure what to do? Thanks !!
[AT&T Samsung Galaxy S6] scyther123:
everything was working fine....the phone was rooted but when i restarted the phone the root-boot command was not working gave this error

'adb' is not recognized as an internal or external command, operable program or batch file

---------- Post added at 12:51 PM ---------- Previous post was at 12:43 PM ----------

connect mobile through cable and run the root-boot cmd command

---------- Post added at 12:53 PM ---------- Previous post was at 12:51 PM ----------

connect mobile through cable and run the root-boot cmd command
[AT&T Samsung Galaxy S6] metalcated:
Check to make sure adb.exe still exists in the same directory as the boot script.
[AT&T Samsung Galaxy S6] metalcated:
Depends on what is being considered a bootloop. What may seem like a bootloop is only your phone waiting for the boot script to set selinux to permissive. Make sure before performing an Odin. To flash the debloated rom, you need to extract it to your sdcard into the Flashfire directory and perform a restore.

Also this stuff is in the main post.
[AT&T Samsung Galaxy S6] scyther123:
yes,it is still there.....the root-install commands works but ones the phone is rebooted its get stuck on waiting for adb to connect:eek:
[AT&T Samsung Galaxy S6] samird16:
I've clicked and copied and pasted the boot command multiple times to no avail. I specifically have a blank screen with a solid blue light. Thought I'd go ahead and just use odin and restore, but it fails, saying the wire connection could not be transfered or something along those lines. So I'm not sure where to go from here lol

Edit: Nevermind, used the adb method and I got it working, thank you all!!
[AT&T Samsung Galaxy S6] metalcated:
Steps are in the OP :) - Windows drivers have issues.
[AT&T Samsung Galaxy S6] metalcated:
[MENTION=7099297]GayCasper[/MENTION] - See my updates in the OP for the G925A User Binary Restore as well as the system.img for OJ7 for users who are on OJ9. That should take care of things for you.
[AT&T Samsung Galaxy S6] scyther123:
drivers are up to date also i reinstalled them still stuck on waiting for adb to connect
[AT&T Samsung Galaxy S6] metalcated:
How did you reinstall them? All you do is remove the device in device manager and then search for new devices once it's done removing. During this time leave the boot script open and running and it should boot. I have to do this every single time I want to boot my phone.
[AT&T Samsung Galaxy S6] scyther123:
in the cmd BOOTING! comes and closes but nothing happens...still stuck on att logo
[AT&T Samsung Galaxy S6] Optimus:
So even after almost a year of this release this phone is stuck on no root. I thought Samsung was not like HTC to lock bootloaders. I too have ATnt SM920A. But unfortunately the previous owner had updated the version to 5.1.1 so kinda stuck on that with no root options.
[AT&T Samsung Galaxy S6] GayCasper:
It's not Samsung it is AT&T
[AT&T Samsung Galaxy S6] shaneg79:
It is Samsung because I read that the T-Mobile Galaxy s7 has it's bootloader locked and John Leger was in talks with Samsung for a work around since a lot of their customers like to root their devices.
[AT&T Samsung Galaxy S6] notobsessivejustcurious:
Okay ☺

While plugged in and doing the root- install, actually let it boot, while its still connected, wait, it does take a while- maybe 2-3 minutes! I'm stressing the wait part.
[AT&T Samsung Galaxy S6] scyther123:
after uninstalling the drivers its stuck on ''press ctrl c to cancel or enter to continue ''

what to do ?
[AT&T Samsung Galaxy S6] karate104:
Did you even read the OP?...
[AT&T Samsung Galaxy S6] scyther123:
this is not working.....ones i uninstall the driver it doesn't reinstalls them till i remove the cable and connect again...but that terminates the root-install script

the root-boot scripts completes but still the phone is stuck at logo screen
[AT&T Samsung Galaxy S6] 1spookydad:
What I had to do was, leave my phone plugged in, uninstall the driver, scan for hardware changes and then it will start installing skip looking through windows update and keep the boot script open. The drivers will re install and then it should say booting and load up.

---------- Post added at 02:24 AM ---------- Previous post was at 02:20 AM ----------

Same here
[AT&T Samsung Galaxy S6] texanman:
Worked great on my S6 but have a question. Is there anyway this would work on the s6 active?
[AT&T Samsung Galaxy S6] metalcated:
Only if there was a signed eng kernel available
[AT&T Samsung Galaxy S6] robikonobi:
[MENTION=2835049]metalcated[/MENTION] - thank you so much for getting this to work on our g925a. It is working beautifully. The only thing that i noticed was that in flashing the Ap plus root package provided on the op, it reverted my install from BOJ9 back to BOJ7. Only the BL stayed at BOJ9. Is there a way to use the BOJ9 system partion with your root method?
[AT&T Samsung Galaxy S6] jrtran:
[MENTION=2835049]metalcated[/MENTION] - Do you think it would work on N920A(N920AUCE2APB2 firmware) if i have the kernel?
[AT&T Samsung Galaxy S6] metalcated:
BL OJ9 is fine and wont change, also I have not been able to get OJ9 to work.
[AT&T Samsung Galaxy S6] metalcated:
Possibly yes, I can't say for certain but it's definitely possible if you have an eng root kernel.
[AT&T Samsung Galaxy S6] Optimus:
ok just to be sure, what i read was that unless you restart the device by choice or it happens to restart your on boot loop unless you run the script?
[AT&T Samsung Galaxy S6] metalcated:
Yes that is correct
[AT&T Samsung Galaxy S6] jrtran:
I see the root kernel at this post (http://xdaforums.com/att-galaxy-note5/general/bum-root-samsung-n920a-5-1-1-free-t3329020) but wonder it good for the baseband on this n920a. Any suggestion?
[AT&T Samsung Galaxy S6] Optimus:
thank you for ur help and work , but do u think that in Marshmallow this issue of script can be resolved?
[AT&T Samsung Galaxy S6] metalcated:
The kernel may or not not work. Your on 5.1.1 or 6.0.1?
[AT&T Samsung Galaxy S6] metalcated:
The problem with having the need to use a script to boot your phone is due to selinux not being permissive and rather being enforced causing any foreign binary "app_process64" which is replaced to enable SuperSU to work is not part of the original system and causes the process to crash since selinux doesn't like it. I've recently narrowed it down to that binary specifically and am working on a workaround. Haven't had much success yet but I'm still working at it as I have free time.
[AT&T Samsung Galaxy S6] jrtran:
it is on 5.1.1 N920AUCE2APB2 firmware
[AT&T Samsung Galaxy S6] metalcated:
It's worth a try but if you do make sure you do a backup of all your data and have a system restore user binary available and ready. Only thing you need to flash is the AP slot system.img. So you'll need unpack the system.img and then tar it up then flash in Odin like you normally would. You don't need the rest to be flashed. You may even be able to roll back to OJ7 system only which we know works. You can't flash OJ7 BL or Recovery.
[AT&T Samsung Galaxy S6] jrtran:
By any change do you have the system img for my version or files for OJ7?Thanks