yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S7 Questions and Answers] SystematiQ:
I have a G930F running Superman ROM rooted on MM with a ported XAA CSC. I have set it up to run a VPN gateway using iptables and ip route. I am able to get tethered devices to connect to the Internet through the VPN if I manually set the IP addresses and DNS servers on the clients connecting. I do however have some devices that do not have the ability to manually set the IP and DNS servers and it's also a pain to set every device up manually. I ran a Wireshark capture and found several ARP requests not being responded to from dhcpd/dnsmasq trying to hand out ip addresses to the clients. My goal is to get DHCP up and running on wlan0 to hand out IP and DNS configuration. I suspect it is not working due to the nature of the changes I've made with iptables and ip route. I'm thinking the dhcp is being forwarded to the tun0 interface. My question is how to exclude the DHCP from being forwarded to the tun0 interface... Or if someone else can come up with a more elegant solution to my problem, as I'm currently reading up on ip and iptables syntax and commands and my current knowledge is fairly basic. The process I'm using to connect my tethered devices is as follows: connect VPN, turn on tether, run commands listed below to connect the wlan0 and tun0 interfaces and connect clients to the phone after manually setting the IP and DNS.

Code:

su

iptables -t filter -F FORWARD

iptables -t nat -F POSTROUTING

iptables -t filter -A FORWARD -j ACCEPT

iptables -t nat -A POSTROUTING -j MASQUERADE

ip rule add from 192.168.43.0/24 lookup 61

ip route add default dev tun0 scope link table 61

ip route add 192.168.43.0/24 dev wlan0 scope link table 61

ip route add broadcast 255.255.255.255 dev wlan0 scope link table 61

Any help would be greatly appreciated!
[Samsung Galaxy S7 Questions and Answers] sjevtic:
Did you ever get this to work nicely? I am very intrigued.

Also, what VPN software are you using? I am using NCP which does most of what I want, though it is frustrating that I can't programmatically control connection/disconnection/profile selection nor even get it to connect at boot.
[Networking] ZB2016:
Hi everyone,

the SIM I use in my android phne contains some strange settings. The Line1 number field is empty (which is a bit annoying to identify the correct SIM in my dual sim phone) and the operator name field content is weird since it contains "Willkommen" (german word for welcome) instead of the company name that sold the SIM, which is the usual content. In case you figure out similar behaviour of your phone, validate the SIM's field contents with SIM +. ;)

I've found out, that there is an API class "TelephonyManager", that can deal with these issues by providing the methods "setOperatorBrandOverride" and "setLine1NumberForDisplay". So at least on the lowest level of customization there is a way to get rid of the described issues. Since I am (still) not familiar with Android application programming, can someone tell me, whether there are apps around, that can fix thebehaviour or whether there is a method how to deal with the API without designing a highly sophisticated app? :confused:

Thanks a lot in advance! :good:
[OnePlus 3 Questions & Answers] phonetech101:
Hi all, just wondering what system apps can i use with greenify? Mainly wanna stop play services wakelocks, Thanks in advanced :)
[OnePlus 3 Questions & Answers] MrWilsonxD:
You can cut down on some Google play services drain by:

1. Turning off location history in Google maps for all your accounts.

2. Uninstalling android device manager/ putting into deep hibernation.

3. Turn off Wi-Fi and BT scanning in their respective menus.

4. Turn off contribute usage data to Google.

5. Turn off auto app backup with Google.

6. If you're on android marshmallow, amplify is better at targeting specific wakelocks then greenify is AFAIK.

Those are some of the things I have picked up over time hope this helps.
[OnePlus 3 Questions & Answers] MrWilsonxD:
Rarely ever get Google play service drain over 4 percent. ??
[OnePlus 3 Questions & Answers] phonetech101:
Thanks mate, step 2 could you give me more detail on what you did to uninstall it. Thanks.
[OnePlus 3 Questions & Answers] MrWilsonxD:
I'm talking about an app from the play store. If you've never downloaded "android device manager" https://play.google.com/store/apps/details?id=com.google.android.apps.adm

