Hotspot mod using sql editor after root? - Sprint Samsung Galaxy Note5

After recent updates the APN settings are greyed out as we all know. With root you can access APN config file. So I did that much.
Is it possible to use an SQL editor to add ",dun" to the file and get the tethering hack back? I tried SQL Editor, but I seem unable to save the changes to test it. Anyone have a method that works now that I'm rooted? I like the stock QF1. Just need my tethering back.

Related

[Q] SwiftyTrix ROM tethering script

Hi. Apologies for posting this question if it's already been asked, but Search is not working right now.
I am running the "SwiftyTrix" ROM (http://forum.xda-developers.com/showthread.php?t=1879475) which has a "Wifi Tether Script" (http://beta.androidfilehost.com/?fid=9390077933525140376).
It doesn't say how to run this script. I tried rebooting to recovery and installing zip from sdcard. Nothing seemed to change.
Has anybody got tethering working on this ROM? If so, please let me know how you did it.
And BTW thanks so much timmytim for the ROM.
figured it out
Okay, that wasn't so hard to figure out.
After I posted the question I thought, let me just look what's in the file. Lo and behold there's adb.exe script and a batch file in there, so duh.
So if you are a noob like me and are wondering how to install that, just extract the zip to your c:\ and run the batch file.
Spoke too soon
I get the following error:
failed to copy 'com.motorola.android.providers.settings/databases/settings.db' to '/data/data/com.motorola.android.providers.settings/databases//settings.db': Permission denied
Unable to chmod /data/data/com.motorola.android.providers.settings: Operation not permitted
I have USB debugging enabled. I'll let you know if I figure it out.
Try disabling the entitlement check but in my case that alone didn't do it for me.
Using SQLite
1.open settings storage (com.motorola.android.providers.settings)
2.open settings.db
3.settings
4.search for dun_apn_changeable and dun_enable
5.Change both of their values to 1
6.search for entitlement_check and change it's value to disabled.
on my phone lines theses were on line117 and 118.check for yours.
Lemme know if this works
Sent from my MB865 running on ICS Leak 2#
Just for anybody that finds this thread.... I did not know what you meant by SQLite. I had no app with that name. I searched the Play Store for it and downloaded aSQLiteManager. I used ES File Explorer (with everything checked in Settings->Root Settings) to navigate to /data/data/com.motorola.android.providers.providers.settings/settings.db to /mnt/sdcard, then used aSQLiteManager to open that file, clicked "Data", found the specified keys and changed the values. Went back to ES File Explorer and moved the file back to its original location, rebooted.
It worked to turn on tethering. However I got "mobile data link lost" once I turned it on. I'm guessing it's because I'm on Straight Talk (on AT&T network) and my APN have to be changed somehow.
Ok, I didn't have to change my APN settings. I just turned my data connection back on and set up my hotspot settings and I am posting this through tethering right now!
See if any of the ideas in this thread help http://forum.xda-developers.com/showthread.php?t=1909454
spatters71 said:
Just for anybody that finds this thread.... I did not know what you meant by SQLite. I had no app with that name. I searched the Play Store for it and downloaded aSQLiteManager. I used ES File Explorer (with everything checked in Settings->Root Settings) to navigate to /data/data/com.motorola.android.providers.providers.settings/settings.db to /mnt/sdcard, then used aSQLiteManager to open that file, clicked "Data", found the specified keys and changed the values. Went back to ES File Explorer and moved the file back to its original location, rebooted.
It worked to turn on tethering. However I got "mobile data link lost" once I turned it on. I'm guessing it's because I'm on Straight Talk (on AT&T network) and my APN have to be changed somehow.
Click to expand...
Click to collapse
Glad that worked out.just so you know SQLite Editor allows you to change the field values directly.try that in case you need it in the future
Sent from my MB865 using xda premium

[MOD] Pantech Flex Enable Native Wifi Tethering ICS

Wifi Tethering Mod
Here are the original instructions use the zip at your own risk. It seems some people are experiencing problems with it...
I have modified the instructions to pertain to the Flex exactly.
This mod is not for the newbie, you must be rooted and I implore you to make a safe back up file in a new location of the file you will be editing. Actually two back ups, one completely stock the other you will use for editing.
I have edited his instructions for usage on the Pantech Flex running ICS.
Here’s the usual disclaimer: if you brick your phone it’s not my problem…. though I will help in any way I can as in my research I soft bricked my own device and was able to get it restored to a factory state.
Steps:
1. Root device using this method http://forum.xda-developers.com/show….php?t=2008888
2. Acquire/Install SQlite Editor or any Android SQL editor of your choice, Install ES File Explorer or Root File Explorer
3. Navigate to (root level) /Data/data/com.android.providers.settings/databases/
4. Copy file settings.db Navigate to SDcard/Backups/ now paste file to this location
5. Rename the file in Backups/ settings.db to settings.db.bak (if all goes to hell this is your backup file)
6. Paste the file again so you will have two settings files in Backups one ending in .bak and one ending in .db (this is the file you will be editing).
7. Open SQLite Editor and point it to /sdcard/Backups/settings.db and open it. You now will see a list of settings locations. Click on “secure”
8. Here you are going to be looking for two distinct lines. The line numbers may vary by device so I suggest you list name in list view:
Line 1. softap_free_supported
Line 2. softap_entitlement_interval
9. Change Line 1′s value to 1 in the SQL editor. Change Line 2′s value to 0 in the SQL editor save and close or just close depending on the editor.
10. Using your file explorer navigate back to /data/data/com.android.providers.settings/databases/ rename settings.db to settings.db.bak
11. Navigate to /sdcard/backups/settings.db(the one you edited) and copy the file go back to com.android.providers-etc and paste the file.
12. SUPPER IMPORTANT if the file permisuions on settings.db are not rw-rw-rw make them so in your file explorer.
If these permissions are no correct your phone will get stuck on the AT&T boot screen. ie softbricked
13. Reboot and you should be able to go to More in settings then Tethering & portable hotspot and turn it on set up your settings etc.
14. FYI under battery management you may want to change the value to never time out as it applies to the phones activity not the wifi activity.
This had been tried and tested on AT&T only it may work on other carries. USE AT YOUR OWN RISK!
Zip Method
You must be rooted and have CWM intalled.
1 Download the recovery mod zip file to the internal storage of your phone.
2 Reboot into recovery and make a CWM backup of your phone.
3 From recovery clear the cache and dalvik cache
4 Install the zip from the location you saved it to.
5 Reboot your phone.
6 Go to your phone settings wireless and networks, click on more, click on tethring and portable hotspot, click the box next to portable-wifi-hotspot. You are now up and running.
7 Personalize your hotspot settings in portabpe wi-fi hotspot settings.
8 Grab a free app like Hotspot Toggle to add to your home screen for easy one click on and off.
A huge Thank You goes out to Timmythanoob for making my original mod zip installable!
https://www.dropbox.com/s/9zv14h36j6xdjhq/tether.zip?m
This had been tried and tested on AT&T only, it may work on other carriers. USE AT YOUR OWN RISK!
Sent from Freakshow999's Nexus 7 using Tapatalk 2
If you find this post useful please remember to hit the thanks button!
Works perfectly
Sent from my PantechP8010 using xda app-developers app
@freakshow what part of the LBC u from were practicly neighbors bro lol
atadres said:
@freakshow what part of the LBC u from were practicly neighbors bro lol
Click to expand...
Click to collapse
I'm actually living in Cerritos right now but I'm at Portfolio at 4th and Juniper pretty much every day.
Sent from my PantechP8010 using Tapatalk 2
Mod update now zip installable through CWM recovery thanks to Timmythanoob!
the zip doesnt work for me !!
messes up my phone !
pls tell me the previous method ?
thanks...
I'm out right now. I will post up how to do it the manual way tonight some time.
Sent from my PantechP8010 using Tapatalk 2
Sorry I haven't been able to get the manual method up. I've been extremely busy with work. I will make an attempt to get it up later today.
Sent from my PantechP8010 using Tapatalk 2
after install this MOD my HOME key not work!!!
levanr said:
after install this MOD my HOME key not work!!!
Click to expand...
Click to collapse
Did you get it fixed?
if not restore system from backup
If you didnt do a backup do a factory data reset
Manual method is back and tried & true working...
Sorry it took so long. A quick Google search found a repost of my original thread on a blog... Lol!
Sent from my Nexus 7 using Tapatalk HD
Chadw1985 said:
Did you get it fixed?
if not restore system from backup
If you didnt do a backup do a factory data reset
Click to expand...
Click to collapse
i did factory data reset.
but i lost
tethering again )
levanr said:
i did factory data reset.
but i lost
tethering again )
Click to expand...
Click to collapse
Its because the file you edited is in your data folder. You will need to change a few things in your system folder to completely enable it.
levanr said:
i did factory data reset.
but i lost
tethering again )
Click to expand...
Click to collapse
Use the manual method for now we have a new zip file that should be up within the next 24 hours.
The manual method only changes the exact strings of info pertaining to tethering so it doesn't disturb the system files etc.
Sent from my Nexus 7 using Tapatalk HD
I think manual mode only work on att
becose in my carier not work (
but if delete line 1 work or using Secret Codes Revealer this work
https://play.google.com/store/apps/details?id=com.afp_group.software&hl=en
sorry for my english
File not found
freakshow999 said:
Wifi Tethering Mod
Here are the original instructions use the zip at your own risk. It seems some people are experiencing problems with it...
I have modified the instructions to pertain to the Flex exactly.
This mod is not for the newbie, you must be rooted and I implore you to make a safe back up file in a new location of the file you will be editing. Actually two back ups, one completely stock the other you will use for editing.
I have edited his instructions for usage on the Pantech Flex running ICS.
Here’s the usual disclaimer: if you brick your phone it’s not my problem…. though I will help in any way I can as in my research I soft bricked my own device and was able to get it restored to a factory state.
Steps:
1. Root device using this method http://forum.xda-developers.com/show….php?t=2008888
2. Acquire/Install SQlite Editor or any Android SQL editor of your choice, Install ES File Explorer or Root File Explorer
3. Navigate to (root level) /Data/data/com.android.providers.settings/databases/
4. Copy file settings.db Navigate to SDcard/Backups/ now paste file to this location
5. Rename the file in Backups/ settings.db to settings.db.bak (if all goes to hell this is your backup file)
6. Paste the file again so you will have two settings files in Backups one ending in .bak and one ending in .db (this is the file you will be editing).
7. Open SQLite Editor and point it to /sdcard/Backups/settings.db and open it. You now will see a list of settings locations. Click on “secure”
8. Here you are going to be looking for two distinct lines. The line numbers may vary by device so I suggest you list name in list view:
Line 1. softap_free_supported
Line 2. softap_entitlement_interval
9. Change Line 1′s value to 1 in the SQL editor. Change Line 2′s value to 0 in the SQL editor save and close or just close depending on the editor.
10. Using your file explorer navigate back to /data/data/com.android.providers.settings/databases/ rename settings.db to settings.db.bak
11. Navigate to /sdcard/backups/settings.db(the one you edited) and copy the file go back to com.android.providers-etc and paste the file.
12. SUPPER IMPORTANT if the file permisuions on settings.db are not rw-rw-rw make them so in your file explorer.
If these permissions are no correct your phone will get stuck on the AT&T boot screen. ie softbricked
13. Reboot and you should be able to go to More in settings then Tethering & portable hotspot and turn it on set up your settings etc.
14. FYI under battery management you may want to change the value to never time out as it applies to the phones activity not the wifi activity.
This had been tried and tested on AT&T only it may work on other carries. USE AT YOUR OWN RISK!
Zip Method
You must be rooted and have CWM intalled.
1 Download the recovery mod zip file to the internal storage of your phone.
2 Reboot into recovery and make a CWM backup of your phone.
3 From recovery clear the cache and dalvik cache
4 Install the zip from the location you saved it to.
5 Reboot your phone.
6 Go to your phone settings wireless and networks, click on more, click on tethring and portable hotspot, click the box next to portable-wifi-hotspot. You are now up and running.
7 Personalize your hotspot settings in portabpe wi-fi hotspot settings.
8 Grab a free app like Hotspot Toggle to add to your home screen for easy one click on and off.
A huge Thank You goes out to Timmythanoob for making my original mod zip installable!
https://www.dropbox.com/s/9zv14h36j6xdjhq/tether.zip?m
This had been tried and tested on AT&T only, it may work on other carriers. USE AT YOUR OWN RISK!
Sent from Freakshow999's Nexus 7 using Tapatalk 2
If you find this post useful please remember to hit the thanks button!
Click to expand...
Click to collapse
The link to flashable zip file is not working. Would you please upload again or provide a valid link?
Sorry guys all the zip installable files people have done for me have not worked for various reasons.
The manual method works tried and true on AT&T. I don't know about other carriers but I'm sure you would want to look at the same settings in the same file for changes.
By the way bluetooth tethering also works with this mod, but wifi tether yields much higher internet speeds.

Changing lcd density in build.prop causes lte option to disappear

Anyone experience the above before?? Mine disappeared somehow....
Edit: I did the changes many times to cfm this is happening to mine. Changing the edited build.prop back to 480 does not solve this. Only way is to use back the original build.prop.
I am sure nothing else is edited so it's quite strange this is happening.
Did a hard reset didn't quite solve the problem. When the phone restarted with the sim, it defaulted to 4g. But once I enter the network selection menu, it jumped back to 3g again as there was no 4g selection available.
I realize what is the problem. I was using the built in editor of root Explorer to change the lcd density in build.prop. When I make changes and reboot, the lte options in network settings will disappear. Using back the backup build.prop solves the issue.
Can anyone verify this?
scpion said:
I realize what is the problem. I was using the built in editor of root Explorer to change the lcd density in build.prop. When I make changes and reboot, the lte options in network settings will disappear. Using back the backup build.prop solves the issue.
Can anyone verify this?
Click to expand...
Click to collapse
Yes I can. I had the same issue after editing bulid.prop with editor from Root Explorer. The only way to edit your build.prop is to copy it to Downloads folder on storage and than copy it to your PC to edit it. After editing copy it back to Downloads folder and later with root explorer to /system folder and change permissions to rw-r-r. And reboot. That works everytime.

Tethering on At&t Stock 4.4.2 Software Version D85010f

Is there a way to get tethering to work without using something like FoxFi?
I tried the method posted here: http://forum.xda-developers.com/lg-g3/general/enable-tethering-lg-g3-d850-t2814367 but I have a different settings.db file with no tether_entitlement_check_state.
The same was true when I tried on version D85010d.
jiexi said:
Is there a way to get tethering to work without using something like FoxFi?
I tried the method posted here: http://forum.xda-developers.com/lg-g3/general/enable-tethering-lg-g3-d850-t2814367 but I have a different settings.db file with no tether_entitlement_check_state.
The same was true when I tried on version D85010d.
Click to expand...
Click to collapse
root and mod the flags
In your SQLite Editor, click on the FILES tab and look for the path: /data/data/com.android.providers.settings/databases/SETTINGS.DB/SYSTEM
DO SEARCH OF SYSTEM FOR ‘TETHER’
I HAVE ‘TETHERING TIME 600000, CHANGE TO 0
I HAVE TETHER ENTITLEMENT 5, CHANGE TO 0
this came from xda. i keep it handy in a note
did you make sure to first run the tether setup first, before doing the mod? that puts the entries into the correct file.
Yes I did run the tether first for it to initialize the file, as per the instructions.
I was able to find the two values and changed them both. However after I restarted my phone it went into a boot loop.
I flashed a recovery and then tried just changing tether_entitlement to 0, but the same thing happens.
Is there anything else I should try?
Also, there were some things I noticed and I'm not sure if they make a difference.
1)
instead of having the directory path
data>data>com.android.provider.settings>system>databases>settings.db
I have just
data>data>com.android.provider.settings>databases>settings.db
2)
SQLite Editor does not have root access. It never prompts me to give root access, nor do I see a way to manually grant it through SuperSU.
However, other apps like Root Browser were prompted and do have root access.
I did a work around by copying settings.db to sdcard to change the values, then copying it back.
Any more help will be greatly appreciated.
jiexi said:
Also, there were some things I noticed and I'm not sure if they make a difference.
1)
instead of having the directory path
data>data>com.android.provider.settings>system>databases>settings.db
I have just
data>data>com.android.provider.settings>databases>settings.db
2)
SQLite Editor does not have root access. It never prompts me to give root access, nor do I see a way to manually grant it through SuperSU.
However, other apps like Root Browser were prompted and do have root access.
I did a work around by copying settings.db to sdcard to change the values, then copying it back.
Any more help will be greatly appreciated.
Click to expand...
Click to collapse
after you make the changes to the file, make sure you set the permissions or you will boot loop
JeffDC said:
after you make the changes to the file, make sure you set the permissions or you will boot loop
Click to expand...
Click to collapse
I ended up using another database editor, but that was most likely the problem.
Thanks.
jiexi said:
I ended up using another database editor, but that was most likely the problem.
Thanks.
Click to expand...
Click to collapse
Yes., exactly. You must use and editor which can handle the entire file, and not truncate the file when you save it. I use 920 text editor

Rooted Nexus 6p (Nougat 7.1) Hosts file has no effect on chrome.

I'm a little stumped. I have adaway installed. It has no issue applying the changes to the hosts file. Then I go into Adaway preferences, turn off "Check for updates on start of adaway." I use root explorer to then edit the file and add my own entries like: 127.0.0.1 reddit.com. The file saves, but I can access any website for any of the entries I have put in the hosts file. Not really sure how to troubleshoot this. I have restarted the phone, I have wiped all data from chrome. Tried it again, and it still allows me to access sites I have entered into the hosts file. Any help would be appreciated.

Categories

Resources