Question Cannot Upload Anything on Work Profile - Xiaomi Mi 11

Hello. I am using MI 11 5G, it's a new phone. Just got over the weekend. We installed the WORK PROFILE for our company then everything was working fine not until when I tried to attach a file on Gmail app, the file explorer wont open. I already turned off the optimization and it showed the file explorer but won't attach the files. I went back to my personal profile, and the file explorer wont open when the optimization is off. When I turned it back on, the same thing happens on the work profile. It won't allow me to select files but on personal profile, everything is working fine.
My OS is: miui 12.5.1 Global. Thank you.
Video links:
Cannot upload:
Personal Profile says: Work Profile is Paused even if it is on:

Related

[Q] MY Phone Number

I have been successfully using the Verizon FIOS remote control app to control my TV FIOS STB and it is much nicer to use than the standard IR remote.
To get it to work originally using a nightly (circa 128), I had to persuade the Nook that it had a phone number as this is registered against one set in the STB. I did this by going into Settings/Call Settings/Additional Settings. This gives a network or SIM card error but when OK'd allow me to manually enter a phone number which then worked fine and continued to work through many nightly updates.
Something has now changed (I am currently on nightly 200) as I find that I have to re-register the FIOS app almost daily to get it to work.
On checking I find that the Phone Number setting gets lost periodically and set back to Unknown and I have to manually enter it again.
Does anybody know whether CM7 behaviour has changed with respect to the storage of the Phone Number? I realise it would normally be on a SIM, but it does seem to stick around for quite a while on the Nook before getting lost.
Any luck with this? I've been trying to figure out a way to do this for a while. I am unable to set a number as you described as all settings are greyed out. I'm also on nightly 200+. Seems like there would be a system file we could edit to fake the number, or something like that. Was thinking about setting up a SIP account to try it, but I doubt that will work.
dgibb2000 said:
Any luck with this? I've been trying to figure out a way to do this for a while. I am unable to set a number as you described as all settings are greyed out. I'm also on nightly 200+. Seems like there would be a system file we could edit to fake the number, or something like that. Was thinking about setting up a SIP account to try it, but I doubt that will work.
Click to expand...
Click to collapse
I have made some progress investigating this but have not got a final solution yet.
First, I can set my phone number up even though it is not a phone. I go into Settings, Call Settings, Additional Settings. The screen blurs and brings up a dialog box saying Call settings Error - Network or SIM card error. If I OK that then I see 3 menu items. The first 2 are grayed out but the 3rd "My Phone Number" is enabled. I select that and can enter a Phone Number. Are you saying you get the error and then all 3 options are grayed out?
Once entered I can view the Phone number via Settings, About Tablet, Status.
So far so good. The phone number setting does not normally survive a reboot, and also typically reverts to Unknown after a couple of days even without a reboot.
I have traced the Phone number setting to be stored in com.android.phone_preferences.xml which is in /data/data/com.android.phone/shared_prefs
But when the Phone number disappears it doesn't disappear from this file so there is some more complex interaction with trying to read a non-existent SIM first. So far I have traced the code involved to MyPhoneNumber.java and MSISDNEditPreference.java which are in the CyanogenMod-android_packages_apps_Phone-5d2764c.
I am still working on understanding this to see if there is some work-around to make the setting stick better. Currently I just have to check the phone number manually and set it again when it disappears.
Hmmm. When I go into call settings, all settings are greyed out except for internet call settings at the very bottom. I see the additional settings field you are speaking of but as its greyed out nothing happens if I click it. Weird.
dgibb2000 said:
Hmmm. When I go into call settings, all settings are greyed out except for internet call settings at the very bottom. I see the additional settings field you are speaking of but as its greyed out nothing happens if I click it. Weird.
Click to expand...
Click to collapse
Yes. That is strange. All my settings in Call Settings are enabled even though most are inapplicable. I don't think I have done anything to explicitly enable them and I'm on a standard Nightly 240 with the updated SystemUI.apk which turns off the phone signal bars. But I've never had these greyed out with any nightly build before.
Anybody else comment on whether their whole Call settings are enabled / disabled?
There is also a setting in build.properties in the system folder with a key called
keyguard.no_require_sim
I think this may have effect on how the OS treats calls which access the SIM. On my system this is currently set to 1. I might try playing with other values like true, 0 to see what effect that has.
Another theory as to why your call settings may be greyed out is that it they may get disabled in airplane mode.
Now this could be an issue even if you have set and subsequently cleared airplane mode as I believe the airplane mode setting doesn't go away entirely and can cause problems.
There is a command line way of clearing this setting completely which I did once when I set airplane mode on. Search for something like airplane sqlite to find the instructions.
That was it. I was stuck in airplane mode, and must have been for a long time. I used Android Assistant to clear the setting and it worked. I'm able to set my number and use fios mobile remote now! Thanks for your help.
Where did you get that updated systemui.apk to clear the cell signal bars? Now that I got the airplane mode off I have the signal strength there for no reason.
I got the SystemUI.apk from here
http://forum.xda-developers.com/show...60542&page=547
I just replaced the one in system/app. If you overwrite then you might get status bar forced close but a system reboot will sort that out and I haven't had signal bars since.
I've now put this in a zip that I can use to install after any nightly update I do as I've now found there is a wifi patch to deal with any remaining SOD issues although I haven't had one of those for a long time now.
Hopefully this stuff will get put into the main build before too long.
Looks like your link got clipped. Getting a page not found error.
Also, do you have any instructions on how to put the .apk into a zip for re-install after you do an upgrade? I'm assuming its not as easy as just ziping the file up?
Updated link
http://forum.xda-developers.com/showthread.php?t=960542&page=547
Yes. It is as easy as zipping the file up, but you have to create a matching folder structure to determine where the file goes. So in the case of the SystemUI file you create a folder called system containing a folder called app, put the file in the app folder and zip it so that system is in the root of the zip.
Correction: I thought that zip method was working but it wasn't. I had manually put the files in anyway and that worked OK. Then I was testing the zip, but it was actually failing.You need to put the files in a zip with the meta-inf etc. I think this link gives instructions
http://alldroid.org/default.aspx?g=posts&t=855
No. That doesn't work either as it uses an older method of scripting no longer supported. Apparently it needs to use Edify scripting now. It looks like some people add files to the gapps package, but I'm not clear yet whether it has to be re-signed, and I don't particularly want to redo gapps just to do this minimal patch.
I think I now understand how to produce an update zip that works.
I first took a gapp zip and stripped out all the existing files under system leaving the meta-inf alone. I put in the patch files in the appropriate folders under system. I then modified the updater-script in the meta-inf tree to just mount system, run package_extract_dir("system", "/system"); and unmount system with changes to the ui_print
I then signed the zip using the win-sign utility available here
http://forum.xda-developers.com/showthread.php?t=629151&highlight=sign+zip+files
I tried this out by first updating to nightly 246 and then applying my patch containing the SystemUI and the wifi driver that fixes SOD and that seemed to work OK.

