[GB][08-09-2012] CyanogenMod 7 for Motorola Milestone 2 (Android 2.3.7)

tezet

Senior Member
Jul 13, 2007
337
900
0
Cracow
Cyanogenmod 7 for Motorola Milestone 2

This is an unofficial Milestone 2 port of CM7.

[ Downloads | Google apps ]

Known limitations
  • 720P recording is not working
  • ALT lock does not work
Changelog:

08.09.2012 - Upgraded CM sources
01.09.2012 - Added OTA updater, upgraded CM sources
21.02.2012 - Upgraded CM sources (fixed blank screen after unlocking issue)
09.02.2012 - Upgraded CM sources
22.01.2012 - Backported ICS animations, UK 2.3.4 fingerprint, fixed Exchange FC for polish locale
04.01.2012 - Upgraded CM sources (e.g. T9 dialer)
29.11.2011:
  • Moved device specific settings to its own tree in the settings
  • Added lower backlight level
  • New multitouch module (no delay at startup)
  • Stock compass callibration app and audio effects
20.11.2011 - Hopefully fixed some wifi issues
18.11.2011 - Wifi tethering does not need DUN APN anymore
18.11.2011 - Fingerprint changed to UK 2.2 (fix Market from hiding some apps)
12.11.2011 - Tweaked CPU, camera, build.prop and recovery settings (Endless7);
settings for Droid2Bootstrap (will not destroy 2nd-init anymore)

11.11.2011 - Added keyboard switching, option to force PLMN display, more multitouch points
08.11.2011 - Fixed camera's photos
08.11.2011 - Initial release
Note:

If you have updated to stock gingerbread, you can't use this rom until you downgrade.

Instructions for upgrading from stock ROM:
1) Install Droid2 Bootstrap Recovery
2) Boot into recovery
3) Optionally: create a backup of your data
4) Choose Install zip from sdcard -> Choose zip from sdcard and select downloaded ZIP file.
5) Optionally: install Google Apps the same way
6) Wipe data/factory reset
7) Wipe cache partition
8) Reboot and enjoy :)
9) Optionally: use attached Baseband switcher app if you have troubles with phone signal.

Instructions for subsequent upgrades or upgrade from any CM7.x ROM:
1) Boot into recovery (long power off -> Reboot)
2) Choose "Install zip from sdcard" -> "Choose zip from sdcard" and select downloaded ZIP file.
3) Advanced -> Wipe battery stats
4) Advanced -> Wipe dalvik cache
5) Reboot and enjoy :)
As you can see, the update from the stock ROM requires a complete wipe, so be sure to backup your important data!


GIT sources:
repo init -u git://github.com/tezet/android.git -b gingerbread
Any collaborators are more than welcomed! :)
Donations
If you like and appreciate my work, and you may donate here (now in English).

Many thanks to Quarx for his Defy port and all folks involved in [email protected]
 

Attachments

Last edited:

r2beta0

Senior Member
Nov 8, 2010
482
121
0
Rio de Janeiro
Looks very promising. Browsing your github right now.

Edit: Thanks for your effort. I was trying to start a similar project but some events IRL left me with NO free time at the moment. If there's any info you'd like to get from me just let me know.
 
Last edited:

will5

Senior Member
Sep 15, 2007
1,835
327
0
If this is really based on m2 files, that is a great progress :)

How is hardware video decoding working?

Edit: Difference is that there is no need to patch every build to make it work, and fixing things like video or 720 will be more easy to do.

And the really big difference, is that this way, we can get official cm7 support.
 

tezet

Senior Member
Jul 13, 2007
337
900
0
Cracow
Yes, DSP decoding is working, including 720P.
I got lot of troubles with 720P encoding and gave up for now. Maybe I will come back to the topic, but for now I have already spent too much time on this...
 
  • Like
Reactions: Lutis and will5

Anonymous_

Senior Member
Jul 2, 2010
390
131
0
Nice work, thanks!

