yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] deedwar:
Having a problem accessing "display and animations" in "beanstalk options" i get this in logcat

E/AndroidRuntime(2321): FATAL EXCEPTION: main

E/AndroidRuntime(2321): Process: com.android.settings, PID: 2321

E/AndroidRuntime(2321): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.SubSettings}: java.lang.NullPointerException

E/AndroidRuntime(2321):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2227)

E/AndroidRuntime(2321):	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2277)

E/AndroidRuntime(2321):	at android.app.ActivityThread.access$800(ActivityThread.java:145)

E/AndroidRuntime(2321):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1206)

E/AndroidRuntime(2321):	at android.os.Handler.dispatchMessage(Handler.java:102)

E/AndroidRuntime(2321):	at android.os.Looper.loop(Looper.java:136)

E/AndroidRuntime(2321):	at android.app.ActivityThread.main(ActivityThread.java:5088)

E/AndroidRuntime(2321):	at java.lang.reflect.Method.invokeNative(Native Method)

E/AndroidRuntime(2321):	at java.lang.reflect.Method.invoke(Method.java:515)

E/AndroidRuntime(2321):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:781)

E/AndroidRuntime(2321):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)

E/AndroidRuntime(2321):	at dalvik.system.NativeStart.main(Native Method)

E/AndroidRuntime(2321): Caused by: java.lang.NullPointerException

E/AndroidRuntime(2321):	at com.android.settings.beanstalk.ScreenAndAnimations.onCreate(ScreenAndAnimations.java:58)

E/AndroidRuntime(2321):	at android.app.Fragment.performCreate(Fragment.java:1678)

E/AndroidRuntime(2321):	at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:859)

E/AndroidRuntime(2321):	at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1062)

E/AndroidRuntime(2321):	at android.app.BackStackRecord.run(BackStackRecord.java:684)

E/AndroidRuntime(2321):	at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1447)

E/AndroidRuntime(2321):	at android.app.Activity.performStart(Activity.java:5489)

E/AndroidRuntime(2321):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2190)

E/AndroidRuntime(2321):	... 11 more

Any ideas would be appreciated. Stuck on trying to work it out.
[Android Software/Hacking General [Developers Only]] skull47:
build error!!!

i am trying to build latest beanstalk for my SE LWW (coconut) but i am facing a build error...could any1 pls help me out:p:confused:??

the screen is attached below...

EDIT: [MENTION=5275632]patch_Adams[/MENTION] i pasted the wrong pic...now changed it....pls c again...thanks for eplyin
[Android Software/Hacking General [Developers Only]] patch_Adams:
You need to edit those config files near the lines indicated in the error. Add (or remove) the resource in question. I would look around github and check other device tree commits where others have fixed the same type of error, for ideas!
[Android Software/Hacking General [Developers Only]] desalesouche:
hi all.

if someone find the somution about that problem , please explain how to fix... :)

thank you
[Android Software/Hacking General [Developers Only]] patch_Adams:
There's an old commit on CM gerrit about awsomePlayer somewhere. You guys can search that out and try it may be??
[Android Software/Hacking General [Developers Only]] CrashTestDroid:
version bumped by Scott, brunch time!
[Android Software/Hacking General [Developers Only]] desalesouche:
build done... flashing... :D
[Android Software/Hacking General [Developers Only]] :
waiting for your note 3 build :D
[Android Software/Hacking General [Developers Only]] gamerman123x:
Does GTA: SA work on the latest build?

Sent from my red BeanStalk Nexus 5
[Android Software/Hacking General [Developers Only]] CrashTestDroid:
http://goo.im/devs/keepthechange/BeanStalk_with_GApps/hltetmo
[Android Software/Hacking General [Developers Only]] :
I already have this installed :)

I meant the Beanstalk 4.4.230
[Android Software/Hacking General [Developers Only]] skyliner33v:
Looks like there was another bump to 4.4.240. Time to brunch again.
[Android Software/Hacking General [Developers Only]] patch_Adams:
Scott is truly some kind of beast eh!!
[Android Software/Hacking General [Developers Only]] skyliner33v:
The guy really is. Especially considering he is doing it by himself. And I think Beanstalk ranks right up there with some of the top roms, which usually have an entire team working on adding features.

