[Guide][CM7 2.3.5][ROM][BackLight Fix for CM7] CM7 and MIUI port from Defy
This thread is outdate.New thread is here: http://forum.xda-developers.com/show....php?t=1239778
================================================== ================================================== ==
[Real DEV][ROM][Port][Updated: 19-Aug-2011]GB MIUI for Milestone2 All-in-one update.zip Thanks to r2beta0 !
Now dangpzanco has set up a project base on MIUI/CM7 on github, anyone who interst in it can contact with him or come here !.
If you have any problem in using CM7/MIUI, before question, you may take a look at this thread.
Im not a DEV, so any tutorial and help is very welcomed. If someone can develop for it, that would be very thankful !
Any defy CM7 based/cooked/moded ROM include MIUI can use this method to boot.
Thanks to dangpzanco
for their great effort. And walter79
for the great idea.
Known compatible kernels：
It seems only 22.214.171.124-********prodcm@zch**lnxdroid**#* series kernels are supported.
2.2.2-CH include 2.10.0 / 2.6.0 / 2.5.0
2.2.1-CH 1.10.0 / 0.24.0
Known incompatible kernels：
2.2-Argentina/DE, AT, CH
This is my nandroid backup with some fix but not all, you could choose one or not.
[Recommend!]1. Based on MIUI 1.8.12 moded by Wajk, download: http://www.megaupload.com/?d=1RF2A3JC
2. Based on a cooked CM7 ROM(thanks to VIPFXY): http://www.megaupload.com/?d=NOWVXJAK
3. Based on cm7-110813-2132-NIGHTLY-Jordan.zip http://www.megaupload.com/?d=17RERZSM
Patch for CM7/MIUI ( It should work on all defy CM7/MIUI based/cooked/moded ROM ):
This patch fix the following：
1.GSM problem, you may still need to use baseband switcher to change your baseband (If you still have no signal, take a look at this,theoretically it 100% works! http://forum.xda-developers.com/show....php?t=1182050
Thanks to i7ovehope and dangpzanco
2.Keyboard mapping issue ( except ALT-LOCK, however you can double press ALT instead ) Thanks to 19900828xy
3.fix CWM issues related to /data Thanks to r2beta0
4.When you are charing, you will have your LED turn yellow to tell you, instead of nothing (Charger light still not work)
5. Gravity-sensor/light-sensor are working again Thanks to walter79 and dangpzanco
6. GPS should works
7. compass should works
And the patch does NOT include the following fix, you will need to do it yourself：
[Both CM7 and MIUI]0. Keyboard backlight fix ( Thanks to r2beta0 for fixing. Thanks to nanox_06 from grupoandroid.com. Thanks to layoroa and Motodoido and julianlatasa for telling me ):
Make sure you have apply fix_for_cm7_miui.zip from my attachment ! AND, if you have tried the earlier method （replacing framework-res.apk ), you SHOULD restore the original apk before trying this method !
open setting>CM setting>Displayer Setting>(on)Automatic brightness>Advance mode>(on) custom>Edit other levels...
open setting>Displayer Setting>(on)Automatic brightness>Advance mode>(on) custom>Edit other levels...
[Wajk/r2beta0`s MIUI]r2beta0 has uploaded a moded framework-res.apk in #203, you can download it from there and replace the one under /system/framework/ . Don`t forget to set the permission to rw-r--r--. Reboot and Done !
then you will see a mass of squares. Find keyboard row and change the first 2 value from 0 to 255.
Save setting. OK, done! Pull out your keyboard and you will find backlight work again.(Be sure you are in dark environment)
Tips: After turning off automatic brightness, your backlight will still work.
1. camera upside down ( Thanks to walter79 )
comment the line:
in /system/build.prop, make sure it is
2. The camera noise after system booting, which exist in MIUI moded by Wajk
freeze talk.apk under /system/app
if you still need to use gtalk, try to install it from apk (not test if this will bring back the noise )
3. Stock soft-keyboard too small
Use 3rd-party keyboard app to replace it
4. Phone version shows MB525
Edit the line:
in /system/build.prop to
ro.product.model=A953 //or anything you want
5. The default baseband of my nandroid backup is CH2.6.0/2.5.0
If you have no signal, please use baseband switcher to change to a suitable one or take a look at this (theoretically 100% works
6. If you think your flash light is a little dim compared to before. (Thanks to walter79 and below is what he said )
Be careful with that. Chinese pepole killed it with fixed-sbf for Europe Defy and in past europe people killed led with china fixed-sbf. It is related to devtree. But if your flashlight works more than 2x then you can edit your build.prop and del this:
7. SD card can NOT be mounted in recovery
In recovery, open advance, select start adbd and then kill adbd. Go back to try, and you should find your sd card has been mounted correctly. Next time if the issue appears again, just re-do it again.
8. If you have USB connection problem. Thanks to r2beta0
Please go to #211 for framework-res.apk. Replace the one under /system/framework/ with it.
This is the manual solution r2beta0 post in #213
You must download apk_manager and use it to decompile framework-res.apk. Then you edit bools.xml that is inside res/values
folder. The variable you must change is called config_enableUsbModeSelection
, it is a user friendly name. Change from false to true. Then you use apk_manager to recompile it but don't sign. Set compression to zero.
The known issues which can NOT be solved till now:
1.Video hardware decoding is dead mostly, only .mp4 survival (need someone to fix that soon!)
[DEV] I upload these 2 patch which is used to port rmvb/mkv HW Decoding to froyo. It should help with porting HW to CM7/MIUI.
2.ALT-LOCK not working ( double press ALT instead )
3.USB mass storage mode issue ( except MIUI moded by Wajk )
You will find that you can NOT mount your SD card to PC.
Install Protocol-X Dual Mount SD Widget
, you can download it from Android Market
Every time you connect to PC. Make sure connection manager appears in your notification bar, if not, enable/disable USB debug. Once it shows, first choose NONE, and then choose USB mass storage. By all this, you will see your SD card mounted in PC.
4. Charger light still not work
Seems lights.jordan.so under /system/lib/hw is related to it in some way. I replace it with the one from new leaked GB, then the LED became the charger light
1. reboot to CWM and then restore nandroid backup (if you want to flash defy_cm7/miui.zip, make sure your CWM is 3.0+)
2. enable bootloader mode, flash fixed sbf via RSD ( fixed sbf is in firmware.7z )
3. Its recommend to make double wipes in stock recovery
5. CM7/Miui running.
[DEV]CH 2.2.2 (2.10.0) Download (The one who has downloaded it earlier should redownload it again for the correct SBF )
If anyone need to download any other CH ROMs but cannt find them, you can send me a PM
http://u.115.com/file/clsmsk69 PASSWORD: bbs.dkdiy.net
Defy CM7 Download http://defycm7.tanguy.tk/ //RC1 and nightly build are all OK
[Defy][DEV][ROM] CyanogenMod 7 (Android 2.3.4) By Quarx
[Fixed]CWM3.0 Download http://forum.xda-developers.com/show....php?t=1196590
Fixed sbf of CH 2.2.2(2.10.0) please download it from attachment below: