yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] jeffakajeff:
Ok ill close mine ;)
[G2 and Desire Z Android Development] gee one:
low-dough ghetto buildbot!

OK, I have the script working from the command line, but I haven't tested it thoroughly from the crontab yet. It's a work in progress :o It might be a little rough at first, but we'll chip away at the rough spots. Feedback is welcome.

So, first, this is a temporary fix until the nightlies start again. It could stop at any time for any number of reasons.

The buildbot is my poor little ubuntu box, and not a hardened, redundant, self-aware buildbot. If it goes down or something breaks, I'll try to fix it, but there are no guarantees. I'll try to post updates if it goes down, but there are no waterfall graphs or build status monitors like the old buildbot before it went into hiding. This is the low-dough, ghett-o version of the buildbot until the real one is back online.

The download site is xda.niksie.nl I'll upload the kangs to the Gee One directory. There is a CM Kang Build directory, but I haven't figured out how to get it to play nicely with the script yet.

This should be a direct link:

http://xda.niksie.nl/index.php?option=com_jdownloads&Itemid=1&view=viewcategory&catid=190

The files names will be update....-KANG-signed.<date>.<8 chars md5>.zip

The date is based on central time zone (UCT-6). My goal is to run this in a crontab every night at 12am CST, similar to the real buildbot, so the files should be available by 1am CST, depending on build time.

Last and most importantly, be sure to thank Niksie and jeffakajeff for stepping up and volunteering to host this. This is really the part that makes XDA great. Niksie has quite an extensive website of just about everything for the g2/dz. There is a lot of great work from a lot of great developers on his site.
[G2 and Desire Z Android Development] nemiroG1:
Just a thought, but perhaps we should name the files in a structure to at least emulate the nightlies. This will make the various kangs easier to track than naming them all variances of 7.2RC0. A filename structure like this:

cm_vision_full_kang-299.zip (believe 299 would be the current number for tonight's nightly)

Does this make sense?
[G2 and Desire Z Android Development] lawalty:
Not to sound like an advertisement, but have you thought about minus.com? They gave me 10gigs of space, and they can work it as a file hosting/downloading site?

Its in my signature below.
[G2 and Desire Z Android Development] gee one:
That makes great sense. I changed the script to output this format

cm_vision_kang-<build num>.<8 char md5>.zip

I left in the md5 hash since this would normally be shown on the buildbot.

I also left in the "kang" instead of "full" so that there wouldn't be any confusion about where the rom came from.

I'm testing running the script from a crontab, so it will be fully automated.

---------- Post added at 02:46 PM ---------- Previous post was at 02:37 PM ----------

I was previously using MediaFire, but to automate this, I need ftp or command line access, not a drag and drop interface, so that my computer can upload the files without me pushing the mouse.
[G2 and Desire Z Android Development] BookCase:
Awesome!

**Sent from my T-Mobile G2 running CM7-Nightly using XDA Premium**
[G2 and Desire Z Android Development] gee one:
I'm amazed it worked! I didn't see any new commits, but it's nice to know that it worked.

Again, the link is here.

http://xda.niksie.nl/index.php?option=com_jdownloads&Itemid=1&view=viewcategory&catid=190

sent from my cyanogen(mod) vision
[G2 and Desire Z Android Development] Niksie:
It's nice to hear all went well. Keep it up!
[G2 and Desire Z Android Development] nemiroG1:
VERY awesome! Thank you so much for putting us back on the nightly wagon! The T9 dialer is a really nice upgrade!
[G2 and Desire Z Android Development] fermunky:
Gonna try 302 when it finally downloads. Not sure if the site is natively slow or is getting hammered due to "omg nightlies are back!" rush...
[G2 and Desire Z Android Development] Niksie:
I've ran some test and my server shows no signs of trouble.

My upload is not full yet and apache shows no trouble either.

I also downloaded the file from my 3g network and its fine.

I could do a full reboot after your download is finished.....
[G2 and Desire Z Android Development] philosophics:
All the nightlies you've uploaded are 89.94mb in size. Does this mean nothing has been merged into your kangs since you uploaded the first one or are they just all the same size?
[G2 and Desire Z Android Development] gee one:
There haven't been too many gingerbread changes in the last few days. My computer syncs, builds and uploads automatically, even if there are small or no changes.

http://r.cyanogenmod.com/#q,status:merged+branch:gingerbread,n,z
[G2 and Desire Z Android Development] TheNewGuy:
gee one,

When you set up to build nightlys did you have an error about the libaudio.so? If so how did you get past it? Can you post your audiohardware.cpp file from /hardware/msm7k? Or a link to how you got it working would be good too...

I have tried a few things and no luck so far.

Thanks for your time,
[G2 and Desire Z Android Development] Chezbel:
I think you can just comment out the lines with the undefined symbols. I'm not home or I would post my changed file.
[G2 and Desire Z Android Development] gee one:
I didn't see any errors, but I don't watch it cook. The source is from the CM7 git, so your source should be the same as mine. I grepped the build output and just found a line about installing copying/installing libaudio.so, so it is just reusing the compiled version from several nights ago. Post your error.

I used the instructions from here, although you might have to change the references for lucid/maverick/natty/oneiric.

http://wiki.cyanogenmod.com/wiki/HTC_Vision:_Compile_CyanogenMod_(Linux)

http://source.android.com/source/initializing.html

Did you:

repo sync?

run the extract-files.sh in the device/htc/vision directory?

The CM build from sauce wiki has a few more packages than the aosp wiki. Did you install libsdl1.2-dev, libesd0-dev, libwxgtk2.6-dev?

I'm running ubuntu 11.10, although I plan on downgrading to 10.04, which happens to be the same build that aosp is tested on. I've compiled this on 10.04/11.04/11.10 recently and 10.10 not so recently. I have a few distros in my box ;) and I left a little room for a few more.
[G2 and Desire Z Android Development] TheNewGuy:
Thanks I read the same advice when searching, but gedit doesn't give you the line number.. so that's why I thought I could just drop in the file from someone who had done it.. so if you can post it when you get home that would be great.