You rock Scott!
[Android Software/Hacking General [Developers Only]] bhushan2k:
can anyone help me with this?? i have made local_manifest.xml in .repo folder..after that as this tutorial tells, i went double clicked get-prebuilts file..now what m i supposed to do?? m i supposed to type run in terminal while get-prebuilts kept opened?? how do i associate my local_manifest.xml file with syncing / building process according to this tutorial??
[Android Software/Hacking General [Developers Only]] AiMwasNeD:
Just pull the the get-prebuilts file into a already opened terminal and press enter ,if the first time a text-editor gets opened, press enter once again, then u'll should see a short process get started in terminal.

btw: I'm rly noobie to this but i succesfully biuld BST :D
[Android Software/Hacking General [Developers Only]] mar5hal:
From the root of your source tree in a terminal type cd vendor/cm && ./get-prebuilts press enter
[Android Software/Hacking General [Developers Only]] bhushan2k:
thanks guys..need one more help..m about to build rom..before making it i want to apply these device specific patches..can u help me how to do??

patch -p1 < hardware/semc/patches/framework_av.patch
patch -p1 < hardware/semc/patches/framework_base.patch
patch -p1 < hardware/semc/patches/hardware_libhardware.patch
patch -p1 < hardware/semc/patches/hardware_libhardware_legacy.patch
patch -p1 < hardware/semc/patches/bionic.patch
patch -p1 < hardware/semc/patches/bootable_recovery.patch
patch -p1 < hardware/semc/patches/external_bluetooth_bluedroid.patch
patch -p1 < hardware/semc/patches/packages_apps_Bluetooth.patch

do i need to just execute code line by line as per given?? i tried already..it stuck forever...

edit: figured it out..
[Android Software/Hacking General [Developers Only]] skyliner33v:
Black Beanstalk Boot Animation

Hey guys,

Here is a copy of a Black version of the Beanstalk 4.4+ Boot Animation. They are meant to flashed in Recovery. Currently there are only two sizes, 1080x1920 and 480x800. I am working on more resolutions, but feel free to open them up and resize them yourself.

Also feel free to post these links in your threads for your users. Hope you guys like them.

1080x1920

http://d-h.st/Zmj

480x800

http://d-h.st/Z2s
[Android Software/Hacking General [Developers Only]] CrashTestDroid:
heads up folks! Start your build engines for BeanStalk 4.4.247
[Android Software/Hacking General [Developers Only]] Black!Jack:
Anyone here know a quick pick for getting the kill app long press back into this bad boy? Possible settings cherry pick?
[Android Software/Hacking General [Developers Only]] geralD_carl:
simple go to ur source code directory using terminal and than copy the specific line past it and hit enter do it for every line for other help PM me

---------- Post added at 10:35 AM ---------- Previous post was at 10:32 AM ----------

In file included from frameworks/base/tools/aapt/AaptAssets.h:11:0,
from frameworks/base/tools/aapt/Main.h:14,
from frameworks/base/tools/aapt/StringPool.h:10,
from frameworks/base/tools/aapt/ResourceTable.h:10,
from frameworks/base/tools/aapt/ResourceTable.cpp:8:
frameworks/base/include/androidfw/ResourceTypes.h:1013:29: error: 'ACONFIGURATION_UI_THEME_MODE_ANY' was not declared in this scope
frameworks/base/include/androidfw/ResourceTypes.h:1014:32: error: 'ACONFIGURATION_UI_THEME_MODE_NORMAL' was not declared in this scope
frameworks/base/include/androidfw/ResourceTypes.h:1015:35: error: 'ACONFIGURATION_UI_THEME_MODE_HOLO_DARK' was not declared in this scope
frameworks/base/include/androidfw/ResourceTypes.h:1016:36: error: 'ACONFIGURATION_UI_THEME_MODE_HOLO_LIGHT' was not declared in this scope
frameworks/base/include/androidfw/ResourceTypes.h:1046:32: error: 'ACONFIGURATION_UI_THEME_MODE' was not declared in this scope
make: *** [/home/gerald/liquid/out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/ResourceTable.o] Error 1

can anyone help me
[Android Software/Hacking General [Developers Only]] desalesouche:
i don't know why each time i compile beanstalk it gaves me error that i don't have with cm.

so i fix error thanks to cm source.

is it possible that these errors could be fixed?
[Android Software/Hacking General [Developers Only]] CrashTestDroid:
It's already in there in Button Settings, no need for cherry picks.
[Android Software/Hacking General [Developers Only]] Chronzy:
Hi, I'm not a developer and I've never ported a rom before, but I'd like to port BS to my LG gpad 8.3 (v500). I'm currently dual booting win7 and ubuntu 13.04 64bit on a 256GB SSD. I have 55GB free on my ubuntu partition and am wondering if I'm fit to attempt this. From what I gather everyone's building on ubuntu 10.04 32bit. Is this mandantory or just preferred?

