yashsingh1/xdaforums huggingface dataset:
[Android Builders Collective] ezio84:
Thanks guys! So it's something in the kernel, I'll check the source, maybe there's are some qcom or caf commits i need to revert.
[Android Builders Collective] Yank555:
I should have a little free time tomorrow if you need a hand, let me know ;)

Will also try to fix the non-working 'avoid accidental wakeup' on HH...

JP.

Sent from my Nexus 6 running Yank555.lu SlimLP 5.1.1 on Yank555.lu v1.3a kernel.
[Android Builders Collective] Laggalot:
Well Aslong as it works I'm fine for now ^^ Because Im actually waiting just passing the time till my OPT arrives :D Its already in the UK (shipping to austria)

General question: Are any of the devs gonna get it and develop for it? :3 Would love some SliM goodness on the OPT.
[Android Builders Collective] Yank555:
I think there's a build around, check G+ community.

JP.

Sent from my Nexus 6 running Yank555.lu SlimLP 5.1.1 on Yank555.lu v1.3a kernel.
[Android Builders Collective] beany>:
Martin Coulon did what appears to be a one off build : https://plus.google.com/+martincoulon/posts/eGxRUa1qmJC

Great device in dire need of a great ROM. OnePlus could help the cause by getting the device into the hands of more devs or releasing some code...
[Android Builders Collective] inffy:
They won't release any code beside the kernel source.
[Android Builders Collective] beany>:
I know [MENTION=251020]inffy[/MENTION]. Shame they couldn't have released something for fingerprint and slider, just to start things off.

Also, looks like Martin has just released another version. https://www.androidfilehost.com/?w=...a5628aa061eb47213f4e1a66a9f1760da978083223acd
[Android Builders Collective] ezio84:
Fixed, i just switched to your "sound" kernel subfolder. In my source i saw a lot of caf commits related to ASoC -the qcom driver- you don't have. No time atm to look at single commits, so Schwarzy's way (blow the s##t up) has been a good solution :D

If i understood it correctly, the power amp gain shoud be the best way to make the sound louder without distortion, because it uses the analog amplifier gain.

Pushing the updated kernel in a few minutes ;D

---------- Post added at 10:59 AM ---------- Previous post was at 10:22 AM ----------

Updated kernel with analog power amp gain support for FauxSound:

https://www.androidfilehost.com/?fid=24052804347822822
[Android Builders Collective] Laggalot:
Great job! Everything is working as it should :3
[Android Builders Collective] Yank555:
Maintenance update on my end :

- repo sync'ed yesterday evening

- (shamu) 2 tiny AOSP device tree updated (maintenance stuff only)

- (hammerhead) fix 'prevent accidental wakeup'

Download Links as usual ;)

JP.

PS: Shamu, Hammerhead, Flo & Flounder are up.
[Android Builders Collective] chykal:
I am still on your 9/11 build due to Bluetooth issues with the blobs I guess. Can I flash this kernel to improve sound over all?
[Android Builders Collective] ezio84:
The latest build has same 09/11 blobs, so you should be fine with it too.

Btw yes, the kernel zip is good for all my builds.
[Android Builders Collective] dokie80:
I m trying to build slimrom for unsupported device, and facing some error while building, can i post here to ask for help? Or should i make a new thread ?

Warning though, i m totally noob on Linux, etc. :D

I already post on slimrom g+, but got No response :(
[Android Builders Collective] fraz14:
I think you can post here;)
[Android Builders Collective] dokie80:
Grrrreeeaaat.

Here is my post.

Hi all, I'm new with android and linux, and trying to build SlimROM for otter / Kindle Fire, but facing some problem while building. I already setup repo, sync device tree, vendor, and kernel, and do require steps to make it compatible with slim. envsetup and breakfast went without problem, but when I do lunch command, I got errors like this:

