yashsingh1/xdaforums huggingface dataset:
[Milestone 2 Android Development] Anonymous_:
Yep, that's it.

Also I seem to have some problems with charging from turned off phone - anyone experience this too?

I mean - when I plug in charger to the turned off phone, it starts to boot normal CM7, instead of "charging mode". And on top of this - in this "normal boot mode" the radio does not work. Not that big deal, just wonder if anyone else experiences this too.
[Milestone 2 Android Development] eduwp90:
I'm experiencing this too!
[Milestone 2 Android Development] or.green:
Thanks for the quick reply, I originally flashed the dec 21 version (which was the one I was using without problems before upgrading to cm10), and then upgraded to the latest one.
[Milestone 2 Android Development] wadimka:
Me too... kind of annoying bug.
[Milestone 2 Android Development] RSDamasceno:
After that could install the new version? (120908-2319)
[Milestone 2 Android Development] Anonymous_:
Yes, you can use OTA updater to get the newest version then.
[Milestone 2 Android Development] RSDamasceno:
Thanks, bro!
[Milestone 2 Android Development] PhatUgly:
Same here, charging mode doesn't work. No problem though, phone is supposed to be on anyways :)
[Milestone 2 Android Development] algarues:
Could you briefly describe how to download the latest CM7 sources and compile it specifically for milestone 2 (e.g. giving links to patches)?

thank you very much
[Milestone 2 Android Development] [BRA] Giovani:
I tried to install this ROM using this kernel downgrade_for_bl=3 and got pressure on the screen of the M. (I did WIPE date and cache)

What kernel recommended for this ROM?
[Milestone 2 Android Development] Anonymous_:
Follow my guide http://xdaforums.com/showthread.php?p=32820080#post32820080 ... It helped few people already and it works, if you follow the steps.
[Milestone 2 Android Development] squelch41:
<deleted>

<deleted>
[Milestone 2 Android Development] [BRA] Giovani:
Successfully installed the version 01/09 following the tutorial, but when I go to OTA update get this error:

there was an error with the download

I'm on Wifi network, navigating correctly in all apps.
[Milestone 2 Android Development] gambiarraweb1:
Good morning guys!

my phone is not the same after that put the rom MS2Ginger!

I want to spend the CM7 rom.

most always restarts when you step!

Motorola logo appears "M" and then everything is more connected black!

what do I do?
[Milestone 2 Android Development] Eiertschik:
I don't know if anyone still reads this, but this ROM is giving me headaches...

I have this European Milestone 2, it was updated all the way the official ROMs allowed to by its owner - 2.3.4 with Motoblur, if I'm not mistaken.

I also understand, that I have to downgrade the kernel before any 2.2 based ROMs can work.

So I put the stock 2.3.4 sbf on the device, then applied the downgrade_for_bl=3.sbf from http://xdaforums.com/showthread.php?t=1497263

Now I can flash different MIUI v2 Versions and even this CM7 version that claims to be a modification of the ROM here in this thread.

But if I try to flash tezet's ROM I get stuck on the red pulsating M-Logo animation which restarts indefinitely.

I wiped all data/caches multiple times and even did the wipe battery stats and wipe dalvik cache actions, but still nothing...

Any ideas :confused:
[Milestone 2 Android Development] rabinhood:
Hello.

I tried almost all MS2 ROMs. You're right that to install CM7 kernel has to be downgraded to so calle Chinese GB (downgrade_for_bl_3.rar). I don't know why, but sometimes, especially after several ROM changes, they stopped to boot. Often the other attached kernel helped (4.5.3-109_Kernel.sbf.7z). Other thing is that with this kernel on CM7.2 after plugging of charger on switched off phone, it boots in charging mode (with green battery image), while on Chinese kernel it completely starts up (like when switching on).

