yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] patch_Adams:
Guys I need some help here...I found my rotation issue, but don't know where or how to fix this, I know very little java yet....

09-20 13:23:31.248: E/WindowManager(7071): Activity o.덁 has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{42270830 V.E..... R......D 0,0-1280,800} that was originally added here

09-20 13:23:31.248: E/WindowManager(7071): android.view.WindowLeaked: Activity o.덁 has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{42270830 V.E..... R......D 0,0-1280,800} that was originally added here

09-20 13:23:31.248: E/WindowManager(7071):	at android.view.ViewRootImpl.<init>(ViewRootImpl.java:345)

09-20 13:23:31.248: E/WindowManager(7071):	at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:239)

09-20 13:23:31.248: E/WindowManager(7071):	at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69)

09-20 13:23:31.248: E/WindowManager(7071):	at android.app.Dialog.show(Dialog.java:281)

09-20 13:23:31.248: E/WindowManager(7071):	at o.ǳ.onClick(Source:804)

09-20 13:23:31.248: E/WindowManager(7071):	at android.view.View.performClick(View.java:4247)

09-20 13:23:31.248: E/WindowManager(7071):	at android.view.View$PerformClick.run(View.java:17728)

09-20 13:23:31.248: E/WindowManager(7071):	at android.os.Handler.handleCallback(Handler.java:730)

09-20 13:23:31.248: E/WindowManager(7071):	at android.os.Handler.dispatchMessage(Handler.java:92)

09-20 13:23:31.248: E/WindowManager(7071):	at android.os.Looper.loop(Looper.java:137)

09-20 13:23:31.248: E/WindowManager(7071):	at android.app.ActivityThread.main(ActivityThread.java:5288)

09-20 13:23:31.248: E/WindowManager(7071):	at java.lang.reflect.Method.invokeNative(Native Method)

09-20 13:23:31.248: E/WindowManager(7071):	at java.lang.reflect.Method.invoke(Method.java:525)

09-20 13:23:31.248: E/WindowManager(7071):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:743)

09-20 13:23:31.248: E/WindowManager(7071):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:559)

09-20 13:23:31.248: E/WindowManager(7071):	at dalvik.system.NativeStart.main(Native Method)

I deleted my frameworks folder and did a resync thinking it would help, but still the error persists....
[Android Software/Hacking General [Developers Only]] willl03:
Wish I could help, is it in your n7100 build you get that error?
[Android Software/Hacking General [Developers Only]] patch_Adams:
I717 gnote 1

sent from somewhere upon the beanstalk
[Android Software/Hacking General [Developers Only]] phoenixita:
make[1]: uscita dalla directory "/home/phoenixita/beanstalk/kernel/htc/msm8960"
make -C kernel/htc/msm8960 O=/home/phoenixita/beanstalk/out/target/product/ville/obj/KERNEL_OBJ INSTALL_MOD_PATH=../../system ARCH=arm CROSS_COMPILE=" /home/phoenixita/beanstalk/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" modules_install
make[1]: ingresso nella directory "/home/phoenixita/beanstalk/kernel/htc/msm8960"
INSTALL drivers/crypto/msm/qce40.ko
INSTALL drivers/crypto/msm/qcedev.ko
INSTALL drivers/crypto/msm/qcrypto.ko
INSTALL drivers/media/radio/radio-iris-transport.ko
INSTALL drivers/scsi/scsi_wait_scan.ko
INSTALL drivers/staging/prima/prima_wlan.ko
DEPMOD 3.4.62-gd0bd161
make[1]: uscita dalla directory "/home/phoenixita/beanstalk/kernel/htc/msm8960"
mdpath=`find /home/phoenixita/beanstalk/out/target/product/ville/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; ko=`find $mpath/kernel -type f -name *.ko`; for i in $ko; do /home/phoenixita/beanstalk/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-strip --strip-unneeded $i; mv $i /home/phoenixita/beanstalk/out/target/product/ville/system/lib/modules/; done; fi
mdpath=`find /home/phoenixita/beanstalk/out/target/product/ville/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; rm -rf $mpath; fi

What's wrong??? I always managed to create builds for the ville without this issue coming out any ideas?
[Android Software/Hacking General [Developers Only]] lreyes:
How and where could I find "cherry picks"?
[Android Software/Hacking General [Developers Only]] BMP7777:
Here's a good place to start:

