BeanStalk Build *Developers ONLY* Updated 12.9.2015 - Support and Assistance Thread.

Search This thread

scott.hart.bti

Inactive Recognized Developer
Mar 19, 2012
2,561
17,384
Reading
banner4.jpg

This thread has been opened to help avoid clutter in the original BeanStalk thread and to provide a centralized place to assist developers and porters with any issues they may be having with providing BeanStalk versions to their devices.

I will try my best to help out with any issue that is listed, but please remember that there are things that may be out of my control or things that im not aware of. I am hoping with creating a centralized thread for developmental discussion, other developers will also be able to assist when issues arise.

BeanStalk sources can be found HERE

UPDATE 12/14/2015
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/nexu...2015-t3269156/

UPDATE 12/9/2015
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.

Important build related Info and fixes:
BeanStalk builds will not be implementing any of the new cmparts code. Instead, BS will keep the old format with the advanced device settings options. This means that you need to make sure that your device repo has the advanced settings code available and you need to make sure you revert any changes that you pull from CM that are for the new cmparts... if you have the cmparts commits in your device repo, it will cause build errors since it wont be in the frameworks/settings repos.

If you are a current BeanStalk builder/maintainer: I currently was setup with a website thanks to a friend of mine and it is located at www.scotthartbti.com. The main point of me setting up a website is a way to centralize all the different beanstalk builds out there. So, what im going to need from you guys... Please email me at scott.hart.bti@gmail.com, gtalk me at scott.hart.bti@gmail.com, or message me on xda with the device you build for and a link to where your zip files are located for download. I will then add a link to my website to your downloads.

So your interested in Building/Porting for another device?! Follow this guide! **Please make sure to give proper credits and Use the layout i have in the first post.** - If you need assistance, please send me a PM, do NOT post questions in this thread. I may open a general porting/building thread in another section depending on how this goes. You must have some general experience/knowledge in this area to complete this. Building from Linux platforms. In particular Ubuntu 10.04

Setup to build - This section can be skipped if youve ever built anything before. This is for first time build setup.
1. From your root terminal location, type the following: sudo apt-get install curl git-core gnupg flex bison gperf libsdl1.2-dev libesd0-dev libwxgtk2.6-dev squashfs-tools build-essential zip curl libncurses5-dev zlib1g-dev sun-java6-jdk pngcrush schedtool g++-multilib lib32z1-dev lib32ncurses5-dev lib32readline5-dev gcc-4.3-multilib g++-4.3-multilib
2. Type: mkdir ~/bin
3. Type: PATH=~/bin:$PATH
4. Type: curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
5. Type: chmod a+x ~/bin/repo

From terminal
1. type 'cd'. This will bring you to your root folder.
2. type 'mkdir beanstalk'. This will create a folder named beanstalk.
3. type 'cd beanstalk'. This will take you to the beanstalk directory created from previous step
4. type 'repo init -u git://github.com/scotthartbti/android.git -b cm-10.1'. This will setup the folders to be synced.
5. type 'repo sync'. This will sync the folders to your beanstalk directory. Note - This will take some time depending on internet connection. Be patient!
6. After the repo sync finally finishes, all you need to do is add your device, kernel, vendor specific files for the device you are building for. (You must know what these are, dont bother asking me if your not sure.)
7. Make sure all your device specific files are setup as if you were going to build for CM.
8. Outside of terminal, navigate to beanstalk/vendor/cm. Double click on the get-prebuilts file and select run in terminal. This will fetch necessary files needed to build and place them where they need to be.
9. Type '. build/envsetup.sh && brunch "device name"'
10. Previous step will start building beanstalk for your device. The process takes anywhere from 1 - 3 hours depending on your computer.
11. Once completed, it will say package complete and you will have a beanstalk named zip file in your out folder.
 
Last edited:

willl03

Senior Member
Oct 25, 2008
1,530
6,659
Quebec
Honestly... Unfortunately there isnt an EASY way. Basically... Just need to watch what we pull into our source files and if you get a build error, check out the CM side of things... Chances are it was an addition on the CM end that was not added to the Beanstalk side of things yet... In this latest case, CM added the privacy guard to their frameworks/settings/browser/contactsprovider/telephonyprovider... We use the telephonyprovider and browser directly from their repo... So it was kind of impossible to avoid issues until I was able to add in the necessary changes to the other repos... Which i have done so now so we are good to go.

