yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] :
I Still can't get past this for n7000

Can anyone please help me?

My users are starting to think I'm an idiot lol
[Android Software/Hacking General [Developers Only]] BMP7777:
I got you for that one! Use this as your template:

Your torch code will be under buttonbrightness line. Copy it and do like this shows and you'll be fine. :victory:
[Android Software/Hacking General [Developers Only]] :
Will try in a minute. Thanks!
[Android Software/Hacking General [Developers Only]] BMP7777:
My pleasure.:highfive:
[Android Software/Hacking General [Developers Only]] patch_Adams:
What are you building on? What's with the keyboard? Just curious by the way.
[Android Software/Hacking General [Developers Only]] :
I have a remote ubuntu 13.10 box on a 1000mbit line with 8cores... (Its a VPS)

I think I have 4.5gb ram and 240gb HD and 2tb monthly transfer

It costs me about $25/month but would be about $8 less if i just had 120gb hd

I login via ssh either on my phone or computer

I don't use /need any XGUI
[Android Software/Hacking General [Developers Only]] patch_Adams:
Oh..that's very cool! I used to ssh into a sql server for school from my phone. That was alright :)
[Android Software/Hacking General [Developers Only]] phoenixita:
i was able to build it i forgot to revert the torch in overlay commit...anyway does some of you know a way to revert multiwindows commits? i mean where can i find in the github the multiwindows commits? in what folder? I'd like to remove it cause it breaks HALO.

Com.android.phone f/c.
[Android Software/Hacking General [Developers Only]] desalesouche:
hi all i had to stop compilation for a while as my device is still in the shop to be fixed...

but today i made a build for lge g2 (d802)...

and the rom is booting but nfc and Com.android.phone f/c.

is there any advice,idea or fix about that?

anyways it was good to compile beanstalk for a new device...
[Android Software/Hacking General [Developers Only]] BMP7777:
Had the .phone fc as well. No idea what the fix is. I started syncing up 4.4 last night for kicks....full sync but almost immediate qcom/camera error. Still, its fun to start something new.
[Android Software/Hacking General [Developers Only]] patch_Adams:
This error seems to be device wide. i717 is no exception and I'm not sure the cause or fix. Anybody log it yet?? I am sooo busy with school and work right now.

---------- Post added at 05:48 PM ---------- Previous post was at 05:45 PM ----------

this might be a good start for you

https://github.com/scotthartbti/android_frameworks_base/commit/b8afbc015cdf30b08335c2c858c95b77e4df560e
[Android Software/Hacking General [Developers Only]] desalesouche:
it seems i am actually repo sync kk44 source for beanstalk...

with that command...

repo init -u git://github.com/scotthartbti/android.git -b kk44

is that correct command?
[Android Software/Hacking General [Developers Only]] patch_Adams:
That's the one :)
[Android Software/Hacking General [Developers Only]] desalesouche:
my first error with beanstalk kk...

build/core/java.mk:23: *** frameworks/support/v4: Invalid LOCAL_SDK_VERSION '19' Choices are: current 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18. Stop.

any idea please?

thanks
[Android Software/Hacking General [Developers Only]] patch_Adams:
check your java in terminal $ java -version.

Probably have to install a different version
[Android Software/Hacking General [Developers Only]] desalesouche:
java version "1.6.0_45"

Java(TM) SE Runtime Environment (build 1.6.0_45-b06)

Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)

desalesouche@desalesouche-System-NoGiveUp:~$

edit/ i don't have that error with cm11
[Android Software/Hacking General [Developers Only]] rwaterspf1:
kitkat is API version 19, you will want to update your sdk
[Android Software/Hacking General [Developers Only]] desalesouche:
all tools, update and extras from sdk are installed and i have api 19

i have android-sdk_r22.3-linux.tgz installed
[Android Software/Hacking General [Developers Only]] desalesouche:
some fix here about my problem and more...

