Question How can I disable grayed out permissions on some of the installed and system apps? - Moto G40 / G60

Recently I got this new phone and I very stupidly updated to android 12 to check it out, expecting that I can revert back to android 11 with a simple factory reset (why doesn't it revert to factory settings, but instead stays on the update wtf???). That's an annoyance and I could live with it if it weren't for the grayed out permissions on some apps which I can't turn off. I don't remember all the apps / system apps that have this, but the "Settings" app is one of them and also if you go to the file manager, there will be apps which are normally not found in the standard app viewer and one example that has grayed out permissions is an app that has "12" as an icon and might be the theme for android 12 or something related to it. How do I completely turn off location for both of these for example? Is that even possible? Would I have this same problem of grayed out permissions even if I had stayed on android 11? Please someone help me, thank you.

howtodo512 said:
Recently I got this new phone and I very stupidly updated to android 12 to check it out, expecting that I can revert back to android 11 with a simple factory reset (why doesn't it revert to factory settings, but instead stays on the update wtf???). That's an annoyance and I could live with it if it weren't for the grayed out permissions on some apps which I can't turn off. I don't remember all the apps / system apps that have this, but the "Settings" app is one of them and also if you go to the file manager, there will be apps which are normally not found in the standard app viewer and one example that has grayed out permissions is an app that has "12" as an icon and might be the theme for android 12 or something related to it. How do I completely turn off location for both of these for example? Is that even possible? Would I have this same problem of grayed out permissions even if I had stayed on android 11? Please someone help me, thank you.
Click to expand...
Click to collapse
Hello,
It was never possible to restore to an older version of Android by factory resetting the device. Factory reset only removes user data. Doesn't remove the OS, doesn't downgrade it.
I haven't tested this particular thing, but it's very likely that Android 11 might have had the same permissions. And yes, some of the permissions can't be changed, since they are used by the system.
However, at least for what Location is concerned, you should be able to simply disable Location access altogether. Not sure if those system apps can still access your Location even when turned off, but that's another story.
Hope the answer above help you at least a little bit.

Related

[Q] "The application is not registered" error when I launch kindle reader. Ugh.

[Q] "The application is not registered" error when I launch kindle reader. Ugh.
Very few search results for this error, so I'm out of ideas. It has come up once before but the thread is closed -->
http://forum.xda-developers.com/showthread.php?t=1356441
My reader worked fine for 8 months. Then it updated to version 3.7.0.108.
Now when I click any of the "tabs" such as home, archive, on device, etc... I get this:
"The application is not registered. Trying to register it now. Please try again in a few seconds..."
No book will open, I get an "Invalid Item" error and it suggests I redownload it.
I have a rooted 1st generation KF with GoLauncher on it and ...I dunno if it's a custom rom or what.
I get a blue kindle fire logo when I first power up. I just installed the recommended stuff with the Kindle Fire Utility.
Fixes I've tried:
1. Restarting the device
2. Force stopping the app, then clearing the cache.
3. Going to the play store and choosing "Uninstall". The problem is, this doesn't really uninstall the app, it says something like "this will uninstall all updates to the kindle reader". If I go to settings --> applications, the option to fully uninstall is grayed out.
After doing the google play 'uninstall', the device freezes if I try to launch the reader.
4. Manually reinstalling/updating via the google play store. Now it launches and the device doesn't freeze, but I still get the errors. Also my books are gone but that's no biggie.
I also called tech support. They had me unregister my device from settings --> My Account... and eventually re-register it.
They also had me clear cache. Then those things didn't work they elevated me to level 2 tech support.
I foolishly mentioned I had the go launcher installed, they refused to help any further and insisted the 3rd party launcher was the cause of the problem, and my only fix is to factory reset and stick to the stock software.
So, if you made it this far, thanks for listening... now what?
If you have Root Explorer (or equivelent) for access to system apk files, you could try deleting that app from the /system/app folder, restart the device, go back to the system apps, paste another copy (or version) of that app in there and set permissions to match the other apks in the folder, reboot and hope it might correct the issue. It sounds like a software glitch from the getgo even on un-rooted devices.
howdy, thanks for the idea.
I have root explorer and root access, but when I go to rename or delete anything in that folder, I get "the file cannot be renamed because the file system is read only".
Also, I'm only assuming it's the app called "Kindle for Otter" which is the only one with the traditional kindle reader icon of a dude under a tree reading.
Is there an alternative reader that's still very convenient? Like I don't have to download books via USB or anything, it just monitors the appropriate folders and my freshly-purchased books appear in the list?
CreeDo said:
howdy, thanks for the idea.
I have root explorer and root access, but when I go to rename or delete anything in that folder, I get "the file cannot be renamed because the file system is read only".
Also, I'm only assuming it's the app called "Kindle for Otter" which is the only one with the traditional kindle reader icon of a dude under a tree reading.
Is there an alternative reader that's still very convenient? Like I don't have to download books via USB or anything, it just monitors the appropriate folders and my freshly-purchased books appear in the list?
Click to expand...
Click to collapse
You must just be rooted and not have any custom ROM installed otherwise you could mount the system/app folder as r/w, meaning you probably don't have Superuser installed? Superuser is supposed to be installed when you root the device with the Kindle Utility but I couldn't get it to do it. Since you are rooted then you could try the MoDoCo ROM as it is based on Amazon's own 6.3.1 software and includes the Kindle Reader, Amazon app store and everything that is included with the stock software. In addition it includes the Google services framework and Playstore so you can have the best of both worlds, Google and Amazon. It runs much better than stock and I just flashed it onto my wife's Kindle and she is pretty satisfied with it.
There are plenty of decent reader apps and my suggestion would be try many different ones until you find a suitable one.
Josepho1997 said:
Actually, you just have to click the button on the top of root explorer. It should says "Mount R/W" Click it. Now you should be able to delete it and replace it.
Sent from my Kindle Fire using xda premium
Click to expand...
Click to collapse
Yes that is true but if Superuser (or equivelent) isnt present it doesnt work to well
Well, the mountR/W thing worked, and since then I've gone through a bunch of stuff.
And I'm back to square one. But read anyway if you're bored.
I'm a the point where I could reluctantly nuke everything and start over, I guess that would involve reflashing the rom
and reinstalling all apps?
Here's what I've tried:
• Replaced kindleforotter.apk, set permissions, and rebooted, when the kindle came back up it went straight to the stock launcher... weird.
Maybe cuz GoLauncher coincidentally updated.
• At this point I should click that APK, right? But, curious, I went to my books tab.
All my books are there but missing covers. Some have a down arrow/download icon, others don't.
• 4 books without the icon successfully redownloaded after an error, and were readable.
Sadly these are all older books and the other 20 or 30 books would not do anything when tapped.
• Next I tried reinstalling the app by clicking the kindleforotter.apk I downloaded. It reinstalled, I rebooted,
clicking the shortcut still doesn't work but I went back to the books tab in my kindle launcher.
Now, none of the items launch. The "Invalid Title" items give that error again, but this time they do not redownload.
• I tried removing everything from sdcard/Books and sdcard/Kindle and rebooting. Now only those 4 'lucky' books show up.
But they no longer open when tapped. Looks like it's trying to launch the reader but it crashes.
• Tried manually resending the latest book to my kindle via Amazon's website. It didn't show up.
• So I clicked Sync under my settings icon, and that really hosed it. The kindle launcher would infinitely crash and reopen.
• Since that's worse than the original issue I just updated the reader via the play store, getting myself back to square one.
Thanks if anyone has any other ideas... or some less painful way to reinstall this app completely without wiping out everything.
Sounds like a big mess.....you might just have to start over from scratch. At least that "should" clear up the misc. errors you're receiving. You'd have to re-root if but that process is simple. Reinstalling apps might take a little time but would be worth it if it corrects the issue. The Kindle's stock software (or any software) is not immune to undesirable performance.
One basic correction attempt with software and operating systems is to wipe it clean and re-install. I've had many PCs that had to be wiped and the OS re-installed to fix messed up stuff. Usually we try to re-install apps first to see if it corrects it......sounds like you've already done that.
You could always just find an alternative reader
Howdy... I went ahead and tried support one more time (sometimes you get lucky) but they had no ideas other than a factory reset. I'm gonna look into modaco.
edit: on the off chance you come back to this thread,
I factory reset, installed modaco via TWRP, have one problem.
Books work fine. But I can't access my apps.
When I click the "Apps" tab at the top, the screen flashes briefly and then I'm right back to the usual home screen
(aka the default kindle launcher screen).
I seem to remember a notification (with an amazon icon) about pending app downloads, in the bar at the top.
I skipped over it to check on my books. Now it's gone, and I can't get it back or view a list of apps on the system.
What gives?
CreeDo said:
Howdy... I went ahead and tried support one more time (sometimes you get lucky) but they had no ideas other than a factory reset. I'm gonna look into modaco.
edit: on the off chance you come back to this thread,
I factory reset, installed modaco via TWRP, have one problem.
Books work fine. But I can't access my apps.
When I click the "Apps" tab at the top, the screen flashes briefly and then I'm right back to the usual home screen
(aka the default kindle launcher screen).
I seem to remember a notification (with an amazon icon) about pending app downloads, in the bar at the top.
I skipped over it to check on my books. Now it's gone, and I can't get it back or view a list of apps on the system.
What gives?
Click to expand...
Click to collapse
That's odd......I never experienced that with MoDaCo. Did you wipe everything before you flashed MoDaCo (cache, dalvik, factory reset and system)? There were slight bugs with MoDaCo I noticed but nothing like that. Try reflashing but dont wipe sd card
guitarman2010 said:
That's odd......I never experienced that with MoDaCo. Did you wipe everything before you flashed MoDaCo (cache, dalvik, factory reset and system)? There were slight bugs with MoDaCo I noticed but nothing like that. Try reflashing but dont wipe sd card
Click to expand...
Click to collapse
I'll see if I can do that. One worry I had... I see modaco is offered in more than one place, and seems to have some options with the installation...
can you point me to a specific zip file that you know for sure is a good working one? Otherwise, I'll assume my zip is good but my wipe wasn't. I just factory reset and never messed with dalvik and the rest, I'm guessing that's all important...
CreeDo said:
Very few search results for this error, so I'm out of ideas. It has come up once before but the thread is closed -->
http://forum.xda-developers.com/showthread.php?t=1356441
My reader worked fine for 8 months. Then it updated to version 3.7.0.108.
?
Click to expand...
Click to collapse
I had the same problem. Solved it by going back to an earlier version of the app.3.6.0.87.
Hey, just wanted to thank you, I reinstalled modaco, but first did the cache wipe and dalvid wipe from the TWRP menus. Apps tab works fine now. Books too.
So far only one minor hiccup... the apps I had formerly installed via GoLauncher. I logged into google play, redownloaded one of them (DrawSomething) and specified that it send the app to my Kindle Fire from the dropdown. It gave me something like "this app will be installed shortly". But I never got anything... no download, no notification. Did it a second time and same deal. Eventually I downloaded it from the Amazon app store, but I'm worried apps from Google Play won't work easily anymore.
Do you know what I should do if I need an app from Google Play?
Had same problem
In case it helps anyone else. I had the same problem. Turns out that the google play store (which remember doesn't come standard with a Fire) had updated the Amazon Kindle application. I went into the play store and uninstalled (un-updated) the Amazon Kindle app and then everything worked.
Good Luck!
Old version solved it!
mochamoo said:
I had the same problem. Solved it by going back to an earlier version of the app.3.6.0.87.
Click to expand...
Click to collapse
I have a rooted 1st gen KF running a cyanogen ICS ROM where the Kindle app had been working fine for a while, but suddenly wasn't registered and I couldn't even get the register dialog to display. Found the 3.6.0.87 apk online, installed it and it works fine now.
FYI 3.6.0.87 works on non rooted
pofigster said:
I have a rooted 1st gen KF running a cyanogen ICS ROM where the Kindle app had been working fine for a while, but suddenly wasn't registered and I couldn't even get the register dialog to display. Found the 3.6.0.87 apk online, installed it and it works fine now.
Click to expand...
Click to collapse
This fixes the same problem for non-rooted Kindle Fires where you are running an sideloaded launcher and the Kindle book app and need to reregister.

[Q] There must be an answer to show apps [Solved]

Edit: Please note this post does have a resolution at the end.
Did you ever have a tech quandry you just had to solve?
Last year I hid some apps in/from the app drawer of a stock, S-On, not unlocked or rooted, T-mobile HTC Wildfire S with the stock Sense 2.1 UI. I want to unhide them and can't find the info on how I hid them anywhere. They do show up in a different launcher, like LauncherPro. They're not disabled, I already checked that in adb in the Android SDK.
I can run them, either from Titanium Backup or Launcher Pro, and then from my recent apps drawer in Sense 2.1 after I've run them in one of the mentioned ways; but, I really want to get those icons back and do a CWM backup of my stock ROM before I start trying custom ROMs on this phone. I like Sense and want to be able to go back if I choose.
I'm rooted now thanks to the many articles and guides here. Unlocked at HTC Dev, and ran root.zip. Installed SuperUser, ROM_Manager, TitaniumBackup
I have spent a LOT of time recently and all day every day since Monday researching here and at Android Forums, the 2 defacto places for phone knowledge. I've also used Google, searched on Life Hacker, looked in all my browsers favs for articles, searched my computers for notes (I usually make a file in Notepad for things I do that I might not remember), checked magazines I read, and so on.
I don't know if I did something in adb, changed a manifest (too many to do that), or installed a launcher that left those apps hidden when it was deleted. I hid about a half dozen apps/icons.
There has to be an answer.
Sure would appreciate some help. I'm exhausted trying to find the tip/trick I followed to do this so I can undo it. If it will help. When I try to enable the Stocks package in adb I get a return of:
C:\>adb shell pm enable com.htc.android.Stock
[1] Killed pm enable com.ht...
Does that mean I killed the app, "Way back when"; or, maybe just the process is killed without invoking root (remember the phone wasn't rooted when I first did this)? If I do it this way invoking root, I get a diff result, but neither way shows the app (unlike freezing/unfreezing in the many apps like TB, etc.):
C:\>adb shell
$ su
su
# pm enable com.htc.android.Stock
pm enable com.htc.android.Stock
Package com.htc.android.Stock new state: enabled
BTW if I disable it disappears from LauncherPro and then enable and it reappears in Launcher Pro; but, nothing gets it to reappear in Sense except in the recent apps drawer after I open it in Launcher Pro or TB as mentioned in the above post.
The control has to be in a file somewhere. Do phones have an, "xxx.ini" file for apps like computers sometimes do?
Re: [Q] There must be an answer to show apps
MiCeltic said:
Sure would appreciate some help. I'm exhausted trying to find the tip/trick I followed to do this so I can undo it. If it will help. When I try to enable the Stocks package in adb I get a return of:
C:\>adb shell pm enable com.htc.android.Stock
[1] Killed pm enable com.ht...
Does that mean I killed the app, "Way back when"; or, maybe just the process is killed without invoking root (remember the phone wasn't rooted when I first did this)? If I do it this way invoking root, I get a diff result, but neither way shows the app (unlike freezing/unfreezing in the many apps like TB, etc.):
C:\>adb shell
$ su
su
# pm enable com.htc.android.Stock
pm enable com.htc.android.Stock
Package com.htc.android.Stock new state: enabled
BTW if I disable it disappears from LauncherPro and then enable and it reappears in Launcher Pro; but, nothing gets it to reappear in Sense except in the recent apps drawer after I open it in Launcher Pro or TB as mentioned in the above post.
The control has to be in a file somewhere. Do phones have an, "xxx.ini" file for apps like computers sometimes do?
Click to expand...
Click to collapse
What apps are you trying to show again? Since you have root you can try to use a root uninstaller app to make a back up of the app first, then reboot the phone. Then use the app to reinstall and then reboot to recovery and use fix permissions.
Feel free to make a nandroid back up first just incase you lose any data
Sent from my HTC Sensation XE with Beats Audio Z715e using xda premium
Thanks for the response heavy_metal_man. It's hard to tell everything. I missed what and the kind of apps, thanks. I am talking about system apps like, "Stocks" and, "Voice Recorder", and there's others. I did Fix permissions in ROM Manager before and it didn't fix anything. I have tried a lot of stuff and am getting flustered and tired, but not giving up! For the sake of knowledge, I really want to find out the what and how...not just use a workaround. I tried your suggestions with, "Voice Recorder"...backed up in Titanium Backup...uninstalled with Root Uninstaller...checked everything to be sure it was gone and then restarted...attempted a restore of, "App only" with TB and it just churned long enough to know it was hung (I did get a notice there was an update, but don't think that would interfere); so, I powered off and restarted. No changes; so, tried another restore of, "App + Data"...same thing it just churned...another restart and everthing was back to the way it was. VoiceRec in Settings>>Apps>>ManageApps, but not in the Sense app drawer. I then couldn't get ROM Manager to do anything when I selected Fix Permissions...couldn't get into TB, did the update, still couldn't get ROM Mgr or TB to do anything, and so did a battery pull restart...I did go into CWM, but just rebooted. Then everything was normal, meaning as before, and fixed Permissions in ROM Manger. I don't think it matters whether I fix in CWM, ROM Mgr, or ADB...they're all reading the same .xml files to set permissions. Anyway, No VoiceRec in the Apps Drawer.
So I'm back to square one. Any more ideas I'll be glad to try them. I don't think I used APKToolkit to do anything or that it would be in the apk's. Tomorrow I think I'll try to find something in the package xml's...just need to find the right package that would address them all. I've looked at a few, but just for change dates on all the files in the packages...all were 2009, and I'd have done this in 2012.
Thanks again...tomorrow is another day.
Re: [Q] There must be an answer to show apps
Hmm. For the sake of argument make a full backup and then factory reset from recovery, then reboot and go through the first setup nonsense. Are the apps back?
Also the sense launcher is called Rosie should that ring any bells.
If a factory reset doesn't fix this then you may have to flash a stock rom to sort it like
Sent from my HTC Sensation XE with Beats Audio Z715e using xda premium
h_m_m,
I did a factory data reset myself before, which I believe is really just an erase of data, and not a real reset (like formatting and reinstalling an OS in a computer). Then of course there was the factory reset that occurred after unlocking and rooting. Neither of those changed anything. I have flashed a CWM recovery after rooting.
Are you saying, boot into recovery:
1. Factory Reset as
a. DO NOT wipe the factory data reset
b. Wipe cache and dalvik cache
c. Throw in a wipe of the batt stats too
then
d. Do the factory data reset and let all the caches rebuild as they will
or
2. Factory Reset as
a. Wipe factory data reset
b. Wipe cache and dalvik cache
c. Wipe batt stats
then
d. Backup and Restore>>Advance Restore>>Original ROM>>Restore system (not the data, cache or any of the other stuff there)
If number 2., then I wonder if that would put me back to OOB (Out Of Box), and if so, would I lose root, have T-mobile...yeah, I like T-mobile for some things - - blame it on Catherine Zeta-Jones time as spokesperson. As long as I have CWM recovery and have backed up from there I can't do anything that would ever leave the phone bricked; and, I can always unlock and root again if needed.
Either 1. or 2. I want to hold those in reserve because I do want to find out how I hide them. They act exactly as though they're disabled, i.e., The icon is gone, but I still get updates (Voice Recorder was updated just a week ago); however, they're only disabled in SenseUI. LauncherPro shows them all, and of course functionally...and remember once I run one of these apps, like Stocks, in LauncherPro, I can then switch to Sense and run it from my recent apps (long press on Home) or the pull down notifications area list of recents.
BTW, You were too gentlemanly to ask, but I clicked a couple, "Thanks" for you today. I was tired and forgot yesterday. We may not solve anything, but I'm enjoying/appreciate the conversaton/thread.
Even though I'm holding on those ideas above, let me know which/what you think of them please, in case I ultimately go that way. I did clear the data in Apps>>Manage for both of the HTC Senses and Rosie. I'll have to look at what's in Rosie though, maybe that holds the key!
As an aside, the first personal web page I made had, "Iron Man" as the background music!
Re: [Q] There must be an answer to show apps
MiCeltic said:
h_m_m,
I did a factory data reset myself before, which I believe is really just an erase of data, and not a real reset (like formatting and reinstalling an OS in a computer). Then of course there was the factory reset that occurred after unlocking and rooting. Neither of those changed anything. I have flashed a CWM recovery after rooting.
Are you saying, boot into recovery:
1. Factory Reset as
a. DO NOT wipe the factory data reset
b. Wipe cache and dalvik cache
c. Throw in a wipe of the batt stats too
then
d. Do the factory data reset and let all the caches rebuild as they will
or
2. Factory Reset as
a. Wipe factory data reset
b. Wipe cache and dalvik cache
c. Wipe batt stats
then
d. Backup and Restore>>Advance Restore>>Original ROM>>Restore system (not the data, cache or any of the other stuff there)
If number 2., then I wonder if that would put me back to OOB (Out Of Box), and if so, would I lose root, have T-mobile...yeah, I like T-mobile for some things - - blame it on Catherine Zeta-Jones time as spokesperson. As long as I have CWM recovery and have backed up from there I can't do anything that would ever leave the phone bricked; and, I can always unlock and root again if needed.
Either 1. or 2. I want to hold those in reserve because I do want to find out how I hide them. They act exactly as though they're disabled, i.e., The icon is gone, but I still get updates (Voice Recorder was updated just a week ago); however, they're only disabled in SenseUI. LauncherPro shows them all, and of course functionally...and remember once I run one of these apps, like Stocks, in LauncherPro, I can then switch to Sense and run it from my recent apps (long press on Home) or the pull down notifications area list of recents.
BTW, You were too gentlemanly to ask, but I clicked a couple, "Thanks" for you today. I was tired and forgot yesterday. We may not solve anything, but I'm enjoying/appreciate the conversaton/thread.
Even though I'm holding on those ideas above, let me know which/what you think of them please, in case I ultimately go that way. I did clear the data in Apps>>Manage for both of the HTC Senses and Rosie. I'll have to look at what's in Rosie though, maybe that holds the key!
As an aside, the first personal web page I made had, "Iron Man" as the background music!
Click to expand...
Click to collapse
Firstly thanks for the thanks , I love helping people out! Its how I get my kicks
Secondly as long as you have made a nandroid back up in your recovery you are pretty much covered for everything. If I was you I would go for option 2 and wipe the lot. Then let the phone fully boot up and go through the set up. If a full wipe fixes the issue then we at least have a solid starting point to find out what's happened after that little test then restore your back up regardless.
Notes: the factory reset will not remove root or any extra system apps you have installed.
As long as you have the back up done you can always go back to it, allowing you don't destroy the bootloader. But that is highly unlikely as you are still s-on
Also an option to help this might be to use the app titanium back up to back up all your apps data separately, then back up your contacts, SMS ect, and then do a fresh install of a stock rom. Once that is done you could restore your back ups manually and go from there
I must say though this is a very odd case indeed, I'm pretty stumped as to how you have managed this without root
Tapped out from my sexy nexus 7
Re: [Q] There must be an answer to show apps
I have been looking into this more and it turns out sense hides some system app icons by default. Such as the camcorder, as we already have the camera app. Can you post a list of the apps to cross reference them?
Sent from my HTC Sensation XE with Beats Audio Z715e using xda premium
Sorry h_m_m, I didn't get an email notice of your reply on the 24th. Stocks and Voice Recorder are 2 definite ones. They don't show in Sense, but do in LP, and are discussed in the T-mobile HTC Wildfire S manual. I did notice in LP that there are some that I'm not sure I ever saw.
Re: your 2nd last post, I am 99% sure I did something with SDK, either in recovery or in the emulator...possibly debugging, that could be done without root!? I installed the SDK just short of one month after getting the phone. I really believe this was an article/tutorial by a programmer/developer that just walked me through. I felt OK using my computer skills in things like Visual Basic, SQL, and so on, but I was nervous because it was my 1st smartphone.
Anyway, in the last few days I've decompiled Rosie.apk to see if there was anything I could recognize or reason in the Manifest or Resources, but no clue there. I decompiled the Stock.apk from my WFS and one from a Hero to compare, again specific to the rosie/htc launcher, but nothing. I decompiled the htcSoundRecorder, no joy, Calculator (shows, but for comparison) - no joy. I have not done anything with the .odex files...maybe the tutorial I followed set something in those smali/java files, BUT, I don't see evidence on the computer I use for all this, of Eclipse or the JDK...only Java FX 2.1, but it's install coincides with the install of Google's Chrome browser, which uses it.
I believe this info is so obscure (except to ROM developers, I'm sure) because a lot of phones after Gingerbread got the menu option in the app drawer to hide icon shortcuts. So I'm going to keep this post in my favs and hope I get any email notifications if someone posts; and, search for articles now and then, but get back to living and leave this obsession behind...but not forgotten.
Hopefully I'll find something, come back and post it and even get a thanks for an interesting article and providing some obscure information!.
Oh, and I'll try option 2. from a couple posts ago before I take off flashing a bunch of ROMs, or after I delete stuff from this one and make a 2nd backup...like we rooted for! Clicked a couple more thanks too.
Re: [Q] There must be an answer to show apps
MiCeltic said:
..........
I believe this info is so obscure (except to ROM developers, I'm sure) because a lot of phones after Gingerbread got the menu option in the app drawer to hide icon shortcuts. So I'm going to keep this post in my favs and hope I get any email notifications if someone posts; and, search for articles now and then, but get back to living and leave this obsession behind...but not forgotten.
Click to expand...
Click to collapse
That's probably the best plan at this point sorry I couldn't help out more, but you have totally baffled me with this one just goes to show that the sdk can do far more than it lets on still, I hope one day you find that illusive tutorial and post it here
PS, gave you some thanks
Sent from my HTC Sensation XE with Beats Audio Z715e using xda premium
Hey h_m_m,
Thanks for the thanks!
I had time Sunday and I found some info and fixed them to show! I used search terms based on your statement that HTC hides some apps by default and found an article that referenced the, "/system/customize/mns/default.xml" file that contained a function, "applications_hide". So without getting into what I might do or might have done previously in the SDK, and since I was rooted, I just copied the file to my sdcard, attached to a computer and opened it in Notepad (needed to use the computer because it's well over 2000 lines in the file with no speed scrolling in es file explorer), changed (as one example):
<set name="plenty" max="7">
<item name="package">com.htc.android.Stock</item>
<item name="class">com.htc.android.Stock.StockWidget</item>
</set>
to
<!--<set name="plenty" max="7">
<item name="package">com.htc.android.Stock</item>
<item name="class">com.htc.android.Stock.StockWidget</item>
</set>-->
saved the file, mounted the file system using ES File Explorer and copied the file, then pasted it back in the, "/system/customize/mns/" folder. I commented the lines out so they wouldn't run and would still be there for history (instead of deleting the lines), and commented the code with a statement, <!--uncomment to hide the app's shortcut icon in the app drawer--> so that if I ever looked back I'd have info on it. I also did the same with the Sound Recorder, Voice Dialer, and WiFi (all at the same time as Stocks).
I did a factory reset and the shortcuts showed! This file, after all, sets the defaults. Well it didn't end there. I lost root. The su binary was still in it's folder(s) but Titanium Backup, ES File Explorer, and Super User wouldn't run...or rather wouldn't stop searching for root. It was like the su binary wasn't registered in the system; long story short, I re-flashed root.zip and all was right once more. The interesting thing is I had opened and abandoned this, "default.xml" file a couple times because it was so long and tedious to scroll through on the phone!
You can see a sample, "default.xml" for Gingerbread on code.google at http://code.google.com/p/warm-ginge...e/trunk/system/customize/MNS/default.xml?r=34 just stop the script if you get a pop-up. It's about 1/4 of the way down, or just do a find for, "applications_hide". There's only 2 things hid in that example file. ***Note that default is misspelled as defeault, but it seems to parse...it's in my phone's file that way too. I'd be cautious about opening that site on a phone browser, it seems to want to run on my computer when I open it.
What's the advantage of this? It could show apps or enable features that someone might like. This file sets all the defaults present OOB or after a factory reset, i.e., bookmarks, what I call sample app shortcuts and widgets on the screens, wallpaper, the 4 stocks in the stocks app, etc., etc., so those could be modified if desired as well. Proceed at own risk!
Clicking more thanks h_m_m! I don't know how long this would have taken without your feedback and input.
Re: [Q] There must be an answer to show apps
That is great news man I'm glad you got sorted and posted your findings here that's really interesting, and good to know
Tapped out from my sexy nexus 7

[SOLVED] My status bar has disappeared

I'm running Xylon 2.1.1, which is based on 4.2.2
I recently thought it would be great to copy the systemui.apk file, change some of the icons and replace it. It didn't work and somehow it made my status bar disappear. I put the original file back, but that didn't fix it. I then wiped the cache, did a dirty flash of the same ROM and wiped the cache again, and I still have the same problem.
Also I'm using a system theme (Flow) and it's not really applied properly, some interfaces aren't themed, if that helps.
Anything I can do short of doing a factory reset? I know I haven't enabled expanded desktop or anything.
I've reinstalled different versions of the same ROM multiple times and it still hasn't fixed the problem, I'm starting to think there's a bigger problem here. Could I have downloaded a virus? I'm always careful about installing apks but still...
Also is it possible that when I messed with systemui.apk I broke something else?
A re-flash of the ROM should have fixed it so I dont know what to tell you there. As far as replacing system files, make sure you set the permissions to what they are supposed to be or else they mean nothing to the OS. And if your systemui.apk file isnt working right, I would think more than just your statusbar would be messed up.
I'm not entirely sure what you mean by setting the permissions, I did "fix permissions" a few times in TWRP. And it does seem like my systemui is completely borked actually:
-No status bar
-No navigation bar (I usually have it disabled because I use gestures, I tried to enable it and nothing happened)
-Aforementioned theme problem
-Can't change the wallpaper from the default phase beam one
I'm getting worried that it's some kind of virus that's sneaked its way in to my other apps. I've tried going through /system/app and /data/app but I haven't seen anything that I don't remember installing. I might try an antivirus but the ones on Android seem to be more focused towards real-time protection and that kind of thing, rather than getting rid of things that are already there.
Anyway thanks for your reply
I fixed it! I'll post what I did in case someone has this problem in the future:
Settings - apps - all - SystemUI
For me there was an option to "uninstall updates" which I'd never seen before, so I hit it and after a reboot everything is fine. I was getting pretty worried there...
You arent going to just get a virus out of nowhere. Contrary to what people believe, viruses are pretty rare on Android. So dont worry so much about Viruses.
You not knowing about changing permissions is most likely what happened. Most file browsers will let you change permissions to a file if you have root access. I use Root Explorer and its pretty easy. Whatever file you make changes to need to have the same permissions the other apk files in that folder in the end.
But I'm glad you got it working.

[HELP] Locate and delete apk responsible for persistent OTA Update icon on taskbar

Hello everybody,
Prior OOS 4.x.x I was able to locate the OnePlusOTA.apk in the system files and stop the annoying persistent icon from occupying space, as well as the activity to it that drains battery. But now after the N update there is no such apk or at least I haven't been able to find it, so if anyone has an idea what to do to get rid of that service, please help.
P.S. I have a note from before that says I shouldn't try to disable SystemUpdate service via MyAndroidTools so this is probably a no-go.
Thanks in advance!
Go to Settings > Apps
make sure show system apps is checked
look for System Updates and disable app
kenboyles72 said:
Go to Settings > Apps
make sure show system apps is checked
look for System Updates and disable app
Click to expand...
Click to collapse
I checked there before, now checked again and there's no option to disable it, it's grayed out. Force stop would not persist upon reboot.
http://imgur.com/A46YPeG
EDIT: This made me think about it, so I went into Titanium Backup and froze it. Icon dissapeared immediately, I hope the process was frozen with it too, since it took like 3% battery in just 24 hrs. -.-
All in all I think this has been solved. Thanks!

Question Whatsapp run in a crash loop

HI
suddenly this afternoon, I don't know why, WhaptApp started to crashe every time I launch it. I tried to delete data, uninstall and install it again, but whatsapp still crash at start up. It is impossible to use it. I got this error message :
android.database.sqlite.SQLiteCantOpenDatabaseException: Cannot open database '/data/user/0/com.whatsapp/databases/sync.db': Directory /data/user/0/com.whatsapp/databases doesn't exist
Of course, even with adb, under Android 12, it is impossible to create the directory under /data because of permission denied.
Do you have any idea ?
Thank you for your help.
Get that trashware off the device! Use browser login only if you must use it.
It is a high security risk.
I had already thought of this solution, but I need the app to log in....
raph_quiroule said:
I had already thought of this solution, but I need the app to log in....
Click to expand...
Click to collapse
I would ditch it then. It's a multiple vector security risk. I don't use it.
If you insist on using it... what events lead up to the crash? Was it or anything updated? Any apps installed or uninstalled? Any downloads done?
Delete all it's data then ininstall it and see what you got. Clear the system cache. Download the latest version from a trusted source only. Scan with online Virustotal (scan what's loaded now too). Install. If it still pukes on you there's no guarantee a factory reset will solve this.
Malware is also a possibility. At some point a factory reset is in order especially if there's other odd behaviors or system issues. If it's a virus or rootkit a factory reset would purge it on Android 9 or higher.
If you think there's a possibility of malware, factory reset. Change account passwords then. Limit the damage by acting promptly. I give myself 2 hours to erraticate malware, then it gets nuked if not completely resolved. You wouldn't be the first to get tagged with malware through WhatsApp. Especially dangerous is doing -any- downloads from there including jpegs and pngs.
Thank you very much for your help. Despite I use alternatives like Signal, I still need WhatsApp to stay in touch whith some groups. I already tried to delete data and cache of WhatApp without success. I removed the app and installed it again but problem remains.
The log said :
Directory /data/user/0/com.whatsapp/databases doesn't exist
so I would like to create it manually, but it seems that it is impossible because of security of Android 12. I can't access to /data.
raph_quiroule said:
Thank you very much for your help. Despite I use alternatives like Signal, I still need WhatsApp to stay in touch whith some groups. I already tried to delete data and cache of WhatApp without success. I removed the app and installed it again but problem remains.
The log said :
Directory /data/user/0/com.whatsapp/databases doesn't exist
so I would like to create it manually, but it seems that it is impossible because of security of Android 12. I can't access to /data.
Click to expand...
Click to collapse
I don't know. That's a curious problem. 12 is a terror as far as I'm concerned. That's one reason I still run N10+'s on 9 and 10. Maybe use adb or ladb to edit it?
Double check all the permissions. Are any packages disabled on the phone? A small system app that's been disabled can cause all kinds of mischief.
Something, be it WhatsApp, an update, malware, a single event upset, etc screwed up the user partition data it sounds like. There's no guarantee a factory reset will fix it and even if it does it could reoccur if you don't find the root cause.
Play with it and keep doing Google searches, eventually you'll track it down. Might take a while.
Once again, thank you for your help. In fact, I've just found a workaround by installing the app in the "Work profile" of the phone. So I guess that factory reset will solve the problem. I also succeed in using an app that use web whatapp interface from F-Droid.
Independently with this story, the fingerprint sensor of the phone stopped working few weeks ago. So i'am preparing a Samsung Galays S9 under /e/OS. I'm going to switch on it to perform a factory reset of the xiaomi and send it for reparation because it is still under guarantee.
If the S9 and /e/OS do the job, I will sell the Xiaomi.

Categories

Resources