How to limit upload speed in Android? - Android Q&A, Help & Troubleshooting

Really not sure if I am posting this in the right place, so apologies if that's not the case.
I like dropbox's Camera Upload feature, but quite often I find that it will saturate my internet connection and everything else on my network struggles. Especially if it is uploading video recordings off my phone.
Is there a way to place a speed limit to the data upload rate? Kind of like a bandwidth limiter for Android?

mversion said:
Really not sure if I am posting this in the right place, so apologies if that's not the case.
I like dropbox's Camera Upload feature, but quite often I find that it will saturate my internet connection and everything else on my network struggles. Especially if it is uploading video recordings off my phone.
Is there a way to place a speed limit to the data upload rate? Kind of like a bandwidth limiter for Android?
Click to expand...
Click to collapse
Many Android kernels got support for traffic shaping, so you can use the "tc" shell command to implement what you need. Maybe there's some rooted app able to manage this for you, since it's quite a tricky task.
But this is not such a good idea. Instead you should implement the traffic shaping in your WiFi/Internet router. If it doesn't support it native, I suggest you try some other software for it, e.g. OpenWrt, DD-WRT or Tomato.

kuisma said:
Many Android kernels got support for traffic shaping, so you can use the "tc" shell command to implement what you need. Maybe there's some rooted app able to manage this for you, since it's quite a tricky task.
But this is not such a good idea. Instead you should implement the traffic shaping in your WiFi router. If it doesn't support it native, I suggest you try some other software for it, e.g. OpenWrt, DD-WRT or Tomato.
Click to expand...
Click to collapse
Thanks.
I have Tomato installed on an Asus RT-N66U router, but the bandwidth limiting options only work for LAN connections and not WLAN it seems.
A rooted app that puts a limit on a per app basis would be something I'd be happy to pay for.

mversion said:
Thanks.
I have Tomato installed on an Asus RT-N66U router, but the bandwidth limiting options only work for LAN connections and not WLAN it seems.
A rooted app that puts a limit on a per app basis would be something I'd be happy to pay for.
Click to expand...
Click to collapse
Hard to believe it's not working for WLAN connections, and even if so, you can apply the rules on the outbound Internet connection scheduling on source addresses. I.e. you can chose to implement the restrictions on either the receive- or transmit site. Do some more reading on QoS and I'm quite sure you'll manage to implement it as you need. But it IS tricky, even with the Tomato GUI, and would be as tricky as well using a rooted Android app.
And since I know it's not a such a good idea to implement traffic shaping in the Android itself, I'm not going to write this app.

Hey, I'm looking over internet for this exact thing, problem is my Galaxy Tab is hugging my internet, I need to limit it to say, 100kb/s up and down. My router is A-Link WNAP 3G router.
It would be even better to limit all WLAN traffic to 100kB/s because my computer is hooked with an ethernet cable :victory:
Can someone help me ?

kuisma said:
Hard to believe it's not working for WLAN connections, and even if so, you can apply the rules on the outbound Internet connection scheduling on source addresses. I.e. you can chose to implement the restrictions on either the receive- or transmit site. Do some more reading on QoS and I'm quite sure you'll manage to implement it as you need. But it IS tricky, even with the Tomato GUI, and would be as tricky as well using a rooted Android app.
And since I know it's not a such a good idea to implement traffic shaping in the Android itself, I'm not going to write this app.
Click to expand...
Click to collapse
You are very wrong that it isn't a good idea to implement traffic shaping. All new cloud applications have Camera upload feature which clogs the upload of the whole network and then you cannot even surf with your computer while photos are uploaded (not to say videos).
Traffic shaper would solve this things for sure! I would even pay for that app on appstore.

I used bandwidth ruler from the play store to limit upload speed in my galaxy SIII and it works like a charm. but that requires root to work ,
here is the link :