then don't worry about it.
[OnePlus 3 Questions & Answers] phonetech101:
Oh nah dont use that. Thanks for your help. Google play services has only used 4%so far, so ill just leave it for now.
[Nexus 5 General] mobile_sensei:
STEP 1:

Reboot PC After Installing USB Driver

INSTRUCTIONS HERE[/SIZE]

[IMG="https://s27.postimg.org/8ub5u69ub/Android_PIT_Nexus_5_Fastboot_unlocked_w628.jpg"]https://s27.postimg.org/8ub5u69ub/Android_PIT_Nexus_5_Fastboot_unlocked_w628.jpg[/IMG]
[Nexus 5 General] mobile_sensei:
Dowload Selected ROM, GAPPS, ROOT - SuperUser, and Any Extras Tou Wish To Flash

Before Flashing New ROM, Flash Updated Radio & Bootloader (HH720H / 230

[IMG="https://i.imgsafe.org/7dd540cc20.jpg"]https://i.imgsafe.org/7dd540cc20.jpg[/IMG]
[Nexus 5 General] mobile_sensei:
Information on Caf / Non Caf ROMS, CM 14.1 & Lineage OS
[Nexus 5 General] mobile_sensei:
Just in case
[Nexus 5 General] dramalicious:
My 1st rooted/ROMed phone was an LG OptimusOne P500..my god the time flyes :)
[Nexus 5 General] mobile_sensei:
Speaking of Android growing fast, have you guys checked out GOOGLE FI yet? BEHOLD THE FUTURE!

It's Google's world, we're just living in it,,,

[IMG="https://cdn.pbrd.co/images/wQiea4wIT.jpg"]https://cdn.pbrd.co/images/wQiea4wIT.jpg[/IMG]
[Nexus 5 General] meatwad0222:
My only problem with google fi is being able to bring your own device. You can of course bring your own device but sim card must be activated and can only be done with newer google devices. And the other problem is only one device can activate one sim card preventing others from finding a way on to the network. Just let us get service without your new devices. I dont feel like dropping a minimum of 200 just to use project fi. Its not like i havent supported google. Ive had nexus "3", 4, 5, and 6 settling on the 5 because it is an amazingly wonderful device.
[Nexus 6P Q&A, Help & Troubleshooting] HerySean:
Hi,

1: So every time I use my nexus 6P to make Wifi hotspot, it was fine when the screen is on but when the screen off my laptop or any other laptop I own couldn't connect to it, I tried and tried over and over again but no luck.

2: the second problem is that I couldn't use Wifi Hotspot 5Ghz bandwith :(.

Does anyone have solutions to these problem of mine? Please.

Thanks in advance :).
[Nexus 6P Q&A, Help & Troubleshooting] ahmed534:
+1
[Sprint HTC 10 Questions & Answers] drlzanej:
Been looking around the interweb for info about Nougat specifically for the Sprint 10 but cant seem to find much info. Seems like the unlocked and most other variants have got pushed but nothing for us yet.

Is our OTA gonna be a NO-ta ???
[Sprint HTC 10 Questions & Answers] rafyvitto:
Its not out yet, soon 22ish.
[Sprint HTC 10 Questions & Answers] RedNak71:
You can flash the nougat viper rom with 1.80.615.3 sprint firmware if you want nougat. It works great. Just select Verizon as your carrier when installing, then manually enter the sprint APN. Profit!
[Sprint HTC 10 Questions & Answers] Magnum_Enforcer:
There are actually several Nougat ROM's available for the Sprint version of the 10 that support Sprint out of the box and don't require entering the Sprint APN's (ICE, LeeDroid, Bad Boyz, just to name a few).