Unfortunately sometimes no kernel flashes help and phone cannot boot. In such situation I had to flash generic European ROM, and then follow all the steps (root phone -> install droid bootstrap app -> then flash downgrade kernel -> then CM7/CM7.2 zip ROM file.

Besides, today CM10.2 kernels are quite fast (comparable to stock GB), and much more feature rich (ie. Engle_Mars ROM supports 720p video recording, which is impossible in CM7, and also allows much easier keyboard tuning/tweaking - as I'm Polish, I need all these funny accented letters). So why not to use some modern ROMs?

Hope I helped.

Regards.

Chris
[Milestone 2 Android Development] Eiertschik:
The first ROM i flashed to this device was some CM10 nightly - as I didn't want to go through all that hassle of downgrading and whatnot.

But the device became almost useless after some months - even slower than the Stock ROM - the owner just wanted to stick to CM because he hated MotoBlur so much.

Now I'm trying to go for maximum performance.

I would like to use it as a spare device for playing Ingress - but CM7 drivers seem to have the same problem like those on Milestone 1 - after some time certain game graphics disappear.

But I'll give Eagle_Mars' a try if you recommend it

So what would the exact procedure?

- Flash 2.3.4 Stock .sbf

- SuperOneClick root it

- Droid bootstrap it

- Flash bootmenu and CWM update via recovery

- Flash Engle_Mars' ROM?

Many thanks :)
[Milestone 2 Android Development] rabinhood:
Like you wrote:

1. Flash MILS2_U6_4.1-22_SIGNED_UCAMILESTONE2B1B80E1014.0R_UCXMILE2GBQWRTGB_P016_A006_HWp2a_Service1FF.sbf

2. Root it (I use DooMLoRD root, but SuperOneClick should also do the thing - it uses ZergRush GB exploit).

3. Install droid bootstrap, and boot into recovery mode.

4. Bootmenu and recovery are usually integrated with ROMs, so you don't have to flash them separately (I'm not sure if with all the ROMs).

5. Flash selected custom ROM.

And here's one small issue: droid bootstrap menu uses an old CWM recovery, so it's impossible to flash Engle Mars 10.2 ROM directly with it. You can either flash a newer version of CWM recovery, or do series of flashes: Engle_Mars CM10.1, reboot, enter directly recovery and flash CM10.2 Engle_Mars. I'm not sure, maybe before 10.1 you have to flash Tezet's CM10.

Also remember to wipe data/cache before booting ROM.

Considering performance: Tezet's CM10 is really slow, CM7 is definitely the fastest (but lacking features). For some time I used Danik's GB, but it was not too stable. Engle_Mars 10.1 was slower than Danik's GB, but faster than Tezet's CM10, but still lacked features (wifi tether didn't run). Now I'm using Engle_Mars 10.2 and I am very happy with it.
[Milestone 2 Android Development] Eiertschik:
Okay, I'll give Engle_Mars 10.2 a try - thanks for your help! :)
[Milestone 2 Android Development] Eiertschik:
I can't find

MILS2_U6_4.1-22_SIGNED_UCAMILESTONE2B1B80E1014.0R_UCXMILE2GBQWR TGB_P016_A006_HWp2a_Service1FF.sbf

I will try

MILS2_U6_4.1-22_SIGNED_UCAMILESTONE2B1B80E1014.0R_USXMILE2GBRTDACH_P013_A007_HWp2a_Service1FF.sbf

The phone was bought in Austria, so the DACH ROM should be fine, shouldn't it?

Edit:

Also, the latest version of DooMLorD from here: http://xdaforums.com/showthread.php?t=2327472 tells me, that Milestone2 isn't supported...

So I rooted it using SuperOneClick.

Edit 2:

Well, it worked.

Not that bad actually - CM10 on Milestone 1 was far worse :D

But it's not as smooth as I'd like it to be...

Downloading/Updating Market Apps in background somehow pauses - WLAN is kinda unstable - downloading files in background also stops mysteriously.

I guess I'll stick to MIUI 2.5.something

Android 4.x doesn't work too well on devices <1GB RAM, imo :(
[Milestone 2 Android Development] rabinhood:
I'm glad you made it.

IMHO the fastest ROMs are Tezet's CM7 and Endless'es CM7.2, but they still lack some features (for me mostly no 720p video, poor dialer, not so strict and easy Polish keyboard). Later CM releases also have some annoying drawbacks (CM9 - problems with wifi tether, CM10 - horribly slow, CM10.1 - again tethering problems and poor battery life).

I wish CM7 for MS2 was still developed and refreshed a bit, but I know sadly this won't happen.
[Milestone 2 Android Development] henediac:
Maybe it is because latest build does not contain kernel and you need to flash froyo kernel separately or flash previous version of rom and then upgrade. If you want try, here is froyo kernel.

http://sbf.droid-developers.org/umts_milestone2/list.php
[Milestone 2 Android Development] will5:
It's hard to switch kernels? I mean, rom have to be completely rebuilded to make it work under another kernel?

All 2.2.2 kernels should boot this ROM?

Battery on other custom roms, never reach 4230, even using stock 2.2 battery files. Dont know if it could be related to kernel...
[Milestone 2 Android Development] tezet:
If all libs are used from the same ROM, than it's relatively easy to switch kernels. The rom wouldn't have to be rebuild for a different kernel.

But I'm not sure about dependencies between kernel and the libs...

I think all 2.2.2 kernels are able to run with 2nd-init.

The battery voltage is probably a kernel thing..
[Milestone 2 Android Development] DreadPirateDan:
I see, well thanks for that response then :)

Might give launcher pro a crack on it cause so far the responsivness of the touchscreen is a big win for me and don't wanna go back to hard pressing 24/7 :p

Cheers :D
[Milestone 2 Android Development] AdrienC:
Give Go Launcher EX a chance, as Launcher Pro started to get laggy I went to Zeam, but it was TOOOO minimalist for me, tried Go Launcher and it's awesome.

@tezet Great job, I'm going to try it for the sake of touchscreen responsiveness. I hope you and @endless7 can sum efforts to make CM7 run better and better on our M2's.
[Milestone 2 Android Development] Endless7:
For the backlight transition effect,you have to set animate backlight to true in framework-res.

---------- Post added at 11:19 AM ---------- Previous post was at 11:02 AM ----------

After these day's observation,i notice something interesting,the voltage is unstable when it's below 3700,probaly this cuase the jumping.(sometime it show 3650 and some time 3700,and then suddenly drop to 3600.it will keep around 3500-3550 before force shutdown).so maybe it's not software bug,but a hardware/battery issue.

Edit:latest test,12% show 3568 and 11% shows 3650...
[Milestone 2 Android Development] Liori:
I guess Motorola is aware of this issue so they make 10% stepping.
[Milestone 2 Android Development] paalsteek:
Thanks for the work tezet. As many before I tried to get a repo working but didn't have the time to solve some issues.
[Milestone 2 Android Development] WongJames:
After calibrating the battery, there are only 2 small jumps :)

one is jump from 23% to 20%, another is 10% jump to 5%

this already better than ROMs using China GB kernel,

which jumps from 56% to 50%, and 27% to 20%

*EDIT: but seems jumping is still serious when charing...
[Milestone 2 Android Development] crazyteknohed:
If this uses the old Froyo kernel doesn't that spell the return of the dreaded mutitouch bug? I initially switched from 2.2.2 to Endless's CM7 specifically to get around this bug as I'm a gaming fiend. Much as I'd like the improved screen sensitivity of the 2.2.2 kernel I still want to be able to play Modern Combat 2.
[Milestone 2 Android Development] dangpzanco:
Kernel used in Endless7's is china's froyo, here it's UK's froyo kernel.

And touch is better here.

Sent from my Milestone 2 XDA App
[Milestone 2 Android Development] will5:
Think he said that because more than 2 points are required to play some games...

Touch response is:

Gb kernel > froyo uk/ar/br kernel > froyo chinese kernel

