yashsingh1/xdaforums huggingface dataset:
[Milestone XT720 Android Development] phantnang:
out tv through 3.5 AV port, please.

by the way, u can play game, play youtube, web browsing... on HDTV....
[Milestone XT720 Android Development] Dexter_nlb:
tv-out though av-out is no priority as already now alot is affecting stability and the more 2.1 libs used to "fix" problems, the more you get unstable 2.2.1 as those are really not made for this model..

so im jumping between 1.1b - 1.2a for now, and somehow it offers different requirements for different users.

finally 1.1 still gives language support, and some prioritize that..

3.5 av out is no a priority for a model with hdmi.
[Milestone XT720 Android Development] phantnang:
thank master, i'm waiting for you with soon update
[Milestone XT720 Android Development] raidontaro:
Hi dex.

I found something strange.

After receiving approximately 200 sms.

I have an intermitten problem, I didn't receive any sms untill I send one sms to the person who is sending sms to me.

For example

I text to A.

A send his reply and have a report that his message has been sent.

I won't receive any message from A untill I sent him another message...

Any idea why this is happening?

Thanks
[Milestone XT720 Android Development] Dexter_nlb:
sounds like a motorola bug to me.. its still based on a leak edition of a future 2.2.1 release from motorola, since its not official anything can happen which might not be normal.
[Milestone XT720 Android Development] hellmonger:
no =no problem

Widgetsoid has a button to force mediascan i don't know why but it make the libraries work....
[Milestone XT720 Android Development] ultra88:
hi there

finally upgrade to 2.2... but seen the one i use most " voice dialer" is missng.. anyone can send me apk ?
[Milestone XT720 Android Development] pritesh_100_in:
please can some one provide me with the 2.1 sbf files ( UK . asia or any ) i formatted my pc now i am stuck with blur on my xt720
[Milestone XT720 Android Development] Dexter_nlb:
put this one into your fav's
[Milestone XT720 Android Development] waltson:
The links doesn't work anymore there :(

Someone put the UK one here, seems to work.
[Milestone XT720 Android Development] waltson:
too bad, not for me... still no new added mp3-playlists appear in the musicplayer, the songs are there, but not the playlists, hm..
[Milestone XT720 Android Development] Dexter_nlb:
did you try creating one and locate where it is placed, this is not 2.1, so might be differently handled by os.
[Milestone XT720 Android Development] waltson:
oh, thx, but thats not how playlists work for me.

I put every mix in it's own directory, along with it's belonging .m3u-file (w/o any path). So i can use them on every device independently.

PS: Switched back to v1.1 + 1.2b-patch and it scanned the new playlists just fine.
[Milestone XT720 Android Development] Riley600:
I'd like to use the interactive governor in SetCPU but also get the instant freezing of the phone. Does anyone have any suggestions for enabling it (I though Dex provided an interactive governor in one of the releases) or getting SetCPU to work (I'm currently using CPU Tuner).
[Milestone XT720 Android Development] hellmonger:
I have been able to get Droid OC working very fine with V1.1b
[Milestone XT720 Android Development] TG2008:
Interesting things I noticed...

Well,

Having had the latest installed I decided to go back to 2.1 to compare some things...

-Wifi is solid on 2.1, but I get constant drops/reconnects with the 2.2 releases all the time (while streaming shoutcast), really frusterating.

-Txting: for some reason I don't get word suggestions on 2.2 releases, but I get them in 2.1 (language pack?)

Otherwise I'm liking everything thus far.
[Milestone XT720 Android Development] Mioze7Ae:
SetCPU with interactive governor works for me as far as I can tell. I didn't do anything in particular to get it working other than to install SetCPU. Anyway, the SetCPU GUI says it's working and I see the su authorization after start up. How do you validate that it actually is running? It's one of the first things I install and I've never had "instant freezing" after enabling SetCPU or the governor with any of these ROMs.
[Milestone XT720 Android Development] 3rdstring:
I use set CPU but my governor is on demand. I'm not sure what the interactive governor does(?).
[Milestone XT720 Android Development] Mioze7Ae:
Ooops. I misread, I thought "interactive" was "on demand". Selecting interactive in SetCPU does indeed instafreeze the phone.