I've already tried to build and I'm hitting early snags like:

E: Unable to locate package libwxgtk2.6-dev

E: Couldn't find any package by regex 'libwxgtk2.6-dev'

E: Unable to locate package sun-java7-jdk

E: Unable to locate package gcc-4.3-multilib

E: Couldn't find any package by regex 'gcc-4.3-multilib'

E: Unable to locate package g++-4.3-multilib

E: Couldn't find any package by regex 'g++-4.3-multilib'

And is sun-java6-jdk necessary instead of 7?

Any help would be appreciated.
[Android Software/Hacking General [Developers Only]] patch_Adams:
I have built on many different distros. Currently using ubuntu studio 13.10.
[Android Software/Hacking General [Developers Only]] mar5hal:
HERE is a guide i used to set up in ubuntu 13.10. should work for 13.04 as well
[Android Software/Hacking General [Developers Only]] CrashTestDroid:
I don't start building with less than 80GB and 20 more if using CCACHE. Java 6 is required if you want to start building BeanStalk atm. My build machine is Mint 16, uname says Ubuntu (v13.10).
[Android Software/Hacking General [Developers Only]] Chromium:
Im trying to build beanstalk for the htc desire. Ive setup the build with all of the necessary device, kernel and vendor trees that are able to successfully compile cm 11. The build got quite far, but it stopped with an error. Here are the some of the errors in the terminal output that seem to be important:

CC scripts/mod/empty.o
/bin/sh: 1: /home/priyesh/beanstalk/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3gcc: not found
make[4]: *** [scripts/mod/empty.o] Error 127
make[3]: *** [scripts/mod] Error 2
make[2]: *** [scripts] Error 2
make[2]: *** Waiting for unfinished jobs....

And heres where it actually stopped:

make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/priyesh/beanstalk/kernel/htc/qsd8k'
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished jobs....
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
priyesh@priyesh-ubuntuPC:~/beanstalk$

Im guessing the problem is with the toolchain, but im not sure how to fix it. Any help would be greatly appreciated.

Thanks in advance.
[Android Software/Hacking General [Developers Only]] mar5hal:
Check the cm dependencies file in your device tree. It may not be up to date. With my ck builds for the m7 att we needed to change the kernel config to compile with the msm8960 kernel tree.
[Android Software/Hacking General [Developers Only]] :
buddy's anybody doing S3 intl.. ?
[Android Software/Hacking General [Developers Only]] Chromium:
Sorry, but what should i be checking for? I think the kernel is wanting to be compiled with gcc toolchain but the beanstalk source doesnt contain it. Where would i change the toolchain?

Thanks.
[Android Software/Hacking General [Developers Only]] mar5hal:
Open the cm dependencies folder in your device tree and check which kernel it is trying to build with.
[Android Software/Hacking General [Developers Only]] Chromium:
Heres the cm.dependencies. Maybe i need to change the toolchain?

[
{
"repository": "android_kernel_htc_qsd8k",
"target_path": "kernel/htc/qsd8k",
"dep_type": "kernel"
},
{
"repository": "android_hardware_qcom_audio-legacy",
"target_path": "hardware/qcom/audio-legacy",
"dep_type": "hardware"
},
{
"repository": "android_hardware_qcom_display-legacy",
"target_path": "hardware/qcom/display-legacy",
"dep_type": "hardware"
},
{
"repository": "android_hardware_qcom_gps-legacy",
"target_path": "hardware/qcom/gps-legacy",
"dep_type": "hardware"
},
{
"repository": "android_hardware_qcom_media-legacy",
"target_path": "hardware/qcom/media-legacy",
"dep_type": "hardware"
},
{
"repository": "android_prebuilts_gcc_linux-x86_arm_arm-eabi-4.4.3",
"target_path": "prebuilts/gcc/linux-x86/arm/arm-eabi-4.4.3",
"dep_type": "toolchain"
}
]
[Android Software/Hacking General [Developers Only]] spezi77:
Add this to your manifest and sync:

It should bring you the missing toolchain.
[Android Software/Hacking General [Developers Only]] Negan:
I'm wanting to compile this for myself for the note 3. I clearly have to create a local_manifest.xml before i can build. this is what is brought me to a stand still. Not sure exactly how to write it properly
[Android Software/Hacking General [Developers Only]] PippoX3:
Hi [MENTION=4552996]scott.hart.bti[/MENTION], really really compliments for this rom and its kernel too.