Until now, we can never boot a rom with uk kernel, because of "mysterious protections", etc. Whats the big secret after all? I would like to make other roms boot with this kernel.
[Milestone 2 Android Development] dangpzanco:
Jumping on charge happens even on iPhone...

Sent from my Milestone 2 XDA App
[Milestone 2 Android Development] tezet:
Ok, I will include > 2 multitouch points fix. I hope it won't spoil anything...

What's the big secret? There isn't any. You must have done something wrong previously... I didn't have to do any sophisticated tricks to boot up UK kernel. I was really surprised but this fact, because people kept saying 2nd-init will work only on CH kernels.
[Milestone 2 Android Development] will5:
Well, there must be some libraries involved, cause cm7 and miui ports only boot with ch kernels.

I could try replacing other files, but dont know which ones.

Replaced the entire 2init, still dont boot.
[Milestone 2 Android Development] r2beta0:
I think ppl are just misinformed :) When I first ported 2nd init to milestone2 i was using Brazilian 2.2 kernel to boot the system and I can asure you: it works on any froyo based kernel. There is a known issue with 2nd init for gingerbread kernels, as it used a different address as base of init process. This issue has been fixed by patching the source code of 2nd init (by some droid x programmer). The 2nd init included in main CM reps is already patched.
[Milestone 2 Android Development] will5:
Well, Id changed kernel and 2nd init from this build to endless7 and got stuck at 2nd boot logo. What could be the cause?
[Milestone 2 Android Development] alexyie:
I flashed this rom, and it works with my asia phone without using baseband swither, seems to boot faster then Endless7 rom (but i think thats because optimization scripts on his rom?).

however, i like moto bunny more than this simple red moto logo, but its just cosmetic anyway ^^

thx for the great rom
[Milestone 2 Android Development] r2beta0:
It could be a lot of things.

My guess (without reading logs) is: Incompatibility between kernel and android core libs. The rom should be recompiled for the kernel you want.
[Milestone 2 Android Development] will5:
I was thinking the same, but Im sure that 2.2.2 kernels are interchabgeable without recompiling, except for the chinese one.

Isnt hard to recompile cm7 with a proper repository. But with miui we are pretty much fu*** up.
[Milestone 2 Android Development] Endless7:
The multitouch module should work on all froyo kernel.
[Milestone 2 Android Development] Eiertschik:
Well, I did use this "downgrade_for_bl=3.sbf" thingy.

I'll try the .sbf you supplied.

DAMN - there's a space in the middle of the name:

MILS2_U6_4.1-22_SIGNED_UCAMILESTONE2B1B80E1014.0R_UCXMILE2GBQWR TGB_P016_A006_HWp2a_Service1FF.sbf
^
here

God, how stupid of me ^^"

That's why i couldnt find it :X
[Milestone 2 Android Development] Eiertschik:
Okay - I'll stick with Engle_Mars' CM10.2

It's incredible how well the M2 handles it - and when playing Ingress (which is amazingly smooth for such an old device) there's still 100MB of RAM free.

But the fact, that bluetooth - and bluetooth tethering in particular - don't work is quite a throwback...

But czechop just came up with his own CM10.2 and there's no known issues with bluetooth afaics.

So I'll try that one too :)

Thanks everyone for helping me!
[Milestone 2 Android Development] crazyteknohed:
I think people are getting confused here; the multitouch bug I'm referring to is not to do with the number (or lack thereof) of touch points, it is the way in which the Froyo kernel switches the points over in certain situations.

It's kind of hard to explain so I'll link you to the original thread here.
[Milestone 2 Android Development] WongJames:
I found the charging light will turn off sometimes even not yet fully charge (not even reach 95%), don't know if it is randomly goes off. It will turn on again after sometime @@

