yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] PWn3R:
Hi All,

I just downloaded the 5.1 code, drivers for the device (Shamu [Nexus 6]) fixed the required files to make the device tree and other stuff work, and fired up the first build. I tried a mka clean and wiped CCACHE. Anyone seen this or have any idea how to fix it. It's when it's trying to build a PDF component. I checked CM Review Gerrit and they don't have anything discussing this function or CPP file.

frameworks/base/core/jni/android/graphics/SurfaceTexture.cpp: In function 'void android::SurfaceTexture_init(JNIEnv*, jobject, jboolean, jint, jboolean, jobject)':

frameworks/base/core/jni/android/graphics/SurfaceTexture.cpp:267:18: error: cannot allocate an object of abstract type 'android::JNISurfaceTextureContext'

clazz));

^

frameworks/base/core/jni/android/graphics/SurfaceTexture.cpp:119:7: note: because the following virtual functions are pure within 'android::JNISurfaceTextureContext':

class JNISurfaceTextureContext : public GLConsumer::FrameAvailableListener

^

In file included from frameworks/native/include/gui/GLConsumer.h:25:0,

from frameworks/base/core/jni/android/graphics/SurfaceTexture.cpp:24:

frameworks/native/include/gui/ConsumerBase.h:49:22: note: virtual void android::ConsumerBase::FrameAvailableListener::onFrameAvailable(const android::BufferItem&)

virtual void onFrameAvailable(const BufferItem& item) = 0;

^

build/core/binary.mk:619: recipe for target '/home/ag24413/bs51/out/target/product/shamu/obj/SHARED_LIBRARIES/libandroid_runtime_intermediates/android/graphics/SurfaceTexture.o' failed

make: *** [/home/ag24413/bs51/out/target/product/shamu/obj/SHARED_LIBRARIES/libandroid_runtime_intermediates/android/graphics/SurfaceTexture.o] Error 1

make: *** Waiting for unfinished jobs....

target thumb C++: libandroid_runtime <= frameworks/base/core/jni/android/graphics/Xfermode.cpp

make: *** wait: No child processes. Stop.
[Android Software/Hacking General [Developers Only]] Unreal_Shogo:
I have the same issue compiling for geehrc, could you fix it?
[Android Software/Hacking General [Developers Only]] PWn3R:
I tried for about 6 hours. I ended up pulling the frameworks folder from the CM12.1 repo, but now I have other compile errors.
[Android Software/Hacking General [Developers Only]] Unreal_Shogo:
I've tried too forma about the same time. And pulling from other repos I think is not too safe to compile. The rare thing is the file exist, bit apparently with other name JNISurfaceTextureContext if I change the name....well, 5 more errors
[Android Software/Hacking General [Developers Only]] mario.castrogil.1:
Plis port beanStalk 5.1 for GT-6500D
[Android Software/Hacking General [Developers Only]] PWn3R:
I spent some time copy and pasting code from the CM12.1 Repo and got past the first batch of errors, only to run into others with HDMI and then others with some of the core JNI frameworks. I think that we are going to have to wait for [MENTION=4552996]scott.hart.bti[/MENTION] to fix the issues.
[Android Software/Hacking General [Developers Only]] gururoop:
Is our favourite ROM gone forever? There has been no activity on scott's github since 2 weeks. 5.1 doesn't build for OPO. Hope he is doing fine and we get an update soon. Best of luck Scott.
[Android Software/Hacking General [Developers Only]] liv3dn8as:
Working 5.1 Build?

anyone having any luck getting a 5.1 build? I build for Verizon LG 2 & 3 and builds just fine on 5.0 but as soon as I try 5.1 i get the error 41. From the looks of it, it is a Java issue but not sure. I'd really hate to see BeanStalk go away! :crying:
[Android Software/Hacking General [Developers Only]] PWn3R:
liv3dn8as - I haven't been able to get a build working. I have an idea I'm going to try to get one working at a later date. Based on Scotts new picture on XDA I would say he has a baby and that's probably why he's been MIA and that's COMPLETELY understandable. Hopefully everything is good with Scott and we can get this thing working again. :)
[Android Software/Hacking General [Developers Only]] liv3dn8as:
Thanks [MENTION=3299044]PWn3R[/MENTION]! I went back to 5.0 for the time being. So far everything is going ok. Started pulling things into my own github. Building a successful vs985 with Linaro 4.8/4.9 atm! :)