Thanks man,

I read that when I managed to get a working build, good experience for the future

I reverted the privacy guard in

Browser
https://github.com/CyanogenMod/andr...mmit/2a654f8713cc3af108192dd33517d363e20b9984

CalendarProvider
https://github.com/CyanogenMod/andr...mmit/c3ad288607c873c90e50ee8ac3d3aa3f5aa0e5e2

TelephonyProvider
https://github.com/CyanogenMod/andr...mmit/60511cf58e4308cef91b817ee546fee2040f4b69

Good thing it should be fixed for easy building now :)
 
Last edited:

scott.hart.bti

Inactive Recognized Developer
Mar 19, 2012
2,561
17,384
Reading
Thanks man,

I read that when I managed to get a working build, good experience for the future

I reverted the privacy guard in

Browser
https://github.com/CyanogenMod/andr...mmit/2a654f8713cc3af108192dd33517d363e20b9984

CalendarProvider
https://github.com/CyanogenMod/andr...mmit/c3ad288607c873c90e50ee8ac3d3aa3f5aa0e5e2

TelephonyProvider
https://github.com/CyanogenMod/andr...mmit/60511cf58e4308cef91b817ee546fee2040f4b69

Good thing it's fixed for easy building now :)

Yea... Most of the time you just need to keep an eye out on the commits device/kernel side, but this was a rare case where there was a CM change that expanded across numerous packages.... Maybe i just need to be quicker with adding in all the changes.. Ha.

Only other alternative i could use would be to add EVERY entity to the BeanStalk repo and manually add every change... but since im only one person and not a team of numerous people, that would literally take FOREVER... I am sure i can find a script to help take care of things quicker, but still...
 
Last edited:
A

AndroidSlave

Guest
Thanks Scott. Glad to see this. No issues so far on the N7000 with the latest build.
 

scott.hart.bti

Inactive Recognized Developer
Mar 19, 2012
2,561
17,384
Reading
Thanks Scott. Glad to see this. No issues so far on the N7000 with the latest build.

Glad to hear! I should have done this a WHILE ago, but havent had much free time... My son is due in a little less then a month now... I can only imagine how hard its going to be to find time then.... I get no sleep now as it is... Some fun times ahead... lol.
 

willl03

Senior Member
Oct 25, 2008
1,530
6,659
Quebec
Yea... Most of the time you just need to keep an eye out on the commits device/kernel side, but this was a rare case where there was a CM change that expanded across numerous packages.... Maybe i just need to be quicker with adding in all the changes.. Ha.

Only other alternative i could use would be to add EVERY entity to the BeanStalk repo and manually add every change... but since im only one person and not a team of numerous people, that would literally take FOREVER.

There is one last think I keep having to revert when I build

The gps for my device, since it was moved and updated with some new code from my device specific repo to my device qcom common repo, I have to revert all gps related changes in thrse two repos in the last month to get it working on beanstalk

You fixed a similar issue when we had trouble with samsung phones telephony fc'ing with a simple merge from CM, I don't know if it is possible for you to do a similar merge to get our gps working out of the box

Thank you for creating the ultimate rom out there!

Sent from my ATARI-JAGUAR using 64bit Mathematics

---------- Post added at 04:06 AM ---------- Previous post was at 04:04 AM ----------

Glad to hear! I should have done this a WHILE ago, but havent had much free time... My son is due in a little less then a month now... I can only imagine how hard its going to be to find time then.... I get no sleep now as it is... Some fun times ahead... lol.

Hehe good luck!

Sent from my ATARI-JAGUAR using 64bit Mathematics
 
  • Like
Reactions: skyliner33v

chrisc93

Senior Member
May 22, 2013
447
1,079
Glad to hear! I should have done this a WHILE ago, but havent had much free time... My son is due in a little less then a month now... I can only imagine how hard its going to be to find time then.... I get no sleep now as it is... Some fun times ahead... lol.

I figured I'd pop in and say all is good with the galaxy s4. Just like old times on the Infuse..only now with a quad core beast.