As far as the official update from Sprint, that's anyone's guess at this point.
[Sprint HTC 10 Questions & Answers] RedNak71:
Yep. I guess I'm just partial to viper. It will be nice when we get N firmware though.
[Sprint HTC 10 Questions & Answers] drlzanej:
Actually running the BadBoys rom as my daily right now and ran LeeDroid for a couple days, Havent tried ICE yet tho guess ill give that a shot. Got a feeling ill be back on BB tho. Kinda partial to OMJ and the fellas work myself. Thanks ✌
[Sprint HTC 10 Questions & Answers] ej_424:
Why not just unlock, flash TWRP and get Nougat now? Good way to debloat all sprints garbage apps and speed up your phone too.
[Sprint HTC 10 Questions & Answers] Magnum_Enforcer:
Pretty certain he's done all that already.
[Sprint HTC 10 Questions & Answers] carrsteven:
I've tried all the nougat roms on the two different 10s that I have in the house and streaming audio doesn't work on either one without a VPN like hotspot shield, became quite annoying. So I'm back on a mm rom until it's officially released by Sprint.

Sent from my 2PS64
[Sprint HTC 10 Questions & Answers] Stanforchrist:
Any word on Android 7 for Sprint htc 10. Seems they are taking their time.
[Sprint HTC 10 Questions & Answers] trev23sks:
Sprint just dropped it for the A9 yesterday so I'm hoping we are next
[Sprint HTC 10 Questions & Answers] trev23sks:
Tomorrow!!
[Sprint HTC 10 Questions & Answers] drlzanej:
Great news, thanks for the heads up man. ???
[Sprint HTC 10 Questions & Answers] Aldo101t:
:good::good:UPDATE is LIVE, people
[Sprint HTC 10 Questions & Answers] Granite1:
Ka-BOOM! :D

Saw on reddit it's dropped, and folks are getting the update.

[MENTION=506238]OMJ[/MENTION] I hope your peeps hook you up with the firmware and RUU again. You moved on to the Bolt didn't you?
[Sprint HTC 10 Questions & Answers] sportyfortyeight:
Ex wife just got the update on her 10
[Sprint HTC 10 Questions & Answers] fordstang99:
Just saw this on twitter
[Sprint HTC 10 Questions & Answers] CodingEthos:
Sweet. Hopefully no more workarounds for getting ROMs to boot now that the firmware has been updated.
[Sprint HTC 10 Questions & Answers] drob311:
I tried lineage today after I updated... It didn't boot for me... Maybe you'll have better luck.
[Sprint HTC 10 Questions & Answers] CodingEthos:
I'll give it a go later tonight. May just be a couple weeks before devs sync the changes into their ROMs. Gotta RUU back first, too :D
[Sprint HTC 10 Questions & Answers] drob311:
I tried with and without formatting data, both just stayed on the boot animation. I didn't get the chance to pull a logcat. If I have time today, I'm writing a statistics paper so it's a 50/50, I'll flash it again and get a logcat to post. I just want AOSP to work on this phone without having to go through such a drawn out process. Sense runs amazing so I can only imagine how awesome AOSP runs. ?
[Sprint HTC 10 Questions & Answers] CodingEthos:
I see. HTC still hasn't posted the N RUU either so I had to go back to MM then OTA to N, which I just finished doing. Now, I'm doing a TWRP back-up so I don't have to do it all again if no profit...Going for a full wipe, latest unofficial TWRP (no N support in official channel yet), and trying both LOS and DU just to see what happens.

Post a log too. The more the better :D

---------- Post added at 01:25 PM ---------- Previous post was at 12:58 PM ----------

No go on either DU or LOS. It looks like we're back to the waiting game until devs update their builds. Thankfully, I have much more faith in the community than I do in Sprint or HTC combined.
[Sprint HTC 10 Questions & Answers] BAReese:
My Sprint HTC 10 is stock except for unlocked bootloader, TWRP, and rooted (S-On still). I got the OTA update, but my phone wouldn't get past the first HTC splash screen, so I pulled my SD (primarily to save my Titanium backups) and did the RUU. After that I was able to take the OTA again, unlock the bootloader, flash TWRP, flash Super SU, etc.

That brings me to my next issue that I'm hoping someone can help with - or at least stand as a warning for others...

