Affichage des articles dont le libellé est application. Afficher tous les articles
Affichage des articles dont le libellé est application. Afficher tous les articles

lundi 24 août 2015

Stock Application Remove



Hi guys
I just want to ask your opinion regarding these issue. Is it safe to remove stock apps from system/app or is it more safe to just freeze them using Titanium Backup? If you guy have a list of bloatware to be remove in stock .207 firmware please share. :D



samedi 22 août 2015

Application data usage location in android



Hi all,
I need to know where each application data usage are monitored in android.
I am planning to hack(ethically) by having tie up with that application team.
For that I need this information,
I am able to see UI of each app usage in settings
Watsapp - 2mb
Hike - 5 mb etc
But I need the file where this data are stored.
And is there way to edit that file in rooted mobile.
I don't know whether this is the right place to ask this question but I am sure there are lot of
Brainees are there here.
Thanks in advance.



jeudi 20 août 2015

Unknown error code during application install "-505" on latest version of ZE551ML



When I try to install Modern Combat 5 it gives me this error. I googled it. Google says that Android 5.0 doesn't compatible with Adobe Air. This is a bug which is fixed in 5.0.2. But there are people who have Mc5 installed on their Zf2.

Sent from my ASUS_Z00AD using XDA Free mobile app



mercredi 19 août 2015

Unable to install application



I am unable to install the application "WeChat". I can install and uninstall all other apps except for this one. I can't even recover it from titanium backup or install it using an apk. Google Play store gives me error 504. I've tried all the solutions from Google and none of it has worked. Does Xposed have to do anything with this?



Phone reboots when I try to uninstall an Application



Hello, today I've received my Zenfone 2 wich came with 32GB ROM and 4 GB RAM. I got it from a Chinese website, and suprisenly it comes with Google Apps installed. Even if you make a factory reset. Even the build number says WW. But in the website they say it is a CN version. I think they have flashed it or something!
Anyway, when I installed few apps, and tried to uninstall some of them, my phone kept rebooting. This problem occures when I try to disable an app as well.



[REQUEST] Help creating a new material icon for PNF application



Hi Guys,
Since I'm terrible in graphics, I would like some help in creating a new material icon for my apps PNF root and no-root (LINK)

Any help would be really great. I will obviously credit you.

Many thanks in advance guys!



mardi 18 août 2015

Application not work when lock android



Hi, I am creating an application that plays a song when you press the volume button down, and I would like it to work when the phone is locked, I have searched and can not find anything.
Could anyone help me?
Thanks for all and sorry for my English, I am using Google translator.



Unable to see my application on Android Emulator



Hi, though I am able to launch my eclipse emulator but I am not able to find my application in the emulator and not finding a way to open it, please help !!



lundi 17 août 2015

Request for new android application



Hi,
Can anyone develop and floating button that working the Blackberry sensor button for android phone. Plz.



dimanche 16 août 2015

Battery Saving Application



Hey guys,

I am coming from a Samsung GS2, I know ancient right. I used Juice Defender on my GS2 to shut down data when the screen is off and manage by battery life. I will be upgrading to the GS6 this week and I want to be able to manage my battery life as well. What applications are you guys using and what kind of results are you getting?

Thanks in advance.



samedi 15 août 2015

Application permissions



:confused:Hey guys just have a question or two does anybody know how to enable application permissions in TouchWiz setting??s:confused:



vendredi 14 août 2015

application requires a newer sdk version



I looked at the other threads with this same topic, none of which helped so i'm going to write a post and see where that leads me. the user sitimber made an identical one, still no answers so here we go. I spent 12 hours yesterday attempting to get the newest alliance rom http://forum.xda-developers.com/veri...t-ne5-t2971430 to run, and failed. It threw my phone into a boot loop, i tried it several dozen different ways, including a discussion with rootjunky and he couldn't figure it out either. So i scrapped it, wiped the roms off, and reinstalled from a backup of my original Alliancerom build2 that i had made just before i started tinkering, now anytime i try to install one of a few apps (netflix, fb messenger, and some others) i get the error "application requires a newer sdk version" and for the life of me, i can't find anything online i've been searching for hours and all of it says things regarding updating SDK on a computer not on my actual phone which is of no use to me. Anyone have any thoughts? My best one i've come up with so far is installing Build2 from scratch or just another newer rom.. but otherwise i'm puzzled. I also can't get my phone to 5.0 thus far from trying a few times.



