yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] respectablenoob:
So how do we include the device specific files? Do we git clone or manually download it and place it in .repo? Thanks:)
[Android Software/Hacking General [Developers Only]] ThePiGuy:
It's up to you.

If you use a local manifest, repo sync will git clone to the appropriate location (kernel/<manufacturer>/<chipset>, device/<manufacturer>/<device model or common tree>)

If you clone manually, clone to those above locations
[Android Software/Hacking General [Developers Only]] ParanoidNemo:
The cleanest and more efficient way is to have one or more .xml file/s into .repo/local_manifests/

That way repo sync will pull all the project indicated into the xml and place where you want. Individual cloning is a nightmare IMHO.
[Android Software/Hacking General [Developers Only]] ThePiGuy:
Absolutely, I would definitely agree that using a local manifest is by far the best way to do it. Easier and whenever you repo sync they all get updated too
[Android Software/Hacking General [Developers Only]] me98278:
Hi,

I'm trying to build the PixelExperience ROM for Nexus 7 2013 and I was able to do it successfully by referring to your guide.. Thank you so much for writing this !!

I used the following sources :

https://github.com/PixelExperience/manifest/tree/ten-plus

Device Tree: https://github.com/followmsi/android_device_asus_flo/tree/aex-10

Vendor Tree: https://github.com/followmsi/android_vendor/tree/flo-deb-lineage-17.1

Kernel Tree: https://github.com/followmsi/android_kernel_google_msm/tree/followmsi-10

I had to increase the system partition to 1.6 GB to accommodate the ROM and I have re partitioned the nexus 7 storage to create a bigger system partition .

I keep getting the following error while trying to flash the ROM :

-------------------------------------------------------------------------------------------------------

creating stash /cache/recovery/5a79362318d00cf4c316e86435b3ed38dd35082d

71118848 bytes free on /cache (0 needed)

/cache/recovery/last_command doesn't exist.

erasing 7086 blocks

BLKDISCARD ioctl failed: Invalid argument

failed to execute command [erase 2,402533,409619]

new data receiver is still available after executing all commands.

script aborted: E1001: Failed to update system image.

E1001: Failed to update system image.error: 1001

Updater process ended with ERROR: 7

I:Install took 0 second(s).

Error installing zip file '/sdcard/PixelExperience_Plus_flo-10.0-20201101-0407-UNOFFICIAL.zip'

-------------------------------------------------------------------------------------------------------------------

I have tried to flash the ROM via sideloading but that did not help.

Can you help me figure out this error ??
[Android Software/Hacking General [Developers Only]] vikasrockz:
Error after initiating build.

I am compiling Android Derpfest R version for my device. My device is officially supported by the maintainer dropped the support after Android 10. So I want to personally build R version for my device. I cloned all necessary trees and sources so after intiating build command. I get this error. Check the log. And screenshot attached.

https://del.dog/ukacrolitt
[Android Software/Hacking General [Developers Only]] starbright_:
I am new to this, I start building what a dev has been created. His instruction for building it is like that:

repo init ... -l lineage-17.1

git clone ... android_manifest_<device> .repo/local_manifests

repo sync ..

. build/envsetup.sh && lunch <device> && mka clean && mka api-stubs-docs && ... && mka test-api-stubs-docs && mka bacon.

Unfortunatly I can't ask dev. Maybe someone can explain me what is difference to just

breakfast bacon ?

Although I once was able to build it, now I get errors

(xxx.java: error cannot find symbols) while

mka system-api-stubs-docs

Once I heard that can be a memory issue - to less RAM!?!?

Thank you for any hints!
[Android Software/Hacking General [Developers Only]] Hb20032003:
You can find the difference between mka and breakfast here http://www.trcompu.com/MySmartPhone/AndroidKitchen/Breakfast-Brunch-Lunch.html. As for the error please provide log of the error from FAILED.
[Android Software/Hacking General [Developers Only]] Mighty:
Okay, i am building lineage os 15 for samsung galaxy tab 2 and i get this error

ninja: error: 'libsrv_init', needed by '/home/mighty/Los/out/target/product/espresso3g/obj/EXECUTABLES/pvrsrvinit_intermediates/pvrsrvinit.o', missing and no known rule to make it
[Android Software/Hacking General [Developers Only]] fromdetroit7:
I appreciate you offering to assist others to the best of your abilities. I'm interested in building a ROM from source or, if possible, just the boot image. However, before I spend a significant amount of time trying to complete the build, I'm hoping someone can tell me if what I want to achieve is even possible given the resources provided by the manufacturer. The device (Sony walkman nw-a105) runs on android 9 pie, the bootloader is unlocked, Sony has made available a copy of the GPL source, but they haven't provided a copy of the proprietary binaries. Is it possible to build a ROM, or at least a usable boot image, using just the Sony OSS code & AOSP? I am wanting to root by using Magisk to patch the boot.img. Because Sony doesn't provide a copy of the ROM to extract a boot image, is this a waste of time? If not, what do I need to be successful?
[Android Software/Hacking General [Developers Only]] SteveWhoLikesThings:
So, I am trying to build AEX in Arch Linux, but it seems like, even after running the source command, the command brunch is not found. Please help me out.

