[Q] app respawn mode : where is the conf file ? - Galaxy 3 Android Development

hello,
This is a question for android experts :
I'd like (very much) to know where Android puts the informations about app respawn mode.
In Unix/linux it's in /etc/inittab ... but in Android ?
The main app is boring me is MAPS ! It doesn't start at boot neither on connectivity change or whatever because I'm using Autostarts to block it. But when I launch it, use it and kill it ... it appears again and again, using a significant part of the galaxy 3 small ram ...
So, Maps (and others app too) is configured as a respawn app and I'd like to change this ... it's irritating me !
i've been googling this and didn't find anything about android's respawn functionality.
thanks !
[EDIT: Long tap on Maps in Android Task Manager offer the possibility to open the InstallerManager. Tap on "Force stop" in the InstallerManager stops Maps and it doesn't restarts ... so, perhaps it's not a question of respawn mode ... ] -- This solution is not easy, I'd like to know how this works !

Android uses Intents.
If an app or service calls the Intent getLocation it opens maps

Thanks for this info !
But when this appens I'm running with very few services and no apps and with no connectivity available ... so which service/app is asking for my position and why ? In "settings" the option "get my position by carrier" is set ... it can be that ... I'm going to investigate a little bit more ...
Also, if it works this way, why Maps doesn't restarts after taping "force close" in the InstallerManager ? This means some information is set somewhere to tell the system that Maps is no more available for automatic start (If I tap on maps it starts) ... Strange stuff !
[EDIT : Settings.apk is calling maps: if I run maps then unselect "get my locatin by carrier" and kill maps it doesn't restarts ! But so, is there a way to tell the system "Starts Maps only when I tap on it ??? And one more strange thing : all my maps autostarts events list are off (using autostarts and gemini app manager) : so, why it restarts after getting started once time and do not starts at logon (Settings is running at logon) ?? ]
Pfff ... not easy to understand ...

yeah, that would be interesting where to find this settings.
But in other cases freeze the app with tb and/or use a program specific taskkiller.

Today I launch maps ... "use carrier for location" was disable in Settings ... and maps respawn after killing it ...
Grrrrrr ....
Nobody knows how this çàçà)ç_'(&é"(è works ?

Related

[Q] Why Latitude (or Maps) is always open in background?

Hi, I have EVER latitude opened in background, I can kill with "android assistant" app, but in a few seconds will appear again, and not only 1 instance it opened 3 or 4 and consume about 25% of CPU and 15mb of RAM.
I sign out of latitude, I clear cache of level 2, but.. Latitude continue there.
I'm using kirillos 9.3 Rom, and G3MOD kernel 2.2.2, so I don't know if I have to ask here so I don't know if it is a problem with ROM, kernel, maps or froyo.
Hmm, there s an app by which you can stop this. It Autostarts. Then you can force the latitude/maps not to start automatically. Search in google you ll get it.
I google it for hours, so I don't find a solution, can you explain me how to do?
Thanks.
try the app: autorun manager
I tried some days ago, it can't solve the problem.
This app, is a task killer, and also can to stop the autorrun. But this is not a solution. I want to use maps on some times, it is usefully but, i don't want to have it in background when I don't need!
I see in onthers androids phones that don't have so many instances of latitude, I have EVER 3 or 4, and when I kill it it will restart in a few seconds.
I read over internet that is a commun problem, but I don't see a solution
Napalm Candy said:
Hi, I have EVER latitude opened in background, I can kill with "android assistant" app, but in a few seconds will appear again, and not only 1 instance it opened 3 or 4 and consume about 25% of CPU and 15mb of RAM.
I sign out of latitude, I clear cache of level 2, but.. Latitude continue there.
I'm using kirillos 9.3 Rom, and G3MOD kernel 2.2.2, so I don't know if I have to ask here so I don't know if it is a problem with ROM, kernel, maps or froyo.
Click to expand...
Click to collapse
^Not sure that it'll fix the problem, but you can definitely give it a shot!
Open Latitude -> Menu -> More -> Settings -> Location Reporting -> and select "Do not update my location".
I do "do not update my location" and Exit of latitude, but not solve the problem. The four instances of Latitude are in background loaded
Can you take a look on your phones with "android assistant" or similar app if already have latitude loaded in RAM?
I think it's because some 3rd party apps require location like Facebook etc... and Facebook is always open to receive push notifications.
So, it is possible to know what applications are using maps?
I don't have facebook installed. But have Viber and Whatsapp

[Q] Direct link to My Apps in Play Store

