yashsingh1/xdaforums huggingface dataset:
[Milestone 2 Android Development] KinChungE:
Great work!

But I really wonder what is the vsel setting for 1450MHz?

Since I tried my phone can be overclocked to at most ~1330MHz at 80vsel:crying:
[Milestone 2 Android Development] -Danik-:
I can tell that there isn't much difference between 1330/1350 to 1450 , the big problem isn't the Vsel , it's just locked.

somehow I got a good piece , that can get above 1400mhz , with custom kernel.

it wasn't meant to be used daily though.

:)

EDIT: Try 1350 mhz on 74 vsel , it should be stable . Run Stability Test for 5-10 minutes

here is Market link to the app

https://play.google.com/store/apps/details?id=com.into.stability
[Milestone 2 Android Development] rafffel:
Hi interesting rom,

and what about battery life compare to stock GB roms?
[Milestone 2 Android Development] -Danik-:
Depends on your core clock , but if comparing to stock gb , of course this rom is power efficient because of using better scheduler.
[Milestone 2 Android Development] walter79:
Nice rom mod. Will give it a try on my defy with some changes.
[Milestone 2 Android Development] eduwp90:
Nice! Have you tried adding droid x governors from the forum?

And what about using v6 supercharger? Lets see if we can squeeze more power!
[Milestone 2 Android Development] morcego.surf:
Good to see MSginger return, one of my favorites.

Good job.
[Milestone 2 Android Development] Anonymous_:
It looks nice and I will probably give it a try!

Just quick questions - how is the speed compared to CM10 and CM7 and to stock ROM?

(I suppose it is way faster than CM10, faster than stock ROM - Am I right?... but how about a comparsion to CM7... is it faster than CM7 or about the same or the CM7 is noticeable faster? Thank you very much for response on this! I'm currently looking for the fastest ROM on M2 and I have definitely eliminated CM10, MIUI and stock Froyo ROM... Currently looking around CM7, this ROM and stock GB)
[Milestone 2 Android Development] chippoke:
Thank you for your work!

You should probably add to your "noob guide" that you can only reboot into your custom recovery by pressing "Volume Down" when the blue hardware led appears at the upper right edge of the screen.
[Milestone 2 Android Development] -Danik-:
Yes , and one more important thing - it will show a blue led but not the green led because it is set to 'normal' instead of '2nd-init'

Speed must be greater due to full HW Acceleration , that means even faster phone on 3D apps. , about CM7 , it should be the same on I\ O but greater at some CPU massive apps.

Yes , hope you will like it , thanks.

I really wanted to use V6 supercharger script and the Kick Ass Kernelizer , surprisingly performance dropped both on Multi tasking method and on Aggresive 512HP thats because it overwrites some of my parameters that were already boosted better.

and for the Droid X mod , of course i put it in , but only the SIO Scheduler works <boostedASS v2 crashed>.
[Milestone 2 Android Development] KinChungE:
related to kernel? Seems moto did a lot of trick to prevent us optimizing the phone:mad:

May I know if the kernel is the same as the CM10 one? (below is the link)

http://xdaforums.com/showthread.php?t=1908687

Thank you!
[Milestone 2 Android Development] -Danik-:
No , i didn't check the CM10 kernel yet (becuase I can't boot the rom with it , however it is related to quality of the phone itself <I got a good one>

the limitation is in Voltage.

above 80 Vsel your phone will bootloop , literally

the phone somehow gets me get a really high core clock while keeping Vsel < 80.

I know that with stock kernel It will not suffice (80 Vsel for 1450mhz) so i'll have to push the vsel higher and then i'll bootloop , so that my assume it is pretty related.

try your luck with that .

please note that when the Bootloader will be unlocked , limitation will be only the core's <don't really know how much , but rumor has it that the single core TI OMAP can reach 1.7ghz , can't imagine how the battery will be..
[Milestone 2 Android Development] ncc74656:
Please ignore, I managed to fix it. The problem was with Windows 7.
[Milestone 2 Android Development] Anonymous_:
Just trying the ROM and some observation:

- it's pretty fast (in compare to CM10)

- some keyboard layout switching (for HW keyboard) would be nice... I'm going to resolve this manually via adb.. but it's annoying

- what's bothering me at this moment is that I'm unable to lower the ringtone volume down to the total mute - it just stays on vibrate... I'm unable to go to total mute (without vibrate)..

Any help would be nice.

Just for other people, who are wondering to try it - it has about 200 MB of free RAM without apps running and it installed without any problem through restore and wipe data.
[Milestone 2 Android Development] -Danik-:
of course I try to get it as fast as possible with many tweaks and configures.

about ringtone it locks on Vibrate mode for comfort , you have a button in quick action ui < where WiFi , BT , GPS and all> also you can slide the right slider in Lockscreen.

also Music player integrated to lockscreen.

BTW. RAM freeup is set to low intensity for better multitask , while handling large Dalvik Heap , that's great.

Thanks ;)
[Milestone 2 Android Development] Nicholas86:
Thank you for your reply! So, I have installed RSD lite...and I have already flashed this fantastic rom on my Milestone 2! Now, I must install the kernel! But, firstly, do I have to clear something? like wipe cache o devilc?