EDIT: Well, as it turns out, the command is no longer brunch, its lunch
[Android Software/Hacking General [Developers Only]] Nezus3301:
Hey there, i was looking for a tutorial like this but i tought about a silly thing, what if it's possible to compile our own rom on Google Collab? if there's a way to make this possible it will make compiling a lot easier
[Android Software/Hacking General [Developers Only]] zippzYT:
I am getting build/core/product_config.mk:238: *** can not locate config makefile for product "rr_gtexwifi". stop. device gtexwifi not found. attempting to retrieve device repository from resurrectionremix-devices github (http://github.com/resurrectionremix-devices). repository for gtexwifi not found in the resurrectionremix-devices github repository list. if this is in error, you may need to manually add it to your .repo/local_manifests/roomservice.xml build/core/product_config.mk:238: *** can not locate config makefile for product "rr_gtexwifi". stop. build/core/product_config.mk:238: *** can not locate config makefile for product "rr_gtexwifi". stop. ** don't have a product spec for: 'rr_gtexwifi' ** do you have the right repo manifest?
[Android Software/Hacking General [Developers Only]] DiamondJohn:
The following thread has historically been my source for ROM building help

[GUIDE][COMPLETE] Android ROM Development From Source To End

Hello Everyone....:D:D Today I will present you all the ultimate guide for ROM development starting from Source to End. This guide will be applicable to all devices. So lets Start :D What is Android? :rolleyes: Android is an...

xdaforums.com
[Android Software/Hacking General [Developers Only]] Locodgets!:
Hello, I know I will make use of this info practically at some point but right now I don't have a Pc that's good enough.

I would like to ask how would I go about rooting and flashing an Android run POS device..? The device name is SUNMI Model V1s-G, CPU = ARM Cortex-A7 Quad-core 1.3GHz, 1G RAM and runs Android 6.0. I tried the adb tool first but it denied me access even though USB Debugging is enabled. Now I am going the TWRP route and the device won't reboot when I select that option from the TWRP, be it "Reboot Recovery" or "Reboot System" not to mention I don't know where I can get the recovery.img for it. I hope I asked at the right place, if not feel free to point me in the direction please.

Thank You.
[Android Software/Hacking General [Developers Only]] Butterfly_of_Amazon:
How to modify these files? I just began learning compiling LineageOS about one week ago. Could you give me some advices or hints? It's so difficult to find documents about making rom from unoffically supported device. Thank u very much!
[Android Software/Hacking General [Developers Only]] Butterfly_of_Amazon:
I found this article, it answers this question very well.

[GUIDE][COMPLETE] Android ROM Development From Source To End

Hello Everyone....:D:D Today I will present you all the ultimate guide for ROM development starting from Source to End. This guide will be applicable to all devices. So lets Start :D What is Android? :rolleyes: Android is an...

xdaforums.com
[Android Software/Hacking General [Developers Only]] athenason:
Thank you for this, I have found this very useful
[Android Software/Hacking General [Developers Only]] edkmho:
Dear all experts,

I am interested to build custom rom for Pixel 3 XL on PixelExperience rom, have not build any rom before but willing to learn. Hope someone can help.

I have successfully create android rom development environment with Lineage OS for Pixel 3 XL and also successfully build the rom from the lineage wiki guide provided. On another environment i have Pixel 3a XL PE rom and also successfully built the rom.

Basically i am trying to port the pixel 3 xl device from Lineage to PE.

Many thanks.
[Android Software/Hacking General [Developers Only]] namhoang235:
[ 0% 14/89514] Building Kernel Config
make: Entering directory '/root/bin/rr/kernel/xiaomi/ginkgo'
make[1]: Entering directory '/root/bin/rr/out/target/product/ginkgo/obj/KERNEL_OBJ'
GEN ./Makefile
#
# configuration written to .config
#
make[1]: Leaving directory '/root/bin/rr/out/target/product/ginkgo/obj/KERNEL_OBJ'
make: Leaving directory '/root/bin/rr/kernel/xiaomi/ginkgo'
make: Entering directory '/root/bin/rr/kernel/xiaomi/ginkgo'
make[1]: Entering directory '/root/bin/rr/out/target/product/ginkgo/obj/KERNEL_OBJ'
GEN ./Makefile
scripts/kconfig/conf --savedefconfig=defconfig Kconfig
make[1]: Leaving directory '/root/bin/rr/out/target/product/ginkgo/obj/KERNEL_OBJ'
make: Leaving directory '/root/bin/rr/kernel/xiaomi/ginkgo'
20:39:22 Disallowed PATH tool "ld.lld" used: []string{"ld.lld", "-v"}
20:39:22 See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information.
20:39:22 Disallowed PATH tool "ld.lld" used: []string{"ld.lld", "-v"}

i got tons of disallow path when compile to kernel, but when i run build.sh alone from kernel it is okay.

her is my soong.log and build.sh from kernel

https://drive.google.com/drive/u/1/folders/1OkI1SECJklvIfngj7VQVe828Fi6Ms079

my kernel source, i use Resurression remix Q with no official support device (ginkgo)

https://github.com/aryaman895/kernel_xiaomi_ginkgo

Which part of kernel i should config to make it work together with the rom compile.

thanks
[Android Software/Hacking General [Developers Only]] flash713:
Why not just build PE from source just how you already built Lineage? Not sure I understand why you would want to port it... Can't you just sync with PE sources and add whatever blobs you are missing using a .xml then put the xml you make in your /local_manifests in your /.repo folder then: repo sync --force-sync and then build once it's finished sync'ing..? It has probably taken me longer than many people to half understand how all this works and I'm still extremely new to building roms but after having a successful build, and a person much smarter than me explain many things and show me some things as well , I've been able to understand it.

I did a quick search and just in case you haven't already seen this here is some information that may be helpful for you.. https://xdaforums.com/t/guide-how-to-port-roms.1941239/

This is a great guide op!! Very clear and easy to understand. 💯 👍
[Android Software/Hacking General [Developers Only]] edkmho:
Many thanks.

I managed to find PE 12 on crosshatch and try building the rom.
[Android Software/Hacking General [Developers Only]] namhoang235:
# Add this to your device source/boardconfig.mk to allow PATH loading

TEMPORARY_DISABLE_PATH_RESTRICTIONS:=true
[Android Software/Hacking General [Developers Only]] nobby_nobody:
I'm trying to build Lineage 19 for the now unsupported startlte, so far I can get to the point to build the rom, but I'm getting the following error, any idea what I could be doing wrong? notice that PLATFORM_VERSION is 11, I'm not sure if that's correct or should it be 12 :

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=11

LINEAGE_VERSION=19.0-20220130-UNOFFICIAL-starlte

TARGET_PRODUCT=lineage_starlte

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_ARCH=arm64

TARGET_ARCH_VARIANT=armv8-a

TARGET_CPU_VARIANT=cortex-a53

TARGET_2ND_ARCH=arm

TARGET_2ND_ARCH_VARIANT=armv8-a

TARGET_2ND_CPU_VARIANT=cortex-a53

HOST_ARCH=x86_64

HOST_2ND_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-5.13.0-27-generic-x86_64-Ubuntu-20.04.3-LTS

HOST_CROSS_OS=windows

HOST_CROSS_ARCH=x86

HOST_CROSS_2ND_ARCH=x86_64

HOST_BUILD_TYPE=release

BUILD_ID=RP1A.201105.002

OUT_DIR=out

PRODUCT_SOONG_NAMESPACES=device/samsung/universal9810-common vendor/samsung/universal9810-common

============================================

[100% 1/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja

FAILED: out/soong/build.ninja

out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/build.ninja.d -globFile out/soong/.boots

trap/build-globs.ninja -o out/soong/build.ninja Android.bp

error: test/mts/tools/mts-tradefed/Android.bp:16:1: unrecognized module type "tradefed_binary_host"

error: test/app_compat/csuite/tools/csuite-tradefed/Android.bp:15:1: unrecognized module type "tradefed_binary_host"

error: test/vts/tools/vts-core-tradefed/Android.bp:28:1: unrecognized module type "tradefed_binary_host"

error: test/vts/tools/vts-tradefed/Android.bp:15:1: unrecognized module type "tradefed_binary_host"

error: tools/asuite/atest/Android.bp:21:1: unrecognized module type "tradefed_binary_host"

17:00:35 soong bootstrap failed with: exit status 1

#### failed to build some targets (3 seconds) ####
[Android Software/Hacking General [Developers Only]] flash713:
I copied a few lines from your information, mostly around where it says "FAILED" and searched around a bit. You can try doing as this person did and enable multilib . Info is here for that: https://stackoverflow.com/questions...ject-build-error-failed-out-soong-build-ninja

Also see what they says there about low ram "if" that's an issue and you're under 16gb. One person said try syncing repo again: repo sync --force-sync ,then build again..

If you are lacking ram and don't quite have 16GB there is also a work around for that towards the bottom of this guide. Imo a great guide for building 10&11 on Ubuntu 20.04! https://gist.github.com/masemoel/53febfa10d26a7da10ee7123ee93131a

How did you download your code like what tags did you use? Where exactly did you sync from ? I have found that for me using just the "repo init --depth=1" and then just repo sync --force-sync work best for me. As far as Lineage 19 goes I believe it is indeed Android 12. I haven't yet compiled LOS 19 but I do build LOS 18.1 from time to time for my OnePlus 7 pro. Hopefully some of this information I found is helpful and you get this situation figured out. Best of luck to you.
[Android Software/Hacking General [Developers Only]] nobby_nobody:
Sorry for the delayed response @flash713 , the masomoel guide is very helpful indeed, however, I'm still running out of memory (I have 16Gb of RAM) when build_soong runs and then gets killed, I'm not sure if I can use the build_soong files from those repos on LineageOS 12.
[Sony Cross-Device Development Themes and Apps] sandeepxperia:
Can anyone please make cosmic Flow live wallpapers support for stock 8.0 xperia devices. I had installed cosmic Flow wallpapers apk and it's working fine on stock 5.1 OS with a slight lag but the apk file is not working on 8.0 Stock OS.
[Sony Cross-Device Development Themes and Apps] BladeRunnerA2C:
I think the old Cosmic Flow will work fine
[Sony Cross-Device Development Themes and Apps] sandeepxperia:
No its not working on stock 8.0 OS.
[Android Q&A, Help & Troubleshooting] Uifz:
Does anyone know where voicemails are temporarily stored in Pie 9?

From reading the exert below, I understand that voicemails are temporarily downloaded:

source: https://source.android.com/devices/tech/config/voicemail#voicemail_download
[Samsung Galaxy J7 Prime / J7 On NXT (Exynos7870)] Karthik1731:
Rom Info::​

Based on Latest Stock Arabic Firmware June Patch

build:

G610FDDU1BRG1

firmware

Arabic Firmware with INS CSC for Volte

Apps like Samsung Pay SecureFolder may not work Becuz you are Rooted now and voids Knox1

​

​

Features:-

​

●No Additional Modifications Cuz its Stock Rom For Stock Lovers

●Deodexed

●Preroot Via Magisk 16

●Zipaligned

●Tweaked

●Added Build Prop Tweaks?

●Added INS CSC For (Volte)

●Aroma Installer

●Now More Faster

●And Cant Remember Now>>

●No Screen Shots Cuz Its Stock Rom​

​

​

​

​

​

Note:

● Magisk Manager was 16 but sadly apk was V 12 you can update to 16

● In Aroma Installer Its Say's Ultra Stock For For J7 2016. Chill, It's For J7 Prime..;)

Download HERE:

Ultra Stock Rom j7 prime

Credits

@SolarX_dev

@Arnaud Créative Studios For Mirroring this Firmware

@Samsung For Firmware

@topjohnwu For Magisk

XDA:DevDB Information

[ROM][7.0]Ultra Stock Rom[Volte] G610XX, ROM for the Samsung Galaxy J7

Contributors

SolarX_dev

ROM OS Version: 7.x Nougat

Based On: Samsung

Version Information

Status: Stable

Current Stable Version: 1.0

Stable Release Date: 2018-09-20

Created 2018-09-20

Last Updated 2018-09-20
[Asus ZenFone Max Pro M1  Questions & Answers] NandhaNY:
AnyOne Tell Me How to Root the Zenfone max pro m1 in miui10 ROM Posted By [MENTION=7638319]SagarMakhar[/MENTION] Sir??:confused::confused::confused:

Can I Flash The Same Magisk.zip and decrypt.zip in twrp??

Or It Has Some Other Way??

AnyOne Guide Me!!!
[Samsung Galaxy J7 Prime / J7 On NXT (Exynos7870)] Karthik1731:
Rom Info::​

Based on Latest Stock Arabic Firmware June Patch

build:

G610FDDU1BRG1

firmware

Arabic Firmware with INS CSC for Volte

Apps like Samsung Pay SecureFolder may not work Becuz you are Rooted now and voids Knox1

​

​

Features:-

​

●No Additional Modifications Cuz its Stock Rom For Stock Lovers

●Deodexed

●Preroot Via Magisk 16

●Zipaligned

●Tweaked

●Added Build Prop Tweaks

●Added INS CSC For (Volte)

●Aroma Installer

●Now More Faster

●And Cant Remember Now>>

●No Screen Shots Cuz Its Stock Rom​

​

​

​

​

​

Note:

● Magisk Manager was 16 but sadly apk was V 12 you can update to 16

● In Aroma Installer Its Say's Ultra Stock For For J7 2016. Chill, It's For J7 Prime..;)