I fired up WiFi Tether Router to test it, but after disabling my phones WiFi wouldn't turn back on. Does anyone have any insight as to why this would happen?

Symptoms: stuck at "WiFi turning on", MAC address set to 02:00:00:00:00:00, WiFi Tether Router wouldn't work anymore

What I tried:

Turn WiFi off and back on

Airplane mode off/on

Reboot

Start WiFi Tether Router then reboot

Deleted (renamed) /data/misc/wifi/wpa_supplicant.conf

Deleted (renamed) /data/misc/wifi/p2p_supplicant.conf

Cleared cache/dalvik

What finally worked was another factory reset. If anyone has a proper solution or knows of a better WiFi tether option (without S-Off), I'd love to know about it!

Thanks!
[Sprint HTC 10 Questions & Answers] ej_424:
Is there a way to avoid doing a complete stock restore (RUU) to get these changes? I'm already rooted, unlocked, s-off, with TWRP. I would love to just flash what is needed va TWRP and avoiding all the work.
[Sprint HTC 10 Questions & Answers] lexridge:
I was wondering the same thing. Also, I ran into a tizzy last night when my bluetooth stopped working. Did an RUU of MM, then when I went to restore my nandroid, it wouldn't go in. Fortunately I also did a TB backup which got me running again.

I am not really clear on how to do this, being a newbie on this phone. Do I have to flash the firmware and the RUU at the same time? Which one first? or do I even need the firmware? I assume the firmware is the modem and bootloader? Somebody please clarify this for me.

And lastly, can I go back to a MM nandroid if needed, after flashing N? It seems the more I read about all this, the more confused I become. I have read both, yes you can, and no, it will brick your device. No wonder I am so damn confused. lol
[Sprint HTC 10 Questions & Answers] mbaseball3:
Seems to still be a borked update? Probably part of why they delayed it. Have had the 10 since d day and all of a sudden Google play won't open. Have tried the work arounds to no avail. Pandora won't open now. And Google play services now force closing. Da fuq!?! Didn't want to reset but apparently that's in my near future...
[Sprint HTC 10 Questions & Answers] m03sizlak:
I had that problem too. The one thing that fixed it for me was changing the deviceID. After I did that I had to agree to a new Google Play TOS, then I was good again. Then I changed my device ID back to original and everything kept working. I used "DeviceID changer" from store. (Requires root)
[Sprint HTC 10 Questions & Answers] CodingEthos:
Not really. OTA updates need the stock recovery in order to work. That means flashing the stock firmware that matches what's currently on your device. The latest MM firmware is right here (from OMJ's thread). If you did all MM updates on Sprint, then this is the right one.

Then download the OTA zip file, also from OMJ, found right here. Copy it to your internal storage and flash from recovery menu. If all goes well, your file structure should stay the same and all of your /media should be untouched. Gotta warn you though that the OTA might fail if root messed with your /system files. In which case, you'll have to RUU anyways.

Just in case, here's the latest RUU. Either flash from your PC or rename to 2PS6IMG.zip, copy to ext sd formated to fat32, boot into download mode to flash. Good luck mate. Don't brick your phone.
[Sprint HTC 10 Questions & Answers] SilverZero:
If you're asking for an easier way to get tethering working, why not try the Bad Boyz ROM? Works out of the box.
[Sprint HTC 10 Questions & Answers] lexridge:
I just RUU back to stock 180, took the OTA update. All went well so far, except the splash screen now says "This build is for development purposes only and it not to be used outside of HTC...." Anyone else getting this? I find this very strange for an OTA update.
[Sprint HTC 10 Questions & Answers] mbaseball3:
The last troubleshoot item I had to try was erase Google play services data. That resolved the issue. Really weird that just after upgrade that this happened, so coincidence?
[Sprint HTC 10 Questions & Answers] BAReese:
Not entirely true. I rooted on day 1 (purchased the phone in June or July?) and have been taking the monthly(ish) OTAs with TWRP. I expected to not be able, but tried it anyhow. I figured I'd have to RUU for major updates, but really wish it worked without.
[Sprint HTC 10 Questions & Answers] BAReese:
I haven't entirely ruled it out. Really, I haven't used a custom ROM since my EVO 4G and CM7. Bad Boyz seems to be the go-to for this phone, so I'll consider it. Thanks for the suggestion!
[Sprint HTC 10 Questions & Answers] CodingEthos:
Interesting. Maybe since DL mode they'll go through? As a rule of thumb I just assume OTAs and what not will not work without stock firmware & recovery. Like I said, maybe DL mode on the 10 handles that now instead of recovery...
[Sprint HTC 10 Questions & Answers] SilverZero:
It's very close to stock, which is already closer to AOSP than most vendor UI's.
[Sprint HTC 10 Questions & Answers] fredgar75:
Hey guys just picked up this device yesterday. If I accept all of the OTAs will I be able to unlock and install TWRP?
[Sprint HTC 10 Questions & Answers] jblparisi:
Yeah should be fine.
[Sprint HTC 10 Questions & Answers] BAReese:
Should not be a problem. HTC gives the tools to unlock the bootloader. Be sure to check the guides. A couple things to note:

When I did mine a few days ago, I had to use the latest TWRP release candidate. The previous "stable" version wouldn't run.

This phone is encrypted by default, but apparently SuperSU changes that to "encryptable" and breaks radios. There are a couple lines to add to /data/.supersu to keep it from causing problems.
[Sprint HTC 10 Questions & Answers] Magnum_Enforcer:
The issue with SuperSU breaking the radios was resolved long ago and does not require anything other than flashing the most recent version via recovery.
[Sprint HTC 10 Questions & Answers] Original T:
Hello. to answer your question about flashing firmware and the RUU at the same time.... Flashing a RUU will flash your firmware as well as the whole system to stock. the version restored depends on what RUU u run. someone correct me if im wrong

Yes you can go back to MM from N. i just RUUed to N the new 2.4.651.6 firmware and didnt wanna re-setup everything again at the time (im running viper10 rom) so i RUUed back to MM 1.80.651.30 firmware and restored my MM Viper10 rom twrp backup and had no problems doing so at all.. note that i am S-off, SuperCID 11111111, and unlocked. i always s-off as soon as available so i cant confirm doing this works with S-on

someone correct me if im wrong

hope this helps clear thiings up a lil for you
[Sprint HTC 10 Questions & Answers] lexridge:
Thanks for your reply. I had already RUUed 7.0 and all went well.

I am more curious about your Viper ROM and your SuperCID. Are you on the Sprint network? I want to do this too, as I plan on traveling to Europe and Asia in the coming months, and would like to achieve some GSM freedoms. I just need it to still work under Sprint as well, and once this contract runs out, I plan to switch it to Cricket eventually and continue using this phone, if possible.
[Sprint HTC 10 Questions & Answers] Original T:
Yes i am on Sprint. Not sure what you wanna know about the Viper10 Rom but you can find it here https://xdaforums.com/htc-10/development/rom-21-02-viper10-1-0-0-tweaks-hub-t3379151 and SuperCID here https://xdaforums.com/htc-10/how-to/guide-supercid-htc-10-t3374484

i only have minimum knowledge so unfortunately all i can do is try to point you in the right direction to find the info u seek. hope this helps good luck
[8525, TyTN, MDA Vario II, JasJam ROM Development] SpiritualWarrior:
Hi All

If You Want To Flash Your Rom I Suppose You Have Done A Pim Backup Of All Your Contacts

So Be Careful To Disable The Windows Encryption Option In The System Menu Because All Your Data In The Storage Card Will Be Encrypted And Unreadeable After Flashing Because The Master Key Will Be Erased To Decrypt Data

So Do A Pim Backup Than Copy It To Your Pc Trough Active Sync Explorer Than Restore It After Flash And Open It With The Same Version Of Pim Backup

A Have Been A Victim And I Lost All My Contacts

So Be Carefull It S The Safe Way To Ensure A Good Restore Of Your Contacts