target StaticLib: libscrypt_static (/home/dokie80/android/out/target/product/otter/obj/STATIC_LIBRARIES/libscrypt_static_intermediates/libscrypt_static.a)
make: No rule to make target `frameworks/av/media/libstagefright/data/media_codecs_ffmpeg.xml', needed by `/home/dokie80/android/out/target/product/otter/system/etc/media_codecs_ffmpeg.xml'. Stop.
make: Waiting for unfinished jobs....
target StaticLib: libminshacrypt (/home/dokie80/android/out/target/product/otter/obj/STATIC_LIBRARIES/libminshacrypt_intermediates/libminshacrypt.a)

#### make failed to build some targets (26:53 (mm:ss)) ####

please tell me, why this error happen? and how to fix this. I need to know the "why" too, because I believe this kind of error will happen again.

and from the screenshot, you can see that there are several warnings too, are those important, or I can just ignore them?

thanks

ps. keep in mind that I'm a noob, if possible, please give solution and explanation, so I can understand it better.

again, many thanks ;)﻿
[Android Builders Collective] clementinox:
Could you post your manifest file?

it should be in your Slim directory under .repo

If you dont see the folder, hold CTRL+H, then go .repo/local_manifests/slim_manifest.xml

Just a tip, when building try doing something like:

. build/envsetup.sh
brunch hammerhead 2> build.log

It makes it easier to find build errors. The generated file with errors will be located under your slim directory where your .repo folder is also located.
[Android Builders Collective] dokie80:
whats the "2>" for? can I use this for other command too? such as repo sync?

so if i usually use brunch "slim_otter-userdebug -j2", then next time I use : "brunch slim_otter-userdebug -j2 2> build.log" ?

thanks for the tips.

here is my slim_manifest

I replace hardware/ti/wlan because I got error related to "wl127x-wlan-products.mk" that does not exist in "hardware/ti/wlan/mac80211/"

thanks
[Android Builders Collective] TJKV:
I think he meant -j2, not just 2. The remaining portion is "> filename", where ">" pushes the terminal output to a file whose name you specify there.
[Android Builders Collective] Kurre:
In linux 2>filename means "redirect stderr to a file". So file would only contain errorlog instead of everything (which is more useful in many cases).

Personally I use: command | tee command.log

'tee' logs to a file and prints to the screen in the same time. Of course you can combine it with stdout & stderr if you want to..

Sent from my 1+1
[Android Builders Collective] clementinox:
I went through your manifest, one path was entered incorrectly (for the KFire-Android/proprietary_vendor_amazon) and you had an extra kernel line (CyanogenMod/android_kernel_amazon_otter-common) but now your manifest looks good, I hope, try this one:

<manifest>
<project name="KFire-Android/android_device_amazon_otter" path="device/amazon/otter" remote="github" revision="cm-12.1" />
<project name="KFire-Android/android_device_amazon_otter-common" path="device/amazon/otter-common" remote="github" revision="cm-12.1" />
<project name="KFire-Android/android_device_amazon_omap4-common" path="device/amazon/omap4-common" remote="github" revision="cm-12.1" />
<project name="KFire-Android/kernel_omap_otter-common" path="kernel/amazon/otter-common" remote="github" revision="cm-12.1" />
<project name="KFire-Android/proprietary_vendor_amazon" path="vendor/amazon" remote="github" revision="cm-12.1" />
<remove-project name="SlimRoms/hardware_ti_wlan" />
<project name="CyanogenMod/android_hardware_ti_wlan" path="hardware/ti/wlan" remote="github" revision="cm-12.1" />
</manifest>

You might need to change some of the cm specific lines and naming from the directories in the 3 first project in your manifest.

I suspect you already know that since you started buidling already. Ex: cm.mk -> slim.mk

Also try [MENTION=2095315]ezio84[/MENTION]'s suggestion
[Android Builders Collective] :
[MENTION=2095315]ezio84[/MENTION] is this a new rro2.1 commit or is it one of the commits that were adviced not to add yet a while ago?
[Android Builders Collective] ezio84:
Add it ;)

The not needed ones are in the "Abandoned" status.
[Android Builders Collective] :
Thanks :)
[Android Builders Collective] dokie80:
I found the line in "/device/amazon/otter-common/common.mk", inherit from "device.mk"

