[FIX] Nexus 5 Tethering Block - Nexus 5 General

This thread was created in response to an issue that was first posted in the Nexus 5 Q&A Forum.
There were several solutions posted but it seemed they were getting lost amongst the other posts in that thread.
Therefore I have created this thread and have copied the posted solutions here.
Thanks to the original posters for the following solutions.

I have the T-mobile $30 unlimited prepaid plan and I ran into the tethering block after getting my Nexus 5.
I was able to work around the issue by modifying the following sqlite database (you'll need root):
/data/data/com.android.providers.settings/databases/settings.db
You need to add a new entry to the global table called "tether_dun_required" with a value of 0.
It looks like you need to do this because some configuration data was added to Android for T-mobile that forwards tethered data to this APN: pcweb.tmobile.com
T-mobile is probably checking to see if your account has tethering enabled when you go through this APN.
After I made this change I also needed to change my APN settings so that it uses ipv4 instead of ipv6. It seems like tethering with ipv6 does not work 100% yet.
I hope this helps.

Nexus 5 on t-mobile family plan with unlimited 4G and 2.5GB 4G tethering
Used native tethering without any modification for about a month... during which i know i went over 2.5GB for tethering.
Today, I was greeted with t-mobile page so I tried the following with a success.
Thought I'd share.
-used root explorer to navigate to /data/data/com.android.providers.settings/databases/
(i've already purchased root explorer in the past. but i'm sure there are some free ones as well.)
-copy settings.db to /storage/emulated
-plug in usb cable
-copy settings.db file to desktop (windows 7) ... also probably a good idea to backup this file... in case things go wrong.
-go to http://sourceforge.net/projects/sqlitebrowser/ and download
-unzip and run SQLite Database Browser
-open settings.db file
-select "Browse Data" Tab
-select "global" table
-"New Record"
-under name column double click and type "tether_dun_required"
-under value column double click and type "0"
-save / quit
-copy the settings.db file from desktop to Nexus 5 /storage/emulated directory
-open root explorer to move the file back into /data/data/com.android.providers.settings/databases/
-Settings - More Wireless & Networking - Mobile Networks - Access Point Names - T-mobile GPRS (mine is fast.t-mobile.com) - APN protocol (change this to IPV4/IPv6)
-Settings - More Wireless & Networking - Mobile Networks - Access Point Names - T-mobile GPRS (mine is fast.t-mobile.com) - APN roaming protocol (change this to IPV4/IPv6)
reboot
Now I'm back on tethering.
Hope this helps

Headsup: I didn't look deeper into the issue as it doesn't affect me, just thought I'd drop some ideas which might help to make the process of manually editing the sqlite db simpler :fingers-crossed:
I'm not sure if this works in the tethering context, but you could try to insert the value via adb:
Code:
adb shell content insert --uri content://settings/global --bind name:s:tether_dun_required --bind value:i:0
Or open a terminal emulator and execute that line (without the adb shell part).
Edit: confirmed working!
Edit2: I've changed "system" to "global" in the above command.
It doesn't really matter as both paths will be correctly read, but global is the correct one according to the doc.
As an alternative one could easily create a flashable zip which adds the dun line.
See here for instructions:
http://forum.xda-developers.com/showthread.php?t=1621602
(it's probably best to ship the sqlite binary within the flashable zip and reference it as stock ROMs don't have it included)

I know you guys already have a few ways to add tether_dun_required = 0 to settings.db, but I just thought I'd make a flashable zip for those that want it. All credit goes to yakman66. If you are going to thank this post, please thank his first.
To install, download the installer ZIP to your device, flash from recovery and reboot. An uninstaller is also available.
For more information, see GitHub.
Downloads:
1.0 Installer
1.0 uninstaller
Let me know how it goes.

Why are there two different versions of editing the database?
One method makes the entry to Global while the other to System.
Is one better to do than the other?

The above fixes didn't work for me, but this app does..
https://play.google.com/store/apps/details?id=net.snclab.wifitetherrouter
Sent from my Nexus 5 using XDA Premium HD app

pk92 said:
The above fixes didn't work for me, but this app does..
https://play.google.com/store/apps/details?id=net.snclab.wifitetherrouter
Click to expand...
Click to collapse
It is kinda working for me as well...I can access Box.Com and get google hangouts messages. But cannot access any websites via a browser or get new content on Taptu (news reader app).
Edit : The developer was very helpful. After changing from IPv6 to IPv4 everything works perfectly.

pk92 said:
The above fixes didn't work for me, but this app does..
https://play.google.com/store/apps/details?id=net.snclab.wifitetherrouter
Sent from my Nexus 5 using XDA Premium HD app
Click to expand...
Click to collapse
Are you Fabio Grasso? LOL

*child said:
Are you Fabio Grasso? LOL
Click to expand...
Click to collapse
Are you saying that the app doesn't work? I was about to purchase it.

justthefacts said:
Are you saying that the app doesn't work? I was about to purchase it.
Click to expand...
Click to collapse
It was a joke. I have no idea if it works or not.

tonyp said:
Headsup: I didn't look deeper into the issue as it doesn't affect me, just thought I'd drop some ideas which might help to make the process of manually editing the sqlite db simpler :fingers-crossed:
I'm not sure if this works in the tethering context, but you could try to insert the value via adb:
Code:
adb shell content insert --uri content://settings/global --bind name:s:tether_dun_required --bind value:i:0
Or open a terminal emulator and execute that line (without the adb shell part).
Edit: confirmed working!
Edit2: I've changed "system" to "global" in the above command.
It doesn't really matter as both paths will be correctly read, but global is the correct one according to the doc.
As an alternative one could easily create a flashable zip which adds the dun line.
See here for instructions:
http://forum.xda-developers.com/showthread.php?t=1621602
(it's probably best to ship the sqlite binary within the flashable zip and reference it as stock ROMs don't have it included)
Click to expand...
Click to collapse
Editing sqllite method didn't work for me but running the cmd from shell worked for me - tested with psvita.
Sent from my Nexus 5 using xda app-developers app

msgfromside3 said:
Editing sqllite method didn't work for me but running the cmd from shell worked for me - tested with psvita.
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
I'm on the LG F3 $30 prepaid plan and it looks like they took out the global in system.db. When I tried to edited the db under secure, rebooting it will change tether_dun_required back to 1. Any ideas? Both phones made by LG so maybe its coming to the N5 as well...

Anybody know of a method to add this entry without root?

msgfromside3 said:
Editing sqllite method didn't work for me but running the cmd from shell worked for me - tested with psvita.
Click to expand...
Click to collapse
How does one approach defer in results ?
Aren't they both suppose to do the exact same thing

AcuraKidd said:
Anybody know of a method to add this entry without root?
Click to expand...
Click to collapse
The adb method above worked for me without root.

*child said:
Are you Fabio Grasso? LOL
Click to expand...
Click to collapse
No, I was just recommending an app that worked for me and may work for others.

Didn't work for me
"tether_dun_required didn't work for me It still takes me to the up sell page. I have $70 unlimited data and 500MB tether.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Just do this guys for native tether remember windows system you need to install user agent for it to work.
https://www.youtube.com/watch?v=H_jYNWb1rEw&feature=youtube_gdata_player

finally got it
jenenser83 said:
Just do this guys for native tether remember windows system you need to install user agent for it to work.
https://www.youtube.com/watch?v=H_jYNWb1rEw&feature=youtube_gdata_player
Click to expand...
Click to collapse
I had everything right except one thing this video showed me I needed to set my roaming apn to ipv6 and like magic I have tethering again.
modify the provider settings with "tether_dun_required" I used sqlite editor
Change APN protocol to IPV4
Change APN roaming to IPV6
I used Chrome Extension "User-Agent Switcher" to mask browser
Tap on Settings Storage
Tap on settings db
Tap on Global
click menu add new record
menu save
I tried to make this as easy as possible to follow I hope it helps.

Related

[APP] QtADB Easy ADB, File Manager, Apps etc

QtADB is an app based on adb. It requires working android sdk (command “adb"), Qt libs version 4.7, ROOT and busybox installed on phone.
Features:
File manager
copying files and dirs between phone and computer
removing files and dirs
creating new dir
and other
App manager
installing apps[/B]
removing apps
creating backup of apps with data
restoring backups of apps with data
Shell
opens android shell
Screenshot
take screenshot of your device
save screenshot to png file
Fastboot
flash bootloader, radio and recovery
boot recovery
Recovery
nandroid backup/restore
wipe data
flash rom
wipe battery stats
fix uid mismatches
Reboot
to bootloader
to recovery
normal reboot
Settings
set font used by app
set starting paths (or remember paths on exit)
and other
Logcat
Automatically detects phone (device, fastboot and recovery mode)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Download QtADB for windows, linux & mac os.
Connect with Cable and WiFi
Download adbWireless scan with Barcode App
really great app. surprised no ones posted about it. i see there has been updates in a while cuz there looking for devs to help. one problem i have is my phones apps only show up if i have an app moved using the system move to sd, i use link2sd. when i view system apps they all show.
Nice app. Everything works well except the sms-tab. I allways get an error.
But I have one question: what setting does this app modify on my phone when i toggle wifi connection? It works, but when i toggled wifi, I cant swith back to usb-connection and also cannot mount my SD to windows anymore..
doumer said:
Nice app. Everything works well except the sms-tab. I allways get an error.
But I have one question: what setting does this app modify on my phone when i toggle wifi connection? It works, but when i toggled wifi, I cant swith back to usb-connection and also cannot mount my SD to windows anymore..
Click to expand...
Click to collapse
Have you got QtADB.apk installed and running when you try to access the sms-tab?
ah no, wasn't running. sometimes the solution is so simple ^^
thank you
doumer said:
Nice app. Everything works well except the sms-tab. I allways get an error.
But I have one question: what setting does this app modify on my phone when i toggle wifi connection? It works, but when i toggled wifi, I cant swith back to usb-connection and also cannot mount my SD to windows anymore..
Click to expand...
Click to collapse
Got the same question, except not for the sms part, the wifi function screw me up.
help would be appreciated
Edit: problem resolved, download the apk, enable and disable the wireless adb on your phone, change connection type to diskdrive and solves the problem.
hey all,
FAQ on the official site solves 99% problems You can find there some info about using WiFi connection, SMS Manager and more.
burimii said:
QtADB is an app based on adb. It requires working android sdk (command “adb"), Qt libs version 4.7, ROOT and busybox installed on phone.
Features:
File manager
copying files and dirs between phone and computer
removing files and dirs
creating new dir
and other
App manager
installing apps[/B]
removing apps
creating backup of apps with data
restoring backups of apps with data
Shell
opens android shell
Screenshot
take screenshot of your device
save screenshot to png file
Fastboot
flash bootloader, radio and recovery
boot recovery
Recovery
nandroid backup/restore
wipe data
flash rom
wipe battery stats
fix uid mismatches
Reboot
to bootloader
to recovery
normal reboot
Settings
set font used by app
set starting paths (or remember paths on exit)
and other
Logcat
Automatically detects phone (device, fastboot and recovery mode)
Download QtADB for windows, linux & mac os.
Connect with Cable and WiFi
Download adbWireless scan with Barcode App
Click to expand...
Click to collapse
good one mate I use this app for one year or so, and it's amazing
Finally... exactly what I was looking for.
Can't thank you enough for posting this. I've been rooting around for a good all-in-one toolbox for a while. Blows DroidExplorer, etc., out of the water.
Any possibility you could add some more tags to improve other's chances of finding it? I'm certain there are lots more folks looking for exactly this kinda tool.
hey so this seems like a good use of getting around some bugs for usb mount... but quick question, im trying to open the QtADB.exe file, and then it asks me for the path to adb and aapt binaries. I've installed the adroid-sdk package, so where do I point the directory to? my android sdk path is on c:/-program files (x86)- Android. The FAQ doesn't really help in answering questions...
awesome tool!
wifi connection doesnt work.. i downloaded the apk and tried connecting but didnt work..
The most awesomest PC app for android ever! Sammy better learn something from you, and FAST!
dr. xp55 said:
hey so this seems like a good use of getting around some bugs for usb mount... but quick question, im trying to open the QtADB.exe file, and then it asks me for the path to adb and aapt binaries. I've installed the adroid-sdk package, so where do I point the directory to? my android sdk path is on c:/-program files (x86)- Android. The FAQ doesn't really help in answering questions...
Click to expand...
Click to collapse
Point it to the exact directory in which adb and aapt are found should be something like c:/program files (x86) - android/tools
Sent from my HTC Desire HD using Tapatalk
I've been using this for a while now and it works great, very useful via wifi. Thanks!
I was looking for something like this for some time. Awesome app, thank you!
It stops responding whenever I try to copy a file from the device. P6800 CWM
Dont open Qt-Adb site, contains Trojan Redirector
nice man, tnx
After much anguish, I finally started it, nice app.
Cant connect my phone to QTADB via usb or wifi
Hi,
I cant seem to connect my phone to QTADB via usb or wifi. Tried checking the faqs but no answer there.
Can anyone help?

[MOD] Atrix Mods application V1.06 (7/15/11)

Disclaimer: I have only tested this on my own phone. Everything should work fine, but I am not responsible for anything lost on your phone..​
Here is an application based on my Bell Deodex scripts. Still a work in progress, but I am running out of things to do with it so it may be ready for public consumption. I just ran through a test of all the features, so far, so good.
Features:
Full Phone Backup and Restore (partitions 1-14, 17)
Root / Unroot
Early usb enumeration recovery mode
2nd-Init support
Odex/Deodex system files. (Bell stock, Telstra and French supported, ATT firmware support would just be a matter of creating the right system_$version.tar.gz archive and putting it in my Dropbox account.)
There are some changes compared to my scripts:
I am not using /data/local/tmp anymore, instead I am using /cache.
Instead of suspending android vis setprop tcmd.suspend 2, which obviously wouldn't be good from something running within android, I am using my early usb enumeration wedge to do it on the next boot before android loads via a script run from /cache.
Slight mods to that have been made to support this functionality, it requires shsu to be installed from my root install. So, if you have rooted using something else, you need my shsu in /system/bin.
ApplyMods is not being used, I could possibly port apktools over, but for now, the mods are baked into the deodexed system files.
I have compiled my own version of Gingerbreak, based on the source for GingerBreak_v1.2.apk. It detects our Froyo better by seeing if there is a 2.2 in the version anywhere. Also, it now takes a path argument so it's not limited to running from /data/local/tmp, and not hard baked with an android application path. Also, the app installs SuperUser.apk as a regular application, not a system one, and prompts you to unmount your internal memory and sdcard, so preserve their contents while GingerBreak is active.
Still more testing needs to be done, I have been working with stock Bell for most of development.
Bugs and feature requests welcome.
Cheers!
Credits:
ChainDD for the Gingerbreak apk, and the The Android Exploid Crew.
edgan for the 2nd-int stuff, see his thread here.
Tested:
OLYLA_U4_0.37.4: 100%
OLYEM_U4_2.1.1: 100%
Fixes:
1.0.1: debloat script fixed when deodexing, it was working but the files were getting replaced by the archive.
1.0.2: check added for shsu
1.0.2: Fixed stupid backup bug, creating directory "backup" and copying to "backup_$version"
1.0.3: Added reboot dialog popup
1.0.3: Fixed force close when no sdcard mounted. (postexecute in asynctask was assuming initialized data, not done when aborted)
1.0.3: Backup/Restore now archives data partition.
1.0.3: Multiple Backups now put up a selection dialog.
1.0.4: Added settings menu option
1.0.4: Updated early usb recovery mode, osh mount moved and replaced, using flag to avoid rerunning the same code.
1.0.4: Reboot option moved to menu. Requires root, when rooting just turn phone on and off, Superuser.apk gets installed after you reboot.
1.0.4: ATT sideloading support added. Reason for the move for Superuser.apk to next boot.
1.0.4: Recompiled 2nd-int, it's now 5KB instead of over 400KB. Have to find some working source for taskset to do that same there.
1.0.5: Added long click to backup button to force a restore operation
1.0.5: finished off settings dialog to implement internal vs external storage.
1.0.5: Misc layout updates, smaller font description text.
1.0.6: Fixed root.sh script, missing / resulting in 0 byte files. Doh!
Some attempt at docs.
Root/Unroot
I am using Gingerbreak to gain a temp root, which then runs a root.sh script with elevated privileges to remount /system and copy su and sush to /system/bin, link in /system/xbin to su, and copy su over to /osh/sbin/frozenfish. Prior to running GingerBreak, the app brings up the system settings for memory cards, so you can unmount them. This will keep you from losing the contents of your internal memory and external sdcard, the app will wait until you have unmounted both. You still have to reboot however. Be sure to click install or replace for Superuser.apk when your phone reboots, around 10 seconds after you see the home screen again.
Unroot just uninstalls Superuser.apk and and deletes the files copied above.
Early USB enumeration:
How to enter:
Hold down volume down when you first turn the phone on, it will say fast boot.
Click volume down until it says early usb enumeration mode.
Press up volume to select.
What it is:
All this boot mode does is enable the usb port so it is available for adb access.
App_Process:
What this is:
It's what starts all the androidish things happening, otherwise you have just linux running on your phone. It is located in /system/bin and is called by init in init.rc. It invokes pre-zygote, zygote, and post-zygote classes (sets of functionality related to getting all the phone services running).
Early usb mode recovery:
What this is:
This is a script in /system/bin replacing app_process. This gets activated when there is an update.sh in /cache OR if you are in early usb enumeration mode and the usb cord is plugged in. In either case, the system partition is moved to /old_system and a copy of it is running from ram, system and root are in read write mode, both sdcards are manually mounted.
So long as you are booted into early usb enumeration mode and the usb cord is plugged into your PC, the phone will wait for the plug to come out, halting the boot process. You can fix your framework-res.apk files, do whatever, and the phone won't crash. When you are done you can pull the plug and the phone will continue where it left off. The system partition is remounted read only and put back as /system, the sdcards are synced and unmounted for vold to find later on.
(Your pc will beep saying usb is disconnected, that is the script turning off usb while it is copying the system partition, it will beep again when it reconnects usb. This is to avoid being in an adb shell and things are still in the works.)
If you have an update.sh script in /cache, regardless of whether you are in early usb enumeration mode, it will go through the same process above, the script will do it's thing while the real system partition is out of the loop, and continue on automatically.
2nd-Init:
This is implemented by adding (not replacing) mount_ext3.sh in /system/bin.
This script changes the affinity of init to be single core, and hacks into it to restart init. Everything already done up to the point in init.rc where mount_ext3.sh is located is not undone, there is a replacement init.rc stored in /system/etc/rootfs that leaves out the bits that were already done and disables some reboot detection. In my implementation of this, I make the phone insecure by replacing the root default.prop file, it gives root access to adb, and causes eclipse to freak out in it's console tab.
Deodex/Odex:
This app attempts to download a file to internal mem from my dropbox account named system_$version.tar.gz, where $version is the contents of your ro.build.id. This file contains the deodexed app and framework files, as well as some tweaks for build.prop in /system. It may also contain a bootanimation and apns list if you are running on Bell and have a foreign firmware loaded. A backup of the odexed files is also created in internal mem, as well as contents of any modified folders. The downloading is done right away, the deodexing is done via update.sh script on the next boot. Same process applies for reversing things.
Full Phone Backup/Restore:
This has nothing to do with nandroid or backing up personal settings.
The contents of /dev/block/mmcblk0p1 though mmcblk0p14, and mmcblk0p17 are dumped to internal mem in a folder called backup_$version, where $version is your ro.build.id. The data partition (mmcblk0p16) is 2GB, I create a tarball of that instead of a straight dump, you can do a factory reset to get that back to stock if anything goes wrong. The cache partition (mmcblk0p15) is just temp space, I leave that out.
To restore the process is reversed, it is implemented as update.sh in /cache for next boot. In this case the script reboots the phone and deletes itself. You can't replace the contents of system by essentially flashing it, and keep it's mount going.
Looks very cool! Will check it out.
BTW your Early USB Enum hack has saved me so many times, I cannot thank you enough! I wrap all my hackery in if [ $(getprop ro.usb_mode) != "debug ] ; then
Now! Keep up the good work =)
Nfhimself,
This looks really great! Three quick questions though. What do you need for this to work with an att atrix? Will this tool root a fresh sbf install? How should sideloading be enabled first to install?
Thanks
eval-, glad to be of service.
airbillion, I know little about the side loading issues with att, bit of a chicken and egg, nothing in an apk will enable it to be loaded. I thought I read side loading was possible now with ATT. Other than that, there is nothing intentionally Bell specific other than the deodex stuff I mentioned.
Cheers!
Will the rest of the features (other than odex/deodex) work on an AT&T Atrix? I was a bit confused about this and wanted to clarify.
Yes, it should, no reason why not.
Cheers!
This is awesome thank you!
Sent from my MB860 using XDA Premium App
NFHimself said:
eval-, glad to be of service.
airbillion, I know little about the side loading issues with att, bit of a chicken and egg, nothing in an apk will enable it to be loaded. I thought I read side loading was possible now with ATT. Other than that, there is nothing intentionally Bell specific other than the deodex stuff I mentioned.
Cheers!
Click to expand...
Click to collapse
Nfhimself,
Thanks for the reply. Att still needs to enable sideloading for atrix, but that can be done manually. Im still unsure what you need so we can deodex with your program though.
eval- said:
Looks very cool! Will check it out.
BTW your Early USB Enum hack has saved me so many times, I cannot thank you enough! I wrap all my hackery in if [ $(getprop ro.usb_mode) != "debug ] ; then
Now! Keep up the good work =)
Click to expand...
Click to collapse
NFHimself, what exactly does Early USB Enumeration do?
airbillion said:
Nfhimself,
Thanks for the reply. Att still needs to enable sideloading for atrix, but that can be done manually. Im still unsure what you need so we can deodex with your program though.
Click to expand...
Click to collapse
Don't need anything, just haven't made a deodexed archive available,yet.
Cheers!
Sent from my MB860 using XDA Premium App
n1ckr0th said:
NFHimself, what exactly does Early USB Enumeration do?
Click to expand...
Click to collapse
It's for using adb in early usb enumeration mode and for running scripts prior to android booting. Without it, android continues to boot and if there are any issues it auto reboots. That's the gist of it.
Cheers!
Sent from my MB860 using XDA Premium App
NFHimself said:
Don't need anything, just haven't made a deodexed archive available,yet.
Cheers!
Sent from my MB860 using XDA Premium App
Click to expand...
Click to collapse
Thanks nfhimself! Any plans on making one?
Really annoyed that it won't download from my phone.... anyone able to?
sent from my rooted,
and chillin, canadian Motorola Atrix
Edit: nevermind it worked Haha
marko! said:
Really annoyed that it won't download from my phone.... anyone able to?
sent from my rooted,
and chillin, canadian Motorola Atrix
Edit: nevermind it worked Haha
Click to expand...
Click to collapse
Cool, also downloads fine from xda app.
Cheers!
Sent from my MB860 using XDA Premium App
airbillion said:
Thanks nfhimself! Any plans on making one?
Click to expand...
Click to collapse
Sure, is the latest 1.83 these days? Or rather, is that what everyone is using on att?
Basically, I just be deodexing the files, applying some tweaks and uploading to dropbox. I would have to look up what is going on with webtop on att, to match the ones already done up.
Sent from my MB860 using XDA Premium App
NFHimself said:
Sure, is the latest 1.83 these days? Or rather, is that what everyone is using on att?
Basically, I just be deodexing the files, applying some tweaks and uploading to dropbox. I would have to look up what is going on with webtop on att, to match the ones already done up.
Sent from my MB860 using XDA Premium App
Click to expand...
Click to collapse
Thats great if you can do this for the att users! Yes 1.83 is the most recent and most used on att. Im not too sure about any differences on the att webtop compared to bell or the others, but if you need anything just ask.
Thanks
Sent from my Dell Streak using XDA Premium App
many many many thanks!!! ))))))
Btw how do we enter early usb enum?
About sideloadind and att, it will be on gingerbread enabled..
Until then if u can try install this app using adb, and then threw this app install modified gingerbreak.. Don't know for sure if it works..
Sent from my MB860 using XDA App
Can't get the deodex to work on stock bell.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
sent from my rooted,
and chillin, canadian Motorola Atrix
Edit: what size is the deodex file?
Edit#2 : now it says everything works but after reboot still showing odex files I. System/app
i've the same probleme
can donwload deodex files for at&t 1.8.3

Sim Unlock [Guide][Root][zv5,zv6][zv9 with downgrade]

If you're on zv9,first flash zv6 and unlock sim, after that flash zv9.
Sim Unlock for zv5,av6 without bugs.
After sim unlock wi-fi hotspot, bluetooth tethering and usb tethering will be in the
settings menu.
TEST2. Test new folder carrier, apn setting unblocked after downgrade and back roaming setting in setting, try this.
Instruction:
1) Root the smartphone.
2) Enable "usb debugging" in "developer options" and plug device to PC.
(For enable "developer option" in "settings", open "about phone", after that press "software info" and tap seven times on "build namber".)
3) Download this and unzip on your PC.
For unlock gsm(root) enter 1 and press Enter:
and follow the instructions.
For open hidden apn settings(root) enter 2 and press Enter:
and follow the instructions.
For open hidden apn settings(without root) enter 3 and press Enter:
and follow the instructions.
For disable hands free activation(without root) enter 4 and press Enter:
and follow the instructions.
4) If after unlock on your phone written "invalid sim" try tools with v2 version nobe.db.
Bonus: Mod Shortcut Master with hidden menus for LS991.
(apn settings, itson setting, ... ) Just about 20 useful hidden settings.
Instruction:
Install apk and open it and you see all
Old method(manually):
1) Install Root Explorer or any root file manager.
2) Backup the contents of your folder carrier/app.
3) Download View attachment apps.zip and extract to your phone.
4) Now copy the contents of apps.zip(node.db and node.db-journal) and replace the original files from carrier/apps/ folder.
5) Change permissions for files node.db and node.db-journal is rw-r--r-- (0644).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
6) Reboot.
7) Install Shortcut master and open it.
8) Press "menu" and press "search" , in search field enter
Code:
itsonsetting
and press "search", after search press on one result "Service Programu" and
press "launch", in new window press "ItsOn" and change on "Disable" after that
your smartphone do reboot.
9) Profit!
Bonus
Disable Handsfree Activate without delete apps:
Open Shortcut master press "menu" and press "search" , in search field enter
Code:
iot.ltesetting
and press "search", after search press on the first result "Service Programu" and
press "launch", in new window press "Operation Mode" and change on "Lab Network" after that
your smartphone do reboot.
APN settings:
1) Use Root Explorer
2) Download View attachment apns-conf.zip and extract to your phone.
3) Now copy apns-conf.xml(which is from the archive) and replace the original file from system/etc folder.
4) After replace change permissions for file apns-conf.xml is rw-r--r-- (0644).
5) Reboot.
6) Go to "settings"=>"roaming"=>"access point names" press menu and press reset to default.
You will see that APN for your GSM network is created automatically.
7) For cdma network create apn manually.
it works. thanks again
Works Perfect!
Thanks!
Is this method works for Sprint HTC One m8?
Sent from my 831C using XDA Free mobile app
Will this work for zv4
Google~Android said:
Will this work for zv4
Click to expand...
Click to collapse
Save the contents of your folder carrier and try. I think it's working on zv4.
Hey guys. I tried this after I flashed my phone using the zv5 tot in another thread on this forum. The phone's sim worked for a short time (a couple hours?? I could browse without wifi but didn't test for calls). It seemed to reset itself and I've tried to use the above process but to no avail. I've noticed that the node.db file keeps changing to rw-r--w-- even after repeated attempts. Not sure if it's only this file that has changed or if a bigger problem exists. Your input would be appreciated!
SD2014 said:
Hey guys. I tried this after I flashed my phone using the zv5 tot in another thread on this forum. The phone's sim worked for a short time (a couple hours?? I could browse without wifi but didn't test for calls). It seemed to reset itself and I've tried to use the above process but to no avail. I've noticed that the node.db file keeps changing to rw-r--w-- even after repeated attempts. Not sure if it's only this file that has changed or if a bigger problem exists. Your input would be appreciated!
Click to expand...
Click to collapse
You did paragraphs 7) and 8) ?
SD2014 said:
I've noticed that the node.db file keeps changing to rw-r--w-- even after repeated attempts.
Click to expand...
Click to collapse
Try different file manager.
mayrer said:
You did paragraphs 7) and 8) ?
Click to expand...
Click to collapse
Yep. Even did the bonus step But yes, definitely followed the steps correctly
---------- Post added at 04:27 PM ---------- Previous post was at 04:11 PM ----------
mayrer said:
Try different file manager.
Click to expand...
Click to collapse
Used ES file explorer before. Per your advice installed Total Commander. The file stays at rwrr now (thanks!). Phone still not sim unlocked, though
Edit: to be clear, when I first tried this, the node file stayed at rwrr. It was only later after the phone "reset" itself (not sure what else to call it) that it changed to rwrw
Edit 2: wait, spoke too soon. I went to settings and changed the network mode from "global" to "gsm/umts" and the node file went back to rwrw
In order to do a "clean" unlock using the steps above, I reflashed and rerooted my phone
http://forum.xda-developers.com/g4/general/guide-lg-g4-stock-firmware-to-stock-kdz-t3107848
(http://forum.xda-developers.com/g4/orig-development/root-tmo-vzw-intl-variants-soon-root-lg-t3164765)
After searching for how to disable OTA updates on my sprint lg g4, BEFORE I implemented your steps, I found that the uicc was locked in system updates, so gsm couldn't be used. After going through the steps above AND also blocking ota with debloater, I get the message "Unfortunately, Settings has stopped" when trying to acces system updates.
Has anyone else found this? Is this supposed to happen to get the sim unlock, mayrer?
Still getting "invalid sim" at boot :crying:
SD2014 said:
Has anyone else found this? Is this supposed to happen to get the sim unlock, mayrer?
Click to expand...
Click to collapse
This should not have happened...
You are the first who have problems.Do everything exactly according to instructions.
I recommended root explorer.
mayrer said:
This should not have happened...
You are the first who have problems.Do everything exactly according to instructions.
I recommended root explorer.
Click to expand...
Click to collapse
It shouldn't have happened but it did. I followed the directions exactly. No deviations
---------- Post added at 05:22 PM ---------- Previous post was at 05:13 PM ----------
Is there anyone else who has tried this method who has a carrier-locked lg g4 ls991 (Sprint variation from the US)? This seems to be one of those phones in which developers are having a hard time.
SD2014 said:
It shouldn't have happened but it did. I followed the directions exactly. No deviations
Click to expand...
Click to collapse
this guide has helped about 10 people.
look at the problem in your device
mayrer said:
this guide has helped about 10 people.
look at the problem in your device
Click to expand...
Click to collapse
I'm not saying that there's a problem with your guide. I'm saying that I followed the instructions exactly as you wrote them. If you can direct me to another area to focus on in my device, I'll be happy to do so. The file manager didn't seem to be the problem. Other ideas?
By the way, I do appreciate your assistance!
Excuse my ignorance, but which networks can the Sprint G4 work on once it has been SIM unlocked?
SD2014 said:
Other ideas?
Click to expand...
Click to collapse
no ideas right now, I will think.
synt3k said:
Excuse my ignorance, but which networks can the Sprint G4 work on once it has been SIM unlocked?
Click to expand...
Click to collapse
I dont know. I'm from Europe.
You can try, but first save the contents of your folder carrier.
I was just curious if it had the radios/antennas/ability to use GSM networks, or if it's just unlocked to CDMA networks.
synt3k said:
I was just curious if it had the radios/antennas/ability to use GSM networks, or if it's just unlocked to CDMA networks.
Click to expand...
Click to collapse
This unlock gsm. Cdma is not locked and and can easily be programmed cdma workshop or dfs.
I use gsm and cdma.

Best run shell commands in Tasker

Hello guys.
I stumbled across a reddit thread providing some run shell commands to replace secure settings. The fixes on Android 6.0 allowed me to install and grand the root permissions but never actually worked as intended. Secure settings still returns errors when used.
Long story short I built on the list adding ones I used before from my list.
Here is about 30 most common run shell commands. I will update list if i come across some new ones. Also appreciate your input if you happen to use some good ones.
You can access it all here:
http://www.notenoughtech.com/tasker/tasker-run-shell-commands/
Happy tasking. :good:
Boy, where do I start? The list would be endless. Anyway, here are some, not all, that I use.
Root commands
Open power menu: sendevent /dev/input/event0 1 116 108 && sendevent /dev/input/event0 0 0 0
Restart SystemUI: pkill -l TERM -f com.android.systemui
Safe reboot: svc power reboot
Safe reboot to recovery: svc power reboot recovery
Get list of all system/global/secure settings along with their values; using system settings as example: settings list system
Read system/global/secure setting to a variable; using secure setting accessibility_enabled as example: settings get secure accessibility_enabled
Change system/global/secure setting; using secure setting accessibility_enabled as example: settings put secure accessibility_enabled 0
Make /system rewritable: mount -o remount,rw /system
Make /system read-only: mount -o remount,ro /system
Change file permissions, using /system/etc/hosts as example; numbers are 7 for rwx, 6 for rw, 4 for r; first number is for root (system user), second is for group, third is for all users: chmod 644 /system/etc/hosts
Tap at x,y pixels on screen, using 540,1500 as example: input tap 540 1500
Swipe from x1,y1 to x2,y2, using 540,1500 to 540,300 (swipe up) as example: input swipe 540 1500 540 300
Read/change another app's database; can't give examples as this would need a full tutorial: sqlite3 /path/to/.db_file "sqlite3 commands";
non-root command
Open any app from a variable %package_name containing com.paclage.name; this one is javascript, not shell script [note that you don't want to put % before variable in javascript]: loadApp(package_name, '', false);
Extract %file zip file to /sdcard: unzip %file /sdcard/
Move a file: mv /original/path /new/path
Copy a file: cp /original/path /new/path
Read a file to a variable: cat /path/to/file
Write %var to a file: echo %var > /path/to/file
Delete a file: rm /path/to/file
Delete a folder and all its contents: rm -r /path/to/folder
Check whether a process is doing something or not; set the output to a variable, set a wait for some time, and then get the output again, if output has changed then the process is doing something: ps | grep com.package.name
Sukarn said:
Boy, where do I start? The list would be endless. Anyway, here are some, not all, that I use.
Click to expand...
Click to collapse
Thanks I'm updating the page as I type this! - I completely forgot about file operations if I'm honest. Good to have others to contribute!
quintaar said:
Thanks I'm updating the page as I type this! - I completely forgot about file operations if I'm honest. Good to have others to contribute!
Click to expand...
Click to collapse
You need to proofread that page. There are lots of errors in there that will stump newbs
Sukarn said:
You need to proofread that page. There are lots of errors in there that will stump newbs
Click to expand...
Click to collapse
That's what I'm doing now , trying to put them, in some logical order as well, to make it easy to find, and use. I do appreciate the time taken to type this.
Is input keyevent correct for emulating the power button in a shell command? The # on the website didn't work. I found the generic.kl file in my /system/usr folders and the key # for power listed there did now work with that shell command, either. Even with run as root checked.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
LeftyGR said:
Is input keyevent correct for emulating the power button in a shell command? The # on the website didn't work. I found the generic.kl file in my /system/usr folders and the key # for power listed there did now work with that shell command, either. Even with run as root checked.
Click to expand...
Click to collapse
I believe hardware keys would be device specific, ego could have different codes.
quintaar said:
I believe hardware keys would be device specific, ego could have different codes.
Click to expand...
Click to collapse
I guess my real question is that the correct shell command as it is written? Because with my specific device key code did not do anything.
Are you trying to do this when the phone display is on or off? this only works when screen is on. input keyevent 26 works fine on my device
quintaar said:
Are you trying to do this when the phone display is on or off? this only works when screen is on. input keyevent 26 works fine on my device
Click to expand...
Click to collapse
On... Guess it does not like me.
LeftyGR said:
On... Guess it does not like me.
Click to expand...
Click to collapse
Do you get any error? My most common mistake is spelling the run shell with upper case, as my keyboard automatically corrects it. And if I forget to change it, it returns an error
quintaar said:
Do you get any error? My most common mistake is spelling the run shell with upper case, as my keyboard automatically corrects it. And if I forget to change it, it returns an error
Click to expand...
Click to collapse
Yes. Appears to be a timeout error.
Background Data On/Off? Thanks in advance
Sent from my hlte using XDA-Developers mobile app
LeftyGR said:
Yes. Appears to be a timeout error.
Click to expand...
Click to collapse
I stumbled on this:
http://forum.xda-developers.com/showthread.php?t=2063741
Perhaps will help you more as well
shaharofir said:
Background Data On/Off? Thanks in advance
Sent from my hlte using XDA-Developers mobile app
Click to expand...
Click to collapse
I've not come across the setting, but try to use:
settings list system
settings list global
settings list secure​and see what your device will give you in options lists.
I totally forgot about another shell command that I have set up in Tasker: md5sum /path/to/file
I use it to verify the integrity of downloads in an OTA app I made for a custom ROM using only Tasker.
---------- Post added at 10:52 AM ---------- Previous post was at 10:43 AM ----------
quintaar said:
Are you trying to do this when the phone display is on or off? this only works when screen is on. input keyevent 26 works fine on my device
Click to expand...
Click to collapse
On my phone (OnePlus One), "input keyevent 26" just turns the screen off, while 116 does nothing.
LeftyGR said:
I guess my real question is that the correct shell command as it is written? Because with my specific device key code did not do anything.
Click to expand...
Click to collapse
Did you try the command I posted at the top of my post here? It's the second post in this thread.
quintaar said:
I've not come across the setting, but try to use:
settings list system
settings list global
settings list secure
and see what your device will give you in options lists.
Click to expand...
Click to collapse
Thanks. Will give it a try.
Sukarn said:
I totally forgot about another shell command that I have set up in Tasker: md5sum /path/to/file
.
Click to expand...
Click to collapse
I have added this one as well Thanks
shaharofir said:
Thanks. Will give it a try.
Click to expand...
Click to collapse
Looked, nothing there. Any suggestions?
Sent from my hlte using XDA-Developers mobile app
shaharofir said:
Looked, nothing there. Any suggestions?
Sent from my hlte using XDA-Developers mobile app
Click to expand...
Click to collapse
Perhaps maybe more luck with intents? I'm working on the similar list for it
Sent from my Nexus 6P using Tapatalk

[GUIDE] Bring back old Wi-Fi and Mobile Data toggles on Android 12

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
In this thread I am going to show you how to get rid of the Internet toggle. This enables hidden Wi-Fi and Mobile Data toggles. Unfortunately NFC toggle is removed by Google. Can't enable like this.
1. We have to need activate ADB. If you have a PC use ordinary ADB. ADB here DRIVER here. If you have not a PC, use LADB
2. Enter shell.
3. Type
Code:
settings put secure sysui_qs_tiles "wifi,cell,bt,dnd,flashlight,rotation,battery,night,screenrecord,custom(com.google.android.gms/.nearby.sharing.SharingTileService),dark,controls,hotspot,location,airplane,cast,cameratoggle,mictoggle,wallet,alarm,reduce_brightness,internet"
4. Wi-Fi and Mobile Data buttons will be on the first page of Quick Settings. You can change it's order.
DONE!
Please reply if it succeed
Thank you!
Worked fine, latest beta. Thkx!!
trzpro said:
View attachment 5410217​
In this thread I am going to show you how to get rid of the Internet toggle. This enables hidden Wi-Fi and Mobile Data toggles. Unfortunately NFC toggle is removed by Google. Can't enable like this.
1. We have to need activate ADB. If you have a PC use ordinary ADB. ADB here DRIVER here. If you have not a PC, use LADB
2. Enter shell.
View attachment 5410221 View attachment 5410223​
3. Type
Code:
settings put secure sysui_qs_tiles "wifi,cell,bt,dnd,flashlight,rotation,battery,night,screenrecord,custom(com.google.android.gms/.nearby.sharing.SharingTileService),dark,controls,hotspot,location,airplane,cast,cameratoggle,mictoggle,wallet,alarm,reduce_brightness,internet"
4. Wi-Fi and Mobile Data buttons will be on the first page of Quick Settings. You can change it's order.
DONE!
Please reply if it succeed
Click to expand...
Click to collapse
can u tell me how to revert this?! It doesn't work ok with tasker. After tasker makes the actions, wifi toogle stays light up (enabled) although it's disabled...
@trzpro Wanted to let you know that I've just tried this, having upgraded this morning to Android 12's official release (on Pixel 4a 5G) and it's worked perfectly and persists across restarts.
@trzpro After the November 5th security update, this fix reverts to original Android 12 settings, and does not appear to work again.
darthtenebrosius said:
@trzpro After the November 5th security update, this fix reverts to original Android 12 settings, and does not appear to work again
Click to expand...
Click to collapse
(^^^) I don't like this idiot internet toggle
Not working on pixel4a , latest seciruty update is of 5th Nov.
Someone on Reddit found an ADB command that works after the Nov 5 security patch. (I can confirm it works.)
First run adb shell settings put global settings_provider_model false
followed by adb.exe shell settings put secure sysui_qs_tiles 'wifi,cell,$(settings get secure sysui_qs_tiles)'
Needs to be done like this, not running adb shell first and then the commands separately.
darthtenebrosius said:
Someone on Reddit found an ADB command that works after the Nov 5 security patch. (I can confirm it works.)
First run adb shell settings put global settings_provider_model false
followed by adb.exe shell settings put secure sysui_qs_tiles 'wifi,cell,$(settings get secure sysui_qs_tiles)'
Needs to be done like this, not running adb shell first and then the commands separately.
Click to expand...
Click to collapse
It worked , a seperate wifi on/off and a mobile data toggle. Thanks
But is there any way to get mobile data switch toggle? bcoz everytime you need to switch to other mobile data network,first go to setting then to sim and then turn on mobile data. A long process.
rahul30k said:
But is there any way to get mobile data switch toggle? bcoz everytime you need to switch to other mobile data network,first go to setting then to sim and then turn on mobile data. A long process.
Click to expand...
Click to collapse
I'm not sure what you mean. You want something that lets you switch between mobile networks?
darthtenebrosius said:
I'm not sure what you mean. You want something that lets you switch between mobile networks?
Click to expand...
Click to collapse
I have 2 sim in my mobile, if internet is not working on first sim then for switching to other sim mobile data you have to go through settings which is a long thing. Toggling between mobile data option was there till android 10 version I think.
Ah. That one I don't know about, sorry.
I can confirm working via mac slightly different string here
make sure you have USB debugging enabled under developer options
go to your sdk tools directory, such as
cd /Users/XXXXX/Desktop/platform-tools/
then ./adb shell settings put global settings_provider_model false
then ./adb shell settings put secure sysui_qs_tiles 'wifi,cell,$(settings get secure sysui_qs_tiles)'
basically removed i removed ".exe" from second string and it worked for me!
pixel 4a5g
darthtenebrosius said:
Someone on Reddit found an ADB command that works after the Nov 5 security patch. (I can confirm it works.)
First run adb shell settings put global settings_provider_model false
followed by adb.exe shell settings put secure sysui_qs_tiles 'wifi,cell,$(settings get secure sysui_qs_tiles)'
Needs to be done like this, not running adb shell first and then the commands separately.
Click to expand...
Click to collapse
I confirm it works on Pixel 4a!
Thanks a lot!!
I think this adds only Wifi now , sadly.
Can anyone confirm?
Nope, still works. Literally just did this, got both toggles
Spoiler: image
I can see why they disabled the buttons for this. The mobile data button doesn't update properly after clicking on it.
Phyne_ said:
Nope, still works. Literally just did this, got both toggles
Spoiler: image
View attachment 5472121
I can see why they disabled the buttons for this. The mobile data button doesn't update properly after clicking on it.
Click to expand...
Click to collapse
Weird. To me it doesn't add mobile-data.
darthtenebrosius said:
Someone on Reddit found an ADB command that works after the Nov 5 security patch. (I can confirm it works.)
First run adb shell settings put global settings_provider_model false
followed by adb.exe shell settings put secure sysui_qs_tiles 'wifi,cell,$(settings get secure sysui_qs_tiles)'
Needs to be done like this, not running adb shell first and then the commands separately.
Click to expand...
Click to collapse
Confirmed that this still works on Pixel 4 and Pixel 4a running GrapheneOS
brybo86 said:
I can confirm working via mac slightly different string here
make sure you have USB debugging enabled under developer options
go to your sdk tools directory, such as
cd /Users/XXXXX/Desktop/platform-tools/
then ./adb shell settings put global settings_provider_model false
then ./adb shell settings put secure sysui_qs_tiles 'wifi,cell,$(settings get secure sysui_qs_tiles)'
basically removed i removed ".exe" from second string and it worked for me!
pixel 4a5g
Click to expand...
Click to collapse
It's worked for me, 4a5G with security update 5 Dec 2021. Thanks

Categories

Resources