Hi,
I'd like to have a direct link from my home screen to 'My Apps' in Google Play Store. Is this possible?
I did not find this feature in the app. Also AnyCut does not provide this link.
Thanks!
Hm tried a bit but failed, since ICS market interface is using fragments theres is no longer a special activity to be started.
You can launch the main market page with "com.android.vending.AssetBrowserActivity" as Intent, i could not get the "My Apps" to be displayed automaticly.
Maybe someone else has an idea.
It is obviously possible, as the Update notification takes you directy to that "My Apps" page hm...
Thanks mate. I guess it's not planned to take the abbreviation and bypass the suggested applications....
Hey guys, I decompiled the play store app and looked for the Intent, the notification produces. Here it is (modified to be used in any app):
Code:
final Intent i = new Intent(
"com.google.android.finsky.VIEW_MY_DOWNLOADS");
i.setComponent(new ComponentName("com.android.vending",
"com.google.android.finsky.activities.MainActivity"));
i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(i);
Thanks...but how can I use this intent in AnyCut? I think I tried all variants you mentioned...but I always get the error that this intent does not exist?!
Don't know this app, easiest thing would be writing your own app real quick.
Well, in the end it just generates a link on the home screen: https://play.google.com/store/apps/details?id=com.appdroid.anycut&feature=search_result
I try to cut down the number of apps to keep the device alive... ;-)
I had the same request for long time and Thank you Cypressious for putting me on the track for the solution.
Solution with QCustomShortcut
edited : market link removed because i have not ability to post link, anyway you will found it easily in market
easy way because it have buttons for custom search in all cases ... , i tried many other apps with no success ...
Sortcut Name : what you want
Action : com.google.android.finsky.VIEW_MY_DOWNLOADS
Package : com.android.vending ( choosed in list )
Class : com.google.android.finsky.activities.MainActivity ( choosed in list )
icon : i kept "google play" proposed ( but you can choose another )
you can click the "Test" button before create link
when finish and working, click button "Create Shortcut" ( this button is hidden by an add, but the add go hidden when you click on it, bad thing in this app, but i agree and understand author ... )
hop
jimi27 said:
I had the same request for long time and Thank you Cypressious for putting me on the track for the solution.
Solution with QCustomShortcut
edited : market link removed because i have not ability to post link, anyway you will found it easily in market
easy way because it have buttons for custom search in all cases ... , i tried many other apps with no success ...
Sortcut Name : what you want
Action : com.google.android.finsky.VIEW_MY_DOWNLOADS
Package : com.android.vending ( choosed in list )
Class : com.google.android.finsky.activities.MainActivity ( choosed in list )
icon : i kept "google play" proposed ( but you can choose another )
you can click the "Test" button before create link
when finish and working, click button "Create Shortcut" ( this button is hidden by an add, but the add go hidden when you click on it, bad thing in this app, but i agree and understand author ... )
hop
Click to expand...
Click to collapse
Tried it. Actually it opens the "my apps" page, but after less than a sec the screen turns back to the annoying main Google play page.
Any other solution?
now i use last version of tasker
and i made a task :
Misc / Send intent
and i set like that :
Action
com.google.android.finsky.VIEW_MY_DOWNLOADS
Cat
None
Package
com.android.vending
Class
com.google.android.finsky.activities.MainActivity
Target
Activity
i put on a button in a scene, but you can do a shortcut on desktop with this task.
jimi27 said:
I had the same request for long time and Thank you Cypressious for putting me on the track for the solution.
Solution with QCustomShortcut
edited : market link removed because i have not ability to post link, anyway you will found it easily in market
easy way because it have buttons for custom search in all cases ... , i tried many other apps with no success ...
Sortcut Name : what you want
Action : com.google.android.finsky.VIEW_MY_DOWNLOADS
Package : com.android.vending ( choosed in list )
Class : com.google.android.finsky.activities.MainActivity ( choosed in list )
icon : i kept "google play" proposed ( but you can choose another )
you can click the "Test" button before create link
when finish and working, click button "Create Shortcut" ( this button is hidden by an add, but the add go hidden when you click on it, bad thing in this app, but i agree and understand author ... )
Click to expand...
Click to collapse
.
It works perfectly well in KitKat.
.
Thanks!
jimi27 said:
now i use last version of tasker
and i made a task :
Misc / Send intent
and i set like that :
Action
com.google.android.finsky.VIEW_MY_DOWNLOADS
Cat
None
Package
com.android.vending
Class
com.google.android.finsky.activities.MainActivity
Target
Activity
i put on a button in a scene, but you can do a shortcut on desktop with this task.
Click to expand...
Click to collapse
Thanks for the quick tip. I was able to take this task and assign it to a Nova swipe action for the Google play shortcut on my main screen. Exactly what I wanted.
1) Go to app manager and find play store
2) Disable play store (do not delete data or cache
3)Now in you browser go to play store
4) Sign in and go to my apps
5)Then crate bookmark to your homescreen (Uc browse has this feature but I don't know about others)
6)Now Enable play store again
Click The lick on your homescreen (which you have crated in 5.
enjoy
Hit thank if it help you
FYI, the Xposed module Play Store Changelog now includes the option of going directly to "My Apps" when launching the Play Store.
No
It's impossible...
Tasker solution works in Android 5.0 Lollipop.
Or just download from the Play Store "Shortcut to My apps". Just an "app" or widget, no rights needed, only 20kb.
Searching in 2019 I found this thread.
These days in a launcher like Nova, you can long-press on the Google Play icon to reveal list of shortcuts, then select MyApps and you have a shortcut to MyApps on your homescreen. ...
....But that is still not enough for me, I want to be able to do it with Tasker. Auto-shortcut doesn't show any shortcuts for this function. Intents probably would have worked but I didn't try them. I could've used MC's idea for an app, but I had a hesitation to install an app. here's where I landed instead, inspired by Killwish's approach.
1- Browse to playstore on PC (while logged into your google account, in my case using chrome).
2 - Select Apps (LHS). Select MyApps (LHS).
3 - Click "all apps" (accross the top), which reveals a list of devices associated with that account. Select the device you're interested in
4 - Copy the URL from chrome browser. Transfer it to phone (you can mail it or find some other convenient way).
5 - Use tasker browseURL command
electricpete1 said:
Searching in 2019 I found this thread.
These days in a launcher like Nova, you can long-press on the Google Play icon to reveal list of shortcuts, then select MyApps and you have a shortcut to MyApps on your homescreen. ...
....But that is still not enough for me, I want to be able to do it with Tasker. Auto-shortcut doesn't show any shortcuts for this function. Intents probably would have worked but I didn't try them. I could've used MC's idea for an app, but I had a hesitation to install an app. here's where I landed instead, inspired by Killwish's approach.
1- Browse to playstore on PC (while logged into your google account, in my case using chrome).
2 - Select Apps (LHS). Select MyApps (LHS).
3 - Click "all apps" (accross the top), which reveals a list of devices associated with that account. Select the device you're interested in
4 - Copy the URL from chrome browser. Transfer it to phone (you can mail it or find some other convenient way).
5 - Use tasker browseURL command
Click to expand...
Click to collapse
You could also try this app:
https://quickshortcutmaker.en.uptodown.com/android
It can create shortcuts to individual services in various apps.
Sent from my LGL84VL using Tapatalk
jimi27 said:
now i use last version of tasker
and i made a task :
Misc / Send intent
and i set like that :
Action
com.google.android.finsky.VIEW_MY_DOWNLOADS
Cat
None
Package
com.android.vending
Class
com.google.android.finsky.activities.MainActivity
Target
Activity
i put on a button in a scene, but you can do a shortcut on desktop with this task.
Click to expand...
Click to collapse
How do I make this work in 2023? When running in Tasker nothing happens.

Honor 8 - EMUI 4.1 - Chrome notifications

Hello,
Is anyone on Honor 8 / EMUI 4.1 able to get chrome notifications?
I've been checking Chrome settings and found nothing wrong, expect for the fact I don't seem to be able to add chrome to the list of apps that can ignore battery optimization, since it is not listed. I'm not sure if this is the reason though.
Please share your ideas / suggestions.
RM
It's because Chrome is a system app already so it is by default protected. Except it doesn't even work correctly probably because of their ram management, which kind of make this phone useless for receiving notification for me.
I tried adding Google Clock and S-Health to protected apps and also lock it in the "recent apps" menu, they still get forced close and the alarm didn't ring or it stopped counting steps.
I haven't used EMUI5 yet to know if it's fixed.
Hello!
Solution found! The hint (system app) of the previous post made me try this:
1-Uninstall Chrome (using TiBu - root needed)
2-Reinstall Chrome from Play Store
3-Configure settings to allow notifications from wanted pages
4-Add Chrome to the list of apps that can ignore battery optimizations
So far it is working as expected...
About the other notification issues I've faced before (Google Keep, WhatsApp,...) I've solved it after enabling "keep mobile data on when sleeping", besides adding the app to the ignore battery optimization list, of course.
RM
I have found that same exempt setting as well, unfortunately Chrome isn't in the list so I guess that's why you have to root to remove it first and readd it as third party app for it to show up.
To much effort to just get notification working, a basic feature of all phones and risk losing warranty and Android Pay access.
To make it clear for others:
1. add the app to the Protected apps list (settings - advanced settings - battery manager - protected apps).
2. go to settings - apps - advanced - exempt from battery optimization - select the drop down list and and select "all apps" - find your app and set it to allow.
Huawei programmers must have pride themselves in putting settings inside convoluted maze that's impossible to find.
You might also want to add Settings - Advanced Settings - Battery Manger - Upper right gear - keep mobile data on during sleep.
I second you about this kind of maze that we must run to just have notifications, but, on the other hand I'm kind of OK with it, as soon I can find a way to solve matter!
RM

[FRP] Various Ways To Navigate FRP Bugs / Bypasses / Workarounds In Android OS

[FRP] Various Ways To Navigate FRP Bugs / Bypasses / Workarounds In Android OS
I am taking notes on the FRP bypasses I "freestyle" to find things out on my own.. potential new ways into areas of Android needed for successful FRP bypass and some just for fun. I encourage anyone who does this for whatever their reason to post to this thread if you want to share some of your methods. We all know hardware rules everything anymore but personally I have always had a nack at finding bugs / vulns / exploitable vulns since I was young. These are basically FRP workarounds if you want to call them that and are quite easy to come across. Below are some of the areas I have came across that ended up in taking me places that could be beneficial to completing a FRP Removal. These should be known to most everyone as they are basic areas of the Chrome browser. I just never thought about putting them to use in FRP situations until now. I have other workarounds and bugs I have found non Chrome related i will add later.
Below are just my notes crammed together. I will add to this much more when i've the time.
Android 7.0 - Tested on a Boost Stylo 3 Phone during manual FRP removal.
These are all through Chrome Browser. All should be pretty much known to most if you have dev'd / reverse any or just plain want to know wtf all goes down in Chrome.
*goto chrome browser*
chrome://chrome-urls/
then
chrome://bluetooth-internals
left 3 lines (menu)
devices
start scan (may be enabled on some devices - though I doubt it due to protection)
*more ways to get out from chrome into various apps / settings etc*
chrome://chrome-urls/
goto - chrome://net-internals/#hsts - under "Expect-CT" click the link https://tools.ietf.org/html/draft-ietf-httpbis-expect-ct.
click on pdf - this will take you to downloads (dont set a default reader)
click on mail - this takes you to gmail
*google maps*
chrome settings
site settings
location (enable) -> then enable all settings -> and press location (turn on) -> then under location services google location history then top right view/manage - now youre in maps... hit back and youll be taken to maps and from here if you want out from here hit the top left start navigation and say ok google then w/e.. chrome, settings etc (yes i know you can get to maps by clicking maps in google search.. just bringing up alternate ways of getting places that may help in the future in the event other methods are blocked..) then you will be into google maps - you only get this chance once after its all enabled you will have to hard reset and go back through chrome to get here or reset permissions and revoke location for chrome etc
*microphone*
then special access -> phone administrators -> enable/disable phone admins
then special access -> modify system settings -> turn off the ability for certain apps to read/write to the system (could this be another easier way instead of forcing stop / disabling apps ? These settings may not effect much...
then your all permissions -> location permissions -> location (turn on) then under location services google location history then top right view/manage -> now youre in maps.. hit back and youll be taken to maps (yes i know you can get to maps by clicking maps in google search.. just bringing up alternate ways of getting places that may help in the future in the event other methods are blocked..) out from here hit the top left start navigation and say ok google then w/e.. "open chrome, open settings etc -"
chrome://flags -> contextual search settings.. -> enable the physical web...
(as deep as i went so far)
and others that could be of use somehow sometime eventually
chrome://
from settings back out to google chrome
goto apps then youtube then settings then history and privacy then youtube terms of service -> out to web

Google map location share - battery optimization kills result

I set location share in google maps in my son's smartphone (galaxy a5 with LOS 17.1). What I did :
1. maps has an opened firewall for wifi and lte in AfWall+, lte modem and mobile data is always active in this phone
2. maps is excluded from xprivacylua (nothing blocked)
3. maps has all permissions granted in the build in adnroid setting manager
4. maps has rights to auto start and run in bacground
5. maps is on list with no battery optimization
The sharing location works good after use of smartfon and some time after it.
When it is not used , android optimises itself , own services and apps for better battery work and location share is not updated .
Do you know which service , app or something else I have to add to list of apps without battery optimization for updating and share location all the time ?
Using power management will cause erratic behavior more often than not.
2x post
Default configuration of android is power management for all in the system except some . I added maps to the exception list.
Do you suggest to add all applications , user and system, to exception list ? Very sophisticated idea. Maybe is a different way ?

Categories

Resources