I put "#" in front of the line, that should do, right?

thanks alot for the explanation, but how do you know to look in device.mk?
[Android Builders Collective] ezio84:
Right (the filename is not important and can change depending on the device trees). :good:

If you add the # to comment the line instead of deleting it, put the line at the end of the "PRODUCT_COPY_FILES += " block, after an empty line.
[Android Builders Collective] dokie80:
thanks, re-sync again with the new path for vendor (i dont remember if i already edit some file to point to the /otter/ folder T_T).. the extra kernel line is already in the manifest.. the order doesnt matter, right?

i already make some changes that I think is necessary.

another question, regarding the change of path for the vendor, can I just move the contents of /vendor/amazon/otter to /vendor/amazon ? so I dont have to do repo sync again? is it ok to do that?

---------- Post added at 04:15 PM ---------- Previous post was at 04:09 PM ----------

noted. btw, whats the "+=" part means?

so, the original looks like this:

PRODUCT_COPY_FILES += \
$(OTTER_COMMON_FOLDER)/prebuilt/etc/audio_policy.conf:/system/etc/audio_policy.conf \
frameworks/av/media/libstagefright/data/media_codecs_ffmpeg.xml:system/etc/media_codecs_ffmpeg.xml \
$(OTTER_COMMON_FOLDER)/prebuilt/etc/mixer_paths.xml:/system/etc/mixer_paths.xml \
$(OTTER_COMMON_FOLDER)/prebuilt/etc/wifi/TQS_S_2.6.ini:/system/etc/wifi/TQS_S_2.6.ini \
$(OTTER_COMMON_FOLDER)/prebuilt/etc/wifi/p2p_supplicant_overlay.conf:/system/etc/wifi/p2p_supplicant_overlay.conf \
$(OTTER_COMMON_FOLDER)/prebuilt/etc/wifi/wpa_supplicant.conf:/system/etc/wifi/wpa_supplicant.conf

I change it to this:

PRODUCT_COPY_FILES += \
$(OTTER_COMMON_FOLDER)/prebuilt/etc/audio_policy.conf:/system/etc/audio_policy.conf \
$(OTTER_COMMON_FOLDER)/prebuilt/etc/mixer_paths.xml:/system/etc/mixer_paths.xml \
$(OTTER_COMMON_FOLDER)/prebuilt/etc/wifi/TQS_S_2.6.ini:/system/etc/wifi/TQS_S_2.6.ini \
$(OTTER_COMMON_FOLDER)/prebuilt/etc/wifi/p2p_supplicant_overlay.conf:/system/etc/wifi/p2p_supplicant_overlay.conf \
$(OTTER_COMMON_FOLDER)/prebuilt/etc/wifi/wpa_supplicant.conf:/system/etc/wifi/wpa_supplicant.conf

# frameworks/av/media/libstagefright/data/media_codecs_ffmpeg.xml:system/etc/media_codecs_ffmpeg.xml \

correct?

ps. I still dont get how do you know to look in "device.mk", is it by experience, or is it mentioned in the error log? I need to know this so next time I can try to find trouble .mk by myself.
[Android Builders Collective] Laggalot:
Damn. Im having a problem with faux again. this is gonna take some explaining . I tried reflashing all the kernels I know . wiped system-flashed ezios last build-gapps-viper-any kernel(EX,yank,ezios last kernel) . I even tried a clean flash with ezios kernel but the same thing happens. I cant control poweramp gain. In fact,only EXkernel app does anything. But it sets it to something not even possible!!

35 of the 6 possible.... The thing is if I set it to zero there the music lacks so much power that the volume goes down for every bass. This is hard to imagine, but try to see it as a rollercoaster going up and down. (maybe the sound apps are interfering withanother, but I tried so many combinations already and Im getting tired of the time this wastes. So maybe somebody knows something about this!)
[Android Builders Collective] Yank555:
Try without viper ... not that viper replaces some lib rendering that setting impossible ?