mversion said:
Really not sure if I am posting this in the right place, so apologies if that's not the case.
I like dropbox's Camera Upload feature, but quite often I find that it will saturate my internet connection and everything else on my network struggles. Especially if it is uploading video recordings off my phone.
Is there a way to place a speed limit to the data upload rate? Kind of like a bandwidth limiter for Android?
Click to expand...
Click to collapse
Dear Friend,
did you get what you was looking for?
because i am looking for an App which can control all or Each/ individual app to upload the files. likewise
google+ Google photos, Google hangout, Etc. which i hate the most to upload my photos . for them i have rooted my note4 and install AVAST Anti-Virus + Firewall to prevent the app to access the net .
Because i know what app we allow to access the internet they take away our personal information along with videos and photos which we don't know because our smartphones are 24/7 connected with DSL hight speed internet.
These type of Apps are fully controlled by the remote server to takeaway our data with minimum speed like 10KB to 30KB per mint.
I have already block the apps to access in the internet, but some reason i have to disable firewall, then most of the apps try to get updates, i need an app which can control /allow the app to upload in Bites not in KB or MB.
if you have something like that please advise
awaiting your reply
Thanks
Ismail

Related

[Q] WiFi Direct

ASUS has touted Wi-Fi Direct http://www.asus.com/News/k4PosV90YN1qdjZ3/ as one of the features present on the Transformer Prime. For those of you who are not familiar, Wi-Fi Direct is basically a means of establishing an ad-hoc Wi-Fi connection without the need for a router or one device acting as a hotspot and was just introduced into Android 4.0.
I've had the chance to use it on multiple occasions, transferring huge files between two Galaxy S II devices and all I can say is the speed is much, MUCH faster than Bluetooth, such that transferring 2GB can be done within a reasonable time frame like that of a meal. Also, it doesn't consume anywhere near as much battery as using one device as a hotspot and then transferring files between them.
So my question is, has anyone found a way to access the WiFi Direct functionality we all supposedly have on our Transformer Primes? Given the spottiness of MTP/PTP, having another reasonably fast way to get files on/off the device can only make things better!
Source: android.com
Support for Wi-Fi Direct lets you connect directly to nearby peer devices over Wi-Fi, for more reliable, higher-speed communication. No internet connection or tethering is needed. Through third-party apps, you can connect to compatible devices to take advantage of new features such as instant sharing of files, photos, or other media; streaming video or audio from another device; or connecting to compatible printers or other devices.
Click to expand...
Click to collapse
application is needed
Thanks! Did a search of the market, seems no apps implement that functionality yet...
ong.andrew said:
Thanks! Did a search of the market, seems no apps implement that functionality yet...
Click to expand...
Click to collapse
yea, i've been really excited about this, but google doesn't seem to have it finalized yet from what i understand. It will make printing about 50x easier in the workplace since chrome is not commonplace and chrome is required for cloudprint
So is this why we don't have an option in our settings as opposed to the Galaxy SII?
You don't need any App.
WiFi-Direct technology is implemented in ICS 4.0 and aboce.
whne the Prime will get ICS update it will support it. in any context menu.
it would be like sending via bluetooth.
I guess ASUS ment that te Prime's wifi chip DOES suppot that. but the software need too. and Gingerbread dosen't.
On the Galaxy S2 it's the same thing. only Samsunge made special apps for themselfs and that was build in the system (in the TouchWiz). No other 3-rd party project can access that thing and build other Apps. Only when the Galaxy wil have ICS update. exaclly like here....
Good luck...
Here are some resources regarding "wifi direct":
http://developer.android.com/resources/samples/WiFiDirectDemo/index.html
zaxy78 said:
You don't need any App.
WiFi-Direct technology is implemented in ICS 4.0 and aboce.
whne the Prime will get ICS update it will support it. in any context menu.
it would be like sending via bluetooth.
Click to expand...
Click to collapse
This is actually not true. I own the Galaxy Nexus and currently there is no way to actually use WiFi Direct without an app. Even the core Android apps don't make use of it. Pretty useless feature up until Google or the developers start releasing apps that make use of it.

[REQUEST] Edit Slingplayer app to add small feature

