yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] desalesouche:
https://github.com/Herna1994/android_proprietary_vendor_huawei

i only reverted manually the q_prio.c file and it seems to build now...

will edit...

edit=

as said above...i just reverted the q_prio.c and the build went fine without errors about external_iproute2_blabla...
[Android Software/Hacking General [Developers Only]] zymphad:
frameworks/av/media/libstagefright/AwesomePlayer.cpp:1210:34: error: 'LPA_MIN_DURATION_USEC_DEFAULT' was not declared in this scope

frameworks/av/media/libstagefright/AwesomePlayer.cpp:1215:28: error: 'LPA_MIN_DURATION_USEC_ALLOWED' was not declared in this scope

target thumb C++: libstagefright <= frameworks/av/media/libstagefright/CameraSourceTimeLapse.cpp

frameworks/av/media/libstagefright/AwesomePlayer.cpp: In member function 'android::status_t android::AwesomePlayer::initAudioDecoder()':

frameworks/av/media/libstagefright/AwesomePlayer.cpp:1797:38: error: 'LPA_MIN_DURATION_USEC_DEFAULT' was not declared in this scope

frameworks/av/media/libstagefright/AwesomePlayer.cpp:1802:32: error: 'LPA_MIN_DURATION_USEC_ALLOWED' was not declared in this scope

frameworks/av/media/libstagefright/AwesomePlayer.cpp: In member function 'void android::AwesomePlayer::checkTunnelExceptions()':

frameworks/av/media/libstagefright/AwesomePlayer.cpp:3366:45: error: 'kKeyTunnelException' was not declared in this scope

frameworks/av/media/libstagefright/AwesomePlayer.cpp:3374:21: error: 'class android::MediaPlayerBase::AudioSink' has no member named 'streamType'

How do I solve this problem?

---------- Post added at 12:26 PM ---------- Previous post was at 11:31 AM ----------

Decided to replace frameworks/av with AOSP rather than CM. Hope it works.
[Android Software/Hacking General [Developers Only]] phoenixita:
like i supposed :P
[Android Software/Hacking General [Developers Only]] dr_w:
Lg g2 vs980

I'm trying to build 4.4 for the G2 ... how would I go about compiling this rom? The vendor files and CM base should come from 10.2 no? Anyone else out there building for the VS980?
[Android Software/Hacking General [Developers Only]] gimmeitorilltell:
The cm source would be from "kk44" and I guess you could check Here for official builds. Otherwise I really am unsure if the vs980 is being supported.
[Android Software/Hacking General [Developers Only]] zymphad:
frameworks/av/services/camera/libcameraservice/gui/RingBufferConsumer.cpp:247:16: warning: unused variable 'currentSize' [-Wunused-variable]

frameworks/av/services/camera/libcameraservice/utils/CameraTraces.cpp:22:36: fatal error: utils/ProcessCallStack.h: No such file or directory

compilation terminated.

make: *** [/home/zymphad/beanstalk/out/target/product/e970/obj/SHARED_LIBRARIES/libcameraservice_intermediates/utils/CameraTraces.o] Error 1

Running into this problem
[Android Software/Hacking General [Developers Only]] BMP7777:
Got that last night as well.
[Android Software/Hacking General [Developers Only]] patch_Adams:
I imagine the 4.4.1 source is going to throw everything off for awhile. You guys see the book that is the changlog?!
[Android Software/Hacking General [Developers Only]] zymphad:
Changing it to framworks/av to aosp sources fixes it, builds. But it's crud, doesn't work, doesn't even get to bootscreen. So I don't know what to do except sit on my hands and wait.
[Android Software/Hacking General [Developers Only]] :
beanstalk has framework similar to cyanogenmod u try that btw i think scott didn't merged 4.4.1 yet
[Android Software/Hacking General [Developers Only]] zymphad:
Similar? It is is cyanogenmod's frameworks/av.
[Android Software/Hacking General [Developers Only]] zymphad:
Kept getting fetch errors. Changed default.xml a bit. Obvious, but whatever, figured I'd post it anyway.

<?xml version="1.0" encoding="UTF-8"?>

<manifest>

<remote name="aosp"

fetch="https://android.googlesource.com"

review="android-review.googlesource.com" />

<remote name="cm"

fetch="https://github.com/"

review="review.cyanogenmod.org"

sync-j="4" />

<remote name="github"

fetch="https://github.com/"

sync-j="4" />

<default revision="refs/heads/cm-11.0"

remote="cm"

sync-c="true"