Never faced the slightest issue with faux sound, neither on hlte, nor hh or shamu, but I never used viper either.

JP.

Sent from my Nexus 6 running Yank555.lu SlimLP 5.1.1 on Yank555.lu v1.3a kernel.
[Android Builders Collective] Laggalot:
I used a different viper zip (surround) and now it seems to be working again. (It was the one I was using before wiping system... I wanted to use stereo but I guess not [emoji14] )
[Android Builders Collective] ezio84:
Yes the "#" line is fine now.

About PRODUCT_COPY_FILES search on Google, there are some how-to like this one: http://stackoverflow.com/questions/...how-to-include-prebuilt-files-from-a-tar-file

About the mk: it wasn't mentioned in the log, but those libstagefright codec related lines are usually set in the device.mk file. When you don't know where to search, run the grep command:

grep -r "stringToSearch"

where stringToSearch is the string you want to find, for example: "media_codecs_ffmpeg":

grep -r "media_codecs_ffmpeg"

The command will show you all files and lines position with that string.
[Android Builders Collective] dokie80:
[MENTION=2095315]ezio84[/MENTION], thanks alot.. grep command will be my new fave command for the next months i think :D

I hope it will be easier than searching through github.

I had error with reboot_soft, but I already see a post asking the same error, deleted the line as u suggested.

I will ask again later (quite sure will face other problem). but, since my laptop is super slow, it will take some time to build until I face another error. :p

thanks
[Android Builders Collective] BigGiantFish:
Hello All, Just wondering if anyone is still building for Manta (Nexus 10) It would be neat to have an up to date build of slim. I know its a bit old these days, but would be nice to update to the latest features. Thanks to all the devs! (Sorry if this question offends)
[Android Builders Collective] SolarPlexus:
thanks [MENTION=653845]kant[/MENTION]jir and [MENTION=264345]ralpheboyo[/MENTION] so far. up to now I've got a build process, but I stuck now at the part of build the zip file:

building image from target_files BOOT...
Traceback (most recent call last):
File "./build/tools/releasetools/ota_from_target_files", line 876, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/ota_from_target_files", line 844, in main
WriteFullOTAPackage(input_zip, output_zip)
File "./build/tools/releasetools/ota_from_target_files", line 445, in WriteFullOTAPackage
OPTIONS.input_tmp, "BOOT")
File "/media/dirk/android/slim_new/build/tools/releasetools/common.py", line 298, in GetBootableImage
info_dict))
File "/media/dirk/android/slim_new/build/tools/releasetools/common.py", line 738, in __init__
self.size = len(data)
TypeError: object of type 'NoneType' has no len()
build/core/Makefile:1310: recipe for target '/media/dirk/android/slim_new/out/target/product/goldenve3g/slim_goldenve3g-ota-eng.dirk.zip' failed
make: *** [/media/dirk/android/slim_new/out/target/product/goldenve3g/slim_goldenve3g-ota-eng.dirk.zip] Error 1

So what can produce that error? I tried to build without a boot.img and recovery.img (set TARGET_NO_BOOTIMAGE := false and TARGET_NO_RECOVERY := false), but it seems the make process seaches for it? Is there something I've forgott?
[Android Builders Collective] damngood98:
most current (about a month old) can be found here

has a few extras, including layers....probably the most stable thing available for our dusty tab
[Android Builders Collective] Kurre:
It has been so long time since my last build? :o

Now I felt a sting in my heart because of this..I have been quite exhausted because of a large coding project at work, so I've kept myself away from my pc at home.

I'll try to give you fellas at least an up-to-date build (+maybe some extra stuff if possible) in few days :)

Sent from my 1+1
[Android Builders Collective] DroidIt!:
Heya guys :) Found something that might be of some interest today. This is from the presentation that goog is gonna give :)
[Android Builders Collective] JaylanPHNX:
That battery! [emoji38]

From my SlimTab Pro 8.4
[Android Builders Collective] clementinox:
The order doesn't matter as far as I know,

For the kernel you had one from KFire-Android and another from CyanogenMod. I just removed the CyanogenMod one since it was the same kernel as the KFire-Android one, you only need one.