Will I get anything extra in compare with Endless7 build? I mean, if I will now use your build instead CM7 from Endless7, will I get any perfomance boost or anything else than 720p decoding (can it hw decode same formats as stock firmware btw?).

Just asking. :)

Anyway thanks for this - official cm7 support would be nice.
 

tezet

Senior Member
Jul 13, 2007
337
900
0
Cracow
I would say the most noticable difference is a better touch screen. Also the battery seems to be slightly better, but that may be very subjective opinion...
I'm not sure how about general DSP decoding, but at least h264 720P decoding didn't work in Defy build.
And I'm not sure what is the current state of Endless7's ROM, but this is the most noticable difference when I switched to this ROM.
From the APPs point of view, it is pure CM7.1, without any addons, so you may miss some Endless7's extra stuff...

Edit: I haven't verified lot of formats, just few 720P videos. If you notice anything missing in comparison to the stock rom, it may be probably fixed easily...
 
Last edited:

will5

Senior Member
Sep 15, 2007
1,835
327
0
Forgot that, this roms uses another kernel :eek::eek::eek:

UK kernel should improve touch :)

Wonder if we can make it boot with a 2.3 kernel...

Another thing, phone will be listed as a953 on pc :) instead of 722, with uk kernel.
 
Last edited:

tezet

Senior Member
Jul 13, 2007
337
900
0
Cracow
I guess I will wait for UK version of GB release before I will attempt to switch into GB kernel. I would like to use the same source of kernel and bpsw. There's no big gain in running GB kernel, really.
 
  • Like
Reactions: Lutis

will5

Senior Member
Sep 15, 2007
1,835
327
0
Yep, we are just a few days away from uk release.

2.3 kernel improve touch significantly from uk 2.2. Besides that not much more.
 
Last edited:

tezet

Senior Member
Jul 13, 2007
337
900
0
Cracow
No, I haven't included that. You may add it by yourself, it's just a matter of module. Maybe I will include in the next builds, but it will be disabled by default. I'm not sure if it doesn't have any negative impact on touchscreen responsiveness...

Edit: why would you need that anyway? Is there any real-life use case other than keyboards?
 
Last edited:

will5

Senior Member
Sep 15, 2007
1,835
327
0
As far as I see:

# use default multitouch configuration
ro.product.multi_touch_enabled=true
persist.sys.multitouch=2


You could change to 6 and you will get 6 points touch (maybe you have to add the module)

But, dont use anything higher than 4. It makes cpu consumption higher and laggy response in ALL roms.
 

momus87

Senior Member
Feb 12, 2011
101
15
0
Paris
Thank you for this great work !

A lot of people will be interested to know that it's possible to install your update.zip without data wipe when coming from Endless's CM7.
 

tezet

Senior Member
Jul 13, 2007
337
900
0
Cracow
Forgot about it. It's perfectly OK to update from any CM7 rom without wipe. Just follow the usual upgrade procedure.
 
Last edited:

momus87

Senior Member
Feb 12, 2011
101
15
0
Paris
Could you consider adding a keyboard layout option in your nexts builds?
Also, alt-lock is not working at the moment. It's not critical though...


I also noticed bad 3d performance in Quadrant.
On the "planets" test, using Endless cm7 i get something like 60fps, but 10 with yours. Didn't notice any change when playing with n64oid/ogl-es though.

Edit : Scored 13.6 at Nenamark2, 21.6 at Nenamark1. Could somebody compare with Endless's CM7?
Edit2 : Concerning Quadrant, I remember getting 10fps too when on stock french 2.2.2 rom.
 
Last edited:

tezet

Senior Member
Jul 13, 2007
337
900
0
Cracow
Thanks. Keyboard switch is on the top of todo list :)
I will look into 3D performance and compare it tomorrow with stock 2.2.2. Perhaps that's the UK's libs issue...
As for the ALT lock, that is on the very bottom of todo list :) I believe it does not work on Droid 2 either.

Edit: just confirmed the same result (10FPS) with stock 2.2.2 UK rom. Anybody could confirm it is really faster on Endless7's ROM?
 
Last edited: