-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Network traffic indicator not working #79
Comments
Is this on Android 15? Because it works for me on A14.
You've answered yourself. Android is not becoming much more optimized over the years. |
Doesn't work for me either. Tried 9.6 and 9.5 Beta. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Okay, thanks to everybody for feedback and sorry for the delay. It'd be of great help if anybody with a broken network traffic indicator would execute the following in the command prompt/appropriate OS shell and send me the output (make sure you have either mobile data or WiFi turned on & connected):
Make sure you are on 2024-12-26 build or later, otherwise these commands won't work. There should be nothing sensitive in those logs, so you can send them here on GitHub. If you still wish to keep things private, send them over to [email protected]. Thanks and have a nice day. NOTE FOR FUTURE DEVELOPERS I've already tried switching to another API for obtaining the traffic data, however it only listed wrong traffic data (also reported by others). My implementation as a reference is available below in case anybody in the future would like to go ahead and improve on it (just rename it from .txt to .patch, as unfortunately GitHub does not allow for .patch files to be uploaded). 0001-Alternative-broken-way-of-detecting-network-traffic.txt |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Got this issue myself on Andy's LOS 21 with a Helio G95 chipset. Gonna test this. |
Thanks, but you've cut off the last command. Any chance of sending that one, as it's the most important one? |
Uhh, you have the latest build and it doesn't work? Would you mind executing the following command and sending the output?
|
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
I've decided to build both versions, as I've included additional fixes for some other issues. I've tested the fix for this issue myself, and it seems to be working properly (it should work for WiFi, I'm unsure for mobile data). Let me know if it works for you. I'll take a break from building now, so you can't expect fixes anytime soon. As said, it should work properly. If it doesn't, please comment and I'll reopen the issue. https://github.com/mytja/treble_evo/releases/tag/20241226 |
Thanks a lot dude. I will try it ASAP and let you know the feedback.
…On Thu, Dec 26, 2024, 5:35 PM Mitja Ševerkar ***@***.***> wrote:
I've decided to build both versions, as I've included additional fixes for
some other issues. I've tested the fix for this issue myself, and it seems
to be working properly (it should work for WiFi, I'm unsure for mobile
data). Let me know if it works for you.
I'll take a break from building now, so you can't expect fixes anytime
soon. As said, it should work properly. If it doesn't, please comment and
I'll reopen the issue.
https://github.com/mytja/treble_evo/releases/tag/20241226
—
Reply to this email directly, view it on GitHub
<#79 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BFU4FYV56IDQBOITGK6TMJT2HQH3PAVCNFSM6AAAAABSXAHIW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRSHAZTCNJZGU>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Currently having the same issue here. I went and tested the latest Dec 26 build and it didn't fix the issue the original reporter had. |
Could you send the output of these commands?
I've hidden some comments in order to increase the visibility while scrolling this comment thread. Don't mind the "outdated" tag, I couldn't find a better option. |
RX output: ifconfig output:
|
the bluetooth issue and network traffic issue is still not fixed for me |
Ughh. Can you please send the output of |
|
Thanks. What about Will do the Bluetooth backporting in the January build, thanks. |
ill send it , just wait 5 minutes |
Thats the same issue with me , i also have mediatek Chipset and this is the same issue ive been facing |
@Technical06, thank you so much for your logs. This should give me enough information to fix it. SELinux is hell. Despite me saying that I'll take break, I'm so invested into this issue that you'll receive a test image in a couple of hours. |
Please test this new image (it should also contain the backported Bluetooth fix): https://git.severkar.eu/mytja/treble_evo_test/releases/tag/20241227-test1-traffic-bt |
okay sure |
Tested the build. The network traffic indicator now works (except for mobile data, for some reason), but the aforementioned Bluetooth issue still persists. |
Nice , the download speed was exceptionally Slow for me though |
That's great hearing that the network indicator now works. As mentioned somewhere in the thread before, only WiFi should be monitored. I'll provide another test build with fixed mobile data monitoring, should be easy now. Apart from that, thanks for your responsiveness & quick testing. Regarding the Bluetooth patches, I'll do a deeper dive in the January build. |
Nice. One of the primary reasons for my responsiveness was because of the egregious amount of suffering I had to go through because of Bluetooth. In my year of using GSIs on three devices, Bluetooth was always the one part of them that just had one issue or another that would make it tedious to use or outright impossible. |
actually just for your knowledge , bluetooth works on all A13 builds as i told you , and old A14 builds which are now legacy |
Oh, and might just be me, but data/wifi usage tracking doesn't seem to be working too. |
Same goes for me , even i cant use the Usage settings and also DSU doesnt work for me , though my device is encrypted |
Yeah, I get you. Bluetooth on Android is a mess... well, everything is a mess. I & most other builders most frequently get reports of FOD & Bluetooth not working. It's especially annoying, as most experience their issue on ALL GSIs, but don't report it on TrebleDroid. I can't offer knowledgeable support on Bluetooth and FOD. I tried fixing FOD on A15 for my device, but ultimately failed.
I've decided to redo the patches right now. I don't know if it'll do much, as TrebleDroid Bluetooth patches apply more or less cleanly, meaning that Lineage hasn't changed much.
Yeah, under the hood Android is using a very different API. Your old kernel doesn't offer support for these functionalities, therefore nothing is reported. Unfortunately, my fixes are great for the traffic indicator, but not measuring traffic over time. I've disabled this as a temporary measure, so you won't see it in the next build. I have an idea on how to fix it however. Note to self: save traffic indicator data to SystemProperties in
I'll sure implement it if phh decides to include it in TrebleDroid's A15 patchset. For now I can't do much. I have encrypted data and wouldn't like to decrypt it just to test this.
This likely means that your vendor doesn't properly support DSU. That's unfortunate & I can't do much about it even if you open an issue. Anyhow, this issue has turned into such a mess with (now) 39 comments. I'll post a new test build here (I'll leave it building overnight, so expect it tomorrow), but for other issues I moving to #104 for the Bluetooth issue and creating a new issue for that "data usage over the entire day" issue. Thanks to everyone in this thread for testing & reporting. Have nice holidays. |
Sorry i think my explanation wasn't enough , DSU works for me in A13 builds but it shows some error failed to create partition on A14 builds . this only happens now on the Recent builds . |
That's an interesting bug, and I don't know why it would fail... New build, which should fix traffic indicator on mobile networks & maybe Bluetooth: https://git.severkar.eu/mytja/treble_evo_test/releases/tag/20241228-test1-traffic-bt OR |
Noted, testing will now begin. |
|
Download this image: https://github.com/mytja/treble_evo_test/releases/tag/20241230-test3-bt-charger It fixes the issue you're having. |
Thanks a lot, dear, it's working fine. |
Is just shows 0 kb/s on the status bad and the data usage option is also broken , plus Im facing lags on this build while gaming , the UI is smooth but fps are quite unstable on this build , in my opinion A13 provide better performance than A14 , why is this so?
Also my processor is Mediatek dimensity 800U
The text was updated successfully, but these errors were encountered: