yashsingh1/xdaforums huggingface dataset:
[Milestone 2 Android Development] Anonymous_:
I'm sorry to say that, but it seems it doesn't work :(

Maybe I'm doing something wrong... :/

1) copied framework-res.apk from /system/framework

2) decompiled it (option 9)

3) changed the res/values/bools.xml .. config_bypass_keyguard_if_slider_open to false and saved

4) compiled it (#11)

5) renamed unsignedframework-res.apk to framework-res.apk and copied back to /system/framework over old framework-res.apk

6) rebooted...

... and it still unlocks after hw keyboard slides out :(

I also tested to decompiled my compiled framework-res.apk and bools.xml is changed and everything seems fine.. Where should be problem? Am I supposed to wipe cache and/or dalvik?

Thank you for your reply and for your time.

Also I'm attaching screenshot & changed framework-res.apk in the attachment.
[Milestone 2 Android Development] eltumbafelix:
I have installed the official ROM GB. This ROM can be installed on this kernel? or is based on froyo?
[Milestone 2 Android Development] will5:
No, it cant be installed on official GB :(

@anonymous. Remember to wipe cache and dalvik. If that doesn't work, we should try to install it the entire ROM with modded framework on a clean system...

Also, check permissions on replaced framework.

Also check if bools.XML is present on other folders of decompiled framework. Maybe file is dependant on selected system language.
[Milestone 2 Android Development] sahilarora911:
@Anonymous_ : While compiling again it is better to keep the compression level to 'zero'.

Plus there is a file (don't remember the name) which needs to be deleted while compiling again. The apk manager tells the name of it and says something on the lines of "that in case you have made changes to any xml file delete ___ file"

Try ensuring these two things plus all the points will5 mentioned and it should work especially permissions etc.
[Milestone 2 Android Development] santiemanuel:
Decompile, fix, recompile, push resources.arsc from new framework to original framework. (Optional) put the framework done in place-apk-here-for-modding, set compression to 0, extract and repack(dont change anything). Push to phone, i copy it first to /system, set permissions to rw-r--r--(644) and move to framework overwriting the older. It should work without wiping anything. With a hot reboot changes are visible.

.S
[Milestone 2 Android Development] Anonymous_:
I wiped cache and dalvik, checked permissions via ES File manager at it shows rw-r--r-- so this is right I suppose.

bools.xml was only in values folder in original framework-res.apk .. but I can copy it over other "language" folders.

Yes I deleted that file apk manager mentioned. I followed exactly what apk manager wrote.

Ok, I will try it again with compression set on 0 (I didn't modify compression settings last time) and I will let you know if that helped.

EDIT: santiemanuel: what do you mean by "push resources.arsc from new framework to original framework." -- I just decompiled it, changed xml file under projects folder and compiled it and then I considered that new create file under place-apk-here-for-modding with unsigned prefix is compiled apk with changed file? Am I wrong? Should I done it in another way?

Also... In "Is this system apk?" question I entered "y"... I supposed framework apk IS system apk.

Then I deleted resources.arsc from "keep" folder, 'cause I modified xml file...

Btw did you tried it? If you did, can you provide me please your modified apk?

EDIT: Finally it works! Thank you all. I did it same way, but in this try I extracted apk after compilation and then set compression to 0 and zipped it... Then I tried to copy it over old apk in /system/framework but it failed, so I pushed it via adb from recovery and after reboot it works :) Now sliding out keyboard just turn on lockscreen - it doesn't unlock it :)

And I attached zipped modified apk in the attachment, just in case someone wants it too (but it is for 1.11.18 BUILD!!) :)
[Milestone 2 Android Development] DreadPirateDan:
So what does the +ICS entail? :)
[Milestone 2 Android Development] will5:
Ics tail adds ics framework among other files from ics. Next build will add some ics apks.

@anonymous. If you have time, you can mod framework for every new build and Ill add as a separate file on first post. I really dont like kb slide block, but looks like for some people is useful.
[Milestone 2 Android Development] DreadPirateDan:
Ha, yeah I've managed to pocket dial my national manager before from the recent calls list. Awkward! :p
[Milestone 2 Android Development] Anonymous_:
No problem. I will do it. Now I'm running on older build, so my first step is to upgrade to latest one and then I will change it for the latest one build.

Also I like it as it was too, but when my MS2 is getting older, the keyboard is opening in my pocket by mistake - and this is bad, because when I'm listening to music and try to fast forward to next track by holding vol up, it do not skip track, but it actually turn up the volume (because track skipping by holding vol up works only on lockscreen... and when the keyboard is opened in pocket by mistake, it also unlocks it and here we go...). So thats the reason why I wanted to solve it :)
[Milestone 2 Android Development] will5:
Yep, I didnt knew that, but Looks like after some months kb slider get loose :rolleyes:

Even cant remember if official ROM uses the Kb slide lock :o

If You agree, Ill send You another fix to apply on every framework :)