Thanks
[Milestone 2 Android Development] rabinhood:
Of course I tried wiping everything, reinstalling, flashing different kernels - with no luck. Funnily enough I have no such stories with V1 kernet (28.10), and I've found yesterday, that freezes happen only when my phone is detached from charger. Also nothing like that happens in any other ROMs (stock, CM7, CM10, chinese ROMs). Strange... Thanks for reply.
[Milestone 2 Android Development] -Danik-:
Hey , Try the new version with the kernel , should work great

:)

As said - RSD Lite , you don't need to know anything else about that.

As for the kernel - it is SBF - You also flash it with RSD , Don't clear anything before the kernel flashing , RSD erases memory before flash procedure.

:)
[Milestone 2 Android Development] rabinhood:
You claim your ROM is the fastest with superior 3D performance. How to check it, what measuremens do you use to assess smoothness/responsiveness? Even though it has really nice semi-transparent animated windows transitions, I still find old Tezet's/Endlesse's CM7 more responsive. Also stock UK GB doesn't seem to be slower at all in daily use, or games... At least I don't see easily noticable advantages.
[Milestone 2 Android Development] -Danik-:
Hey ,

Please read OP , everything is pretty explained.

I myself LOVE cm7 <and Cyanogen generally> but since it doesn't "squeeze" all of the juice the phone gives , it isn't worth it (on hardware part) for example :

Camcorder drivers that support 720p - here I use them and even boost it as much as possible <read changelog to see the amazing progress>

Also the SGX530 itself got boosted at maximum <last build> new opcodes and libs do it which give the optimal 3D <although the 530 is not that good , it squeezed as much>

Give it a check , you can benchmark using any program.

Also flash the kernel that is a seperate project , considered stable but I still have work in progress.

:)
[Milestone 2 Android Development] rabinhood:
Danik, to be honest, I'm reinstalling, testing and trying to find my favorite ROM flavour for last 2 months at least. I really like your work. The only problem are games freezes I described before which seem to happen only when phone is battery powered. V1 release (28.10) if free of this issue, and unfortunately both V2 releases are affected. I also checked different combinations with Stock+ kernels. The only I didn't check is latest V2 ROM together with 8.12 kernel - but I'll test it today ("gigerbread" logo was a bit irritating).

I asked question from previous post (about benchmarks results) only because I really don't feel much of difference in terms of "smoothness" of operation. I like the idea of undervolting chips very much - maybe there's some potential of extending battery life time.

Also you are almost the only developper still active (not counting Tezet's CM10, but it's a bit too laggy for me).

As for now none of ROMs available is perfect, so all the time I'm switching between CM10, CM7, Stock GB and your production, trying to find the one that suits me the best.

Thank you for your time given to us - the community. :)
[Milestone 2 Android Development] -Danik-:
Yes.. As said , V2 using different code , it may be problematic for people who has the initial version of the phone from the 2 following issues:

- The PostJIT <I/O libs from D2> that runs on V2 WILL NOT fully decompile linaro <from a conversation with a Moto service guy , he told that since they came with 2.1 and never went on an official upgrade to 2.2 / 2.3 > , however , it is just a tiny feature... but people who get it to work - run it great.

- one more problem is related to the first one but is bigger - the PostJIT is divided for 2 sections:

a. Software side <the init.d>

b. Hardware side <hardware libs like : camera , loudspeaker , touchscreen , vibration engine ... etc.

Problem starts when V6 Supercharger script <that is integrated in V2> runs on init.d and also calls the PostJIT to decompile , I quote the PostJIT prescript :

the code calls them both , If you can't do well with it - use V1 for now

:)
[Milestone 2 Android Development] walter79:
Bootanimation MS2Ginger for Motorola Milestone 2. "Defy" is replaced by "Milestone 2"
[Milestone 2 Android Development] -Danik-:
Hi! Thanks :)