http://xdaforums.com/showthread.php?t=2515305

edit one more error i get fixed thanks to xda

make: *** No rule to make target 'bionic/libc/arch-arm/krait/bionic/memmove.S', needed by '/home/desalesouche/beanstalkk/out/target/product/u8800pro/obj/STATIC_LIBRARIES/libc_common_intermediates/arch-arm/krait/bionic/memmove.o'. Stop.

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

solution was for me to replace TARGET_CPU_VARIANT:= scorpion with TARGET_CPU_VARIANT:= generic but i don't know if it is a good solution...

:p

---------- Post added at 08:00 AM ---------- Previous post was at 07:29 AM ----------

and now i am stuck with these errors...

frameworks/av/services/camera/libcameraservice/api1/CameraClient.cpp:704:23: error: 'CAMERA_CMD_METADATA_ON' was not declared in this scope

frameworks/av/services/camera/libcameraservice/api1/CameraClient.cpp:705:23: error: 'CAMERA_MSG_META_DATA' was not declared in this scope

you can see more of errors on pastebin ...

any advice?

http://pastebin.com/5cDkSvtk

thank you.
[Android Software/Hacking General [Developers Only]] scott.hart.bti:
Few important announcements.

First. It looks like goo manager is back up. Please continue to use goo manager going forward. They were down due to server upgrades which will better serve us and the users downloading our builds

Second: Im sure you guys have noticed the kk44 branches of my repos. This is obviously for kit kat 4.4. This next part is extremely important. kk was a complete rebase which means all the previous customizations have not been added yet. I have rebased it directly from the CM repos. This means that as of right now, the beanstalk repos are 99% CM. This means we are using their updated hardware key rebindings and using the CMHW and will no longer use the advanced device settings. Basically, you will be building with exactly what CM is using for now. This will change at some point, but probably not to the extent that it was at before.

Third: The JB43 branches are no longer supported and have not been for about 13 days. Chances are if you didnt build when the update was released, you will have issues with your build if you try it now. I WILL NOT be fixing any issues. If you are dead set on getting out one last jb43 build, you need to fix whatever issues you have on YOUR OWN.

Please keep in mind that the kk44 repo is not quite ready yet. Its almost there and when i get home today will update it so that its ready for building. You will need to have your device tree and kernel/vendor updated if necessary in order to build kk44. If you do not have the updated changes, you need to figure them out or wait for someone else to figure them out for you.

Let me also clarify... Its mainly CM source for now, but as soon as i get everything in place and start pooping out some successful builds, I will start modifying and adding the custom options for before to give it the beanstalk touch.
[Android Software/Hacking General [Developers Only]] BMP7777:
Great work, as usual! I think everyone can have some patience when it comes to our beloved BS; at least I can. I ran across this last night and was wondering if you might be able to shed some light. I know that you JUST said to be responsible for your own device files, but thought I'd ask. Sorry if I sound like an a**hole.

build/core/base_rules.mk:134: *** hardware/qcom/camera/QCamera2/HAL: MODULE.TARGET.SHARED_LIBRARIES.camera.msm8960 already defined by device/htc/m7-common/camera. Stop.

Either way, thanks for everything, and keep rocking the Beanstalk!
[Android Software/Hacking General [Developers Only]] scott.hart.bti:
I know there have been alot of commits being pushed regarding msm8960 on the cm end... Have you done a fresh sync lately? Or check your device trees against theres and see what they have added/changed

Also keep in mind i synced the repo's that im using from them 2 nights ago... So im sure there were alot of changes that i need to add from 2 nights ago up to today.

FYI... If anyone with experience merging/editing commits wants to help out with adding the old features back in, the help is definitely needed.
[Android Software/Hacking General [Developers Only]] BMP7777:
Not since last night and I got the exact same error running a quick build on CM11 so I'm sure thats it. A dev in my forum (M7SPR) just posted a running CM11 build this morning, so I'll go at it again when I get off work.