Download HERE:

Ultra Stock Rom j7 prime

Credits

@SolarX_dev

@Arnaud Créative Studios For Mirroring this Firmware

@Samsung For Firmware

@topjohnwu For Magisk

XDA:DevDB Information

[ROM][7.0]Ultra Stock Rom[Volte] G610XX, ROM for the Samsung Galaxy J7

Contributors

SolarX_dev

ROM OS Version: 7.x Nougat

Based On: Samsung

Version Information

Status: Stable

Current Stable Version: 1.0

Stable Release Date: 2018-09-20

Created 2018-09-20

Last Updated 2018-09-20
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] juanfe.granados:
Great Job!! Please in future update, please include patch September
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] ttongg:
How to make gcam(arnova8g2's apk) work with openGapps.

I've searched some but have no idea yet.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Benjamin_L:
What is not working? After you set up the rom what problem are you facing?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] ttongg:
I tried to install gcam in different ways by reflashing the AOSP but "Camera has stopped"

- no openGapps, camera come with rom work

- Pico

- Stock, gcam 2.7 come with openGapps work

But Open camera work well at all.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Benjamin_L:
Did you enable camera2api? Is it already activated in the rom?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] comy777:
Anyone install this great rom?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] ttongg:
I don't know it default activated by the rom or not.

