android-firmware

How to obtain Firmware version of Android programmatically?

拥有回忆 提交于 2020-01-15 05:05:31
问题 The following screenshot of a generic tablet shows an example of Firmware version: We have tried pretty much everything of Android Build, none of them is the firmware version. 回答1: Firmware is the operating software available on an Android device, and it is available in different versions designed by different manufacturers. Basically it's the device-specific part of the software. For example, you may have Android 4.2.2 running on your phone, but have a firmware number that looks completely

Read Modem Firmware Version : Android

早过忘川 提交于 2019-12-23 03:42:11
问题 I am working on an application which is in iPhone and Android, where I need to read Modem Firmware Version as iPhone developer does in his side. I searched on Internet/SO but couldn't find anything related to my problem. Is it possible to read Modem Firmware Version in Android? If not what should be equivalent to that? (We read this attribute and more for keeping track of a device) 回答1: As nandeesh said to use baseband version at the place of Modem firmware, he didn't provided any source code

Android Marshmallow, “dangerous” protection level and system components/apps

喜欢而已 提交于 2019-12-20 10:06:06
问题 I'm developing an application that going to be pr-installed (as a system app) on the firmware. from the documentation so far about the relation between system apps, new permissions model, and the protection levels - I don't understand exactly when system app needs (if at all) to request user permission. My problems starts when I try to use the WRITE_EXTERNAL_STORAGE permission. from the documentation I can see that it marked as "dangerous" permission. - does "dangerous" permissions grant

Android firmware image components explanation

走远了吗. 提交于 2019-12-13 00:23:07
问题 Consider unpacking an android firmware image made for a Media box using for example the C code in this post or by 'Amlogic customization tool'. When I use the compiled C code with an android 7.1 image, I get these files: _aml_dtb.PARTITION aml_sdc_burn.ini aml_sdc_burn.UBOOT boot.PARTITION bootloader.PARTITION DDR.USB logo.PARTITION manifest.xml mesonl.dtb platform.conf recovery.PARTITION system.PARTITION UBOOT.USB Excluding some minor config files here, I know each of these images are a

procedure to add custom device in AOSP device folder

孤人 提交于 2019-12-12 03:39:43
问题 I know this question has been asked before but I wanted customize according to my problem so, 1. I am new to adding this custom board to AOSP target devices. 2. I have the kernel and necessary modules compiled now please guide me to link it with my device folder in AOSP devices list. 3. I know the basic .mk files to be created in device folder and I have created, but not sure if it is rightly done. Android.mk,AndroidProducts.mk,BoardConfig.mk,myproduct.mk,vendorsetup.sh. 回答1: First you need

Android Marshmallow, “dangerous” protection level and system components/apps

我怕爱的太早我们不能终老 提交于 2019-12-02 19:40:06
I'm developing an application that going to be pr-installed (as a system app) on the firmware. from the documentation so far about the relation between system apps , new permissions model, and the protection levels - I don't understand exactly when system app needs (if at all) to request user permission. My problems starts when I try to use the WRITE_EXTERNAL_STORAGE permission. from the documentation I can see that it marked as "dangerous" permission. - does "dangerous" permissions grant automatically to system apps? when I use WRITE_EXTERNAL_STORAGE permission (as a system app) I'm getting

uninstall app silently with system privileges

拈花ヽ惹草 提交于 2019-11-27 06:38:42
My app have system privileges. It will be inside firmware, now it's located at /system/app I was able to install apps silently with this post install / uninstall APKs programmatically (PackageManager vs Intents) example app that works http://paulononaka.wordpress.com/2011/07/02/how-to-install-a-application-in-background-on-android/ But I still can't uninstall apps the same way. I tried to use reflection like as in the installation example. public ApplicationManager(Context context) throws SecurityException, NoSuchMethodException { observer = new PackageInstallObserver(); pm = context

uninstall app silently with system privileges

二次信任 提交于 2019-11-26 12:55:25
问题 My app have system privileges. It will be inside firmware, now it\'s located at /system/app I was able to install apps silently with this post install / uninstall APKs programmatically (PackageManager vs Intents) example app that works http://paulononaka.wordpress.com/2011/07/02/how-to-install-a-application-in-background-on-android/ But I still can\'t uninstall apps the same way. I tried to use reflection like as in the installation example. public ApplicationManager(Context context) throws