To geeone

Yes I followed the same wiki and had been building roms for months. It was when I repo synced last to get the t9 dialer that the error first appeared. Around 12-20-2011....After trying to fix it with some other advice that didn't work I even tried to start all over with a fresh source in a dif folder and I still get the same error. The extract.sh doesn't pull the libaudio.so into the vendor dir anymore, and the line has been renoved from the vendor-blobs.mk... so I tried just manually pulling it to the right place and adding the line to the vendor-blobs to simply copy it to the out dir hoping that if the completed compiled .so was there it would not try to compile it...but that didn't work and I still get the errors. So I thought it might require a combination of work arounds and so I thought I would just ask someone who has got it working....sorry for the long post, just wanted to give some more info. I will post the actuall error in a bit.

Thanks again for your help.
[G2 and Desire Z Android Development] gee one:
I don't have the libaudio.so file in the proprietary folder, but I have libaudioalsa.so and libaudioeq.so in there.

I'll poke around a bit more when I get home.

sent from my cyanogen(mod) vision
[G2 and Desire Z Android Development] Chezbel:
Hopefully this helps. My changed lines are marked with "chezbel"
[G2 and Desire Z Android Development] gee one:
I did a "make clobber" and then build, and I didn't get any fatal errors. I did see a warning for libaudio, but it seemed to build otherwise.

sent from my cyanogen(mod) vision
[G2 and Desire Z Android Development] sisterchick:
If I remember correctly, there are duplicate libaudio files in the CM build when I have decompiled and recompiled. I usually delete the older one and move ahead with no problems
[G2 and Desire Z Android Development] philosophics:
Ya, I'm having significant problems with audio. Sometimes after boot, I have no sound. Sometimes after boot, I do have sound. Most of the time, the device refuses to read the media folder on my sdcard which annoys the crap out of me because all my ringtones and notification sounds get changed to something random. Hopefully this gets solved on the next kang...

Sent from me CM7 Nightly HTC Vision using XDA App that needs to show signatures
[G2 and Desire Z Android Development] c00ller:
Good to hear this wasn't just happening to me.. I thought something was wrong with my SD card mounting/unmounting..
[G2 and Desire Z Android Development] androidtoy09:
I too have this problem. My sound setup is all messed up. And it happens randomly. I have to reset my sound settings every time.
[G2 and Desire Z Android Development] TheNewGuy:
Success! I have got it to build and boot and it runs great. Thanks for all your help.

I was trying to change the wrong file the whole time...so when I figured that out, and figured out how to turn on line numbers with gedit I ended up just commenting out the lines manually and it worked fine.

Thanks again for everyones help.
[G2 and Desire Z Android Development] gee one:
Congrats, but now I'm curious about why mine builds with no problems? Did you get fatal errors before you fixed your AudioHarware.cpp file?
[G2 and Desire Z Android Development] TheNewGuy:
Yes I did... I am curious about that too.. I managed to get my other build box running again with ubuntu 10.04 32 and I am curious to see if it has probs like the ubuntu dervitave 64 did.(GreenRom DevKit, if your wondering...its not bad by the way)
[G2 and Desire Z Android Development] philosophics:
I'm just curious to see if this would work if someone is willing to hand over the latest libaudio.so