And Scott, best of luck with your son!
 
  • Like
Reactions: atcharatip pinmook

willl03

Senior Member
Oct 25, 2008
1,530
6,659
Quebec
I have a very minor issue with BeanStalk since I started building it,

Chrome browser and the others based on it's engine have no momentum in scroll. As soon as you take your finger off it stops scrolling completly, no scrolling continuity

Is it specific to my device build of beanstalk or it's also true for you
 

chrisc93

Senior Member
May 22, 2013
447
1,079
I have a very minor issue with BeanStalk since I started building it,

Chrome browser and the others based on it's engine have no momentum in scroll. As soon as you take your finger off it stops scrolling completly, no scrolling continuity

Is it specific to my device build of beanstalk or it's also true for you

It happens on my build too. Never really looked into it, but it is a little annoying.
 
  • Like
Reactions: willl03

scott.hart.bti

Inactive Recognized Developer
Mar 19, 2012
2,561
17,384
Reading
I have a very minor issue with BeanStalk since I started building it,

Chrome browser and the others based on it's engine have no momentum in scroll. As soon as you take your finger off it stops scrolling completly, no scrolling continuity

Is it specific to my device build of beanstalk or it's also true for you

Ill look into it... Since its only happening with Chrome based browsers, id have to think its an issue on that end of things... but ill see what i can find.
 
A

AndroidSlave

Guest
@willl03 did u try the idea for maybe a stylus gesture fix I PM'd you?

Sent from my Samsung Galaxy SVII using Tapatalk 6 Beta
 

BMP7777

Senior Member
Dec 15, 2010
2,421
2,606
52
Dacula, Ga
Samsung Galaxy S22 Ultra
Is this familiar to anyone? I clobbered and resynced first thing and this is the result:
Code:
bmp7777@bmp7777-HP-Pavilion-dv7-Notebook-PC:~/beanstalk$ repo sync
Fetching projects: 100% (359/359), done.  
core/java/com/android/internal/util/cm/QSConstants.java: needs merge
packages/SystemUI/res/values/cm_strings.xml: needs merge
packages/SystemUI/src/com/android/systemui/quicksettings/QuickSettingsTile.java: needs merge
packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java: needs merge
error: you need to resolve your current index first
Syncing work tree: 100% (359/359), done.  

error: frameworks/base/: scotthartbti/android_frameworks_base checkout a880f03be35ccbc3c6d7a3373e9cb0e688cc48ae 
bmp7777@bmp7777-HP-Pavilion-dv7-Notebook-PC:~/beanstalk$


Is there more going on overnight that I've missed? I took a quick look at CM review and didn't immediately see anything....
 

willl03

Senior Member
Oct 25, 2008
1,530
6,659
Quebec
Is this familiar to anyone? I clobbered and resynced first thing and this is the result:
Code:
bmp7777@bmp7777-HP-Pavilion-dv7-Notebook-PC:~/beanstalk$ repo sync
Fetching projects: 100% (359/359), done.  
core/java/com/android/internal/util/cm/QSConstants.java: needs merge
packages/SystemUI/res/values/cm_strings.xml: needs merge
packages/SystemUI/src/com/android/systemui/quicksettings/QuickSettingsTile.java: needs merge
packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java: needs merge
error: you need to resolve your current index first
Syncing work tree: 100% (359/359), done.  

error: frameworks/base/: scotthartbti/android_frameworks_base checkout a880f03be35ccbc3c6d7a3373e9cb0e688cc48ae 
bmp7777@bmp7777-HP-Pavilion-dv7-Notebook-PC:~/beanstalk$


Is there more going on overnight that I've missed? I took a quick look at CM review and didn't immediately see anything....

I'd delete everything and make a repo sync from scratch, all is fine on my side

Sent from my ATARI-JAGUAR using 64bit Mathematics

---------- Post added at 03:12 PM ---------- Previous post was at 03:09 PM ----------

I'd delete everything and make a repo sync from scratch, all is fine on my side

Sent from my ATARI-JAGUAR using 64bit Mathematics

With v1.253, I see that Tasker can not detect the running app

I have a ton of profiles for specific apps and none of them work. Looks like the "top window" is not seen as the foreground app anymore. I tried disabling halo and no change.

