yashsingh1/xdaforums huggingface dataset:
[T-Mobile Galaxy Note 4 General] vponomarev:
Hi guys!

I've been using OpenVPN for connecting my phones to my home network.

When I replaced my old phone with Note 4, I noticed that when VPN connectivity is established, DNS is leaking. If you use VPN you can test it here to see if you're also affected by this: https://dnsleaktest.com.

I tried to fix this, but despite all my efforts, DNS traffic just refused to go through the VPN tunnel or DNS not working at all.

Eventually I figured out the series of steps needed and I'd like to share this with you in case someone is having the same problem.

Many thanks to users MaxChinni and Transfusion from this Stack Exchange thread for providing useful information.

Here is how my connection sequence looks like. Needless to say, you need root for this:

1. openvpn --config client.ovpn --daemon

2. iptables -t nat -F OUTPUT

3. iptables -t nat -A OUTPUT -p udp --dport 53 -j DNAT --to-destination 192.168.1.1

(192.168.1.1 is the internal IP address of my router that has DNS server running and intercepting all packets sent to UDP port 53)

4. pkill netd

5. Set DNS:

ndc resolver flushif tun0

ndc resolver flushdefaultif

ndc resolver setifdns tun0 208.67.222.222 208.67.220.220

ndc resolver setdefaultif tun0

Here is the disconnection sequence:

1. pkill openvpn

2. iptables -t nat -F OUTPUT

3. pkill netd

5. Set DNS:

ndc resolver flushif wlan0

ndc resolver flushdefaultif

ndc resolver setifdns wlan0 208.67.222.222 208.67.220.220

ndc resolver setdefaultif wlan0

Note: wlan0 interface is my Wi-Fi. If I'm on 4G, then I use "rmnet_data0" instead.

Attached are the exported Tasker tasks. I'm using some icons from these icon packs, so unless you want to change these tasks to use your own icons, you might want to install them first:

Ipack / Kyo-Tux Aeon HD

Ipack / Crystal Project HD

IMPORTANT:

* OpenVPN profiles are expected to be in "/storage/extSdCard/OpenVPN". Replace this path with your own if you want to use a different location.

* Before running "VPN Toggle" task you will need to set %VPN_PROFILE variable to the file name of OpenVPN profile you woudl like to use, e.g. "client.ovpn".

* I have a check for my home Wi-Fi to prevent starting VPN accidentally in this case, so you might want to change the reg-exp in "VPN Toggle" task that checks %SSID variable. It's currently checking for SSIDs to start with "FBIVan".

* You might also want to add a task that runs on boot to set the widget name to the one you want.

After you import these tasks, just create a widget on your desktop to run "VPN Toggle" task.
[T-Mobile Galaxy Note 4 General] Amd4life:
Nice, any chance of posting that tasked profile? I would appreciate it
[T-Mobile Galaxy Note 4 General] vponomarev:
Updated the first post with exported tasks.
[Nexus 6 Q&A, Help & Troubleshooting] hermanchan315:
Currently I'm using 5.1 for my nexus 6.

But there shd be some data used which not counted in the data usage page.

Is there have anyway to fix it?
[Galaxy S III Q&A, Help & Troubleshooting] theanimalix:
For some reason I wasn't able to ask this question on the original topic (10 posts limit), so I'm posting an extended post here.

I've just instealled [I9300] [Touchwiz Android 4.4.4] back-to-n00t ROM and I'm really impressed how responsive and fast my Galaxy S3 became; great works there guys.

However, I've installed that ROM since I was hoping I would get SideSync working on my I9300 with new Android 4.4 (which it seems to be the only requirement: samsung.com/uk/support/convergence/sidesync ). Since I wasn't able to download SideSync 3.0 with my S3, I've installed it on my tab first and then copied the apk file to my S3 and installed it there as well.

I was then able to connect successfully via SideSync 3.0 to my S3 and I can see the remote screen on my tab, but for some reason remote android is not reacting to my actions. I've tried to connect to S3 from computer as well and the same story there....although I was able to use my PC keyboard to move through application list on my S3 (the only thing that worked beside the "screen share"). I was wondering why would that be happening? Is SideSync missing the "mapping" for S3 and touch doesn't work because of that?

I was wondering if anyone got SideSync successfully working on S3 or could anyone suggest how to get this working (if that's even possible without buying S4+ :) )?

It seems to me that the only way to get this working to modify SideSync app and add bindings for S3 device?

Any suggestions would be appreciated.
[Galaxy S III Q&A, Help & Troubleshooting] josephiskandar:
You can ask your question here: [DISCUSSION][I9300][Touchwiz][Android 4.4.4] -->back-to-n00t by arter97<--
[Galaxy S III Q&A, Help & Troubleshooting] theanimalix:
Thanks for your reply and help. So many threads that I was a bit confused where to post. :) Anyway, I've now posted my question into thread linked from the thread you posted, since the one linked by you was closed and "redirected".
[Android Q&A, Help & Troubleshooting] Adnihil:
Sometimes when I call someone, either by typing the number myself or by calling them from my contacts, it will show up as 'Unknown' in the call log. Doesn't always happen though.

This is kind of annoying when I quickly need to call someone I just called, but especially annoying when I dialed a number that's not in my contacts list and I have to go look it up again.

Any idea what could be causing this or how to fix it?
[Android Q&A, Help & Troubleshooting] articc:
http://xdaforums.com/galaxy-s5/help/cm13-unknown-caller-bug-t3297683
[XDA Assist] dohouch:
Morning,

Yeah it's a cheap phone :fingers-crossed:, but I liked it :highfive:, and my first Android heart transplant. Came across post about hardware resets, but it depended on having some data from phone before "bricking " ( t was shorting 2 points on motherboard )

Is my E1 UNRECOVERABLE :crying:

If I could be pointed in a constructive direction would be grateful, or maybe it's time for prayers to Saint Jude (the patron of hopeless cases)

Slán
[XDA Assist] Heisenberg:
Hi :)

Thanks for writing to us at XDA Assist. You haven't clearly described the issue you're facing so it's a bit difficult to direct you properly. Can you please elaborate on your issue?
[JAMin, XDA Neo, S200 General] so3:
First I apologise if this has been asked before but I have tried to look for it on here.

Is there some sort of registry entry that will turn on the back light permanently?
[JAMin, XDA Neo, S200 General] _TB_TB_:
Backlight applet in COntrol Panel, uncheck "Turn off backlightif device is not used for..."?
[JAMin, XDA Neo, S200 General] so3:
I have tried this but it reverts back to "Turn off" on a soft reset which is regular occurrence as I use sprite backup.

I found this thread http://www.pocketmax.net/smf/index.php?topic=1220.0 but it doesn't seem to make any difference?

So it seems to be a manual switch each time the device is reset!
[Xperia Z2 Q&A, Help & Troubleshooting] yavhin:
Need help guys.

Lost my photos saved in internal memory after downgrading my firmware for rooting using flashtool. What should I do?
[Xperia Z2 Q&A, Help & Troubleshooting] Envious_Data:
Not possible sorry

People have tried but no success
[General Questions and Answers] jangirkailash:
sir I m using gionee m3 with samui ROM and I m facing a problem with IMO on samui during vdo call when I make vdo call on IMO vdo show reverse direction so plz tell me solution for it
[Zooper Widget Templates] itasoulas:
Sketch Clock Zooper Widget

by mad4droid

Square Clock for Zooper Widget Pro by mad4droid is a simple yet elegant square clock available in 11 vibrant colours!

AVAILABLE COLORS: amber, black, blue, cyan, green, grey, orange, pink, purple, teal and red

All skins provide basic information that include time, day of week,month and day in month with hot spots for Clock and Google Calendar. End user can adapt this further to his/her style by "Scaling" the skin from within Zooper Pro app (to edit the widget press anywhere near the sides). Square Clock is compatible with every launcher!

ATTENTION!!! This is not a stand alone app. It requires Zooper Widget Pro to work.

