[GUIDE] Disable WiFi logging on MIUI ROM - Xiaomi Mi Max 2 Guides, News, & Discussion

You must have noticed WLAN_LOGS folder in your internal storage with some files inside it taking up considerable amount of space. These files re-apppear even after deleting them. WLAN_LOGS : https://imgur.com/a/pq32N
After further digging I found out that MIUI devs have enabled (or should I say forgotten to disable) WiFi logging on the final build of MIUI ROM. WiFi logs are dumped as soon as you connect to any WiFi. This issue is present on official MIUI8, MIUI9 ROM and MIUI based custom ROMs such as Xiaomi.EU, MIUI Pro etc. as well.
How to disable WiFi log spam (needs root access) : Root here
Install any file manager app that supports root access such as Solid Explorer, MiXplorer
Open the app and grant root permissions
Go to the root folder > data > misc > wifi > cnss.diag.conf
Open it with the text editor and change the values as under
Code:
LOG_PATH_FLAG = 0
MAX_LOG_FILE_SIZE = 1
MAX_ARCHIVES = 1
LOG_STORAGE_PATH =
Save the file and reboot your phone. WiFi logging will be disabled permanently.

it's disabled now on xiaomi.eu 7.10.19 dev ROM.

Thanks a lot :good:

Thanks for the mod.
Can we do this with a magisk module ? Just in case

Hi all,
Just sharing my solution, I wanted to avoid rooting
So I deleted the folder wan_logs and created an empty file in internal root folder with the same name
So the system finds itself unable to create the folder and consequently can't create files in there
Seems to do the job

Location
dawabz94 said:
Hi all,
Just sharing my solution, I wanted to avoid rooting
So I deleted the folder wan_logs and created an empty file in internal root folder with the same name
So the system finds itself unable to create the folder and consequently can't create files in there
Seems to do the job
Click to expand...
Click to collapse
Where did you find that folder ? Please shre the location

Hi,
Found at the root of my internal storage
Hope this helps,

Old DCIM trick xD
dawabz94 said:
Hi all,
Just sharing my solution, I wanted to avoid rooting
So I deleted the folder wan_logs and created an empty file in internal root folder with the same name
So the system finds itself unable to create the folder and consequently can't create files in there
Seems to do the job
Click to expand...
Click to collapse

Absolutely!

I am also using this trick in my max 2 since 5 months.just make a file through es file explorer in the root directory with name wlan_logs .

Thanks
Sent from my Mi 6 using XDA Labs

On my Mi9 running MIUI 11 .conf file is located at /data/vendor/wifi and log files are at /data/vendor/wlan_logs

Related

Missing folders in android/data...is something wrong with my phone?

I'm trying to access my Final Fantasy IV data folder to backup my save folder, but I can't seem to find the folder even though I already researched the specific directory. How do I access the "hidden" directory? I am using root access explorers set to show hidden files but that doesn't help.
Here is a link that shows the specific directory to backup the save file (read the second comment).

[GUIDE] To change the Truecaller dialer to stock Android dialer in 5.1.1 on Yureka