Thanks
[8525, TyTN, MDA Vario II, JasJam ROM Development] KarhU:
More info concerning storage card encryption directly from Microsoft developers can be found here.
[8525, TyTN, MDA Vario II, JasJam ROM Development] simple:
You can place files on Storage Card and safely restore after upgrade, Just ensure that prior to making the backups "Encrypt files placed on storage card" is not checked in the system menu .
[8525, TyTN, MDA Vario II, JasJam ROM Development] SpiritualWarrior:
That S What I Ve Done And Normally It Could Work But Sometimes The Flash Erase The Key That Windows Use To Decrypt The Data Even It Was Stored In Storage Card

And All This If You Choose To Encrypt Data In System Menu
[OnePlus 3 Questions & Answers] ERNZT:
Hello are u here? i was trying to install multirom and i intall the secundary rom (miui) and finish to install, i choosed reebot system and the phone turnoff and dead :crying:
[OnePlus 3 Questions & Answers] AcidNoteZ:
Hey Dude are you there?

I just sent you a PM
[OnePlus 3 Questions & Answers] ERNZT:
Thanks for u time dude, yesterday at night i can solved the problem, It was a headache!!! but i can, thanks boddy!!!!:good::good:
[OnePlus 3 Questions & Answers] Deavy:
Same problem!

Maybe you can post how you fixed it.
[OnePlus 3 Questions & Answers] qasimtb:
Maybe you can visit the Mega unbrick guide thread. There you will get the detailed solution to your problem.
[Nexus 5 Q&A, Help & Troubleshooting] diogen:
Nexus 5 is blessed with having quite a few Nougat ROMs...

They unfortunately have a common problem believed (based on what I can read on these and other forums) to be related to the camera app...

It all starts with a minimalistic ROM (most of the time pico opengapps). And it works perfectly!

Stable: Google Assistant, root, AdAway, and a handful of PlayStore apps.

The problem starts with the camera app.

The consensus seems to be to install the 3.2.045 version. And it works for a while just fine...

And then comes the time when every time you press the power button (e.g. to wake up the phone) the camera app is started.

You can cancel (back button) and it might work but shortly after this the phone will reboot. And everything starts anew...

Installing a third party camera app instead (MX), does not change the pattern.

Having NO camera app installed makes it a perfect phone (WITHOUT picture taking capabilities)...

I tried this on two Nexus 5 and two Nexus 4 phones with EXACTLY the same behavior pattern.

That makes me rule out hardware issues despite using older phones...

Anyone can comment on this?
[Nexus 5 Q&A, Help & Troubleshooting] krusic22:
Your power button is broken... The camera opens if you press it twice. The same happened to me. Try clicking the power button really fast on the corners and if that doesn't fix it try smacking it with your hand a couple of times.
[Samsung Gear S3] Redflea:
I've got a Gear S2 Classic Platinum that I like very much (my wife would say love). Really the only thing I'm missing is full Samsung Pay support - having only NFC is kind of making me more crazy than it should.

The speaker for phone calls/reminders on the S3 BT version is nice, but it's really Samsung Pay (which I use almost exclusively) that I want.

Wondering if other Classic users who switched from S2 to S3 are regretting it at all, primarily concerned about the larger size of the S3.

And were there any other things about the S3 that you discovered you liked a lot that surprised you?

Appreciate your feedback. :)
[Samsung Gear S3] Compusmurf:
I switched, not because I wanted to. Warranty exchange and that's all they had.. It's bigger, that's obvious. It's also thicker. It took about 3 days to get used to it. I wear it on the INSIDE of my wrist, so it may take you shorter or longer.

That being said. I don't use pay. I never remember.

Battery DOES last noticeably longer. Huge plus. Sleep mode tracking works consistently for me. Another plus. It's bigger, so easier to type on to reply to a quick message.

Negative: GPS tracking of exercises is spotty. Sometimes it'll track, sometimes it'll 1/2 track then drop.

Other than that, same lack of apps, same lack of firmware updates, same issues as the S2. If you can get used to the size, it's an upgrade.