yashsingh1/xdaforums huggingface dataset:
[Nexus 6  General] redzee:
I had to get a newer version of the platform-tools which has a new version of ADB and also made sure to get the newest drivers and it worked. Thank you
[Nexus 6  General] shakyone:
I added this line

net.tethering.noprovisioning=true

at the end of build.prop using this guide to help me:

How to edit build.prop

Problem resolved.
[Nexus 6  General] mdowns989:
I have T-Mobile...with unlimited data... And tethering 'works' but is obscenely throttled for some reason... Like running at 66KB/s from 2MB/s... Not sure why this is happening...tried the build.prop edit and didn't change it any... Any ideas?
[Nexus 6  General] jasonftfw:
https://newsroom.t-mobile.com/issues-insights-blog/stopping-network-abusers.htm

That should give you an idea of what's going on for T-Mobile...
[Nexus 6  General] Micronads:
Does anyone know where the global settings database moved to? On sprint, I can't tether with only the build prop mod. Still missing something.
[Nexus 6  General] f00d4tehg0dz:
not working on T-Mobile. Either A, you get throttled or B. Any source that connects to you gets back no internet detected.
[Nexus 6  General] disasterinc:
Not working on my stock Nexus 5X on cricket wireless. I did check after a reboot (using "settings list global") and tether_dun_required is indeed set to 0. That sucks. Guess I'll have to go the build.prop edit route.
[Nexus 6  General] jasonftfw:
Look up about 2 posts at the article I linked to. T-mobile is getting smart
[Nexus 6  General] f00d4tehg0dz:
yup. I saw, I was just confirming it(at least on my end).
[Nexus 6  General] ilarson007:
Hi. I am running stock rooted Marshmallow on my N6 on Sprint. I too noticed that this file doesn't exist anymore, but good news. I edited the build.prop file to add net.tethering.noprovisioning=true, and I am currently working on my laptop through my hotspot connection.

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

I'm on a laptop connected via hotspot with Sprint right now... I only edited build.prop
[Nexus 6  General] tommyg562000:
Thanks OP, worked perfect on my 6p with verizon.
[Nexus 6  General] Micronads:
I am also on sprint, have the build prop edited and can connect to phone hotspot. But it will not transfer data. I just get the not connected to network message when I try to go on any online app. I am on light rom by danvdh at the moment.
[Nexus 6  General] streetracer8605:
I'm on sprint too. I had to do the adb command and edit the build prop. After I did both, it works now. When I did just the build prop edit my laptop would connect but had no internet. Once I did the adb command with the build prop edit it works.
[Nexus 6  General] Micronads:
Did you do the adb command with a computer? Are you able to do the command thru terminal emulator? Thank you for the input as I want to figure this out.
[Nexus 6  General] streetracer8605:
I did the adb command with a computer. I'm not sure about being able to do it with the terminal emulator
[Nexus 6  General] dvandam:
Has anyone been able to get this to work with AT&T? I have Straight Talk that uses their network and I get that annoying prompt that doesn't let me turn it on.
[Nexus 6  General] karana:
I got the feature officially added. How do I undo so that I can start accepting OTA updates again?
[Nexus 6  General] nhizzat:
Do the opposite of what you did: remove what you added.
[Nexus 6  General] jdee323:
it works in terminal emulator, just dont forget to get su permission first.
[Nexus 6  General] bmakk2055:
How do you edit it in recovery?
[Nexus 6  General] zombioptic:
If doing it through terminal emulator, keep in mind that you don't need to start a shell. Once you are in su, jus type the settings command and you're good to go.
[Nexus 6  General] sumtingwong:
Yes. I am on the old Nexus 6 with StraightTalk AT&T and the pmhesse's method below worked for me
[Nexus 6  General] mywindow:
Thank's for the solution to USB Tethering with T-Mobile on my rooted N6. Works better then I could have expected with my Linux machines.

-

1.) adb shell settings put global tether_dun_required 0

2.) Add to build.prop with Kernel Adiutor search "com.grarak.kerneladiutor"

Key: net.tethering.noprovisioning

Value: true

3.) adb reboot

Now enable in: Settings --> More --> Tethering & portable hotspot --> USB tethering
[Nexus 6  General] AdamJH77:
WTF? Soft Brick?!?

I have a Nexus 6 that's currently upgraded to Marshmallow 6.0. I unlocked and rooted the phone with Nexus Root Toolkit v2.1.0 and installed TWRP. However, BuildBox failed to install - it was the instruction's final suggestion in the rooting process. So I'm not sure if that has anything to do with what I'm experiencing.

