yashsingh1/xdaforums huggingface dataset:
[Milestone XT720 Android Development] metalizer2000:
i think i must do a fresh flash again from 2.1
[Milestone XT720 Android Development] 3rdstring:
I think what Dexter is saying is that going from 1.2 to 1.2a via the patch didn't work. You need to download the full 1.2a ROM.
[Milestone XT720 Android Development] 3rdstring:
I'm also seeing the misc app closing in 1.2a. Both the browser & pulse will just close out, no error message, like it did in 1.1a/b but did not happen in 1.2.
[Milestone XT720 Android Development] joe206hdi:
Flashing 1.2a directly didn´t work for me when loging screeen for google is there at first startup and taping on username field error comes up and .gapps closed- if i skip it and want to do a signin late same issue. -and yes i wiped

installing 1.2 and signin worked then the patch to 1.2a worked also.??

1.2a installed with patch workes fine

just the fmradio volume thing

and the not supported mediagallery won´t work

joe
[Milestone XT720 Android Development] islubio:
just tired my camcorder.

it works. i did a patch from 1.2 to 1.2a

video plays with default video player but not rock player.

Just tried playing video again. it says cant be open. seems like it works but not all the time
[Milestone XT720 Android Development] Mioze7Ae:
Good catch!

/system/lw/mot_boot_mode is a symbolic link to /system/bin/mot_boot_mode.p2.sh

I added the space to the mount call at the end of /system/bin/mot_boot_mode.p2.sh using adb (after remounting /system rw) and rebooted. That fixed it-- / came up ro
[Milestone XT720 Android Development] Mioze7Ae:
I had this exact same problem problem when I first installed 1.2 (not 1.2a). Re-nandroiding 1.2 followed by factory reset made it go away. So, maybe just try nandroid 1.2a followed by factory reset again.
[Milestone XT720 Android Development] kousik:
Thank you Dexter, if you tell me which script does it, I can do it myself till you release a patch. In fact I can save you the work by sending you the diff, which you can include. I see you already load jbd.ko and ext3.ko so just a mount type change should suffice.

And yes my card is slow. So many times when the phone chokes, it leaves my ext2 corrupted, and fsck from Linux finds lost files etc. But after I changed to ext3, the corruption went away, reading the card might have become slower but not perceivable.
[Milestone XT720 Android Development] Mioze7Ae:
It's the script called "oc" inside /system/ramdisk.tar