And i am wondering, will it be possible to merge the motoblur animations in 2.3 to the rom? Is it replacing the framework-apk will work?
[Milestone 2 Android Development] r2beta0:
Yeps, I thought that 2.2.2 were interchangeable too, but I'm not sure anymore. I'm sure you can replace them on Stock rom, but for some reason it's not working for CM ROM (I tried to boot with 2.2.2 argentina kernel). What I know is that android core libs are very close related to kernel implementation, specially HAL (Hardware Abstraction Layer). I think it needs more investigation.
[Milestone 2 Android Development] puiboy:
Yup, i agree to it ... mine battery jump from 38% to 14% and from 14% to 4%. During charging jumps from 8% to 20%.
[Milestone 2 Android Development] jorgebaruchi:
Just a feedback!

I found a little bug =P..

When i tried to use the Silent Butto on the Notification Bar, it isnt work properly...

I think that ROM is much better than previous CM7 releases. No bugs, so clear, so fast...

Just a bit, when i´m listening to music, i notice that sound quality is so poor than stock, anyone agree?

A few future optimaztions:

- Add milestone keyboard debounce and keylayout changing scripts..

- Add basebandswitcher

- Review the build.prop file and make some tweaks (ex: for see all makerts app, i was supposed to change the fingerprint to UK stock ROM)..

Tks for the good work! :cool:
[Milestone 2 Android Development] r2beta0:
Cool! Just booted CM7 using 2.2.2 Argentina kernel. Had to delete the init binary from boot menu. Apparently this version of init binary is not compatible with the kernel I used.

Edit: GSM Radio and battery stats are not working with my kernel. There should be other things not working too.
[Milestone 2 Android Development] will5:
So, resuming, every kernel need its own init?

GSM shut down when bootloader detects something wrong. GSM fix or BB switch didnt help?

Have you tried to boot endless7 cm7 with other kernel?

I think using devtree and kernel from same region will give better results.
[Milestone 2 Android Development] r2beta0:
I'm using boot, bpsw and devtree from Argentina 2.2.2 SBF. I think there should be some differences between UK and Argentina devtree.

Edit: The camera doesn't work also.
[Milestone 2 Android Development] n3ptun3:
I found out 720p recording is working for Droid X CM7.1 and has been merged into RevNumber's builds for the device. It's based off this patch made by droidxchat on rootzwiki. http://rootzwiki.com/topic/8434-cm4dx-gb-720p-support/

I just downloaded the ML2 repository off github, 12gb, and I'll see if I can get it to work on my phone.
[Milestone 2 Android Development] tezet:
That's a good news. Do you know if there's any up-to-date GIT repository for this ROM? https://github.com/CM7-GB/ seems to be outdated...
[Milestone 2 Android Development] n3ptun3:
It seems outdated indeed, but according to rootzwiki, that's his latest build, dated 2011-11-05 with working 720p

The repository has the changes included already, patched in proprietary_vendor_motorola and android_device_motorola_shadow.
[Milestone 2 Android Development] tezet:
You're right. That's worth trying.

Edit: I've just uploaded a new version.
[Milestone 2 Android Development] n3ptun3:
I've just finished setting up the build environment, had to install multilib on my Slackware 64 laptop and then find out there are some problems with make 3.82.

But it's building now so I'll see what can I play with this weekend if I get some free time.
[Milestone 2 Android Development] or.green:
Great work on the rom, works great!

One strange thing I noticed today, the google maps application is the stock one that doesn't allow navigation to be used outside the usa (at least not in China). Would you consider including the nowhere hacked version? Or is that a no way because it is not part of cm?

Anyway great work!
[Milestone 2 Android Development] AragornPE:
Endless CM7 Quadrant scores aren't unreliable. I tested it and I'm getting 60fps on planets test, with textures. Screenshot to prove it. I'm currently on 111101 with latest Quadrant version (fps dropped because of the screenshot)

Rocking with my M2 and XDA app
[Milestone 2 Android Development] minty95:
I have been running the ROM since Thursday last, It is the first time I changed my stock ROM on my French Milestone 2

At first I had two problems

1 - the real keyboard, but updated to the 11.11.2011 version with the keyboard switching and this went away :)

2 - I kept on losing the reseau, so installed the Milestone2ToolBox and switched baseband and no thats gone away as well