Edit: Just realized he, [MENTION=4552996]scott.hart.bti[/MENTION], changed his profile pic! Yai! Still no movement on github though! I'm keeping my eye on it though! :)
[Android Software/Hacking General [Developers Only]] scott.hart.bti:
Sorry for the lack of progress and updates! I've been very busy the past couple months with working at a new job and time spent with a new girlfriend. I recently upgraded my phone to the lg g4 and want to start building and updating my repos again. Problem is, root hasn't been released by a couple devs for my device yet. As soon as they do release the root exploit, I will start getting everything up to date. Beanstalk is not dead yet.
[Android Software/Hacking General [Developers Only]] fizbanrapper:
That's great news Scott! Too many don't have their priorities straight. Glad you're not burning the candle at both ends.

Not going to lie though, I look forward to syncing up to do M8 builds!
[Android Software/Hacking General [Developers Only]] scott.hart.bti:
Yea seems like all I've been doing is working, seeing girlfriend, taking care of kid, and sleeping. Can't wait to get builds up and running once g4 root is released. I'd start getting everything updated now, but I don't like pushing anything to my github unless I'm personally using it so I know what's working and what needs improvement.
[Android Software/Hacking General [Developers Only]] patch_Adams:
Scott! I'm I the g4 too....Verizon...and I'm happy to help down the road once root gets released...
[Android Software/Hacking General [Developers Only]] :
Yep, OPO here ready to build
[Android Software/Hacking General [Developers Only]] liv3dn8as:
Completely understandable! While I haven't had a new girlfriend in years, as I've been married for over 9yrs now, my wife and i have 4 kids so i understand how much time they can take up! :) Super pumped to know you are back and looking forward to some updates!!! :D
[Android Software/Hacking General [Developers Only]] scott.hart.bti:
Patch! Hope all is well. Once root is released it all yours... Read the next post in a few minutes for the reason
[Android Software/Hacking General [Developers Only]] scott.hart.bti:
Good news guys. I'll start working on getting everything up to speed hopefully early next week. I decided to take a hit in the pocket and pick up a n6 so I can get started... Couldn't wait any longer on the g4. I'll start pushing to my github as soon as possible. Also im gonna start getting the official page with the graphics to use so everything looks official again.

I'll update here with progress.
[Android Software/Hacking General [Developers Only]] dechronic:
[MENTION=4552996]scott.hart.bti[/MENTION] Since goo.im is no longer available, do you have another site that you will upload your official builds to?

Just asking as I see you have already started updating your github repositories.
[Android Software/Hacking General [Developers Only]] sleshepic:
Would love to bring stalk to Kltespr again when ready, gonna sync up 5.1 of what's avail. Thanks man for your work
[Android Software/Hacking General [Developers Only]] PWn3R:
Great news man! Glad to hear all is well with you. There's a lot of people here that have been loving your ROM more than you know, and a few of us tinkerers that can build for other devices, but don't know how to fix the bigger problems!
[Android Software/Hacking General [Developers Only]] scott.hart.bti:
I'm registered on a few of the fileshare sites... I'll get it figured out and let everyone know...

So after getting shafted by some loser on eBay for a device, I picked up another phone and have been working on it a bit... As you guys have or have not seen I pushed a few new things to my github.

Here is the main thing ... I'm debating holding off on 5.1 and waiting for android M since its right around the corner. 5.1 is basically like 6 months old and pretty much every other build has done things for it... At this point I feel it'd just be redundant to get caught up... Thoughts?
[Android Software/Hacking General [Developers Only]] sleshepic:
That, of course, is up to how you feel, your inkling on it. I can't speak for all, but feel like I can speak for all in saying, do what you do, whatever is, is appreciated

I can't help much more than basic building and bug fixes, but if I can help in that regard hit me up, be it 5.1 or M
[Android Software/Hacking General [Developers Only]] liv3dn8as:
is there an easy way to change the color/transparency of the App Drawer background before building? I've found some guides but they seem to be post-build and i never get the result i want! maybe the ability to change it could be in the next version? :)

Edit: I realized shortly after posting this that the "Vertical" view of the App Drawer is already transparent. So hopefully with some more research I'll be able to answer my own question! Just been a bit busy studying for my CCNP R&S and DC! :)
[Android Software/Hacking General [Developers Only]] scott.hart.bti:
I have a new file server that I will be using to house the beanstalk builds and of course would like everyone to upload and use the server as well. Please email me at Scott.hart.bti@gmail.com to get setup so you can start uploading your files.
[Android Software/Hacking General [Developers Only]] spezi77:
Hey there!

