Android OS Forum banner
1 - 20 of 224 Posts

· Premium Member
Joined
·
1,752 Posts
DEV THREAD for CyanogenMod 7 for the Motorola Droid 2 *OP updated 7/18/11

On twitter #cm4d2
############### Any code from before the merge is OUTDATED ######################
############### Before merge with CyanogenMod's main tree ########################
Sources:
github.com/cvpcs #cvpcs did all the work
github.com/JBirdVegas #all I did was port his work
github.com/JBirdVegas/android_vendor_cyanogen -b cm4dx_gingerbread #the branch that contains cvpcs's shadow cm port and my droid2 port
github.com/JBirdVegas/proprietary_vendor_motorola_droid2 #prop files
github.com/JBirdVegas/android_device_motorola_droid2 #device setup tree
github.com/CyanogenMod #The goal is a stable release for droid 2

############### THIS IS THE LATEST OFFICIAL CODE ##########################
############### OFFICIAL CyanogenMod source for droid2 #########################
Sources have been merged with the CyanogenMod main build tree for Nightly builds
1) DEVICE TREE: github.com/CyanogenMod/android_device_motorola_droid2
2) VENDOR TREE: github.com/CyanogenMod/android_vendor_cyanogen
3) PROPRIETARY FILES: github.com/koush/proprietary_vendor_motorola
4) OFFICIAL NIGHTLY BUILDS: http://download.cyanogenmod.com/?device=cdma_droid2
5) OFFICIAL CHANGELOG: http://cm-nightlies.appspot.com/?device=cdma_droid2
6) Maintainers of the droid2 branch of CyanogenMod: JBirdVegas & RevNumbers

############### UNOFFICIAL CM4D2/CM4D2G nightly builds By RevNumbers #########################
revnumbers.info THESE ARE BUILDBOT BUILDS and are NOT officially supported
*RevNumbers was kind enough to build these to test the latest UNMERGED changes to the source*
THANK YOU RevNumbers!!!!!!!!!

use pastebin to post your logcats and link the logcats to this post so the group can discuss

# I'm not responsible if you brick your device #
# I'm not responsible for your alien sex dreams #
# I'm not responsible for anything you do ... EVER! #

MOST IMPROTANTLY THANKS
Thanks to The CyanogenMod Project for their open source ROM
Thanks to cvpcs for doing all the legwork getting CM for DX to boot
Thanks to greenromproject for all being a great place for beginners to learn to make ROMs
Thanks to RootzWiki because I'm sure with the help of the community we can get CM7 for our Droid2's

Special thanks to metiCkOne && RevNumbers
Without this would still be bricking phones


Links:
To recover your droid2
SBF SystemOnly: http://bit.ly/b5Zf4V *This is the only one that works for me
SBF FullSystem: http://bit.ly/dir7fq
sbf_flash: http://dl.opticaldelusion.org/sbf_flash
dorootv3: http://kimete.com/droid/beta/dorootv3.sh
instructions for dorootv3: http://forum.xda-developers.com/showthread.php?t=782556

koush's droid2 bootstrap
koush dl: http://koush.tandtgaming.com//motorola/droid2/Droid2Bootstrap.apk
mirror: http://download766.mediafire.com/88...ejtwk/Droid+2+Recovery+Bootstrap+v1.0.0.3.apk
koush's application notes: http://www.koushikdutta.com/2010/08/droid-x-recovery.html

################################################
Install instructions via metiCkOne
http://rootzwiki.com/showthread.php?...hone-for-CM4DX!

This thread has great instructions for the DX. They can be applied to the D2 as long as you use the correct files. I'll get more detaiiled ones soon. Basically if youre on a custom rom besides this you should

1 SBF
2 Root + bootstrap using z4root and droid2bootstrap
3 reboot into recovery
4 format system, wipe data and cache
5 flash rom
#################################################

Format system, wipe data and cache then flash. Dont report bugs if you dont install this way.

Bugs live here:
http://rootzwiki.com/showthread.php?635-BUGS-Cm7-beta

Donate to JBirdVegas:
https://www.paypal.com/cgi-bin/webs...=PP-DonationsBF:btn_donateCC_LG.gif:NonHosted

Donate to RevNumbers:
https://www.paypal.com/cgi-bin/webs...=PP-DonationsBF:btn_donateCC_LG.gif:NonHosted
 

· Premium Member
Joined
·
1,752 Posts
Discussion Starter · #2 ·

· Premium Member
Joined
·
1,752 Posts
Discussion Starter · #16 ·
cvpcs said:
might have a fix for the audio issue that should work across any motorola device.
talking it out with birdman and going to start implementing it shortly
awesome I'll be watching your repo I got the same error from logcat so I ran make clean and I'm rebuilding now I think It just inherited junk from last build
 