Also the bootanim using the theme is "Droid" :D
[Milestone 2 Android Development] walter79:
How did you enabled flashing custom kernel via SBF. Bootloader is locked? Can you sign custom kernel?
[Milestone 2 Android Development] -Danik-:
Oh that's a long Story :D.

Started on building with Arduino and flashing into the NAND chip.

As I want it to work for everybody , I found a way to trick the bootloader not to CRC every boot <Core details Clone> , because when it does - the phone will not boot and will be full bricked , but since it is booting and everything works that's fine ..

BUT: one disadvantage - I can't change the Core details <it will say 2.6.32.9 ..> , but it's ok. :)

latest kernel is stable .

I've tried adding BFS but it is not meant to work at all <bootloop 1 time / every 5 boot attempts , so I got it off.

Now I'm pushing on some governors.

btw. I use the deadline and the lagfree but currently it can only be done using HW flash into the first 16384 bytes of the NAND.

any attempts to "combine" it into the SBF - FULL BRICK - phone won't get into bootloader , in such a situation people would throw the device away and will get very sad . unless they know how to reformat the NAND.

:)
[Milestone 2 Android Development] walter79:
Thanks,

Blechdose, Quaxs and me working on a custom gb kernel for CM7 and MS2Ginger. Next MS2Ginger will support 2nd-boot.

With new kernel i will switch to ext4 for /data and /cache. One Kernel for all devices. (Defy, Milestone 2 and bravo)
[Milestone 2 Android Development] -Danik-:
WOW That's Nice!!!!

Keep it up! people really need it since GB based is the only Hardware fully user <720p rec and all GLES libs..>

:) :) !!
[Milestone 2 Android Development] Anonymous_:
Thanks, unfortunately this did not resolve this problem http://xdaforums.com/showthread.php?t=1216299

.. alt + z gets <

alt + y gets 6

Any help will be appreciated.. c'mon guys, there has to be someone, who is using this ROM on non-QWERTY keyboard too

EDIT: Nevermind. Copied and renamed correct kcm.bin and .kl files from my CM7 nandroid backup and it's working well.
[Milestone 2 Android Development] rabinhood:
Hello. You're right. I've checked it. The solution I posted workes for sure in CM7 and CM10, but doesn't in stock GB and MS2Ginger.

Even though I was able to get ALT_RIGHT by editing kl file, neither CTRL_RIGHT nor CTRL_LEFT work. I wanted these keys for CTRL-A, CTRL-C, CTRL-V shortcuts.

Did you manage to have these shortcuts working? Or have "only" QWERTZ keyboard layout?
[Milestone 2 Android Development] taf:
A little bit late, but, Many Thanks!!! BTW Happy new 2013! :)
[Milestone 2 Android Development] -Danik-:
You're Welcome !

Enjoy :)
[Milestone 2 Android Development] infiniteproject:
How's the performance of this rom compared to tezet's cm10?
[Milestone 2 Android Development] -Danik-:
OHHH :D :D

That's the first reason this ROM exists...Performance.

Check it out!

(I Like CM but it isn't using the entire device's HW).
[Milestone 2 Android Development] walter79:
Is it possible to enable ext4 in your kernel?
[Milestone 2 Android Development] harisit2005:
How about the smoothness of this rom when compared with the project butter smoothness and latest features on jb....?
[Milestone 2 Android Development] -Danik-:
I can enable ext4 <also repartitions SD> using my CWM rainbow however it is difficult to get it to be flashed via SBF.

I have already made the recovery that supports it , BUT it can't be launched from a BootMenu (2nd-init) it must be flashed ONLY into the recovery section (replacing the stock recovery) and of course...RSD rejects flashing it.

I'm pretty stuck with it right now, it is due to the famous problem of locked bootloader.

the stock recovery image is exactly 8MB (8388608 bytes) while the rainbow file is more than the exact size in some bits and that another reason to block flashing.

Will try my best to spoof CRC and/or resize recovery image.

:)
[Milestone 2 Android Development] dangpzanco:
Is USB OTG Mode possible on Milestone 2, or does it need* a kernel patch?

*late edit
[Milestone 2 Android Development] -Danik-:
Hi :)

OTG Support is a real problem , more than a kernel related feature - it uses USB hosts that must be processed.

It can be done using /sys/devices/platform/musb_hdrc .

People really want it , starting with Defy as the first OMAP3 that is considered as OTG supported by Texas Instruments, however there isn't enough space on the bootloader block for now to do so.

<for now - only recovery and kernel images>
[Milestone 2 Android Development] morcego.surf:
01-01-2013 version

Great.

Thanks again.
[Milestone 2 Android Development] dangpzanco:
Well, then I guess something like THIS wouldn't work on M2...

BTW, thanks for bothering answering my questions, great community we got here.
[Milestone 2 Android Development] -Danik-:
No sir , It is pretty locked since the Droid 1 / Milestone 1.

The cable is easily obtainable , but it is the tech that unsupported.

:)
[Milestone 2 Android Development] Alchedin:
Voltages

Hi Danik, superb rom + kernel!

I don't know if I do the right thing here but adjusting the vsel through Bootmenu/CWM -> CPU settings works? If so what voltages do you personally recommend?

On your custom kernel 8.12+stock you state "You Can undervolt VSEL1 and VSEL2 to 300/16 and 600/33...[]" so I guess using the CPU settings in the bootmenu are correct?

For now I have:

300/16

600/32

800/40

1000/48

These are considered stable in my opinion (will test it more later on), but i'm not sure if the values are used at all after saving them and booting.

Like you rom very much. Thanks for your efforts!

Also on a sidenote, when looking at the apps list there are a few apps in it which have chineese texts, any fix for that?:good:
[Milestone 2 Android Development] -Danik-:
Hi :)

Using the kernel , the bootmenu OC/Voltage won't work.

use Milestone 2 Toolbox ONLY to overclock (there are NO more apps that can read the sensor after the kernel , Milestone Overclock won't do anything and SetVSEL would crash.)

The kernel makes it read and write to a different section <float type process instead of integer> and it is more efficient.

Also , you can overclock higher the VSEL4...

Try to push 1350 with 76 and run StabilityTest for like 1 minute <no need anymore> , but I'm sure it is stable , because I lowered the Vsel multiplier on the 8.12 kernel to 1.25 instead of 1.75 in stock <with VSEL to mV convert>.

And for the chinese apps , you don't really need to mess with them , they're only there to apply new I/O tweaks.

:)
[Milestone 2 Android Development] dangpzanco:
It'd be nice if someone did some bug fixing on Milestone 2 Toolbox, last release is from one year ago....

Source code is here: https://github.com/KyleTang/Milestone2ToolBox
[Milestone 2 Android Development] rabinhood:
Danik, and how about a bug present not only in your release, but also in both CM7 and CM10. When you plug charger in switched off phone instead of booting into charging mode (with big battery picture), phone just powers on. It's not a big deal, since you can charge a turned on phone, but it's still a bug.
[Milestone 2 Android Development] -Danik-:
Weird , never happened.

Try getting into the bootmenu and select Normal or 2nd-init boot mode.

:)
[Milestone 2 Android Development] morcego.surf:
It's ok to me too!

Enviado de meu A953 usando o Tapatalk 2
[Milestone 2 Android Development] -Danik-:
Yes :)

If anybody gets any problem please post (though I didn't get any info about problems from people ).
[Milestone 2 Android Development] rabinhood:
You're the man! Changed boot to 2nd-init and problem vanished. I wonder if that's a solution for same trouble with other ROMs. Maybe sometime I'll check. Thanks!

---------- Post added at 12:58 AM ---------- Previous post was at 12:34 AM ----------

I'd like to add, that to solve system freezes in some games (i.e. immortal Granny Smith) I had to disable sound. And in one game (Arcane Legends) I'd swear there was no very useful overlay minimap on other ROMs, while there is one using yours (maybe game adjustes graphics details automaticaly to GPU power found?)

As for now I find two little things because of which I cannot call this ROM perfect, but "only" almost perfect.

1. No SMS and MMS delivery reports (it was briefly discussed previously).

2. Something with theme/skinning. I use Polish Programmer's Keyboard from Play Store. Whereas in other ROMs onscreen keyboard had white letters on dark grey background, in your ROM it has black letters on dark grey backgroud, which makes it very hard to find a proper key. I have no idea what could it be caused by - maybe some tiny change in some "registry" values (I don't believe Android has registry, but maybe something similar). At the same time standard Android Keyboard looks well - black letters on light grey backgroud.

Do you have any ideas what to do?
[Milestone 2 Android Development] -Danik-:
Hey , glad it worked.

And for the SMS delievery reports - due to the 2.3.7 base the report is missing on language that isn't English but it will be fixed as soon as the CM7.2 is final.

Also , try to flash the stock anims , the theme first layer is grey - this gives negativity sometimes. <No grey color ,just using base layer for better shading>.

:)
[Milestone 2 Android Development] rabinhood:
It worked. Thanks again!
[Milestone 2 Android Development] Alchedin:
Kernel of 7-1-2013 + CM10?

