We’re at a point where the ROM is very near to being stable. We’re having issues with tethering causing the phone to reboot, but for the most part everything is working fairly well. For those interested in building the ROM from source to get an early glimpse of what it will look like, here’s what you’ll need to know:
First, read the guide for downloading the AOSP source code (you can swap the repo init command with the one below now, or do it later): http://source.android.com/source/download.html
You can avoid having to run adb as root by adding a udev rule; directions here: http://developer.android.com/guide/developing/device.html
Ubuntu 10.04 users: the udev syntax changed, use: SUBSYSTEMS=="usb", ATTRS{idVendor}=="22b8", MODE="0666"
Durden uses SquashFS and LZMA for kernel/ramdisk compression, so you will need to grab tools for those. In the future, we’d like to make these prebuilts, but for now just install them on your system. For Ubuntu:
$ sudo apt-get install squashfs-tools lzma
Downloading the Durden source can be done with the following repo commands:
$ repo init -u git://git.droiddev.org/platform/manifest.git
$ repo sync
In addition to the Durden source, you will need two patches that we’ve submitted to AOSP, but have not yet been reviewed:
$ repo download hardware/ti/omap3 15700/1
$ repo download external/sqlite 15724/1
To pull the proprietary Motorola and Google files you’ll need off your phone (it must be running a Froyo ROM):
$ cd vendor/droidmod
$ ./extract-files.sh
$ cd ../..
Set up a buildspec.mk:
$ cat > buildspec.mk << EOF
USE_CCACHE := true
DROIDMOD_WITH_MOTOROLA_APPS := true
DROIDMOD_WITH_GOOGLE := true
DROIDMOD_WITH_ZOMG := true
DROIDMOD_WITHOUT_SQUASHFS := true
EOF
Every time you open a new terminal, you will have to run these commands to configure your environment:
$ . build/envsetup.sh
$ lunch droidmod_sholes-eng
Now you’re ready to run the build!
$ make otapackage
If you can live without wifi, deleting /system/lib/modules/tiwlan_drv.ko will stop the reboots caused by the bad tethering config.
UPDATE: Tethering is now working.
The most commonly asked question is whether Durden will overwrite recovery. The answer is no; while a recovery.img is built from source and included in the ROM (as recovery-from-boot.p), the recovery image is not actually flashed when the phone boots. We’re still working on making that recovery image useful, so it isn’t recommended for general use.
If you’d like to make changes and contribute back to the project, we use Gerrit at http://review.droiddev.org/, and the process for uploading changes is the same as for AOSP. You can read the guide to contributing to AOSP here:
http://source.android.com/source/submit-patches.html
Recent Comments