· Premium Member
Joined
·
1,752 Posts
Discussion Starter · #32 ·
RevNumbers said:
I've got an entry for CM Settings under settings... so i assume it's good... I couldn't pull a copy of the D2 repo in the OP so i used what I already had... which was a copy of the nightly repo from a couple weeks or so ago... oh... and the Camera works as long as you change build.prop to reflect the 5m camera as opposed to the 8m the DX has
I'll look into merging props for d2 not dx

as far as not being able to repo I'm even having problems repoing CyanogenMod's source... this may not be my fault but I'll check again.

I see cvpcs has posted a new audio file and some more work on the hijack ... I'm downloading his latest edits and I'll build a copy we can all test... just hang on ...
 

· Premium Member
Joined
·
1,752 Posts
Discussion Starter · #38 ·
***remy said:
Looks like he posted a usable beta on twitter. Might want to check that out. Mind posting the latest package for us to test?

Sent from my Xoom using Tapatalk
It is building now ...
 

· Premium Member
Joined
·
1,752 Posts

· Premium Member
Joined
·
1,752 Posts
please if you have errors give logcats

but wait till this finishes building so everyone can see the errors with the corresponding code ... if you don't mind
 

· Premium Member
Joined
·
1,752 Posts
Discussion Starter · #53 ·

· Premium Member
Joined
·
1,752 Posts
Discussion Starter · #55 ·
The worst part of this is I can't even flash sbf_flash is acting up so I have to reboot into windows to use RSD lite to sbf then flash ... but I thought y'all would like to have it quickly ... no promises I haven't tested
 

· Premium Member
Joined
·
1,752 Posts
Discussion Starter · #60 ·
metiCkOne said:
You need a new build.prop? I edited the DX one to match the D2
awesome I would love to merge your changes

this build has droid x props
 

· Premium Member
Joined
·
1,752 Posts
Discussion Starter · #62 ·
HerroMoto said:
I'm no dev or anything but if I can help in anyway by testing I'd be happy too. Exactly what bugs are left? And what should I do about Installation? SBF?
just go to town should be *mostly*haha* working, but make a backup and know you may have to sbf back
 

· Premium Member
Joined
·
1,752 Posts
metiCkOne said:
So after applying a few changes to the build. prop and framework most of the trivial issues have dissappeared.
What's left as I see it..

Usb debugging
keyboard mapping
networklocation
Camcorder (camera works)
meh.. there's more but obviously nothing important or I'd remember XD
keyboard mapping may be another prop file ...

also I need to find droid2 values for most of it is still droidx: https://github.com/JBirdVegas/android_device_motorola_droid2/blob/gingerbread/droid2.mk

and more importantly this line (android_vendor_cyanogen/products/cyanogen_droid2.mk) needs to be updated
Code:
PRODUCT_BUILD_PROP_OVERRIDES := BUILD_ID=VZW BUILD_DISPLAY_ID=GRH78C PRODUCT_NAME=shadow_vzw TARGET_DEVICE=cdma_shadow BUILD_FINGERPRINT=verizon/shadow_vzw/cdma_shadow/shadow:2.2.1/VZW/23.340:user/ota-rel-keys,release-keys PRODUCT_BRAND=verizon PRIVATE_BUILD_DESC="cdma_shadow-user 2.2.1 VZW 2.3.340 ota-rel-keys,release-keys" BUILD_NUMBER=2.3.340 BUILD_UTC_DATE=1289194863 TARGET_BUILD_TYPE=user BUILD_VERSION_TAGS=release-keys USER=w30471<br />
I'm not sure what props to change in https://github.com/JBirdVegas/android_device_motorola_droid2/blob/gingerbread/droid2.mk

ill report back in a bit
 

· Premium Member
Joined
·
1,752 Posts
Discussion Starter · #78 ·
ok I'm thinking for the https://github.com/JBirdVegas/andro...cm4dx_gingerbread/products/cyanogen_droid2.mk

using

Code:
<br />
PRODUCT_BUILD_PROP_OVERRIDES := BUILD_ID=VZW BUILD_DISPLAY_ID=GRH78C PRODUCT_NAME=droid2_vzw TARGET_DEVICE=cdma_droid2 BUILD_FINGERPRINT=verizon/droid2_vzw/cdma_droid2/droid2:2.2/VZW/23.20:user/ota-rel-keys,release-keys PRODUCT_BRAND=verizon PRIVATE_BUILD_DESC="cdma_droid2-user 2.2 VZW 2.3.20 ota-rel-keys,release-keys" BUILD_NUMBER=2.3.20 BUILD_UTC_DATE=1284778494 TARGET_BUILD_TYPE=user BUILD_VERSION_TAGS=release-keys USER=dbretzm1<br />
thoughts?
 

· Premium Member
Joined
·
1,752 Posts
Discussion Starter · #80 ·

· Premium Member
Joined
·
1,752 Posts
Discussion Starter · #82 ·
RevNumbers said:
Yeah, same here.... took a bit of trial and error/memorization, but i'm getting the hang of the new mapping ;-)... it was like those kids memory games lol
hahaha it's a fun game!

I would be happy to merge any improvements you've made RevNumbers
 
1 - 20 of 224 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top