So far I've not noticed any other bugs, what I have noticed is a huge speed increase on the phone even after reinstalling all my aplis

So this is a great ROM, if you could install the baseband apk, for future users this would be a great help

Many thanks guys, I feel like I have a new phone again
[Milestone 2 Android Development] Liori:
Deleting /system/lib/egl/libgles_android.so does the trick.

Forgot the reason but it's something related to the driver.
[Milestone 2 Android Development] Y_Yan_C:
i have the rom on my milestone 2 for around 3 days, there are a few things i noticed that arent working properly:

1. I cannot Back up rom

2. I cannot boot into cwm

3. Battery life is way worse than stock, i can only last for half a day~
[Milestone 2 Android Development] WongJames:
have you wipe data, cache and dalvik cache when installing the rom?

I have no problem on all 3 points, i've just backup the rom in cwm recovery, and battery life is quite ok. I forgot how the battery life in stock, but it is slightly better than Endless CM7.

---------- Post added at 01:04 AM ---------- Previous post was at 01:03 AM ----------

does it leads to higher performance(coz higher fps)? Or it just fakes the quadrant to get a higher benchmark?
[Milestone 2 Android Development] tezet:
Guys, I need to clean up the mess in CPU settings and need your help. First of all, what are "best" values to set? So far I got following freqs and voltages. Please advice.

{ "clk1", 300 },
{ "clk2", 600 },
{ "clk3", 800 },
{ "clk4", 1000 },
{ "clk5", 1100 },
{ "vsel1", 18 },
{ "vsel2", 40 },
{ "vsel3", 48 },
{ "vsel4", 58 },
{ "vsel5", 62 },

The second question is, what is really the difference from setting the CPU from within CM settings and CM menu? I was considering getting rid of boot menu and do it as in Droid2/DroidX (installable CWM). What do you think?

And another question, what are really used for following values in

power_profile.xml? (I mean "Power consumption at different speeds")

<array name="cpu.speeds">
<value>1000000</value>
<value>800000</value>
<value>600000</value>
<value>300000</value>
</array>
<!-- Power consumption in suspend -->
<item name="cpu.idle">2</item>
<!-- Power consumption at different speeds -->
<array name="cpu.active">
<value>280</value>
<value>200</value>
<value>120</value>
<value>40</value>
</array>

Edit: I have found following table:

http://santiemanuel.grupoandroid.com/images/argen2stone/vsel.PNG

Is it fair? Should I pick up the green values as a default? Or anyone has a different observations?
[Milestone 2 Android Development] tezet:
Sory, I'm not including Gapps in this rom at all. If you need any modded Gmaps, just install a customized Gapps.zip. I may atatch it to this post if anyone will share.
[Milestone 2 Android Development] nesraz:
benchmark scores

orginal motorola milestone 2.2.2

----------------------------------------------------------------------------------------------------------------

Cyanogenmod 7.1 for Motorola Milestone 2 (Android 2.3.7)

Thank you for rum.

3d scores have large losses.

How do I enable fm radio?
[Milestone 2 Android Development] Endless7:
With bootmenu,we can set all 4 clock levels and vsel for each other. but with cm setting,we can't. And using bootmenu to overclock it's more safe and optional.(you will never hang your system because of overclocking failure.)

Edit:

300-18

600-30

800-40

1000-52

it's the best and works for all phone.
[Milestone 2 Android Development] tezet:
The same way as in stock rom...
[Milestone 2 Android Development] Endless7:
But we don't have hardware support for fm radio?
[Milestone 2 Android Development] tezet:
Yes, the chip is there, but it's not wired.
[Milestone 2 Android Development] nesraz:
http://www.kimete.com/fmradio.html

I wonder if here is the method works
[Milestone 2 Android Development] Anonymous_:
Can someone confirm or decline fm tuner hw presence?

Someone says only D2 have fm tuner hw and someone says M2 also have it... So I dunno. It would be nice to have fm radio in M2.
[Milestone 2 Android Development] tezet:
New version uploaded...