One of the main drawbacks of 5.1.1 update on Yureka was that the stock dialer had been replaced by Truecaller dialer. I, for one, liked the original dialer a lot. It had dynamic speed dial tiles which changed according to how much you called, which is probably one of the best features. Also, there's privacy issues associated with Truecaller dialer, if you're into that sort of thing.
To change the dialer, we'll simply replace the phone UI components with blisspop components. Blisspop has stock Android dialer.
Also, this is my first guide, so if mods think this is not in appropriate section, please move it to proper section.
Prerequisites:
1. You should have Yureka [duh]. I don't know if this works on Yureka+. Maybe someone can test & tell me so that I can update this guide.
2. You should have write access to the root partition of your phone.
What is root partition you ask? Yureka has Internal memory [Sdcard0], External memory card [Sdcard1] & a third partition, root partition[/].
You can access this partition using any reputed file manager such as ES file Explorer, Solid Explorer, Root Explorer etc.
However ES, Solid etc. had problem writing files in my phone. I therefore went with Root Explorer which works flawlessly.
From hereon, I'll consider you are using Root Explorer. However using any other file manger will be similar.
The only caveat in using Root Explorer is that writing permission requires root access.
Steps:
1. Open Root Explorer. Tap "Mount R/W". Grant it the superuser permission when it asks. This puts the Root explorer in Write mode for root partition & we can now write or over-write files which we want.
2. Download the zip file from here & extract it somewhere on you phone.
3. In root partition [the one with symbol "/"], go to system-->app and replace or overwrite the InCallUINext folder with the folder which you have downloaded from the zip file. Make sure you have backed up the original folder which was previously present i.e copy it somewhere on phone memory just in case.
4. Then go to system-->priv-app and replace or overwrite the DialerNext folder with the folder from the zip. Again make sure you've backed it up.
5. That's it. Reboot the phone & you have the stock dialer.
Credits to @Sundara Prakash & also to @Vams for prodding me in the right direction.
Hit Thanks if you think this helped!

[Q] access /data/data/

hey guys i have a question, i've been trying to access /data/data/ and one of my game folders but with android comander that folder is not vissible or empty , but i can access system folders like "/system/media//audio/ui/ so root seems to work but not for the /data/data/ folder ?
root browser and solid explorer if i copy files from /data/data/ to sd card and then to pc the files seems to be empty,
my device is rooted with latest audax methode MM 6.0.1 Audax " [ROM][KERNEL][MM][G928C/F/G/I/T][BPC3][6.0.1]AUDAX PLUS M v3.0[05/04/16] "
samsung galaxy s6 edge+ SM-G928F
can anyone help me out abit ?
thx
Wesley_NL said:
hey guys i have a question, ive been trying to access /data/data/ and one of my game folders but with android comander that folder is not vissible or empty , but i can axxess system folders like "/system/media//audio/ui/ so root seems to work but not for the /data/data/ folder ?
root browser and solid explorer if i copy files from there to sd card and then to pc they seems to be empty,
my device is rooted with latest audax methode MM 6.0.1 Audax " [ROM][KERNEL][MM][G928C/F/G/I/T][BPC3][6.0.1]AUDAX PLUS M v3.0[05/04/16] "
samsung galaxy s6 edge+ SM-G928F
can anyone help me out abit ?
thx
Click to expand...
Click to collapse
If you are rooted, use Root Explorer from the playstore.
I have used it for over 5 years and I have no problem opening and seeing all the files and folders on my s6 edge plus phone.
Good luck,
Have a great day.
Sent from my SM-G928T using Tapatalk
Misterjunky said:
If you are rooted, use Root Explorer from the playstore.
I have used it for over 5 years and I have no problem opening and seeing all the files and folders on my s6 edge plus phone.
Good luck,
Have a great day.
Sent from my SM-G928T using Tapatalk
Click to expand...
Click to collapse
root explorer see everything even in the /data/data/ but when i copy files from there they seems the be empty, as in file without data, i tried to share it to and upload it directly to dropbox but even that don't work
see attachments,
as far as i know i closed/killed the game, i even rebooted my phone but nothing changes
Wesley_NL said:
root explorer see everything even in the /data/data/ but when i copy files from there they seems the be empty, as in file without data, i tried to share it to and upload it directly to dropbox but even that don't work
see attachments,
as far as i know i closed/killed the game, i even rebooted my phone but nothing changes
Click to expand...
Click to collapse
You cannot upload the file from it's current location, copy the file into your internal SD card first.
If that don't work then make sure to check the attributes of the file is set to R/W READ & WRITE.
Also check your file manager's permission & attribute settings, it should be set to allow read & write.
Good luck, have a great day
Sent from my SM-G928T using Tapatalk
Misterjunky said:
You cannot upload the file from it's current location, copy the file into your internal SD card first.
If that don't work then make sure to check the attributes of the file is set to R/W READ & WRITE.
Also check your file manager's permission & attribute settings, it should be set to allow read & write.
Good luck, have a great day
Sent from my SM-G928T using Tapatalk
Click to expand...
Click to collapse
i know this. but its r/w so it should work but it don't work fine,
but in the past i had it to that root browser don't copy the files completley (for example my account files) from sd card to /data/data/jp.gungho.padEN/files so some one said to use solid explorer and that worked but now it is the other way arround, it copy fine to /data/data/jp.gungho.padEN/files but not from there to sd card, it copy the files but i can not open them in a bin editor
Don't know why people are so happy with Root Explorer it's very nice but lacks a lot of features.
I've done these thing with Total commander without problems. Try that one.
ps blind me missed the part about Dropbox. Did you try to put it in (by example) your downloads folder and upload from there? Goodluck anyway!

Need root to access obb folder?

As title states, to access the obb folder, do I need to be rooted?
no you dont need to be rooted.
I dnt see the obb folder inside the Android folder.. its normally
Android > obb
what file manager are you using? Are you checking for the obb folder on the memory card or internal memory? What game/app are you trying to install that you need the obb folder?
S7 built-in file manager... and of course internal memory...
hmm it should be available by default try creating the folder and placing whatever game/app you want in side it.
doesnt seem to work... tried a few times with different app... just FCs
Out of interest, If you do not see it, You may not have an application thats created Obb.
This folder is not created unless a package is stored in here.
you can create it manually via file manager / file browser
(If you create it manually, there is every chance you need to set the permissions and assign it a group)
obb is owned by media_rw (Group id 1023)
The permissions on this folder are:
rwxrwx--- OR 0770 (Owner and Group Full read Write Execute)
If the folder exists and is hidden, the application will not allow you to create the folder.
Delete the folder and download one of the following from the store:
This should create the OBB folder
StarKnight
Brain it on
The Room 3
Thumb drift
Ilttle Drew
Odyssey
(Just some packages i have in Obb)
dave7802 said:
Out of interest, If you do not see it, You may not have an application thats created Obb.
This folder is not created unless a package is stored in here.
you can create it manually via file manager / file browser
(If you create it manually, there is every chance you need to set the permissions and assign it a group)
obb is owned by media_rw (Group id 1023)
The permissions on this folder are:
rwxrwx--- OR 0770 (Owner and Group Full read Write Execute)
If the folder exists and is hidden, the application will not allow you to create the folder.
Delete the folder and download one of the following from the store:
This should create the OBB folder
StarKnight
Brain it on
The Room 3
Thumb drift
Ilttle Drew
Odyssey
(Just some packages i have in Obb)
Click to expand...
Click to collapse
Im not rooted so I cant check/change permissions.. But I did install the thumb drift game and the OBB file showed up.. still just getting FCs
I'm using an s5 on RR 7.1.2 and I can't access obb. It's there but the folders inside are empty. And I can not move files into the directory.... I don't know why.

[Tool] Android Adb File Explorer

