I'm upgrading from an old Pixel to the 6 on Sprint (now T-Mobile. On my previous phone, rooted with Magisk I used:
settings put global tether_dun_required=0
...to use the hotspot with no problems. Now, I still have the old grandfathered Sprint plan, but I'm on...