Questions tagged [custom-rom]

88 questions
1
vote
1 answer

go-cmp undefined module errors while building aosp android t dp2 for maple (xperia xz premium)

i'm having go-cmp undefined module error while trying to build aosp android t dp2, is there any clues on how to resolve this problem? error: external/golang-protobuf/Android.gen.bp:1252:1: "golang-protobuf-reflect-protorange" depends on undefined…
1
vote
2 answers

How to change default dialer application in AOSP?

I am creating one custom dialer application in AOSP through Android.mk and I have also added following lines in my Android.mk file, LOCAL_MODULE_NAME := MyDialer LOCAL_OVERRIDES_PACKAGES :- Dialer and building custom dialer application through this,…
1
vote
0 answers

Build custom LineageOS ROM for device based on RK3399 processor

I have to build a custom ROM based on lineage and make it run on a device that is based on the Rockchip RK3399. After doing some research I figured that I need: the kernel source for the specific device device tree device vendor files I found a…
jossdb
  • 43
  • 4
1
vote
0 answers

How can i keep user previous data intact for system app if android:sharedUserId is changed?

I have a custom rom where i included an application as system app that has no android:sharedUserId declared in manifest. Recently i added some new features for which i need to use android:sharedUserId. As a result while applying update it results in…
1
vote
3 answers

failed to build targets for AOSIP: use of undeclared identifier 'PAGE_SIZE' insystem/core/base/cmsg.cpp:36:21:

I'm using Mac OS Catalina version 10.15.7. I'm trying to compile the image for AOSIP branch ten for OnePlus 7T and I am not able to complete the build using the command make api-stubs-docs-update-current-api I had a few modules that were reported…
1
vote
1 answer

How to resolve identifier expected error in Resoure file

Getting error like below out/target/common/obj/APPS/MtkSystemUI_intermediates/srcjars/android/arch/core/R.java:13911: error: expected public static final int 1=0x7f0d0000; …
1
vote
0 answers

DevicePolicyManager.lockNow() in SystemUI quick settings using custom ROM

I am starting with learning and customizing SystemUI of AOSP. I was wondering how to implement lockNow() feature on click of an icon. I have added that icon in qs_panel.xml layout and trying to get that working on QSFragment.java. I know how…
1
vote
0 answers

Platform signed OTA updater app for android

Trying to build an app for updating android OS built from source. Even after signing the app with the platform key, the method RecoverySystem.installPackage(context,file) when applied on an updatefile placed in '/data/cache' gives error that writing…
1
vote
1 answer

Resize data partition which does not match physical storage size after installation of Android stock and Lineage

After an attempt to install Lineageos+Magisk on a Xiaomi Mi A1, ended in a boot loop, I installed stock from tissot_images_V10.0.9.0.PDHMIXM_20190514.0000.00_9.0_3ded3e7b82.tgz with containing flash_all.sh which applies fastboot. I got a working…
FranMart
  • 11
  • 1
  • 2
1
vote
1 answer

What does these versions name in AOSP source tree means?

I am building a custom rom from AOSP source code I first decided to edit some AOSP apps from AOSP source tree by downloading and importing to Android Studio I selected ExactCalculator for training But I confused by confusing branch names in AOSP…
RagAnt
  • 1,064
  • 2
  • 17
  • 35
1
vote
0 answers

Can applications predinstalled in system/priv-app be updated via Play Store?

We’re trying to make our custom launcher default one in our phone. Since it needs system level permissions (placing widgets) we placed it in system/priv-app, and it finally works ok. Problem is that it is not updateing with new version from Play…
Yuray
  • 747
  • 1
  • 9
  • 19
1
vote
1 answer

How to add an android application into android source code and compile it

Trying to add an application into android source code on ERAGON820 to make it as pre-built app. But getting below error on compiling make[2]: Leaving directory…
1
vote
0 answers

Working with AOSP SuperUser

I'm trying to include the SuperUser application and su binary in my ROM (by AOSP method). I'm using android-6.0.1_r79 (Marshmallow) as my base AOSP code. [[Similar question(s) has been answered earlier, but all previous discussions were prior to…
PC.
  • 6,870
  • 5
  • 36
  • 71
1
vote
1 answer

Custom ROM Samsung SM-G53OT1

I've been using this phone a while, and I have been through tough times with it. Two bootloops, Google Play Services crashing infinitely, weird errors, everything. I'd say I've "bonded" with this Samsung and would like to take it up a notch. I've…
1
vote
0 answers

Is there any Custom ROM Availabe For Android TV

I want to develop Custom ROM for Android TV. I know about Mobile ROM but i don't have any idea about Android TV Custom ROM. While searching about Android TV custom ROM i found that The LHG Releases the First Build of AOSP TV for the 96Boards HiKey…
Pratik Sule
  • 163
  • 4
  • 18