A level of customization never seen before. Just few fc on recents (if enable mem monitor, but fixed in last upd), on sounds themes (fixed in last upd) and color of signal no-workin'.

BTW I'd loved to build for hammerhead and I wanted use your device/kernel projects on your github, so I compiled my local manifest as:

<project name="scotthartbti/android_device_lge_hammerhead" revision="kk44" path="device/lge/hammerhead" remote="github" />

<project name="scotthartbti/android_kernel_lge_hammerhead" revision="newbranch" path="kernel/lge/hammerhead" remote="github" />

<project name="TheMuppets/proprietary_vendor_lge" revision="cm-11.0" path="vendor/lge" remote="github" />

<remove-project path="hardware/qcom/display" name="CyanogenMod/android_hardware_qcom_display" groups="qcom" />

<project path="hardware/qcom/display" name="SlimRoms/hardware_qcom_display" remote="github" revision="kk4.4" />

To obtain the kernel you are using in your official builds (I hope).

I encountered two problems,

The first into CM hardware/qcom/display project (changed with the Slim one), it can't recognize a variable into a cpp.

The second was: since in boardconfig.mk is requested linaro GCC, I added the linaro toolchain 4.7 to prebuilt (and update the boardconfig.mk).

Can you (or someone who already build for hammerhead) take a look and eventually confirm, please?

Thanks a lot for your great work.

Update. Since the build works like a charm... I suppose is all right!
[Android Software/Hacking General [Developers Only]] :
easy way ...

repo sync sources and then

. build/envsetup.sh

sh vendor/cm/get-prebuilts

breakfast <device codename>

this setup will automatically create and sync your device sources magically :cool:

and then build it!

brunch <device codename>
[Android Software/Hacking General [Developers Only]] Negan:
Wow as if I didn't think of get-prebuilts!

Knew I was missing something painfully obvious

Thanks for the reply! :thumbup::thumbup:

sent from my JEDI ELITE Note 3

for best xda results, click to enlarge ?

http://img268.imageshack.us/img268/9564/searchitnoob.gif
[Android Software/Hacking General [Developers Only]] phoenixita:
Hi pippo,

Scott doesn't check xda...if you want to contact him i suggest you hangouts :)
[Android Software/Hacking General [Developers Only]] :
any body experiencing Performance Control FC in build .249
[Android Software/Hacking General [Developers Only]] desalesouche:
absolutely no problem with build 249 on huawei honor here... also reduced size of rom with pngcrusher .around 20MB less . and device like that...
[Android Software/Hacking General [Developers Only]] gamerman123x:
Don't have any problems on Nexus 5 v 4.4.249
[Android Software/Hacking General [Developers Only]] CrashTestDroid:
CM device tree is being changed a lot atm, wait a while or use a different tree.
[Android Software/Hacking General [Developers Only]] ZION959:
thanks for the help, but can you point me to the correct tree and show me how to add the new tree. I'm just start

learning for about couple of weeks. Thanks in advanced
[Android Software/Hacking General [Developers Only]] ZION959:
I will try. Thanks
[Android Software/Hacking General [Developers Only]] mar5hal:
Don't forget to update your vendor files and for my d2att and d2spr builds we had to make a couple changes to the device.mk and common.mk
[Android Software/Hacking General [Developers Only]] gamerman123x:
Version bumped to 4.4.251
[Android Software/Hacking General [Developers Only]] hatememarkz:
So it's pretty much screw the Hercules huh?
[Android Software/Hacking General [Developers Only]] patch_Adams:
I really don't think that's the attitude of any dev here and surely not in this beanstalk thread....

---------- Post added at 04:55 PM ---------- Previous post was at 04:52 PM ----------

Edit:

I went back two pages, I don't see a post. What is the issue?
[Android Software/Hacking General [Developers Only]] hatememarkz:
Well I don't see any ROM update so....
[Android Software/Hacking General [Developers Only]] CPA Poke:
Wow. You're definitely in the wrong thread...you could try making comments like that in your device's BS thread, but *something* tells me you're not gonna have much luck there either.

Better yet, since you're already here you should read through and learn how to build it yourself. BS doesn't officially support any device except for those that Scott builds himself (IIRC), which is the beauty of the ROM. As long as you have a device tree supported by CM, you can build BeanStalk. Then you don't have to wait on anyone for updates.
[Android Software/Hacking General [Developers Only]] hatememarkz:
I kno bro I'm bout to get a laptop
[Android Software/Hacking General [Developers Only]] phoenixita:
If no one does it i'm going to brunch it for you for this time.
[Android Software/Hacking General [Developers Only]] ZION959:
Hi is some one please check this error out to see what I need to do to correct this. Thanks so much

