Need change DNS - OnePlus 5 Questions & Answers

I try use terminal emulator to setprop but not work when restart it reset to original
Please guide me to set dns to google dns.i need the way it not reset when restart
I have rooted! Oos 4.5.5
Thank
Sent from my ONEPLUS A5000 using Tapatalk

Use romtoolbox to change dns

Related

[Q] Adblocking problems

I've tried all of the popular adblock methods, and they don't work for me on my rooted Nexus 4.
When I go into terminal and test a blocked domain, e.g. by doing "nslookup ib.adnxs.com", I get
Server: ....some IP address
Address 1: ....some IP address
Name: ib.adnxs.com
Address 1: 127.0.0.1 localhost
***********
So it looks like the hosts file is working in the terminal. But when I go into the browser I still see ads served from, for example, ib.adnxs.com .
***********
EDIT: for some reason my Nexus 4's browser looks in the /data/system/etc/hosts file instead of the usual location that adaway and adfree use, which is /system/etc/hosts. An easy fix is to create a link from the former location to the latter, or manually put the hosts file in the former location.
Try using "AdAway" from the play store.
Sent from my Nexus 4 using xda premium
Found a solution
slimldj said:
Try using "AdAway" from the play store.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Tried it, didn't work.
But I've figured things out.
For some reason, the browser is using a different location for the hosts file on my phone: /data/system/etc/hosts . I don't know why -- maybe it has something to do with the method I used for flashing recovery.
In any case, none of the programs like adfree or adaway were installing the hosts list to that location. I added it manually, and voila, adblocking goodness. If any one needs any help doing that let me know.
Which browser.. Chrome? Adaway seems to work with aosp stock browser I'm using.
galaxys said:
Which browser.. Chrome? Adaway seems to work with aosp stock browser I'm using.
Click to expand...
Click to collapse
Same issue in stock browser and chrome.
I swear, I must have done something wrong when I flashed clockworkmod. I had the problem the first few times I rebooted that I had to reflash recovery, and the phone reflashed it back to stock recovery. Whatevs, so long as everything works.

Android pay?

Anyone have this working? I'm rooted ,vzn, stock.
Sent from my XT1575 using Tapatalk 2
Search these forums. A thread on this topic already exists.
Sent from my XT1060 using Tapatalk
I can't seem to find anything useful... Mind enlightening me? Do I have to use a root cloak or something?
Sent from my XT1575 using Tapatalk 2
I have the app but it crashes every tie I try to add a card
Jay794 said:
I have the app but it crashes every tie I try to add a card
Click to expand...
Click to collapse
Ive been trying for weeks...nothing seems to work...all threads come up with nothing...someone should be able to figure this out
My girlfriend used an app on her rooted s6 to hide root during the initial setup. it allowed her to go through the whole setup. then once it was loaded and working, she unhid root and deleted the app
Mileage may vary, and afterwards, worst case scenario, you may need to reflash supersu in twrp. Not likely though
https://play.google.com/store/apps/details?id=com.amphoras.hidemyroot
You can add cards 'rooted' (turn off SU, add card, turn SU back on) but you can't use it to tap and pay
Bootup said:
You can add cards 'rooted' (turn off SU, add card, turn SU back on) but you can't use it to tap and pay
Click to expand...
Click to collapse
There was/is a big thread on this. Once your phone is rooted, you can't use the phone to tap and pay with Android Pay. Even if you unroot. Confirmed by a Google employee who worked on Android Pay.
See discussion here and here.
I have had it working by using the su program to remove root . then reboot phone. Tap and pay then works. Not sure if everyone had the same results. But this worked for me. When I needed root back i just used su and put it back.
Sent from my XT1575 using Tapatalk
In superSU I just hid root and then I was able to add the cards that were already in my Google wallet account. Haven't tried tap and pay but I can do that tomorrow to confirm. I was afraid that the unlocked bootloader was gonna be a problem beyond the root issue but so far it isn't.
Sent from my XT1575 using Tapatalk
Hide my root will hide the SU binary and allow Android Pay to work but it not only hides the SU it disables ROOT until you unhide it...so any apps that need root will not work while this is hidden. If you hide the SU binary...you have to reboot before android pay will work....tap and pay...not fun...frustrating