Don't know as much as I'd like to about merging/adding, but I do learn fast and might be able to help. If you want to PM or email me with your needs, I will definitely want to do whatever I can.

Thanks man. Be cool :cool:
[Android Software/Hacking General [Developers Only]] scott.hart.bti:
Not sure if this was answered or not, but a quick work around for this issue is to just go to the android.mk file that is calling for the version 19 and change it from 19 to current and save it.

Either way, ill have it corrected when i get home tonight.
[Android Software/Hacking General [Developers Only]] scott.hart.bti:
FYI... Think i spoke to soon about Goo being back up... They are definitely making progress, but still down at the moment. My bad.
[Android Software/Hacking General [Developers Only]] timpohladthomas:
I'll be out of town this weekend Scott but I'm always down to help with the merge, I will have some practice, been helping some other big name roms merge in stuff. You know my hangouts.
[Android Software/Hacking General [Developers Only]] desalesouche:
hi all does someone know how i can fix that error?

hardware/qcom/gps/loc_api/libloc_api/loc_eng.cpp:44:21: fatal error: rpc/rpc.h: No such file or directory

compilation terminated.

build/core/binary.mk:432: recipe for target '/home/desalesouche/beanstalkk/out/target/product/u8800pro/obj/SHARED_LIBRARIES/gps.msm7x30_intermediates/loc_eng.o' failed

make: *** [/home/desalesouche/beanstalkk/out/target/product/u8800pro/obj/SHARED_LIBRARIES/gps.msm7x30_intermediates/loc_eng.o] Error 1

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

thank you...
[Android Software/Hacking General [Developers Only]] phoenixita:
i think your kernel tree it's not updated to android 4.4 so you have to wait. I've had same error with msm8960 kernel :P

---------- Post added at 12:35 PM ---------- Previous post was at 11:49 AM ----------

i've tested it for you...the build stops with the same error (just wanted to know if cm11 was buildable for some non nexus device.)
[Android Software/Hacking General [Developers Only]] dr_w:
HELP

Phone: Verizon LG G2

Do I create a folder under .repo called local_manifests and put the .xml file there? Or do I put the .xml file under .repo?

Heres what I ended up doing:

So I created a folder called local_manifests and put the .xml file in there with:

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

<manifest>

<remote name="github"

fetch=".."

review="review.cyanogenmod.org" />

<project path="device/lge/g2-common" name="CyanogenMod/android_device_lge_g2-common" remote="github" revision="cm-10.2" />

<project path="device/lge/d802" name="CyanogenMod/android_device_lge_d802" remote="github" revision="cm-10.2" />

<project path="device/lge/vs980" name="CyanogenMod/android_device_lge_vs980" remote="github" revision="cm-10.2" />

<project path="device/lge/d800" name="CyanogenMod/android_device_lge_d800" remote="github" revision="cm-10.2" />

<project path="hardware/qcom/display-mdss" name="CyanogenMod/android_hardware_qcom_display-mdss" remote="github" revision="cm-10.2" />

<project path="hardware/qcom/media-v4l2" name="CyanogenMod/android_hardware_qcom_media-v4l2" remote="github" revision="cm-10.2" />

<project path="kernel/lge/msm8974" name="CyanogenMod/android_kernel_lge_msm8974" remote="github" revision="cm-10.2" />

Then I repo sync and got this:

fatal: error parsing manifest /home/david/beanstalk/.repo/local_manifest/local_manifest.xml: no element found: line 15, column 0

The local_manifest.xml file doesn't even have a line 15 nor are there any spaces after line 14.

Any advice?
[Android Software/Hacking General [Developers Only]] phoenixita:
Since you are building for supported devices you could remove the local manifesta and in terminal write source build/envsetup.sh and then breakfast "yourdevicecodename". Then add the project that may be missing.
[Android Software/Hacking General [Developers Only]] :
build/core/product_config.mk:238: *** _nic.PRODUCTS.[[device/semc/anzu/cm.mk]]: "hardware/ti/wlan/mac80211/wl127x-wlan-products.mk" does not exist. Stop.