Edit: Oh man, that's really ****ty. As soon as SetCPU loads it freezes and reboots. Looks like I have to factory reset, re-nandroid, or figure out something clever in OpenRecovery to prevent SetCPU from loading at boot. Maybe if I delete the apk or data directory...
[Milestone XT720 Android Development] waltson:
I don't know SetCPU, but maybe it just rewrites this file:

/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
[Milestone XT720 Android Development] reaperzero:
just a quick one. has anyone noticed that custom ring tones for contact dont really work? it just jumps to the default ring tone instead
[Milestone XT720 Android Development] 3rdstring:
The SetCPU widget shows the changes in frequency as my battery level drops.
[Milestone XT720 Android Development] waltson:
When modding your device, it's better to use something independent for your personal dictionaries. I use User Dictionary Manager (Market) and lists of most used words from here (10 000 engl.).
[Milestone XT720 Android Development] kousik:
Titanium backup didn't get root privilege

I tried titanium backup for root (3.7.0) with Dex's 1.2b, and on startup it complains about not getting root privilege (and busybox). But sure enough I have superuser and busybox present. Even milestone overclock attains root privilege when it wants to. Anyone faced problem with titanium backup and 1.2b?

EDIT: I updated "su" via su's own check for update menu and it seems to be working.
[Milestone XT720 Android Development] d23wilson:
hi dext,

can we start off by flashing the US ROM and then going to 1.1 of your version.

reason i ask is that the US rom had the best camera functionality...smoothest recording i had expeirenced for the XT720.

if this is possible, then i reckon i would be content...i still finding the 1.2a HD cam choppy on HD, but on SD its fine. But i know when i was on rooted 2.1 with US ROM the cam was pretty good.
[Milestone XT720 Android Development] Knoedelkopf:
@d23wilson

Is the US rom that you mentioned the same as the korean rom?
[Milestone XT720 Android Development] vesko321:
The sub-links doesn't work:

"Not Found

The requested URL /download/STR_U2_02.18.3_UCASHLSTABB1B4DEMA033.0R_UCASHOTBRTLRTFR_P013_A006_HWp3_1FF.sbf.gz was not found on this server."
[Milestone XT720 Android Development] TG2008:
Yep. Motorola has removed all firmwares :confused:

Any new links?
[Milestone XT720 Android Development] R-D:
Some of the missing SBF files can be found in this thread:

http://xdaforums.com/showthread.php?t=953863
[Milestone XT720 Android Development] d23wilson:
No, but i am saying this not from knowledge based on me looking into the files, just from the user experience. There seems to be loads of things different....but the most important thing for me, which is why i wanted this upgrade so badly was a better video cam and camera experience. The US rom offered the best of the video cam.

Seeing that originally we were working off the korean rom and upgrading that...then dexter to overcome certain bugs from the korean rom, worked a solution which saw us load the UK rom first and then his nandroid backup..i am just curious as to whether applying the US rom (instead of UK rom) first would be stable for his solution to get to 2.2. And also hoping that whatever the US rom had different for vide cam is not impacted ...although i am sure it would not be, because i originall had the UK rom and it was pretty choppy..and after installing 2.2 i find it still is...i thuoght it was better for sometime, but then i noticed it had gone back to SD cam quality..LOL... which has never been a problem really with choppiness...just does not look as great on the big screen.
[Milestone XT720 Android Development] 3rdstring:
I started with the US CBW firmware. I don't know if that will solve your issues as I find the 720p recording kind of choppy.
[Milestone XT720 Android Development] d23wilson:
Dang...thanks for letting me know..i might still give it a go when i have spare time. :)
[Milestone XT720 Android Development] Mioze7Ae:
I think dexter's nandroid replaces the kernel (boot.img). In any case the md5 sums of boot.img don't match either the US or UK versions so I'm pretty sure he had to make changes there. I don't know how to do this, but maybe it's as simple as pulling out the updated boot stuff from dexter's boot.img and combining it with the US kernel?
[Milestone XT720 Android Development] khalpowers:
[YOUTUBE]y_s4hYl347o[/YOUTUBE]