sync-j="4" />
[Android Software/Hacking General [Developers Only]] CPA Poke:
You've got two remotes pointing to the same fetch location....either delete the cm remote reference altogether, or change the fetch point to: "https://github.com/CyanogenMod/".

If you choose the latter, you need to make sure you go through and remove the prefix from all the CM project names...ie "CyanogenMod/android_vendor_cm" would just become just be "android_vendor_cm".

That should get you fixed up if you haven't already.
[Android Software/Hacking General [Developers Only]] phoenixita:
Does some of you have systemui f/c? i have it enabling darkstalk and on the latest version it happens after you press the sleep button.

[MENTION=4552996]scott.hart.bti[/MENTION]
[Android Software/Hacking General [Developers Only]] BMP7777:
I have it on darkstalk. I just tell my users that some hiccups are the name of the game right now.
[Android Software/Hacking General [Developers Only]] phoenixita:
With 4.4.100 i can't use my phone cause of systemui f/c when on darkstalk the problem was avoided not enablying it...I'm now trying cm11 nighlty.
[Android Software/Hacking General [Developers Only]] BMP7777:
Didn't know 4.4.100 was out yet. Built over the weekend and it was still 4.4.015. And there were errors. It's probably just not ready. I start to think sometimes that Scott will throw an error in there to screw with us overzealous types. Sort of an 'If your'e in such a hurry, then fix this" kind of thing. I'd just wait it out. :eek:
[Android Software/Hacking General [Developers Only]] phoenixita:
I'll wait. I checked his github and seen the commit regarding the bump so i supposed it was buildable lol maybe i was wrong lol
[Android Software/Hacking General [Developers Only]] willl03:
Built 4.4.100 this morning

Small issue when you're in notif drawer and press the button to toggles, the first time the toggles appear before the rotation between notif page and toggle page. It's still rotating and toggles are already there

Also listview animations seem to be gone

Apart from that it's running really good, thanks Scott
[Android Software/Hacking General [Developers Only]] phoenixita:
Not having systemui f/c?
[Android Software/Hacking General [Developers Only]] hatememarkz:
Has the camcorder issue been fixed for the tmo gs² yet

GS² 4.4+ FTW
[Android Software/Hacking General [Developers Only]] patch_Adams:
I've had one report of this...but mostly good reports
[Android Software/Hacking General [Developers Only]] willl03:
None here and from testers, thing we all dirty flashed over 4.4.015 tho

Back to 4.4.015 for appbar and no bug in notification drawer to toggles drawer animation

By the way CM updated their samsung smdk4412 kernel to use the newer mali r3p2 video driver. To avoid getting a black screen you'll need matching r3p2 blobs in vendor/samsung/smdk4412...

CM do not provide or update manufacturers vendor files you build with (this is the extract files from ADB step when you setup your build folder) but you can get the needed files from SlimRoms github, proprietary_vendor_samsung look for r3p2 blobs commit and put the new files in the right folder

It's happening now for samsung smdk4412 devices but it applies to other devices if CM ever push an update to your kernel that needs updated matching proprietary blobs
[Android Software/Hacking General [Developers Only]] phoenixita:
I'm using an htc device. HTC one S. We had some changes in the kernel sould i give the command .extract-files.sh cding in my device folder to avoid these bugs?

Edit: systemui f/c happens when i press sleep button and try to wake my phone...all i have is a blackscreen if i reboot i got systemui f/c i'm trying a logcat could anyone read it for me please?
[Android Software/Hacking General [Developers Only]] phoenixita:
one: https://www.mediafire.com/?4xgol3vwq2lnnlg

and two: https://www.mediafire.com/?sc33bcblea9jigk

the first is taken with adb logcat -v long > name of problem.txt

the second with: adb logcat > name of problem.txt

Please take a look.

phoenixita [MENTION=1303561]willl03[/MENTION] [MENTION=5275632]patch_Adams[/MENTION] [MENTION=4552996]scott.hart.bti[/MENTION]
[Android Software/Hacking General [Developers Only]] patch_Adams:
I am terrible at logctas at this point man, sorry I won't be of any help here.
[Android Software/Hacking General [Developers Only]] gimmeitorilltell:
I'm currently running your 4.4008 build on one of my devices. I built 4.4.100 for the same yesterday and had the same problems. The logcat I took showed a bunch of system permission complaints. That's about as far as I've gotten tho. I'm happy with your posted build for the 2.15 hboot. I am having users complain about sd card issues on another device running 4.4.100. He says that he has to dig for the "0" folder in root explorer. I don't think most of our recoveries are 100% up to speed with the new source yet. Maybe if we start posting the recovery that builds with our roms, things will be better? I have used mine and it works! It's also touch for the most part.
[Android Software/Hacking General [Developers Only]] gamerman123x:
How much hard drive space is recommended to build this