jeudi 13 août 2015

LG Weather Application for Lollipop



Hi,

I'm on castum ROM, and can someone post LG Weather Application for Lollipop ??
LGWeather
LGWeatherTheme
LGWeatherServices
( aplication apk, libraries .so and odex file .odex)

Thanks



mercredi 12 août 2015

Application is not installed on your phone



Hi everyone,

I recently decided to convert some system apps to user apps so that I can greenify them with the free version of greenify.

Most of them were successful except for the following apps:

1. Hangouts
2. Music
3. Internet
4. Play Movies

I used the titanium backup feature to convert them. I did it for a bunch of others and they were all successful.

For the apps above that failed, I no longer see a directory for these apps in both /system/priv-app or data/app. They seem to have vanished?

I still have the shortcuts for these apps in my app drawer / home screen but they are the green android icon and when I click on them I receive the following error: Application is not installed on your phone

Would anyone be able to help me with this issue? phone is SM-G920W8 with android 5.02 rooted with cf auto root and TWRP custom recovery using stock rom.

Thanks in advance.



Want to create Backup & Restore App like Titanium or Application Backup & REstore



I want to create app to backup & Restore APplication,SMS,contacts,MMS,logs, etc... on SD Card plus cloud drive like gmail....
Please help me with the source code or any reference or guide which provide knowledge to build this Application Project..




Thank You in Advance....



[GUIDE] Application for Analysis of the Programs Installed on Android



Author: Apriorit (Device Team)

Permanent link: www(dot)apriorit(dot)com/dev-blog/304-android-package-analyzer

In this article, I will tell you about the process of my research and the results I’ve obtained. I will describe PackageAnalyzer program created as a supplemental tool that displays various data on applications installed in the system. The following is a short summary of its functionality and basic elements implementation.

Research Process. Results

First of all we need to obtain the Android OS source code. The official web-site provides the detailed instruction on downloading the source code from the repository. Following this instruction, I set up the program environment and began the download. At that moment 4.1 was the latest version of the source code available for download. That process took a while, as the overall size of the data received was nearly 15Gb.
What should we begin with? How to find a way to analyze such a volume of data under tight schedule…
It is a well known fact that programmers are rather lazy, which prompts them to optimize their work process in various ways, and I wasn’t an exception to the rule. I came up with an idea how to ease this process a little bit by creating a program that would scan all installed packages and display the information I need, namely activities, services, broadcastservices. What’s the point in it? Firstly, it provides arranged information on packages, which allows to outline those that are of a particular interest to me. But you cannot always define the activity purpose by its name. That’s why I modified the program by adding a function that allows you to run a separate activity from the acquired list.

As the result I outlined the list of Android system applications that might be of a special interest:

• com.android.browser
• com.android.contacts
• com.android.development
• com.android.email
• com.android.mms
• com.android.phone
• com.android.settings
• com.android.packageinstaller

The next step was the research itself.

What should I look for and pay special attention to? As we know, activity is launched with the help of Intent. To do this, we need to call the startActivity(Intent) or startActivityForResult(Intent,int) method, if we expect to obtain certain result, and pass to it the Intent we’ve already created. Intent is a kind of a package, which a sender fills with various data and sends to the recipient (activity) for analysis. Therefore I was tasked with identifying the activities capable of executing the instructions set in Intent, which are not described in the Android manual.
Activity life cycle begins with onCreate() method. In most cases, exactly this method extracts the data included into Intent. The getIntent() method is used for this purpose. Hence, equipped with Far, I started searching for classes with included getIntent() with further research of what happens inside of each class, what data is extracted from Intent, and for what purpose it is used. Using this algorithm, I went through each system package, which was planned to be researched.

Unfortunately, I couldn’t find any hidden possibilities in the system packages of Android OS. Perhaps, it happened due to shallow application research, for which I didn’t have much time, that didn’t allow me to go deep into the features of each application. But negative result is a result after all. I am sure that Google programmers did a great work to eliminate system vulnerabilities by the release of new Android OS – all loopholes, which I was trying to find, were covered.

Program Part. Package Analyzer


