[REQUEST] Netstat - myTouch 4G Q&A, Help & Troubleshooting

I posted before in the Q&A to no success.
Can one of you guys turn off wifi calling,
type su, hit enter,
netstat > /off.txt
turn on wifi calling, go back to terminal
type su, hit enter
netstat /on.txt
Please provide me the two text files!
PLEASE, THANKS!

Please post questions in Q&A section.

Related

[REQ] Need someone to check something for me on a STOCK MT3G

Anyone out there willing to help me out?
I just someone to run this command with their phone hooked up, USB Debugging ENABLED:
adb shell ls -l -R /sys/class > class_structure_MT3G.txt
This will output a text file in whichever directory you run the command from, that will list the hardware capabilities of the phone for me - this would help me IMMENSELY from a development standpoint!
Check out the text file - zero personal / private information will be in there!
Thanks!

Request for Logcat

Hey guys, is there any chance one of you could:
Disable Wi-Fi calling
Run Terminal Emulator
logcat > /log.txt
leave terminal running
enable wifi calling
after enabled, go back and exit terminal emulator.
provide me the log.txt
???
Please, I need it to gather more info for porting wifi calling to HD2 android.
Here you go, performed the steps in the order you requested. I had to zip it to upload, the logcat created too large of a txt.
Please post questions in Q&A section.

[Application] write text via adb

Hey Guys
Out of curiosity i wrote a small program today that lets you write texts via adb.
It sends "adb shell input text" and "adb shell input keyevent" via adb. Since the character set of adb is limited not all characters will work but its enough for sms and short mails.
You can also send all keyevents you want by using the keyevent button and enter the keyevent number you want.
I don't plan to go on developing. As i wrote before it was just curiosity that made me write that tool and i want to share my work.
Have fun
Ulti~
Edit: Sorry, wrong section. please move it to the app section
Edit2: Or just close it. I will recreate it in the Application Subforum.

aLogcat/CatLog/Lumberjack not working? Do this ...

I noticed my favorite logcat app wasn't working on my N7 so I went on a search and found a fix/workaround (details later):
Code:
pm grant <pkg> android.permission.READ_LOGS
So, to give the donate version of aLogcat (https://play.google.com/store/apps/details?id=org.jtb.alogcat.donate), you'd do this
Code:
pm grant org.jtb.alogcat.donate android.permission.READ_LOGS
This seems to persist across reboot. Not sure about app update/uninstall/reinstall but it works for me.
Note that "pm" is a standard part of Android (I'm rooted but running stock JB on my N7) so you can just run it from the shell (adb shell) or from the command line via your favorite terminal emulator app like Android Terminal Emulator (https://play.google.com/store/apps/details?id=jackpal.androidterm).
If you're interested in the details, there's a long discussion over in the Android Developers Google Group -- https://groups.google.com/forum/?fromgroups#!topic/android-developers/6U4A5irWang
Note: I'm rooted so it may require root to work.
MOD: I've posted this in the Q&A section cuz it's the answer to a question but if it belongs elsewhere (Development? General?) then please move it.

[Sprint/others?] Hotspot now functions correctly with root

Hi there, before now some people were having issues with the hotspot workarounds, where they could enable the hotspot but attached devices received no actual internet. I didn't do any polling but it seemed to be mostly a Sprint phenomenon, as after doing the magic hotspot trick most other people had no issues.
I just tested it, and the new root will get you functioning hotspot on Sprint, and possibly for other people too who were having the same problem. I ran the following code while the hotspot happened to be off, and after turning it back on I was able to get internet through it on other devices. If you try this with the hotspot already enabled please report back so we know if it needs to be either particular setting. Use a normal command line where you have adb.exe and run this command while the phone is on and no further action should be needed once you turn on the hotspot.
Code:
adb shell content insert --uri content://settings/system --bind name:s:tether_dun_required --bind value:i:0
Just having root itself has not enabled the normal hotspot switch locations, like in the notification drawer or in the tethering settings, and I still had to use the network refresh trick to get them to work. This may need another command to insert/change the correct protection setting, or something else entirely.
I also went back to the APN settings through the shortcut maker and received the same error I had before, about this user not being able to access them.
On a related note, I saw some people mention that their hotspot would automagically turn off after 10-20 minutes, so I'll post this now and keep an eye on whether it does so here, as I never watched before.
I used that code for my Nexus 5 on T-mobile without rooting. My Pixel is on back order and not able to test it on T-mobile. Is it necessary to root for only the phones on Sprint? Anyone test it on T-mobile (for native hotspot)?
Sorry, yes, I copied my post from a comment I made in another hotspot thread where the code was brought up and I tested it, but it didn't work for me without root. Some people were able to use hotspot after using a workaround, including Verizon, but it seemed like for Sprint doing that gave hotspot but no internet access. Once you get your phone I would check out that workaround comment, and if you have problems try the root command.
Sprint Tether working now for me on adroid 7.1
I tried many things including the above..but none worked. I was able to root the system and what worked for me.
I followed these directions
Go here http://www.theandroidsoul.com/enabl...ing-pixel-and-pixel-xl-verizon-sprint-others/
Setup ADB and Fastboot on your PC (link).
Download the CarrierEntitlement.apk file and save it to a separate folder on your PC.
Connect your Pixel phone to the PC.
Open a command window inside the folder where you saved CarrierEntitlement.apk file in Step 2 above. To do that, “Shift + Right click” on any empty white space inside the folder and then select Open command window here from the context menu.
Once the command window is open, issue the following commands one-by-one disable provishning checks on your Pixel phone:
adb push CarrierEntitlement.apk /sdcard/CarrierEntitlement.apk
adb shell
su
└ You may get a prompt on your phone to grant root access, accept it.
mkdir /su/CarrierEntitlement
cp /sdcard/CarrierEntitlement.apk /su/CarrierEntitlement/CarrierEntitlement.apk
chmod 644 /su/CarrierEntitlement/CarrierEntitlement.apk
echo "mount -o bind /su/CarrierEntitlement/CarrierEntitlement.apk /system/priv-app/CarrierEntitlement/CarrierEntitlement.apk" > /su/su.d/05TetherMod
chmod +x /su/su.d/05TetherMod
reboot
Your phone will now reboot. Once that is done, go to Settings » More » Tethering & portable hotspot » and enable Portable WiFi hotspot. It should work.
I found this did work to enable the wifi hotspot app but this didnt let the computer connected browse the internet.
I then found this and now im able to browse on a computer connected to my hotspot
http://www.theandroidsoul.com/enable-tethering-nougat-alongside-android-pay/
I only used this part
Download/install a Terminal emulator app from Play Store (link →).
Make sure the terminal asked for rights when typing su because you have to grant it before it works correctly
Open Terminal emulator on your device and issue the following commands one-by-one:
su
settings put global tether_dun_required 0
exit
Now my computer connected to the hotspot worked perfect and im very happy.
but i think if you follow this you can get it working right away without my above stuff.
Root your Android device running on Android 7.1 Nougat.
Edit build.prop file: Add the net.tethering.noprovisioning=true line to the bottom of build.prop file on your Android device. Use the link below for help with editing build.prop file.
How to edit build.prop on a rooted Android device
Reboot device after saving changes to build.prop file.
Download/install a Terminal emulator app from Play Store (link →).
Open Terminal emulator on your device and issue the following commands one-by-one:
su
settings put global tether_dun_required 0
exit
└ Grant root access to the app when asked.
Reboot device.
That’s it. You should have Tethering enabled on your Android 7.1 Nougat running device now.
I hope this helps as I haven't found this info in one area on here and sorry if it is but I didnt find it.

Categories

Resources