[Q] Can't install apk files. - Xperia Arc Q&A, Help & Troubleshooting

vicsuauj said:
Hello!
Recently, my Xperia has stopped letting me install any aplication which I previously downloaded to my SD card. Android Market works fine, but my phone won't let my install any ".apk"
When opening the installer, I can only press "Cancel" button, but NOT the "Install" button. I hit the "Install" button, but nothing happens. ¿Any ideas?
PS. I have enough memory space, both on my SD and internally
Thanks!
Click to expand...
Click to collapse
I'm facing exactly the same problem. I can still install apks by moving them to \data\app, by installing them with flashtool, or with titanium backup restore.
Running ICS beta.

Found the conflicting app: http://forum.xda-developers.com/showpost.php?p=23861446&postcount=7
PvyParts, is it possible to fix this?

sdk16420 said:
Found the conflicting app: http://forum.xda-developers.com/showpost.php?p=23861446&postcount=7
PvyParts, is it possible to fix this?
Click to expand...
Click to collapse
the issue is i dont have the problem so i cant trouble shoot it my self,
can you please tell me more about your setup.
phone
rom
kernel
mods
themes
anything
also maybe try to grab some logs of trying to install in app to see if there is a message when you try to press install
It has been reported to me a fair bit but i cant get info from anyone to fix. any help would be much appreciated.
Pvy.

Xperia Neo (MT15i)
Sony ICS beta ROM
V6 Supercharger
Changed system font to Kozuka Gothic (Xperia S font)
Log Collector log
http://www.box.com/s/f57fce98e3b5096bbe19
Installed apps list (can be opened as text file)
http://www.box.com/s/de9017d0bafdb55fcc8d

I think i have it sussed. any one who wants to test my test version please let me know.

Code:
I/ActivityManager( 2244): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.pvy.batterybar/.TEAMMain} from pid 30659
W/kernel ( 142): [13851.864105] select 696 (ureclockservice), adj 6, size 7105, to kill
W/kernel ( 142): [13851.864135] select 2012 (onyericsson.mtp), adj 6, size 7181, to kill
W/kernel ( 142): [13851.864135] select 2084 (onFriendService), adj 9, size 7708, to kill
W/kernel ( 142): [13851.864166] send sigkill to 2084 (onFriendService), adj 9, size 7708
W/kernel ( 142): [13852.258178] select 696 (ureclockservice), adj 6, size 7100, to kill
W/kernel ( 142): [13852.258209] select 2012 (onyericsson.mtp), adj 6, size 7176, to kill
W/kernel ( 142): [13852.258209] send sigkill to 2012 (onyericsson.mtp), adj 6, size 7176
I/ActivityManager( 2244): Start proc com.pvy.batterybar for activity com.pvy.batterybar/.TEAMMain: pid=2100 uid=10121 gids={}
I/ActivityManager( 2244): Process com.google.android.apps.maps:LocationFriendService (pid 2084) has died.
I/ActivityManager( 2244): Start proc com.google.android.apps.maps:NetworkLocationService for service com.google.android.apps.maps/com.google.android.location.internal.server.NetworkLocationService: pid=2111 uid=10123 gids={3003, 1015}
I/ActivityManager( 2244): Process com.sonyericsson.mtp (pid 2012) has died.
W/ActivityManager( 2244): Scheduling restart of crashed service com.sonyericsson.mtp/.extension.system.SystemInfoService in 39902ms
W/ActivityManager( 2244): Scheduling restart of crashed service com.sonyericsson.mtp/.MtpVendorService in 39902ms
D/AndroidRuntime( 2100): Shutting down VM
W/dalvikvm( 2100): threadid=1: thread exiting with uncaught exception (group=0x2b542210)
E/AndroidRuntime( 2100): FATAL EXCEPTION: main
E/AndroidRuntime( 2100): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.pvy.batterybar/com.pvy.batterybar.TEAMMain}: java.lang.NullPointerException
E/AndroidRuntime( 2100): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1967)
E/AndroidRuntime( 2100): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1992)
E/AndroidRuntime( 2100): at android.app.ActivityThread.access$600(ActivityThread.java:127)
E/AndroidRuntime( 2100): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1158)
E/AndroidRuntime( 2100): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 2100): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2100): at android.app.ActivityThread.main(ActivityThread.java:4441)
E/AndroidRuntime( 2100): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2100): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 2100): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
E/AndroidRuntime( 2100): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
E/AndroidRuntime( 2100): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2100): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 2100): at com.pvy.batterybar.TEAMMain.onCreate(TEAMMain.java:40)
E/AndroidRuntime( 2100): at android.app.Activity.performCreate(Activity.java:4465)
E/AndroidRuntime( 2100): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
E/AndroidRuntime( 2100): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1931)
E/AndroidRuntime( 2100): ... 11 more
W/ActivityManager( 2244): Force finishing activity com.pvy.batterybar/.TEAMMain

Just like to confirm that latest version has fixed this for you guys
Sent from my TEAM powered Arc S

Xhy not try to wipe the dalvik cache

in my case, was the "fast task switcher"... removed
best

