[ROM] [UNOFFICIAL] CM Nightly Builds - Rezound Development -

Jump to content


[ROM] [UNOFFICIAL] CM Nightly Builds

ROM CM Nightly Rezound HTC Droid dmeadows Cyanogen

  • Please log in to reply
5 replies to this topic

#1 dmeadows013

dmeadows013

    Developer

  • Developers
  • PipPipPip
  • 37 posts

Posted 06 June 2012 - 05:36 PM

Posted Image [ROM] [UNOFFICIAL] CM Nightly Builds



BROUGHT TO YOU BY DMEADOWS013 AND CONAP

CyanogenMod is a free, community built, aftermarket firmware distribution of Android 4.0 (ICS), which is designed to increase performance and reliability over stock Android for your device.


Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for CyanogenMod is available in the CyanogenMod Github repo. And if you would like to contribute to CyanogenMod, please visit the Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

Instructions:

First time flashing CyanogenMod 9 to the Rezound, or coming from another ROM?
  • Unlock the device and install a custom recovery. Instructions are available here.
  • Perform a NANDroid backup of your current ROM.
  • Format the system, data & cache partitions of your device.
  • Perform a factory reset.
  • Flash CyanogenMod.
  • Optional: Install the Google Apps addon package.
  • Flash the PH98IMG.zip kernel in HBOOT
Issues?


Experience issues? Please provide the following info:
  • If the device was hard reboot, please provide the file "/proc/last_kmsg".
  • If the device was soft reboot or is "bootlooping", please run a logcat and provide the full output.
  • Please use Pastebin when possible.
The current kernel included, Tiamat Kernel, is work from Cayniarb. Please thank him and consider donating to him if you like it. The ramdisk is based off of the recent ICS leak for the Rezound.

CyanogenMod:


Nightly Builds can be found here http://goo.im/devs/d...013/CM_Buildbot


Newest nightly is 3-29 Nightly 4. It can be found here


3-28 Nightly 3 can be found here


3-27 Nightly 2 can be found here


3-26 Nightly 1 can be found here



REMEMBER TO INSTALL GAPPS ALWAYS AFTER UPDATING ROM.
Google Apps addon:
Latest Version: http://goo.im/gapps

Thanks:


I would like to thank the following people for helping me put this together:

  • Joelz9614 for helping out with different files and such
  • Drewis for helping me fix the errors I ran into with the tree
  • Preludedrew for helping me also with the tree
  • And finally Conap. I don't think a simple 'thanks' does enough justice. This project is a joint effort between him and myself. Without his source expertise and java skills, I could have never even built the code.

__________________

MY WORK:



HTC Incredible
GingerStock Rom
AOKP ROM

HTC Rezound
CyanogenMod 9
Pure AOSP

HTC EVO LTE
EVOLution ROM




Like my work, Give me a 'Thanks!'. Really like it, consider a small donation!

Posted Image
http://goo.gl/634Fq

#2 dmeadows013

dmeadows013

    Developer

  • Developers
  • PipPipPip
  • 37 posts

Posted 06 June 2012 - 05:36 PM

Here is a list of common questions I/other developers are asked:

Q: When will **Insert feature here** be fixed/included?
A: Please don't ask for eta's on certain things. I don't know the answer. Progress will be posted when available.

Q: The new nightly won't boot for me. Why not?
A: Common issues with this are: You didn't install the kernel, or you didn't wipe data before flashing. If you don't wipe data, the rom will not boot.

Q: What works in this rom?
A: Look in the buglist in post 3

#3 dmeadows013

dmeadows013

    Developer

  • Developers
  • PipPipPip
  • 37 posts

Posted 06 June 2012 - 05:37 PM

Changelog

Last 10 nightlies:


Changelog 3-28 Nightly 3

  • Fixed lights issue for softkeys
  • Fixed random reboots caused by sound fix
  • Broke sound to fix reboots
  • Latest CM updates as of 3-28
  • Check CM Changelog for full updates
  • Check buglist for remaining bugs

Changelog 3-27 Nightly 2

  • Fixed sound by building msm8660 generic
  • Resized bootanimation correctly
  • Fixed qcom issues with source
  • Latest updates to CM source as of 3-27
  • Check CM Changelog for a full list of updates
  • Check buglist for what doesn't work

Changelog 3-26 Nightly 1