http://review.cyanogenmod.org/#/q/status:open,n,z
[Android Software/Hacking General [Developers Only]] phoenixita:
hey guys i always maaged to get at least a rom.zip following this guide! now when i brunch ville the build starts and ends in 3 min when go into my out directory i found no zips...What can be wrong? It ends without errors displaying. I'm now deleting the whole beanstalk directory and starting from the scratch! Repo syncing right now!
[Android Software/Hacking General [Developers Only]] wantowan2:
Ya,,, this really isn't a "Guide" thread. More a place for us to come and maaaybe find a solution from another dev about what just busted in there build. lol I personally would love it if a few others with more knowledge then I do would spend more time here. Even a heads up as to what new BStalk commit is going to break something...lol

Speaking of....

Does anybody else have that fat red border flashing on screen updates. I know that there used to be an option in the dev settings to allow this but now it's happening randomly and I can't turn it off.
[Android Software/Hacking General [Developers Only]] phoenixita:
Unfortunately i have no knowledge...So you think that maybe a commit submitted or in CM or in BS repos may be the cause of my errors?

Here is a new eoor!

aapt: warning: string 'gsm_alphabet_default_charset' has no default translation in frameworks/base/core/res/res; found: ko
aapt: warning: string 'permdesc_sendSmsNoConfirmation' has no default translation in frameworks/base/core/res/res; found: ar
aapt: warning: string 'permlab_sendSmsNoConfirmation' has no default translation in frameworks/base/core/res/res; found: ar
aapt: warning: string 'twelve_hour_time_format' has no default translation in frameworks/base/core/res/res; found: es
aapt: warning: string 'twenty_four_hour_time_format' has no default translation in frameworks/base/core/res/res; found: es
aapt: warning: string 'vpn_lockdown_reset' has no default translation in frameworks/base/core/res/res; found: ar cs
device/htc/ville/overlay/frameworks/base/core/res/res/values/config.xml:110: error: Resource at config_deviceHasVariableButtonBrightness appears in overlay but not in the base package; use <add-resource> to add.
make: *** [/home/phoenixita/beanstalk/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Errore 1
make: *** Eliminazione del file "/home/phoenixita/beanstalk/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk"
[Android Software/Hacking General [Developers Only]] lreyes:
It should be in the developer options. Uncheck the box that says "update screen when app...etc."
[Android Software/Hacking General [Developers Only]] phoenixita:
Looking on the error i've seen a file in config.xml searching on my device cm github i've seen that two days ago a commit was autored i searched this file in my work directory and deleted the strings that was added the build ended but now i have a small (197 mb) ROM that is flashing booting for a second e rebooting in loop lol Is there a way i can use the previous version of a commit without manually removing the commit?

Anyway i have now done a repo sync and i'll rebrunch soon. This can sound noob but i m not a developer and just trying to make this working for my device.
[Android Software/Hacking General [Developers Only]] wantowan2:
That's what I mean. It was the first place I looked. I thought that maybe it was turned on by default or something because it happened at first boot. I think that it is a legacy function now because that whole part of dev settings has changed.

Also, I am having DATA/WIFI issues. Yes, I have the correct radio...etc. Wifi shows null and the icons only show grey. Never flash blue at all. Anybody else?
[Android Software/Hacking General [Developers Only]] desalesouche:
error say= htc/ville/overlay/frameworks/base/core/res/res/values/config.xml:110: error:

Resource at config_deviceHasVariableButtonBrightness

appears in overlay but not in the base package; use <add-resource> to add.

so you have to know what say the line 110 of config.xml:110:

so try to add same specification in the base package ?
[Android Software/Hacking General [Developers Only]] phoenixita:
I don't know where to find the base package..I'm a bit noob!

P.S. anyone having issues repo syncing?

Edit:solved with repo sync -f! I think it's something related to the focal repo.
[Android Software/Hacking General [Developers Only]] BMP7777:
Had that same error. Removed that line in the code and the build resumed and completed successfully
[Android Software/Hacking General [Developers Only]] phoenixita:
What have you done exactly? :) [MENTION=3327168]BMP7777[/MENTION]