As I mentioned earlier, I created the PackageAnalyzer Android application that was mainly tasked with collecting and displaying various information on installed applications. Besides, additional service that checks the requested permissions in newly installed applications and warns about the potential danger was added to the program functionality.
Functionality

• Acquiring the list of installed applications;
• Acquiring the list of Activities, Services, Broadcast Receivers, Permissions;
• Launching a separate activity from the list;
• Notifying about potentially dangerous permissions used by the application;
• Service. Tracking the applications being installed and checking the permissions they request.

Appearance

The user interface consists of two activities.
When launched, the program acquires the list of all installed packages and displays it in the main activity. After a package from the list is selected, the second activity is launched. It displays the detailed information on the internal package components (activities, services, receivers, permissions).
In the “Activities” section, you can initiate the launch of any component from the list by clicking it. In this case, an attempt to launch it with the help of Intent will be made. If everything goes smoothly, the selected activity is displayed on the screen. But not all activities can be launched this way, as an attempt to acquire certain data from Intent that initiated the launched is made in many of them, in onCreate() method, and if some data is not actual or wasn’t found, the activity cannot be launched.
Any Android application requires a permission to perform an action. The list of requested permissions is displayed to a user before each installation. That means that in theory it allows a user to make himself secure against malicious software getting into a phone. But practice shows different results: most users simply do not pay attention to this list. This gives malicious software the opportunity to get into the phone and use the user means as it wants.
That is why the ScannService service was added to PackageAnalyzer program. Its main task is to check the permissions requested by new applications and to inform a user in case any potentially dangerous permissions are detected. Such permissions would include: sending and receiving SMS, making paid phone calls, access to your location, access to personal data (contacts, emails), and so on.
The permissions are checked for new applications, as well as for already installed ones. This check is performed at the PackageAnalyzer launch. Depending on the permissions requested, the indicators in are displayed in the main activity and in the Permissions section in one of three states.
Risk level:
- high;
- middle;
- low.
If a user allowed malicious software to be installed, ScannService shows the corresponding notifications and plays a sound signal.

By clicking the notification, you launch the activity with detailed information on the package. You can start/stop this service by clicking the button on the main activity.
The ScannService registers two BroadcastReceivers at launch. The first one gets the notifications on newly installed applications and initiates the check, and the second one starts the service in case of a mobile device restart.

Implementation

Information on installed applications is located in PackageManager, which can be acquired from the context:


Code:


1        PackageManagerpackageManager = context.getPackageManager();

We acquire the list of installed packages:


Code:


public List<String> getInstalledPackagesList()
{
    List<String> list = new ArrayList<String>();
    List<PackageInfo> packageInfoList = packageManager.getInstalledPackages( 
        PackageManager.GET_ACTIVITIES );
for( PackageInfo packageInfo : packageInfoList )
    {
        list.add( packageInfo.packageName );
    }
return list;
}


We acquire the list of activities located in the indicated package:


Code:


public List<String> getActivities( String packageName )
{
    List<String> list = new ArrayList<String>();
try
    {
        PackageInfo info = packageManager.getPackageInfo( packageName, 
PackageManager.GET_ACTIVITIES );
for( ActivityInfo activityInfo : info.activities )
        {
            list.add( activityInfo.name );
        }
    }
catch( Exception ex )
{
        ex.printStackTrace();
}
return list;
}


We acquire the list of services, receivers, and permissions the same way by passing the corresponding parameter to:


Code:


getPackageInfo(): GET_SERVICES, GET_RECEIVERS, GET_PERMISSIONS

BroadcastReceivers are declared with android: enabled="false" parameter in AndroidManifest.xml file, as by default the service is stopped. The receivers are inactive until a user launches the service. The components activity state is changed in the following way:


Code:


publicintonStartCommand( Intentintent, intflags, intstartId )
{
    setComponentEnabled(true, PackageInstalledReceiver.class );
    setComponentEnabled(true, OnBootDeviceReceiver.class );
...
}
publicvoid onDestroy()
{
    setComponentEnabled(false, PackageInstalledReceiver.class );
    setComponentEnabled(false, OnBootDeviceReceiver.class );
...
}
privatevoid setComponentEnabled(boolean enabled, Class<?> clazz)