The manifest provided should have all that is needed.

You could move the contents but make sure the change is reflected in your manifest. Do a repo sync afterwards to make sure there is no errors.
[Android Builders Collective] BigGiantFish:
It hasn't been along time. A new build would be much appreciated. But please don't feel that you have too! The purpose of the question was not to make you or anyone build (Thats why I asked here and not in the Manta forum) I was just wondering if someone had a home brew to share. The fact you made the effort previous is more then I have done. :)

Thanks again BGF.

(Been awhile since I signed into the the web version of XDA wow my SIG is out of date.)
[Android Builders Collective] dokie80:
oh, right... actually my manifest has only one kernel source. I edited here with the original source that I forked. my manifest mostly use /dokie80/source_name. I thought It is better to tell you guys here, which source that I use originally. probably shouldnt? :D

right now It's still building, thanks :D

another question:

if brunch command end up with error, and I make some adjustment, like editing .mk files, manifest, repo sync again; should I make clean and brunch again? or I just do brunch command? will it effect the previous files generated from previous brunch command?

Or, to make it simple, when should I do "make clean" (delete out folder) before building?

thanks
[Android Builders Collective] prbassplayer:
Make installclean usually good enough to make sure your changes are compiled. If you messed with boardconfig, be good idea to use make clean
[Android Builders Collective] PunkUnity:
Been hearing some users, including myself, getting completed builds and after a good clean flash, the device bootloops at the boot animation. Happened to me on SlimRemix for m8 and couple other users on some other Slim based roms. Anyone heard of this or seen it? Just curious
[Android Builders Collective] clementinox:
I had this issue when I started buidling. It could be that you are missing vendor files for your device, add this in manifest if you are building for M8:

<project name="TheLoonyBin/proprietary_vendor_htc" path="vendor/htc" remote="github" revision="lp5.1" />

If correct also look in device/htc/m8/full_m8.mk for this line, add it at the end of the file if its missing:

$(call inherit-product-if-exists, vendor/htc/m8/m8-vendor.mk)
[Android Builders Collective] PunkUnity:
Thanks man. I have all that already tho. I use a different proprietary vendor in roomservice but it always worked before. So idk. Should I change it to the looney bin? Instead of the one I'm using. Only discrepancy I see. I use TeamBliss-Devices for proprietary vendor HTC M8
[Android Builders Collective] Yank555:
Well if you want a no-fuss compile, best is to use TheLoonyBin with Slim ;)

Or debug the potential differences and adapt to them if needed.

JP.
[Android Builders Collective] :
Could anyone try to help me interpret this log (attached .txt file) of HERE maps crashing? I can see the errors and fatal problem but I have absolutely no idea what lines like

09-28 09:52:27.233 E/art (18455): No implementation found for byte[] com.nokia.maps.CryptUtils.PKCS5_PBKDF2_HMAC_SHA1(byte[], byte[], int, int) (tried Java_com_nokia_maps_CryptUtils_PKCS5_1PBKDF2_1HMAC_1SHA1 and Java_com_nokia_maps_CryptUtils_PKCS5_1PBKDF2_1HMAC_1SHA1___3B_3BII)

or

09-28 09:52:27.603 F/libc (18455): Fatal signal 6 (SIGABRT), code -6 in tid 18455 (m.here.app.maps)

are trying to tell. Is this caused by something in my build or is it a problem within the app? I can't see that the log is pointing me towards anything within the rom but as I mentioned my understanding of logs isn't very comprehensive.
[Android Builders Collective] dokie80:
[ROM][KK/LP][UNOFFICIAL] [SlimRoms] Builders Collective

hi again... facing another error, no clue where to look. help me out again?

