Little bits and pieces for Motorola Milestone and Android

CyanogenMod 7 for Milestone A853 (with custom kernel, finally)

Main credits:
Obviously, it's the CyanogenMod team and all CM contributors in the first place.

OpenRecovery 2ndbootOR v1.2 (SD-card writing fixed; Battery charging added)

No matter what I tried via kernel modules (mmcfix), I was not able to fix the issues with writing to certain sdcards under 2.6.29 kernel (of our 'vulnerable' recovery that we use to start OpenRecovery).
So I decided to give a try to 2ndboot from 2.6.29 to 2.6.32 kernel under recovery.

CyanogenMod 10 for Milestone A853

Alpha preview, not intended for daily use!

Source: https://github.com/nadlabak

Downloads:
Nightly builds: http://skrilax.droid-developers.org/cm10nightly/umts_sholes/
Gapps: http://d-h.st/05j
OpenRecovery 2ndbootOR: http://code.google.com/p/cyanogenmod4milestone/downloads/detail?name=Ope...

Notes:
JellyBean is very big, therefore ext partition on SD card is required - part of the system and most of the gapps is installed there.

Version history

7.2.0 RC0 (2.3.7) 17.02.2012
- wide screen video recording now captures in 848x480 resolution (was 720x400)
- two way call recording is now possible (recording has to start after the lines have been connected, not sooner)
- UMTS baseband (2100/900 vs. 2100/1900/850) can be selected in Device settings, the selection will persist even after future system updates (please do not use the baseband switching via Open Recovery anymore)
- fixed in-call and SIM PIN unlock screen layouts for landscape orientation, e.g. for phone in CarDock or DeskDock

CM9 for Milestone - build from source

To prepare and build:
mkdir cm4mm
cd cm4mm
repo init -u git://github.com/nadlabak/android.git -b ics
repo sync
vendor/cm/get-prebuilts
. build/envsetup.sh && brunch umts_sholes

Note (17.05.2012):
You can also use repo init -u git://github.com/nadlabak/android.git -b ics-nothemes
to build CM9 without the theme engine as I suspect it to cause performance issues.

More detailed instruction can be found e.g here: http://wiki.cyanogenmod.com/index.php?title=Compile_CyanogenMod_for_Sholes (but take account of the differences in the instructions published here.)

CyanogenMod 9 for Milestone A853

Main credits:
Obviously, it's the CyanogenMod team and all CM contributors in the first place.
Besides that and my own humble work, CM for Milestone would not be where it is now without the essential works of Skrilax_CZ (2nd-init, OpenRecovery, lot of work on custom kernel, 2ndboot fixes and more), Czechop (hack to the kernel usb initialization code that allows to keep BP working after 2ndboot to custom kernel), f_pasha (gkisystem semaphore patch), Tiago Sousa (author of the original overclock kernel module) and contributions from others that I forgot to list here ;) .

CM7 for Milestone - build from source

To prepare and build:
mkdir cm4mm
cd cm4mm
repo init -u git://github.com/nadlabak/android.git -b gingerbread
repo sync
vendor/cyanogen/get-rommanager
. build/envsetup.sh && brunch umts_sholes

More detailed instruction can be found e.g here: http://wiki.cyanogenmod.com/index.php?title=Compile_CyanogenMod_for_Sholes (but take account of the differences in the instructions published here.)

Milestone 2.6.32 test kernel overclock module

Attached is the source (GPL) of the overclock module adapted to the Milestone 2.6.32 test kernel. (The already compiled module is included in the zip too.)

Maybe someone will have an idea what all the data added by Motorola to the mpu_opps struct mean...

When used, there's no need to specify the omap2_clk_init_cpufreq_table_addr or mpu_opps_addr/freq_table_addr addresses. The values correct for this particular kernel are used by default. The kernel is compiled without CPUfreq stats, btw...

CyanogenMod 6.1.2 for Milestone A853

Status: release of an unofficial CyanogenMod 6 port for Milestone

Announcement: CM6 for Milestone development continues thanks to Michael
watch this XDA thread: http://forum.xda-developers.com/showthread.php?t=1155454

Please, report bugs and issues here: http://code.google.com/p/cyanogenmod4milestone

Important: Please, use the new OpenRecovery 1.46 for CM6 installation - the system partition was not being erased properly from the update package install script in older versions. (yes, it's finally fixed, Yantz ;) )
The Androidiani OR has been updated to be based on 1.46 (in version 3.3), so it's recommended too.

Update:
18.03.2011 0.08-11.03.18
- proprietary files update
- various wlan connectivity issues fixed (some N routers, wpa2, 801.x enterprise etc.), as in current CM7

28.01.2011 0.07-11.01.28
- proprietary files update (boot.img=>kernel, modules etc from SHOLS_U2_05.26.0)
- the infamous SMS bugs fixed (the OS version should actually read 2.2.2, sorry, I left 2.2.1 there)
- Greek support added to LatinIME 2.3 (including dictionary)
- ext4 module included (can be used to mount ext2 only - writing to journalled ext3/4 is not working correctly yet)
- new separate BPSW update.zip package (same as in SHOLS_U2_05.26.0/SHLA_U2_05.0C.0)

15.01.2011 0.06-11.01.15
- proprietary files update (boot.img, modules, libaudiopolicy), no sleep after usb/power unplug seems to be finally fixed
- added ro.config.no-action-on-plug property. When set to 1, the screen will not automatically turn on when plugged to usb/power (useful especially for users of solar power adapters). Disabled by default, can be changed in /system/build.prop.
- TI OMX libs compiled from sources again (thanks, Edgard)

28.12.2010 0.05-10.12.27
- battery top charge level fixed, updated WLAN driver, ...

22.12.2010 0.04-10.12.22
- 2.3 keyboard (with all the dictionaries as usual, plus 2.3 framework/ex included), but no prediction for hw keyboard yet
- media_profiles.xml adjustments (safer high camcorder profile h264 bitrate) + small camera fixes (sounds etc.)
- small agps fix (issue 295)
- multitouch.distinct defined (fix Google Maps 5.0 rotation gesture etc.)
- bluetooth discoverabilty timeout configurable (thanks H.Czedik)
- modversion change to easily distinguish current build
- etc.

12.12.2010 0.04-10.12.12
- AAC and AMR Wideband audio encoders are finally working!
- additional video quality camcorder profile added - "middle" (customize it in /etc/media_profiles.xml)
- Camera app - fixed encoder change from UI not being used until camera reinitialization, camcorder shortcut added
- adjusted smartass governor defaults

8.12.2010 0.04-10.12.08b
- ignore light sensor when flashlight is on (better solution based on updated flashlight code), SMS time stamp fix, input method chooser dialog fix, smartass governor included etc.
- cpufreq_stats module included (b), Torch app in sync with all widget's flashlight buttons - fixes possible FC (b)
Note: there is a leftover backup file /etc/init.d/10overclock~, please delete it, thanks and sorry for the inconvenience.

3.11.2010: the github repos finally updated, custom building ready: http://android.doshaska.net/cm6build

Modules needed for native FroYo app2sd (Milestone 2.1 kernel)

insmod /system/lib/modules/dm-mod.ko
insmod /system/lib/modules/dm-crypt.ko
insmod /system/lib/modules/twofish_common.ko
insmod /system/lib/modules/twofish.ko

Topics: 

Pages

Subscribe to android.doshaska.net RSS