A Google+ community is also available where you can find further info and also download the wallpapers presented here along with more sections for theming where you can show off your designs.

https://plus.google.com/communities/109138052655105780563

AVAILABLE (FREE) ON GOOGLE PLAY

https://play.google.com/store/apps/details?id=com.mad4droid.zwskin.squareclock

Please rate and comment, thanks for downloading...HAVE FUN!!!​
[XDA Assist] Heisenberg:
Hi :)

Thanks for writing to us at XDA Assist. I think your best course of action is to contact your local consumer rights organisation and explain your case. Consumer rights can differ greatly from country to country so it's impossible for us to speculate on the outcome of your case. So contact your consumer rights organisation and see what they can do for you.

Good luck!
[T-Mobile LG G3] autoprime:
LG G3 D851 Lollipop (T-Mobile US)
[T-Mobile LG G3] Deggy:
About time, Tmo!
[T-Mobile LG G3] arifqur:
Great guns.

Thanks Autoprime.

You are the King.
[T-Mobile LG G3] Upstreammiami:
Awesome

---------- Post added at 07:03 AM ---------- Previous post was at 06:49 AM ----------

Op says everything you need to know.... READ BEFORE YOU FLASH!!!!
[T-Mobile LG G3] razrlover:
Awesome sauce!!!!!
[T-Mobile LG G3] Intercepter:
What version of lollipop is this?
[T-Mobile LG G3] arifqur:
Flashed it.

Everything running great except for calls and data, as mentioned by [MENTION=2684188]autoprime[/MENTION].

Thanks man for this exciting preview.

Waiting for a working Modem.
[T-Mobile LG G3] aleks_:
So excited for this. We just need that radio. :)
[T-Mobile LG G3] kamusxervantes:
Root???? Justo flash supersu??
[T-Mobile LG G3] llaugerm:
Once we get that radio, we will be all set.
[T-Mobile LG G3] Swizzle82:
[MENTION=2684188]autoprime[/MENTION]. As far as you know the official release doesn't lock the bootloader and downgrade is still available correct?
[T-Mobile LG G3] techfreak243:
as soon as i see one with all the tmoness i will flash and use, would love to see one with the In-Flight and WiFi Texting working
[T-Mobile LG G3] fr3d0x:
so to install lollipop i have to flash this file? LGD851_20L-ollipop-iNb4TMO.zip
[T-Mobile LG G3] techfreak243:
yes, but you will have spotty data and calls
[T-Mobile LG G3] fr3d0x:
i flashed but when im going to reboot theres no os
[T-Mobile LG G3] cammykool:
Can we use a modified modem from like Cm12? for service.
[T-Mobile LG G3] kafepuya:
Give it a shot and report back, maybe you'll be the one that finds a temporary solution! [emoji2]
[T-Mobile LG G3] dspcap:
Why didn't you just stick with this Rom?
[T-Mobile LG G3] Vegasden:
There were a few things I use/need that aren't quite ready for lollipop.
[T-Mobile LG G3] Fhuron:
Re-installing my Nandroid from 10r and reflashing the 10r modem at the same time resolved my connectivity issues. As soon as I tried to install Prime Tether, even after the above solution, I get the constant connect/ Disconnect issue. I have changed my base APN settings to use IPv4 , and will be testing the tether out a bit later this afternoon, after I'm sure it's now stable.
[T-Mobile LG G3] jcbauerca:
There was no message it kept reverting back to the TWRP recovery, but I found that I needed to flash all 3 zip with Cloudy modem zip and now it works but can't read my external SD card.

Thank you for your quick reply.
[T-Mobile LG G3] dysfunkshun:
Still unable to get signal back on my 10r nandroid and reflashing the 10r modem. Even tried to KDZ back to stock and start over again with no luck.
[T-Mobile LG G3] tribalartgod:
Just flashed all of this as my secondary rom with MultiRom... Works great! Thanks so much :)
[T-Mobile LG G3] Fhuron:
Are you, or have you, added Prime tether since going back to the nandroid?
[T-Mobile LG G3] dysfunkshun:
Nope, never used it or had any plans to, is it something I would need to get signal going?
[T-Mobile LG G3] mila4me:
i did tot and kdz back to stock and now i can't use 10r anymore before this it was stable as rock now signal on and off.now on Speedtest i have 2MB speed on 4g Lolipop and cant go back to 10g 28MB:(

Autoprime

dude remove link to that modem cause if someone like to go back to stock 10r will have issue or edit info there.i sent Cloudy pm hope he know how to fix it
[T-Mobile LG G3] dysfunkshun:
Please remove the modem link, I just tried to KDZ back to 10c and still no signal at all. My radio is completely shot and I hope it doesn't happen to someone else.
[T-Mobile LG G3] llaugerm:
What do you mean your radio is completely shot? Does it mean you'll have to get a new phone?
[T-Mobile LG G3] Fhuron:
I don't think the issue is entirely with cloudy's modem. I used it when I flashed Cloudy's new G3 2.2 and then Auto's after I had issues with the tether on Cloudy's. Sadly, I had the same issue on AutoPrime's Rom ( Both were great, other than tethering, so I will be re-visiting once that get ironed out).

I reverted to my Nandroid, which was from my Stock Rom with the PurpleDrake root on it, and was running 10r. Everything was fine until I tried to re-install Prime Tether (which was probably already installed on the Nandroid, in hindsight). After re-adding Prime, I started getting the unstable connection issues, and flashed teh 10r, thinking my modem could still be the LP one (thought Nandroid restore would have taken care of that). Still had issues, decided to restore nandroid again, still unstable. Flashed 10r, stable again. I wanted the tether working correctly, so I flashed prime one more time, and it went unstable again. Back to recovery, Nandroid restore, 10r modem flash, rebooted and it has been running with no issues on the data for about 3 hours now. As a bonus, My tether is not showing traffic now either, in the 2+ hours its been runing, I have an online game running on my PC, since it will tell me as soon as the connection drops.
[T-Mobile LG G3] mila4me:
even nandroid back up no signal at all :mad: and on lolipop 4g(lte) very slow and still have connection issues
[T-Mobile LG G3] dysfunkshun:
I have the exact same issue. I've tried setting a new APN and nothing. Sometimes it allows me to search for networks, other times it just sticks at searching for up to 15 minutes. I've tried restoring my nandroid, tried flashing the 10R modem several times, and have KDZ back to both 10r and 10c, all with the same results. My phone had zero issues running stock and running Euphoria. When I tried flashing the lollipop build with the Cloudy modem, I lost signal. No matter what I did, I cannot get any signal back. I find it completely strange that some get it to work and others don't, and its confusing. Unless Cloudy, Autoprime, or someone else find some kind of fix, I'll have to get a new phone. I'm not blaming anyone for it either, I knew the risks involved with flashing and chose to do it myself, so I hold no one responsible for my issues other than myself. I'm gonna hold out hope for a fix soon, but I most likely will have to go get a new phone by tonight.
[T-Mobile LG G3] bofiana:
How bout if you flash Cloudy's latest LP build that he released yesterday? If you flash that one, do you have signal at all?

I'm running latest Cloudy with the Cloudy modem and I haven't had any signal issues at all.
[T-Mobile LG G3] mila4me:
same here :( don't know if it's rom or that modem ,but u guys should remove links till fix that problem cause more and more people have that

---------- Post added at 07:26 PM ---------- Previous post was at 07:24 PM ----------

check the LTE speed i have on lolipop up to 3MB on 10r i have 28 MB and up
[T-Mobile LG G3] qbanlinxx:
I'm running Cloudy 2.2, with the modem he provided, and have no issues with data nor am I losing signal. Clean flashed all the way. Didn't restore anything. Speeds seem a little lower then normal, no issues.
[T-Mobile LG G3] bofiana:
Slow speeds and no signal at all are two totally different things. I'd rather have slow speeds than no signal so that's why I was wondering if he flashes the Cloudy Rom, if his no signal issue still exists. At least he wouldn't have to get a new phone for now.
[T-Mobile LG G3] llaugerm:
I had the same issue and I fixed by following the link below:

http://xdaforums.com/tmobile-lg-g3/general/firmware-t-mobile-lg-g3-t2818667

I did the first step the TOT flashing guide. Once I did that Installed TWRP and restored my back up. Everyting is running smooth. I was going to text drive this one but I'll wait. We're about to the Lollipop soon anyways.
[T-Mobile LG G3] Th3rdBorn:
Same here, rock solid mobile network. I'd actually say it seems somewhat more robust than previously... T-mobile here!
[T-Mobile LG G3] dysfunkshun:
Strangely, this is working! I only wonder what will happen if I try another rom or am I stuck on Cloudy? Regardless, thats $450 NOT spent on another phone today and I can make calls, THANK YOU!!
[T-Mobile LG G3] bofiana:
Hey man, no problem. Just glad u don't have to go out and buy a new phone. I know that I would have been stressing big time if that would have happened to me.

And IDK, you might be stuck until official LP from TMO comes out and someone can pull the official modem/baseband from that.
[T-Mobile LG G3] k.houan:
Anyone else having problems with using the loudspeaker during a phone call? When Im in a call everything works fine until I turn on the loudspeaker. Once I do that, the person on the other end can no longer hear me.

Any ideas?

Im running the 20L PORYGON build, cloudy L modem, and 20B boot
[T-Mobile LG G3] Mikessv:
Had anyone had success in downgrading to r and keeping lte? Lte refuses to work on r and I'm running c in order to keep lte
[T-Mobile LG G3] mila4me:
no i cant get LTE on R and on LP only up to 3 MB only C works with LTE.

autoprime have to check his rom or cloudy baseband cause many people have no LTE now or remove till fix it please

this is my LTE test on Lolipop
[T-Mobile LG G3] Fhuron:
As I said in post #183 and #192, I am working on 10r just fine. I did a Nandroid restore to when I still had 10r and had no issue until I tried to re-flash Prime Tether. Restore the nandroid again and flashing the 10r modem while I was still in Recovery brought the data back again. Have not had any further issues and the tether is "working" again ;)
[T-Mobile LG G3] Mikessv:
The first thing I've tried was to restore my nandroid but couldn't get lte. And even with a fresh install of r I couldn't get anything better then 4g and even had problems on m. I'm running c for now and don't have lte problems now.

---------- Post added at 06:20 PM ---------- Previous post was at 06:18 PM ----------

I didn't have slow lte when I tried the lp build, I just had problems running it. But it was stated in the Op. I still thank AutoPrime for his time and effort.
[T-Mobile LG G3] mila4me:
i did same nandroid restore and no lte on 10r so this rom or baseband have some issue to cause that and hope Autoprime will remove link or edit info about this and fix it cause not only me have that . i did arr kind back to stock and TWR backup not helped
[T-Mobile LG G3] Mikessv:
I'm sure he's on top of it, are you on c? I'm running c but can't get wifi to connect now. :(
[T-Mobile LG G3] mila4me:
still try to fix it R but can't :( idk what cause that cause usually when u use back to stock ToT have to fix it but it's not:( i don't know why but somehow it shows 4G sometimes but have to show LTE on stock idk
[T-Mobile LG G3] Mikessv:
You can download the twrp stock images and revert to c, just remember that you'll loose custom recovery and root and you'll have to flash root when your done.

Here's the link from the Op I found.

https://www.androidfilehost.com/?w=files&flid=19229

Flash supersu after

http://download.chainfire.eu/396/SuperSU/
[T-Mobile LG G3] Vegasden:
I'm grasping at straws here....but could the bootloader flashing make an impact on reverting the modem back to R? For those with issues, perhaps flash the R bootloader then the modem. Maybe the 20B bootloader is not letting the modem flash properly. Again, just speculation. Just backup what you have now.
[T-Mobile LG G3] mila4me:
maybe u right man hope this is fixable cause idk what to do now:( 2 days trying to fix no luck and nothing good to backup:)

ok when i go back to stock 10C i have 4G icon not LTE like before and more slower then before .
[T-Mobile LG G3] :
Are you guys going back to lollipop custom ROMs or kitkat ROMs?
[T-Mobile LG G3] mila4me:
1st have to fix KK then will wait for Tmobile LP :)
[T-Mobile LG G3] :
Why not just use a custom lp ROM for now. Then when the official one is released jump on that. I haven't used kitkat for months. Use cm12 if you just want something that works for now.
[T-Mobile LG G3] mila4me:
only because camera:( i really love it ,btw what camera good for CM12 ? TY
[T-Mobile LG G3] Mikessv:
I had that problem, go into networks and switch on 2g and then turn it off and you should have lte.
[T-Mobile LG G3] yanowman:
Snap Camera HDR use the fast setting... DAM NEAR as fast as stock lg g3 cam
[T-Mobile LG G3] iBustCh3rries:
I fixed my modem issues.

What I did was do a complete wipe

Flash 10r

Flash 10r bootloader

Flash 10r modem

Initially I was having issues afterwards but I flashed cloudys modem after a reboot and now I'm back to running CM12 with no issues.

This has me thinking that the issue isn't the modem but the bootloader...
[T-Mobile LG G3] prp2:
Are you also using the PrimeTether mod as well? Someone earlier tried what you did and it seemed to work until they then flashed that mod as well.
[T-Mobile LG G3] mila4me:
can u link 10r bootloader and modem u flashed ?

Thankyou
[T-Mobile LG G3] Vegasden:
As I posted earlier, worked for me. I got them here - http://xdaforums.com/showthread.php?t=2961261
[T-Mobile LG G3] mila4me:
LTE not dropping on and off at all ?

ty man :) hope will fix my phone too
[T-Mobile LG G3] Vegasden:
Zero drops. I suggest flashing the bootloader first, then the modem. It can be one flash, just that order as it might be the bootloader holding things up.
[T-Mobile LG G3] prp2:
Just reflashed those, in that order, still getting disconnected upon reboot. Have to go in and toggle 2G, etc, to get signal back. Maybe I'll just live with it.
[T-Mobile LG G3] NewZJ:
I'm running this Rom fine.

I fixed my sdcard issues by formatting it as fat32 in gparted. I've got Xposed working flawlessly.

The data works great with no drops and strong fast LTE.

With Velocity and g3 speed scripts and thermal75 it's really quick with no lag...yet

But the tether doesn't seem to be working ie it's counting my usage, I received a text about it 2.5 of 3gb reached. I'll try my VPN and see if it helps as mentioned in the OP
[T-Mobile LG G3] mila4me:
no man all the same i have no service then for a few sec back then agn and agn :(

here i did record screen look what happend when i go back to stock now :(

https://www.youtube.com/watch?v=T4vbLXt3-OA

---------- Post added at 06:11 AM ---------- Previous post was at 06:09 AM ----------

what velocity script u using ?
[T-Mobile LG G3] prp2:
That's what mine does, too, man. Kind of a pain in the ass. But, if you toggle the network mode right there to GSM only first, it'll usually grab signal after a few seconds. Wait until it locks on and shows the 2G icon, then you can switch it to LTE and it'll work. You may need to go to WCDMA only as well, occasionally I have to.
[T-Mobile LG G3] mila4me:
sux

hope prime will look and find how to fix it :(
[T-Mobile LG G3] Boostjunky:
Just so folks know, I had flashed the Cloudyfa 2.2 ROM along with the Lollipop Modem file that he provided, and I have since gone back to stock (via TOT method) and had no issues with LTE data, or any other type of data for that matter. I then re-rooted and flashed the 10R Bootloader, the 10R Modem, then my usual Lollipop CM12 based ROM, and I have ABSOLUTELY NO ISSUES with data, be it LTE or otherwise.

I just don't want a bunch of mass chaos to break out over a couple specific users who seem to be having data issues after trying to return to stock after previously flashing the supplied Lollipop Modem for this ROM.
[T-Mobile LG G3] NewZJ:
The one in here, it doesn't black screen anymore

http://xdaforums.com/showthread.php?t=2929215