Sent from My BeanStalk Galaxy Nexus running A.S.K.P Grande
[Android Software/Hacking General [Developers Only]] gimmeitorilltell:
I'm not sure but I don't think I would build with anything less than 50GB. You can use up to 20 gig during a build at times. I use 250gig but your source can be 20 gig too so the more space the better.
[Android Software/Hacking General [Developers Only]] CrashTestDroid:
If you're building for 2+ devices (without make clean in between) you'll need at least 100GB. SSD RAID will improve build speed.
[Android Software/Hacking General [Developers Only]] gamerman123x:
Alright I'm only building for 1 device and 4.4.100 is my first build

Sent from My BeanStalk Galaxy Nexus running A.S.K.P Grande
[Android Software/Hacking General [Developers Only]] BMP7777:
No less than 50GB. 80 would be a good middle zone for one ROM.

---------- Post added at 02:34 PM ---------- Previous post was at 02:32 PM ----------

I use upwards of 40 for my build. That's for the HTC ONE.
[Android Software/Hacking General [Developers Only]] gimmeitorilltell:
I've just ran into this issue after running repo sync and trying to compile. The build ran for 3 hours and then BAM! Any help here folks? It looks like a java issue but I've compiled about 10 roms using my java setup.

target Java: Settings (/home/tony/beanstalk/out/target/common/obj/APPS/Settings_intermediates/classes)
packages/apps/Settings/src/com/android/settings/Settings.java:79: cannot find symbol
symbol : class LockscreenInterface
location: package com.android.settings.cyanogenmod
import com.android.settings.cyanogenmod.LockscreenInterface;
^
packages/apps/Settings/src/com/android/settings/Settings.java:82: cannot find symbol
symbol : class SystemUiSettings
location: package com.android.settings.cyanogenmod
import com.android.settings.cyanogenmod.SystemUiSettings;
^
packages/apps/Settings/src/com/android/settings/Settings.java:373: cannot find symbol
symbol : class LockscreenInterface
location: class com.android.settings.Settings
LockscreenInterface.class.getName(),
^
packages/apps/Settings/src/com/android/settings/Settings.java:374: cannot find symbol
symbol : class SystemUiSettings
location: class com.android.settings.Settings
SystemUiSettings.class.getName(),
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors
make: *** [/home/tony/beanstalk/out/target/common/obj/APPS/Settings_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
[Android Software/Hacking General [Developers Only]] willl03:
It's a problem related to these files, not to your java setup :)

These files at the lines that are identified cannot find what they're looking for elsewhere in the rom, looking at the github looks like Scott started to work on an update but it's not completed. When it's ready to be built he will bump the version in proprietary_vendor_cm, if we still have some errors then we can start digging

Hope to see the notification drawer to quicksettings drawer animation bug fixed and appbar back! 4.4.015 is the one to beat, rock solid
[Android Software/Hacking General [Developers Only]] phoenixita:
Could any of you try clean installing 4.4.100 on his/her phone and check if systemui f/c are present or it's an issue of my phone?
[Android Software/Hacking General [Developers Only]] BMP7777:
4.4.100 works well for M7SPR, except that the tweaks settings (init., build.prop, wakelock blocker, etc) don't stick. But, no FCs that I've encountered.
[Android Software/Hacking General [Developers Only]] phoenixita:
Have you clean installed?
[Android Software/Hacking General [Developers Only]] BMP7777:
It's the only way I roll. Lots of users have dirty flashed and said it even alleviates some of their issues, but I always wipe. :angel:
[Android Software/Hacking General [Developers Only]] phoenixita:
T_T Why am I getting systemui f/c in loop? T_T
[Android Software/Hacking General [Developers Only]] BMP7777:
12/9 build?
[Android Software/Hacking General [Developers Only]] phoenixita:
Yeah!
[Android Software/Hacking General [Developers Only]] BMP7777:
I used to get that same thing when I first started building Carbon; could never figure it out. Couldn't get a logcat either because it occurred right after boot and the device wouldn't recognize on a computer. Not sure what to tell you except make clobber and run a fresh build.
[Android Software/Hacking General [Developers Only]] phoenixita:
I'll have to wait for a version bump by scott! Right now beanstalk it's not buildable :P
[Android Software/Hacking General [Developers Only]] gimmeitorilltell:
I built the same build for the same device getting the same errors. They are permission issues that need to be looked at and updated.

On my build, for the d2spr using a gsm provider, it will not find any networks. I've tried every setting in the radio and still no go. The build is running great all but I can't run it without service. Anyone have any ideas or think it's in the ril?
[Android Software/Hacking General [Developers Only]] phoenixita:
Is something that should i do or related to beanstalk repos?
[Android Software/Hacking General [Developers Only]] gimmeitorilltell:
I'm not 100% sure but you can try to build just cm11 for the device and see if the issues are still there. It's most likely a beanstalk thing, could be wrong too. I noticed when I built it, the kernel seemed to have been built incorrectly. Again, same errors as you had gotten. It's unlikely that we both built with the wrong kernel source but it might have been caused by something in the build script. I may also try cm11 for that device just to compare notes with you.
[Android Software/Hacking General [Developers Only]] phoenixita:
cm11 for ville is compiled in nightlies and i never had issues like that so i think it's sometùhing bs related..or something in s4-common, msm8960-common folders that is conflicting....or maybe a kernel issue cause some commits were released some days ago.
[Android Software/Hacking General [Developers Only]] willl03:
For my LTE Note 2 we have to flash android 4.4 roms using CWM, TWRP flashes the rom "successfully" but gives no network

Hope that helps
[Android Software/Hacking General [Developers Only]] gimmeitorilltell:
There ya go, exactly what I was thinking with the msm8960-common source folder.

I will give this a try and let everyone know if this fixes the problem. I've seen several users with the same thing and I believe that my 4.4008 build connected to the network but every time I rebooted, I'd have to go in and select the wcdma preferred radio to regain signal. If memory serves me correctly. Thank you.
[Android Software/Hacking General [Developers Only]] CrashTestDroid:
fwiw i've found it's a gamble whether to use CWM or TWRP. On one device only TWRP works (jfltetmo) while on another only CWM works (eg hltetmo) and the only way is trial and error.

Also when hw-looking issues (missing wifi etc) crop up sometimes you have to update blobs.
[Android Software/Hacking General [Developers Only]] phoenixita:
How to update blobs?
[Android Software/Hacking General [Developers Only]] gamerman123x:
For some reason when I do a repo sync it fails after a bit and says exited due to fetching errors anyone else getting this ?

Sent from My BeanStalk Galaxy Nexus running A.S.K.P Grande
[Android Software/Hacking General [Developers Only]] CrashTestDroid:
No. repo syncs fine. Try only 1 thread and it should work unless your internets are funky
[Android Software/Hacking General [Developers Only]] phoenixita:
Have you modified default.xml?
[Android Software/Hacking General [Developers Only]] kiko3:
Is beanstalk buildable?
[Android Software/Hacking General [Developers Only]] phoenixita:
Not yet.
[Android Software/Hacking General [Developers Only]] gamerman123x:
How is it not buildable like what is preventing it ? Is it when you type build/envsetup line and at the end it won't make a zip file :confused:

Sent from My BeanStalk Galaxy Nexus running A.S.K.P Grande

---------- Post added at 01:00 PM ---------- Previous post was at 12:57 PM ----------

No just made the beanstalk folder and

Sudo apt-get install git-core

And

The repo like with kk44 at the end it pulls for a bit then stops

Sent from My BeanStalk Galaxy Nexus running A.S.K.P Grande
[Android Software/Hacking General [Developers Only]] gimmeitorilltell:
It's not buildable because Scott is working on his repo bringing it up to version 4.4.2 . If you show the error you're getting for repo sync, we will be able to help more. Post your sync error to pastebin and link it in this thread. You can't build yet but you should be able to sync up now & resync when it becomes buildable to grab the updated files.
[Android Software/Hacking General [Developers Only]] testulous:
Me too :) Just looking at git commits is too opaque. Just going to roll it out there and ask for feedback.
[Android Software/Hacking General [Developers Only]] patch_Adams:
I just built a 1.275 build. I'm going to try it out now :)