[Q] Which CM version does restricted profile actually work in?

I want to setup a HP Touchpad which supports restricted profiles (aka kids mode) so I can have my kids use the TouchPad but only give them access to a few apps and games I select and barring them from other apps, changing system settings, etc..
I just tried updating my TouchPad to JC's CM11 (cm-11-20140625-SNAPSHOT-jcsullins-tenderloin.zip), I was successful but restricted profiles don't seem to work in it. Details are below in case anyone wants to know.
I don't really care which CM version I install on the TouchPad, I just want one where restricted profiles work. If there's anyone out there who has used this specific feature successfully on their TouchPad, please let me know what ROM version you are using. Thanks!
My CM11 experience with restricted profiles:
When to Users, Add Restricted Profile. Did the Set Up Profile now and got the Welcome to CyanogenMod Wizard for the new profile, Select English, Google account setup - Select Skip, Setup your CyanogenMod account - Select Skip, Location Setting - nothing selected, Setup is complete - Select Finish and then got the message Unfortunately, CyanogenMod Account has Stopped. Then I got a Black Desktop. Back, Home, Windows button bar at bottom, Status bar shows Wifi, battery, time, the apps I selected to give that profile access to was not shown. I consistently get Unfortunately, System UI has stopped messages as well.

Please help. Not receiving notifications when on cellular.