Anyway, I'm trying the "net.tethering.noprovisioning=true" solution by editing the build.prop file and adding that line to the end of the file. However, as soon as I reboot my phone it just sits in a black and white screen with "Google" in the middle of the screen and an unlocked padlock at the bottom. I've left it like this for 20 minutes and nothing happens.

I have to enter TWRP and restore my system to get my phone working again.

Any thoughts?

---------- Post added at 05:52 AM ---------- Previous post was at 05:27 AM ----------

Great Googly Moogly! I had been editing build.prop with RB Text Editor through Root Browser. For sh*ts and giggles, I tried editing the file with ES Note Editor through ES File Explorer and saved the file with UNIX Terminators, restarted, and boom goes the dynamite! It works!
[Nexus 6  General] imnuts:
What command are you using to add the line?

Sent from my Nexus 6
[Nexus 6  General] AdamJH77:
No command. I was opening the file in a text editor and modifying it directly.

Just to clarify: I am no longer having an issue. I was originally using RB Text Editor but this did not work. I then modified the file with ES Note Editor and it worked just fine.
[Nexus 6  General] lukem99626:
this actually worked on a non rooted stock European unlocked n6 :) cheers
[Nexus 6  General] FletchF:
I just wanted to add my data point to this discussion. My phone is a Nexus 5 freshly upgraded to 6.0.1. I am on a T-Mobile $70 "unlimited" plan, so my only goal is to be able to tether without going over my limit of 5G of hotspot data. I made the "tether_dun_required 0" change from a terminal and also added "dun" to the APN type. I did NOT make any changes to build.prop. Tethering seems to work without increasing the hotspot data counter in the T-Mobile app. This means that my /system partition is untouched so I should also be able to use Android Pay (and anything else that tests for an unmodified /system).
[Nexus 6  General] troyhough:
Is anyone else having an issue executing this on 6.0.1? when i try to push the build.prop file back to the phone, i am getting the error: " no space left on device"??
[Nexus 6  General] Jaspah:
So is there a way to unlock tethering on AT&T without modifying the system partition? 'settings put global tether_dun_required 0' doesn't work.
[Nexus 6  General] Daman09:
Does not work on AT&T with 6.0.1.
[Nexus 6  General] troyhough:
I wonder if a TWRP update will fix this in 6.0.1?
[Nexus 6  General] jasonftfw:
I don't believe that would fix as I was reading about there were changes in 6.0.1 related to the size/space of the system folder. I'll see if I can find the post I saw on this

http://xdaforums.com/showthread.php?p=64208563
[Nexus 6  General] Wongdirection:
I'm a Nexus noob, so after doing this with no issues on 6.0 (mra"N" and mra"R"), I tried it with 6.0.1 and got the exact same issue you did.

Since I'm still pretty green and noobish, what little I've found so far seems that the /system/ partition has changed a bit. I got it worse where the phone wouldn't boot up at all. It would get to the corrupted phone message at the beginning and simply shut off. So I downgraded back to 6.0.0 and continued on with my old build.prop and host file edits. I'm figuring something concrete will show up soon enough. (Though I'd like to know how folk already have modded 6.0.1 roms without issues...)
[Nexus 6  General] DualSportDad:
Are you guys using this method? http://xdaforums.com/showthread.php?t=3231301

I used it on my 5x with no issues with stock 6.0.1. My nexus 6 should be back soon from having the screen replaced and I'm thinking about returning my nexus 5x and keeping the nexus 6.
[Nexus 6  General] troyhough:
It fails for me on the N6 with stock 6.0.1
[Nexus 6  General] DualSportDad:
Fails what, to mount storage, push pull? Had to use the specific version of twrp mentioned in that thread. When I tried to use a newer version it failed to mount.
[Nexus 6  General] examan:
Fails for me as well gives disk is full error on this line.

adb push build.prop /system/

I am on stock 6.0.1 have also tried while rooted and get the same error.
[Nexus 6  General] troyhough:
which device are you using?
[Nexus 6  General] Wongdirection:
I think I'm using the newest TWRP, but it looks like it mounts okay. It's when I push the file back onto the phone is where it fails with the system full message. Also, once I do get to that point, the phone refuses to boot up past the corrupt message.

I'm holding back a bit till the experts line up exactly what's changed so I don't accidentally brick the phone to an unrecoverable state. 6.0 is doing great for me so far as it is anyways.
[Nexus 6  General] examan:
Nexus 6 XT1103... Same issues as post #80
[Nexus 6  General] ManHands:
If all you're looking to do is enable tethering in build.prop, here's a different way to accomplish this without tripping Safety Net. Therefore, you can still use Android Pay or any other app that checks if /system has been modified. I'm using the latest SuperSU 2.62-3 systemless root.

Create a script in /su/su.d. Call it whatever you like (i.e., 0000tether.script), and add the following line...

setprop net.tethering.noprovisioning 1;

Set permissions to 775, reboot, done. I did all this within Solid Explorer. You should be able to use any root file explorer that's compatible with systemless root. Or of course, adb can be used as well.

Hopefully this helps some. If so, please let me know if you know of, or can find a way to do something similar for pixel density. I tried several different variations in the same script to modify ro.sf.lcd_density to no avail. And of course, without tripping Safety Net so Android Pay can still be used.
[Nexus 6  General] examan:
Switched back to 6.0.0 MRA58R and working fine now.
[Nexus 6  General] Ratamacue:
This works in 6.0.1 for editing the build.prop - no root required. Used this on N6 on VZW w/stock everything. You will of course get the "Your device is corrupt" nastygram when booting. Just ignore it. :cool:
[Nexus 6  General] examan:
So can I just let the system update for 6.0.1 go through and then do this or should I change build.prop back to original before allowing the update to process?
[Nexus 6  General] Wongdirection:
Unless I'm mistaken (and I could be, total nexus noob here...), the 6.0.1 update will simply put back a stock build.prop.

While I appreciate that help there, Ratamacue, I'm still left wondering if I can somehow edit system files and push it back after this is done. (Since I also like to push a hosts file into system/etc to make web browsing a less frustrating experience)

I haven't seen yet if it's confirmed I can simply delete system ogg/apk files without getting the device is corrupt and it stopping from booting, as my impression is that the change in the system file structure is what's keeping some of us from being able to fully boot up after attempts at making changes?
[Nexus 6  General] Ratamacue:
Do the update to 6.0.1, then edit the build.prop.

---------- Post added at 10:18 AM ---------- Previous post was at 10:04 AM ----------

That's correct. The issue that you'll run into if you try pulling the file is an error when you try to push it back. If you read the thread I linked to you'll the issues people have had, along with the solution I quoted.
[Nexus 6  General] Wongtong:
That part, I realized. I've been a victim of the issues.

The solution you quoted is great for adding lines to the build.prop, of which I'm really really grateful for. (thanks again)

The problem for me comes in that a hosts file is vastly larger for me to simply add lines into one by one. Any other possible solution that may work? Or better phrased: Would deleting system apps or ogg files allow me the room enough to push a new file into system without triggering more errors?
[Nexus 6  General] examan:
The 6.0.1 update failed about 5 minutes in and had the dead Android error and rebooted back without the update applied. I was able to get tethering working by flashing the stock 6.0.1 image and then using the shell commands as described in you previous post thanks for the help!
[Nexus 6  General] topshelfproducts:
Super newb questions, long time creeper first time poster.

On my n6 on vzw on 6.0.1 not rooted, I have the bootloader unlocked, and twrp in recovery. I tried the to the build prop and doing a push pull and that is when I stumbled on this thread.

Currently on twrp recovery and when I run the commands I get an error...

C:\Users\Tiny\AppData\Local\Android\sdk\platform-tools>adb shell mount /system

C:\Users\Tiny\AppData\Local\Android\sdk\platform-tools>adb shell

~ # ←[6necho "net.tethering.noprovisioning=true" >> /system/build.prop

sh: write error: No space left on device

~ # ←[6n

This is on a freshly wiped phone btw, trying this immediately after unlocking and installing twrp. Help!

UPDATE, I was able to push the hosts file after freeing up space on /system by removing some language input files. For example, if you boot to recovery and mount /system:

adb shell

mv /system/app/KoreanIME /sdcard/

mv /system/app/GooglePinyinIME /sdcard/

However now my n6 gives me the device corrupt message for just a second on the screen then shuts off after showing the google logo. I can get into fastboot mode and go back to twrp but can't get anywhere else. What am I missing? Can I boot from twrp menu?
[Nexus 6  General] troyhough:
Did you push back the complete hosts file? Make sure it's file size isn't 0.
[Nexus 6  General] skrypj:
I have the same issue on 6.0.1. I made sure to update my SDK to the latest but it doesnt help. I also noticed that since you cannot push build.prop back to the phone, it soft bricks and I have to go reflash the 6.0.1 image again. The weird thing is, that even after flashing all partitions except for userdata, I still get the system corrupt splash screen which did not happen whenever I flashed the various 6.0 images.
[Nexus 6  General] troyhough:
try deleting something that you will never use from /system/ like books.apk or something. then try to push the hosts file back. it bricks the phone because it's overwriting your hosts file with an empty file (file size 0). at least this is my guess.
[Nexus 6  General] skrypj:
Ah ok, thank you. I thought someone said that had not worked but it did.
[Nexus 6  General] MkVsTheWorld:
This worked for my Nexus 6 on MetroPCS! I'm on 6.0.1 (MMB29K) and am able to use native hotspot capabilities. I haven't tried out Android Pay yet, but I'll report back if there's any issue with it.
[Nexus 6  General] tabormeister:
How to get tethering working on any carrier on your nexii 6.0.1 (or earlier) with systemless root, AND WITH Android Pay (as of this posting) and NO WARNINGS.

Thanks [MENTION=631273]Chainfire[/MENTION], [MENTION=4268910]ManHands[/MENTION] and [MENTION=839943]interloper[/MENTION].

Standard disclaimer applies, I’m not responsible if your phone does anything including, but not limited to: exploding, eloping with your canary, and insulting your mom.

Requirements:

A Nexus phone that has an untouched system, (assuming 6.0.1) OR has only been systemless rooted before.

Android SDK Tools

Bootloader Unlocked

Should be the same for every Nexus.

1. Boot into bootloader, (hold power and volume down)

2. Open a command window in your SDK platform-tools directory (usually located at C:\Users\yourname\AppData\Local\Android\sdk\platform-tools)

3. Type "fastboot oem unlock" (without quotes) and hit enter.

4. Agree on your phone.

5. ?

6. Profit.

Drivers

TWRP for your Nexus Buddy, find your device and follow instructions.

After you have TWRP, follow the instructions for [MENTION=631273]Chainfire[/MENTION]'s systemless root method that you found here. Don't let TWRP flash SU for you, hit 'do not install'. Agree if it asks you to leave system read only.

Boot into system.

Reboot into TWRP, and in adb shell on your computer do this

adb shell mount /system
adb shell
echo "net.tethering.noprovisioning=true" >> /system/build.prop

Boot into system, then in terminal emulator:

su
settings put global tether_dun_required 0
exit

You're done, and should have tethering, systemless root, no warnings, and Android Pay working. Success, you did it! Have a high five!

Hit thanks or donate a beer if I helped.
[Nexus 6  General] ilarson007:
I didn't see this until just now, but I was running 100% stock with the build.prop edited, and it worked (data transfered). On my Nexus 6P, I did the same thing, edited build.prop, and it also works.
[Nexus 6  General] tabormeister:
[MENTION=3018897]Micronads[/MENTION] I have a Nexus 5, that tutorial above is what I had to do to get it working. (build.prop and the settings put global terminal code)
[Nexus 6  General] qtipbailey:
Confirmed tethering working on Nexus 5X 6.0.1 (mmb29k) though I can't confirm Android Pay working as mine was already broken (all I had done was unlock bootloader, flash TWRP, and install Systemless root; don't know why Android Pay was already broken but I don't particularly give a sh!t)
[Nexus 6  General] troyhough:
this worked flawless on my 6p.

tried on my nexus 5 tonight and all seemed to go smooth, however when I enable tethering after, it connects but with no internet access. any ideas?
[Nexus 6  General] Koysii:
So after I type adb shell then the text settings put global_dun_required 0 and press enter. Nothing happens no confirmation etc so I've rebooted the phone and will see if it works. Checking on settings global the value has been set to 0 for tether so it may have worked on my Nexus 6P:)
[Nexus 6  General] Falinor:
I tried this on 6.0.1 (T-Mobile) - doesn't seem to work anymore. I got throttled speeds almost immediately. Went back to 6.0.0 and now tethering works again. Is there something additional that you need to do on T-Mobile? All I needed to use was adb shell settings put tether_dun_required 0. While it works on 6.0.0, doesnt seem to work on 6.0.1..

Or did I mess something up?
[Nexus 6  General] Koysii:
[MENTION=6054460]Falinor[/MENTION] that's exactly what I did on Three using adb shell on Nexus 6P OS 6.0.1 I'm not really sure if it has worked as on Three's website my allowed tethering data (4GB) has not decreased even though I used near 2GB data via tethering.

Found it in adb shell if you type "settings list global" it will show you all parameters. Just to make sure after a reboot if tether_dun_required=0 is still set at zero ?

Also maybe you should try creating a new apn with just tmobiles apn nothing else. Thats what I did, created three.co.uk apn. Was told by someone on this forum he had "66" in the name but can't find the thread to mention or thank him ?
[Nexus 6  General] Falinor:
So you are tethering successfully on 6.0.1 w/T-Mobile?
[Nexus 6  General] Koysii:
[MENTION=6054460]Falinor[/MENTION] no I'm on Three UK as mentioned in my comment. Did you try creating a separate apn on T-Mobile that might work for 6.0.1
[Nexus 6  General] AKARaccoon:
I always get

mount: mounting /dev/block/mmcblk0p41 on /system failed: Device or resource busy

when executing the adb shell mount /system command. Can't get past that unfortunately. Bleh, who really needs AP anyway? Heh.
[Nexus 6  General] wishkah:
Any update. Having problems on T-Mobile too.
[Nexus 6  General] Falinor:
None. Staying on 6.0.0 for now until a fix is put out.
[Nexus 6  General] knives of ice:
this is my first time ever using terminal emulator

where can you see the global value at to see that it is set to 0? thanks
[Nexus 6  General] Koysii:
[MENTION=536049]knives of ice[/MENTION] if you open minimal adb (link below) and type adb shell, you should be in shell mode, then type "settings list global" it should show you your parameters :) look for tether_dun_required=0.

You could type "adb devices" and try "adb reboot" to see if your phone has been detected, it will only reboot the device. "Adb devices" will show you a message saying adb device detected.

http://xdaforums.com/showthread.php?p=42407269
[Nexus 6  General] Falinor:
Has anyone gotten tethering to work on 6.0.1 + w/T-Mobile?
[Nexus 6  General] :
Anyone find a fix yet? Trying to get tethering to work on a Nexus 6 running stock, systemless rooted 6.0.1 (MMB29K) with latest TWRP.

On my 6P (also stock systemless rooted 6.0.1 MMB29M), the "net.tethering.noprovisioning=true" in build.prop works fine.

When I try the build.prop edit on the Nexus 6, it get's stuck at the Google splash screen. Any ideas?
[Nexus 6  General] streetracer8605:
---------- Post added at 05:36 AM ---------- Previous post was at 05:18 AM ----------

[/COLOR]

Did these steps for my wifes newly rooted 6.0.1 Nexus 6 and it works great. Thanks so much
[Nexus 6  General] Wongtong:
I initially did the above workaround that tabormeister posted and it seemed to work great.

Also, experimented with another option by moving the books folder to the SD card, as that had quite a bit of memory taken up for something I simply didn't use often with

mv /system/app/Books /sdcard/

That also successfully allowed me to push in a fresh Hosts file as well.