Hi Danik

I have a question and I hope it doesn't sound too stupid but does your new kernel you just released have an positive effect on like say the CM10 rom?

I really like the low voltages + deep sleep features in your newest custom kernel and I was wondering if it has any effect on other custom roms.

I'm a sucker for battery life, that's why i'm asking.

Thank you for your understanding
[Milestone 2 Android Development] benitoxu:
Awesome work!!! I like your ROM very much.

But is there any chance to add the auto turn on and off the device?

and about the new Kernel - 70.13 Bootloader Semi Unlocked.

is that mean I can flash the Kernel on my device with BL2 and it wouldnt upgrade the BL level?
[Milestone 2 Android Development] rabinhood:
It is a rubbish reqest, but could you correct misspelled word on kernel boot screen (yellow woth tiny android)? It's written "Gigerbread" instead of "Gingerbread" there.
[Milestone 2 Android Development] -Danik-:
You can try , however I don't know if all the scripts will fit 100%.

:)

No It does upgrade the bootloader version due to the fact that the BOOKTYPE is 0x7013 , but unlike Defy and Droid X it doesn't limit you.

if you plan to flash Froyo based roms in the future you can still downgrade the BL with a Chinese kernel that has the Froyo signs on GB.

Yes , This involves my Arduino for decompiling , but It's ok I already planned on adding more things.
[Milestone 2 Android Development] Alchedin:
Hi Danik,

Just flashed the custom kernel and it booted :D Is there anything you want me to check/test?

Many thanks!

I will post my findings during the days

Findings:

- Just noticed that usb mode automaticly switches from charging mode to MTP mode and SD-card mode also switches automaticly to MTP mode

Cheers
[Milestone 2 Android Development] -Danik-:
It will boot for sure , but you should not boot 2nd boot mode with the kernel that included in the ROM you flashed.

USB shouldn't be a problem at all - try getting to the Setttings and set it to Mass Storage as the milestone 2 supports it.

:)
[Milestone 2 Android Development] Alchedin:
Booting with 2nd init sadly results in a bootloop :(
[Milestone 2 Android Development] -Danik-:
Yep..

Checked it.

The CM10 repo build only runs from 2nd boot and will not allow running on true FLASHED kernel.

I suggest take the latest build you would like that didn't support 2nd boot or if there were significant changes , exchange the bootmenu directories between the latest build unsporting 2nd boot and the most recent build of CM at all.

then flash the kernel if you prefer CM10.

:)
[Milestone 2 Android Development] benitoxu:
Nice I will try~
[Milestone 2 Android Development] rabinhood:
Hi Danik. I'll once again dig up something that was mentioned before, but with no real solution. Is it possible to map CTRL key somewhere, like it is in CM10? I tried entering CTRL_LEFT for key 167 in keylayout *.kl file, but with no luck. I am able to assign other special keys, like ALT_RIGHT etc, but it seems that system doesn't recognize CTRL key in combinations. What I wanted to achieve are working shortcuts CTRL-F, CTRL-A, CTRL-C, CTRL-V and so on for easy editing and searching.
[Milestone 2 Android Development] algarues:
what do you exactly mean by "semi-unlocked bootloader" ?

thanks for the info
[Milestone 2 Android Development] -Danik-:
Hi :)

I Don't mess with the kl ,kcm files anymore since I use the one from my operator stock Froyo which is the best layout for me.

I tried to decompile it but it shows nothing.

just flashed it as it is and it worked , maybe ANSI , but I don't really mind - it worked like I'm using the MotoBlur layout with the shortcuts made for this specific phone for my layout.

Also added Some Music shortcuts like next track , previous track , play/pause but that's on init.d and isn't related.

Tried to integrate it in my ROM , it gets unreadable for init.d scmg so it is really hard coded , it works as it is , but only here , I flash it with my Arduino directly to the chip so no rejects..

That's for future update , from now on the kernel size will decrease as the bootloader itself is cracked not to check CRC on every boot, so I shouldn't spend 2mb more on CRC difficult loop every boot.

<however people will have to flash this kernel in order to get unchecked in futuristic updates>.
[Milestone 2 Android Development] v8star_it:
sorry for stupid question but i'm unable to enter whit every know mode (vol up plus camera) in custom recovery after flashing your latest "yellow" kernel :D

what i'm doing wrong?

thanks a lot for your awesome work

rom is very nice!
[Milestone 2 Android Development] -Danik-:
flash latest GB 2.3.6 and then root it.

After that , get CWM and flash my ROM including the kernel.

Bootloader version will change don't worry.

:)