is it too bad my hd recording?..:)
[Milestone XT720 Android Development] Dexter_nlb:
when you think of the mobile being pretty lousy at recording, this one actually looks quite good..

when i compare this to a panasonic HD camera the stutter when moving it is all about shutter speeds and the optics and buffering is simply not made for such professional recordings, so i would rate your recording pretty good! (when i still think of it taken with a mobile)

My Samsung SGS still dont do the perfect job, but i don't mind, its just a mobile..
[Milestone XT720 Android Development] Mioze7Ae:
Does it matter that the build.prop's (both in boot.img and in /system/ramdisk.tar) are missing these stanza's present in both the SK, US and UK ROMs?

ro.media.enc.hprof.file.format=mp4
ro.media.enc.hprof.codec.vid=h264
ro.media.enc.hprof.codec.aud=aac
ro.media.enc.hprof.vid.width=720
ro.media.enc.hprof.vid.height=480
ro.media.enc.hprof.vid.fps=25
ro.media.enc.hprof.vid.bps=3000000
ro.media.enc.hprof.aud.bps=96000
ro.media.enc.hprof.aud.hz=16000
ro.media.enc.hprof.aud.ch=1
ro.media.enc.hprof.duration=60
ro.media.enc.lprof.file.format=mp4
ro.media.enc.lprof.codec.vid=m4v
ro.media.enc.lprof.codec.aud=amrnb
ro.media.enc.lprof.vid.width=320
ro.media.enc.lprof.vid.height=240
ro.media.enc.lprof.vid.fps=15
ro.media.enc.lprof.vid.bps=200000
ro.media.enc.lprof.aud.bps=12200
ro.media.enc.lprof.aud.hz=8000
ro.media.enc.lprof.aud.ch=1
ro.media.enc.lprof.duration=30
ro.media.enc.file.format=3gp,mp4
ro.media.enc.vid.codec=h264,m4v,h263
ro.media.enc.aud.codec=aac,amrnb
ro.media.enc.vid.h264.width=176,720
ro.media.enc.vid.h264.height=144,480
ro.media.enc.vid.h264.bps=64000,8000000
ro.media.enc.vid.h264.fps=1,30
ro.media.enc.vid.h263.width=176,720
ro.media.enc.vid.h263.height=144,480
ro.media.enc.vid.h263.bps=64000,8000000
ro.media.enc.vid.h263.fps=1,30
ro.media.enc.vid.m4v.width=176,1280
ro.media.enc.vid.m4v.height=144,720
ro.media.enc.vid.m4v.bps=64000,8000000
ro.media.enc.vid.m4v.fps=1,30
ro.media.enc.aud.amrnb.bps=5525,12200
ro.media.enc.aud.amrnb.hz=8000,8000
ro.media.enc.aud.amrnb.ch=1,1
ro.media.enc.aud.aac.bps=8192,96000
ro.media.enc.aud.aac.hz=16000,16000
ro.media.enc.aud.aac.ch=1,1
ro.media.dec.aud.wma.enabled=1
ro.media.dec.vid.wmv.enabled=1
ro.media.cam.preview.fps=0
[Milestone XT720 Android Development] Dexter_nlb:
2.2 roms uses media_profiles.xml from /system/etc and not the build.prop entries.

but of course if the camera app is a remake of the 2.1 edition it could affect it. but then its motorola to blame for a bad korean release..
[Milestone XT720 Android Development] khalpowers:
i also quite surprise with this video..:)..with your froyo build my hd recording never pop up low memory even ram look decrease compare to 2.1...this video i take with my class 2 kingston..i can say if i go to class 6 hd recording is much2 better from this..the only one i missing now is Magnifying glass...:)..anyway this video can play through default media player with hdmi , and the video playback very nice on big screen..
[Milestone XT720 Android Development] Mioze7Ae:
Does anyone know if the media scan crashes on the Milestone running the Milestone 2.2.1 leak, also? If so, we should expect it to be fixed in the final 2.2 release by Motorola, right? Otherwise we'll need to keep hunting, right?

I've found two work arounds so far. The first is to reencode the 2.4 ID3 tags as US-ASCII using transliteration in EasyTAG (destroys accents, international characters).

The second is to re-save all the ID3v2.4 tags using EasyTag and enabling compression. The media scan doesn't understand the compressed ID3 tags and adds each folder as an Album with each track inside. This preserves the tags, but artists of course the ID3 tags aren't used at all. [Unfortunately you can't just compress the ID3v2.4 tags and also include an US-ASCII ID3v1--the media scan doesn't seem to try to read the ID3v1 tag after hitting the compressed v2 tags]

My theory is that once the scanner detects an ID3 tag, the first step of the scan looks for non-ASCII characters. If there's non-ASCII around it tries to head into lib_glossary.so. I think the illusive lib_glossary.so is related to internationalization support (perhaps even just encoding detection). If that's the case I expect the scan to also not work on the Milestone. Just sending ID3 2.3 tags (Unicode) kills the scan. Even selecting western ISO-8859-1 encoding causes the scan to crap out if any accents exist. The only one that seems to work is US-ASCII.
[Milestone XT720 Android Development] trajano:
Media scanner

Another work around I am thinking of but haven't really proven is to do the scanning myself and update the database. I found the database to be in /data/data/com.android.providers.media/databases/external-*.db. The database is a plain SQLLite database.

I also found that if I did the media scan from 1.2 (not a) which successfully scans and then load up 1.2a+b I have my media with international characters still. Of course it is not feasible to do that.
[Milestone XT720 Android Development] d23wilson:
yeah..good picture, but choppy as all hell...so not much we can do really. maybe get a different phone....dext any suggestions? like the Nokia N8?
[Milestone XT720 Android Development] 3rdstring:
Maybe one of you guys who knows what they are doing should check out this ROM. It seems to have both Media scan & 720P recording working. I don't know enough to figure out what was changed, but I don't have the media scan issue & 720P records & plays in the Media Gallery app. The 720P file is saved as a 3GP file, is that the standard file format?
[Milestone XT720 Android Development] Dexter_nlb:
3GP container is normally used for small videos and low encoding rates, so the quality lowers.. but it all depends on bitrates, which i guess was changed in media_profile setup or maybe just using the build.prop...

3gp could also work with the initial LGCamera release.

but it nice some started helping on the topics, if its helps , it helps.. :-)
[Milestone XT720 Android Development] ktylife:
Are there any chance we get some optimization on the memory usage policy ? :confused:

After exiting some "big" apps (GMaps, Web browser, etc), the phone heavily lags. Cannot remember if it was better with 2.1...

How could I log the activity to see what's going on and who is taking/releasing ressources... ?!

I am using the latest patch @1GHz.
[Milestone XT720 Android Development] Dexter_nlb:
1. if i understand you correctly, this one should actually go to Google?

2. if you want alternate ways of handling it, use Auto Taskkiller