Just my two cents..

I'd like very much to see a 5.1 as it comes with quite a few improvements in terms of stability and security (stagefright). I am also building for legacy devices, and I definitely prefer a lightweight BS ROM over a CM as it feels more snappy.

I could try to help a little with merging, but cannot give any promises..

Cheers! :D
[Android Software/Hacking General [Developers Only]] liv3dn8as:
hey all! any updates on this ROM yet? I'd really hate to see this ROM die! It's the only one i want to use! If it's up to me to keep it alive, i will do just that! Just need to know! :)
[Android Software/Hacking General [Developers Only]] :
You certainly can forward port the features.
[Android Software/Hacking General [Developers Only]] spezi77:
[MENTION=2226527]liv3dn8as[/MENTION] you could look into my frameworks_base forked from slim-lp. I have started to make forward ports, but didn't have the time for finishing it.

https://github.com/spezi77/android_frameworks_base/commits/bs-5.1-sl-wip
[Android Software/Hacking General [Developers Only]] scott.hart.bti:
Good news BeanStalk builders... After what seems like forever, its safe to say that BeanStalk is up and running and ready for android Marshmallow 6 builds. It is still based on CM as prior versions have been. I am taking a bit of a different approach this time though. Instead of having a specific menu from the main settings screen with the extras that I am adding in, I decided to integrate all the additional features into the existing CM settings menus... So added features will be in all areas of the build. I am going to be maintaining for the Nexus 6P (Angler) and plan on opening the OP Thread later this evening (time permitting of course)... The big change is going to be where the BeanStalk files are stored. With the fall of Goo manager, I had to find another file server. I am registered with a few files servers, but decided to use romwarehouse and would like to try to keep the builds from other devices stored there as well (for OTA purposes). This is the main address where the device folders will be listed http://romwarehouse.com/scott.hart.bti/beanstalk/

Please contact me via hangouts or gmail (scott.hart.bti@gmail.com) so that I can setup your device folder and provide username and password information.