Anyway, miui dev is slowing down, dont expect too much news, since miui team is focusing on Next year miui 4.0 project.
[Milestone 2 Android Development] Anonymous_:
Ok, so there is framework-res.apk for the newest build 1.12.16

...

1) unzip

2) connect phone via usb

3) adb remount

4) adb push framework-res.apk /system/framework/framework-res.apk

5) adb reboot

I'm planning to do some script in the future, which will do all the things automatically... adb pull, Decompile, change the line in bools.xml, compile, extract, zip with compression 0, adb push...

So it would need only connect phone with computer and press enter in the future :)

And of course, if you have more fixes, then it is no problem - it is only bigger reason to do some script, which will do it instead of me or you :)
[Milestone 2 Android Development] will5:
great! I´ll add to first post.

The script thing is a good idea, I could make it as an update.zip also.

I´ll send you the other fix, it just another simple line of code :D
[Milestone 2 Android Development] Carolinux:
md5 sum mismatch after download 3 times... back to pure ginger
[Milestone 2 Android Development] will5:
It´s working fine for everyone.
[Milestone 2 Android Development] CRLSboy:
The keyboard light does not light up. This working on a new update?

A953@android2.3.5
[Milestone 2 Android Development] will5:
You need to change two values, read first post for more info. You can do it in less than a minute :D
[Milestone 2 Android Development] CRLSboy:
Thanks!!!

A953@android2.3.5
[Milestone 2 Android Development] will5:
It´s working fine here, and other users reported the same, maybe you are editing the wrong entries.
[Milestone 2 Android Development] 12o0n3y:
Hi will5, how can I disable LED yellow when connect my MS2 to PC?
[Milestone 2 Android Development] AdrienC:
Will5, Just some feedback, I tried to update to RC1 v2, got stuck in moto logo and had to reflash stock sbf, root, installed bootstrap, then I flashed a nandroid backup I had from miui 1.8.19, then flashed again RC1 v2, and it got stuck on miui boot animation.

I said, **** that, did a factory reset and it did boot. And when I woke today it was stuck on a dark screen with backlight off.

Tried cache wiping but got stuck on boot animation again.

Gave up, reflashed my backup and that's it.

any idea where it went wrong? I'm thinking about updating again but I don't wanna go over all the trouble again.
[Milestone 2 Android Development] Endless7:
replace /system/lib/hw/lights.jordan.so with stock froyo. just test with ch2.2.2
[Milestone 2 Android Development] will5:
Not sure what can be happening. Boot animation could be solved with double wipe.

Weird problems like dark screen could be related to third party software.

Also make sure to check your cpu can handle the vsel this ROM uses.

This is plain stock miui, it should have the same problems that are commented on miuiandroid.com
[Milestone 2 Android Development] ryhoo2:
Do you also have chinese letters in "Notes" application? I setthe Polish Language in the Settings.
[Milestone 2 Android Development] Endless7:
Hey, maybe you can enable root by going to system tool-permission management-setting-ROOT permission. The name is not exactly right since I am not using MIUI now.
[Milestone 2 Android Development] will5:
It´s the "welcome" note. You can delete it.

Ill keep looking, still can´t find any similar option.
[Milestone 2 Android Development] 12o0n3y:
Thanks! Does anyone have file lights.jordan.so in Froyo? Plz post it for me. Thanks so much :)
[Milestone 2 Android Development] Endless7:
Here it is.
[Milestone 2 Android Development] 12o0n3y:
Thank you very much!
[Milestone 2 Android Development] ryhoo2:
Does anyone know why is it so hard to fix the 720p recording? Is it the difference between the 2.3.4 and 2.3.5 modules? It's working on the official leak 2.3.4. I tried a lot of combinations of libraries and build.prop entries, but the system won't even boot. Do you work on this?
[Milestone 2 Android Development] will5:
I think that 720p is based on Motorola libraries, thats why is so hard to fix. Defy's stuck on the same problem.
[Milestone 2 Android Development] ryhoo2:
So it's just the matter of finding them and all dependencies and copying them to MIUI ROM?
[Milestone 2 Android Development] will5:
If we can get the moto camera app to work on any custom rom, I think it will do 720p recording.