I just updated my radio and was having problems matching up the ril files. For some reason, the ril automatcher was not working so I had to manually copy them over with eStrongs Root Explorer.

If I can get the latest libaudio.so from someone, I would like to try that.

Why don't I just build a kang myself? Because I dont have a working linux distro ATM and you can't build with windows...
[G2 and Desire Z Android Development] gee one:
Did you want a different version than the one that is in the kang itself?
[G2 and Desire Z Android Development] philosophics:
Yes because I didn't have all the audio problems until after I started flashing your kangs. No offense, just something I noticed...
[G2 and Desire Z Android Development] gee one:
No offense taken- let's try to figure this out. You could try flashing the last CM nightly 263 and see if that fixes things.

The last change to the libaudio files was Nov 14th.

https://github.com/CyanogenMod/android_hardware_msm7k
[G2 and Desire Z Android Development] philosophics:
tried to make an update.zip but that didn't work.

This is what I did-

unzipped nightly 263

found anything libaudioXXXXX.so and put it on my sdcard

used eStrongs Root Explorer to copy the files to /system/lib

yes, overwrite them

rebooted

to make sure they were replaced, I opened terminal emulator

if the dates aren't aug of 2008, it worked!

If anyone else is experiencing this problem, I can write a script you can run with gScript and supply the needed files...
[G2 and Desire Z Android Development] gee one:
Interesting... the /system/lib/libaudio* files that are in the kang are exactly the same as the ones in cm-263. I checked them by their md5 hashes.

I'm not saying it didn't work- maybe it keys off of the date, since that would be different. 'touch /system/lib/libaudio*' should work too if that is the case.

Another theory is that the permissions might be messed up. Mine are all root:root 644 rw-r--r--

cda7d57f92cee8c7eb70274dca54f1d4 libaudio.so
b3334fef00d0eb2b05e352a69528f42c libaudioalsa.so
dc96eddd0afc66c16682cc122df57023 libaudioeffect_jni.so
c88f4456c3f97f14f0856054b5fd1a0f libaudioeq.so
1b87f36d7e219203c02e5c1844197570 libaudioflinger.so
77a957f4c4c42a789ae9134eda05f238 libaudiopolicy.so
[G2 and Desire Z Android Development] philosophics:
Well I don't know either. I have rebooted the device 3 times now since and everything is working as it should. Confusion arises from deep within...
[G2 and Desire Z Android Development] gee one:
I think it might be the permissions... Hopefully, someone with broken audio could check their permissions- 'ls -l /system/lib/libaudio*' should do it.

I'm lazy, so I never run fix_permissions :)
[G2 and Desire Z Android Development] philosophics:
I actually tried fix_permissions when I first encountered this problem. After a reboot, I had no sound at all so I dont think that was it. Then again, my device hates me and does things other devices don't...

Sent from me CM7 Nightly HTC Vision using XDA App that needs to show signatures
[G2 and Desire Z Android Development] G1ForFun:
Anyone have a fix for picture and video messages not being able to be downloaded in the stock messaging app? I have gotten four or five picture/video messages in the last two days and none of them were able to download; just shows a download button and when I tap it nothing happens.
[G2 and Desire Z Android Development] guyute74:
The workaround I use is an app called savemms. Glad I'm not the only one with this issue. (Nice seeing you around the fire forums... A friendly face).
[G2 and Desire Z Android Development] premiumg:
definitely more than a few people having MMS issues:

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

http://xdaforums.com/showthread.php?t=1217144
[G2 and Desire Z Android Development] Fallen Spartan:
I had issues also and had to edit my Access Point Names in mobile network settings

...........................

You can lead a fool to wisdom but you can't make him think! XDA, mobile wisdom, not a n00b feeding ground!!
[G2 and Desire Z Android Development] premiumg:
Can you please post your settings? Are you with TMobile USA?