-Original Release
-Fixed SD card mount
-LED Notifications work
-It boots
-Latest CM updates as of 3/26/12 (NOT including qcom files... That causes an error. We don't need those anyway yet.
-Check CyanogenMod Changelog for a full list of CM Updates
-Check buglist for what doesn't work yet (NOTE: Softkeys not working yet. Lib is being stupid. Fix soon.



#4 dmeadows013

dmeadows013

    Developer

  • Developers
  • PipPipPip
  • 37 posts

Posted 06 June 2012 - 05:37 PM

BUGS:
  • Ril (Phone, SMS, MMS, Data, etc...)
  • Wifi
  • Bluetooth
  • Sound
  • GPS
  • The Occasional Force Close Posted Image
  • Camera


#5 dmeadows013

dmeadows013

    Developer

  • Developers
  • PipPipPip
  • 37 posts

Posted 06 June 2012 - 05:37 PM

Reserved for community mods

#6 dmeadows013

dmeadows013

    Developer

  • Developers
  • PipPipPip
  • 37 posts

Posted 06 June 2012 - 05:37 PM

You can find the same google docs guide here.


This is a guide to build CyanogenMod 9 from source on the HTC Rezound for Ubuntu 10.04. Also is supported for 10.10, 11.10, and 12.04. Other Linux operating systems are not tested and supported. Sentences highlighted are programs you need to download. Text that is green is a command to run. (Without the $). Text that is bolded and red is only for the mentioned configuration. Text that has a title in italicized red is something optional to make the build process more efficient.

STEP ONE:
SETTING UP THE BUILD ENVIROMENT
(If you have already done this, skip to Downloading the Source Tree)


1. Download Needed Applications: (Forked from Android Developer Site)
In general you will need:
Python 2.5 -- 2.7, which you can download from python.org.
GNU Make 3.81 -- 3.82, which you can download from gnu.org,
JDK 6 if you wish to build Gingerbread or newer; JDK 5 for Froyo or older. You can download both from java.sun.com.
Git 1.7 or newer. You can find it at git-scm.com.

2. Installing the JDK: (Android Developer)
$ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
$ sudo apt-get update
$ sudo apt-get install sun-java6-jdk

3a. Install Required Packages for Ubuntu 10.04-12.04: (Android Developer)
$ sudo apt-get install git-core gnupg flex bison gperf build-essential \
zip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs \
x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev \
libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown \
libxml2-utils xsltproc

3b. Install Additional Packages for Ubuntu 10.10: (Android Developer)
$ sudo ln -s /usr/lib32/mesa/libGL.so.1 /usr/lib32/mesa/libGL.so

3c. Install Additional Packages for Ubuntu 11.10: (Android Developer)
sudo apt-get install libx11-dev:i386

3d. For 32bit (Experimental): (Android Developer)
$ sudo apt-get install git-core gnupg flex bison gperf build-essential \
zip curl zlib1g-dev libc6-dev libncurses5-dev x11proto-core-dev \
libx11-dev libreadline6-dev libgl1-mesa-dev tofrodos python-markdown \
libxml2-utils xsltproc

3e. Installing Packages for Ubuntu 12.04 (Android Developer)
$ sudo apt-get install git-core gnupg flex bison gperf build-essential \
zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-dev:i386 \
g++-multilib mingw32 openjdk-6-jdk tofrodos python-markdown \
libxml2-utils xsltproc zlib1g-dev:i386

and to fix kernel header,

$ sudo vim /usr/include/linux/usb/ch9.h # line 592

# return le16_to_cpu(epd->wMaxPacketSize);
return __le16_to_cpu(epd->wMaxPacketSize);




STEP TWO:
DOWNLOADING THE SOURCE


1. Installing the Repo: (Android Developer)
$ mkdir ~/bin
$ PATH=~/bin:$PATH
and then
$ curl https://dl-ssl.googl...e/git-repo/repo > ~/bin/repo
$ chmod a+x ~/bin/repo

2. Downloading and Installing the source: (Android Developer + Myself)
$ mkdir WORKING_DIRECTORY
$ cd WORKING_DIRECTORY
$ repo init -u git://github.com/CyanogenMod/android.git -b ics

3. Gather the Files: (Android Developer)
$ repo sync

4. Download the Device Tree for Vigor: (Me)
$ cd device
$ mkdir htc
$ cd htc
$ git clone git://github.com/dmeadows013/android_device_htc_vigor.git vigor




STEP THREE:
BUILDING THE CODE
1. Download Prebuilt Files and Latest Source Commits (CyanogenMod)
$ cd ~/WORKING_DIRECTORY
$ cd vendor/cm
$ ./get-prebuilts

2. Prepare for the Build: (Android Developer)
$ cd ~/WORKING_DIRECTORY
$ . build/envsetup.sh
$ lunch cm_vigor-userdebug
$ make clean (See Comment)

3. Building: (Android Developer)
$ make otapackage -jx (See Comment)

The finished product will be in ~/WORKING_DIRECTORYout/target/product/vigor/cm_vigor-ota-eng.yourusername.zip, where yourusername is the username of your computer account. This can be flashed in recovery, but remember to wipe data first and flash the kernel included below.


CREATING A BUILD SCRIPT


To make the build process faster with less user commands for you to enter :P
It is a very easy thing to do. I have a script built to create my nightlies and upload them to the buildbot site. All you need to do is create a file with the commands in it, and add ‘#!/bin/bash’ to the top. For example, my script looks like this: (NOTE: I accidentally deleted a folder, so I must repo sync the /build and /build/core folders separately. Your script should look something like this.)

#!/bin/bash
cd /tank/dmeadows013/CM
repo sync
cd /tank/dmeadows013/CM/build/
repo sync
cd /tank/dmeadows013/CM/build/core/
repo sync
cd /tank/dmeadows013/CM/vendor/cm
./get-prebuilts
cd /tank/dmeadows013/CM
. build/envsetup.sh
lunch cm_vigor-userdebug
make clean
make otapackage -j9
rsync -avP -e "ssh -p2222" /tank/dmeadows013/CM/out/target/product/vigor/cm_vigor-ota-eng.dmeadows013.zip dmeadows013@upload.goo-inside.me:/ho...m-vigor.nightly.`date +%F`.zip


After you create the script, chmod 700 it, name it something creative, and add the folder to your $PATH. Detailed instructions on this will come later. Then, just type the command, hit enter, and watch the build process go Posted Image







Also tagged with one or more of these keywords: ROM, CM, Nightly, Rezound, HTC, Droid, dmeadows, Cyanogen