But, until now, nobody could make that app work on milestone 1, 2, defy, droid 2, etc.
[Milestone 2 Android Development] alexyie:
On this latest version, reboot using the power button doesn't give you option for full reboot/hot reboot/ recovery/ bootloader anymore.

is this behavior intended?
[Milestone 2 Android Development] will5:
Reboot works fine here, showing all the options.
[Milestone 2 Android Development] alexyie:
Hmm.. thats strange, it was working for last 2 patch i'm using miui, but on this newest it didnt show the options. Is there any setting that i might need to take a look Will?

Sent from my A953
[Milestone 2 Android Development] Deesign:
Same problem here...

Gesendet von meinem A953 mit Tapatalk
[Milestone 2 Android Development] chopdi:
Same here
[Milestone 2 Android Development] will5:
Dont know, tried a clean install and options are still there. All of You are using the same lenguage?
[Milestone 2 Android Development] chopdi:
I use german
[Milestone 2 Android Development] chopdi:
Select english but the Problem is still there
[Milestone 2 Android Development] will5:
Weird, I'll check some files, but Im already working on next build.
[Milestone 2 Android Development] alexyie:
i'm using english. FYI, i didn't do clean instal, i just flash it over last MIUI build (2nd dec?) and do cache & dalvik wipe, no data wipe.
[Milestone 2 Android Development] crazyteknohed:
+1 for me. GTA III and some live wallpapers are not appearing in the market. Tried Marker Enabler but to no avail; I believe it's a compatibility issue rather than a regional one.

Quick question, could I install Endless's CM7, back up the Market app using Titanium and then reinstall it on MIUI? Or a better idea would be for the dev of this ROM to 'borrow' Endless's Market app.

Dan, installing Chainfire should get Nova 2 working, along with any other 'incompatible' games.
[Milestone 2 Android Development] DreadPirateDan:
GTA3 doesn't work on ms2 yet, so don't worry too much. You aren't missing anything yet. Not with chainfire or the latest patch for powerVR chips.

Pretty dissapointed with chainfire - only had it be useful once to load on older version of shadowgun and even then it was fickle. Bought the pro version and everything and never had any use for it.

Pretty sure we won't be seeing support for these premium games for too much longer. Our 530 chip is getting too old and can't really handle much (eg shadowgun and MC3 play pretty crap. Moreso shadowgun). Even the 540 chip dominates it (extra 10 - 30 frames in quadrant) when I tested against a friends galaxy S.
[Milestone 2 Android Development] will5:
Gta3 works fine on m2 and miui since 1.2. Anyway, dont expect more than 20fps or less.

Also Kb keys cant be edited and touch controls are pretty unusable.
[Milestone 2 Android Development] crazyteknohed:
That's a point. Will5, is there any chance you'll be moving to the CH GB kernel in the future? I've just moved to this ROM from Endless's (now bloated since the ICS versions) CM7 ROM and although your MIUI is beautiful and very stable, the whole reason I moved to custom ROMs was to be rid of the annoying multi-touch glitch. Now unfortunately it is returning to the custom ROMs as everyone seems to be moving back to the Froyo kernel, otherwise I would have tried Tezet's CM7 as well.

As it's a deal-breaker for me - I love gaming, y'see - I think I will have to reluctantly return to Endless's CM7 for now. If this MIUI had the CH GB kernel and a fixed Market it would be perfect. Oh yeah, and all those poor souls who flashed the official GB would be able to use it too.
[Milestone 2 Android Development] DreadPirateDan:
Doesn't work at all for me on any rom :(. Oh well easy come, easy go.
[Milestone 2 Android Development] will5:
@dreadpiratedan. Make sure to use gta3 1.2 release. And launch the game on a fresh system. It takes lots of ram.

I cant do anything about GB kernel. Im sure MIUI team will rebuild this rom on gb kernel, eventually, but they are focusing on other things atm.

I dont see nothing wrong with market, most apps that doesnt show, dont work.
[Milestone 2 Android Development] DreadPirateDan:
I agree, I think this ROM and it's relationship with the market are just fine/preventing you wasting money.

And I see I see... perhaps that ram thing is my issue then (have been using 1.2 since it was first available and tried re-installing and redownloading all data too). Thanks for the tip :) perhaps that can even work to get MC3 playing a bit better too.