can't install apks except those from google play
i can;t install apks which i downloaded from getjar, 4sync, 1mobile etc, it is so crazy. Nothing happens when i hit the install button on the right, the only option is to hit the cancel on the left. But then when i visit samsung apps, i can install everything when i hit the install on the right. And also everything from google play. I think this happened after i updated online from gingerbread 2.3.6 to ICS. It's a shame if it';s samsung;s way to sabotage their samsung customers and force them to download away from getjar, 4sync etc...
31/712 i can install now everything is back to normal after i uninstalled an app called Video Ringtone Caller ID by senses developer

Gesture Launcher
So I had the same problem - I tried to install an apk, in my case, from Gmail and from Dropbox, and the install button just didn't work. I am running STOCK 4.0.4 on a Galaxy Nexus unlocked HSPA phone. Not rooted, no mods whatsoever.
I looked at my running apps, stopped "Gesture Launcher", then tried to install my apk, and it worked. I have no idea why that app would interfere with installing apks, but it apparently did.

pwnvds said:
So I had the same problem - I tried to install an apk, in my case, from Gmail and from Dropbox, and the install button just didn't work. I am running STOCK 4.0.4 on a Galaxy Nexus unlocked HSPA phone. Not rooted, no mods whatsoever.
I looked at my running apps, stopped "Gesture Launcher", then tried to install my apk, and it worked. I have no idea why that app would interfere with installing apks, but it apparently did.
Click to expand...
Click to collapse
Does the app use the system alert permission?
Pvy
Sent from my LT18i using xda premium

It's the Services...
I posted this at forums a week ago. hope it helps somewhat.
it goes like this:
It's the Services indeed !
Go to Settings/Apps/Running. That should show your running apps and also if those apps has a Process or Service running. Some of these running apps have a Process running but no Services running please note. If you click on the toggle on the top right most of your screen where it says "Show Cached Processes", it will then show you just the Services or "Show Running Services" that are running.
In my frustration, when I couldn't press INSTALL when trying to install apk files, I stopped all the running Services at that time. It worked ! but I'm sure anyone can do it more elegantly by doing it one at a time starting with those apps that you recently installed. Then when you find the offending app. Kindly send an email to the dev informing what you went through so as to avoid this inconvenience for others due to poor coding
__________
Live your life so they say, I say relish it. ! (maybe from someone who was eating a hotdog in New York just before a truck ran over him ? bless his soul.)

ATabby said:
In my frustration, when I couldn't press INSTALL when trying to install apk files, I stopped all the running Services at that time. It worked ! but I'm sure anyone can do it more elegantly by doing it one at a time starting with those apps that you recently installed. Then when you find the offending app. Kindly send an email to the dev informing what you went through so as to avoid this inconvenience for others due to poor coding
Click to expand...
Click to collapse
Its not poor coding guys legitimate well coded apps can do this.
If they put a system overlay up that covers the install button. Even if it is transparent. You won't be able to press the button. This is to stop malware hiding its self as legit / covering up the buttons with different looking images to confuse the usrer into clicking it. as far as I can tell.
I have done a lot of research into it as my apps use system overlays. I was able to work around it but a lot of apps won't be able 2 simply due to what they do. Few come to mind but yeah.
So if you install an app that uses the " display system wide alerts " it may cause this problem ( not a bug )
Pvy
Sent from my Galaxy Nexus using xda premium

pvyParts said:
Its not poor coding guys legitimate well coded apps can do this.
If they put a system overlay up that covers the install button. Even if it is transparent. You won't be able to press the button. This is to stop malware hiding its self as legit / covering up the buttons with different looking images to confuse the usrer into clicking it. as far as I can tell.
I have done a lot of research into it as my apps use system overlays. I was able to work around it but a lot of apps won't be able 2 simply due to what they do. Few come to mind but yeah.
So if you install an app that uses the " display system wide alerts " it may cause this problem ( not a bug )
Pvy
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
I stand corrected. And well explained too thank you so very much. It's simply another app's overlay (which most likely was set or placed in that position by the user) and is to be transparent as configured by the user. An overlay that by rotten luck covers the Install button but which the user anyway expects to press through (as the overlay was configured that way) but no dice due to Android's security measures to stop malware from hiding itself as legit images and covering buttons and the like. Simply put, the user cannot press through or go through overlays to get at System buttons like the "Install" button while installing an app. Android system just deems it too risky to let user press through overlays to get at System buttons. I'll have to edit my post in the other forum to take your explanation into consideration. It's not about poor coding then. Thank you but I have an editing mission to do in the other forum I'm in. I see no reason to edit my post here since your explanation follows it immediately anyway. I must go, I need to save the world from my post. Thank you again !
________
-I believe in Science for things that can be explained by Science And for those things that cannot be explained by Science, those things no one can reason as to how ? and why ? I leave those to God.

