yashsingh1/xdaforums huggingface dataset:
[Android General] MrRob0t:
[MENTION=7026648]AlaskaLinuxUser[/MENTION]

Hey man, glad see you back!

You've taught me a wonderful skill that I have been able to use and learn and build upon.. Priceless!

So I have a weird question, probably not one I foresee being possible, but hope not.

So building rr and crdroid P for htc 10. Everything has been great. Have been learning adding modifications back in from N and O.

Recently crdroid pushed July security update. For some reason it's draining battery pretty bad compared to June builds.

So to my question.

Since I did repo sync for the July updates, I no longer have a build for June.

I found a neat command to set git back to a git checkout at a specific date.

Which should be used with caution of course. But I don't think this is a clean method, but not sure, seems maybe messy.

Something like:

repo forall -c 'git checkout `git rev-list -n1 --before="2019-07-06 15:00" HEAD`'

So to the point, it's at build v5.6 and would like to have a build for the June v5.5 but I don't see how this is possible. I hope I'm wrong.

You're the best man! Hope you've been well.

This is mad late and I'm sorry, I was away.

Did you every get this going? I couldn't find the post you quoted me from, so I'm not sure what your error was.
[Android General] lucki1000:
Hello Community,

How can I define a module?

I create a fork from a similar device tree(same brand, and with allmost same specs) and now I get an error while compiling.

I'm building Los 16.

Error:

error: device/xiaomi/davinci/fod/Android.bp:16:1: "lineage.biometrics.fingerprint.inscreen@1.0-service.xiaomi_davinci" depends on undefined module "vendor.lineage.biometrics.fingerprint.inscreen@1.0"
ninja: build stopped: subcommand failed.
16:26:50 soong bootstrap failed with: exit status 1

#### failed to build some targets (5 seconds) ####
[Android General] nervous1301:
Hi there. It is possible to modify official Samsung ROM's and how to do it ? I just want, to make ROM, who fit into my personal desires... I will be very grateful if somebody answers me for these questions...
[Android General] garylawwd:
Use a kitchen. Look them up
[Android General] nervous1301:
I tried the kitchen assayed, but the roms did not even want to run, so I'm looking for help here... :crying: :( :confused:
[Android General] garylawwd:
But how is anyone supposed to help?

You didnt list what device you have, what android version, what piece of firmware you want to edit.

That kitchen you tried is old if you want a kitchen you will probably have to pay for it
[Android General] Sands207:
Use SuperR's donate kitchen. Problem solved.
[Android General] gusitir:
Hey, someone can add bottom notification panel like an option? for large displays is perfectly and AndroidQ doesnt have it, be first ;)
[Android General] garylawwd:
Wtf? Why are you asking that here?