I'm not sure how I feel about releasing an update before Scott though. What do you guys think about that??
[Android Software/Hacking General [Developers Only]] chrisc93:
Check Scott's github. Then you can look at the commits and see what has been added.
[Android Software/Hacking General [Developers Only]] BMP7777:
Too late anyway; already two fresh builds out there. :angel:

Hey patch, did you have any build issues? Wanna know what I have to look forward to.......
[Android Software/Hacking General [Developers Only]] chrisc93:
Do the following:

cd ~/beanstalk/packages/apps/Contatcs
git revert 05d37de75d1309b08c4fd444d503746646d588dd
git revert e0b89b6c167720d2720d0fd3366587989251fdae
git revert dd4a7d562e8b44de56e24f96033be8af9d2d956d

I haven't tested this, but those were the only changes I could find.
[Android Software/Hacking General [Developers Only]] patch_Adams:
No build issues...I just repo, make clean, and build. I don't cherry pick or anything else....
[Android Software/Hacking General [Developers Only]] :
Whatever Scott did, I can build again
[Android Software/Hacking General [Developers Only]] ny-hardcore:
Worked! thank you!

I was looking at Phone, did not realise it was contacts
[Android Software/Hacking General [Developers Only]] wantowan2:
Gees, I hope that I didn't step on any toes by posting the latest. After talk here the day before regarding compile errors, I tried a sync/build the following morning and it compiled well. I noticed a version change so I left it for 12 hours and there were no more commits from Scott nor cm so I went for it.