Thanks everyone for the various input. Once I pieced it together, it's worked great!
[Nexus 6  General] Xgame2k10:
Difficulty with 6.0.1

I was unable to get tabormeister's method to work on my VZW Nexus 6 w/ 6.0.1

My build.prop addition of "net.tethering.noprovisioning=true" was successful, however tethering still required a subscription.

I ended up reverting to 6.0 with a clean install and had no problem re-enabling rootless wifi tethering with the original method.

Also of note, I lost VZW's advanced calling features after upgrading to 6.0.1
[Nexus 6  General] tabormeister:
Weird, did you do the other bit in ADB or Terminal Emulator? That sometimes is all you need to do, on some carriers it seems you have to do both.
[Nexus 6  General] lloydsw:
I still have advanced calling after updating to 6.01
[Nexus 6  General] Xgame2k10:
Both. I was having some issues mounting in TWRP so my difficulties may have been unique. My understanding is that the net.tethering.noprovisioning=true removes the subscription and the other bit allows the internet connection to be passed.

This has happened to me after upgrading before. I'm convinced big red doesn't like me.
[Nexus 6  General] JW09I4:
You must also change the settings option using adb shell from the OP
[Nexus 6  General] examan:
Will installing January OTA monthly security patch remove my tethering ability that was gained using this process?
[Nexus 6  General] gohamstergo:
Yes, you'll need to do it again.
[Nexus 6  General] fasthair:
I can't for the life of me get this to work on the January update on Verizon. I've got the build.prop edit done ok but I can't get the Settings code to stick. Anyone else get it to work? I've tried all I can think of. I've run the code in ADB, Terminal Emulator, at a command prompt with SU, inside TWRP but nothing works. I even reflashed the system and the complete image, I didn't not wipe the phone so maybe that is my next thing to try. I'm not sure what I may be doing wrong. It just fails to pass the verification check. Is there something new in this update, did they patch this "flaw" maybe?

Thanks