Related
Hello everyone,
I'd like to ask for confirmation for this crash:
On SGS+ (GT-I9001) with CM9 alpha 4 by Arco68 flashed I'm consistently getting Settings app crashed by the following actions:
Go to "Settings", "Language & input", select "Default", in the dialog box select "Configure input methods" - immediate result is error message "Unfortunately, Settings has stopped".
Logcat excerpt attached.
Regarding the installation - everything was done according to the instructions (CWM installed, wiped everything, then separately wiped cache partition, flashed CM9 and gapps).
Is this repeatable for everyone or just on my device?
May it be related to this line in logcat?:
W/InputManagerService( 237): Couldn't create dir.: /data/system/inputmethod
Thanks in advance.
It happened the same to me but I tried again and now it worked, I'm using Swiftkey X. But now I have two problems:
1. Long press on input field doesn't show any menu (so I can't select the input method). Don't know if it's a bug or it's ICS style (if so, I don't like that).
2. While I'm writing, nothing happens when I tap on the blue cursor so I can't select the text, copy or paste.
Are those bugs too? Are them related?
binlalo said:
Are those bugs too? Are them related?
Click to expand...
Click to collapse
No, as far as I know.
Regarding your point 1: I never seen this behaviour on stock ROM I've had (2.3.3) and don't see it on CM9. Was it system action that you're referring to? May it be so that this was addition by some specific keyboard app?
2: This blue arrow is for marking entry point for you to e.g. insert text between already entered words or use backspace in some specific position, text selection cursors with the option to cut/copy appear when you long tap on the already entered text.
andres_a said:
May it be related to this line in logcat?:
W/InputManagerService( 237): Couldn't create dir.: /data/system/inputmethod
Click to expand...
Click to collapse
No it's not related to that.
From looking at the logcat, you don't have a completely clean install. I see traces of Avast in there. Do a complete install with just CM9, no other apps, and see if it happens. If it doesn't happen, then install stuff one by one and check again.
i have a completely clean install and I have this bug, how can we fix it?
arco68 said:
No it's not related to that.
From looking at the logcat, you don't have a completely clean install. I see traces of Avast in there. Do a complete install with just CM9, no other apps, and see if it happens. If it doesn't happen, then install stuff one by one and check again.
Click to expand...
Click to collapse
Hi Arco, thank you for looking into this issue, as minor as it is.
Now I've did factory reset in CWM, installed build 4, installed gapps, did not link to google account (otherwise it'd have started app downloads immediately) and done these steps once more:
* Settings
* Language & input
* Default
* Configure input methods
There was error message "Unfortunately, Settings has stopped" - I was unable to make screenshot of this message with neither power button menu nor with Power+VolDown.
Other steps are on screenshots - red dot marks item to select.
Logcat also attached.
Update (28. Sep. 2014):
Did some more research on that matter for I found this really annoying. Deactivated Apps shall remain deactivated, even more so for as long as we don't have root yet.
Figured finally out (reproducible) that it's Disabling Device Administrators to trigger (some) Apps to get activated again.
Steps to reproduce:
Goto Settings -> Apps -> All
Deactivate e.g. Chrome, Google+, Hangouts, File Commander, Gmail, Maps, Play Store, Sony Select or Video Unlimited (so it's not only the GAPPS coming back).
Check the App Drawer, all the above should no longer be visible.
Goto Settings -> Security -> Device Administrators: Disable a Device Admin (BTW: Enabling does not re-activate Apps, only deactivation!)
Check the App Drawer again and find all of the above deactivated Apps have re-appeared.
This works in 23.0.A.2.98 (customized DE) as well as 23.0.A.2.105 (customized UK).
Sony: please fix this asap.
Devs: please, please give us root. The phone is worth it
Original assumption (OUTDATED):
Noticed a strange behaviour in builds 23.0.A.2.98 (customized DE) and builds 23.0.A.2.105 (customized UK) w.r.t. deactivated Apps getting automatically re-activated after changing language settings.
Started off with 23.0.A.2.98 (customized DE) on my phone and deactivated e.g. Chrome, Google Play Store, Google Play Services and some other Apps. Now, as I wanted to make some screenshots in English, I changed language settings from German to English. That moment Chrome, Google Play Services and otheres (but not all of them) got automatically re-activated and also (re-)appeared in the App drawer. Changing the phone back to German did not help as still some Apps keep getting re-activated after say a re-start of the phone.
Then, installed 23.0.A.2.105 (customized UK), immediately set it to German during first boot, deactivated same apps as before and guess what... same here.
It looks as if whenever you set your phone to use a language different to the one for which the build was localized for this problems shows.
Can anyone please try and confirm?
This explains this reactivating of Apps. I was trying to deactivate Admin for the Sony Enterprise something. It re-activates automatically and reactivates some of the disabled apps. Not all though...
Very anoying. Especially that Sony gives themselves admin rights again after I deactivated it.... hmmm.
msm1111 said:
Very anoying. Especially that Sony gives themselves admin rights again after I deactivated it.... hmmm.
Click to expand...
Click to collapse
Happy to see (well, kind of, for it shouldn't be present in the first place) that finally someone has been able to reproduce the bug.
In order to get rid of admins "Sony Enterprise API" and "Sony My Xperia" do the following:
Download ADB and store it somewhere on you PC.
Enable USB debugging on the phone and connect it to your PC.
Open a command window and navigate to where you stored ADB.
Type "adb shell" at the prompt, hit ENTER and and the prompt changes to "[email protected]:/ $"
To block "Sony Enterprise API", issue command: "pm block com.sonymobile.enterprise.service"
To block "Sony My Xperia", issue command: "pm block com.sonymobile.mx.android"
While we are at that (though not an Admin, yet annoying), to block "What's New", issue command: "block com.sonymobile.advancedwidget.entrance".
The result of the block commands should look like "Package %PACKAGE_NAME% new blocked state: true. If still "false", you have to deactivate the corresponding admin in the settings first and re-issue the command again.
Only thing I have not been able to figure out yet is how to remove/block admin "Configuration Agent" but that one does not turn on itself (like the "Sony Enterprise API" does).
sxtester said:
Only thing I have not been able to figure out yet is how to remove/block admin "Configuration Agent" but that one does not turn on itself (like the "Sony Enterprise API" does).
Click to expand...
Click to collapse
Ah, thank you!
Configuration agent is: pm block com.sonymobile.deviceconfigtool
Wonderful, that removed my last (unwanted) one.
Thanks. I'll try it on Sunday! Is this enterprise stuff actually good for something? Or just tracking.
msm1111 said:
Thanks. I'll try it on Sunday! Is this enterprise stuff actually good for something? Or just tracking.
Click to expand...
Click to collapse
This is mainly for policy enforcement on mobiles given to employees by their company.
Check this for more info: http://developer.sonymobile.com/201...-work-with-our-sdk-and-become-a-sony-partner/
Just a quick note to say thanks to the guys who wrote this one up. I managed to follow the instructions and get rid of the whats new icon ive lost a bit of my touch though as this is not for those who don't know what sdk is.
pm block com.sonymobile.enterprise.service with this one I was getting: "False" without knowing how to change it to "true"
sxtester,
Thanks! It worked! I got rid of this stuff. I needed some attemps and reboots in between.
For "com.sonymobile.enterprise.service" you need to first disable admin and block "com.sonymobile.mx.android", reboot, then disable admin for the enterpriseAPI, block, reboot. Now its gone
I also successfully blocked "com.sonymobile.advancedwidget.entrance", "com.sony.smallapp.launcher" and "com.sony.smallapp.app.widget"
As I am not so familiar in adb, may I ask what is the difference between blocking and disabling (I guess its the same disable I can do in Settings/Apps)? I realized the blocked packages do not show up in the "pm list packages" anymore. Disabled ones do. Is there a list to see what was blocked? Thanks.
Btw I can also confirm that the OP is correct. When I first disabled Sony enterprise most or all of my disabled apps were re enabled.
Every thing worked great, thanks for help!
Thank you!!! Worked great Z3
PM BLOCK commands don't work...
I tried what was suggested above, but after I entered my ADB SHELL, the PM BLOCK command didn't work. I used the latest ADB that was installed on my system, but the only command that seems relevant to this was: PM DISABLE. I used that with the packages mentioned but they didn't get disabled. I had to disable them manually again after rebooting.
m0b1f0n3 said:
I tried what was suggested above, but after I entered my ADB SHELL, the PM BLOCK command didn't work. I used the latest ADB that was installed on my system, but the only command that seems relevant to this was: PM DISABLE. I used that with the packages mentioned but they didn't get disabled. I had to disable them manually again after rebooting.
Click to expand...
Click to collapse
As you didn't specify the version of ADB, try the following:
Download EasyRoot Tool from http://forum.xda-developers.com/showthread.php?t=2784900
Don't run the tool itself, it won't work on the Z3/Z3C! However, it contains a very slim ADB version 1.0.31 which worked for me.
Unpack the ZIP to a directory of your choice.
Open a CMD Window and navigate to %YOUR_FOLDER%\EasyRootTool v12.3\files
Connect you phone and issue the PM block commans as described above.
PM BLOCK commands still don't work...
sxtester,
Thanks for your response. I tried all sorts of ADB versions (1.0.25) including the one you suggested. I had no luck. Once I issued any of the commands above, I got the message: "Error: unknown command 'block'". I am not sure what more I can do at this point.
Any ideas?
m0b1f0n3 said:
sxtester,
Thanks for your response. I tried all sorts of ADB versions (1.0.25) including the one you suggested. I had no luck. Once I issued any of the commands above, I got the message: "Error: unknown command 'block'". I am not sure what more I can do at this point.
Any ideas?
Click to expand...
Click to collapse
I used "hide" command and it worked like a charm, i.e.: pm hide com.sony...
Hope it will help.
Hello,
There's a little problem to use amazon appstore because you must allow it to install unknow source app.
But himself was download out of the official google store (there's not choice) then you can't allow an unknow source to install unknow source app.
Before android 8, it was possible and now how do it ?
I don't have any such problem
Unleashed by my rooted OP3T on 8.0
since root ?
rifmouk said:
since root ?
Click to expand...
Click to collapse
Since ever.
I had root since the beginning.
Unleashed by my rooted OP3T on 8.0
Since Android Oreo, "unknown sources" have been separated so now you have to allow it for each app separately. You can find it in Settings > Apps > Special access > Install unknown apps.
exactly, przemcio510,
But because "amazon appstore" was download outside from the "google play store", it doesn't appear in this list. ( but maybe there's something , i don't understand)
With Oreo, it seems the system changed , now you can allow an app to install an unknow source and NOT allow YOU to install unknow source.
rifmouk said:
exactly, przemcio510,
But because "amazon appstore" was download outside from the "google play store", it doesn't appear in this list. ( but maybe there's something , i don't understand)
With Oreo, it seems the system changed , now you can allow an app to install an unknow source and NOT allow YOU to install unknow source.
Click to expand...
Click to collapse
As I wrote earlier, there is no problem with Amazon.
It doesn't matter in which setting you are finding the unknown sources. It works just fine.
Unleashed by my rooted OP3T on 8.0
Same problem here!
RASTAVIPER said:
As I wrote earlier, there is no problem with Amazon.
It doesn't matter in which setting you are finding the unknown sources. It works just fine.
Click to expand...
Click to collapse
Well, that might be true, however for us it does NOT work, because in our case the setting can NOT be found at all
Same as rifmouk, i found the list where I should be able to enable apk installations through the Amazon App Store. However, there is no 'Amazon App Store' in that list, only a few other apps like my browsers.
I already had a lengthy discussion with the Amazon support about this. After letting me wait for a few minutes, the lady came back and asked me "Do you already have Marshmallow?"
In the end she suggested contacting One Plus, they should be able to unlock the 'install from unknown sources' setting (she didn't want to hear about that setting not being there anymore) on my phone from remote :laugh:
Anyways, I contacted them again via twitter. They told me the devs would take a look, and to have just a bit of patience. That was roughly three months ago.
or1on06 said:
Same problem here!
Well, that might be true, however for us it does NOT work, because in our case the setting can NOT be found at all
Same as rifmouk, i found the list where I should be able to enable apk installations through the Amazon App Store. However, there is no 'Amazon App Store' in that list, only a few other apps like my browsers.
I already had a lengthy discussion with the Amazon support about this. After letting me wait for a few minutes, the lady came back and asked me "Do you already have Marshmallow?"
In the end she suggested contacting One Plus, they should be able to unlock the 'install from unknown sources' setting (she didn't want to hear about that setting not being there anymore) on my phone from remote [emoji23]
Anyways, I contacted them again via twitter. They told me the devs would take a look, and to have just a bit of patience. That was roughly three months ago.
Click to expand...
Click to collapse
Can u post some screenshots?
And from a personal experience: the customer support of the Appstore is ****. I had also some long discussion about a problem with another device and they didn't have a clue, although they had people searching over the matter for weeks.
Unleashed by my rooted OP3T on 8.0
I just now installed the Amazon app store APK. Then I opened the application, logged in, and downloaded an app.
I was then prompted to change my settings to allow the downloaded app to be installed.
At this point I checked in Settings>Apps>Special access>Install unknown apps and the Amazon app is listed.
I'm in OOS 5.0.1.
So everything behaves as it should. Nothing wrong with the Amazon app or Oreo.
I suggest you wipe the data for the Amazon app and go through the process again.
Sent from my OnePlus3T using XDA Labs
I tried reinstalling it, still the same issue. Here is the list I have (can't post correct links yet).
http s://pasteboard.co/HeMKbPp.jpg
I have the same issu like u!
I have installed amazon appstore. I have given permission to allow amazon appstore to install from unknown source. But still when I try to install app from amazon appstore it shows that allow to install from unknown source in security settings and open security settings menu. I have allowed all permissions to amazon appstore but still not able to download or install single app.
Any solution please.!!
BillGoss said:
I just now installed the Amazon app store APK. Then I opened the application, logged in, and downloaded an app.
I was then prompted to change my settings to allow the downloaded app to be installed.
At this point I checked in Settings>Apps>Special access>Install unknown apps and the Amazon app is listed.
I'm in OOS 5.0.1.
So everything behaves as it should. Nothing wrong with the Amazon app or Oreo.
I suggest you wipe the data for the Amazon app and go through the process again.
Click to expand...
Click to collapse
I have Oxygen os 5.0.2 and i have even allowed unknown source installation to amazon appstore but still not able to download.
Sam_38 said:
I have Oxygen os 5.0.2 and i have even allowed unknown source installation to amazon appstore but still not able to download.
Click to expand...
Click to collapse
same thing for me since Oxygen Os 5.0.3
I'm running into the same thing rifmouk, running Oxygen OS 5.1.3 with redownloaded and installed Amazon Appstore as of today.
App update
Update: scratch everything below. Even when you enable the Appstore to install outside apps, it still prompts you to enable outside apps with a message inside the Appstore. Looks like Amazon still has work to do.
I was having issues with this too and wanted to give an update. It seems that Amazon has released an updated version of their app. You have to uninstall the Amazon Appstore app and then download the new version from the internet. If you don't uninstall first, it will just open the old store to try to download the new one.
Ironically, you'll have to enable chrome to install non-play store apps. This is done (as suggested earlier) by going to settings>apps>special access>install unknown apps. Once you've installed and signed into the new app, you will need to attempt to install a new app. It will again prompt you to go to the wrong (old) security section in the Android settings. Just navigate to the "special access" section from earlier and the new Amazon Appstore should be listed at the top.
I finally found the cause and also the solution of this issue.
In android Oreo, because of the new security management of "unknown apps", the value of the legacy setting INSTALL_NON_MARKET_APPS is now always 1.
See this page for more details: https://developer.android.com/about/versions/oreo/android-8.0-changes
This means that in Oreo there is an "old" string, only for legacy reasons (and bypassed by new security settings), that ALLOW unknown sources by default.
I found that some "security" apps (like avast, in my case), NOT well optimized for Oreo, detect this legacy string in Oreo as main setting for unknown sources: the result is an automatic procedure inside that "security" app, that disables unknown sources permission in that legacy string (wrong place, avast!).
The result is that, for some "strange" (bad) code inside Amazon Appstore, this app see only that legacy string and blocks any installation (even if you enable installations from this app in Oreo special permissions). Moreover, Appstore - as a result of this bad edited legacy string - point you to a wrong settings window (the "old" window, for nougat android and earlier).
The worst thing is that there is no window, no gui (graphical interface) to edit the above legacy string inside android Oreo settings, so you have to do it yourself using terminal (ADB).
SAID SHORTLY:
connect you device through ADB terminal.
write the following command
adb shell settings put global install_non_market_apps 1
(command to enable "old way" Unknown Sources).
Oreo needs to allow every single app as usual, you restored only one "invisible" (but necessary) Oreo legacy string as it is intended to be.
And don't use messy security apps anymore!
As an alternative of the above string, use:
adb shell settings put secure install_non_market_apps 1
THIS METHOD DOES NOT NEED ROOT, ONLY ADB DEBUG ENABLED!
Please, give thanks if this was useful, and share always with credits.
Thank you.
alessia3 said:
I finally found the cause and also the solution of this issue.
In android Oreo, because of the new security management of "unknown apps", the value of the legacy setting INSTALL_NON_MARKET_APPS is now always 1.
See this page for more details: https://developer.android.com/about/versions/oreo/android-8.0-changes
This means that in Oreo there is an "old" string, only for legacy reasons (and bypassed by new security settings), that ALLOW unknown sources by default.
I found that some "security" apps (like avast, in my case), NOT well optimized for Oreo, detect this legacy string in Oreo as main setting for unknown sources: the result is an automatic procedure inside that "security" app, that disables unknown sources permission in that legacy string (wrong place, avast!).
The result is that, for some "strange" (bad) code inside Amazon Appstore, this app see only that legacy string and blocks any installation (even if you enable installations from this app in Oreo special permissions). Moreover, Appstore - as a result of this bad edited legacy string - point you to a wrong settings window (the "old" window, for nougat android and earlier).
The worst thing is that there is no window, no gui (graphical interface) to edit the above legacy string inside android Oreo settings, so you have to do it yourself using terminal (ADB).
SAID SHORTLY:
connect you device through ADB terminal.
write the following command
adb shell settings put global install_non_market_apps 1
(command to enable "old way" Unknown Sources).
Oreo needs to allow every single app as usual, you restored only one "invisible" (but necessary) Oreo legacy string as it is intended to be.
And don't use messy security apps anymore!
As an alternative of the above string, use:
adb shell settings put secure install_non_market_apps 1
THIS METHOD DOES NOT NEED ROOT, ONLY ADB DEBUG ENABLED!
Please, give thanks if this was useful, and share always with credits.
Thank you.
Click to expand...
Click to collapse
Thank you, @alessia3. I've been trying to find a fix for this issue on my OnePlus 5T for six months. Once again able to download some apps I got on Amazon's app store before my Nexus 6p died.
I'll note that install_non_market_apps is under secure, not global, in my phone.
As stated, the *#2263# and *#2683662# methods do not work. I have Magisk v16.7 installed, with TWRP and full root. Running 8.0 Oreo.
I have also tried accessing the menu through the Phone info application (and shortcut master app) through the 'launch 0' option after clicking both shortcuts and nothing happens other than an excetption, stating:
java.lang.IllegalArgumentException: no package name at isInstantApp:22900 etc etc. If someone wants the full stack trace i will upload tomorrow.
From my research, this exception is only an issue on oreo devices.
Phone info has root access, so it should take me into the menu, no?
Has anyone got any other codes/methods to access or edit band configurations for LTE that do not use the methods above or maybe fix the exception?
Thanks
The-Spartan said:
As stated, the *#2263# and *#2683662# methods do not work. I have Magisk v16.7 installed, with TWRP and full root. Running 8.0 Oreo.
I have also tried accessing the menu through the Phone info application (and shortcut master app) through the 'launch 0' option after clicking both shortcuts and nothing happens other than an excetption, stating:
java.lang.IllegalArgumentException: no package name at isInstantApp:22900 etc etc. If someone wants the full stack trace i will upload tomorrow.
From my research, this exception is only an issue on oreo devices.
Phone info has root access, so it should take me into the menu, no?
Has anyone got any other codes/methods to access or edit band configurations for LTE that do not use the methods above or maybe fix the exception?
Thanks
Click to expand...
Click to collapse
Here's some more information about this issue.
https://forum.xda-developers.com/showpost.php?p=81262805&postcount=18
Hi,
I have a rooted Xiaomi MT 9 Pro running on LineageOS 18.0 (Android 11). In one of the posts I also asked for help regarding this issue.
When I installed Android Auto (5.7.603964) through APK mirror i ran the setup process. I was able to give the requested permissions. Also i was able to allow Android Auto to be shown in front of other applications. After 'allowing access to messages' the setup process briefly shows a screen called 'configureren' and then crashes to desktop.
I repeated the setup process several times (reinstalled the app, emtied cache, et cetera). Each time i got the same result.
When i start the app after the unfinished setup process, the app crashes to the 'desktop'.
I created a log file using Logcat. You can find the log file here.
I am unsure what causes this issue. Therefore i added this post to both the custom rom section and this section.
Any help is appreciated (please contact me if anything needs to be sorted out).
At the setup log (i will add this log file later) i can see the gearhead version is behind:
'Package com.google.android.projection.gearhead installed ver=57603964 minimum required ver=53000000'.
P.S.
Through Android Auto 'extra in app settings' (at the app info section) I disabled a lot of settings.
Change launcher: the following apps are enabled:
- Close
- Settings
- Maps
- Spotify
Hey Google detection: disabled
Continue media automaticly: disabled
Google assistent (settings):
- Dutch and English installed (and downloaded)
I also tried runnning only English (downloaded and not downloaded)
Weather: disabled
The rest of the settings are disabled too.