ATabby said:
I posted this at forums a week ago. hope it helps somewhat.
it goes like this:
It's the Services indeed !
Go to Settings/Apps/Running. That should show your running apps and also if those apps has a Process or Service running. Some of these running apps have a Process running but no Services running please note. If you click on the toggle on the top right most of your screen where it says "Show Cached Processes", it will then show you just the Services or "Show Running Services" that are running.
In my frustration, when I couldn't press INSTALL when trying to install apk files, I stopped all the running Services at that time. It worked ! but I'm sure anyone can do it more elegantly by doing it one at a time starting with those apps that you recently installed. Then when you find the offending app. Kindly send an email to the dev informing what you went through so as to avoid this inconvenience for others due to poor coding
Click to expand...
Click to collapse
+1 Perfect

Had the same issue, I could not click on "Install".
Deactivated "Screen Filter" - now its working again.

Incredible! I think its a bug in android. You cant install any apk if your screen light is 0 or minus. If you install "Screen filter" or "lux auto brightness" for example you have this bug in a dark room.

masgallardo said:
Incredible! I think its a bug in android. You cant install any apk if your screen light is 0 or minus. If you install "Screen filter" or "lux auto brightness" for example you have this bug in a dark room.
Click to expand...
Click to collapse
It is because screen filter ect ect put a black translucent overlay on the screen. android security won't let you press install because of it. Not a bug.
Pvy
Sent from my Galaxy Nexus using Tapatalk 2

masgallardo said:
Incredible! I think its a bug in android. You cant install any apk if your screen light is 0 or minus. If you install "Screen filter" or "lux auto brightness" for example you have this bug in a dark room.
Click to expand...
Click to collapse
Absolutely ridicolous,that was the issue,just took odf screen filter and it worked

Related

[REQ] How-To Lock SemcPhone and Contacts.apk to Memory