The contents of /system/ramdisk.tar repopulates / every boot, so you have to update the oc file inside /system/ramdisk.tar
[Milestone XT720 Android Development] drx64:
Thanx for the reply, I will investigate. ;)
[Milestone XT720 Android Development] kousik:
Many thanks. What I did is to change the order of insmod in `oc' (adb pull, untar, edit oc, tar back, adb push, reboot), first I insmod jdb/ext3 and then ext2. This changed the order of supported filesystem type kernel tries to mount (checked by cat /proc/filesystems), and now my sd-ext is mounted as ext3 :cool:
[Milestone XT720 Android Development] Dexter_nlb:
nice trick, ill add it
[Milestone XT720 Android Development] c_urbanek:
Khal,

how do you install the mem hack over Dexter's froyo? I downloaded all files & read the wiki, but can't figure it out.

Thx :confused:
[Milestone XT720 Android Development] kousik:
Motonav works fine

Okey just for the record, I extracted Motonav.apk that came with my original distro and installed it over Dex's 1.2a; and happy to report that it works without hiccup.
[Milestone XT720 Android Development] reaperzero:
did nuts for me :/ well atleast milestone OC works now. just have to manually turn it on every time
[Milestone XT720 Android Development] bigmouth:
If people have problems with the on-screen keyboard after reflash, try waiting a bit. Just flashed mine over this afternoon and waiting 5 min fixed a lot of fuzzy problems with the keyboard...

I know, I know, patience is a virtue.. just not wasted on me.
[Milestone XT720 Android Development] jetx10gerff:
I've tried all of Dexter's roms and still can't get the native media player to scan the sdcard for music. Are all the music files supposed to be in one special folder? cause on a stock 2.1 the player scanned the whole card. Also my photos don't get to show up in the media gallery and the galley. And lastly the sensor buttons somtimes don't light up, I need to cycle power button and 3G mobile hotpot don't seem to work. This is all for v1.2a rom
[Milestone XT720 Android Development] ronnbon:
because this is actually a solved bug you must have missed something while doing the nandroid restore... for example-did you do a factory reset after changing to 1.2 ?

and no, theres no special music folder needed.
[Milestone XT720 Android Development] jetx10gerff:
Yes, I did reset to factory default and it didn't help
[Milestone XT720 Android Development] ralfbonne:
In the first post:

Changelog v1.2a (Android v2.2.1 edition) Download nandroid image here

- 720P recording fix

- re-added old MediaGallery as Camera app requires it.

- there can be possible hickups with mediascanning (so you know)

that means:

Dexter: yes i can confirm the media scanner issue is back, the drivers are not 2.2.1 compatible somehow, either 720p runs or mediascanner do..

the bug isn't solved. Actually you must try third apps for music or picture
[Milestone XT720 Android Development] Dexter_nlb:
correct, its works and then not, JPG seems to be scanned fine, but when it comes to mpX files it somehow goes into a "crash" and do not conitnue always, but i have looked at the logs and it does indeed scan occasional, but indeed this 1.2a is not good, the library that fixes 720P also relate to mediascanner functionality.. so 2.2.1 needs correct media lib to scan properly, but 720P needs 2.1 library to record correctly, so i got a problem here..

my personal priority is that 720p works over media scanning as we cannot use another alternative for 720p, but we can use many other features to view/play mpX files.

this will be for now, a fix that do not seem to be resolved on the xt720 mod.
[Milestone XT720 Android Development] jetx10gerff:
I personally think that mediascenner is more of a priority since 720p on this phone is just a marketing feature and isnot even near to 720p and is laggy as hell
[Milestone XT720 Android Development] Dexter_nlb:
so its good you got 1.2 with mediascanner working and no 720p and another 1.2a which has 720p but less mediascannings functions :-)

at least changes were minor between 1.2 and 1.2a
[Milestone XT720 Android Development] fjfalcon:
Dexter, is there any progress with fmradio?
[Milestone XT720 Android Development] ronnbon:
I think so too- so I will stay at 1.2... but if there will be further patches or updates that relates to other important issues- will they follow up to 1.2 or 1.2a or will we have two seperated update-branches?
[Milestone XT720 Android Development] Dexter_nlb:
maintenance can be hard having to seperate branches, and im doing other projects too. but depending on how much more can be done within the limits of having the semi2.2 functionality, its might still be worth keeping both..

i removed 1.1 (2.2 edition) for now.. but maybe 1.2 and 1.2a should be the split so next is a previous post said see if fmradio is possible to solve, but might be another 2.1 conflict, i have not verified if the korean rom worked with radio support.
[Milestone XT720 Android Development] fjfalcon:
Korean rom works with fm radio correctly.
[Milestone XT720 Android Development] raidontaro:
I'm on 1.2a.

And when I try to play mp4 720p files (I use VPlayer), it was so laggy...

Any chances this would be fixed?

Thanks
[Milestone XT720 Android Development] :
Seriously, what are guys doing with your phone? 720p recording works just fine here; it's NOT laggy and it's NOT just a marketing feature, it's really 720p here. But people like you keep complaining about it. So what are you doing with your phone to get it record so bad when it works fine here?
[Milestone XT720 Android Development] ralfbonne:
I'm on 1.2a.

I need the mediagallery for changing backgrounds.
[Milestone XT720 Android Development] warrenkb:
I am running 1.1b and have no issues with either hd (720p) video recording or with the mediascanner. In fact, I was on 1.2a and moved back to 1.1b for this reason.

Part of the reason that I think I do not have any media scanner issues is that I have all my music and videos in a single folder called media. Perhaps this is a solution for others as it is easy to do rather than have dexter continually making minor modifications to the image as each change has the potential to introduce new unforseen bugs.
[Milestone XT720 Android Development] Mioze7Ae:
I had wondered about the media/ directory before, but it looked to me that facebook put that there and the android developer documentation didn't really seem to indicate that it would matter. In fact I think the documentations suggests songs should belong in /mnt/sdcard/Music.

I'm going to test this hypothesis. Can you be a little more specific about the folder structure that works for you? Something like: /mnt/sdcard/media/music/album/song.mp3 ? Or are you saying that all your songs are in a single folder /mnt/sdcard/media/song.mp3 ?

Also, what format is your music? I could reencode to ogg if it's mp3 that's causing trouble.
[Milestone XT720 Android Development] Dexter_nlb:
but as i recall that one did not have working mediascanner? im still little touble not being able to see why mediascanner crashes, maybe its a file extension type not supported and causing it to crash? which is that needed to be fixed, but i actually added the support for the extension type, but then 720p failed?

i suspect something like this?

i will see if i get a change to do filetests done on 1.1b and put new files on it and watch the log when it crashes..
[Milestone XT720 Android Development] mk2rimar:
Black notification bar

HI,need to know if somebody alredy instal any black notification bar,if yes how to do it? thanks

p.s:i ave dexter's froyo and realy happy....thanks again dex
[Milestone XT720 Android Development] ronnbon:
that does not really belongs here but anyway- you can use metamorph for this.

Use the search option, there are tons of information about metamorph at the xda forum...
[Milestone XT720 Android Development] mk2rimar:
thanks i ave metamorph but dont realy know how it works ???????
[Milestone XT720 Android Development] ronnbon:
thats why I told you to use the search option :confused: - this is not the right place to talk about metamorph... just two seconds looking brought me for example this: How to Metamorph/Theme

for all that still need the MediaGallery.apk:

MediaGallery
[Milestone XT720 Android Development] mk2rimar:
thank you very much,im not to familiar with this.
[Milestone XT720 Android Development] warrenkb:
Directory structure as follows:

/mnt/sdcard/media/music/*.mp3

/mnt/sdcard/media/music/[album_name]/*.mp3

"/media/video/[folder_name]/*.mp4

"/media/pictures/[folder_name]/*.jpg

and of courcse

/mtn/sdcard/dcim/camera/*.jpg

As far as I can tell, it is finding all of my media.
[Milestone XT720 Android Development] 3rdstring:
You could also use QuickPic

I tried 1.2a, & I can live without the Media Scan working but I was getting miscellaneous app closing (pulse & the stock browser would just close with out any error messages) like I was seeing 1.1a/b. I can live without 720p recording & I don't see these issues in 1.2 so I'll stick with 1.2 (at least until the next update).
[Milestone XT720 Android Development] Mioze7Ae:
Move dalvik-cache to /cache

From what I understand /cache is basically around for OTA updates? So, it looks like 100MB of wasted space now. I've read elsewhere about moving /data/dalvik-cache to /cache and I've been experimenting with it to free more space on /data. From what I've read elsewhere you have to be careful with the boot scripts to not get an endless boot loop following a factory reset.

This is what I've done so far:

1) I added dk to /system/ramdisk.tar with the following contents (copy permissions from /oc):

#!/system/xbin/busybox sh

[ -d /cache/dalvik-cache ] || mkdir /cache/dalvik-cache

if [ -d /cache/dalvik-cache ] ; then
chmod 0771 /cache
chmod 0771 /cache/dalvik-cache
chown system:system /cache/dalvik-cache
[ -d /data/dalvik-cache ] && rm -rf /data/dalvik-cache
[ -h /data/dalvik-cache ] || ln -s /cache/dalvik-cache /data/dalvik-cache
fi

2) I made this change to init.rc inside /system/ramdisk.tar

*** ramdisk0/init.rc	2011-02-06 08:28:43.000000000 -0500
--- ramdisk/init.rc	2011-02-14 13:33:01.316347625 -0500
***************
*** 180,187 ****
chown root root /cache/lost+found
chmod 0770 /cache/lost+found

+ exec /dk
+
on boot
# basic network init
ifup lo
--- 180,185 ----

So far it seems to work! The phone reboots fine, and dalvik-cache stays in /cache. On a fresh install of 1.2a dalvik-cache is close to 40MB with no apps installed. I'm not sure if the 100MB size of the /cache partition will be enough for dalvik-cache over time?

One minor problem is that after a factory reset it reboots twice (only immediately after a factory reset). The second time it comes up fine with dalvik-cache setup in /cache. I'll try to figure out what's causing this, but tolerating two reboots after a factory wipe isn't too awful.
[Milestone XT720 Android Development] queens49:
I think it is a bug. On the original 2.1 version, I had the timeout value set to 30 minutes using the pattern lock. So, if the screen goes off, and I turn it back on within the 30 minutes, no lock screen comes up. If the screen has been off for 30 minutes or more, the next time I turn on the screen, the pattern lock screen comes up.

Currently, if the 30 minute expires, the regular lock screen comes up, and after that the pattern lock. You have do unlock twice...really annoying. Even if you set the screen timeout to be When Screen Is Off, as soon as the screen goes off, and you turn it back on, you have the regular slide lock, and than the pattern lock.

Like others have said, version 1.1b didn't exhibit this problem
[Milestone XT720 Android Development] en0203:
Hi Dexter,

A quick question: Is it possible to port flash to the original 2.1 eclair? Understand that they are flash running 2.1 out there but they have flash lite built-in to begin with.

The reason I am asking is because the 2.1 on the XT720 is so fast that I don't see myself wanting an 2.2 except for flash. Flash is the only thing missing in 2.1 from what I see as wifi hotspot could be done with 3rd party wireless tether and complete App2sd is also available for 2.1. The only thing I can't get in 2.1 is flash.

If flash can be ported to 2.1 it'll really make the 2.1 a complete phone with all major 2.2 features, and it runs so much smoother than the 2.2 anyday (lower linpack/quadrant scores though but overall everyday usage is so much faster from what I see and more ram as well).

Last but not least, thank you for your wonderful work, I've never regreted my donation one bit!! Though I may be moving to Galaxy S2 really soon but I am still hoping that your work may stop me from switching camp. Really like my XT720 except for the lack of flash support.

Cheers!
[Milestone XT720 Android Development] secret_tidus:
i agree with u.. the 1.2a did alot improvement and i feel that this version run gameloft smoother just that the memory allocation not good enuf.. not like last time in enclair.. always have 50mb free ram.. using 1.2a have to reboot to run big smoothly, tested it yesterday.. i running my phone @1ghz 62vsels.. also my cam apps respond very slow at 8mp captured and sometime did crash..
[Milestone XT720 Android Development] lilhugo:
Help With Nandroid Backup?

I'm having a problem trying to get nandroid backup to work.

Every time I try it says "Fatal Error, can't dump bpsw, aborting"

Is anyone having this issue?

I get no FCs and I followed the instructions to the point. Also I came from a completely stock 2.1. Soo I don't think I should have any problems.

Any suggestions anyone?

Thank you,

lilhugo
[Milestone XT720 Android Development] Mioze7Ae:
There are certain partitions I can't backup either. I have been able to successfully backup boot, system, data, and cache. Dexter's nandroids only replace boot.img and system.img and factory reset clears data.img and cache.img. I'm not 100% certain the other's don't matter to go back, but I have gone back once before without trouble. To install Dexter's stuff you use nandroid restore.
[Milestone XT720 Android Development] reaperzero:
Due to the locked boot loader we can't back up certain parts of the image. Check the open recovery thread for more details

The one by navalynt
[Milestone XT720 Android Development] Mioze7Ae:
Improved /oc script

Here's a new oc that can selectively move app, app-private, and dalvik-cache to the ext partition. It also uses kousik's improvement to fix mounting of ext3.

The behavior is slightly different from Dexter's 1.2a version. In Dexter's 1.2a if the ext partition is present, the contents of /data/app are automatically and unconditionally moved to the ext partition.

This version only moves /data/app if you first create a (possibly empty) /sd-ext/app directory and reboot. The same holds for /data/app-private and /data/dalvik-cache. In this way we have control over which of these folder get used.

An additional feature is that if the symbolic links are bad, (perhaps because you removed the sd-card or because you deleted or renamed the /sd-ext/ directories then the symbolic links will be removed at next boot. The init.rc will then recreate the /data/ directories.

#!/system/xbin/busybox sh

adr=`grep omap2_clk_init_cpufreq_table /proc/kallsyms | cut -f1 -d" "`
insmod /system/lib/modules/overclock_milestone_21.ko omap2_clk_init_cpufreq_table_addr=0x$adr
mount /dev/block/mmcblk0p1 /sdcard
if [ -e /sdcard/oc-settings ] ; then
cp /sdcard/oc-settings /data/execme
chmod 755 /data/execme
/data/execme
# echo 46 > /proc/overclock/max_vsel
# echo 800000 > /proc/overclock/max_rate
# echo 1 125000000 12 > /proc/overclock/mpu_opps
# echo 2 250000000 26 > /proc/overclock/mpu_opps
# echo 3 400000000 30 > /proc/overclock/mpu_opps
# echo 4 600000000 34 > /proc/overclock/mpu_opps
# echo 5 800000000 46 > /proc/overclock/mpu_opps
# echo 0 800000 > /proc/overclock/freq_table
# echo 1 400000 > /proc/overclock/freq_table
# echo 2 250000 > /proc/overclock/freq_table
# echo 3 125000 > /proc/overclock/freq_table
fi
umount /sdcard

# enable sd-ext
if [ -e /dev/block/mmcblk0p2 ] ; then
insmod /system/lib/modules/jbd.ko
insmod /system/lib/modules/ext3.ko
insmod /system/lib/modules/ext2.ko

mount /dev/block/mmcblk0p2 /sd-ext
chown 1000:1000 /sd-ext
chmod 0771 /sd-ext

for x in app app-private dalvik-cache ; do
# Remove stale symbolic links
# init.rc will recreate directories if links are not created
[[ -e /data/$x ]] || rm /data/$x

# Move /data/$x if /sd-ext/$x exists
if [[ -d /sd-ext/$x ]] ; then
chown 1000:1000 /sd-ext/$x
chmod 0771 /sd-ext/$x
[[ -d /data/$x ]] && cp -a /data/$x/* /sd-ext/$x/
[[ -d /data/$x ]] && rm -R /data/$x
ln -s /sd-ext/$x /data/$x
fi
done
fi

I've attached an update.zip that can be applied in OpenRecovery. The patch also fixes the "mount-o" typo that kousik found in /system/bin/mot_boot_mode.p2.sh so that / comes up correctly as read-only.
[Milestone XT720 Android Development] Mioze7Ae:
This happened to me again. This time I tried clearing dalvik-cache instead of factory reset. That actually fixed it. So maybe sometimes, somehow we're getting corrupt dalvik?
[Milestone XT720 Android Development] reaperzero:
well my personal experience is that when you flash dex's rom you will always need to wipe the dalvik cache atleast once after flashing. sometimes if you do not do so the phone will auto restart and become laggy
[Milestone XT720 Android Development] Dexter_nlb:
the reason for all the factory resetting and dalvik cache reset's are:

stock roms use official signatures on app's and framework, which will conflict with a TEST-signed custom rom, so when official signature is found in the system and new files use test, they alol fail to get compiled, and rom reboot shows logo screen all the time.

when a custom rom with testkeys get changes, and maybe camera get upgraded or replaced with stock camera or so, and signature is the same but database should have change it can start FC as content is wrong.

secondly, dalvik-cache

when i made framework change the cache needs to be recompiled, this can be a problem if dalvik is not reset, and only ie. framework.jar changed. it will reload it and recompile, but it continue to complain about incosistencies. this can result in failures..
[Milestone XT720 Android Development] jetx10gerff:
@Dexter. Current roms don't have the russian language built-in. We could use apps like morelocale2 and the like to change the locale at least, nevermind the interface translation, but the problem is that with these apps when there is an incoming call, the phone loses the network and the call is lost. Can you please look into this, maybe you could fix that somehow. I'm sure the russian community will be greatly thankful.
[Milestone XT720 Android Development] reaperzero:
ah i see thanks for the clarification dexter. other then mediascanner bugging up the release is stable.
[Milestone XT720 Android Development] en0203:
@Dexter, can I say that 1.1 (2.2 framework based) is by far the most complete version? The only issue with 1.1 is the facebook doesn't sync right (which i don't really mind)? Is it possible to make facebook sync in 1.1 to make it a complete rom? I don't see any advantage of 2.2.1 over 2.1 in terms of normal usage.

Thanks once again.
[Milestone XT720 Android Development] :
No problems with Facebook here in 1.2a Is already fixed for some time now.
[Milestone XT720 Android Development] Dexter_nlb:
i think it was "solved" early on, with a replacement contacts.apk ?
[Milestone XT720 Android Development] en0203:
Thanks but what i am trying to compare is the following:-

1.1 - facebook sync not working (minor)

1.1b - mediascanner not working (major)

1.2 - 720p not working (major)

1.2a - mediascanner not working (major)

If you compare all these, I would say 1.1 is by far the most complete release as facebook sync is considered minor compared to mediascanner and 720p recording, and 1.1 is by far the snappiest. So if we can fix the facebook sync in 1.1 I'll say that we have a complete froyo here.

2.2.1 doesn't really have much advantage over 2.2 anyway.

What do you guys think?
[Milestone XT720 Android Development] Dexter_nlb:
just an idea,

i did supply the "original" korean rom with original xt720 and the working sensors, that should for some fulfill whatever requirements, but language of course not changable..

the bug issue around media scanning vs. 720p is that mediascanner for all models are standard , but 720p specific media functions are xt720 specific and that make the merge complex, as the libraries of a milestone or korean rom seems to have 720p issues both..

but it has been said, maybe we just have to accept that a 100% port is not possible and you need to chose between 720 or mediascanning. i know its no good, but its best case for now..
[Milestone XT720 Android Development] en0203:
Hi Dexter,

I have problem with the radio in the korean rom so I am not using that. Another issue with korean rom is that it doesn't really have the performance of the froyo judging from the linpack and quadrant score, but the 1.1 and 1.2 variant do.

If I were to accept an incomplete port, I would gladly take the 1.1 anyday over the 1.2 (facebook sync vs 720p/mediascanner) not to mention the 1.1 is the only built that gives me the speed of my 2.1 with all the froyo goodies.

Guess I have come to a conclusion to stay at 1.1. I think it's the best built so far and I would gladly give up facebook sync for all other goodies and the speed. Do let me know if you know of a way to make the facebook sync in 1.1.

Last but not least, thank you for the wonderful 1.1 rom!!!!
[Milestone XT720 Android Development] jetx10gerff:
No, the problem is still there:(
[Milestone XT720 Android Development] metalizer2000:
if we start from korean froyo we always stuck on M logo