I'm an Android Developer and I need a tool support push pull data to mobile base on ADB commands. I search xda forum and found a tool at here: https://forum.xda-developers.com/showthread.php?t=1821601 .
But it have some problem and i developed a new tool with some advance features:
Attacted new adb version, high speed transfer for Android 7 or newer.
Support push, pull for multi files/folder.
Show more information of files/folders and sort data by name.
Don't freeze with large data.
Note: Current only support Windows.
Download: AndroidAdbFileExplorer.7z
XDA:DevDB Information
AndroidAdbFileExplorer, Tool/Utility for the Windows 8 General
Contributors
codinginthebigcity
Version Information
Status: Testing
Current Beta Version: 1.1.1
Created 2017-05-12
Last Updated 2017-05-12
Thank you for your app. Works very good.
Needs multi-file pull.
I tried to access /data so I clicked 'back' and everytime I choose a folder it trims 3 firsts symbols from selected folder.
Example:
I select folder named 'system' and in path I get /tem
I select folder named 'misc' and in path I get /c
I select folder named 'config' and in path I get /fig
I cannot edit filepath as it is not editable.
Please fix this
this is the only such application works!
broken and unusable. keeps thinking date and id is a path variable on every command,
This tool is lovely! Used it to move a ton of files from my Pixel on Pie to my PC so that I could do a full wipe and install of Android 10, then moved the files back. The speeds seem to be at least 10x faster using this than MTP over USB. Thank you so much!!!
works great for android tv.
Thanks broman
Thanks a TON !!!!!!!!!!
I used this software to backup various folders from the internal storage of my Moto G5 Plus and it worked flawlessly.
And the copy speed is too good to be true (but it is)
God bless you
This is the best method to transfer big amount of data from your phone. I had 35GB of photos and videos and this app transfer that quick and without any data corruption. MTP is not even close to that method. Thanks a lot!
FYI: I think this tool unfortunately doesn't really work under Android 11 any more, probably due to the new restricted storage access design by google.
Running an Pixel 2 with Beta RC3 and some files and folder won't be shown. For example the "camera" folder under "dcim" wont show at all.
Other files under downloads: some show, some don't.
Maybe you could look into it and fix it with an update? Was immensely usefull for copying pictures.
Thanks for your great work
Link/url is not working.
If can fix please.
Or if any other better File explorer after 3 years.
A new link would be great for me, too.
Anyone saved a copy of this? Also looking for a link
giant59 said:
Anyone saved a copy of this? Also looking for a link
Click to expand...
Click to collapse
Found it on an old computer for you.
I still prefer using this app instead of "Android Studio", especially if I'm only using Android Studio just for file transfer (overkill 800+ megabyte download) whereas "Android ADB File Explorer" is less than 1 megabyte. I also find it a lot easier to move directories with subdirectories with "Android ADB File Explorer".
Android ADB File Explorer MEGA download link (file is untouched from original download in 7z): https://mega.nz/file/vhpFiQwb#PngUnnspu6VA2enWCN9t06kGYcWkugsA1qWXswKjbTY
I've converted the original 7z file to ZIP for attachment to this post. No other changes were made.
Edit: I don't have any issues on Android 11 moving multiple files and directories with this. Much, much faster than MTP
Edit 2: I encountered the Android 11 issue with missing subdirectories. I just copied the parent folder and the subdirectories that weren't displaying in "ADB File Explorer" still copied over anyways.
ninjæon said:
Found it on an old computer for you.
I still prefer using this app instead of "Android Studio", especially if I'm only using Android Studio just for file transfer (overkill 800+ megabyte download) whereas "Android ADB File Explorer" is less than 1 megabyte. I also find it a lot easier to move directories with subdirectories with "Android ADB File Explorer".
Android ADB File Explorer MEGA download link (file is untouched from original download in 7z): https://mega.nz/file/vhpFiQwb#PngUnnspu6VA2enWCN9t06kGYcWkugsA1qWXswKjbTY
I've converted the original 7z file to ZIP for attachment to this post. No other changes were made.
Edit: I don't have any issues on Android 11 moving multiple files and directories with this. Much, much faster than MTP
Click to expand...
Click to collapse
MD5 Hash Matches
Hash: 22c12aaa9c47bee6e5ed0f3887969883
Is it still being maintained? I hope someone can add in the option to connect to ADB over WiFi (probably just another input field for IP address and change the adb connect command)
HRSE said:
Is it still being maintained? I hope someone can add in the option to connect to ADB over WiFi (probably just another input field for IP address and change the adb connect command)
Click to expand...
Click to collapse
The developer of this utility hasn't logged into XDA in over four years, so my guess is that this isn't being maintained. However, "codinginthebigcity" has updated their "Watch Navigator" app in the Google Play store as recently as February 2021. So they may still be active in Android development. Their email [email protected] is listed in that app description if you want to pose your feature request directly to them.
Well the link is dead, so much for this.
Toothless_NEO said:
Well the link is dead, so much for this.
Click to expand...
Click to collapse
Did you try the re-uploaded link or attachment four replies up?

Categories

Resources