phoenixita@phoenixita:~/beanstalk$ repo sync -f
Fetching projects: 15% (60/396) fatal: remote error:
Repository not found.
Fetching projects: 16% (64/396) fatal: remote error:
Repository not found.
Fetching projects: 66% (262/396) fatal: remote error:
Repository not found.
Fetching projects: 70% (278/396) fatal: remote error:
Repository not found.
Fetching projects: 99% (393/396) error: Cannot fetch CyanogenMod/android_packages_apps_Focal
warn: --force-broken, continuing to sync
error: Cannot fetch CyanogenMod/android_external_Focal
warn: --force-broken, continuing to sync
Fetching projects: 100% (396/396), done.
error: revision refs/heads/cm-10.2 in CyanogenMod/android_external_Focal not found

I'm getting this now lol
[Android Software/Hacking General [Developers Only]] BMP7777:
You'll need to be able to sync before anything else. Just keep trying. Go to config.XML in your error and remove the line of code that is shown in the error. Do not resync after, just build
[Android Software/Hacking General [Developers Only]] phoenixita:
I've deleted focal things beastalk/.repo/manifests/default.xml(there are two rows that need to be removed if anyone canpush this to the source it would be awesome) and now i've deleted the buttonhas.....in config.xml now giving brunch command should i ask to remove this commit from my device tree?
[Android Software/Hacking General [Developers Only]] BMP7777:
I didn't. Just removed the offending line of code(brightness settings on the hardware keys? I can live without that) and . build/envsetup.sh && brunch >whatever device you're building for<
[Android Software/Hacking General [Developers Only]] phoenixita:
I had to edid the default.xml to have a fully working bs repo sync. And then removed the two lines from the config.xml like you have done, at least I think so. :) Build is in progress. Thanks for the help. I hope it boots and works fine.
[Android Software/Hacking General [Developers Only]] BMP7777:
Mine did. Good luck....:good:
[Android Software/Hacking General [Developers Only]] phoenixita:
Thanks. Reading on my device official cm thread there are some people experiencing bootloops like on latest beanstalk build i've done so i think this bug will be on my actually running build. I think i've to wait until the bugged commit gets found and fixed.
[Android Software/Hacking General [Developers Only]] patch_Adams:
I think cyanogenmod removed focal....May be delete your packages folder and re sync.....and don't use -f ??

sent from somewhere upon the beanstalk
[Android Software/Hacking General [Developers Only]] phoenixita:
Solved deleting two lines that had focal inside in default.xml. And this error apparead even with a new repo init in a new beanstalk directory.

This change should be done in the source . So no one else will get this error. Unfortunately i'm not able submitting changes to the github lol
[Android Software/Hacking General [Developers Only]] BMP7777:
That would explain why my latest builds are smaller than previous ones. Anyone know why? It seemed to work fine....
[Android Software/Hacking General [Developers Only]] phoenixita:
The developer had problems when cyanogenmod become cyanogenmod inc. And he decided to remove it from their repos and make it available on the playstore: IMHO it works even better now.

Here is the link: https://play.google.com/store/apps/details?id=fr.xplod.focal

If you have time read this! It's why he retired his app from the open source. https://plus.google.com/u/0/106978520009932034644/posts/L8FJkrcahPs I think it's very interesting.
[Android Software/Hacking General [Developers Only]] timpohladthomas:
I submitted a pull request to change it to xplodwild repo for Focal instead of cm