Device anzu not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).

Found repository: android_device_semc_anzu

Default revision: cm-11.0

Checking branch info

Default revision cm-11.0 not found in android_device_semc_anzu. Bailing.

Branches found:

cm-9.0.0

gb-release-7.2

gingerbread

gingerbread-release

ics

ics-release

jellybean

jellybean-stable

cm-7.1.0

Use the ROOMSERVICE_BRANCHES environment variable to specify a list of fallback branches.

build/core/product_config.mk:238: *** _nic.PRODUCTS.[[device/semc/anzu/cm.mk]]: "hardware/ti/wlan/mac80211/wl127x-wlan-products.mk" does not exist. Stop.

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

** Do you have the right repo manifest?

No such item in brunch menu. Try 'breakfast'

saki@saki-MS-16Y1:~/cm$

any body

i have synced sucessfully w
[Android Software/Hacking General [Developers Only]] phoenixita:
Does anzu have cm11.0? From what i can see it has just cm9.0 officially. You have to add repos manually in your roomservice.xml but i doubt you have cm11.
[Android Software/Hacking General [Developers Only]] :
yup we have it unofficially .. both 10.1 and 10.2 i m trying to port 11.0 but geting this wierd thing even i have everything synced up including all devce files
[Android Software/Hacking General [Developers Only]] ny-hardcore:
Does the file end with

</manifest>

If it doesn't add that
[Android Software/Hacking General [Developers Only]] :
got it fixed .. :) using this commit http://review.cyanogenmod.org/#/c/51224/
[Android Software/Hacking General [Developers Only]] phoenixita:
Has some of you found a workaround for the com.android.phone f/c?
[Android Software/Hacking General [Developers Only]] dr_w:
Fantastic, that worked like a charm, thank you.
[Android Software/Hacking General [Developers Only]] :
4.3 or 4.4 ..?

other wise

I started working on kk44, build completes now without errors but a big bug is present, busybox doesn't work right so our custom dual stage boot is broken. I can only boot in recovery or stuck at bootlogo trying to boot android. It hangs very early with no adb available so I can't debug.

sources : github.com/rebelos
[Android Software/Hacking General [Developers Only]] phoenixita:
for 4.4 htc one s needs kernel commits i think...it doesn't ends the build. but for 4.3 the build ends well but when you boot the phone you have com.android.phone f/c. I was planning a last release with some reverts.
[Android Software/Hacking General [Developers Only]] dr_w:
No zip file

I completed my build and went to /beanstalk/out/target/product/vs980 and cannot find the zip file. Any ideas where it could be or why it didnt compile? It was building for a good 1.5 hours.
[Android Software/Hacking General [Developers Only]] desalesouche:
hi all i have that kind of errors, any advice about the way to fix?

http://pastebin.com/p6LE3yW4
[Android Software/Hacking General [Developers Only]] phoenixita:
enjoy lol
[Android Software/Hacking General [Developers Only]] desalesouche:
hi all.

does someone have an idea about that kind of error?

hardware/qcom/display/msm8960/libcopybit/copybit.cpp:453:69: warning: narrowing conversion of 'dst->copybit_image_t::w' from 'const uint32_t {aka const unsigned int}' to 'int' inside { } is ill-formed in C++11 [-Wnarrowing]

i would like to get rid of that error which is quite repetitive...

thank you very much
[Android Software/Hacking General [Developers Only]] phoenixita:
cherry pick these and let me if it worked!

http://review.cyanogenmod.org/53074

http://review.cyanogenmod.org/53073

http://review.cyanogenmod.org/53072

http://review.cyanogenmod.org/53195

http://review.cyanogenmod.org/53194 [MENTION=4479868]desalesouche[/MENTION]
[Android Software/Hacking General [Developers Only]] desalesouche:
testing...... :)

edit: it didn't work....same errors and warnings....

but thank you
[Android Software/Hacking General [Developers Only]] phoenixita:
yesterday i built this! with those commits now i'm having errors i think it's something related to CM! The rom it's not buildable i think.
[Android Software/Hacking General [Developers Only]] desalesouche:
yes , i think a lot patch and fix to come ...
[Android Software/Hacking General [Developers Only]] :
guys i got 4.4 compiled sucessfully but i m not able to surpass boot splash with no adb shell access .. anybody know how to fix it ..
[Android Software/Hacking General [Developers Only]] ny-hardcore:
Compiled it last night for Nexus 5

:)
[Android Software/Hacking General [Developers Only]] dr_w:
another hurdle

I have a new error I need help with. Anyone? Thanks in advanced.

*** No rule to make target `/home/david/beanstalk/out/target/product/vs980/obj/lib/libtime_genoff.so', needed by `/home/david/beanstalk/out/target/product/vs980/obj/SHARED_LIBRARIES/libutils_intermediates/LINKED/libutils.so'. Stop.

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

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]] desalesouche:
easy solution i?

take the libtime_genoff.so if you have it somewhere and copy it to /out/target/product/vs980/obj/lib/

tell me if it works...
[Android Software/Hacking General [Developers Only]] :
http://pastebin.com/tmYbLnHy any solution guys
[Android Software/Hacking General [Developers Only]] phoenixita:
i think the problem is related to cm that is not buildable yet for some devices..we need some commits to make it buildable at least.

anyway i'm getting this ****.