First off: If this kind of request is not allowed on XDA, or if I have this is posted in the wrong area, or if there are any other problems I haven't thought of, please let me know and/or delete this thread!
I would like to request that someone with the skills and know how please make a very small modification to a free android app for me... I know a little bit about coding, but I don't have the know how to decompile, edit, and recompile and android apk, but I know enough about coding to know that the actual change I would like to make should be fairly quick and easy to do.
The apps (two actual, since there is one phone and one tablet version), (SlingPlayer Free for Phones) and (SlingPlayer Free for Tablets), is a video streaming app for a device called a Slingbox which hooks up to your home cable box to allow streaming of all your home cable TV channels. The app has a feature built into it that allows you to check a box in the settings to limit the bandwidth used over mobile cellular internet connection to 1024 kbps so that it doesn't burn through all your mobile data really fast.
Basically what I want, is the exact same option but for limiting bandwidth over WIFI connection (by adding another check box to the settings, or even just making the current check box apply to both cellular and wifi if thats easier).
The reason being, is that when I use the app on my wifi only tablet via Mobile Hotspot from my phone, it sees the connection as wifi (of course) which allows it to stream at full speed which burns through my data way too fast, while not really providing any noticeable difference in streaming quality. I know there are apps out there that allow you to limit bandwidth at a system wide level, or even on a per app basis, but I've tried almost all of them and for whatever reason they just don't work as intended and cause the video stream to get choppy and buffer all the time. The cellular bandwidth limiting built into the app doesn't ever do that when enabled.
Also, just is case anyone is curious, I actually do own the paid version of the phone app (which I bought at a price of $29.99 back when it originally launch on Android! It's only $14.99 now). I'm only asking for a modified version on the free app because, though I'm not 100% sure on this, it just seems wrong to ask someone to hack and modify a high priced paid app, even though you'd be adding a feature, not removing anything... And I have also contacted the makers of this app repeatedly asking for this feature to be added, amount other things and bugs I'd found in the app, and they refuse to even respond, so I can't get any help out of them. Been trying for almost three years now.
I may be able to make a small donation to the person that adds this feature for me, if desired (and/or if allowed?)
Have you tried contacting the author of this app? What he said?
Wysłane z mojego SM-G935F przy użyciu Tapatalka

GPS clock synchronisation?

Is it possible to write an app for Stratos/Pace which would use data from GPS to synchronise internal clock? GPS satelites all have atomic clocks on board so the time stamps they send are super precise as that's how triangulation of the position is achieved. I'm wondering if something like this would be at all doable considering all the OS constraints?
Possible, it is. But root is required to change date/time, so probably it wouldn't be that useful...
shamus said:
Is it possible to write an app for Stratos/Pace which would use data from GPS to synchronise internal clock? GPS satelites all have atomic clocks on board so the time stamps they send are super precise as that's how triangulation of the position is achieved. I'm wondering if something like this would be at all doable considering all the OS constraints?
Click to expand...
Click to collapse
lfom already has good answers above.
Here is just my 2 cents.
The OS on the watch is Android 5.1, so basically any Android app (for MIPS) works on it.
Android, however, requires an app with system permission to change time, so you need root or make the app a system app.
That being said, I believe the Network Time Protocol (NTP) provides as accurate time as GPS and it's easier to deal with NTP in programming.
There are already a few existing Android apps syncing time using GPS/NTP, but those are not designed for small screens. My favorite one is called ClockSync which utilises NTP, requires Internet access, and works on my rooted watch.
I am on rooted Stratos. This is massively interesting to me. This is basically one of two things I need to get rid of official Huami spyware sending the data god knows where. That shady app always first syncs your health records and only then gets almanac data. If there were a way to do that without them, it would remove a huge dependency on their servers for the future. I mean they can turn off the infra in one year and GPS will be virtually unusable. It'd take forever to get a fix.
@anox, do you have some app for this? I found the only app with aGPS xtra.bin download possibility so far here: https://play.google.com/store/apps/details?id=by.zatta.agps
They claim it works for Qualcomm chips (but I have no idea what powers Stratos):
aGPS Alamanacs
Derek Gordon maintains a special aGPS almanac for devices using Qualcomm or similar chipsets. This xtra.bin data file is updated every 30 minutes and is located on a content delivery system maintained by the generous donations of ther userbase.
Click to expand...
Click to collapse
And if anyone also knows how to sync weather data from a custom source into Stratos' sqlite DB, my Christmas would come early this year...
TF666 said:
I am on rooted Stratos. This is massively interesting to me. This is basically one of two things I need to get rid of official Huami spyware sending the data god knows where. That shady app always first syncs your health records and only then gets almanac data. If there were a way to do that without them, it would remove a huge dependency on their servers for the future. I mean they can turn off the infra in one year and GPS will be virtually unusable. It'd take forever to get a fix.
Click to expand...
Click to collapse
Interesting idea. Sounds tough, though.
@anox, do you have some app for this? I found the only app with aGPS xtra.bin download possibility so far here: https://play.google.com/store/apps/details?id=by.zatta.agps
They claim it works for Qualcomm chips (but I have no idea what powers Stratos):
Click to expand...
Click to collapse
A few others I've tried on my phones are GPS Status & Tool Box and GPS Test. Pace/Stratos has Ingenic M200S chip.
If I remember it correctly, GPS Test runs on my Pace as well, though I've never tried its aGPS data download on the watch. Here's the link. https://play.google.com/store/apps/details?id=com.chartcross.gpstest
And if anyone also knows how to sync weather data from a custom source into Stratos' sqlite DB, my Christmas would come early this year...
Click to expand...
Click to collapse
Sounds even tougher.

[GUIDE] Turn your Android device into a Cloud storage server

So, today im back with another guide, today ill be teaching you how to turn your Android TV Box into a personal Cloud!
A few of you may ask, why? Well theres a few reasons
1. These devices run off a 5v power supply
2. For the price they are, its definately the cheapest alternative to purchasing cloud space
3. For the specs, they are quite impressive
4. Not only can you use wifi, but these devices have LAN aswell
So for anyone who wants to do this, simply check out my youtube video, it takes a total of less than 2 minutes to set up(Deducting all my explaining)!
https://youtu.be/D_yPGkAmtII
Step by step -
1. Download and install SSHDroid on your device from the playstore or link below
2. Open the app, if the service is not started, click start at the top right, the status should change to ready
3. Download the setup server files i created from below and open the SetupServer.bat file
4. The script will prompt you for an IP address, in the SSHDroid app besides address you will see something like [email protected]:2222 your IP address is inbetween "[email protected]" and ":2222", in this case 192.168.1.109, type it in and press enter
5. You will notice 2 scripts are generated from that and a file, you can then run the CloudFileManager.bat or the CloudTerminal.bat depending if you wanna upload/download files from your cloud or do things within terminal
If you do wanna access the server from your device, you can download ESFileExplorer, open it and open the FTP tab
Click "add" and choose SFTP, then input the details that the script generated in details.txt
You can then transfer files between your phone and cloud!
Here are the files i said i would share for this
My setup server files - https://mega.nz/#!fUVQEK5L!57B2fs7qjI0-LhAUfWk014r90KzEJ-P4902Sfa6vZr0
SSHDroid app direct DL - https://apkpure.com/sshdroid/berserker.android.apps.sshdroid/download
Be sure to like, share and subscribe for more content
I'd never even thought of that but been looking for an option of network storage. This could be perfect as I have a few spare boxes. I'll let you know how it goes
Okay got it mostly setup and can access via my desktop. Just trying to work out a way to make it network accessible to Kodi on my main android box. Same network of course
b00glez said:
Okay got it mostly setup and can access via my desktop. Just trying to work out a way to make it network accessible to Kodi on my main android box. Same network of course
Click to expand...
Click to collapse
I get home in a few hours, i will figure it and let you know
Definately a worthy solution to a cheap cloud storage
Any luck figuring that out?
I used Armbian+apache2(with PHP7.2)+Nextcloud server before but your cloud is runing on Android right? This is good idea. May be need a NAS drive like 2TB for storage. Android devices got poor wifi performance. I recomend LAN connection for cloud.
knxwille said:
I used Armbian+apache2(with PHP7.2)+Nextcloud server before but your cloud is runing on Android right? This is good idea. May be need a NAS drive like 2TB for storage. Android devices got poor wifi performance. I recomend LAN connection for cloud.
Click to expand...
Click to collapse
seems to be very minimal difference between WIFI and LAN, im guessing its using the hardware at its limit, i got 2.9mbps upload speed while the Beeting S1 was using an SSD as primary storage(apollo lake processor and 4GB RAM with Samsung evo SSD)
if i find a way to improve performance i will let you know, i just feel using TV box as a cloud server is a very efficient way of doing things for both the price, simplicity and flexibillity
My box has gigabit lan and I don't agree with you
There are good webservers for android that support php/database. I guess we can install Nextcloud. I'll try at my spare time.
knxwille said:
My box has gigabit lan and I don't agree with you
There are good webservers for android that support php/database. I guess we can install Nextcloud. I'll try at my spare time.
Click to expand...
Click to collapse
What im saying is i think its a hardware limitation, the processors and the amount of RAM your device has will surely limit speeds(Upload/Download) somewhat.
I just have no idea what the limit is, but then again my internet is actual trash so you may be right, who knows
What if i want to access to it when I'm not in the same network? How can I do so?
riccardosimo said:
What if i want to access to it when I'm not in the same network? How can I do so?
Click to expand...
Click to collapse
You need to open the port it uses in your modem or router. The use your external IP and the port to connect to it outside of your network. Password protect everything though to be safe.
P.S. can anyone reupload the files?

PERMANENTLY disabling internet and/or wi-fi connectivity on an android device.

Yeah, you read that right. Basically i'm trying to either find a tablet without internet functionality (which i assume is impossible in 2019) or disable all internet connectivity (or wi-fi connection, same thing) from a "normal" tablet.
Simply put i have ADHD (medicated) and tend to find access to the internet very distracting for my work, but i still need a device to write documents on. Problem is, most places where i work or study have wi-fi around, so i end up wasting hours of time, which i cannot afford to.
So, back to the topic: is there a way i can disable internet access from a tablet, maybe by deleting some file? I'm down to rooting the device, if necessary.
Thanks to anyone who can help me!
What your asking for is a bandaid in my opinion. I have the same issue as well, ADHD. What I've learned is just to focus on the task in your life. Such as the documents you need to type up of to look at the weather if it's part of your day.
Put it in like airplane mod or smth,or either,there are some apps for that,you give them the device administrator right,after that they control your daily internet usage,or if you want to block it you can simply do,but after giving an app the administrator rights,you can uninstall it
OptimisticShaggy said:
What your asking for is a bandaid in my opinion. I have the same issue as well, ADHD. What I've learned is just to focus on the task in your life. Such as the documents you need to type up of to look at the weather if it's part of your day.
Click to expand...
Click to collapse
Thanks for your advice, but i was kind of expecting this answer. Still, anedoctal evidence has taught me that i'm much more productive in environments where i simply have no ways of accessing the internet. Also, i've been trying to "learn to just focus" for the past 30 years, and i've always failed, so i'm at the point where i'm fine with relying on bandaids.
SpeedAimer said:
Put it in like airplane mod or smth,or either,there are some apps for that,you give them the device administrator right,after that they control your daily internet usage,or if you want to block it you can simply do,but after giving an app the administrator rights,you can uninstall it
Click to expand...
Click to collapse
This looks ingenious but quite convoluted; I find it weird that with all the ways you can brick a phone there isn't some file i can just delete to make internet connection imbossible. Thank you for your answer though, if nobody comes up with anything i'll try your method.

Categories

Resources