I use enabler in magisk, still don't work.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] djmitza222:
Try to activate camera2api from fastboot then wipe cache and try again.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] ilyas111:
Are you using it yourself? How is it compared to stock Android 1? Is it worth converting to mi 6x for this? I want a stable rom with gcam and fingerprint support. Thanks
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] djmitza222:
It's the best ROM for this device for the moment. Best performance and SOT.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] pianistaPL:
Please do a benchmark with Androbench and A1 SD Bench. Stock ROM has significant memory speed problems, I'm curious if installing custom ROM can fix this.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Mr.Nice.ba:
So, no bugs?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Arrappp:
Anyone has the stock Mi A2 camera for custom rom?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] AsItLies:
This is a link to the stock MiA2 camera, don't know if it will work on a custom rom. Try to install it and let us know.

https://drive.google.com/open?id=1efwL5y90eDG8ugivIJ_7wkj6LWbWQCJN
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Mr.Nice.ba:
Great rom, but no 4K recording in open cam, gcam, or snap cam. Filmic pro can recogbize 4k but no eis like in other apps. Is there any fix for this? This problem occurs when camera2 api is enabled ( must for gcam )
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Arrappp:
Thanks, but I can't intall it. It seem to be conflicted with the system camera. Sorry for my English
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] comy777:
Works xposed in this rom?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] djmitza222:
Yes.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] comy777:
How back to stock rom?
[HTC Excalibur] Drworm:
I am currently using an unlocked Dash flashed with Kavana's latest WM 6.1 rom. As stated in the title I am on the AT&T network. I tried using the connection setup wizard that came with the ROM but got mixed results. I manually entered my previous settings but I am still having issues with my Activesync Exchange Server and MMS messages. Normal web browsing seems to work fine and apps like Google maps work as well.

Can anyone verify the proper settings for the current AT&T Network? I would like to see GPRS, Proxy and MMSC settings. I have seen a lot of older ones that seem to be from Cingular but I can't be sure those will still work.

Thank you in advance for your help.
[HTC Excalibur] kparikh82276:
You seem to be having same trouble i was having

This is what you need to do.

Do the set up network wizard.

Once you have that up. Goto GPRS connection. there a field to where to connect.

For At&T ... choose connect to internet.

for both connection configuration.

I don't have the dash in front of me but i'll post again but in the mean time play with this much knowledge. and i'll try to post up a reply for your question.

Based on previous version i am so happy that there is a connection wizard here i don't have to put in all that crap setting again. all i do is run the wizard and just change the connection settings.

it works all the time.
[HTC Excalibur] Drworm:
Thanks for the help. I've messed with it but I still seem to having issues. If you could post what your settings look like I would appreciate it.
[HTC Excalibur] Drworm:
I got the Exchange Server to work but I am still having issues with MMS. I get the Error Syncronizing. I've never been able to get them to work since I went to the unlocked Dash.

Weird