WiFi Tether unlimited nougat (ROOT)

PLEASE NOTE:This is NOT a guide to root your phone but i did provide the links to the tools to do so for the Samsung j700p.
WARMING; Rooting a device may void the warranty on the device. It may also make the device unstable or if not done properly, may completely brick the device. Some methods may install additional apps/software on your device. XDA-Developers or the author does not take any responsibility for your device. Root at your own risk and only if you understand what you are doing! Additionally this may go against your service contract which I'm not responsible for as well.
Worked for my j700p running 7.1.1 stock rooted with TWRP/SUPERSU latest.
What you need to do to get tethering on Nougat is root the device (temporarily at least), enable tethering and then (if you want) unroot it so that everything is back to normal and you can take OTA updates and use Android Pay without any issues.
All you’ll need to enable tethering on Android nougat is TWRP recovery installed on your device and the latest systemless SuperSU zip to root the device. (Always remember to backup your system just in case)
How to Enable Tethering on Android Nougat
Root your android running nougat
Edit build.prop file: Add the
net.tethering.noprovisioning
line to the bottom of build.prop file on your Android device. (Download Build Prop Editor from the play store if you don't know how to get to this, I suggest Rom toolbox as it has build.prop included as well as terminal emulator which you will need for the next step. LINKS BELOW)
Reboot device after saving changes to build.prop file.
Download/install a Terminal emulator app from Play Store (I used the terminal emulator included in ROM toolbox but you can choose whichever you'd like.) You also you WILL need busy box installed to be able to execute this line.
Open Terminal emulator on your device and issue the following commands one-by-one:
su
settings put global tether_dun_required 0
exit
└ Grant root access to the app when asked.
Reboot device
DONE!
If you wish to unroot now you can. I have not tested this so can't confirm if works after unroot (since I love having ROOT) but jyst go to
SuperSu settings full unroot. Restart and you should be good. This should renable android pay. If not don't ask me to help as I don't use android pay nor wish to unroot my own device.
ALL CREDIT goes to Shivam Malani, Thank You!
Links;
Odin (for my j700p I used v.3.11.1)
https://samsungodin.com/download/
SUPERSU (latest)
http://www.supersu.com/download
TWRP (latest)
https://twrp.me
Busybox https://play.google.com/store/apps/details?id=com.jrummy.busybox.installer
Rom toolbox lite (for build.prop editor and terminal emulator)
https://play.google.com/store/apps/details?id=com.jrummy.liberty.toolbox
h3xkore said:
ALL CREDIT goes to Shivam Malani, Thank You!
PLEASE NOTE:Rooting a device may void the warranty on the device. It may also make the device unstable or if not done properly, may completely brick the device. Some methods may install additional apps/software on your device. XDA-Developers or the author does not take any responsibility for your device. Root at your own risk and only if you understand what you are doing! Additionally this may go against your service contract which I'm not responsible for as well.
Worked for my j700p running 7.1.1 stock rooted with TWRP/SUPERSU latest.
What you need to do to get tethering on Nougat is root the device (temporarily at least), enable tethering and then (if you want) unroot it so that everything is back to normal and you can take OTA updates and use Android Pay without any issues.
All you’ll need to enable tethering on Android nougat is TWRP recovery installed on your device and the latest systemless SuperSU zip to root the device. (Always remember to backup your system just in case)
How to Enable Tethering on Android Nougat
Root your android running nougat
Edit build.prop file: Add the
net.tethering.noprovisioning
line to the bottom of build.prop file on your Android device. Download Build Prop Editor from the play store if you don't know how to get to this, I suggest Rom toolbox as it has build.prop included as well as terminal emulator which you will need for the next step.
Reboot device after saving changes to build.prop file.
Download/install a Terminal emulator app from Play Store (I used the terminal emulator included in ROM toolbox but you can choose whichever you'd like.)
Open Terminal emulator on your device and issue the following commands one-by-one:
su
settings put global tether_dun_required 0
exit
└ Grant root access to the app when asked.
Reboot device
DONE!
If you wish to unroot now you can. I have not tested this so can't confirm if works after unroot (since I love having ROOT) but jyst go to
SuperSu settings full unroot. Restart and you should be good. This should renable android pay. If not don't ask me to help as I don't use it nor wish to unroot my own device.
Click to expand...
Click to collapse
I did as followed, didn't stick for some reason.
Sent from my SM-J700P using Tapatalk
dlinderaz said:
I did as followed, didn't stick for some reason.
Click to expand...
Click to collapse
Did you make sure u granted ROOT permission for the build prop and terminal apps? You also must restart in between the build prop and terminal commands. You also need busybox installed with root permission this was mist likely the reason it didn't stick. I've updated the OP along with links. Please let me know if that helps. Last note make sure everything is up to date.
h3xkore said:
Did you make sure u granted ROOT permission for the build prop and terminal apps? You also must restart in between the build prop and terminal commands. You also need busybox installed with root permission this was mist likely the reason it didn't stick. I've updated the OP along with links. Please let me know if that helps. Last note make sure everything is up to date.
Click to expand...
Click to collapse
It worked perfectly. Must have been the fact that I hadn't installed BusyBox. Thanks a million. I really appreciate your help.
Sent from my SM-J700P using Tapatalk
dlinderaz said:
It worked perfectly. Must have been the fact that I hadn't installed BusyBox. Thanks a million. I really appreciate your help.
Sent from my SM-J700P using Tapatalk
Click to expand...
Click to collapse
hey no problem im glad i could help and that it worked. i think if u pay for a service they shouldnt limit you so much on using it
I think I might have spoken too soon. Is this for the Virgin Mobile or Boost Mobile J700P? I have Virgin Mobile and I keep getting the "you have not subscribed to this service" window. It stayed on for a few minutes but the minute I went to go connect my smart TV to my hotspot, it turned it back off.
Sent from my SM-J700P using Tapatalk
dlinderaz said:
I think I might have spoken too soon. Is this for the Virgin Mobile or Boost Mobile J700P? I have Virgin Mobile and I keep getting the "you have not subscribed to this service" window. It stayed on for a few minutes but the minute I went to go connect my smart TV to my hotspot, it turned it back off.
Click to expand...
Click to collapse
Did you make sure with build.prop you entered the net.provisioning line in "value" and not name? I'm using boost unlimited $50 plan but should work for virgin as well. Did you unroot? Are you using magisk or supersu?
h3xkore said:
Did you make sure with build.prop you entered the net.provisioning line in "value" and not name? I'm using boost unlimited $50 plan but should work for virgin as well. Did you unroot? Are you using magisk or supersu?
Click to expand...
Click to collapse
I'm using SuperSU. Yes, everything as instructed. I was able to do it when I was still with Marshmallow (Using Sqlite editor) but after the update, I have not had any luck.
Sent from my SM-J700P using Tapatalk
dlinderaz said:
I'm using SuperSU. Yes, everything as instructed. I was able to do it when I was still with Marshmallow (Using Sqlite editor) but after the update, I have not had any luck.
Click to expand...
Click to collapse
Hmm try using a vpn. Nordvpn is having a 7day free trial right now. Reset your network settings, repeat the steps above. Before you turn on the hotspot shield turn on the vpn and after connect try it. If you still get the notification then its something installed on your phone from VM that's monitoring your usage which is most likely. I recommend switching to boost. Their 50$ plan is pretty good. Great coverage in my area and surroundings. I use about 200-300gb torrenting and tethering a month and they don't seem to care. Using a vpn I get about 2mb down consistently except during peak hours. Anyways let me know about the vpn working or not. Hopefully it's that simple.
h3xkore said:
Hmm try using a vpn. Nordvpn is having a 7day free trial right now. Reset your network settings, repeat the steps above. Before you turn on the hotspot shield turn on the vpn and after connect try it. If you still get the notification then its something installed on your phone from VM that's monitoring your usage which is most likely. I recommend switching to boost. Their 50$ plan is pretty good. Great coverage in my area and surroundings. I use about 200-300gb torrenting and tethering a month and they don't seem to care. Using a vpn I get about 2mb down consistently except during peak hours. Anyways let me know about the vpn working or not. Hopefully it's that simple.
Click to expand...
Click to collapse
Thank you. I'm definitely going to switch. I don't know why I'm paying $60 for "Unlimited" data to use only with the phone and they expect me to pay an additional $10 for only 2 Gigs of hotspot. I hardly use any of my phone data. LOL. Maybe I need to check prices of wifi internet for the home if they even have it in my neck of the woods. Thank you so very much for all your time and help. You're the bestest. Happy Holidays.
Sent from my SM-J700P using Tapatalk
dlinderaz said:
Thank you. I'm definitely going to switch. I don't know why I'm paying $60 for "Unlimited" data to use only with the phone and they expect me to pay an additional $10 for only 2 Gigs of hotspot. I hardly use any of my phone data. LOL. Maybe I need to check prices of wifi internet for the home if they even have it in my neck of the woods. Thank you so very much for all your time and help. You're the bestest. Happy Holidays.
Click to expand...
Click to collapse
Yea I hear you. My $50 plan comes with 8gb hotspot buti tend to go over that...WAY over that lol. Currently torrenting 8 pc games lol. Side note though on this plan. You get 23gb a month "prioritized" connection meaning full speeds always. After that your put on the back burner during peak times or in other words when your tower your connected to is busy. Doesn't happen often it seems and I live in the middle of a decent size city so if you're not in say Houston or new York I'd say you won't have anything to worry about. I'm sorry I didn't fix your problem and I wish you the best. Happy holidays to you as well.
Open Terminal emulator on your device and issue the following commands one-by-one:
su
settings put global tether_dun_required 0
exit
└ Grant root access to the app when asked.
Reboot device
Now I put su and entered the setting line but when I put exit nothing happen.... I did reboot... any way how to tell if I did this right and works fine?? I have j700t1 metro
h3xkore said:
PLEASE NOTE:This is NOT a guide to root your phone but i did provide the links to the tools to do so for the Samsung j700p.
WARMING; Rooting a device may void the warranty on the device. It may also make the device unstable or if not done properly, may completely brick the device. Some methods may install additional apps/software on your device. XDA-Developers or the author does not take any responsibility for your device. Root at your own risk and only if you understand what you are doing! Additionally this may go against your service contract which I'm not responsible for as well.
Worked for my j700p running 7.1.1 stock rooted with TWRP/SUPERSU latest.
What you need to do to get tethering on Nougat is root the device (temporarily at least), enable tethering and then (if you want) unroot it so that everything is back to normal and you can take OTA updates and use Android Pay without any issues.
All you’ll need to enable tethering on Android nougat is TWRP recovery installed on your device and the latest systemless SuperSU zip to root the device. (Always remember to backup your system just in case)
How to Enable Tethering on Android Nougat
Root your android running nougat
Edit build.prop file: Add the
net.tethering.noprovisioning
line to the bottom of build.prop file on your Android device. (Download Build Prop Editor from the play store if you don't know how to get to this, I suggest Rom toolbox as it has build.prop included as well as terminal emulator which you will need for the next step. LINKS BELOW)
Reboot device after saving changes to build.prop file.
Download/install a Terminal emulator app from Play Store (I used the terminal emulator included in ROM toolbox but you can choose whichever you'd like.) You also you WILL need busy box installed to be able to execute this line.
Open Terminal emulator on your device and issue the following commands one-by-one:
su
settings put global tether_dun_required 0
exit
└ Grant root access to the app when asked.
Reboot device
DONE!
If you wish to unroot now you can. I have not tested this so can't confirm if works after unroot (since I love having ROOT) but jyst go to
SuperSu settings full unroot. Restart and you should be good. This should renable android pay. If not don't ask me to help as I don't use android pay nor wish to unroot my own device.
ALL CREDIT goes to Shivam Malani, Thank You!
Links;
Odin (for my j700p I used v.3.11.1)
https://samsungodin.com/download/
SUPERSU (latest)
http://www.supersu.com/download
TWRP (latest)
https://twrp.me
Busybox https://play.google.com/store/apps/details?id=com.jrummy.busybox.installer
Rom toolbox lite (for build.prop editor and terminal emulator)
https://play.google.com/store/apps/details?id=com.jrummy.liberty.toolbox
Click to expand...
Click to collapse
xghostyxjokerx said:
Open Terminal emulator on your device and issue the following commands one-by-one:
su
settings put global tether_dun_required 0
exit
└ Grant root access to the app when asked.
Reboot device
Now I put su and entered the setting line but when I put exit nothing happen.... I did reboot... any way how to tell if I did this right and works fine?? I have j700t1 metro
Click to expand...
Click to collapse
Did you type each line and hit enter(return) each time? Such as "su[enter]" starts another line "settings put global blah blah[enter]" it will start another line "exit[enter]" u may need to type exit again after this. I had to. So 2 "exit[enter]"
I used an alternative method I found here awhile back.. install APN backup and restore, convert it to a system app (important, use apps2sd or the like), backup your apns then edit the backup file, add ",dun" to each apn in the APN backup xml in the "type" field. Then go back into the APN backup app, delete apns and restore the backup you edited. There's a full write up here around the just forum somewhere with more details. It works great, may have to restore your APN backup if you update prl.
xghostyxjokerx said:
Open Terminal emulator on your device and issue the following commands one-by-one:
su
settings put global tether_dun_required 0
exit
└ Grant root access to the app when asked.
Reboot device
Now I put su and entered the setting line but when I put exit nothing happen.... I did reboot... any way how to tell if I did this right and works fine?? I have j700t1 metro
Click to expand...
Click to collapse
Sorry so late on reply. I hope you figured this out already but your on a different and newer version of this phone.
fedaykinofdune said:
I used an alternative method I found here awhile back.. install APN backup and restore, convert it to a system app (important, use apps2sd or the like), backup your apns then edit the backup file, add ",dun" to each apn in the APN backup xml in the "type" field. Then go back into the APN backup app, delete apns and restore the backup you edited. There's a full write up here around the just forum somewhere with more details. It works great, may have to restore your APN backup if you update prl.
Click to expand...
Click to collapse
Does this method still work for you? Now when I use my WiFi after my 8gb limit it goes to boost homepage on connected device ?
Does this work on the j700t1.
I'm going to try it when I get home but I'm just curious if anyone got it working on the metro pcs variant.

Call Recorder

Is there any working call recorder for the op6t?
https://play.google.com/store/apps/details?id=net.jroot3d.joneplustools&hl=es
Try this one, no root is required
https://play.google.com/store/apps/details?id=org.skvalex.cr
Love this one. Root isn't required but makes it work 10 times better with root
Sent from my ONEPLUS A6013 using Tapatalk
Mine works perfect without root only adb commands first time and it sets on boot everytime
hugoglezp said:
Mine works perfect without root only adb commands first time and it sets on boot everytime
Click to expand...
Click to collapse
Hello.
which app do you use to record calls please?
+1 for SKVALEX, but if you have root you can enable the built in call recorder with a Magisk module. Alternatively, it's possible to enable the call recorder without root using ADB, but it resets with every reboot
Code:
adb shell settings put global op_voice_recording_supported_by_mcc 1

A bug in OnePlus 6t since Android 9 update (UNRESOLVED)

Because an app is obscuring permission request, settings can't verify your reponse.
i cannot use greenify as it requires accessibility services along with other apps those require accessibility permission.
Anyone with solid solution
As i tried everything including Flashing my device again with Stock ROM
ankitymcmb1 said:
Because an app is obscuring permission request, settings can't verify your reponse.
i cannot use greenify as it requires accessibility services along with other apps those require accessibility permission.
Anyone with solid solution
As i tried everything including Flashing my device again with Stock ROM
Click to expand...
Click to collapse
I have no problems using Greenify with root
Did you do the setup correctly? Do you have any free space on the system partition maybe it's unable to save it's setting
Sent from my ONEPLUS A6010 using Tapatalk

Categories

Resources