Advertisment

Search

Saturday, June 28, 2014

Sick fellas... No updates for a while..

I got a spider byte in a sensitive area. It's really messing me up, so I can't do updates for a while. Check back in when feeling better.

-Meticulus

Wednesday, June 25, 2014

NEW BUILD!: Carbon ROM for Hisense Sero 7 Pro


  1. 4.4.4
  2. Carbon upstream updates
  3. A2dp/Hdmi audio patch (Dopa) not tested
  4. Charging mode detection patch (Dopa)
  5. Miracast patch (Dopa) not tested
  6. Removed all init tunables... (Diagnostic... may be back in future build)
    1. Preliminary Notable Effects
      1. Cpu hot plugging disabled.
        1. All Cpu's on all the time.
        2. Min cpu 760Mhz can't be changed
        3. Performance seems awesome.
        4. Not sure about battery life yet...
  7. Smart dimmer disabled ( Is it just me, really annoying!? )
  8. Performance and Developer options enabled by default.
  9. New info in "About Carbon"
  10. Disabled "Update recovery on flash option"
  11. Probably for got a couple...

Download in the download section as always...

Monday, June 23, 2014

NEW BUILD!: Carbon ROM for Galaxy Exhibit / Ace 2e


  1. 4.4.4
  2. Upstream Carbon changes
  3. Removed CarbonDelta and ROMStats
  4. Lockscreen Notifications disabled by default
  5. Enforce Clean installs ( GApps must be reinstalled on every ROM flash)

Download in the download section as always.

NEW BUILD!: Carbon ROM for the Galaxy Player 5


  1. 4.4.4
  2. Carbon upstream updates
  3. Removed CarbonDelta and ROMStats
  4. New Wifi Driver from CM Crespo
  5. USB Tethering is back
  6. SDcard Swapping is back ( Not tested )
  7. Clean installs enforced (/system always wiped | must reinstall GApps every ROM flash )
    1. NOTE: You should still do a factory reset every time.

TIP: If the camera ever stop working, clearing data on the camera app will most likely fix it.

Download in the download section as always

Saturday, June 21, 2014

NEW BUILD!: Carbon ROM for Galaxy Exhibit / Ace 2e

I know it's been awhile, I've been working on other devices but this is my initial release of Carbon ROM for the Galaxy Exhibit / Ace 2e. As far as I can tell everything is functioning properly. Leave a comment down below if there are issues. I know that 4.4.4 has dropped but I have not updated my code base yet because I have been working on device specific issues.



Download in the download section as always...

Thursday, June 19, 2014

Galaxy Player 5: Experimental Wifi Driver

