yashsingh1/xdaforums huggingface dataset:
[Milestone XT720 Android Development] scumm_boy:
Hey Dexter, I have one small beef with your 1.2 (stock and patched) ROMs... the corporate email apps don't seem to like newer Microsoft Exchange installs.

I have found a version that I've verified to work with Exchange 2011 and was wondering if you could include it in future versions of your ROM?

Working Email.apk
[Milestone XT720 Android Development] Dexter_nlb:
if it works with the framework, yes.. i actually though the ServicePack addon for exchange was still not supported by android ? but ok, ill see if i can add it..
[Milestone XT720 Android Development] scumm_boy:
The stock Email.apk will always fail on Querying Incoming Server and any settings I change have no effect on making it connect. The one I linked to will connect to my Exchange 2011 server without a single error.

Hopefully it does work with the framework!
[Milestone XT720 Android Development] spiderx_mm:
it's UK 2.1 for V10. :) I've already done.
[Milestone XT720 Android Development] khalpowers:
also problem with me...can't open root explorer..how can i restore my backup from my backup pro??...:(
[Milestone XT720 Android Development] khalpowers:
1st version smoothly but this version get stuck when to install apps....ermmm...internal low...sd problem...
[Milestone XT720 Android Development] ronnbon:
so I tried it also and had a another kind of problem...

I flashed korean sfb and rooted it but now I don't have internet access- no wifi and no mobile net- so I cannot install any apks because I still don't have a file manager at the phone.

I tried to install with adb- but I am not very experienced with this and it fails..

I am sorry for that stupid question- but how can I install an apk via pc? :(

Or shouldn't I flash the korean sfb and use the uk.sfb instead? I am really confused now- uk.sfb or korean sfb...?
[Milestone XT720 Android Development] ghostboy:
Thanks for your prompt reply.

So it is not a XT720 2.2 rom modified from Korean 2.2 rom, only with the 2.1 UK rom modified in order to get "All functions" of 2.2 rom, right?
[Milestone XT720 Android Development] khalpowers:
u just flash to uk sbf...then apply the new release nandroid by dexter...any 2.1 sbf actually can...no need to reflash if u on 2.1 ..just do nandroid...
[Milestone XT720 Android Development] metalizer2000:
we must be patient,wait for another release from dexter for fix it
[Milestone XT720 Android Development] khalpowers:
but gud news adrioni open recovery tweak also can apply...so now my internal goes to 167 back when aplly adrioni mem hack...:)

when im install angry bird surprisingly only take 1.85mb space on internal ....hehe..
[Milestone XT720 Android Development] khalpowers:
yeap....i know dexter can do it!!...hehehe:D..
[Milestone XT720 Android Development] khalpowers:
milestone overclock cannot be load on this version...report in...

the best thing stock speed @720 not like 1st release by dex @600..

with stock speed i can get quadrant at 1100...:).
[Milestone XT720 Android Development] gommers1978:
Phone.apk is only in english not other languages?

In previous dexter version it was in other languages, is it possible to include the one with other languages?
[Milestone XT720 Android Development] gommers1978:
I run with milestone overclock on this version at 1000 at 56 VSEL
[Milestone XT720 Android Development] Dexter_nlb:
the problem with what SBF, is what is "normal" for the current androidOS.

in 2.1 /sdcard is normal.. in 2.2 /mnt/sdcard is standard.

my OpenRecovery modification uses /sdcard/ as default, so it fails for some to install i think..

the image is still 98% korean, but kernel is the uk2.1 which is xt720 compatible and not motoroi compatible.. but kernel is the same no matter if its 2.1 or 2.2 here. Motorola just added such 2.2 function in 2.1, which i added as module options.
[Milestone XT720 Android Development] khalpowers:
yea...now can load after reroot back my xt..thats bcoz i apply optimization kernel ...:)
[Milestone XT720 Android Development] Dexter_nlb:
its actually Contacts.apk which has different language support.

so depending on which language, it might now be there.. there was some issues with crashing in russian so i replaced it, but there was other lang. supported.
[Milestone XT720 Android Development] gommers1978:
Also Dutch language? Because i get Phone and Contacts and not the dutch translation anymore now.
[Milestone XT720 Android Development] gommers1978:
I see that nl is not in contacts.apk anymore
[Milestone XT720 Android Development] Dexter_nlb:
ill upload the old apk later, so its original.. the other apk should have been "the addon".. as it has some other languages supported.