I will need to create a new OP for the BeanStalk threads. If anyone would like to get something created, that would be a big help. Once the OP is created, I would like everyone else to use the same format.
[Android Software/Hacking General [Developers Only]] scott.hart.bti:
FYI... Beanstalk 6.01 was launched for nexus 6 (angler) this past weekend... Please take a moment to view the thread a d follow the new OP design (obviously change what's needed for your device) if building for a new device http://xdaforums.com/nexus-6p/development/rom-beanstalk-6-01-12-12-2015-t3269156/
[Android Software/Hacking General [Developers Only]] spezi77:
Awesome! I plan to compile it for nexus 4.. if there is no one else around who already has had the same thing in mind.
[Android Software/Hacking General [Developers Only]] fizbanrapper:
Great decision! Too many others go to great lengths to put their features in awkward places.

Sure it might separate stock features from custom features, but users don't care about that anyway. They just want a good experience.
[Android Software/Hacking General [Developers Only]] thinhx2:
i have device,vendor,kernel cm but i dont build bs6.why?
[Android Software/Hacking General [Developers Only]] spezi77:
Copy the build logcat from your terminal, paste it to pastebin or gist. Without this piece of information no one is able to understand what is your problem.

Furthermore, please add links to your code on github.

Best of luck..
[Android Software/Hacking General [Developers Only]] thinhx2:
Thank bro
[Android Software/Hacking General [Developers Only]] PWn3R:
Hi All - I've been building for Shamu, something that was merged upstream is breaking the Setup Wizard no matter what version of GAPPS you use as of the build I made on the 27th. I can't find anything as a smoking gun on the CM Gerrit, and I've merged about 10 different patches found there. You can dirty flash over the top of another older installed build, but can't fresh install. Has anyone had this problem or do you know how to fix it? I checked and it's not an app permissions problem for the setup wizard app either.
[Android Software/Hacking General [Developers Only]] dave71670:
Having same issue with e980 builds but cm works fine. I am inquiring as well.
[Android Software/Hacking General [Developers Only]] PWn3R:
Completely Off-Topic, but Go Pack (my parents are from Stevens Point and Rice Lake). All of both families still live in Wisconsin except my parents.
[Android Software/Hacking General [Developers Only]] zymphad:
Anyone else have issue when Android booting, hangs on contact storage?
[Android Software/Hacking General [Developers Only]] Taker18:
Can anybody help me, i get always the same error while building

http://hastebin.com/liqufurisi.vhdl
[Android Software/Hacking General [Developers Only]] spezi77:
Apparently, your device has some improper se policy file(s). If you compile for Android 6, you should watch out for any updates available in AOSP or CM repo.

Best of luck!
[Android Software/Hacking General [Developers Only]] zymphad:
Trying to build, but build process hangs while packaging message.apk. Just hangs there, forever, frustrating since it's probably only another 2 minutes to finish.

Any ideas?
[Android Software/Hacking General [Developers Only]] PWn3R:
Anyone here have problems with the system randomly rebooting and saying it's out of "Running low on storage space"? I had this on two builds in a row from 3/11 and 3/12.
[Android Software/Hacking General [Developers Only]] Saumitra Yadav:
Compiling Beanstalk for mi4i(ferrari). Getting this error again and again please help!
[Android Software/Hacking General [Developers Only]] spezi77:
Please check this article here below "Jack troubleshooting": https://source.android.com/source/jack.html

Best of luck!
[Android Software/Hacking General [Developers Only]] machetie:
Any help much appreciated!!!
[Android Software/Hacking General [Developers Only]] PWn3R:
Anyone else getting this problem building BS6?

package com.cyanogen.ambient.ridesharing.core does not exist

It's a problem in the messaging app build.
[Android Software/Hacking General [Developers Only]] krassermensch:
yep, I get the same error. However I still need to figure out what it's caused by exactly. There shouldn't be much to analyse as there haven't been many commits on bs6 in the recent days and I think it was a week back when it still compiled successfully.
[Android Software/Hacking General [Developers Only]] PWn3R:
They added that last Monday I believe in the CM repo and we synch the messaging app straight from CM. Thinking of reverting that commit and 3 or 4 others since that updated that stuff.
[Android Software/Hacking General [Developers Only]] PWn3R:
I reverted 3 commits, but it still doesn't compile. Maybe I missed something. Too tired to worry about it now.
[Android Software/Hacking General [Developers Only]] krassermensch:
I think it isn't the messaging app itself which is buggy as other users are able to compile pure cm successfully. I think it's a dependency from another repo. However, I need to go to school now. I'll have to have a deeper look at it after school...

Edit: it wasn't much to figure out. I've already fixed it now but I don't want to add another repo to my github so I'll keep these minor changes local. The trick wasn't reverting 3 commits. You need to revert the commits with ridesharing in it. Just reverting 5 commits would also fix it ;)
[Android Software/Hacking General [Developers Only]] Nihhaar:
Getting same error. Will try this and see.

---------- Post added at 05:19 PM ---------- Previous post was at 04:49 PM ----------

Oh yeah, working great! Can you tell me is Ridesharing? All 5 commits have this thing?
[Android Software/Hacking General [Developers Only]] krassermensch:
Just watch the commit names ;)
[Android Software/Hacking General [Developers Only]] Kapiljhajhria:
can anyone help with which 5 commits to undo? i am getting same error while compiling firehound ROM for OP2. (mm version)

my error at

http://pastebin.com/2BW8k70e

saw few commits related to this but can't figure out which one to pick

https://review.cyanogenmod.org/#/q/ridesharing

also i am not an expert at this so please go easy on me. just at beginners level.
[Android Software/Hacking General [Developers Only]] Nihhaar:
I'm beginner than you. Anyways, commits upto sep8, 2016 is fine. Thats where ride sharing started. Undo everything upto sep 8 (which are like 8 commits now) or undo commits with name 'ridesharing' in the commit names.
[Android Software/Hacking General [Developers Only]] PWn3R:
They fixed this in the main repos. If you just do repo sync the builds should work.
[Android Software/Hacking General [Developers Only]] kjinx01:
same issue..u got the solution?:crying:
[Android Software/Hacking General [Developers Only]] machetie:
Sorry stopped developing for beanstalk, cm13 with xposed does the job for me now.
[Android Software/Hacking General [Developers Only]] krassermensch:
I've been trying to figure out why the storage is always encrypted though I disabled FS_encryption in my kernel builds for some hours now. As the kernel runs without encryption by default the encryption has to be caused by the system. I tried to search for some key words by going to the source of the settings app and find the security activity where the options for FS encryption can be found. However I couldn't find out anything else. I want to disable encryption by default and only make it applyable in my builds. Any suggestions? I'd be very happy about any help, guys. Maybe you, [MENTION=4552996]scott.hart.bti[/MENTION] know some more about that?
[Android Software/Hacking General [Developers Only]] chineel:
Check with your device specific files like fstb or any other config file in init process
[Android Software/Hacking General [Developers Only]] krassermensch:
Thanks, there was just some kind of additional flag. I was able to figure it out, just forgot to report back here. Thanks, anyway!
[Android Software/Hacking General [Developers Only]] desalesouche:
one of last error?

/obj/PACKAGING/target_files_intermediates/cm_u8800pro-target_files-eng.desalesouche.zip -d /tmp/targetfiles-HrFKqO

Traceback (most recent call last):

File "./device/huawei/u8800pro/releasetools/ota_from_target_files", line 875, in <module>

main(sys.argv[1:])

File "./device/huawei/u8800pro/releasetools/ota_from_target_files", line 818, in main

OPTIONS.info_dict = common.LoadInfoDict(input_zip)

File "/home/desalesouche/beanstalk/device/huawei/u8800pro/releasetools/common.py", line 155, in LoadInfoDict

d["fstab"] = LoadRecoveryFSTab(zip, d["fstab_version"])

File "/home/desalesouche/beanstalk/device/huawei/u8800pro/releasetools/common.py", line 191, in LoadRecoveryFSTab

raise ValueError("malformed recovery.fstab line: \"%s\"" % (line,))

ValueError: malformed recovery.fstab line: "/dev/block/mmcblk0p12 /system ext4 ro,barrier=1 wait"

make: *** [/home/desalesouche/beanstalk/out/target/product/u8800pro/cm_u8800pro-ota-eng.desalesouche.zip] Error 1

can i request some advice please?

recovery.fstab >>>>> http://pastebin.com/TerTH209
[Android Software/Hacking General [Developers Only]] csking33:
Wondering if somebody can help me out, I've been building for toro/toroplus but this past build the home button isn't functional. These are the errors thrown when the home button is pressed. I've tried resetting the buttons in settings and reflashing the ROM. Any ideas?
[Android Software/Hacking General [Developers Only]] timpohladthomas:
I assume this means you home button did not work? I was having issues where the home button did nothing on my latest 8/21 build.
[Android Software/Hacking General [Developers Only]] csking33:
Exactly
[Android Software/Hacking General [Developers Only]] gimmeitorilltell:
I am interested in finding the data throttle files in this rom. Does it have any kind of throttling built into it, and if so, could you lead me in the location of the said files please? I've had a couple folks help look into it but we cannot seem to find anything.
[Android Software/Hacking General [Developers Only]] scott.hart.bti:
IMPORTANT:

Not sure if you guys have been watching my repos and the cm repos, but if you have, you have noticed that there has been ALOT of restructuring in the CM side of things. I have not added any of this into my builds yet and more then likely, will not be able to add everything exactly how it is due to conflicts from all the other things that are in the build. Anyway, Since there has been quite a difference between the CM repos and my repos, the device code and kernel code is going to be drastically different. Please keep an eye on what you are adding into your device specific repo's as most of it is not compatible with my builds. I will be doing some restructuring myself here in the next week or so to hopefully mimick the CM layout to help close the gap of incompatibilities again.

As for the people reporting issues with their homekeys... I have not had any issues... And i do not recall making any changes to the code for the key.. I will take a deeper look though and see what i can find.
[Android Software/Hacking General [Developers Only]] csking33:
Thanks, it might have something to do with softkeys as the gnex and razr m (which I think the other guy has) have issues, while the infuse has capacitive keys, correct?
[Android Software/Hacking General [Developers Only]] timpohladthomas:
Yeah man, soft keys here on the M. Seems like the relationship between the softkey and the activity is gone.
[Android Software/Hacking General [Developers Only]] scott.hart.bti:
Yea... I already know the fix as cm pushed a lot of **** out for the keys... Was just hoping we could get away without the changes as I'll probably have to revert the extra hardware key binding options that I added awhile back until I'm able to modify it for the new changes. Anyways... I'll work on that tonight and post when I push everything... You guys should be fine then. I'm also going to try to mock the new cm layout and modifications settings side... But that's likely going to be another time consuming change as well as I'll have to modify all the extras I've added to the build so that they work with the new cm style. Anyone willing to lend a hand please feel free to shoot me a Google talk message - Scott.hart.bti@gmail.com
[Android Software/Hacking General [Developers Only]] timpohladthomas:
Not sure how helpful I will be but hangout sent.