GZIP kernel/config_data.gz
CHK kernel/config_data.h
make[1]: *** [sub-make] Errore 2
make[1]: exit from directory "/home/phoenixita/bs4.4/kernel/htc/msm8960"
make: *** [TARGET_KERNEL_BINARIES] Errore 2
make: *** wait for processes not ended....
[Android Software/Hacking General [Developers Only]] patch_Adams:
Clean build for i717 this morning! And a quick question.....shouldn't my baseband be different? It is still the same as 4.3, but is definitely 4.4 build :D
[Android Software/Hacking General [Developers Only]] ny-hardcore:
[correct me if i'm wrong here]

uhm.. i would think baseband is modem related and is a separate thing that normally isnt build or flashed with sourcebuild roms.

Baseband will likely differ if your vendor has an official 4.4 rom released, but it doenst come with CM11 of AOSP code.

[/correct me if i'm wrong here]

on a side note:
[MENTION=4552996]scott.hart.bti[/MENTION]

allthough AOSP based, this guy allready has some nice 4.4. changes (battery %, torch tile, power menu tile) that imho are nice additions to the 'clean stalk' source :)

https://github.com/rascarlo/

I'm running his build on my Nexus5 now and it's simple and clean.
[Android Software/Hacking General [Developers Only]] desalesouche:
please tell me as soon as you have the solution about that, i have the same problem ...

thank you very much.:o

edit, i can't compile right now but may be this could help?

https://github.com/Team-Hydra/andro...mmit/3cb2efa5ac59c82a0854c1890fd1f3360ef159b3

edit 2 testing another fix...didn't test the first one... will edit

edit 3: i found that fix but i think you will have to port it for msm7x30 as fix is done for msm8660.

https://github.com/vwmofo/android_h...mmit/271003583efb333a30935d5da0fd73792668771b

if you manage, please advise me as i have error for msm7x30 like you.

thank you
[Android Software/Hacking General [Developers Only]] desalesouche:
http://pastebin.com/UHuiBGNq

last error? if anybody can help thanks

File "./device/huawei/u8800pro/releasetools/ota_from_target_files", line 178, in GetMetadata

name, uid, gid, mode = line.split()

ValueError: too many values to unpack

edit never mind i fixed.

build done for huawei u8800pro device.

now have to test if it boot ok.... :fingers-crossed:
[Android Software/Hacking General [Developers Only]] mar5hal:
So I've managed to finish a build for the hammerhead but it won't boot past the Google splash screen. I'll post the output as soon as I can. I'll have to run a second build to get another log but I'm happy with a finished compile :good:
[Android Software/Hacking General [Developers Only]] phoenixita:
wrong thread...
[Android Software/Hacking General [Developers Only]] desalesouche:
:silly: at least i could finish the build for huawei u8860.no i have to wait for my testors to know if it boots as my device is still in shop for repair...

hope they fix it good this time...
[Android Software/Hacking General [Developers Only]] ny-hardcore:
Strange, mine boots just fine.

Did you wipe before flash? Which gapps do you use?
[Android Software/Hacking General [Developers Only]] mar5hal:
Came from stock and when I wiped my cache froze and wouldn't mount. I didn't flash any gapps either. I'm going to flash back to complete stock and start from scratch. Thanks
[Android Software/Hacking General [Developers Only]] ny-hardcore:
try it, it runs nice
[Android Software/Hacking General [Developers Only]] phoenixita:
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGDecl.cpp
CC arch/arm/mach-msm/board-8064-camera.o
In file included from /home/phoenixita/bs4.4/kernel/htc/msm8960/arch/arm/mach-msm/board-8064-camera.c:19:0:
/home/phoenixita/bs4.4/kernel/htc/msm8960/arch/arm/mach-msm/include/mach/camera.h:676:33: warning: 'struct msm_camera_csi_params' declared inside parameter list [enabled by default]
error, forbidden warning: camera.h:676
make[3]: *** [arch/arm/mach-msm/board-8064-camera.o] Errore 1
make[2]: *** [arch/arm/mach-msm] Errore 2
make[1]: *** [sub-make] Errore 2
make[1]: uscita dalla directory "/home/phoenixita/bs4.4/kernel/htc/msm8960"
make: *** [TARGET_KERNEL_BINARIES] Errore 2
make: *** Attesa per i processi non terminati....

Hey guys i'm getting this error from two days now....previously i built this without problems...Any ideas?
[Android Software/Hacking General [Developers Only]] desalesouche:
do you have in your boardConfigCommon.mk that line?

TARGET_KERNEL_CONFIG := XXX
[Android Software/Hacking General [Developers Only]] phoenixita:
yes i've tried it in various way...anyway i'll delete device folder and give a repo sync maybe some cherry-picking made the error arise.
[Android Software/Hacking General [Developers Only]] phoenixita:
Solved.
[Android Software/Hacking General [Developers Only]] desalesouche:
please explain...for my knowledge and for futur dev....

we have to leave clue...thank you sir
[Android Software/Hacking General [Developers Only]] phoenixita:
Well i had to maually remove the device folder and regive a reposync. I've messed it wit some cherry picks and copy and paste trying to port slimbean for my device...the issue is usually related to target_kernel_config in boardconfig.mk
[Android Software/Hacking General [Developers Only]] BMP7777:
I wish I could offer some advice, but I built from scratch without issue on the 1st. It doesn't seem like there has been any recent activity on the deskclock file of CM on git, but Lockclock was updated 3 hours ago. Maybe dump and resync? Coincidentally, I am having a similar issue building JellyBeer. It is the same Error 1, but for an EXECUTABLES file. What the hell does Error 1 mean anyway?
[Android Software/Hacking General [Developers Only]] :
I'm not sure what to say. Something on the git between the release of 1.261 and now has broken my build, and I can't fix it.

not sure how to proceed, everything was fine
[Android Software/Hacking General [Developers Only]] BMP7777:
Craziest thing: on .260 and .261 I get a bootloop if restoring the freshly made backup. Using TWRP 2.5, haven't changed since I've had this phone. All of the same apps and stuff too. Weird. Anybody else?