Android sign app as system app - Android General

Hello, I have a question, I already read like 20 Threads on here and still haven't found a solution.
I have developed an android application that only gets installed on selected devices (for example the Google Nexus Player (fugu)). The app relies on root permissions, currently I am using a rooted device with su, but I want to build it properly. I don't want to publish the app in the playstore, but is it possible to sign the application as a System Application with sharedid="uid.system" ? If so , how can I do that ?
Regards

Related

[Q] App missing from market after upgrade to ICS

Hello
I have jus upgraded my Nexus S to ICS OTA (manually) and cannot install application that I own. It cannot be found in phone's market and on the page in my desktop computer it says that this app is incomatible with my Samsung Nexus S. Can sth. be done? I have bought this app, this is crazy that I cannot use it!
When i updated to ICS i couldn't find ES File Explorer in market, no idea why not. However from memory i fixed it just by googling the name and clicking on the market link, then opening it with the market app (option pops up). Alternatively, the market now has a sync feature, click install on your computer browser and it will "send" it to your phone (ie. download it from market automatically).
Mic43 said:
Hello
I have jus upgraded my Nexus S to ICS OTA (manually) and cannot install application that I own. It cannot be found in phone's market and on the page in my desktop computer it says that this app is incomatible with my Samsung Nexus S. Can sth. be done? I have bought this app, this is crazy that I cannot use it!
Click to expand...
Click to collapse
That's not Google's fault. The developer of your app restricted it based on android version number. Complain to the app developer.
App author needs to update version and possibly updates it for ICS compatibility. Not ICS fault. Here's a workaround: if you have another Android device that can install the app from the Market, extract the app apk using Astro (app backup), copy the apk to your phone's sdcard, and manually install it.
Sent from my Nexus S using XDA App
Not app's fault
I had this happen with a bunch of apps on my Optimus V and I really don't think it's the devs' fault. I was looking through Tripit's androidmanifest.xml file and there are no device restrictions (besides SDK minimum of 3). Also when I try to install them manually, I just get "application not installed". It's driving me batty, I might have to downgrade.

[Completed] Energizer400 MTK6572 security chinese virus on it

hello,
I have a problem on my smartphone enrgyser400 some app install alone and i can't use it .... impossible to destruct and desinstall malware app.... and i try to root to desinstall but now the app convert in system app ... it's very strange after reset the app come and on the screen i little hand (disign like a cartoon) appear and after, install a lot of app like Apus - weather - chines sex app - memory ? .... i think in the system app, the app "Antcore+" and the app "documents" are the origin of the problem and it's worse when i use google play ... i try toconvert in normall app by root and desinstall it but it's the same after reset and now impossible to keep the root access when i reset the phone and no google play so i try with Fdroid to search app for moving the malicious system app to normal but it's impossible .... i have to reinstall root trying withCWM and find a custom ROM.... but i don't know how i can do this because no google play now.....
Thanks for idea
sorry for my english i'm french
Thread closed Op reposted
http://forum.xda-developers.com/showpost.php?p=68354586&postcount=13

Bluestacks + Android Device Policy app

Hi, I'm trying to run the Android Device Policy app on Bluestacks so I can manage the device by https://enterprise.google.com/android/experience/overview.
However for some reason the app cannot complete its set up and it shows an error: "Your System cannot be managed by this app. Please contact your administrator."
I have tried to root and allow all the permission to the app, but it still does not work.
Any suggestion?
Regards,
I had encountered this problem previously, and after a deeper Google search found out that there is a way to make this work.
Don't try to apply the policy through the Android notification
Open Play Store
Search for Android Device Policy
Install it
Open it
Set your lock screen if requested in the Policy app
Once complete, your device should be registered and able to sync.
NOTE: I only have tried this on the new Beta 5 version of BlueStacks. It worked great.
HTH

How to Take App Backup and Install in New Phone / Emulator, Without losing Login Data

I am using LD Player and have installed older version of an App (I have the old standalone app saved in my PC) ,
I dont want newer version of the App as some features are blocked by the app owner in the new versions of the app.
I want to move the App along with its login credentials and app data to a new PC and emulator.
Even if I install the old standalone app and login , the website running the app has managed to restrict the functionality
same as in the Newer Version of the App and also restricting to load the app completely,
which provided easy access to me as a user in the order version.
Please suggest some way to get this done... I will be very grateful to you guys..

Multi-Users on Android

I have setup multiple users on my device (even though I am the only one using my device) and things are not working perfectly, or the way I want it to.
The issue is primarily with side-loading apps on secondary users.
Even though the multi-user environment appears to be completely isolated, that is not completely true. An app can be installed on the device only once. When installing the same app for different users, app installation happens only the 1st time. What happens during subsequent installations is simply creation of a separate data folder for each user. That is why one can't install different versions of the same app for different users. Installation would always fail if such a thing is attempted, unless the newer installation is an update to the app version already installed on the device (in which case all users with the app installed will see the same updated version).
When side-loading, some apps just fail to install in secondary users. Does anyone have an idea as to what could be possibly wrong? These are free apps (often downloaded from Google Play Store), so there is no license verification issues. This can happen irrespective of whether the particular app is already installed for another user or not.
Is this a bug with the whole multi-user feature or is there something that needs to be done to get this working?
I have tried this on three different devices (rooted as well as non-rooted), running on Android 8, 9 and 11. They all seem to have similar problems. Some apps install, and some don't. Is this an Android problem or an app-related one?
Please note that apps that fail to install in secondary users, install and run perfectly fine on the main/ primary user. So this isn't an Android version compatibility issue, but one related to the multi-user feature of Android.
Thanks.
Look inside here:
Building Multiuser-Aware Apps | Android Open Source Project
source.android.com
jwoegerbauer said:
Look inside here:
Building Multiuser-Aware Apps | Android Open Source Project
source.android.com
Click to expand...
Click to collapse
Thanks for the link. I was almost tempted to believe that the problem could be with the apps not supporting multi-users. So I did this to test:
I created 2 secondary user accounts.
On one, I signed in with my Google account and installed some apps from the Play Store. I copied their APKs.
On the other user, I did NOT sign in with any Google account. So I can't access Play Store. I tried sideloading these APKs. Some got installed, and some didn't.
Are these apps (that failed to install) somehow dependent on Google Play Store for installation? The fact that they installed on the user who signed in with a Google account means that they support multi-users. So we can rule that out.
I tried MiXplorer and it successfully installed on both users.
jwoegerbauer said:
Look inside here:
Building Multiuser-Aware Apps | Android Open Source Project
source.android.com
Click to expand...
Click to collapse
I think I have figured out the problem.
Apps that refused to install were actually Split APKs, and I was trying to install the base apk file extracted using a file manager.
Backing up the App Bundles for such apps using SAI and installing them worked perfectly.

Categories

Resources