post #1 install instructions updated.. depending on which stock sbf you got, i tried to explain it on that.

the readme.txt in the zip was made before i was made aware of the 2.1 vs. 2.2 sdcard issue.

its actually normal for a 2.2 to link /sdcard to /mnt/sdcard.
[Milestone XT720 Android Development] gommers1978:
Dexter, i have edited the contacts.apk and added dutch to it so i now allso have dutch language in contacts.apk.

another question: is it allso possible to get the "media" key to work again (start gallery/camera/video) Thx so much for all the progress you made till now!
[Milestone XT720 Android Development] Dexter_nlb:
1. What is media key (the very small one?)

2. if you hold shutter button for 1 sec, it starts camera (might be new "milestone" feature as it only had 1 button)
[Milestone XT720 Android Development] reverendkjr:
I see a lot of talk about email and exchange, but is anyone having problems with gmail? I am running 12b, and when I open certain emails, it shows it for about 5 seconds, then takes me back to my inbox. I am starting to think there is a correlation with images in the email that causes the problem. Possibly replaying media gallery would fix? Any thoughts?
[Milestone XT720 Android Development] Mioze7Ae:
I have this problem in 1.2a+b, too and I observe the same correlation with media or attachments. Unfortunately, I've moved back to 1.2 and can't remember which emails were causing the problem but nothing currently in my inbox does this in 1.2. I haven't been back on 1.2 long enough to assert that the issue doesn't exist here. My other theory was that it could be related to dalvikvm memory limits and/or garbage collection. I had tried tweaking/disabling Autokiller but it had no effect. I really should have starred that message...
[Milestone XT720 Android Development] scumm_boy:
I had that problem in 1.2b, but I backed down to 1.2 stock for the Mediascanner fix, and I haven't noticed that. I've also noticed a lot less browser crashes.
[Milestone XT720 Android Development] Mioze7Ae:
In testing, I've discovered that there may be a problem with this approach. The way the autodetection currently works in the busybox mount command is that a mount is attempted with each filesystem one by one until one works. The problem is all the ext filesystems are upward compatible. So, for example if you have an ext2 partition and you've configured your modules such that ext4 is first, it will be mounted ext4. The filesystems are even backwards compatible so for example if you have an ext4 filesystem and the first module is ext2, then it will be mounted as ext2.

I found some posts in the busybox mailing list from around December saying that they have added support for the blkid command in busybox to detect and report filesystem types just like it does on linux already. I don't know how to build busybox.

Our busybox seems to be v1.15.2, but v1.18.3 was released Feb 8 and may have the working blkid so we could properly support detecting the desired filesystem. Does anyone know where to find a newer busybox binary?
[Milestone XT720 Android Development] 3rdstring:
What about this?
[Milestone XT720 Android Development] waltson:
What about the Busybox-Version Titanium Backup is suggesting to install?

Cause i did this while using TB, and now there are two versions, one in the root of the sdcard, and another one somewhere else (have to look up).
[Milestone XT720 Android Development] Mioze7Ae:
Duh. Why didn't I think of that! I'll check it out.

Edit: The busybox app does download 1.18.3, but unfortunately it's missing the blkid module.

It looks like titanium backup downloads a 1.16.0 version. Thanks for the suggestion!
[Milestone XT720 Android Development] ivan_helsin:
Guys, I have 1.2 + b patch + xavwanted patch, and now i'm able to shot HD video, but i cant play it, so have anybody Media gallery.apk or some patch that can help me?
[Milestone XT720 Android Development] Mioze7Ae:
The videos don't seem to play in MediaGallery, but they do play in the 3D Gallery called "Gallery" in the applications list. You can get MediaGallery.apk here: http://xdaforums.com/showpost.php?p=11221216&postcount=722
[Milestone XT720 Android Development] ivan_helsin:
@Mioze7Ae, it works fine, thanks to you ;)

now i feel my 1.2 build pretty complete- no more lags or issues (yet :)

everything smooth and fast enough on 720MHz
[Milestone XT720 Android Development] 3rdstring:
When I tried out xavwanted's ROM the videos played in the Media Gallery app (?)
[Milestone XT720 Android Development] Mioze7Ae:
Maybe xavwanted has even more secrets! I'll take a look.
[Milestone XT720 Android Development] ivan_helsin:
yep! in 1.2 it plays too
[Milestone XT720 Android Development] metalizer2000:
with OMX lib from xavwanted,my quadrant 3d score increase to 716 at 1ghz clock,at stock clock 720mhz 3d score is 609
[Milestone XT720 Android Development] Mioze7Ae:
Unified 1.2 bugfix patch