Here are my settings (that don't receive MMS):

HBOOT - 0.84.2000 (HBOOT from Desire Z)

Radio - 26.02.01.15_M2

ROM: Latest Kang of CM 7.1 (labeled as CM 7.2 RC0)

APN Settings for TMobile: (default APN settings)

APN: epc.tmobile.com

Proxy: <not set>

Port: <not set>

username: None

password: ****

Server: *

MMSC: http://mms.msg.eng.t-mobile.com/mms/wapenc

MMS Proxy: <not set>

MMS Port: <not set>

MCC: 310

MNC: 260

Authentication Type: <not set>

APN Type: default, supl, mms

APN Protocal: IPv4
[G2 and Desire Z Android Development] martx:
Can anyone confirm if wireless tethering works on this build?
[G2 and Desire Z Android Development] heybobitsme:
Native wireless tether works.
[G2 and Desire Z Android Development] TL24:
I don't see anyone posting about this, but is anyone else noticing that the "PM/AM" isn't included on the time?

I'm not sure if this is just me or if anyone else is having the same issue.
[G2 and Desire Z Android Development] Hot_Hands:
It's a new Gingerbread thing. AM/PM is gone.
[G2 and Desire Z Android Development] :
I think I'm at about 80% of my battery has been off the charger for about 5 hours now and Google Maps has been taking up 50% of my battery. The only service I am using Google Maps for is latitude besides that I have not used Google Maps yet.
[G2 and Desire Z Android Development] TL24:
OMFG! I don't know if it's morning, afternoon or night now!! :confused::eek:

Kddin' aside, thanks :D
[G2 and Desire Z Android Development] Baphometa:
My battery is fine 49 hours at 37 percent
[G2 and Desire Z Android Development] :
I lied I'm at 87%, however the 50% Google Maps is concerning, I'll turn Latitude off when it gets to 80% and report back later
[G2 and Desire Z Android Development] rsxtypes72:
Just gave it a shot this morning. For some reason my wifi just didnt want to connect. I think Im gonna wait for the stable release. Im back to 2.5.1.3 recovery for now
[G2 and Desire Z Android Development] BootloopedMillennials:
I dont know if this is a rom specific issue. When I tried entering my yahoo email account in the email app, I get wrong username or password and im pretty sure both are correct. Never had this issue with CM6.1.1 or any other roms.
[G2 and Desire Z Android Development] Hot_Hands:
First two 3D tests in quadrant are black screen. It still measures, just doesn't display the tests.

Got an 1872 score on my first test at stock speeds though... :eek:
[G2 and Desire Z Android Development] martx:
Thanks will proceed with the flash now.
[G2 and Desire Z Android Development] DJMartini:
Some apps (like quadrant) have not been updated to handle gingerbread yet.
[G2 and Desire Z Android Development] Mikey:
How are you at 49 hours when the nightlies have not been out for more then 24? lol
[G2 and Desire Z Android Development] Vandam500:
Exactly what I was about to post hahaha.
[G2 and Desire Z Android Development] Fallen Spartan:
Its in human nature to exaggerate.
[G2 and Desire Z Android Development] Carloswithac:
No kidding?... :rolleyes:

Loving the rom so far, can't wait for a stable release!
[G2 and Desire Z Android Development] TheBiles:
They said they were close to the RCs.
[G2 and Desire Z Android Development] gravis86:
All you have to do to get wifi working is reboot... This has been known since day 1 of the non-official builds as well.

Even if it wasn't known, isn't that generally the first rule of troubleshooting an electronic device any way? :rolleyes:
[G2 and Desire Z Android Development] :
wow, you were just a restart away from fully enjoying it ;)
[G2 and Desire Z Android Development] ctraywick1:
14s up.. Downloading now

*Sniff* *Sniff* Is that Ginger Bread I smell on my G2? Delicious!!! (^¥^)y
[G2 and Desire Z Android Development] trock62:
build 14 is up downloading now..
[G2 and Desire Z Android Development] thatruth132:
New nightly posted

Sorry I see we all posted the same thing
[G2 and Desire Z Android Development] SomEngangVar:
Haha. I love the race to let everyone know there's a new update out. We're like kids in a candy store.

Anyways, downloading now.
[G2 and Desire Z Android Development] martx:
I hear there's a new nightly up
[G2 and Desire Z Android Development] dragon209:
Dude its only been out 10 minutes
[G2 and Desire Z Android Development] ctraywick1:
Can anyone flash this? Caused boot loop when I tried...

*Sniff* *Sniff* Is that Ginger Bread I smell on my G2? Delicious!!! (^¥^)y
[G2 and Desire Z Android Development] bsktballstar3131:
Amazing, if you think a few minutes is enough to judge battery life lol I'm assuming it only dropped 1% tops for those who've had it for as long (or as short) as its been out

Sent from my G2
[G2 and Desire Z Android Development] elracing21:
Flashed perfect for me and booted right up.

Sent from my gSpot2
[G2 and Desire Z Android Development] ctraywick1:
Tried flashing again and got it this time

