[Tweak] How to reduce Bluetooth interferences and boost wifi signal[Root] - Shield Tablet General

Hi everyone,
Our Shield Tablet is affected by bluetooth interferences on G mode(2,4 Ghz) and a little bit on N mode(5 Ghz) , when you connect a peripheric or gamepad, wifi speed decrease(A lot with certains gamepads, less with others peripherics).
So I tried a few tweaks for reduce bluetooth interferences and it seems to work a bit.
Check the screens. I hope it will work as well for you as for me.
You must be root for use this tweaks.
Use a Terminal Emulator for execute these commands.
Wifi should be off.
Code:
echo "1" > /sys/module/bcmdhd/parameters/clockoverride;
echo "1" > /sys/module/bcmdhd/parameters/op_mode;
I will continue to search for tweaks to improve the connectivity of the Shield Tablet.

Could you elaborate what do those commands actually do?

_TB_TB_ said:
Could you elaborate what do those commands actually do?
Click to expand...
Click to collapse
Op_mode 1 switch the wifi on more power mode which help for streaming media but can drain more battery than the op_mode 0. I have no exactly idea what clockoverride do but it seem to work better with op_mode 1.

Related

every phone call activates Bluetooth

Does anybody have an idea, why every call I made automaticaly activates Bluetooth?
I do not use any headset.
amir77a said:
Does anybody have an idea, why every call I made automaticaly activates Bluetooth?
I do not use any headset.
Click to expand...
Click to collapse
Have you installed Bluetooth Tools?
Not sure if that's even necessary or not, but certainly that software by very nature, does this so that incoming calls can be passed to Bluetooth headsets.
This can be altered, if you are using Bluetooth Tools, by enabling this item on the today screen, and turning OFF timed bluetooth mode.
If you are not using this, then I am not sure...
Yes, I do use Bluetooth tools.
I use it mainly for my GPS BT Receiver.
I will play with its options, and see if this can solved this.
amir77a said:
Yes, I do use Bluetooth tools.
I use it mainly for my GPS BT Receiver.
I will play with its options, and see if this can solved this.
Click to expand...
Click to collapse
Not solve mate - it's the whole intention of the software you installed.
Simply enable the Bluetooth Tools plugin on your today screen.
Then you will see a little clock icon.
Tap on this so it goes grey.
This means you just turned OFF the timed bluetooth option.
But mate, it ISN'T a bug, and is the very purpose of Bluetooth Tools for most people.
To get it to activate Bluetooth ONLY when a call comes in, so as to enable the headset.
Instead of PERMANENTLY having to leave BT on, and thus flatten the battery.
i'm pretty sure mine does it when i make the clock grey aswell
Rudegar said:
i'm pretty sure mine does it when i make the clock grey aswell
Click to expand...
Click to collapse
Rudegar,
If you grey out the clock, you turn OFF the timed element of Bluetooth.
It will then depend on whether you have Bluetooth ON, or Bluetooth OFF as to what happens then...
All the clock does, AFAIK, is enable or disable timed bluetooth...?
Yep.. guess you right. It's working so good with the BT GPS receiver, I'll just sit and enjoy, and let it work for 60 seconds, each call I make.
Even when I turn the clock grey it still comes on !
OK I can live with the 60secs business, it'll save battery life.
But what is the purpose of the 2 battery indicators 1&2 ?? Can't seem to suss that out ?
ekko star said:
Even when I turn the clock grey it still comes on !
OK I can live with the 60secs business, it'll save battery life.
But what is the purpose of the 2 battery indicators 1&2 ?? Can't seem to suss that out ?
Click to expand...
Click to collapse
They are two different Profiles as it were.
It means you can configure settings as you prefer for one device/gps/headset, and then click icon 2 and set another lot, for a different device, then quickly change easily.
That info is from the Bluetooth Tools site, where it is all mentioned.
I don't wish to sound too rude, but it would be helpful if people seeking support would try reading the site where they download stuff from, or the original author's site, first...
http://bluetooth.i-networx.de/index_e.html
thanks for the help mate and thanks for telling me what it already says on that site.
My question is really how to configure those two settings ? I can't work out how I can set different settings for profile 2 nor how I can change 1 ?
ekko star said:
My question is really how to configure those two settings ? I can't work out how I can set different settings for profile 2 nor how I can change 1 ?
Click to expand...
Click to collapse
Well, it's dead simple (actually, was too simple for me to understand until someone pointed it out to me...): you tap on '1', so that it gets the little grey box around it. Then you use the normal settings dialogs of the PPC to configure things like backlight timeout, brightness etc. Then go back to the Today screen, tap on '2', and again configure your PPC. Now, each time you tap '1' or '2', the set of settings will be restored. Unfortunately, I couldn't find a list of which settings are actually subject to that toggle. I know that the backlight timing is, because that's what I use it for: while TomTom is running, I don't want the backlight to go out, so while '2' was actibe, I configured the backlight accordingly. Now '1' is my normal mode, and '2' is the "navigation" mode.
Cheers
Daniel

Voip + Wireless SDCard

Have you tried voip with a wireless network card?
I've tried sjphone but it seams that the wireless drivers are consuming all the cpu resourses (socket default drivers)... i can't ear what people are saying, but they can ear me, not clear... but understand.
Thanks
I use this combination with voipbuster, without problems after some changes.
1st: in the options of SJPhone in stun tag change the refresh timeout to 600000
2nd: use the pocket hack master to oveclock the device to settings
CPU:520, BUS:260, RAM:65, LCD:65, T.
Of course it needs good connection. I use 2Mb/256Kb.

[REQ]Turn on/off WiFi, depending on Bluetooth

Hi all!
When I woke up today, like 20 min ago!
I had an idea I would like to get on my phone..
I know a little programming, but not enough to realise this
ok..
When I'm at home I use wiFi to connect my phone to the internet, but when I'm not at home I don't use WiFi (like many others)
And I sometimes forget to turn it off when I'm going out,
and firstly It drains battery
second, It makes anoying beeps whenever it finds new wiFi's
(have anyone found how to turn this off permanently, every time i restart my phone it's back on again! Grr)
anyway back to to point...
My Bluetooth is always on...
transfering files when at home, and listning to music when I'm out...
So Idea (finally )
When Bluetooth connects/finds my home computer it will turn on WiFi
and when it loses my home computer it will turn off WiFi..
pretty simple idea, but I think It can be pretty useful?
any programming geniuses up to te task!?
Thanx to all in this Forum...!
I'll look at it...
Mr_Gee said:
I'll look at it...
Click to expand...
Click to collapse
Nice ...
I've looked in msdn about bluetooth .. but I just don't know where to start...???
The idea came partly from when I'm listening to music with bluetooth headphones and are leaving my apartment..
The music stops-starts-stops-starts.... just as I'm out of range for the bluetooth...
So I thought there must be an event that u can 'hook up on' with a small app that turns off/on the wifi...?
would be great if someone (Mr_Gee?) could help me out here ..?
or maybe just point me in the right direction when it comes to the coding?
(Visual Basic is the language I'm used to)
I got something, which is partially working,
do you connect to your PC when you are at home?
the problem i'm facing is that in the registry i can see what is going on, but for some reason i can't see if/when the BT is connected to the PC
the code is the same as "on but not connected", I could look up if there is an active sync connection, but i'm not sure if this is something that manually needs to be initiated.
the app does work if you are disconnected, it will stop the wifi
Mr_Gee said:
I got something, which is partially working,
do you connect to your PC when you are at home?
the problem i'm facing is that in the registry i can see what is going on, but for some reason i can't see if/when the BT is connected to the PC
the code is the same as "on but not connected", I could look up if there is an active sync connection, but i'm not sure if this is something that manually needs to be initiated.
the app does work if you are disconnected, it will stop the wifi
Click to expand...
Click to collapse
ok ... no, I'm not connected to my computer with active sync all the time...
So that probably isn't a solution... ?
I want it to notice if my computer is in range...
but shouldn't there be a process running that's checking if someone is connecting or sending something?
Like with the headphones, If I go out of range with them, eventually the handsfree will turn off...
Like I said... I have no idea where to go here!
But Thanx! for your help on this...
Much appreciated!
Yes that is what you would expect...
but I need to find the information somewhere
I'll keep looking and let you know
This script apparently lets you automatically activesync over bluetooth when you are close to your computer.
http://forum.xda-developers.com/showpost.php?p=1096906&postcount=5
Code:
If NOT wndExists "Connected to MEDIACENTER"
RegReadDWord HKLM, System\State\Hardware, Bluetooth, Bluetooth
If Expression %Bluetooth% <= 8
Set BluetoothWas, "Off"
Run "\Windows\ToggleBTH.exe"
Sleep 3000
EndIf
Run "\Windows\rnaapp.exe", -n -m -e"MEDIACENTER"
WaitFor "Connected to MEDIACENTER", 15
Run "\Windows\udp2tcp.exe"
Run "\Windows\rapiclnt.exe", -dppp_peer
Run "\Windows\repllog.exe", /remote /sched /h
Sleep 1000
RegWriteDWord HKLM, System\State\Hardware, Cradled, 1
While wndExists "Connected to MEDIACENTER"
Sleep 1000
EndWhile
Run "\Program Files\MortScript\TKill.exe", UDP to TCP proxy
Run "\Program Files\MortScript\TKill.exe", Remote API Client
Run "\Program Files\MortScript\TKill.exe", ActiveSync
If equals %BluetoothWas%, "Off"
Run "\Windows\ToggleBTH.exe"
EndIf
Else
Run "\Program Files\MortScript\TKill.exe", Connected to MEDIACENTER
EndIf
One could easily inset a wifi toggle softcut in there somewhere.
Surur
surur said:
This script apparently lets you automatically activesync over bluetooth when you are close to your computer.
http://forum.xda-developers.com/showpost.php?p=1096920&postcount=6
....
One could easily inset a wifi toggle softcut in there somewhere.
Surur
Click to expand...
Click to collapse
Nice find...
but I don't think it will run the script when I'm close to my computer...
looks like u run the script and it activates bluetooth runs activesync and then closes the connection ...
NisseDILLIGAF said:
Nice find...
but I don't think it will run the script when I'm close to my computer...
looks like u run the script and it activates bluetooth runs activesync and then closes the connection ...
Click to expand...
Click to collapse
Presumably you could put it in a loop and check for success or failure of the activesync connection. Reading the script is not ideal however.
Surur
surur said:
This script apparently lets you automatically activesync over bluetooth when you are close to your computer.
http://forum.xda-developers.com/showpost.php?p=1096906&postcount=5
One could easily inset a wifi toggle softcut in there somewhere.
Surur
Click to expand...
Click to collapse
Hi,
That script is indeed only one-click sync, in that particular script it's over GRPS/UMTS. I made such a script for Bluetooth also, but it's only to sync. I still haven't found a way to auto-connect to your Bluetooth or WIFI source without a script continuesly looping and there for draining the battery and the CPU.
In this thread however mjg7876 asked for ideas, put up a vote and apperantly the event driven application got the most votes. I suggested just such a feature; raise an event when a particular BT device is connectable. All we can do is hope mjg7876 gets started on the project soon, and finds a non-battery-draining way in C++ make it happen.
Cheers,
Cacti

Solution: ICS Unstable wifi tethering with Macbook air

I encountered unstable Wifi tethering with my macbook air since I started using misc. ICS ROMs. The IP communication is lost and I need to disable and re-enable wifi on the macbook to continue communication.
After fighting this bug for months, I believe I have found the cause and a workaround solution:
I believe the problem is caused by putting the Android phone too close to the macbook air. Apparently the transmit level is too high.
Putting the phone at least 1 meter away from the macbook seems to solve the problem.
I travel 2 hours/day on the train with tethering on. I need to put the phone behind my back to have a stable connections.
Personally, I've never had an issue tethering my Macbook Air to my Note.
Then again, I'm using Bluetooth tethering anyway.....
Why not try that instead?
Regards,
Dave
bluetooth ? alternative ?
foxmeister said:
Personally, I've never had an issue tethering my Macbook Air to my Note.
Then again, I'm using Bluetooth tethering anyway.....
Why not try that instead?
Regards,
Dave
Click to expand...
Click to collapse
Thanks,
I used bluetooth for some time but this had some other disadvantages (I cant remember - slower? interruptions in the music on my bluetooth headset? - more battery use ? )
jancolpaert said:
Thanks,
I used bluetooth for some time but this had some other disadvantages (I cant remember - slower? interruptions in the music on my bluetooth headset? - more battery use ? )
Click to expand...
Click to collapse
I've not had a speed issue myself, and I believe that BT tethering should always use less battery than WiFi.
Whilst I do frequently used BT headphones, I never do so whilst tethered.
Regards,
Dave
Sent from my GT-N7000 using Tapatalk 2
jancolpaert said:
I encountered unstable Wifi tethering with my macbook air since I started using misc. ICS ROMs. The IP communication is lost and I need to disable and re-enable wifi on the macbook to continue communication.
After fighting this bug for months, I believe I have found the cause and a workaround solution:
I believe the problem is caused by putting the Android phone too close to the macbook air. Apparently the transmit level is too high.
Putting the phone at least 1 meter away from the macbook seems to solve the problem.
I travel 2 hours/day on the train with tethering on. I need to put the phone behind my back to have a stable connections.
Click to expand...
Click to collapse
This is exactly what happens with my Verizon Galaxy S3 with CM10 and my MacBook Air.
I will try your solution and see if it helps...
Thanks for posting your findings!
I also found by setting the MTU size to 1453 seemed to help.
http://osxdaily.com/2012/08/02/fix-os-x-mountain-lion-wireless-connection-problems/

Miracast Issues

I'm having a terrible time getting a consistent miracast connection. The connection drops all the time, and I never had this issue on my previous device (Nexus 6p running Marshmellow). Nothing at all has changed with my setup. Anyone else having the same issue? Could it be related to the currently noted Wifi issue?
Hmm, i've made a quicktest with a video. And got many artifacts and also some pauses...
No drops, but again, didn't test for more than 2-3 minutes
DSF said:
Hmm, i've made a quicktest with a video. And got many artifacts and also some pauses...
No drops, but again, didn't test for more than 2-3 minutes
Click to expand...
Click to collapse
DSF, thanks for the response. Maybe it would help if you have some background on my use case. I'm using the MS Display adapter in my car with the AppRadio Rootless app.
To try to get a consistent connection I've tried:
-Turning off: smart wi-fi switcher, to eliminate wifi interference
-Turning off: wifi scanning always available, to eliminate wifi interference
-Updating firmware on the MS Display Adapter
-Using GPS only for location services, to eliminate wifi interference
No luck still...have any advice on other things I could try?
foornath said:
DSF, thanks for the response. Maybe it would help if you have some background on my use case. I'm using the MS Display adapter in my car with the AppRadio Rootless app.
?
Click to expand...
Click to collapse
No problem. Unfortunately my usage differs..
I tried to connect to a tv that has miracast support without any adapter.
And just tried again for about 10 minutes with a 1080p (not 60fps) youtube video and another local one: no drops.. but many artifacts, frame drops and lower quality and sound out of sync. I guess those are the limits of miracast, not being able to push decent amount of info.
I have wifi scanning turned off, location on (but no apps using it), bluetooth off..
Sorry, i can't help you more
DSF said:
Hmm, i've made a quicktest with a video. And got many artifacts and also some pauses...
No drops, but again, didn't test for more than 2-3 minutes
Click to expand...
Click to collapse
DSF said:
No problem. Unfortunately my usage differs..
I tried to connect to a tv that has miracast support without any adapter.
And just tried again for about 10 minutes with a 1080p (not 60fps) youtube video and another local one: no drops.. but many artifacts, frame drops and lower quality and sound out of sync. I guess those are the limits of miracast, not being able to push decent amount of info.
I have wifi scanning turned off, location on (but no apps using it), bluetooth off..
Sorry, i can't help you more
Click to expand...
Click to collapse
Found out that switching the Advanced Wi-Fi settings to 2.4GHz helps. My cast connection is much more stable now.
foornath said:
Found out that switching the Advanced Wi-Fi settings to 2.4GHz helps. My cast connection is much more stable now.
Click to expand...
Click to collapse
Nice! On mine it's on auto
It might be issue with CPU power of phone or something else. On a panasonic TV without dongle, a Galaxy S7 works fine while A5 2017 shows artifacts. Oreo update to A5 makes no difference so I assume it could be a non-software issue.

Categories

Resources