xavwanted's MediaGallery.apk works (the one I was using came from 1.1a). I'm attaching the working one.

I've started collecting all the bugfixes we find into a single patch that can be applied directly to 1.2 (not 1.2a). The idea is that perhaps collecting these in one place could help Dexter decide if he wants to incorporate them in his releases. The source is on:

https://github.com/Mioze7Ae/XT720-patch

stock221v12-bugfix-1.zip contains:

xavwanted's libOMX and MediaGallery.apk which seems to fix HD recording and playback

Riley600's interactive governor fix

Dexter's 1.2b callwaiting fix

kousik's mount-o typo fix

My suggestion to move /oc to /system/oc

Not included yet: a Milestone Overclock persistence fix. It's easy to get this working if we completely forget about supporting the /sdcard/oc-settings file but then you can't easily set custom frequency and voltage tables.

My current idea is to parse out the settings from Milestone Overclock's preferences saved in an xml file under /data/data/. Given the risks of getting the values wrong and damaging the phone I've made the parsing extremely strict. The problem is there is no good way to signal a parse error to the user of the layout of the file changes. I'm close to a working version.

Things that I'm thinking about and/or working on:

ext3/ext4 support (previous approach wasn't really working)

Link2SD support (not really a bug and Link2SD is changing rapidly)

Moving dalvik-cache (not really a bug)

Why 1.2 and not 1.2a? Because it seems that fixing HD recording on 1.2 is easier than fixing media scan on 1.2a. Also, the consensus seems to be emerging that 1.2 is more stable than 1.2a overall.

Please let me know if I've forgotten something.

I know there's a report of a corporate email fix, but I can't test that. Should I include that or wait for independent confirmation?
[Milestone XT720 Android Development] ktylife:
Same problem here.
[Milestone XT720 Android Development] exist2resist:
Original ROM for WINDmobile

Hi I was wondering if anyone could direct me to the original ROM for the the XT720 on Wind Mobile in Canada?

I saw a link somewhere linking to a bunch of ROMs, however I am not sure which to use.

Your help is appreciated, thanks.
[Milestone XT720 Android Development] cdstewart:
Are you sending it in for warranty or something?

If not you can just flash other software, I'm use the UK one when I need to go back to 2.1
[Milestone XT720 Android Development] exist2resist:
No I just want to bring it back to stock for the time being, Dexter's is good and all but there are some features that I'm missing that I would like to have back.
[Milestone XT720 Android Development] cdstewart:
Just flash the US/UK firmware then
[Milestone XT720 Android Development] exist2resist:
Cool thanks, will do. Will i need to do something special or can I flash it like I did Dexter's 2.2.1?

Do I need to do factory wipe/reset?
[Milestone XT720 Android Development] cdstewart:
You will need RSD lite 4.6 (google for download) *PC only no mac ver.

The 2.1 firmware (somewhere in this thread)

check this guide out:

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

It looks intimidating at first but is actually pretty easy.
[Milestone XT720 Android Development] ivan_helsin:
2.1 ROMs are here:

http://xdaforums.com/showthread.php?t=953863
[Milestone XT720 Android Development] Dexter_nlb:
with the patches posted and with the changes to the email and a small bootanim made by a contributor (helmi666) , just to clear little air and to honor the patches by Mioze7Ae , the release is being updated to 1.3

so the confusion calms down, as the patches seems to solve current issues, except radio for now..
[Milestone XT720 Android Development] Mioze7Ae:
I'm testing bugfix-2 that adds support for Milestone Overclock persistence, selectively moving dalvik-cache, app-private, app to /sd-ext. Link2SD 1.5.1 plays nicely with /sd-ext so support for that using a bind mount is also included. I couldn't figure out how to autodetect filesystem types, so I added a /sdcard/sd-ext-options file for explicitly overriding. I'll describe this better later when I update the README. Basically you just create directories on /sd-ext to control most of it and you just put the text "ext2", "ext3" or "ext4" in the /sdcard/sd-ext-options file if you want to override the auto detection.

The hopefully final code for all of this is up on https://github.com/Mioze7Ae/XT720-patch but I'm not ready to release stock221v12-bugfix-2.zip until I finish some extensive testing this evening (deleting sd partitions and such). So, probably finalized latest 6 hours from now.

Edit: Oh, I see you were announcing the release! Sweet, I'll port the rest!
[Milestone XT720 Android Development] hellmonger:
v1.3 Niceeeeeee very fast.... like like like! still testing!
[Milestone XT720 Android Development] reverendkjr:
1.3 does not have the same results as xavwanted's rom. Quadrant is inferior in 1.3. Maybe xavwanted has something else in his rom that is special. The FPS in this 1.3 during the rotating moon portion of the test is only 11-13, whereas xavwanted's rom gives up to 40 FPS on his. Major difference.
[Milestone XT720 Android Development] punk_lh:
http://dext3r.komodin.org/xt720/patchv13.zip

This link is not work.
[Milestone XT720 Android Development] Mioze7Ae:
xavwanted has a tweak in /system/lib/egl/egl.cfg. xavwanted uses:

1 1 android
0 1 POWERVR_SGX530_121

whereas 1.2 (haven't had a chance to check 1.3 yet) uses:

0 0 android
0 1 POWERVR_SGX530_121

I've found quite a few places discussing things like:

0 1 android
0 1 POWERVR_SGX530_121

Which is said to make some games faster, but which is also said to cause instability in other applications. So people were toggling this back and fourth before and after playing certain games (I'm not a gamer so the names of the games meant nothing to me). Supposedly this is what the sources have to say about the matter:

#
# One line per configuration, of the form:
#
# D I TAG
#
# D: display (0: default)
# I: implementation (0: software, 1: hardware)
# TAG: a unique tag
#
# The library name loaded by EGL is constructed as (in that order):
#
# /system/lib/egl/libGLES_$TAG.so
# /system/lib/egl/lib{EGL|GLESv1_CM|GLESv2}_$TAG.so
#

I don't understand these settings. Specifically, I don't understand what the first column of numbers does or why xavwanted changed it.

You can try changing your /system/lib/egl/egl.cfg and let us know if you see any improvement.
[Milestone XT720 Android Development] spiderx_mm:
I'd suggest you to install Steven Lin's Gingerbread Keyboard. It should solve your problem.
[Milestone XT720 Android Development] Mioze7Ae:
Try http://dext3r.komodin.org/xt720/xt720v13.ZIP
[Milestone XT720 Android Development] reverendkjr:
I pushed a new egl.cfg with the suggested settings and that did give me the exact same results in quadrant as xavwanted's rom. I will continue to test to see if I can find any other differences or things that need to be addressed. I still find it a bit annoying that I can't replace the slide unlock with a pattern unlock. Does anyone want to take on that challenge?
[Milestone XT720 Android Development] reverendkjr:
I overclocked 1.3 to 1200 Mhz using Milestone Overclock

Got 1492 in quadrant, which is on par with my results from xavwanted. This is using the egl.cfg file that Mioze7Ae suggested.

I got 16.42 MFLOPS in linpack which is significantly higher than any other rom i've used so far. The highest I got on xavwanted's rom was 13.97.

I also did some video testing. SD video records and plays great through the gallery. HD records, and plays in gallery, but its horribly choppy. I transferred the video files to my computer and noticed that they play fine. I also noticed that while the HD video recorded 1280x720 with a bitrate of 5000kbps, it only records at 21 frames per second. I believe that at one point the eclair build was giving us 30 FPS. I know that this is nitpicking, but I just noticed it and thought I would report my findings. So far, everything else seems to be running smoothly. I will continue to test.
[Milestone XT720 Android Development] Mioze7Ae:
I may be hallucinating, but after testing video and recording for the last few days, I've come to suspect that recording quality and playback are both more sensitive to vsel than other operations on the phone. I usually run at 900/56vsel but during testing of a fix to the overclock persistency I was at 800/66vsel (happened to be a one of the defaults in MO) and I could swear the videos looked better. I haven't had a chance to systematically examine this, though.
[Milestone XT720 Android Development] reverendkjr:
I just did some more testing. I tried with 800mhz//66vsel and there was a very small quality difference with that setting. I did also notice that HD video recorded with that OC setting was recorded at a slightly lower bit rate and FPS as well. This might account for the appearance of smoother video.

Can we maybe move away from the 3gp shell? I thought at one point we were able to record in m4v or mp4 format. The audio on the HD video is only 16khz mono which is ridiculous for HD quality.
[Milestone XT720 Android Development] R-D:
Eclair recorded HD video as a .3gp also.

The frame size is 1280x720, and the FPS averaged about 20 with stock settings.

Data and total bitrates were about 4900kbps.

Audio was 32kbps, 126kHz single channel (mono).

So it sounds like its using the same settings still as stock.

24fps is the ideal setting for 720p video, but not sure how much that can be tweaked though as it will be highly dependent on sdcard being able to keep up with the bitrate being recorded.

This may account for some dropped frames.
[Milestone XT720 Android Development] TG2008:
1.3

Making the Impossible, possible :)

Very slick.

I'm liking it~
[Milestone XT720 Android Development] R-D:
d3xter or Mioze7Ae - can you explain why in 1.3 the /sdcard/oc-settings file keeps getting reset to a blank 0-byte file?

After installing 1.3 it seems that it runs default at 550/56vsel and does not obey my oc-settings file, and actually wipes the file completely.

Is there a new filename/location/process I should be using?

Thanks.
[Milestone XT720 Android Development] reverendkjr:
I've been playing with the camera most of the night.

I've found an app called lgcamera. It's available for free in the market, and it allows you to play with all of the different settings, such as format, resolution, audio bitrate, etc. it's not a very user friendly interface and is very cluttered, but I was able to fiddle around with settings and produce an .mp4 video with better audio and slightly better video. One thing I noticed is that no matter what I set the app to, I couldn't get more than 21fps. I think there may be a camera lib in our build that is limiting our camera from doing better.

Maybe someone with a better knowledge of camera libs can tweak/change them to allow a better fps or maybe even allow our stock camera app to record better video.
[Milestone XT720 Android Development] Mioze7Ae:
I can't reproduce this. :( Make sure you have unix line endings (for example using Notepad++ if you're on windows). I can't find any reason the file would disappear unless perhaps the FAT is corrupt. The code that manages the oc-settings file hasn't changed in 1.3.

Can you try this:

Boot OpenRecovery.

Use OpenRecovery USB access to create the file (or adb)

Reboot back immediately into OpenRecovery (i.e. don't give the boot scripts a chance to run)

Use OpenRecovery USB access (or adb) to verify the file is still there/has content

Reboot to system and see if the files is still there/has content

Check if settings were applied
[Milestone XT720 Android Development] Mioze7Ae:
Thanks for looking into this. Do you have Cincinnati Bell's class 2 card or a different one? I can try tomorrow with a class 10.
[Milestone XT720 Android Development] reverendkjr:
I have an 8gb class 4 in it right now. I haven't decided on a better card yet. I wasn't sure if our phone would even benefit from a class 10. I was thinking about getting a 16gb class 6.
[Milestone XT720 Android Development] Beako:
I'd help test the camera since I have a 16GB class 6, but I'm waiting for a more.. clean release.
[Milestone XT720 Android Development] R-D:
I have been editing the file in Ubuntu, the line feeds are fine.

I deleted the file completely and recreated it - now it doesnt get wiped to 0-bytes. But now as soon as the phone mounts the SD card on startup the phone locks up completely. I rebooted a few times with same result.

I had to pull the card, let the phone boot, reinsert the card, connect phone to system, delete oc-settings file, and then reboot and it finally boots ok.

Can you or anyone post a working oc-settings file and I will try it with no modifications to see what happens.

Also, it seems that even though Milestone overclock is not checked in its options to load on boot, it still seems to load on every boot as the "Unload module" button is there, not "Load module".

I would prefer it not load on its own unless I have set it to do so as I usually just use it on demand. Is there a way to disable this?
[Milestone XT720 Android Development] Mioze7Ae:
#!/system/xbin/busybox sh

echo 66 > /proc/overclock/max_vsel
echo 800000 > /proc/overclock/max_rate

# date > /data/local/tmp/oc-settings-was-here

So, are you using oc-settings to only set the frequency tables? If you delete oc-settings the overclock module won't be loaded by the boot process, but Milestone Overclock's autoload preference will start working.

You can edit /system/oc and remove the overclock part (or stay tuned for system221v13-bugfix-1 and then delete /system/etc/init.c/05_overclock).

(I also use Ubuntu--I've learned it's very, very easy to corrupt your FAT partition if you forget to unmount the drives in Ubuntu before you switch to charge only mode or before you yank the cord. Even if you sync which I thought was safe.)