I wish I knew how to do all this ROM porting business - I'd love to have MIUI and CM7 blended together, taking the best of each and having one super ROm, though it would no doubt be over 80% MIUI. So many handy features that you wonder how you lived without before hand. CM7 isn't without it's appeal either, but I'm guessing we are pretty stuck for choices with the locked bootloader and all.
[Milestone 2 Android Development] rasecrmz:
With this latest update, im having huge battery jumping on my milestone2, from ~75 to ~45 and then from ~40 to ~15%, already wiped battery stats, maybe i should try a re-flash, anybody else having this problem? I want to know if its my milestone2's fault
[Milestone 2 Android Development] Schrotty35:
Can i use with root stock 2.3.4?
[Milestone 2 Android Development] Anonymous_:
I'm using latest update and I don't have this issue. Maybe battery jumps sometimes (this is usual on M2), but definitely not THAT huge...

No. (Not yet)
[Milestone 2 Android Development] crazyteknohed:
So far the apps I've downloaded previously with Endless's CM7 that do not show up on the Market are:

GTA III

Blue Skies Live Wallpaper

Christmas HD Live Wallpaper

All are compatible with MM2.
[Milestone 2 Android Development] alexyie:
Christmas HD live wallpaper shows incompatible with MM2 even when I browse from PC when I used Tezet+Endless7's CM7
[Milestone 2 Android Development] will5:
Yep, cm7 forces noncompatible apps to show on market.

Anyway, incompatible apps sometimes works, but if they are listed as incompatible by the app dev, not much to do.

Have a great end/start of the year :)
[Milestone 2 Android Development] Anonymous_:
I'm facing one issue in the latest build - I'm unable to change the ringtone. When I select anything (my mp3 for instance) it just ringing with some default ringtone - not with my selected.

Also - as said before, I don't have reboot menu too. When I tap "reboot", it just asks me for reboot and then standard cold reboot is done...

Also happy new year to you all guys!
[Milestone 2 Android Development] marcoahs:
Same here!
[Milestone 2 Android Development] ncc74656:
I'm having issues with phone calls and data transfer. It looks like it stucks randomly, there is no data transfer, not possible to make calls. When I try to call me frome another phone I'm told that the phone is switched off. Enabling airplane mode isn't working. I can only reboot. That happened before from time to time but now it does daily and many times. Is there any solution for this?
[Milestone 2 Android Development] chopdi:
No mobile data connection here.....when i shut down data con. And than i enable i got con. For 3 secs.than......down
[Milestone 2 Android Development] Anonymous_:
I had this issue too and I'm happy to see I was not alone....

So for me changing baseband via that "Plus" chinese app and after that with Baseband changer from M2T did the trick... (baseband changer from M2T alone did not help - the key is that chinese app).

And you can get "Plus" app there http://xdaforums.com/showthread.php?t=1182050 (follow the instructions. In case the problem will stay, try other basebands - firstly with Plus and then with Baseband from M2T every time you will try any baseband).

I also flashed SBF, wiped data/cache etc. - but I think it was not necessary, I was doing it only because I did not know the solution back then.
[Milestone 2 Android Development] will5:
Reboot menu options should be fixed on next build.

Cant say so much about data or gsm signal, Im using this roms since my first build and never experienced a single hiccup in gsm or data.

That, btw, is coming soon :)
[Milestone 2 Android Development] will5:
Testing done.

2.1.6 Uploaded :)
[Milestone 2 Android Development] quocthanhjs:
thanks, Will5. Rom support GB kernel?
[Milestone 2 Android Development] will5:
There is no support for GB kernel. Guys, You have to ask for kernel update on miui forums, if miui team dont update this, there is nothing I can do.
[Milestone 2 Android Development] eltumbafelix:
ask the same thing in previous pages, this ROM is not going to be based on the kernel GB, this does not depend will5, if not the team of MIUI, all eyes are on ICS and I imagine that the team of MIUI also more that surely have to pray that when you leave this MIUI 4.0 kernel based on GB if not we can do downgrade are fried: P