For the life of me I can't figure out why I don't receive any notifications while I am not on wifi. This has been going on for a year now but only recently have I been watching my email awaiting something important. When I get home and connect to wifi I am barraged by notifications from email apps, linkedin, etc.
-There is no battery saver or adaptive battery mode on.
-My email apps are not being battery optimized.
-Do not disturb is off.
-I am rooted but have no Lxposed modules installed.
-For Magisk I only have Google pay related modules installed, besides the obvious Riru core etc.
Any help would be appreciated!
The issues turns out to be AdAway for some reason when it's on I don't get notifications on cellular. But when I pause app I get notifications again. Any idea why?
stonebriar said:
The issues turns out to be AdAway for some reason when it's on I don't get notifications on cellular. But when I pause app I get notifications again. Any idea why?
Click to expand...
Click to collapse
One thing to try is to disable webserver in Adaway if you have it enabled and see if that helps.
Lughnasadh said:
One thing to try is to disable webserver in Adaway if you have it enabled and see if that helps.
Click to expand...
Click to collapse
The issues has to be from the default AdAway host lost. I used the DNS log, sent an email between two of my accounts and allowed a small list of connections. So I guess the official host list was blocking too much??
@stonebriar
You can try deleting existing apn xml and swapping it with my apn xml I've attached to this post. Sometimes in custom roms the apn xmls get messed up and result is no data or bad connection...
Are you using a custom rom? If so and you are on Android 11 custom rom grab your favorite root file manager app and give it root permission. Navigate to /product/etc/ and /system/product/etc/ and delete your current apns-conf.xml file in those two locations. Now in your /system/product/etc/ copy then paste the file I'm linking here in to that directory, where the one was you already deleted was... Now long press it and select permissions and make permissions on the apns-conf.xml set to 0644. After that navigate to phone settings/network and internet/mobile network/ scroll to last selection which is "access point names." Select it and sleepy little 3 dot menu thingy in top left of screen, select "reset to default." Now give it about 60 seconds and you'll know if this was an apn issue because your data/LTE will show up in your status bar. When it does reboot system and you are good to go. This cannot in any way harm your device. It will either work if it's an apn issue or if it's not an apn issue it won't work. I hope it helps someone.
Credit for this goes to spaceminer here on XDA. I came across his post explaining this year's ago and have used it many times on many devices and it's worked every time! And of course credit goes to XDA for being XDA and letting us have a spot to read and learn new things!
apns-conf.xml download: https://u.pcloud.link/publink/show?code=XZBULKXZ4HjpgTXPOszUoQAxxpLReuJtUk6X
~flash713

Question Downloaded files disappearing after 1-3 days

Hello everyone! I have this device (with MIUI Global 12.5.3) for a month now and I have an issue, I cannot resolve: any downloaded file (pictures, documents, ebooks ... you name it), from any source (Google Drive, files downloaded with Chrome) is disappearing from the phone after 1 to 3 days, no matter what I do with them. I tried moving from Download folder to any other, tried to rename with Total Commander, rename in terminal (with Terminal Emulator) ... still some app or system service deletes them - not only from the Download folder but from any other location. Have anybody met this kind of behavior? Is there any solution?
update: the ROM is a plain MIUI Global 12.5.3 with no modification, no root, MI Unlock status is locked ... the phone behaved in the described way from the first minute, out from the box.
update 2: files copied by USB are fine
blews said:
Hello everyone! I have this device (with MIUI Global 12.5.3) for a month now and I have an issue, I cannot resolve: any downloaded file (pictures, documents, ebooks ... you name it), from any source (Google Drive, files downloaded with Chrome) is disappearing from the phone after 1 to 3 days, no matter what I do with them. I tried moving from Download folder to any other, tried to rename with Total Commander, rename in terminal (with Terminal Emulator) ... still some app or system service deletes them - not only from the Download folder but from any other location. Have anybody met this kind of behavior? Is there any solution?
Click to expand...
Click to collapse
Please give us more details like ROM twrp root....
May then someone can help
Hi at all,
Same issue here - my business files are disappearing randomly after a while after i download and move them to custom folders. (I use several webbrowsers to download and Total Commander to move or copy the files).
It's a pure disaster - my business files, work shift plans and so on get all deleted....
Anyone knows a solution to this issue, it's a killer bug?!
I no more can recommend the the phone, nor the company. Such a s***** mess..., they totally f****d it, honestly.
I disabled the security app, no more scans, cleanings or antivirus activities, all disabled, no change in this behaviour so far. More & more people are complaining about this issue, just search for it on the web.
Phone: Xiaomi Mi 10T Pro, no rooting -> Brand Firmware up to date (MIUI Global 12.5.10.0 (RJDEUXM); Android Version 11 RKQ1.200826.002.
Many thx in advance to whom who may help me and the rest of the users.
ppcppcppc said:
Hi at all,
Same issue here - my business files are disappearing randomly after a while after i download and move them to custom folders. (I use several webbrowsers to download and Total Commander to move or copy the files).
It's a pure disaster - my business files, work shift plans and so on get all deleted....
Anyone knows a solution to this issue, it's a killer bug?!
I no more can recommend the the phone, nor the company. Such a s***** mess..., they totally f****d it, honestly.
I disabled the security app, no more scans, cleanings or antivirus activities, all disabled, no change in this behaviour so far. More & more people are complaining about this issue, just search for it on the web.
Phone: Xiaomi Mi 10T Pro, no rooting -> Brand Firmware up to date (MIUI Global 12.5.10.0 (RJDEUXM); Android Version 11 RKQ1.200826.002.
Many thx in advance to whom who may help me and the rest of the users.
Click to expand...
Click to collapse
There's no solution, only a workaround: don't MOVE the downloaded files to their final location. If you COPY, it seems they will be "alive". If you move, even if the file is in the downloaded location for several months, it'll vanish in max. 3 days - just tried few weeks ago.
Meantime the phone is updated to Miui Global 12.5.6 - the problem stayed (so the AOD 10 sec. limit), i don't think they'll fix these "features".
blews said:
There's no solution, only a workaround: don't MOVE the downloaded files to their final location. If you COPY, it seems they will be "alive". If you move, even if the file is in the downloaded location for several months, it'll vanish in max. 3 days - just tried few weeks ago.
Meantime the phone is updated to Miui Global 12.5.6 - the problem stayed (so the AOD 10 sec. limit), i don't think they'll fix these "features".
Click to expand...
Click to collapse
Too too too bad XIAOMI. That is my LAST phone from you. Initially I was blown away from your hardware quality in a positive manner......BUT this is a killer function, like robbery in ones own home, coming back and finding things stolen.
I lost trust in you XIAOMI, and "trust" that is the most valuable good in the digital world - users should NEVER lose it in YOU. You totally blew it.
Thanks for N.O.T.H.I.N.G...... no more your devices. Back to SONY or SAMSUNG.
Thanks @blews.
ppcppcppc said:
Too too too bad XIAOMI. That is my LAST phone from you. Initially I was blown away from your hardware quality in a positive manner......BUT this is a killer function, like robbery in ones own home, coming back and finding things stolen.
I lost trust in you XIAOMI, and "trust" that is the most valuable good in the digital world - users should NEVER lose it in YOU. You totally blew it.
Thanks for N.O.T.H.I.N.G...... no more your devices. Back to SONY or SAMSUNG.
Thanks @blews.
Click to expand...
Click to collapse
My thoughts are the same: decent hardware for the price, but software wise is the worst phone i ever had. I never hated my phones until this. Maybe with a custom rom or root would be better but due to banking apps these are not an option.
I totally agree. The banking point just minimizes the options. It urges me to look activly for a new device...too bad.
At last, guess I found a working solution to this pain in the ...
Go to settings in the security app. There find the function "cleaning". In this subsetting just turn on "remember for cleaning". Set the remembering intervall to the maximum (e.g. 15 days).
Now the app asks now and then to clean in the notification bar. Just swipe the message to the side to close it. Nothing will be deleted this way...!
I remember that this remembering notification appeared by default as I first got the phone. In the brginning, there was no automatic deletion issue.
Hope this helps as I think it does on my device so far.....
Over and out.
I don't know... On my device I didn't gave consent to the security app's 'Terms and conditions' so I thought the app doesn't run. So, in my eyes one more issue concerning trust in a Xiaomi device.
blews said:
I don't know... On my device I didn't gave consent to the security app's 'Terms and conditions' so I thought the app doesn't run. So, in my eyes one more issue concerning trust in a Xiaomi device.
Click to expand...
Click to collapse
No it seems to run in some kind of way, no idea how. Same with my app situation here, I had withdrawn all consents, still had that issue.
Other example is the file manager app or the carussel wallpaper app - the apps tell you in case of withdrawn consent the app would not work. But they still do! You leave the app and directly restart it, then it runs!
To limit the Xiaomi homecalling I use apps to block the outgoing connections selectivly...really good so far. I recommend apps like "Blokada" and alike whitch open a virtual VPN on your device, in which you can massivly filter whatever you want. Not only saves battery, it speeds the device up and of course gets you a little bit of trust back in your decvice - but not in Xiaomi.
Hope I could help you. Bye.
Update 02-13-2022:
Nope. Files still disappearing. Trying Total Commander update with new write permissions, hope it helps....
Update 10-04-2022:
At last....Files are not disappearing. I updatet Total Commander and received Updates from Xiaomi. Additionaly I configured the "Security" app as mentioned in the post above.
Thanks so far.

How To Guide Fixing issues after disabling MIUI Optimization

Let's try to fix issues that may occur after turning off MIUI optimisation.
This guide assumes your unit:
Is bootloader unlocked (hence... ),
Has proper magisk installation,
Has MIUI optimizations turned off,
Has Developer Options turned on
update: MIUI is assumed 12.5 (not 13)
Let's start!
No Floating Windows
read this somewhere else that this function is lost after disabling MIUI optimization, and indeed the button in overview mode doesn't do anything.​​Solution:​​​
By accident found how to activate it:​Under Developer options turn on options related to freeform windows and force resizable any activity.​​​​2. File uploads via browser , image sharing between apps​​This issue is very annoying and I didn't notice it earlier due to the browser I use.​​File uploads won't work, and there is no error message or indication that something is wrong.​​In my use case for browsers , was trying to import my ublock configuration tI the Mull browser but nothing gets imported.​​For images was trying to share a downloaed qr code to a barcode app to decrypt it but the share option just ends without anything happening.​​Solution:​​unfortunately read it elsewhere that this will only work by turning MIUI optimisation back on.​​It appears that those certain actions under miui has been locked down and allowed if using the miui file picker (which activates with miui optimization on). If off, file picker reverts to standard android file browser, which gets blocked (silently! ) by the system.​​I didn't notice it because I was using fennec f-droid 68 not the latest which doesn't trigger this issue. Any recent version browser either chromium based or fenix based will have this issue.​​For images sharing. I instead used the actual app to directly open the qr code I needed scanned to bypass the sharing issue.​​Update @ 07-2022 post MIUI 13: with all things equal except by being on MIUI 13 I observed that limitation described above with regards to uploading files isn't there anymore. I've used Mull (Felix based), Ungoogled Chromium and Vivaldi and upload works.​Sharing images to other apps also work now (ex. Sending qr image in gallery to scan by secscanqr works).​​Will post more later.​​Do share your fixes too!​
Updated to MIUI 13,noticed file uploads and image sharing between apps works now, updated 1st post to reflect.
Few days ago I disabled MIUI optimization because microG asked for it. After that I couldn't unlock my phone. The unlock screen shows up for a second than it goes black. After i took out SD card and SIM card, i could unlock, when I put it back in, i can't. Enabeling optimization and deleting Vanced and microG didn't fix it.
It was freshly installed OS, so I didn't change a lot of settings beside unlocking developers mode and turning off optimization.
Now optimization is on. Any idea how to fix it if it happens again?
The Miui video Toolbox stopped working after disabling MiUi optimization.
Also I have been using a pixel theme to make the icons round. That also stopped working and the icons are cube now after I disabled MiUi optimization.

Categories

Resources