If Scott merges it it will fix sync issues.
[Android Software/Hacking General [Developers Only]] BMP7777:
What a bummer. It really doesn't matter what the topic is, as soon as money starts getting thrown around, the knives come out. I see both sides; it reminds me of the famous letter that Bill Gates publicly put out before Microsoft that basically said: ' If you work your butt off for hundreds of hours creating, maintaining and updating code, shouldn't you have a right to be paid for your work?' I see much truth in the statement, even if Microsoft is one of the greediest companies on the planet (do you have any idea what they charge for licensing on all the computers sold with their software? - only to charge you again for licensed replacements in the event that your system crashes? Ever wonder why Best Buy and other retailers charge $300 to 'fix' a crashed system? Man, don't get me started...) At the same time, open source is open source. In CMs defense, I'm not sure any of them, even Steve, saw this eventuality when it was begun, and that's the thing that comes out right after the knives when money is involved; the LEGALEZE. In making this a bona-fide company, I'm sure some scrambling had to be done to ensure no lawsuits can be brought up as this is all taken to market, so to speak. As a result, people will get screwed, and feelings will get hurt. But, from their perspective, there isn't much choice anymore. You can't exactly say, 'I don't wanna do anybody dirty, so we're gonna cancel the whole thing', now. Once again, NOT defending, just trying to see all the angles. I think that there will be serious 'plusses and minuses' in this new 'company' called CM. Hopefully, the good will outweigh the bad........
[Android Software/Hacking General [Developers Only]] phoenixita:
This is exacty what i think.

Anyway the build ends and the rom sometimes boots and sometimes not lol I have a logcat if someone can read it it would be very appreciated. :D View attachment bootloop.txt
[Android Software/Hacking General [Developers Only]] wantowan2:
Well, cm account is here for cm roms. You think it's a stretch to see everybody on xda 'paying' for use of cm source trees? Otherwise it would be a 'ltd' company not 'inc' for just legal purposes, no?.
[Android Software/Hacking General [Developers Only]] desalesouche:
Hi all. For those willing to build Focal with beanstalk....

Go there and download -----> https://github.com/xplodwild/android_packages_apps_Focal/commits/master

then decompress it and paste it in packages/apps , rename it Focal....

Then go to your (exemple : is for mine device) /device/huawei/msm7x30-common/common.mk and open it.

add Focal inside...

# Other

PRODUCT_PACKAGES += \

dexpreopt \

Focal \

Torch

and build...it has worked for me right now on slimbean4.2.2 build 8.1...will try to repoduce on others build but it should be ok...

i still didn't boot the rom will do in a minute.... but at least the apk is builded...:p

edit.the Focal app work fine...
[Android Software/Hacking General [Developers Only]] m1batt1:
Ok so I'm trying to get my beanstalk to build but I'm having trouble so far. Maybe someone can help me out with what I get when I try to build.

KCONFIG_SELINUX((null))
KCONFIG_LOG_SELINUX((null))
KCONFIG_VARIANT(arch/arm/configs/cyanogen_d2_defconfig)
KCONFIG_DEBUG((null))
#
# configuration written to .config
#
make[1]: Leaving directory `/home/marshal/android/beanstalk/kernel/samsung/d2'
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_ast_replace.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_check_ast.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_context.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_pragma_handler.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_backend.cpp
device/samsung/d2-common/overlay/frameworks/base/core/res/res/values/dimens.xml:22: error: Resource at pie_trigger_thickness appears in overlay but not in the base package; use <add-resource> to add.
make: *** [/home/marshal/android/beanstalk/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Error 1
make: *** Deleting file `/home/marshal/android/beanstalk/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk'
make: *** Waiting for unfinished jobs....
[Android Software/Hacking General [Developers Only]] desalesouche:
see here and post above... http://xdaforums.com/showpost.php?p=45844079&postcount=439
[Android Software/Hacking General [Developers Only]] m1batt1:
Thank you for that. I had read that and almost didn't post but thought that it might be different since it wasn't the same error. But of course deleting that line of code fixed it.

Ok I'm confused. I am pretty well certain I initiated the 4.3 repo and should have built a 4.3 rom. However the build that I just compiled came out as 4.2.2... How does that work?
[Android Software/Hacking General [Developers Only]] phoenixita:
Go on page 18 and you'll find the repo init command for 4.3.
[Android Software/Hacking General [Developers Only]] droidmk:
Hi, I'm trying to build with linaro or sabermod. Can someone tell me how/where to add a global cflag that will affect the whole build?
[Android Software/Hacking General [Developers Only]] BMP7777:
Better yet, just save this page in your favorites for easy access : https://github.com/scotthartbti?tab=repositories
[Android Software/Hacking General [Developers Only]] m1batt1:
OK yeah that's the repo I initiated... So how did I end up with a 4.2.2 build?
[Android Software/Hacking General [Developers Only]] BMP7777:
Did you go to that git for your init command? If so, did you double-check the branch? It may still default to 4.2. Also, did you adjust your local_manifest to reflect 10.2? When I started building for 4.3, I had to change both(branch to 4.3 and change the (1) to a (2) in all the lines of my local_manifest). If both of those are correct, then I'd need more info.....whattaya building for anyway?
[Android Software/Hacking General [Developers Only]] m1batt1:
I did go to that git. However I didn't do the last two things you noted so I'll check those out after work tonight.

I was going to build the latest release for the d2att for personal use. But I don't really need to now since the dev that handles that phone is back to building.
[Android Software/Hacking General [Developers Only]] desalesouche:
please, if someone still have external/Focal folder please send it to me....
[Android Software/Hacking General [Developers Only]] patch_Adams:
I have the apk...forgot I built this morning...by by focal folder

here is the apk

focal apk
[Android Software/Hacking General [Developers Only]] phoenixita:
Si active display working for someone of you? on my device i have proximity sensor always on and i have a red cyclop watching me all night long this is annoying o.o I can't release 4.3.08 cause cm has some issues that cause bootloops and this trouble with the prox sensor :/

Edit: How can i cherry pick something? [MENTION=3327168]BMP7777[/MENTION]

An user said that he would like to have per-app dpi can i cherry pick it?
[Android Software/Hacking General [Developers Only]] droidmk:
Lockscreen shortcuts

Last 3 builds all with different sources have only unlock shortcut and 1 dead shortcut. Is this a problem with my build or with BS source?
[Android Software/Hacking General [Developers Only]] phoenixita:
Seaerch it on the play store! This app is now available on it it's from team bbq.

https://github.com/CarbonDev/android_frameworks_base/commit/767639b9960b6a75278c352f8367c13daeea3835

This commit fixed the prox sensor bug on the One S on the carbon ROM can someone push this commit on Beanstalk too? :)
[Android Software/Hacking General [Developers Only]] BMP7777:
You should probably make clean and resync. It sounds like you got a build in between some commits. But, don't quote me; I could be wrong.