target StaticLib: components_visitedlink_renderer_gyp (/home/dokie80/android/out/target/product/otter/obj/STATIC_LIBRARIES/components_visitedlink_renderer_gyp_intermediates/components_visitedlink_renderer_gyp.a)
target Executable: bdt (/home/dokie80/android/out/target/product/otter/obj/EXECUTABLES/bdt_intermediates/LINKED/bdt)
target SharedLib: libtinyalsa (/home/dokie80/android/out/target/product/otter/obj/SHARED_LIBRARIES/libtinyalsa_intermediates/LINKED/libtinyalsa.so)
Symlink: /home/dokie80/android/out/target/product/otter/system/bin/dalvikvm -> dalvikvm32
Install: /home/dokie80/android/out/target/product/otter/system/bin/debuggerd
target SharedLib: libart (/home/dokie80/android/out/target/product/otter/obj/SHARED_LIBRARIES/libart_intermediates/LINKED/libart.so)
collect2: error: ld returned 1 exit status
make: *** [/home/dokie80/android/out/target/product/otter/obj/SHARED_LIBRARIES/libart_intermediates/LINKED/libart.so] Error 1
make: *** Waiting for unfinished jobs....

#### make failed to build some targets (14:33:05 (hh:mm:ss)) ####

no libart.so in out/target/product/otter/obj/SHARED_LIBRARIES/libart_intermediates/LINKED/

Edit. Please Ignore this post. Possibly because i run out of free space :(
[Android Builders Collective] mslatter:
LG G3 D850 update.

Odd: I couldn't get it to build for the last few days and my terminal wouldn't let me scroll up far enough to see the actual error. So I tried with out commits, tried deleting all directories (except the .repo) and starting again e.t.c. and couldn't figure it out - still a build failure and unable to see far back enough in the log. So took the time to figure out how to extend the scrollable log in the terminal and built again, expecting to finally see the error that was causing it to fail. When I returned to my PC this morning to look, the build was successful!?? LOL - so still don't know what was causing it, but here to go....

Changelog = all merges since last build: https://review.slimroms.eu/#/q/status:merged

PLUS

## Cherrypicks for SlimROM features ##

# RRO Fixes

# KIO - Call Log Phone Tint

# Keep quiet when volume keys are used to wake up device

# Advanced reboot - soft reboot option

# Slim Recent App Sidebar

# Slim Global Menu

# Settings: Add lockscreen rotation as an optional rotation setting

# Fix QS panel showing on secure lockscreen

# RRO2 Layers: show an "Interface-Themes configuration" entry if exists

# Prevent accidental wake-up to OFF by default

Also, removed the following (install app to replace):

FMRadio / HTMLViewer / wallpapers / Camera2 / Calendar

1. Full Wipe (am told dirty flash works)

2. Flash Rom

3. Flash Gapps (I used Slim's gapps from their XDA thread: http://tinyurl.com/pncj8jk )

4. Flash SuperSu (optional but with out it my apps didn't restore properly with Titanium and not realizing it, a few days later I backed up empty apps over my loaded ones - live and learn)

https://www.androidfilehost.com/?fid=24052804347824006

Huge thanks to the following for making all this possible:

The ENTIRE Slim Team - for a great ROM and constant updates

arcardinal - Device maintainer

X-san - commits help / time saving script!
[Android Builders Collective] chykal:
I had problems with the last one but 9/11 worked. I just tried your latest and all is well with BT. Thanks ezio84.
[Android Builders Collective] Mikulec:
[MENTION=2033478]Yank555[/MENTION] - I am not able to change volume with screen off, is that intentional behaviour?
[Android Builders Collective] runtime@xda:
Is there any proper way to create Volume toggle shortcut using ChamberOfSecrets (between 1 and 7)? Using "volume_ring" doesn't work, I guess it's because in Settings files is written: "changing this value will not change the volume. See AudioManager". How to use it? Or is there any other way to do it?
[Android Builders Collective] martinusbe:
Oneplus2 build, only added the layers 2.1 commits

if anyone wants it, here it is https://www.androidfilehost.com/?fid=24052804347822862

;)
[Android Builders Collective] Laggalot:
Lol the perfect day for this... mine arrived at home today!!! Im on my way now. I will probably dont flash these roms until the bugs are ironed out... not having fingerprint scanner would make me sad..