----- Made recovery filesystem --------/home/duc/beanstalk/out/target/product/hlte/recovery/root
Copying: /home/duc/beanstalk/out/target/common/obj/JAVA_LIBRARIES/android-support-v4-ics_intermediates/classes-jarjar.jar
target SharedLib: libbinder (/home/duc/beanstalk/out/target/product/hlte/obj/SHARED_LIBRARIES/libbinder_intermediates/LINKED/libbinder.so)
frameworks/base/services/java/com/android/server/pm/PackageManagerService.java:3999: error: cannot find symbol
mPolicy.setPackageName((String) (ai != null ? mContext.getPackageManager().getApplicationLabel(ai) : pkg.packageName));
^
symbol: variable mPolicy
location: class PackageManagerService
target SharedLib: libui (/home/duc/beanstalk/out/target/product/hlte/obj/SHARED_LIBRARIES/libui_intermediates/LINKED/libui.so)
target SharedLib: libGLES_trace (/home/duc/beanstalk/out/target/product/hlte/obj/SHARED_LIBRARIES/libGLES_trace_intermediates/LINKED/libGLES_trace.so)
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.
1 error
make: *** [/home/duc/beanstalk/out/target/common/obj/JAVA_LIBRARIES/services_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
Note: frameworks/opt/mms/src/java/com/google/android/mms/util/SqliteWrapper.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: frameworks/opt/mms/src/java/com/google/android/mms/pdu/PduHeaders.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
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.
[Android Software/Hacking General [Developers Only]] BMP7777:
I think you need to go further up on your code to show the actual error. I'd rerun it and look up until you find the true error and then post that. You could use pastebin if its large; makes it easier so people here don't have to see five miles of code on their mobile...

---------- Post added at 10:34 AM ---------- Previous post was at 10:30 AM ----------

The Herc is the brother of the skyrocket; you should have no trouble building; you can look here for a build tutorial, and I have others posted as well. If you need help, the guys at that thread listed above can help, as well as everyone here. But, honestly, don't get mad that development has stalled on a four year old device; most everybody has moved on.....not being a ****, just sayin....
[Android Software/Hacking General [Developers Only]] ZION959:
thanks for all advice guys. The reason I ask because I saw some error related to java . I will stick with the java 6.
[Android Software/Hacking General [Developers Only]] Slomies:
I compiled Beanstalk for the Galaxy S4 and made it all the way to the end where the .zip is made. However, it failed and gave me Error 1. I posted a complete log of the error here http://pastebin.com/raw.php?i=0gNxNEq2

Please let me know what I need to do to fix this and Thank you!

EDIT: please be patient with me if you ask me to fix something and I tell you I can't find the file... this is my first attempt to compile a ROM and I'm also new to ubuntu.
[Android Software/Hacking General [Developers Only]] CrashTestDroid:
jflte and hlte crap out with this exact error. I think it's because of the new unified device trees CM is working on, but CM does compile and BS doesn't. I found the place that error is generated: /build/tools/releasetools/ota_from_target_files

raise common.ExternalError("couldn't find %s in build.prop" % (property,))

Unfortunately I don't know how to fix it. No idea what "property" it's looking for, nor even what's doing the looking. Hopefully somebody who has a clue will chime in now :)
[Android Software/Hacking General [Developers Only]] Slomies:
This is PippoX3's response from his thread. So I'm compiling again now to see if the error has been fixed... I'll report back here with the results.
[Android Software/Hacking General [Developers Only]] CPA Poke:
I haven't been able to fix the jflte unified build, but I was able to roll back to the pre-unified device tree (jflteatt for me) and it built fine. Obviously had to revert jflte back to jf-common, and I had to revert the "Unify jf/d2 device trees" commit in vendor/samsung.
[Android Software/Hacking General [Developers Only]] BMP7777:
This seems to be a widespread error. I'd just wait it out; probably be fixed today. Or revert, like poke says.
[Android Software/Hacking General [Developers Only]] kenzolo:
to fix

"ERROR: couldn't find <type 'property'> in build.prop"

just copy my file

http://www.adrive.com/public/fjh3xB/ota_from_target_files

into /build/tools/releasetools directory

enjoy :p
[Android Software/Hacking General [Developers Only]] ZION959:
Thanks kenzolo you make my day. Whoot
[Android Software/Hacking General [Developers Only]] Slomies:
Thanks! Recompiling now...