Questions tagged [android-firmware]
52 questions
13
votes
4 answers
uninstall app silently with system privileges
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…

POMATu
- 3,422
- 7
- 30
- 42
10
votes
2 answers
Android Marshmallow, "dangerous" protection level and system components/apps
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…

Tal Kanel
- 10,475
- 10
- 60
- 98
6
votes
0 answers
Jacinto6 board with Android: how to build a portrait firmware?
I'm developing a custom Android firmware for the Jacinto6 board (dra7xx). By default the board is landscape (800x480).
I need to develop a portrait version of the firmware so that:
when flashing the firmware, in recovery, the board can be handled…

Maurix
- 585
- 6
- 23
6
votes
1 answer
EGL native library crash on Samsung Galaxy S7 Edge on Android 6.0.1
Recently I've got all users of Samsung Galaxy S7 complaining that app crashes instantly upon start. I didn't get any crash logs from Crashlytics about this issue which was strange at least. But luckily some users reported the issues to Play Store…

Sam
- 1,652
- 17
- 25
3
votes
2 answers
what would be the base optimal throttle and seed for an application using monkey test?
I am running monkey test on my application using following command
adb shell monkey -p com.droigons.mygps --throttle 1000 -s 1000 -v 500000 > test.txt
what would be the base optimal throttle and seed for an application?

droigons
- 255
- 4
- 16
3
votes
1 answer
Granting permissions without user interactive screen
I am developing an Android application which is suppose to run on an embedded device which does not have UI. My application uses various permissions for which usually Android system will present user to grant permission. This is not possible in our…

Aashish Kulkarni
- 31
- 2
3
votes
2 answers
How to obtain Firmware version of Android programmatically?
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.

Hong
- 17,643
- 21
- 81
- 142
3
votes
0 answers
Mismatch between BuildConfig.VERSION_CODE and PackageManager.getPackageInfo() after application update
I discovered a strange situation appears to happened a lot to the my application users (via Crashlytics/Google Analytics reporting..) which I did not able to reproduce:
after my package been updated - the version code returned by the PackageManager…

Tal Kanel
- 10,475
- 10
- 60
- 98
3
votes
2 answers
How to Shutdown Android 4.0 rooted Device programatically
Please help me to find out solution for this, I Know there are so many questions and duplicates about this same but here i describe whole things which i tried.
I have one android device where its installed 4.0 version of android.
I want to shutdown…

sam_k
- 5,983
- 14
- 76
- 110
2
votes
0 answers
How to enable Bootchart in android
My current progress is as follows,
Enable Bootchart.h by
#ifndef BOOTCHART
# define BOOTCHART 1
#endif
After that I compile the code, make INIT_BOOTCHART=true kernel -j4. So after compile completes I did
1. adb root
2. adb shell
3. cd data
4.…

Charitha Ratnayake
- 379
- 3
- 14
2
votes
1 answer
update-script : I can't delete files in /data/system directory
I want to remove a file from the /data/system folder during the recovery process. I tried the following in my update-script:
ui_print("");
mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/data/system");
ui_print("Please wait…

Abdo Pssiw
- 51
- 4
2
votes
2 answers
is it possible to programatically Change default install location of apps in Android firmware, not in app manifest
i am building a custom firmware for my android box and would like to know if it is possible to force all apps to install on SD card?
i know the ADB way. but i want to do the change in android SDK before compiling because i will be flashing the ROM…

Khaled
- 21
- 2
2
votes
1 answer
Unable to mount data partition in android edify updater script
I am newbie here with edify updater scripting
I am able to mount system partition using following statement:
mount("ext4", "EMMC", "/dev/block/system", "/system");
but not able to mount data partition.
I tried following statements to mount data…

vijay
- 494
- 5
- 17
2
votes
2 answers
Read Modem Firmware Version : Android
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…

Android Learner
- 2,559
- 6
- 34
- 43
2
votes
1 answer
how to develop android firmware?
I need to create my own android firmware based on Honeycomb.
the problem is that I don't know how I suppose to do that. I've searched on the web for some tutorials to help me getting started, but haven't found any.
can anyone link me to some…

Tal Kanel
- 10,475
- 10
- 60
- 98