int state = enabled ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED
            : PackageManager.COMPONENT_ENABLED_STATE_DISABLED;
    getApplicationContext().getPackageManager().setComponentEnabledSetting(
new ComponentName( getApplicationContext(), clazz ), state, 
    PackageManager.DONT_KILL_APP );
}


It is necessary to check the activity of the service at program launch. To do this, you need to acquire the list of all started services and perform a search in it:


Code:


publicstaticboolean isServiceRunning( Context context, String serviceClassName )
{
    ActivityManager activityManager = (ActivityManager) context.getSystemService(
        Context.ACTIVITY_SERVICE );
    List<RunningServiceInfo> services = activityManager.getRunningServices(
        Integer.MAX_VALUE );
for( RunningServiceInfo runningServiceInfo : services )
    {
if ( runningServiceInfo.service.getClassName().equals( serviceClassName ) )
        {
returntrue;
        }
    }
returnfalse;
}


Summary

In conclusion, I would like to note that although I didn’t obtain any results after searching for hidden possibilities of Android system applications, I created an application for analysis of programs installed on a mobile device, which can be used in the future. The functionality of the program can be extended to obtain more detailed information on applications, as well as to provide security (detection of malicious software and so on).

All articles, code pieces, example project sources and other materials are the intellectual property of Apriorit Inc. and their authors.
All materials are distributed under the Creative Commons BY-NC License.



Root works but no root application



Hello,
After upgrade my nexus 7 from 4.4.4 to 5.1.1 with nexus toolkit all application needs root works perfect, but no root app (e.g. SuperSU or Superuser) appears in menu. I installed SuperSu from TWRP recovery but Application list in SuperSu is empty and all apps needs root works without showing message to allow or deny root access.

How can fix it?



Help me get Heart Rate data [OpenFit: Open source Gear Fit application]



Hello everyone, I am the developer of OpenFit a alternative to the Gear Fit Manager as it doesnt run officially on non-samsung roms. I have implemented various features (see the original post for feature list) and I am at the point where I want to attempt getting heart rate data. I am on CM and cannot use S Health. I was wondering for those who have used S Health with touchwiz, does the app show you heart rate? and pedometer etc? If it does I think I may be able to reverse engineer it, I just need the raw BT data. for this I would need someone who is able to run S Health and log BT data. In CM its under Settings>Developer Options>Enable Bluetooth HCI snoop log . This will capture all the BT traffic between the phone and gear fit.

If anyone is able to do this, please comment below. I would like to reverse engineer this and have it able to sync with google fit, and other fitness apps.

Requirements?:
  • Stock Samsung Rom with S Health

  • Root?


Please check out my app and my progress of OpenFit. Download available: http://forum.xda-developers.com/gear...ation-t3005697

I am also thinking of releasing it on the Google play store. thoughts?



mardi 11 août 2015

[GUIDE] Enable App Ops (Application Permissions)



While looking around at the decompiled SecSettings2.apk, I noticed that all of the App Ops (application permissions) stuff was still present. So, I decided to look for a way to enable the Settings menu option for Application Permissions.

The xml files all seemed to have the entries required to display the option, but the smali code was preventing it.

Note that there are apps in the store that will give you this feature, but this method doesn't require an additional app and it uses the built-in settings menus.

I have not tested every permission, but I did disabled "location" for several apps and that worked perfectly.

This is an easy mod if you know how to decompile/recompile.
  1. Decompile the deodexed SecSettings2.apk.

  2. In the smali folder, navigate to com\android\settings\LockscreenMenuSettings.smali

  3. Do a search for the following line:


    Code:


    iget-object v14, v0, Lcom/android/settings/LockscreenMenuSettings;->mAppOpsSettings:Landroid/preference/Preference;


  4. Just after the first instance of that code, you will see:

    Code:


    if-eqz v14, :cond_d


  5. Change it to:

    Code:


    if-nez v14, :cond_d


  6. Save and recompile.

  7. You will find the "Application Permissions" menu under the "Lock screen and Security" settings menu.


Disclaimer: This is intended mainly for rom devs to use, but if you like making your own mods, then feel free to give it a try. I take no responsibility for any modifications you make to your device. Always ensure that you have the required files to restore if something goes wrong.




lundi 10 août 2015