Recently, I started to notice just how "flaky" the wifi is on Venturi. Wifi issues can be tough to diagnose because there are so many "typical" things that can cause wifi issues. In addition to all the typical network connectivity issues that can arise, there are also the ones that are specific to wifi such as interference from microwaves ( ever try to get online while standing next to a microwave that's heating up your burrito? ). So when I read that people are having trouble with wifi on my ROM's I'm pretty skeptical but I finally took the time to take a really good look at wifi today and it does seem that while it does stay connected, that connection is quite sketchy.

There aren't really any errors to go by, things just sort of start timing out. It seems to be one of those sneaky intermittent issues that just really hard to nail down. I decided to swap out the wireless driver we have now and swap in the driver from CM crespo. I alot of ways Venturi is alot like crespo (Nexus S) and I assumed that there wifi driver should work for us and... it does! Since this is one of those obscure issues, it's going to take some time to test but I thought that you guys might want to check it out.


Download: bcmdhd_test.zip
  1. Back up your original driver file @ /system/lib/modules/bcmdhd.ko
  2. Replace it with the one in the zip file.
  3. Reboot.

NOTE: I've assume the .ko file is all that you need.

I'm told that the method above does not work so here is the kernel and all the modules.
Download: BCMDHD_WIFI_TEST.zip


  1. Do a full backup
  2. Install the kernel using heimdall or dd ( If you don't know how to do that then you should not be doing this anyways! )
  3. replace all the modules with the ones in the zip
  4. Reboot.
Or
  1. Wait for me to finished my own testing.
Leave a comment down below and let me know if this works better!


Tuesday, June 17, 2014

NEW BUILD!: Carbon ROM for Hisense Sero 7 Pro

Hey everyone, this is my initial release of Carbon ROM for the Hisense Sero 7 Pro. Should be operating much the same as the Beanstalk build. Leave a comment here if you find any issues and I'll look into it.




Download in the download section ( as always ).

Monday, June 16, 2014

NEW BUILD!: Carbon ROM for Galaxy Player 5

Hey guys this is my initial release of Carbon ROM, for the Galaxy Player 5. If  you coming from one of my Beanstalk builds, I think you'll find that most/all the features you loved in Beanstalk are in Carbon as well.

Issues:

  • USB Tether missing (Fixed next release)
  • Sdcard swapping missing (Fixed next release)

Screens:


Sunday, June 15, 2014

Beanstalk ROM: More Than I Can Chew...

Just a few days back I posted new repos for Beanstalk ROM just after my first successful build. I was thinking that I would be able to quickly get to a point where I could manageably update Beanstalk on a regular basis but this is looking less and less likely. The problem is the framworks_base repo. I've tried merging CM and AOSP but there were just way too many merge errors. I just do not have the skill to deal with that many merge errors and as time goes on, the frameworks_base repo will get further and further behind in code updates causing more and more issues. I never wanted to be the sole maintainer of a ROM. I'm really more interested in kernel development for the devices that I own. That's really where I want to focus my effort in developing my skills and trying to maintain this ROM is taking me away from my goals. It's a shame, I really like Beanstalk but it seems that it lives and dies with Scott.


My apologies to all, I know that it seems that this project was just starting to gain traction again but alas... For Galaxy Player 5, Galaxy Exhibit / Ace 2e,  and Hisense Sero 7 pro owners that were running my Beanstalk builds, I'm switching to Carbon ROM. I'll be running builds soon so keep an eye out for that.

P.S. If anyone would like to try their hand at it maintaining Beanstalk and have questions or need anything, let me know.


Thursday, June 12, 2014

NEW BUILD!: Beanstalk 4.4.300 for the Galaxy Player 5

This is a maintenance build to get up to 4.4.3. I have noticed a couple of minor issues:


  • In the google now launcher, google search crashes due to, what I believe is, an issue with the audio driver and "OK Google".
  • There seems to be a transparency issue with Icons on Nova Launcher???
  • The issue with screen not turning on after locked, FIXED
  • Button backlights FIXED
Please leave a comment down below if you have any other issues...

Download here

Wednesday, June 11, 2014

Beanstalk ROM New Repo's for DEVS

After battling through nightmarish build errors that through me for a loop more that once, I have Beanstalk ROM building and updated with the latest CM 4.4.3 code. If your not a developer but there is a developer for your device that builds Beanstalk ROM you might want to pass this along to them.



Notes for Developers:

I've built Beanstalk for on device and it was an extremely dirty build so, be prepared for issues to arise. I'm running a clean build today to shake out any left over problems. I initially had some device specific trouble with some sysfs paths from liblights but I don't think this was a Beanstalk problem, just a general problem with 4.4.3. In order to fix it I had to set user permissions on the backlight and button backlight brightness paths. Just a heads up. Also, there have been changes in 4.4.3 to use libexif instead of/ or in addition to libjhead. I had a few issues with that as well and in order to fix the build, I had to manually build libjhead. Hopefully, I'll be able to spot a place to fix that soon. That is, if it's not already fixed by doing a clean build.

Want to join the Beanstalk Team?

If you'd like to help me maintain these repo's get a hold of me on Google+ or send me a pm on XDA. Please include info on your work so I know you have the requisite skills.

Got a fix?

Please submit pull requests for anything that you have fixed and I also willing to merge in device specific code as long as it's properly isolated and won't break the build for other devices. Let me know if I need to fork a repo that isn't already forked.

Updating your repos:

Rather than re-syncing all of the repos, I was able, while I was working, to update my code base from what I already had ( Scott's repos ). All I had to do was reinitialize the repos in my working directory by following the normal instructions but now with an updated url.

New Repo's


Initialization Repo


Problems?

Leave a comment down below and I'll check it out...

Stay tuned to this blog for updates and developments on Beanstalk ROM


Sunday, June 8, 2014

The Future of Beanstalk ROM

As you most of you know, the creator of Beanstalk ROM, Scott Hart, has not been updating Beanstalk for the past month or so. I noticed early but assumed that Scott had his reasons. I thought that maybe he was taking a break or perhaps waiting for the next version of Android (4.4.3) to drop. Well, it turns out that this is not the case. I spoke to Scott briefly yesterday and I although I won't go into the details of his personal life, suffice it to say that I got no indication that he would not be updating Beanstalk anytime soon.

Because I like Beanstalk so much, I've decided to attempt to bring Beanstalk up to date. However, I'm not sure my skills are up to the task. There are so many things, about the way Scott was maintaining Beanstalk that I don't know/understand, and that's making the process very difficult. So, I'm not sure if I can get Beanstalk up to speed with 4.4.3. I will continue to try as long as I can make progress and I don't get "stuck".

P.S. If you like Beanstalk, head on over to the Facebook page here and give Scott your "Best Wishes"

-Future Uncertain
--Meticulus

Wednesday, June 4, 2014

NEW BUILD: Beanstalk 4.4+ for the Galaxy Player 5

  1. Increased System Memory from 412 -> 450. ( Stole from OMX, Please leave a comment here if you have video playback issues. I have not had any but I haven't tried every format and every quality..)
  2. DID NOT include new sensor changes because I still don't have the magnetic conversion values worked out. The values are just way off.




Download here

Tuesday, June 3, 2014

Balancing Battery Life and Memory on the Galaxy Player 5 on Beanstalk 4.4+

Venturi is a low ram legacy device. Let's face it, it's old. Don't get me wrong, I love the device but going forward it's going to be more and more difficult to get good performance and the Android OS grows; Difficult but not impossible. One of the most challenging performance bottlenecks is RAM. We only have 512Mb, In the next release for the YP-G70, I've increased the available system RAM to 451Mb by stealing some ram back from OMX. OMX is responsible for encoding and decoding audio and video. As a result we are losing "Hardware" support for rendering HD video. Actually, Venturi could only render 720p video anyway and we can still render HD video using "Software" decoders. Personally I use MX Player and you only need to select the "SW" decoder and video renders great. I personally think it's an excellent trade off.

Another way to insure a good balance between battery life and available memory is to manage your "minimum free memory" options in "Settings -> Performance -> Memory Settings".

There are 4 presets:
  1. Very Light
  2. Light
  3. Medium
  4. Aggressive
  5. Very Aggressive


"Very Aggressive" tries to keep the most free memory. When it detects that the amount of free memory is less than what you specified then the "Low Memory Killer"(LMK) goes through the list of processes that are running and kills any of them that it can until the specified amount memory is free. You might think that is going to be the best option but not necessarily so; That option may cause LMK to be constantly working to free memory even when you are not doing anything. I suspect that when some apps are killed, they get automatically re-launched. So LMK is eating your battery by constantly killing apps.

You can observe this behaviour running the following commands in the terminal emulator or adb:
su
cat /proc/kmsg
You will see message like the following:
select 14561 (android.vending), adj 15, size 11020, to kill
send sigkill to 14561 (android.vending), adj 15, size 11020
Every time you see those messages, it's LMK trying to free memory to satisfy the request of  keeping "minimum free memory". It's OK to see it occasionally but if  it's happening all the time, the "minimum free memory" setting is too high and you try lowering it.

I usually float between Aggressive and Normal.

How to Build Beanstalk 4.4+ ROM for the Hisense Sero 7 Pro

How To Build

Step 1: Setting up the Build Environment.

You'll need Linux to be able to build Beanstalk. You have three choices here; you can:
  1. Install Linux natively on your computer.
  2. Dual boot Linux and Windows.
  3. Use virtual machine software ( virtual box, vmware ) to run linux.
NOTE: I recommend you use Ubuntu 12.04 LTS to build. That's what I use.
NOTE: When I say "read", I mean read and comprehend.
NOTE: Read through the topics here as well: http://wiki.cyanogenmod.org/w/Development

Step 2: Downloading the Source.

NOTE: Some say that it is better to download the ROM source and put in your local manifest later. I don't know if that's best but that's what we are going to do.
BEFORE YOU BEGIN: You are about to start downloading 5 - 15 Gigs of data. That could take a very long time, so plan accordingly. I like to start juts before I go to sleep and let it go overnight! If you have to work, perhaps start it before work and let it go through out the day.
Execute the following commands in a linux terminal:
mkdir /home/$USER/BS
cd /home/$USER/BS
repo init -u git://github.com/scotthartbti/android.git -b kk44
repo sync
WARNING: There may be times, towards the end when it seem like, the download is stuck and not making any progress because there are no updates on the screen. BE PATIENT!, open a program that will show how much bandwidth you are using to be sure!
NOTE: Steps 3 and 4 are from Scott's repo here: https://github.com/scotthartbti/android/tree/kk44.

Step 3: Set up local manifest.

The local manifest is different for every device. It contains those repos that are device specific, where as the ROM code you just "repo sync'd" is code that is general to any device.
Execute the following commands in a linux terminal:
gedit /home/$USER/BS/.repo/local_manifests/sero7pro.xml
Now copy the following into sero7pro.xml, save and close.
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <project name="Meticulus/beanstalk_device_hisense_m470" path="device/hisense/m470" remote="github" revision="kk44"/>
  <project name="Meticulus/beanstalk_hisense_m470" path="kernel/hisense/m470" remote="github" revision="kk44"/>
  <project name="Meticulus/android_vendor_hisense" path="vendor/hisense" remote="github" revision="kk44"/>
  <project name="Cyanogenmod/android_system_bluetooth" path="system/bluetooth" remote="github" revision="cm-10.2"/>
</manifest>
Execute the following commands in a linux terminal:
cd /home/$USER/BS
repo sync
NOTE: Yes we are syncing again and No, it shouldn't take quite as long. Every time you repo sync just new data is downloaded. So we are downloading the 4 repo's we just put in and any updates that may have occured to the repo's we already have.

Step 4: Building

NOTE: Now you have everything that you need to build Beanstalk for your Hisense Sero 7 Pro. Build times depend on you PC performance specifications. In the following terminal command "-j8" represents the number of concurrent tasks to execute. For low specs machines (such as mine) lowering the value to "-j3" may help speed things up. For high spec'd machines raising the value may speed things up.
NOTE: It may take anywhere from 5 hours to 15 hours depending on system specs for a complete build. Execute the following commands in a linux terminal:
cd /home/$USER/BS
. build/envsetup.sh
lunch cm_m470-userdebug
make -j8 otapackage
WARNING: There may be times, towards the end when it seem like, the build is stuck because of a lack of updates on the screen. BE PATIENT! libwebviewchromium.so is a beast and is usually the last file to be build. It takes awhile to complete. I ususally have 15 to 20 minutes of "no screen activity" before it finally finishes building that lib and then continues...

Monday, June 2, 2014

NEW BUILD: Beanstalk 4.4+ For Hisense Sero 7 Pro

This is my initial release of Beanstalk 4.4+ for the Hisense Sero 7 Pro. As far as I can tell all the core functionality is working but I have not tested every little thing. Please report any issue you have!

Download here

Galaxy Player 5: How to Change your MAC address

I recently wrote some code that taught me a lot about how wifi mac address work in the Android world. I suspect that most people are not aware that they can change their mac address to whatever they want. So I thought I'd write some simple instructions on how to do it for the Galaxy Player 5.

Prerequisites


  1. Good file manager app. ( I use ROM Toolbox )
  2. Good text editor app. ( I use ROM Toolbox )
  3. Make sure that /system is writeable. You may need to manually remount system rw:
    1. In terminal app: 
      1. su
      2. mount -o remount,rw /system
    2. Using ADB
      1. adb root
      2. adb remount


If you're on a recent KitKat build, such as Beanstalk 4.4+ then:


  1. Use the file manager to browse to the file /efs/imei/.nvmac.info and open it with a text editor.
  2. Inside you will find your mac address, change it to any valid mach address you like.
  3. Save
  4. Reboot.


If you're on an old KitKat build or an older incarnation of Android then:

  1. Use the file manager to browse to the file /system/vendor/firmware/nvram_net.txt and open it with a text editor.
  2. Scroll down till you see a line that starts with macaddr=
  3. What follows is your wifi mac, change it to any valid mac address.
  4. Save.
  5. Reboot.

Sunday, June 1, 2014

How to Build Beanstalk 4.4+ ROM for the Galaxy Player 5

How To Build

Step 1: Setting up the Build Environment.

You'll need Linux to be able to build Beanstalk. You have three choices here; you can:
  1. Install Linux natively on your computer.
  2. Dual boot Linux and Windows.
  3. Use virtual machine software ( virtual box, vmware ) to run linux.
NOTE: I recommend you use Ubuntu 12.04 LTS to build. That's what I use.
NOTE: When I say "read", I mean read and comprehend.
NOTE: Read through the topics here as well: http://wiki.cyanogenmod.org/w/Development

Step 2: Downloading the Source.

NOTE: Some say that it is better to download the ROM source and put in your local manifest later. I don't know if that's best but that's what we are going to do.
BEFORE YOU BEGIN: You are about to start downloading 5 - 15 Gigs of data. That could take a very long time, so plan accordingly. I like to start juts before I go to sleep and let it go overnight! If you have to work, perhaps start it before work and let it go through out the day.
Execute the following commands in a linux terminal:
mkdir /home/$USER/BS
cd /home/$USER/BS
repo init -u git://github.com/scotthartbti/android.git -b kk44
repo sync
WARNING: There may be times, towards the end when it seem like, the download is stuck and not making any progress because there are no updates on the screen. BE PATIENT!, open a program that will show how much bandwidth you are using to be sure!
NOTE: Steps 3 and 4 are from Scott's repo here: https://github.com/scotthartbti/android/tree/kk44.

Step 3: Set up local manifest.

The local manifest is different for every device. It contains those repos that are device specific, where as the ROM code you just "repo sync'd" is code that is general to any device.
Execute the following commands in a linux terminal:
gedit /home/$USER/BS/.repo/local_manifests/venturi.xml
Now copy the following into venturi.xml, save and close.
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <project name="Meticulus/beanstalk_device_samsung_venturi" path="device/samsung/venturi" remote="github" revision="kk44"/>
  <project name="Meticulus/nutella_samsung_venturi" path="kernel/samsung/venturi" remote="github" revision="master"/>
  <project name="Meticulus/android_hardware_samsung" path="hardware/samsung" remote="github" revision="cm-11.0"/>
  <project name="Meticulus/android_vendor_samsung_venturi" path="vendor/samsung/venturi" remote="github" revision="cm-11.0"/>
</manifest>
Execute the following commands in a linux terminal:
cd /home/$USER/BS
repo sync
NOTE: Yes we are syncing again and No, it shouldn't take quite as long. Every time you repo sync just new data is downloaded. So we are downloading the 4 repo's we just put in and any updates that may have occured to the repo's we already have.

Step 4: Building

NOTE: Now you have everything that you need to build Beastalk for your Galaxy Player 5. Build times depend on you PC performance specifications. In the following terminal command "-j8" represents the number of concurrent tasks to execute. For low specs machines (such as mine) lowering the value to "-j3" may help speed things up. For high spec'd machines raising the value may speed things up.
NOTE: It may take anywhere from 5 hours to 15 hours depending on system specs for a complete build. Execute the following commands in a linux terminal:
cd /home/$USER/BS
. build/envsetup.sh
lunch cm_venturi-userdebug
make -j8 otapackage
WARNING: There may be times, towards the end when it seem like, the build is stuck because of a lack of updates on the screen. BE PATIENT! libwebviewchromium.so is a beast and is usually the last file to be build. It takes awhile to complete. I ususally have 15 to 20 minutes of "no screen activity" before it finally finishes building that lib and then continues...