As for cherry-picking, go here: http://review.cyanogenmod.org/#/q/status:open,n,z

Then, pick your commit and click on it. Find the patch and click the tab "cherry-pick'. Copy that text. CD to the appropriate folder for that pick (look to the top of the page for location), paste your cherry-pick and execute. All there is to it. Exit out and reopen your terminal to resume the rest of your build process(I found a command for CDing back to root without exiting, but I forget what it is, sorry :D)

What different sources? It sounds like that might be your problem, but I would need to know more.....
[Android Software/Hacking General [Developers Only]] phoenixita:
I can't find per-app dpi in cyanogenmod maybe cause it's a paranoid android setting do you have a similar site for paranoidandroid? :P
[Android Software/Hacking General [Developers Only]] BMP7777:
Check PAs git.
[Android Software/Hacking General [Developers Only]] phoenixita:
I'm searching on it but i don't find it lol

I feel so noob lol
[Android Software/Hacking General [Developers Only]] BMP7777:
Not sure, but you can start here: https://github.com/ParanoidAndroid/android_frameworks_base
[Android Software/Hacking General [Developers Only]] phoenixita:
Nothing i've not found per-app dpi...
[Android Software/Hacking General [Developers Only]] patch_Adams:
Correct me if I'm wrong but didn't paranoid android remove the PA preferences from everything except official releases and close source the code for it?

sent from somewhere upon the beanstalk
[Android Software/Hacking General [Developers Only]] ktempleton:
You have to pick the hybrid engine and use a pa pref apk from an official build

sent through the worm hole from a galaxy far far away!!!!
[Android Software/Hacking General [Developers Only]] droidmk:
3 different sources for the device trees.
[Android Software/Hacking General [Developers Only]] BMP7777:
Damn ...my builds broken now, too. New commits coming through, maybe? I'm taking the night off and I'll run in the morning, see what's what. You guys still getting the same errors?
[Android Software/Hacking General [Developers Only]] patch_Adams:
Scott mentioned somewhere (facebook may be??) that he is planning on a new release soon....which always seems to break our build a day or so before and after...sometimes...
[Android Software/Hacking General [Developers Only]] phoenixita:
How can I do this? Will it be legal? Lol
[Android Software/Hacking General [Developers Only]] willl03:
Vanir AOSP has some nice fixes related to Active Display in case it can help anyone

https://github.com/VanirAOSP/platform_frameworks_base/commits/jb43
[Android Software/Hacking General [Developers Only]] phoenixita:
Is there a way we can cherry pick it?
[Android Software/Hacking General [Developers Only]] patch_Adams:
I don't know if this'll help, but it is a tut recommended from Vanir's github...

http://pastebin.com/StEbCWEY