I don't have any clue, works fine on v1.240 and previous. Tasker app detection works for you guys on v1.253?

Sent from my ATARI-JAGUAR using 64bit Mathematics
 
Last edited:
  • Like
Reactions: BMP7777
A

AndroidSlave

Guest
Is it possible to use overlay's to disable some of the settings options.

I'm building on Maguro and we don't have physical keys so it annoys me seeing the settings entries for them :)

You can apply a patch to remove he settings entry. I will try to find the guide when I get to my office later.

Sent from my Samsung Galaxy SVII using Tapatalk 6 Beta
 

willl03

Senior Member
Oct 25, 2008
1,530
6,659
Quebec
I assumed that is what was needed, so I make clobbered first thing and resynced; no love. But, maybe I'll have better luck when I get home....

More than a repo sync, delete your whole beanstalk folder and start from scratch. Had to do this a few times to get things working in the past

About tasker, can anybody let me know if the app detection works on your side

There's a trial of tasker available here if you don't use it

http://tasker.dinglisch.net/download.html

I really need to get this working, it's the single most important app I'm running on my phone

Thanks

Sent from my ATARI-JAGUAR using 64bit Mathematics
 
  • Like
Reactions: BMP7777

chrisc93

Senior Member
May 22, 2013
447
1,079
This is not really an error but more of an aesthetic issue. When I click on About BeanStalk, the images don't load. The code looks good, maybe it's just an issue with my phone trying to dl the pics?
 

patch_Adams

Senior Member
May 21, 2013
1,250
2,070
northwoods USA
Huawei P30 Pro
OnePlus 10 Pro
More than a repo sync, delete your whole beanstalk folder and start from scratch. Had to do this a few times to get things working in the past

About tasker, can anybody let me know if the app detection works on your side

There's a trial of tasker available here if you don't use it

http://tasker.dinglisch.net/download.html

I really need to get this working, it's the single most important app I'm running on my phone

Thanks

Sent from my ATARI-JAGUAR using 64bit Mathematics

Do mean the multi task manager when long pressing the home button? All good here.

And yeah, I deleted my entire build folder a couple of times. A fresh repo helps.

Sent from my SAMSUNG-SGH-I717 using xda premium
 

willl03

Senior Member
Oct 25, 2008
1,530
6,659
Quebec
Do mean the multi task manager when long pressing the home button? All good here.

And yeah, I deleted my entire build folder a couple of times. A fresh repo helps.

Sent from my SAMSUNG-SGH-I717 using xda premium

The Tasker app to automate actions, it is for sale in the play store or there is a trial in the website I linked

Sent from my ATARI-JAGUAR using 64bit Mathematics
 
  • Like
Reactions: patch_Adams