Hi,
I'm trying to lock Contacts and Phone app to memory.
So they will start faster. I don't want to wait for them to open. ( Sometimes it tooks a long time )
If is there anyother way to do it but locking it ( like keeping it alive, running in backgorund or something ) i can try.
This is really important for me. I need to make calls fast.
Thank you so much for reading.
Best Regards.
========================================================================================
This is no longer requested.
I did it using SuperCharger Update 9 RC 6.9 ( Option 17 in Driver's Console )
I bulletproofed Phone,Contacts and Messaging apks ( Sony's Original ones ) with this script.
Here is the link: http://forum.xda-developers.com/showpost.php?p=18703418&postcount=5021
Its BETA release probably.
Thank you for reading.
I researched some more and found this,
adb pull /init.rc
replace "setprop ro.HOME_APP_MEM ..." with:
setprop ro.HOME_APP_MEM 1536
adb push init.rc /sdcard/init.rc
adb shell
# mount -o remount,ro rootfs /
# cat /sdcard/init.rc | tee /init.rc
# mount -o remount,rw rootfs /
# rm /sdcard/init.rc
This code can lock Sense home to memory. Maybe someone with skill can change it for Contacts.apk ?
Use exDialer. It can be locked to memory, has smart search and looks like MIUI dialer.
It's a good solution.
But before i try those third-party contacts/phone apps i want to lock Sony's Original app to memory.
And i don't want to lock it with another app. I want to make lowmemorykiller see contacts app like system app and never touch it.
So, probably i need to use script or something. But it also should be permanent change, at least i don't want to do it after every reboot.
Thank you so much for answering
The same.
soumya_digi said:
Use exDialer. It can be locked to memory, has smart search and looks like MIUI dialer.
Click to expand...
Click to collapse
Exdialer will still SEMC phone to make calls. It's just an interface in between.
So locking THAT in memory won't help. Locking SEMCPhone is what you want for faster launches of the phone app.
The default dialer generally takes much time to start up. So suggested a 3rd party app for faster number dialing!
Sent from my LT15i using XDA
Exactly,
Exdialer is Contacts-like app. I need both of Contacts and SEMCPhone in memory.
If i won't find anything probably i will use ExDialer for Contacts app at least it will quicker to find Contacts.
But i also really need to lock SEMCPhone app to memory. That's the most important part. Because i can't use any third party app for this function. It have to be Sony's original ( im not sure btw )
Thank you so much for answering.
Found Solution !
Than??
1234567890
V6 supercharger can lock apps to the memory, never tried this feature but the script worth even without it!
---------- Post added at 06:14 PM ---------- Previous post was at 06:03 PM ----------
Take a look here:
http://forum.xda-developers.com/showthread.php?t=1334834
and http://forum.xda-developers.com/showthread.php?t=1289082
1 - Root it
2 - Install Script Manager
3 - Run the script as root (DONT SELECT TO RUN ON STARTUP)
4 - bulletproof an app or something like this (option 17 in my version)
oojjii said:
Hi,
I'm trying to lock Contacts and Phone app to memory.
So they will start faster. I don't want to wait for them to open. ( Sometimes it tooks a long time )
If is there anyother way to do it but locking it ( like keeping it alive, running in backgorund or something ) i can try.
This is really important for me. I need to make calls fast.
Thank you so much for reading.
Best Regards.
========================================================================================
This is no longer requested.
I did it using SuperCharger Update 9 RC 6.9 ( Option 17 in Driver's Console )
I bulletproofed Phone,Contacts and Messaging apks ( Sony's Original ones ) with this script.
Here is the link: http://forum.xda-developers.com/showpost.php?p=18703418&postcount=5021
Its BETA release probably.
Thank you for reading.
Click to expand...
Click to collapse
Which Processes did you lock exactly?
q
Does anyone know of a way to do this without "Supercharger"?
Thanks.
bill
oojjii said:
Found Solution !
Click to expand...
Click to collapse
You little piece of scumbug Steve. Tell us the solution or dont tease ...
I tried bulletproofing
com.sonyericsson.android.socialphonebook
com.sonyericsson.infiniteview
with the supercharger script
but it doesn't seem to do anything
This is very annoying
Bill720 said:
Does anyone know of a way to do this without "Supercharger"?
Thanks.
bill
Click to expand...
Click to collapse
U can use pimp my rom (found in play store) keep in memory option
Sent from my LT18i using xda app-developers app
ChainSOV said:
I tried bulletproofing
com.sonyericsson.android.socialphonebook
com.sonyericsson.infiniteview
with the supercharger script
but it doesn't seem to do anything
This is very annoying
Click to expand...
Click to collapse
It should work fine, might need a restart though.
Someguyfromhell said:
It should work fine, might need a restart though.
Click to expand...
Click to collapse
The logs show that the script is run on restart, but it says
com.sonyericsson.android.socialphonebook
com.sonyericsson.infiniteview
com.android.phone
isn't running, can't bulletproof.
It looks like its run a bit too early?
I tried running it with the widget, it found phone and socialphonebook running, but never infiniteview.
Even on exiting a contacts details by pressing home and starting the script immideatly, it always said infiniteview isn't running, it seems to instantly close itself.
After it told be it bulletproofed phone and socialphonebook, I went to start a few apps/games, closed them again and tried starting contacts and open a contacts details:
contacts opening time varied between 3 and 12 seconds
contact info opening time varied between 2 and 8 seconds
I am certainly not getting the effect I hoped bulletproofing would give me, I hoped the startup times would be like you just closed contacts and reopened them:
contacts opening time varied between 1 and 1.5 seconds
contact info opening time varied between 1 and 1.5 seconds
Don't expect your phone to keep Phone and contacts in memory when trying to play games. Our phones do not have enough RAM to keep all of these loaded in there at once. Android has to close something in order to free up RAM and run the current app/game.
advice
ChainSOV said:
I tried bulletproofing
com.sonyericsson.android.socialphonebook
com.sonyericsson.infiniteview
with the supercharger script
but it doesn't seem to do anything
This is very annoying
Click to expand...
Click to collapse
A bit of advice for people who are having this problem - I've "been there, cut that", and have to say that the whole "bulletproof" script nonsense is nothing more than a waste of time; it just doesn't work. I've tried every "ram manager" out there, and the only thing that has got me the result is the "Xposed Framework trick" (ICS/Jellybean only unfortunately).
Sahaab said:
U can use pimp my rom (found in play store) keep in memory option
Click to expand...
Click to collapse
Thanks for the input, but I actually finally got a working solution (as I told the member above) and that is the Xposed Framework App Settings method. I've tried probably half a dozen applications over the course of the years of my ownership of this device, and so far, Xposed App Settings has been the only thing that has had any effect. The only negative is that it does require ICS or Jellybean to install.
Spread the word, and good luck to everyone experiencing this issue.
b
Thank you so much for this hint, finally something that works :cyclops:
I changed
Contacts (com.sonyericsson.android.socialphonebook)
Infiniteview (com.sonyericsson.infiniteview)
Keypad (com.android.phone)
to resident and they actually stay in memory, even after starting games (not sure if keypad is needed, it isn't listed under running apps).
Infiniteview startup went from 3-7seconds to 0.5-1.5
Contacts behave strange:
If I exit contacts by pressing home key, they start in under 1 second (Android Core Apps are listed under its subprocesses)
if I exit contacts by back key, they need 3 seconds to start (just SmartSearchCachingService and Contacts itself under processes)
I seem to not be able to lock down android.process.acore with the xposed framework

How Do I Get NFC To Close An Open App?

I have a rooted Sprint GS3 and am using NFC Task Launcher. I tried to set my tags to a switch, first tap opens an app, second tap to close. The apps never close, what am I doing wrong? I have one set up to open Waze when I get in my truck and the second tap is supposed to close it, never closes, but the tag registers. Same with another one I have set to open my equalizer and then Slacker, they open but never close. Any help is appreciated.
Well I got an answer from the makers of NFCTL over at Tagstand, it looks like a week or so and the ability to close an app will be available.
Joshua replied to your question 'Switch Doesn't Turn Off Apps, GS 3 Rooted':
There's an issue with the current release (4.1.3) where root access is not being leveraged to kill tasks. As a result you're at the mercy of the task killing API which doesn't do much on ICS or JB. The next update will correctly request root permissions when killing an app (should be available sometime next week hopefully).
Click to expand...
Click to collapse
I can't post the link, so I quoted their response.
Super Dave426 said:
Well I got an answer from the makers of NFCTL over at Tagstand, it looks like a week or so and the ability to close an app will be available.
I can't post the link, so I quoted their response.
Click to expand...
Click to collapse
This is true. Finishing up a few things, then on to translations and then the update will go live.
Or you can use Tasker if you have it. Can trigger a Tasker Task (to open and/or kill app) via NFC Task Launcher.
Problem exist
You can't kill apps (like Waze & DailyRoads). Bug is still here
Yes, maybe using tasker but tasker is not free

[Q] Quicker way to get into Service Menu?

As my phone's camera doesn't work unless I go into the Service Menu and usually I forget to put the 737 in the code: *#*#7378423#*#*. This usually means I miss out on taking photos of important events which is a pain to be honest.
I have tried opening it before with Link2SD but even then it says that it fails to start.
Is there a mod of some sort that shows it up as an application or make it a shortcut?
AzNTypeR said:
As my phone's camera doesn't work unless I go into the Service Menu and usually I forget to put the 737 in the code: *#*#7378423#*#*. This usually means I miss out on taking photos of important events which is a pain to be honest.
I have tried opening it before with Link2SD but even then it says that it fails to start.
Is there a mod of some sort that shows it up as an application or make it a shortcut?
Click to expand...
Click to collapse
Try xShortcut from Play Store to capture the intent and make an icon for it.
Sent from Xperia Play (R800a) running MIUI5 with Tapatalk
Thank you!

[APP] LMK Whitelist v2.0 for Semaphore, Mackay, Cyancore & Fishears

I had a few spare hours and made an app to add processes to the whitelist of the low memory killer.
This feature is currently available in
Semaphore Kernel for 4.2 JB
Mackay Kernel (untested)
Cyancore (untested)
Fishears Kernel (untested)
You can add up to 6 apps (kernel-limit) that will not get killed if your phone needs free ram. The purpose of this is to prevent e.g. your launcher from being killed when your phone needs more ram - resulting in redraws and unresponsiveness.But be warned: if you add too many memory intensive apps to this list your phone will get laggy and in worst case you will get force closes.
How it works:
To make an app "invulnerable" one needs to write it's PID (process ID) in a Kernel-config file
To get the PID of an app it has to run
This is why the whitelist-app starts a service (on boot and if you change the config) that runs and checks periodically for PIDs until it has found all your selected apps
Be aware that the service will run forever if you add an app that never gets started to the list!
If you only add your launcher and/or other apps that run permanently it will finish immediately.
Of course this requires root permissions to work!!
It is not the prettiest android app there is, so feel free to contribute with a better layout
Since Version 1.2 there are 3 open intents, which let you clear/create the whitelist from within other apps. The intent actions are:
com.jb.semaphorelmkwhitelist.CLEAR_WHITELIST
com.jb.semaphorelmkwhitelist.CREATE_WHITELIST
com.jb.semaphorelmkwhitelist.TOGGLE_WHITELIST
BIG THANKS TO STRATOSK, the developer of Semaphore Kernel and the Semaphore Manager app.
Please consider donating to him to support the further development of the kernel.
If you want to support my work please have a look at my apps in play store (see my signature)
I will send the source code to anyone asking me via PM.
Changelog:
Raise Version to 2.0
-) Ability to detect services running in their own process (works for greenify, possibly also tasker - didn't check though)
-) Create Launcher shortcuts for apps combined with whitelist actions, takes label and icon from the selected app
- clear whitelist: recommended for games, whitelist needs to be manually enabled again afterwards
- temporary add to whitelist: recommended for music player apps, the started app gets added to the whitelist until it is refreshed
1.4
Fix wrong game mode state on reboot
Option to force greenify apps in game mode (enable in settings)
1.3
Changed launcher shortcut to toggle game mode (whitelist on/off)
Added new open intent TOGGLE_WHITELIST
1.2
Added Launcher shortcut to clear whitelist
Added open Intents to clear/create whitelist
1.1
Renamed to LMK Whitelist
Added option to disable toast messages
Added about dialog
1.0
Initial release
Great job! Thank you so much! Just installed and trying...
SGS - Sema 2.9.20s - Xylon 0.2.3.3 - Cobalt Sam-X - Big Thanx2all
---------- Post added at 04:40 AM ---------- Previous post was at 04:33 AM ----------
Nice one! I really like the infobox of this app. Well done!
SGS - Sema 2.9.20s - Xylon 0.2.3.3 - Cobalt Sam-X - Big Thanx2all
Great work! It seems to work fine. Thanks!
There a 3 kernels which can use this app currently, semaphore, cyancore and mackay.
Also about the source, why not upload it to github.
Sent from my GT-P7500 using xda app-developers app
Nice job! I think a few screenshots would be nice in the OP!
Great idea!
Thanks for the great idea and implementation, this is exactly what was needed to complete stratosk feature.
a small bug I encountered:
when trying to add the phone process through the "Lancher apps" list, if i press the "Phone" button the app adds the "com.android.contacts" process instead of the "com.android.phone" process. (BTW, pressing the "Contacts" button, also adds the "com.android.contacts" process).
Great job, Thanks!
ts1506 said:
There a 3 kernels which can use this app currently, semaphore, cyancore and mackay.
Also about the source, why not upload it to github.
Sent from my GT-P7500 using xda app-developers app
Click to expand...
Click to collapse
I'm sure more kernel developers will implement it...
So, why not call it just LMK-Whitelist?
Also nobody could complain if you sell it at Playstore and share the profit with Stratosk...
For more comfort you could show the real name of the apps in the list and enable to choose all apps at once.
Great job, congratulations!
SGS - Sema 2.9.20s - Xylon 0.2.3.3 - Cobalt Sam-X - Big Thanx2all
grinder777 said:
I'm sure more kernel developers will implement it...
So, why not call it just LMK-Whitelist?
Click to expand...
Click to collapse
:good:
I totally agree.
superkoal said:
How it works:
To make an app "invulnerable" one needs to write it's PID (process ID) in a Kernel-config file
To get the PID of an app it has to run
This is why the whitelist-app starts a service (on boot and if you change the config) that runs and checks periodically for PIDs until it has found all your selected apps
Be aware that the service will run forever if you add an app that never gets started to the list!
If you only add your launcher and/or other apps that run permanently it will finish immediately.
Click to expand...
Click to collapse
Hi,
do you think it would be possible to periodically check for the running apps and if they match the list configured in your app instead of having a service running once after the configuration or after system boot? As you stated the service is running forever if the app is not yet running. If you could make the interval to check for apps configurable, one could still use the current setup. But it could also be configured in the way that you just specify a list of apps, that are supposed to be LMK safe once they are running, and they would also be remove from the whitelist once you close them manually.
What do you think of this idea?
Rebel2k said:
Nice job! I think a few screenshots would be nice in the OP!
Click to expand...
Click to collapse
Thanks! I will add them in my next few spare hours
ziporpor said:
a small bug I encountered:
when trying to add the phone process through the "Lancher apps" list, if i press the "Phone" button the app adds the "com.android.contacts" process instead of the "com.android.phone" process. (BTW, pressing the "Contacts" button, also adds the "com.android.contacts" process).!
Click to expand...
Click to collapse
This is just the way android works - the apps in your launcher are sometimes combined in one package.
grinder777 said:
I'm sure more kernel developers will implement it...
So, why not call it just LMK-Whitelist?
Also nobody could complain if you sell it at Playstore and share the profit with Stratosk...
For more comfort you could show the real name of the apps in the list and enable to choose all apps at once.!
Click to expand...
Click to collapse
Thanks, I will change the name.
I will think about it, but i don't think i will sell it, maybe i add a donate button.
elhennig said:
Hi, do you think it would be possible to periodically check for the running apps and if they match the list configured in your app instead of having a service running once after the configuration or after system boot? As you stated the service is running forever if the app is not yet running. If you could make the interval to check for apps configurable, one could still use the current setup. But it could also be configured in the way that you just specify a list of apps, that are supposed to be LMK safe once they are running, and they would also be remove from the whitelist once you close them manually. What do you think of this idea?
Click to expand...
Click to collapse
Not sure if I understood what you mean, just post again if I misunderstood.
You can already configure the check interval in settings (Hit the menu button!)
When I say the service runs forever it means that it will check every 60 seconds (configurable) if the selected apps are running.
Not sure why you want to remove apps from the whiteliste again, the whole purpose is to make an app always running.
Android won't kill an app in foreground...
superkoal said:
This is just the way android works - the apps in your launcher are sometimes combined in one package.
Click to expand...
Click to collapse
It's not a bug, it's a feature :laugh:
Thanks!
superkoal said:
Not sure if I understood what you mean, just post again if I misunderstood.
You can already configure the check interval in settings (Hit the menu button!)
When I say the service runs forever it means that it will check every 60 seconds (configurable) if the selected apps are running.
Not sure why you want to remove apps from the whiteliste again, the whole purpose is to make an app always running.
Android won't kill an app in foreground...
Click to expand...
Click to collapse
Ok, I just tried again and this time the menu button worked
I just thought about the following use case:
I want to have an app staying in the memory after I started it manually and want keep it - also in the background - until I explicitly close it.
Also if you restart an app (for example the launcher) for some reason the pid changes and you would have to open your app to update the whitelist
If you must really update the whitelist after every reboot (empty battery, wipe cache/dalvik, use recovery etc.) than it's not funny. It means everytime you must think about this.
yavu said:
If you must really update the whitelist after every reboot (empty battery, wipe cache/dalvik, use recovery etc.) than it's not funny. It means everytime you must think about this.
Click to expand...
Click to collapse
This is what the app does for you, it's the reason i wrote this app (together with the fact that i don't like scripts running in the background)
Sent from my GT-I9000 using xda app-developers app
yavu said:
If you must really update the whitelist after every reboot (empty battery, wipe cache/dalvik, use recovery etc.) than it's not funny. It means everytime you must think about this.
Click to expand...
Click to collapse
The whitelist content (i.e, the processes that were selected) is persistent after reboot.
There is no need to select it every time again (at least according to my experience).
superkoal said:
This is what the app does for you, it's the reason i wrote this app (together with the fact that i don't like scripts running in the background)
Sent from my GT-I9000 using xda app-developers app
Click to expand...
Click to collapse
Ok then its great :good:
Edit:
It mean that we don't need superlauncher script anymore?
yavu said:
It mean that we don't need superlauncher script anymore?
Click to expand...
Click to collapse
As far as I remember the superlauncher script does a few more things, but if you just want to make your launcher persistent you don't need it any more.
it would be great if stratosk could add these app into semaphore manager with your permission
pxrave said:
it would be great if stratosk could add these app into semaphore manager with your permission
Click to expand...
Click to collapse
Stratosk has my permission to use this however he wants and he knows that.
I am just not sure if he wants to add this, i haven't seen an "official" statement regarding this
Been looking ages for a way to multitask with my poweramp running and for the keyboard not to crash... you just made my life a whole lot easier and maybe gave my phone a longer life... thank you sir, thank you very much!
Edit: lol, not so sure how to whitelist the keyboard... which processes should i whitelist?

A couple of questions for a new magic owner...

Got a magic from China. Beautiful phone running on AT&T with no problems. Have run into a few roadblocks.
1. Can't seem to install any other launchers. Tried many including Nova (my favorite) and they are all giving me a 504 play store error in install. No problems with any other apps but can't get a launcher. Google Now launcher did install but only a few widgets show and none for clock or weather.
2. Tired to add new widgets to standard magic UI - can't seem to be able to do it. Any idea how? Also want to remove home screen weather widget as weather app only show centigrade.
3. Any idea how to assign sounds to email? Can't seem to find that setting. There is a 'select ringtone' setting under mail but turning it in or off seems to have no effect.
Thanks
I have read the same complain about widgets. The weather widget cannot be removed. Hopefully that would be fixed in rom updates. You can also provide some feedback in the built in feedback app.
You can go through content in Huawei China forum here for similar issues and possible fixes: http://club.huawei.com/forum-2770-1.html
There is rom update already out, which seem to add some features and also change how the navigation using fingerprint sensor works. I think the rom update is part of the "development version" and you might have to register.
Thanks for the link. Thank goodness for google translate. I also see it has an NFC radio but not yet enabled. Hopefully soon.
TGUY25 said:
Thanks for the link. Thank goodness for google translate. I also see it has an NFC radio but not yet enabled. Hopefully soon.
Click to expand...
Click to collapse
dont worry, they have the hardware, and software part is just of updates.. they will roll out..
TGUY25 said:
Got a magic from China. Beautiful phone running on AT&T with no problems. Have run into a few roadblocks.
1. Can't seem to install any other launchers. Tried many including Nova (my favorite) and they are all giving me a 504 play store error in install. No problems with any other apps but can't get a launcher. Google Now launcher did install but only a few widgets show and none for clock or weather.
2. Tired to add new widgets to standard magic UI - can't seem to be able to do it. Any idea how? Also want to remove home screen weather widget as weather app only show centigrade.
3. Any idea how to assign sounds to email? Can't seem to find that setting. There is a 'select ringtone' setting under mail but turning it in or off seems to have no effect.
Thanks
Click to expand...
Click to collapse
Apart from launchers, do other apps from the playstore just install?
pretty much everything else has been fine. I am having some problems getting notifications regularly. They don't seem to come with any consistency. I tried moving from the native mail application to the outlook.com application but it was the same - you don't have as much control over battery/notification settings with this ROM as you do with the standard XIAOMI UI.
Phone says it has NFC but I guess it's not activated in the ROM. I haven't had any problems installing any other programs. Just no other launchers/widgets work.
TGUY25 said:
pretty much everything else has been fine. I am having some problems getting notifications regularly. They don't seem to come with any consistency. I tried moving from the native mail application to the outlook.com application but it was the same - you don't have as much control over battery/notification settings with this ROM as you do with the standard XIAOMI UI.
Phone says it has NFC but I guess it's not activated in the ROM. I haven't had any problems installing any other programs. Just no other launchers/widgets work.
Click to expand...
Click to collapse
do you get any errors if you download the apk for nova launcher online and install it?
jkccl9 said:
do you get any errors if you download the apk for nova launcher online and install it?
Click to expand...
Click to collapse
yes it was 504 error code and already applied google Solution regarding this error code but not worked or solve the issue.
TGUY25 said:
Got a magic from China. Beautiful phone running on AT&T with no problems. Have run into a few roadblocks.
1. Can't seem to install any other launchers. Tried many including Nova (my favorite) and they are all giving me a 504 play store error in install. No problems with any other apps but can't get a launcher. Google Now launcher did install but only a few widgets show and none for clock or weather.
2. Tired to add new widgets to standard magic UI - can't seem to be able to do it. Any idea how? Also want to remove home screen weather widget as weather app only show centigrade.
3. Any idea how to assign sounds to email? Can't seem to find that setting. There is a 'select ringtone' setting under mail but turning it in or off seems to have no effect.
Thanks
Click to expand...
Click to collapse
I can't install ANY launcher! did you ever find a fix for this?
Never did and got impatient with the phone and sold it on ebay. The most recent update would never download (kept getting communication errors) which I think had to do with the server in China timing out downloading the file. A great phone but not enough support (even minimally) to work outside China (IMHO)
TGUY25 said:
Never did and got impatient with the phone and sold it on ebay. The most recent update would never download (kept getting communication errors) which I think had to do with the server in China timing out downloading the file. A great phone but not enough support (even minimally) to work outside China (IMHO)
Click to expand...
Click to collapse
You did the right thing man. You can get another phone with more support.
Sent from my Honor 8 using XDA Labs
samanbabah said:
I can't install ANY launcher! did you ever find a fix for this?
Click to expand...
Click to collapse
I checked the log, it seems block all 3rd-party launcher..
06-22 11:52:40.505 29168-29168/? I/dex2oat: dex2oat took 3.715s (threads: 4)
06-22 11:52:40.587 1036-1065/? E/PackageManager: Launcher apk couldn't be installed,Package :com.microsoft.launcher
06-22 11:52:40.607 1036-1065/? I/art: Starting a blocking GC Explicit
06-22 12:02:02.560 1036-1065/? I/PackageManager.DexOptimizer: Running dexopt (dex2oat) on: /data/app/vmdl1315735607.tmp/base.apk pkg=com.google.android.apps.nexuslauncher isa=arm64 vmSafeMode=false debuggable=false oatDir = /data/app/vmdl1315735607.tmp/oat
06-22 12:02:03.880 1036-1065/? E/PackageManager: Launcher apk couldn't be installed,Package :com.google.android.apps.nexuslauncher
06-22 12:02:04.054 1036-1065/? I/art: Explicit concurrent mark sweep GC freed 16740(1027KB) AllocSpace objects, 6(184KB) LOS objects, 5% free, 65MB/69MB, paused 2.289ms total 163.744ms at PackageManager thread CareAboutPauseTimes 1
LakFu said:
I checked the log, it seems block all 3rd-party launcher..
06-22 11:52:40.505 29168-29168/? I/dex2oat: dex2oat took 3.715s (threads: 4)
06-22 11:52:40.587 1036-1065/? E/PackageManager: Launcher apk couldn't be installed,Package :com.microsoft.launcher
06-22 11:52:40.607 1036-1065/? I/art: Starting a blocking GC Explicit
06-22 12:02:02.560 1036-1065/? I/PackageManager.DexOptimizer: Running dexopt (dex2oat) on: /data/app/vmdl1315735607.tmp/base.apk pkg=com.google.android.apps.nexuslauncher isa=arm64 vmSafeMode=false debuggable=false oatDir = /data/app/vmdl1315735607.tmp/oat
06-22 12:02:03.880 1036-1065/? E/PackageManager: Launcher apk couldn't be installed,Package :com.google.android.apps.nexuslauncher
06-22 12:02:04.054 1036-1065/? I/art: Explicit concurrent mark sweep GC freed 16740(1027KB) AllocSpace objects, 6(184KB) LOS objects, 5% free, 65MB/69MB, paused 2.289ms total 163.744ms at PackageManager thread CareAboutPauseTimes 1
Click to expand...
Click to collapse
It's because they blocked 3rd party launchers. You need to install it as system app
Only installable launcher is google
Sent from my NATASHA using Tapatalk
---------- Post added at 01:09 PM ---------- Previous post was at 01:07 PM ----------
TGUY25 said:
pretty much everything else has been fine. I am having some problems getting notifications regularly. They don't seem to come with any consistency. I tried moving from the native mail application to the outlook.com application but it was the same - you don't have as much control over battery/notification settings with this ROM as you do with the standard XIAOMI UI.
Phone says it has NFC but I guess it's not activated in the ROM. I haven't had any problems installing any other programs. Just no other launchers/widgets work.
Click to expand...
Click to collapse
Notifications are disabled by default you'll need to enable it.
Join evaluation experience and update it and you'll get nfc settings
Sent from my NATASHA using Tapatalk
LastStandingDroid said:
It's because they blocked 3rd party launchers. You need to install it as system app
Only installable launcher is google
Sent from my NATASHA using Tapatalk
---------- Post added at 01:09 PM ---------- Previous post was at 01:07 PM ----------
Notifications are disabled by default you'll need to enable it.
Join evaluation experience and update it and you'll get nfc settings
Sent from my NATASHA using Tapatalk
Click to expand...
Click to collapse
Hi, I just got a Magic and not being able to install 3rd party launchers or widgets is killing me. Can someone help with the steps on fixing or installing new ROM? Thank you.
Sent from my HTC U11 using Tapatalk
mlee1999 said:
Hi, I just got a Magic and not being able to install 3rd party launchers or widgets is killing me. Can someone help with the steps on fixing or installing new ROM? Thank you.
Sent from my HTC U11 using Tapatalk
Click to expand...
Click to collapse
You'd need to be rooted in order to install 3Rd party launchers
Sent from my DUK-L09 using Tapatalk

Categories

Resources