I will hold back next time.
[Android Software/Hacking General [Developers Only]] patch_Adams:
I think it's fine. The repos are there for us to use.

sent from somewhere up in the northwoods
[Android Software/Hacking General [Developers Only]] azoller1:
Build 1.275 is working great, is anyone else doing make clobber between every build? I won't seem to build unless if make clobber before the build
[Android Software/Hacking General [Developers Only]] ny-hardcore:
is this something to be included in the default build?

I'm not sure how it looks on devices with smaller screen & after cleanup/fixup spacing

https://github.com/koen01/platform_build/commit/eb69300e30b3e7f6048a320d99abac6e9fcfeba7

and

https://github.com/koen01/platform_build/commit/f8199d48253a39800fe6b7da12cb3932f06085f2

FYI: its my own github
[Android Software/Hacking General [Developers Only]] BMP7777:
Newest build is the best yet, except for one thing, and apparently it only is happening to me. When making a backup, everything is fine until reboot. Then I get a booloop, no matter what. Tried fixing permissions, wiping dalvik after backing up, reinstalling TWRP and even upgraded to 2.6. I even stopped updating the EFS per another users suggestion. Same result. Also, on .261 it affected my ability to back up other ROMs after BS was initially run. Can't figure it out. DRIVING ME NUTS. As of yesterday, other ROMs backed up fine and rebooted without issue, and today a backup of another ROM made yesterday restored and booted no problem. Has this happened to anyone else? :(

BTW - I think it is worth mentioning that I(and I'm sure everyone else in this thread) am extremely thankful for not only this ROM, but the effort with which Scott continues to put into the production of it and the assistance he offers those of us who build it. Don't let the complainers bring you down, Scott. We appreciate what you do and how hard you work to keep this great ROM going!!!

THANK YOU!!

​
[Android Software/Hacking General [Developers Only]] :
I have a user reporting loss of status bar theme after reboot. I am unable to reproduce it on my device. Has anyone else had this issue with their users?

---------- Post added at 09:52 PM ---------- Previous post was at 09:21 PM ----------

REGARDING STYLUS GESTURES:

I talked to [MENTION=3739748]sbradymobile[/MENTION] and he very kindly said he did the following:

"Hi, I'm taking a look now. I don't see a specific problem but I just combined the two setting observers to see if that helps. Let me know if it makes any difference."

So, after my SGT7 rom nightly compiles on my jenkins server tonight, I will give it a test tomorrow and see if they are fixed on SGT7. If so, then there shouldn't be much difficulty to fix it for beanstalk
[Android Software/Hacking General [Developers Only]] :
[MENTION=4552996]scott.hart.bti[/MENTION] or anyone here, can you please tell me which COMMITS affect the "DarkStalk" feature? It would be beyond appreciated if you could just point me in the right direction on this, anyone?
[Android Software/Hacking General [Developers Only]] ny-hardcore:
Are you porting?

https://github.com/scotthartbti/frameworks_native/commit/1cd3cd7a4de238b890d8ad0ca0ce41728716f93c

Is one i know off
[Android Software/Hacking General [Developers Only]] :
I'm trying to. Thanks for the start, Although I am not sure how to track what else I need to pull
[Android Software/Hacking General [Developers Only]] CrashTestDroid:
This might be related if your problems are "aidl" related:

make: *** No rule to make target `frameworks/opt/telephony/src/java/com/android/internal/telephony/ISmsMiddleware.aidl', needed by `/home/SHARED/beanstalk/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/src/src/java/com/android/internal/telephony/ISms.java'. Stop.
make: *** Waiting for unfinished jobs....
CHK include/linux/version.h
make[1]: Leaving directory `/home/SHARED/beanstalk/kernel/lge/mako'
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area

Koush has a comment on this - apparently aidls hang around - but I don't know how to "clean the build" other than clobber.