Top Liked Posts

  • There are no posts matching your filters.
  • 48
    banner4.jpg

    This thread has been opened to help avoid clutter in the original BeanStalk thread and to provide a centralized place to assist developers and porters with any issues they may be having with providing BeanStalk versions to their devices.

    I will try my best to help out with any issue that is listed, but please remember that there are things that may be out of my control or things that im not aware of. I am hoping with creating a centralized thread for developmental discussion, other developers will also be able to assist when issues arise.

    BeanStalk sources can be found HERE

    UPDATE 12/14/2015
    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/nexu...2015-t3269156/

    UPDATE 12/9/2015
    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.

    Important build related Info and fixes:
    BeanStalk builds will not be implementing any of the new cmparts code. Instead, BS will keep the old format with the advanced device settings options. This means that you need to make sure that your device repo has the advanced settings code available and you need to make sure you revert any changes that you pull from CM that are for the new cmparts... if you have the cmparts commits in your device repo, it will cause build errors since it wont be in the frameworks/settings repos.

    If you are a current BeanStalk builder/maintainer: I currently was setup with a website thanks to a friend of mine and it is located at www.scotthartbti.com. The main point of me setting up a website is a way to centralize all the different beanstalk builds out there. So, what im going to need from you guys... Please email me at scott.hart.bti@gmail.com, gtalk me at scott.hart.bti@gmail.com, or message me on xda with the device you build for and a link to where your zip files are located for download. I will then add a link to my website to your downloads.

    So your interested in Building/Porting for another device?! Follow this guide! **Please make sure to give proper credits and Use the layout i have in the first post.** - If you need assistance, please send me a PM, do NOT post questions in this thread. I may open a general porting/building thread in another section depending on how this goes. You must have some general experience/knowledge in this area to complete this. Building from Linux platforms. In particular Ubuntu 10.04

    Setup to build - This section can be skipped if youve ever built anything before. This is for first time build setup.
    1. From your root terminal location, type the following: sudo apt-get install curl git-core gnupg flex bison gperf libsdl1.2-dev libesd0-dev libwxgtk2.6-dev squashfs-tools build-essential zip curl libncurses5-dev zlib1g-dev sun-java6-jdk pngcrush schedtool g++-multilib lib32z1-dev lib32ncurses5-dev lib32readline5-dev gcc-4.3-multilib g++-4.3-multilib
    2. Type: mkdir ~/bin
    3. Type: PATH=~/bin:$PATH
    4. Type: curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
    5. Type: chmod a+x ~/bin/repo

    From terminal
    1. type 'cd'. This will bring you to your root folder.
    2. type 'mkdir beanstalk'. This will create a folder named beanstalk.
    3. type 'cd beanstalk'. This will take you to the beanstalk directory created from previous step
    4. type 'repo init -u git://github.com/scotthartbti/android.git -b cm-10.1'. This will setup the folders to be synced.
    5. type 'repo sync'. This will sync the folders to your beanstalk directory. Note - This will take some time depending on internet connection. Be patient!
    6. After the repo sync finally finishes, all you need to do is add your device, kernel, vendor specific files for the device you are building for. (You must know what these are, dont bother asking me if your not sure.)
    7. Make sure all your device specific files are setup as if you were going to build for CM.
    8. Outside of terminal, navigate to beanstalk/vendor/cm. Double click on the get-prebuilts file and select run in terminal. This will fetch necessary files needed to build and place them where they need to be.
    9. Type '. build/envsetup.sh && brunch "device name"'
    10. Previous step will start building beanstalk for your device. The process takes anywhere from 1 - 3 hours depending on your computer.
    11. Once completed, it will say package complete and you will have a beanstalk named zip file in your out folder.
    12
    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.

    Sent from my LG-H810 using XDA Free mobile app
    10
    Thanks for this. The cm changes have been hourly for skyrocket it seems.
    I was wondering. Will you be staying with 4.2.2 as official build until 4.3 stabilizes?

    Good question and i meant to address this earlier, but got side tracked. Since a majority of my time will need to go into 4.3, i really dont have an option but to stop development for 4.2.2. I pushed out most of the fixes last night and the jb43 branches should be ready to go. There are still a few issues i need to work out, but nothing major. Id say its about 90% working right now. You guys should be able to sync and build as long as you have all your device/kernel changes needed for the Android 4.3 system. In order to sync the new branches for 4.3, you can use the same root path as you used for 4.2.2 and follow these steps:

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

    Thats all. Your ready to build. Please note that since this is not 100 percent yet, you may want to hold off a couple days on releasing anything. I plan on officially releasing BeanStalk 4.3 tomorrow night.
    10
    Ok guys things are looking good for getting the new theme engine working on Beanstalk. Couple of bugs to work out yet but very close. I just wanted to keep you posted.
    Then I am going to build it for the One Plus and update for hammerhead.
    Take care all.
    10
    For those of you watching the github for beanstalk 4.3 (branches jb43), You have seen that i have been putting in alot of work. The past few days i have been working on squaring away the errors from merging the 4.3 source code and believe me when i say that there were a **** ton of them! But, I am glad to announce that beanstalk 4.3 is now completely building. I have not pushed out the fixes needed to build yet as i want to test everything on my end first and fix anything that may have been missed. With all that said, you should see the fixes and necessary commits pushed out here today or hopefully tomorrow at the latest. I will post once everything has been pushed to my github.

    Im not sure about any of the other devices, but i know for my device (Samsung Infuse4g) there are a few commits that are needed in order to build for Android 4.3 correctly. Please make sure that you go through and add any necessary commits needed on your end.