sorry for my bad English :(
[Milestone 2 Android Development] diego-ch:
I've flashed with this rom,

everything is ok but if I use wifi or 3g_data the phone gets very hot, even when the phone is on sleep mode.

Do I need to modify anything else besides following the "how-to flash your phone" tutorial here on xda-developers?
[Milestone 2 Android Development] will5:
Use a cpu usage app and check if cpu stays at 100%. If stays at 100%, something is wrong wih your apps.

If you want lower temps, use m2toolbox and lower cpu frequencies.
[Milestone 2 Android Development] Schrotty35:
No Stock 2.3.4 Support to flash Miui. CM can this, why not Miui?
[Milestone 2 Android Development] Anonymous_:
Because it doesn't depend on will5, but on MIUI devs... as already said there http://xdaforums.com/showpost.php?p=21150703&postcount=613

And it is because CM is OpenSource, while MIUI is not I think.
[Milestone 2 Android Development] jambo89liam:
Does anyone's phone crash when they receive a phone call? Mines vibrates once and when you try to unlock, nothing responds.
[Milestone 2 Android Development] hexagram:
Not for me on 2.1.6

---------- Post added at 02:01 PM ---------- Previous post was at 01:58 PM ----------

Hi,

I'm coming from Cyanogen and have some interrogations.

I'm not able to activate azerty settings for keyboard in MIUI.

I've tried the manual method i've already made in cyanogen without success (changing keychars and keylayout).

Does anyone know a solution before searching in this thread ? (even if the files are present, rename them doesnt have any effect)

Kind regards,
[Milestone 2 Android Development] hexagram:
Hi,

Does anyone know why, witgh this rom, the camera wake at startup ?

I'm afraid it could take a picture at each startup :-( (i'm hearing the mechanical thing)
[Milestone 2 Android Development] will5:
Yep, it takes a picture of you to see who is touching it :D

It´s because google apps. Since gtalk video was introduced to google apps, all roms makes this camera sound at startup. If you dont want to hear that sound, just uninstall gtalk.

About azerty, Im not sure, I replaced all kb files with the new ones, renaming should work :(
[Milestone 2 Android Development] hexagram:
For gtalk i found how to disable it at startup, thks

About keyboard, you're renaming qwerty.kl in keylayout and keychars, right ?
[Milestone 2 Android Development] hexagram:
Hi,

I confirm you the modification of werty.kl and qwerty.kcm.bin doesnt make any change in your rom. Maybe you can discuss with tezet and endless that have already address this issue on CM7 and 9 ?

The rom is the most valuable for me but if i can't change the physical keyboard issue, i will stop using it :-(

Kind regards,
[Milestone 2 Android Development] will5:
There is some info about changing kb files a few pages back. Some users are using qwertz and azerty configurations with this rom. Try to do a search, or also you can try any kb files from any cm7 rom
[Milestone 2 Android Development] phoenix117:
An easy way to change keyboard to azerty :

download attached zip and extract it to sdcard

install "script manager" from android market

run the script /sdcard/a/Clavier_FR_M2_MIUI.sh with script manager as "script" and with "root permission"

you will need to run it twice because first time it fails, asking for root permission, and next it works fine

then reboot and it will be Ok

script comes from http://forum.frandroid.com/forum/109-motorola-milestone-2-droid-2/
[Milestone 2 Android Development] Adamcheck:
Hi guys!

First, thanks "Anonymous_". He write a little resume for me to this rom, so I flashed it yesterday.

This is a nice rom, but i think some functions arent included.

For example, can I customize the "home, menu, back and search" button?

With cm7 I can and where is the option "quiet hour"?

So, can it be, that not all features from cm7 are included?

Another think, the music control with the vol buttons only work with the included musicplayer. :/

Is there any offical feature list and an overview for the settings?

--- EDIT ---

I used the launcher pro and I installed it from the market (no CMW flashing). So I think the phone laggs a sometimes and is not so smooth.

Can I solve the problem?
[Milestone 2 Android Development] ggomes:
Just upgraded to the recent version and it is pretty awesome.

The only issue i've got is that the clock is a little crazy. It seems to get frozen everytime the screen turn off. It happens with all clock widgets, with the dock app, lockscreen and sometimes even status bar. It get refreshed again only if I use the launcher or slide down the status bar.

Any clue?
[Milestone 2 Android Development] DreadPirateDan:
Alot of people report that Launcher Pro is laggy, I found it very laggy also. Go Launcher is decent from my experience. Plus making sure your previous launcher isn't running in the background hogging your ram would be a wise move :D

I've always wondered about the custom soft key thing, but considering it under seeing Cyanogen Mod settings.. pretty sure it's only for CM. But if your just installing a new launcher over the top of miui anyway, why not just go cm7?

I feel the heart of miui lies in it's launcher and themese. Then the cool features like the home button flashlight and data monitor are just cool bonuses ;)
[Milestone 2 Android Development] will5:
The clock problem could be related to android going out of memory and closing the clock app, so the clock looks froze.

Dont know if clock could be put on the "force to stay on memory" thing.