3. and alot of other memory handling tools are found to assist and try to do better and adjust memory sizes as well (but i don't know the apps names, maybe someone else uses them)
[Milestone XT720 Android Development] gommers1978:
I am using Dexters 1.1 version for a while now without any problems. I think it is the best version so far. HD recording issues? What class SD card are u all using?

Have no recording problems with Kingston Class 10 SD card, phone clocked at 1GHz at 56VSEL.
[Milestone XT720 Android Development] vesko321:
I am curious how it will look on artificial light - post one taken in the evening inside the room ... mine is terrible, stripes ... etc. :mad:
[Milestone XT720 Android Development] ronnbon:
First:

second:

It is still a mobile phone- it never will be a 100% substitute for a real video cam- it's for spontaneous recording of precious moments/ sudden happenings and so on. If you are planning to do high qualitiy videos you should just take a real video camera... ;)

and last: In my lightweight opinion its not a perfect video- but for a short video memory of a great day at the zoo its perfect!
[Milestone XT720 Android Development] 3rdstring:
It produced a 720P 3GP file but at least in my little test it was very choppy. I also found Maps to be very unstable in xav's Rom so I flashed back to my trusty 1.2.
[Milestone XT720 Android Development] Mioze7Ae:
Ick. It does look pretty horrific in low light. Does non-HD recording work on 1.2b? If I set recording quality to SD or VGA I just get a black screen. Also, is it possible to play back recorded videos on the phone? What app do you use?
[Milestone XT720 Android Development] 3rdstring:
You should be able to play back the videos in the 3D Gallery app. (Gallery not Media Gallery)
[Milestone XT720 Android Development] Dexter_nlb:
i will look into the tweak he tested with using 3gp as container, it might a simple fix..

but its not actually the worst container, and it is supported on xt720, but normally just used with small resolutions. so im do believe xav found a nice solution for users here..
[Milestone XT720 Android Development] Mioze7Ae:
I noticed that although HD recording does work in 1.2b, SD recording doesn't seem to work?

Anyway, I went back to a virgin stock221v12 (a.k.a. 1.2) and applied the attached update that replaces the following files with xavwanted's versions:

/system/lib/libOMX.TI.AAC.encode.so

/system/lib/libOMX.TI.AMR.encode.so

/system/lib/libOMX.TI.JPEG.Encoder.so

/system/lib/libOMX.TI.Video.Decoder.so

/system/lib/libOMX.TI.Video.encoder.so

/system/lib/libOMX.TI.WBAMR.encode.so

/system/lib/libOMX_Core.so

With xavwanted's versions, recording and playback works at all resolutions (HD/SD/VGA/QVGA/QCIF) in 1.2. Given the framework problems with 1.2a, maybe 1.2+xavwanted's libOMX is the way forward.
[Milestone XT720 Android Development] 3rdstring:
Do I need to install the Media Gallery app to get your update to work?
[Milestone XT720 Android Development] Mioze7Ae:
I didn't install MediaGallery.apk when testing the recording/playback.

I haven't permanently moved in to 1.2 yet from 1.2b. Probably MediaGallery needs to be added to 1.2, though. Ronnbon reported trouble setting wallpapers and other things when it wasn't there and Dexter did add it to 1.2a. I think this was around page 71+.
[Milestone XT720 Android Development] 3rdstring:
I've been using QuickPic for setting wallpapers & such I think with the Media Gallery you can view the video right after taking it.
[Milestone XT720 Android Development] Riley600:
Will this work with 1.2b?

Secondly, I've been looking into the interactive governor and trying to figure out why it freezes when used (both in SetCPU and CPU Tuner for me). I found this webpage: http://android.doshaska.net/interactive

On that page, it states:

I looked on my device and from what I can determine the nr_running function exists at the address c005fad8.

If I run this command:

insmod /system/lib/modules/cpufreq_interactive.ko nr_running_addr=0xc005fad8

I get a failed (file exists) error. I'm not sure if that's because it's already installed at the correct address or if it's installed at an incorrect address. I don't know if or where Dexter has scripted the insmod function for the interactive governor.

I'm wondering whether it may state the wrong address and that's why my phone freezes instantly when trying to use the interactive governor? Does someone know where Dex has scripted the insmod for cpufreq_interactive.ko?
[Milestone XT720 Android Development] Dexter_nlb:
its loaded in the "ramdisk.tar", and if you remove it from init.rc, it should then work i assume? i have updated it here and will test later on.
[Milestone XT720 Android Development] Riley600:
Thanks for looking into it, Dex :)