This isnt a feature request page at all, its about learning, not asking people to do your bidding
[Android General] Blunt_razor:
Hey everyone i was wondering if this tutorial is still valid and can it help me build a custom rom for mi 9t or k20 by xiaomi. :)
[Android General] coach0512:
Did you ever find a fix for this?
[Android General] lucki1000:
No actually not. :(
[Android General] DJABHipHop:
Im trying to build LineagOS based Rom for the Samsung Galaxy Tab 4 10.1 & 8.0

Anyone know how to fix this error & get the front camera working?

AudioTrack: Could not get audio output for session 273, stream type -1, usage 1, sample rate 44100, format 0x1000000, channel mask 0x3, flags 0x11

AudioSink: Unable to create audio track

All Repos: cm-14.1-test

Kernel: cm-14.1-test

Board repo: cm-14.1

Rom: https://github.com/LightningFastRom

Device: Samsung Galaxy Tab 4

Device Tree A-1: Samsung Galaxy Tab 4 10.1-(matisse)

https://github.com/matissewifi

Device with broken Front camera Samsung Galaxy Tab 4 8.0-(millet all 3 variance)

Device Tree A-2: Samsung Galaxy Tab 4 8.0-(millet)

https://github.com/milletwifi
[Android General] coach0512:
damn:( I'm trying to build RR for the OP7P and had this issue using Lineage sources. I'll keep trying. I think I need to merge some vendor commits.
[Android General] RebelLion_:
Well first you can try checking your device tree to see if the fingerprint blobs are all there and defined correctly in the makefiles. If you're using a commonly used source then everything should be good to go so RR could be changing something. Maybe try checking the vendor makefiles and blobs from RR, after making sure your device tree is in order, and see if it defines any modules itself or is calling the wrong paths somewhere
[Android General] Soumy1234:
I'm making an RR Nougat ROM for my Samsung Galaxy Tab 3 10.1. The security patches are really old, however (Dec 5, 2017). I've successfully added Jan 1, 2018 patches, but now I'm confused about Jan 5, 2018 patches. Some of them don't link to a commit that I can use and the others are OEM specific. Do I need to add the OEM specific patches if I'm only building for Samsung? And how do I add the patches with no links?
[Android General] guyzz6370:
I need help with this, please I've tried for days and now it's stuck at 99% with this stupid error..

How to fix? Really thanks to everyone who replies
[Android General] SamuelBegui:
It looks like the compilation is crashing because LLVM_ENABLE_THREADS is off, have you tried enabling the flag and compiled again?
[Android General] DJABHipHop:
Have you gotton Skype working on the Samsung Galaxy Tab 3 yet because I'm also making custom rok for legacy Samsung devices like the Samsung Galaxy Tab 4 10.1, Samsung Galaxy Tab 4 8.0, Samsung Galaxy Tab E 9.6 & I'm also upgradeing 6 Samsung Galaxy Tab 4 3 10.1 & 3 8.0, 1 10.1/8.0 WiFi, 1 10.1/8.0 3G & 1 10.1/8.0 LTE.
[Android General] dean a12@#:
Hello guys,

I am building Dirty Unicorns for device X00TD (Asus Zenfone Max Pro M1) which does not officially supports it. I added all of the required files and fetched required repos but when I run brunch command it gives this error.

root@instance-1:~/DU# brunch du_X00TD-userdebug

including vendor/du/vendorsetup.sh

build/core/product_config.mk:240: *** _nic.PRODUCTS.[[device/asus/X00TD/du.mk]]: "frameworks/native/build/phone-xxhdpi-3072-dalvik-heap.mk" does not exist. Stop.

Device X00TD not found. Attempting to retrieve device repository from DU Github (http://github.com/DirtyUnicorns).

Repository for X00TD not found in the DU Github repository list. If this is in error, you may need to manually add it to .repo/local_manifests/du_manifest.xml

build/core/product_config.mk:240: *** _nic.PRODUCTS.[[device/asus/X00TD/du.mk]]: "frameworks/native/build/phone-xxhdpi-3072-dalvik-heap.mk" does not exist. Stop.

build/core/product_config.mk:240: *** _nic.PRODUCTS.[[device/asus/X00TD/du.mk]]: "frameworks/native/build/phone-xxhdpi-3072-dalvik-heap.mk" does not exist. Stop.

** Don't have a product spec for: 'du_X00TD'

** Do you have the right repo manifest?

Can someone please help?

No such item in brunch menu. Try 'breakfast'
[Android General] Soumy1234:
I've installed Skype, but I haven't signed in or made calls. What's wrong with Skype on your device?
[Android General] DJABHipHop:
microphone or camera don't work in Skype neither do the speaker It's like Skype refuses to see that the device has a microphone & a camera on on all 6 Samsung Galaxy Tab 4 & the speaker Samsung Galaxy Tab 4 10.1 msm8226/msm8926
[Android General] dean a12@#:
Hello guys, Building an unsupported rom for my device and getting this error while running brunch command:-

I have oreo sources,I have fixed the above bugs but now a new error has arised which I am not able to fix.

Here's link to error:-

https://del.dog/orebuzuyuz.cs
[Android General] MrRob0t:
can you post the entire log from the cmd, could be an error above that cannot see in the Screenshot.

I run into problems at 99% at times when editing files for MODs and if I forget a string or something it'll crap out and point me to where I messed up.

At times I see this same error about the kernel, but it was always something else, maybe a 'make clean' and re-build.. might not be the same for your case.
[Android General] AlaskaLinuxUser:
This error, you probably fixed by now, but I'll point this out for others who may be searching for this answer, is because this file: "frameworks/native/build/phone-xxhdpi-3072-dalvik-heap.mk" does not exist.

You could edit device/asus/X00TD/du.mk and change the call for phone-xxhdpi-3072-dalvik-heap.mk to one that does exist in the frameworks/native/build folder.

If it cannot find javac in your $PATH, either javac is not installed, or your path variables are wrong.

The output of javac -version should look like this:

alaskalinuxuser@alaskalinuxuser-OptiPlex-7010:~$ javac -version
javac 1.8.0_222

If it doesn't, then you should install java. I have several videos on that. Hope that helps! :good:
[Android General] AlaskaLinuxUser:
I just was passing through and saw that several of you are reaching out and helping others, which is really awesome! Thanks to those of you who are continuing to help the new guy! :good:
[Android General] dean a12@#:
Thank you Sir for replying.I've fixed all of these bugs:)
[Android General] AlaskaLinuxUser:
That's great! Good work! You should think about posting the answers here to help the next person who is searching the thread for help. :cowboy:
[Android General] dean a12@#:
Ok Sir,from now on I will share answers:)
[Android General] DJABHipHop:
How do I enable the speaker for Skype in the mixer_path.xml for a device with 2 speakers not 1?
[Android General] DJABHipHop:
I'm getting this in my dmessage output & how do i fix it?

[ 29.646452] msm_camera_cci_i2c_read: line 69 rc = -22

[ 29.646650] sr130pc20_sensor_match_id: chipid read=0 did not match with chipid=c1

[ 29.648271] msm_camera_cci_i2c_read: line 69 rc = -22

[ 29.649367] sr130pc20_sensor_match_id: chipid read=0 did not match with chipid=c1[SR130PC20] sr130pc20_sensor_match_id : 125 : sr130pc20_sensor_match_id sensor_name =sr130pc20 slaveid = 0x20 sensorid = 0xC1 DATA TYPE = 1
[Android General] DJABHipHop:
How do I fix this?

ninja: error: '/home/android/lineage-14.1/out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes.dex.toc', needed by '/home/android/lineage-14.1/out/target/common/obj/APPS/AntHalService_intermediates/with-local/classes.dex', missing and no known rule to make it
[Android General] DJABHipHop:
08-23 08:19:27.820 257 257 D : [ACDB Command]->SW Minor/Major/Revision version mismatch warning /etc/Bluetooth_cal.acdb

08-23 08:19:27.820 257 257 D : [ACDB Command]->SW Minor/Major/Revision version mismatch warning /etc/General_cal.acdb

08-23 08:19:27.821 257 257 D : [ACDB Command]->SW Minor/Major/Revision version mismatch warning /etc/Global_cal.acdb

08-23 08:19:27.825 257 257 D : [ACDB Command]->SW Minor/Major/Revision version mismatch warning /etc/Handset_cal.acdb

08-23 08:19:27.827 257 257 D : [ACDB Command]->SW Minor/Major/Revision version mismatch warning
[Android General] MrRob0t:
Trouble building crdroid N or others past 2018-12-24

I've had a few people PM me about this issue. This took a bit of digging, testing and help from OP, but finally got it all sorted out.

I recently removed my N build from PC this past week, and thankfully had these files saved in Dropbox, but now it'll be here for all!

Sharing is caring. :cool:

attached are the edited & stock files, which include:

frameworks\base\core\java\android\app\

DownloadManager.java

frameworks\base\core\java\android\database\sqlite\

SQLiteDatabase.java

frameworks\base\core\java\android\database\sqlite\

SQLiteQueryBuilder.java

DocumentsUI\tests\src\com\android\documentsui\

SearchViewUiTest.java

DocumentsUI\tests\src\com\android\documentsui\bots\

DirectoryListBot.java

Hopefully this is helpful.

If so, please give some credit and pass it onto others!
[Android General] dargonswim:
Hi, i have a question. How add and app from source at Rom? Ill want to add omniswitch to ViperOs Nougat. I have cloned sources from github in packages/apps and in device.mk from device tree i've writen PRODUCTS_PACKAGES += \ OmniSwitch

Is that ok?

Thanks a lot
[Android General] DJABHipHop:
Yes it is ok to add like this if your building only one device, But my suggestion would be it add to the ViperOs Nougat vendor folder common.mk then a options to toggle it on or off In setting the extended ViperOs Nougat Setting Source just incase wanna add more devices down the line & someone else does not want use it with one of your devices rom.
[Android General] dargonswim:
Thank you for your response, I'm compiling only for one device. I will take into account the possibility of doing it in the path that indicates me vendor/viper/prebuilts/common.
[Android General] DJABHipHop:
How do i fix this error msm8226-asoc-tapan sound-9302.46: Property 'qcom,audio-routing' does not exist or its length is not even?

ROM : LightningFastRom

Devices : Samsung Galaxy Tab 4 10.1 (WiFi, LTE & 3G) & Samsung Galaxy Tab 4 8.0 (WiFi, LTE & 3G)

Error LOG : https://t.me/LightFastRoms

logs are available on my telegram channel
[Android General] thedarkraven:
I can't thank you enough for this! Great contribution to the beginners in the committee.
[Android General] AngryJoe:
Newbie....Just want to say thank you!!!!

I just posted this thread (below) and saw yours shortly after. I wish i saw it a week ago because at 2,3-4 am i was def lost more than a few times lol :eek::confused::silly: Anyway from the little i have seen on your thread i know it will all be very helpful and greatly appreciated!!! oh, Any custom roms i can use haha? (you will understand after you read below) Hope to see you back making vids and spreading your knowledge soon bro!

''hello i am new to all this but first off thanks for all the work you put in here ...you guys are f-ing nasty at what you do..I love it!!

So i rooted my phone about a week ago. twrp recovery, magisk, played around flashing roms, been reading, doing research etc. After a week of about 8 hours a day of playing ( i am not working at this time).... i see i have not even scratched the surface of rooting, etc. Anyway, after researching here and online i have not found a custom rom for my device. I am looking for a lineageOS rom but would be happy with any one that is compatible with my phone. Am i missing something here? I see lots of other roms for other devices and none for mine.. I am Assuming my phone is not that popular and may be the reason? Idk if it is good to say this here on an android forum but i usually use iphones lol... BUT android is def more interesting to me . Now here i am addicted to rooting/androids, flashing, roms etc! So i got this phone sort of just for that and maybe not very popular as i said? Either way still could use a few more hours in the day to play lol. Soooooo my question, Any info for a custom rom that at i can use or anything other info to help as a newbie is greatly appreciated. Thanks again for all the great work, time, and creative thought process you put into all this here, (and wherever else you put all this cool S!@# together for us)

oh and idk if i need to spec all this excactly..from what i read os version and kernal are most important?? you prob already know but my phone is Samsung version 8.5/ OS nougat 7.1/ kernal 3.18.31/ armv71/ QC OpenGL ES 3.0''
[Android General] DJABHipHop:
I need help with the project any developer wanna join my team?

Looking for skilled kernel developer, Rom developer, millet Developer, matisse Developer must be will to work on free time must have working knowledge of LineageOS, Samsung Galaxy Tab 4 10.1/8.0, RIL & must own a Samsung Galaxy Tab 4 10.1/8.0.
[Android General] DJABHipHop:
How do i fix this error?

[ 30.096277] msm_camera_cci_i2c_read: line 69 rc = -22

[ 30.096394] sr130pc20_sensor_match_id: chipid read=0 did not match with chipid=c1

[ 30.097704] msm_camera_cci_i2c_read: line 69 rc = -22

[ 30.097826] sr130pc20_sensor_match_id: chipid read=0 did not match with chipid=c1

[SR130PC20] sr130pc20_sensor_match_id : 125 : sr130pc20_sensor_match_id sensor_name =sr130pc20 slaveid = 0x20 sensorid = 0xC1 DATA TYPE = 1
[Android General] Jimmyz0r:
If you are still stuck at this then I just found a fix when I encountered same error myself when building for raphael.

You need to copy inscreen fingerprint files to your rom's "hardware/interfaces/biometrics" folder from some other rom like lineage or PE(hardware/custom/interfaces/biometrics/) and then build again.
[Android General] Soumy1234:
I've compiled a nougat rom for my tablet and I have a problem that's bothering me. The included file manager (not the cyanogen one) has an issue where the shortcut to the downloads folder on the left side menu only shows the files downloaded in the rom rather than all the files in the existing downloads folder. Is there a way to make it show all the files?
[Android General] MrRob0t:
Hi guys!

Hope you are all enjoying all the hard work from OP alaksalinuxuser! There's so much incredible info! Can't thank you enough!

I am curious if anyone is interested in teaming up to learn from each other?

There's some amazing benefits from teams.

More brains = more learning

Person 1 may know A & B and person 2 knows C which would have taken much precious time, for example.

I've enjoyed working with others for awhile now.

Even if just 1 of you are interested that'd be awesome too!

We have some options.

I have an HTC M8 if someone else does too, that makes things easy. If there's multiple interested we can all maybe decide on a device we could each purchase that's cheap and within our budgets. One that would ideally run P and hopefully Q.

The htc m8 is from 2014 and can run Q.

You also don't really need that great of a machine if that's holding you back too. From what I've observed from other threads is that even just a 4gb ram with Intel dual core PC can build Q surprisingly.

Please PM me or respond to this post or tag me and we can figure something out!

Looking forward to hopefully working and learning together!

Have a Blessed day!
[Android General] anupsnair:
I have a OnePlus 6, I am willing to contribute, I don't have any idea on how to start it
[Android General] DJABHipHop:
Has Anyone here manage theme the stock LineageOS apps to look like stock apps from a Pixel Devices and if So do you have the files so I can add them to my repos?
[Android General] EngMoPro:
Hello bro do you have any thing could we chat need ask u about things
[Android General] tarongee:
Thanks for creating all the awesome content. just came across this.
[Android General] chomu1:
awesome content. just saw it.
[Android General] AlaskaLinuxUser:
Hey all, long time no see! I am glad to see many of you still enjoying and benefiting from the videos!

I'm not sure if or when I'll have enough time to get more videos going, although I've had a lot of requests for Android 10 / Q lately.

I would like to invite any or all of you to a rom development telegram channel that I use when working with folks who are just getting started and need some help. Here is the link:

https://t.me/joinchat/HR_8JgyDBdw_DvmndPl0kg

Please keep it on topic, ROM or app development. A few howdies are fine, just want to keep it on subject. I only stop in a few times a day during the week, but I try to answer questions and help where I can (if I know the answer, that is). Hope you'll all join in!
[Android General] zDemoox:
SELINUX enforcing

Hello,

I need to get SELINUX to enforcing, and, while building, one of the first messages says this:

warning: Be careful when using the SELINUX_IGNORE_NEVERALLOWS flag. It does not work in user builds and using it will not stop you from failing CTS.

Will disabling the flag in the

system/sepolicy/Android.mk

make the SELINUX enforcing? If not, how do I do that?

Thanks for answering
[Android General] DJABHipHop:
[MENTION=7026648]AlaskaLinuxUser[/MENTION]

Here a tool based but the old vender_extre used my sub77 to build the original Nougat & Marshmallow roms for Samsung Galaxy Tab 4 10.1 & Samsung Galaxy Tab 4 8.0 witch I have modified since watching you useful video on youtube with really useful & really useful long common & have decided today to make a version with none of my command use in my build process for other to use Including you based on some use answers.

"Vendor Extra is a tool with useful command to speed up your build process & is in no way a direct replacement learn the various command for building & working on Android roms or devices witch highly recommend you learn anyways."

https://github.com/BAProductions/vendor_extra
[Android General] MrRob0t:
Hey sorry for the late reply!

I'm down to work together.

I'm on Verizon, are you saying you'd contribute the OnePlus6 to me? I'd rather pay for it. Unless you are able to donate it to me.

If it works on Verizon, I'd be interested in purchasing one.

Pm me if interested. And we can do a chat, I'm not on xda as often but will be checking more often for your reply.

Looking forward either way!

With the great sources available I've been building N, P, Q roms for both HTC M8 and HTC 10.

Would be interested in starting from scratch to really learn.

Thanks for responding.
[Android General] Aworawo:
Has anyone used this to build roms for Samsung devices, including but not limited to the Note series? Thanks.
[Android General] garylawwd:
One of the devices he uses in the series is Snapdragon 410 device. That is in the j series galaxy phones and I used this series to do a couple of self builds for my device.

Absolutely gold in regards to the amount of information you can get from it and I don't think you would have any worries on the note series. There is over 100 hours of videos here so patience is key
[Android General] Aworawo:
Thanks bro

Thank you very much. I'll check it out.
[Android General] SrWladimir:
Hello, compiling RR I get these errors

ERROR: /android/RR/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:150: COLUMN_DESTINATION cannot be resolved or is not a field
ERROR: /android/RR/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:155: COLUMN_FILE_NAME_HINT cannot be resolved or is not a field
ERROR: /android/RR/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:1237: The method setStrictColumns(boolean) is undefined for the type SQLiteQueryBuilder
ERROR: /android/RR/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:1238: The method setStrictGrammar(boolean) is undefined for the type SQLiteQueryBuilder

I get these errors in every nougat custom rom that is NOT LineageOS

Is there an easy fix for this?
[Android General] AlaskaLinuxUser:
I'm not on XDA a lot, but I am on telegram if you need help. :D
[Android General] DJABHipHop:
I need Developet willing to mess with the grand 2, the s5 mini duos, Tab 4 10.1 LTE, Tab 4 10.1 WiFi, Tab 4 10.1 3G, Tab 4 8.0 LTE, Tab 4 8.0 WiFi, Tab 4 8.0 3G & S3NEO if you have anyone there devices and wanns developer for it PM me on Taelegram!!!!
[Android General] Spookybear:
Hey, I am building orangefox recovery for pixel/sailfish and I get this error when trying to build

make: *** [build/core/ninja.mk:158: ninja_wrapper] Error 1

Thanks
[Android General] TogoFire:
help, plis: https://del.dog/apofilygru

FAILED: ninja: ./build/blueprint/bootstrap/build.ninja:11: loading '/root/xtended/out/soong/.minibootstrap/build-globs.ninja': Exec format error

subninja ${myGlobs}

^ near here

15:12:20 soong minibootstrap failed with: exit status 1
[Android General] FELIPE NDC:
Could you help me with this, please? Thank you.

Have you ever seen this error?

Device tree: