Questions tagged [android-rom]

Topics related to Android custom ROM development. For topics related to Android app development, use the Android tag

46 questions
1
vote
1 answer

What is an IMAGEWTY firmware format?

I'm trying customize the ROM of my very old tablet, but there is no stock ROMs in any other format than .img | ls -l: r 0 0 605M Jun 30 2015 M100-8312-8723bs-0312+2145-FWT-0266-v0.8.img How do I unpack it ? (debian)
L.Integra
  • 149
  • 1
  • 10
1
vote
0 answers

Android root device run application after system boot from script

I am creating small initialization application. Let's call it InitApp. That application is responsible for initialization Wifi connection and update/download another application from server. The InitApp should run automatically every time after…
Michael
  • 660
  • 8
  • 33
1
vote
2 answers

RecoverySystem.installPackage java.lang.NullPointerException

I'm playing with AOSP, and trying to apply OTA package 1). I built AOSP for Google Pixel and installed it 2). I created simple app, which downloads OTA package, and trying to apply it (It's based on this article:…
Aleksandr
  • 4,606
  • 4
  • 28
  • 45
1
vote
1 answer

Attempting to open output file inside audioflinger (AOSP)

I'm attempting to write a simple log file from inside av/services/audioflinger/AudioStreamOut.cpp, for testing a custom ROM. I need it to work on Nexus 5X (bullhead). if (logFile1 == NULL) logFile1 = fopen("/sdcard/log_before.pcm", "ab"); if…
1
vote
0 answers

/dev/block/bootdevice/by-name/userdata Error

I have tried to install RR-N-v5.8.0-20170106-dior-Official.zip with PhilZ Touch 6. After Wipe Dalvik/ART Cache and tried to install zip I got the below error. could not detect file system for /dev/block/bootdevice/by-name/userdata Can any one help…
Ravindra Nadh
  • 109
  • 2
  • 10
1
vote
0 answers

How to unlock bootloader on Android on a User Build

I have tried everything to unlock the boot loader on my Android 410 device. I have an AOSP based ROM on it (not a production device). I turned on USB debugging, turned on 'OEM unlock' and tried the following in fastboot mode: Images-Debug$ sudo…
Sofia Clover
  • 569
  • 1
  • 5
  • 15
1
vote
2 answers

Customizing Android ROM app data before flashing

I'm working at the IT-department of a rather large company, and we got Android phones for all of our employees. Every time someone quits or turn in their phone for any reason, we have to factory reset and then install all the required apps for our…
Oskar Pålsson
  • 109
  • 1
  • 4
  • 14
0
votes
0 answers

Android 7,8,9 freeform multi window doesn't work. Only shows split screen option

I have tried with following in android 7,8,9 adb shell settings put global enable_freeform_support 1 and the boolean from this answer returns true. When I try in android 10 I see the option free form . But in android 7,8,9 (emulator and hardware) I…
ruben
  • 1,761
  • 4
  • 24
  • 47
0
votes
0 answers

How to open any Android app or Activity in a reduced screen size?

For example, It's like more of a split screen mode. I want any app to be opened in a reduced activity size. It's like resizing the activity size as like we do the windows in pc. Is it possible in Android, how to do that programmatically ? While…
ruben
  • 1,761
  • 4
  • 24
  • 47
0
votes
0 answers

Android 7.0 build failed

I am getting the following error while building android 7.0 rom 1 warning generated. [ 35% 6998/19678] build out/target/product/generic/obj/PACKAGING/updater_extensions_intermediates/register.inc.dep. FAILED: /bin/bash -c "(rm -f…
0
votes
1 answer

Is a good practice to extend a Room Entity and use the same DAO and Repository?

I wanna create two entities with the same fields and I saw that I can extend a entity to inherits fields, I'd like to know if it's a good practice to do it and if is there any problem to use one single DAO and Repository to these entities. Entity…
0
votes
0 answers

how to trigger PaggedList Datasource Loadafter/LoadBefore from loadInitial

I am currently dealing with customized ItemKeyedDataSource working on Messaging app. I'm facing this problem when i initialize the DataSource some times there is no data to fetch from initialize to insert! so loadafter and loadbefore will not called…
0
votes
2 answers

Deploy Android Application with Initial SQLite database

I need to use a Database in Android and I have read that a good way at the moment is using Room Library. But my case is a little different I don't want the database to write information on runtime I want to deploy the application with an SQLite…
JuanDYB
  • 430
  • 2
  • 9
  • 20
0
votes
1 answer

Android AOSP build error with third party lib like Firebase - "appname" depends on undefined module "com.google.firebase_firebase-core"

I'm trying to build a custom apk into an AOSP build which uses some external libs like Firebase, Glide etc. Studying the sample projects in AOSP and others like LineageOS, dependencies are added into Android.bp like so, for…
0
votes
0 answers

How to build Android 7 "Nougat" system image with ranchu for modern emulator?

AVD Manager from the most recent Android SDK can create an AVD for the emulator using a 7.1.1 / Nougat / API Level 25 x86 system image. My immediate goal is to build this system image myself. I have tried installing and building several AOSP tags,…