I'll also play around with it here as well.
[Milestone XT720 Android Development] Mioze7Ae:
I don't think xavwanted's libraries will work on 1.2a. The 1.2b patch works on 1.2, though.

1.2a + 1.2b patch + xavwanted patch = no go.

1.2 + 1.2b patch + xavwanted patch = ok.
[Milestone XT720 Android Development] raidontaro:
So from 1.2a we need to restore nandroid to 1.2 first?
[Milestone XT720 Android Development] 3rdstring:
Yes, that is the way I read it. Start from 1.2 & apply the 2 patches. The call waiting patch & xavwanted's libs.
[Milestone XT720 Android Development] Mioze7Ae:
Correct.

The paths to the codecs are different in 1.2 and 1.2a because Dexter tried a different approach to fix HD recording in 1.2. The xavwanted patch I made won't work on 1.2a.
[Milestone XT720 Android Development] Mioze7Ae:
You can unload the module first, then it will work:

rmmod cpufreq_interactive
insmod /system/lib/modules/cpufreq_interactive.ko nr_running_addr=0xc005fad8

Warning: this will not survive a reboot. Make sure you disable "Set on boot" in SetCPU when playing with this and remove interactive rules when you are done or you risk a boot loop. After doing this SetCPU doesn't crash when interactive is selected. Thanks!
[Milestone XT720 Android Development] Mioze7Ae:
Here's a snippit for /oc that loads the interactive governor correctly (assuming the insmod is removed from init.rc):

adr=`grep nr_running /proc/kallsyms | cut -f1 -d" "`
insmod /system/lib/modules/cpufreq_interactive.ko nr_running_addr=0x$adr

Attached is an update for 1.2, 1.2a, and 1.2b that replaces /system/ramdisk.tar containing a modified init.rc and oc.

Warning: this patch replaces /system/ramdisk.tar. Unfortunately, changes there can't be modular. This means you will lose any changes you've made. In particular it is NOT compatible with the previous patches I made that move dalvik-cache or that enable Link2SD. The patch IS compatible with both the xavwanted patch and the 1.2b call waiting patch.

Thanks to Riley600 for finding the solution.
[Milestone XT720 Android Development] Riley600:
Thanks! So I take it that I was correct in my research and that the module referred to the wrong address originally?
[Milestone XT720 Android Development] Mioze7Ae:
Exactly! All I did was follow your instructions. You did the real work, making updates is trivial for the most part.
[Milestone XT720 Android Development] Canadaboy:
To the message on the front page - which is the best build: I've been running 1.2 with manually added back in MediaGallery. This is the best build so far for me - fully functional email: manually added program for .wav, and manually added mediaGallery for opening attached pictures - email is upmost important for me - till we get another bundled update.

I am very encouraged by the developer conversation going on in the last pages to resolve issues.

Again, thank you everyone. Getting my xt720 to 2.2 has been very important to me, and I highly appreciate everyone's work on it.
[Milestone XT720 Android Development] phantnang:
Dear Dexter!

i flashed my phone (MS XT720) with Korea's ROM and nandroid with 1.2a. Now, my phone has 3G, GPS, out TV through 3.5 AV port...but some sensor as:accelerometer, proximity sensor,compass not work.

Can u fix ?

Thank!
[Milestone XT720 Android Development] Dexter_nlb:
if you got that type of problem, you have a Motoroi korean model, so you need to revert to the korean rom, i make european edition for euro models.

so although you think its european, its sounds pretty much like you got a motoroi edition probably from ebay sold a euro model?
[Milestone XT720 Android Development] phantnang:
My phone is MS XT720, not a motoroi XT720.

I want TV out via AV 3.5 port, so i flash motoroi rom.
[Milestone XT720 Android Development] Dexter_nlb:
i posted the korean rom with sensors working in post #1? try that one