*Sniff* *Sniff* Is that Ginger Bread I smell on my G2? Delicious!!! (^¥^)y
[G2 and Desire Z Android Development] jonbloom:
Flashing this build definitely worked for me. Running build #14 wiith no issues.
[G2 and Desire Z Android Development] qzan7:
Its simple an plain if having issues wipe, wipe an wipe......

XDA app + my cm powerd G2 = this post thank you!!!!
[G2 and Desire Z Android Development] mbush78:
Remember front to back!!!!
[G2 and Desire Z Android Development] EdKeys:
Then flush,.... errrr flash :)
[G2 and Desire Z Android Development] billyskip:
I used 3 electrons of batt life.
[G2 and Desire Z Android Development] ihateusernames:
What app tells you that?!
[G2 and Desire Z Android Development] androidtoy09:
The one that runs the Large Hardon Collider.
[G2 and Desire Z Android Development] tsubus:
this is awesome, i feel like it's actually faster than cm6...is it just me? am i crazy??
[G2 and Desire Z Android Development] noodles2224:
What's new with the latest??
[G2 and Desire Z Android Development] cswroe:
Here are APN's from stock that work fine: https://sites.google.com/a/wbkl.com/mms/apn-settings-g2

What you have all ready looks good and seems to work for most. I have problems on Edge Network with receiving MMS on occasion with the similar complaint of download option but no message.
[G2 and Desire Z Android Development] c00ller:
I am not having MMS problems. I have mostly been sending and receiving with WiFi calling enabled, if that matters.
[G2 and Desire Z Android Development] gee one:
I have the same settings as premiumg. Some of the icons are just arrows in a grey box, but they play when I click on them. The picts come across as short movies.

sent from my transformer
[G2 and Desire Z Android Development] gee one:
The nightly is running a little late tonight, but it should be up within an hour if it builds without errors.

I was wrestling with some scripts and crontabs tonight and accidentally erased the crontab that builds the nightlies.

Give it a little time...

http://xda.niksie.nl/index.php?option=com_jdownloads&Itemid=1&view=viewcategory&catid=190
[G2 and Desire Z Android Development] PooN_HeaD:
so can these be flashed right over cm nightlies, say 263 without a wipe?

...................................................

sent from an unmanned aircraft
[G2 and Desire Z Android Development] c00ller:
That's what I did and I was fine.
[G2 and Desire Z Android Development] PooN_HeaD:
that's fantastic. will do this now then. I've been wanting to update my phone for the longest time but got lazy. is there noticable improvemnts?

...................................................

sent from an unmanned aircraft
[G2 and Desire Z Android Development] c00ller:
For one, the stock dialer now has T9 dialing functionality. Other than that, nothing too substantial
[G2 and Desire Z Android Development] gee one:
Slight delay on the nightly tonight - I'm pulling out a bad hard drive. It should be up early Sunday morning, central time.
[G2 and Desire Z Android Development] gtmaster303:
Which of the latest nightlies is stable and fault free?

Feeling a bit uneasy considering these KANG releases don't exactly have the official CM7 seal of approval...
[G2 and Desire Z Android Development] Chezbel:
If the Kang is just a plain build of the sources with no extras added then it's exactly the same as if the cm7 buildbot built it.
[G2 and Desire Z Android Development] Fallen Spartan:
The latest Nightly ;)

Was using it for a week or so with no issues until my ORD took over and I had to flash a different rom
[G2 and Desire Z Android Development] Stoerner:
can I install nightly build the same way as I do with stable-builds ?

if no, how to install nightly build ?

thanks for help.
[G2 and Desire Z Android Development] Chezbel:
Just backup and flash using clockwork or 4ext...
[G2 and Desire Z Android Development] PooN_HeaD:
my guess is there will be no cm9 until the camera is fixed. that can also be never...

spooky, i know.

...................................................

sent from an unmanned aircraft
[G2 and Desire Z Android Development] martonikaj:
They will surely figure out camera. And I doubt they'd wait for the camera to release an Alpha (unless they're close). There are some devices that didn't have a working camera on CM7 during alphas (Droid X for example).
[G2 and Desire Z Android Development] PooN_HeaD:
i just like cm settings. i havent tried quatro yet but i hear its the best one. everythi.g works except the camera, but i use my camera so thats a feature i need

...................................................

sent from an unmanned aircraft
[G2 and Desire Z Android Development] martonikaj:
Still bugs but it works very well. Been using it for several days now.
[G2 and Desire Z Android Development] c00ller:
I'm looking forward to tonight's Kang since a new lockscreen style was added that mimics the ICS lockscreen :)

Add 'Holo' lockscreen style