yashsingh1/xdaforums huggingface dataset:
[Milestone XT720 Android Development] AllGamer:
it's a Bug

Actually i found the problem, it's a bug with BusyBox

if i use the default one (1.16.2) included with the ROM it mounds Link2SD fine

it also works if i upgrade BusyBox to 1.17.1, but if i use anything newer than 1.18.4 it causes problem only with Link2SD
[Milestone XT720 Android Development] AllGamer:
Yet, a different bug to be aware of...

in Settings > Applications > Development > Stop app via long-press

the back key is tooooo sensible

you basically just tap it twice by accident, and it kills the app

it's suppose to feel a hold, not a double tap of the back key.
[Milestone XT720 Android Development] Leotronick:
Hi,

at the moment i'm on miui (oyang06, ger) and i want to change to cm 6.3. Is it advisable to go back to singapore sbf first ?

Or is any sbf (e.g. the german one) ok to start from?

thanks
[Milestone XT720 Android Development] AA1973:
I had the same MIUI XT final (MIUI Germany lang pack, version of Gomez) and installed CM6 over it. Not a recommendation, just the way how I did it...maybe wrong, but worked well for me.

Had to back-up the APN settings via APN manager and installed the Central Europe baseband afterwards.

Edit: after installation of gapps I used the market update.zip (via OR) by RussianMenace => thread in the apps&theme section

MilestoneXT720 - CM 6.3.0 by MZ
[Milestone XT720 Android Development] bagongs:
Market Updater

Here is the update for the new market (3.1.3). During the update you'll see something like "updating market 3.0.27..." but just ignore it, I used the right file but didn't have time to modify the text :))

http://www.megaupload.com/?d=SUG7W7YB
[Milestone XT720 Android Development] spyeye95:
ah, now it works, there were 2 things that i did in a different way:

i started from 2.1 and not 2.2

i also cleared cache + dalvik

maybe it was one of these things
[Milestone XT720 Android Development] bagongs:
It's not because you wiped cache and dalvik for sure, when you apply updates through OR that doesn't generally creates problems.
[Milestone XT720 Android Development] donovanx3:
Hi, I have been using CM6 6.3.0 for a few hours now and and when I try to move some apps to sd in manage applications it will tell me "failed to move application" however when I click it a second time, it always transfers over. What would be causing this? Only some of the apps give me that error but the ones that do always transfer over the second time I click "move to SD"... :confused: :confused:
[Milestone XT720 Android Development] SickBeast:
I've noticed that the camcorder will not record in HD with this ROM. It's a shame, because the camcorder app is fantastic.

It would be great to have true 30fps 720p video recording on our phones.
[Milestone XT720 Android Development] donovanx3:
HELP!!

I'm also having problems downloading some apps from the market (such as Links2SD) and they give me an error that says "couldn't install on USB storage or SD card" and consistently won't let me install. I have more than enough internal storage and sd card space. :( I'm running market version 3.1.3 that I installed in OR.
[Milestone XT720 Android Development] SickBeast:
Do any of you guys know how to set a custom overclock in Milestone Overclock so that it autoloads at boot? I want to run my phone at 900mhz at 60vsel, however it doesn't seem to take effect when I select it using the settings.
[Milestone XT720 Android Development] 3rdstring:
After you enter your settings in MilestoneOverclock you have to move the slider all the way to the right & apply the settings.

HTH
[Milestone XT720 Android Development] cofek0:
I have european xt720 and after patching with this CM mobile network doesn't work.

In phone status is correct Mobile network type (UMTS or EDGE) but mobile network state is disconneted.

I have data enabled. If i try to use only 2G networks works the same.

I tryed Franch and Italian baseband and don't correct the problem.

Does anyone have any solutions?
[Milestone XT720 Android Development] peshovec:
check the apn. add the settings manually
[Milestone XT720 Android Development] B_e_n:
try dexter baseband it should work if not try the manual way as peshovec tell you

@sickbeast try the config button in milestone overclock (i have the 1.4.7 version) you can choose your custom settings and check autoload at boot

@donovanx3 I don t know why you have this issue but first why do you install link2sd? I prefer a lot the app2ext already in the rom (you just have to make an app folder in sdext) no app needed and it always work fine....
[Milestone XT720 Android Development] donovanx3:
I've since fixed my market issues by deleting the smdl2tmp1.asec file in /mnt/secure/asec/.

I installed links2SD at first but it told me that it could not mount my ext3 partition (the same issue as allgamer) but I did not install a different version of busybox. The other weird issue I'm having is that I have less memory left on cm6 than I had on kahls miui v4 with LESS apps installed! I did a titanium backup and then restored it on cm6 but i didnt even install all my apps from miui. I was running around 75MB free on miui, when I switched to cm6 I would have had like 35MB free if I installed everything so I didnt install all my apps. On both roms I had/have them installed to SD. I left netflix uninstalled, a couple gameloft games, and a flight simulator, and Im still at only 82MB free on CM6 with everything on sd...

*edit* my market errors were the "couldn't install on USB storage or SD card"
[Milestone XT720 Android Development] Leotronick:
I've the same same problem. I installed central Europe baseband and manually added o2 apn. But still, there is nether 2g nor 3g.
[Milestone XT720 Android Development] Leotronick:
Sry,

Now everything is working.

I did a full wipe (again) and re-added the apn.
[Milestone XT720 Android Development] fernovaes:
I found a problem today. I use a live wallpaper and it appears with distorted colors. Does not appear with 100% color as in other roms.

Any idea of this problem?
[Milestone XT720 Android Development] Mioze7Ae:
I tried the Nexus live wallpaper. It looks like it's probably been modified to use the CyanogenMod color theme. Maybe that's what's going on? Other ones seem to be unmodified. At least that's my guess.
[Milestone XT720 Android Development] fernovaes:
I am using the Live Grass Wallpaper. He gets all blurry, it is not clear. If you can, take the test.
[Milestone XT720 Android Development] Mioze7Ae:
Live Grass works fine for me.
[Milestone XT720 Android Development] fernovaes:
stranger. To me it appears blurry, it is not clear. Do you have any color or configuration screen that I can change to test?

The strange thing is that with other roms it works normally.
[Milestone XT720 Android Development] innovationz:
sorry for asking...but my phone is looks like laggy...it work slow...what can i do to make it more responsive?

im using fastboot : boot5.img

oc : 900/60

internal memory : 43mb

set cpu : 250/900

is it something wrong about my setting or my internal memory?the internal memory can cause the phone working slow?thanks..
[Milestone XT720 Android Development] peshovec:
avoid using sdcard during boot

i have noticed, that sdcard is mounted during boot (10overclock)

i understand the point of that

have write a small patch (untested yet)

the goal is to create copy of the overclock settings over the /cdrom partition

and to use them next times

for not breaking milestone overclock gui, symbolic links to the files on the /cdrom partition are created.

diff -u 6.3.0/system/etc/init.d/10overclock 6.3.0-my/system/etc/init.d/10overclock
--- 6.3.0/system/etc/init.d/10overclock	2008-02-28 21:33:46.000000000 +0200
+++ 6.3.0-my/system/etc/init.d/10overclock	2011-09-06 10:10:20.434933745 +0300
@@ -14,8 +14,6 @@

## Autoload Milestone Overclock settings

-/system/xbin/mount -o ro /dev/block/mmcblk0p1 /sdcard
-[ $? -eq 0 ] || exit

## Autoload Milestone Overclock settings
# Milestone Overclock saves it's autoload values inside:
@@ -24,6 +22,40 @@
# destroying this file on the sdcard:
pathautoload=/sdcard/Android/data/pt.com.darksun.milestoneoverclock/files/autoload

+movedtocdrom=0
+
+/system/xbin/busybox mount /cdrom
+if [ -f /cdrom/overclock-setting/MilestoneOverclockPrefs.xml -a -f /cdrom/overclock-setting/autoload ] ; then
+	# the settings are moved to the cdrom
+	pathprefs=/cdrom/overclock-setting/MilestoneOverclockPrefs.xml
+	pathautoload=/cdrom/overclock-setting/autoload
+	movedtocdrom=1
+fi
+
+
+if [ $movetocdrom == 0 ] ; then
+	/system/xbin/mount -o ro /dev/block/mmcblk0p1 /sdcard
+	[ $? -eq 0 ] || exit
+
+
+	#copy the preferences to the cdrom partition
+	/system/xbin/busybox mount /cdrom
+	/system/xbin/busybox mkdir /cdrom/overclock-settings
+	/system/xbin/busybox chmod 777 /cdrom/overclock-settings
+	/system/xbin/busybox cp -a $pathprefs /cdrom/overclock-setting/
+	/system/xbin/busybox cp -a $pathautoload /cdrom/overclock-setting/
+	/system/xbin/busybox cp -a $pathprefs $pathprefs-bak
+	/system/xbin/busybox cp -a $pathautoload $pathautoload-bak
+	/system/xbin/busybox rm $pathprefs
+	/system/xbin/busybox rm $pathautoload
+	/system/xbin/busybox ln -s /cdrom/overclock-setting/MilestoneOverclockPrefs.xml $pathprefs
+	/system/xbin/busybox ln -s /cdrom/overclock-setting/autoload $pathautoload
+fi
+
+
+
+
+
getMilestoneOverclockPref () {
tr -dc '[[:alnum:]>"]' < $pathprefs \
| tr \> \\n \
[Milestone XT720 Android Development] spectacle:
Hi everyone.

I am on rc3 now and I am loving it with link2sd working. However I my app partition is almost full although its 600mb. I believe it is because of the previous apps when I was using rc1. How do I safely remove this which I believe is duplication of files. Thanks! :D
[Milestone XT720 Android Development] peshovec:
io optimization

i'd like to share my settings regarding the io (e.g. storage) subsystem...

diff -u 6.3.0/system/etc/init.d/05mountsd 6.3.0-my/system/etc/init.d/05mountsd
--- 6.3.0/system/etc/init.d/05mountsd	2008-02-28 21:33:46.000000000 +0200
+++ 6.3.0-my/system/etc/init.d/05mountsd	2011-09-06 10:18:17.772583892 +0300
@@ -3,7 +3,22 @@

BB="logwrapper busybox";

+$BB echo 768 > /sys/devices/virtual/bdi/179\:0/read_ahead_kb
+$BB echo 768 > /sys/devices/virtual/bdi/31\:0/read_ahead_kb
+$BB mount -o remount,noatime /data
+$BB mount -o remount,noatime /cache
+$BB echo 0 > /sys/block/mtdblock7/queue/rotational
+$BB echo 0 > /sys/block/mtdblock9/queue/rotational
+$BB echo 0 > /sys/block/mtdblock10/queue/rotational
+
+$BB echo noop > /sys/block/mmcblk0/queue/scheduler
+$BB echo noop > /sys/block/mtdblock7/queue/scheduler
+$BB echo noop > /sys/block/mtdblock9/queue/scheduler
+$BB echo noop > /sys/block/mtdblock10/queue/scheduler
+
+
mmcblk=/dev/block/mmcblk0p2
opt=noatime,nodiratime,barrier=1
[Milestone XT720 Android Development] peshovec:
best way is to check the path of the application in

/data/system/packages.xml

look for codePath
[Milestone XT720 Android Development] peshovec:
ok, here is the script invocation and the script itself

grep app_pr /system/etc/rootfs/init.rc -A10
service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-system-server
class zygote_services
socket zygote stream 666
[b]onrestart exec /cdrom/syscrashdump.sh[/b]
onrestart write /sys/android_power/request_state wake
onrestart write /sys/power/state on
onrestart restart media

cat /cdrom/syscrashdump.sh
#!/system/xbin/busybox sh

mkdir /sdcard/syscrashdump

dmesg > /sdcard/syscrashdump/dmesg.log 2> /sdcard/syscrashdump/dmesg.err
#echo $@ > /sdcard/syscrashdump/bpparams

ps > /sdcard/syscrashdump/ps.log

/system/bin/logcat -v time -d -b radio *:V > /sdcard/syscrashdump/logradio.log 2> /sdcard/syscrashdump/logradio.err
/system/bin/logcat -v time -d -b kernel *:V > /sdcard/syscrashdump/logkernel.log 2> /sdcard/syscrashdump/logkernel.err
/system/bin/logcat -v time -d -b events *:V > /sdcard/syscrashdump/logevents.log 2> /sdcard/syscrashdump/logevents.err
/system/bin/logcat -v time -d *:V > /sdcard/syscrashdump/log.log 2> /sdcard/syscrashdump/log.err
/system/bin/bugreport > /sdcard/syscrashdump/bugreport.log 2> /sdcard/syscrashdump/bugreport.err
#/system/usr/bin/panic_daemon.bin $@ > /sdcard/syscrashdump/bpanic.log 2> /sdcard/syscrashdump/bpanic.err
/system/bin/sync
#/system/bin/reboot

in the scripts are some leftovers of radio panic debugging (they are commented)
[Milestone XT720 Android Development] R-D:
Mioze7Ae,

Why in Camera under options do we only see "8M Pixels", "5M Pixels", "3M Pixels", etc. and none of the "wide" screen options?

If I understand GitHub correctly (which I may not yet) - when you compile you get the Camera app from nadlabak's repo?

https://github.com/nadlabak/android_packages_apps_Camera/blob/gingerbread/res/values/strings.xml

https://github.com/nadlabak/android_packages_apps_Camera/blob/gingerbread/res/values/arrays.xml

Looking in the array.xml and strings.xml the defined values include some "wide" options like "6M Pixels (wide)" which is 3264x1952.

The "widescreen" setting in stock ROM actually takes photos at 3264x1840.

Can you look into this for your next update?

Edit: Oops, I was in the wrong Branch (Gingerbread) but I still see the wide options in his froyo-milestone branch. I think I'm missing somethign else here. :)
[Milestone XT720 Android Development] peshovec:
the above was slided on-screen...

ok the apn in use are in

/data/data/com.android.providers.telephony/databases/telephony.db

i don know when (even if) the settings from /system/etc/apn-conf.xml are inserted in the database. I have entered there my settings, but there warent populated in the database, and i don't have data connection at all

so if somebody have trouble with the data, the first is to check for the right apn

/system/xbin/sqlite3 /data/data/com.android.providers.telephony/databases/telephony.db "select * from carriers where [b]mcc=284[/b]"

the mcc= filed has to be the country code for the operator (in my case 284)

from the code above some results has to be returned. if not enter the settings via the settings on the phone (settings, networks, mobile, apn ....)

then check again with the code...
[Milestone XT720 Android Development] Mioze7Ae:
I'm not sure this is a good idea because the failsafe file for disabling overclock if you have set bad values is on the sdcard--that's the only thing we're checking there. 10overclock only mounts read-only so there isn't much risk of corruption. Worst case your overclock settings aren't loaded. We could add stuff to the recovery to disable overclock, though.

I think most people that want to tinker extensively with the overclock settings will not even use Milestone Overclock at all and they will replace 10overclock completely with a script to set all frequencies and vsels. On Dexter's ROM this was some with an oc-settings file on the sdcard.
[Milestone XT720 Android Development] fernovaes:
The LEDs are functioning normally? Because for me when he flipped the camera the LED does not light. When I do not shoot well.

It is also strange link2sd. He even moves the apps, but still using the internal memory cell. In Dexter's I installed a lot and was still with 100mb of internal memory.

Sorry my bad English, and many problems. Is that using the cell and go looking for bugs to help in a future version of the rom.
[Milestone XT720 Android Development] Mioze7Ae:
Did you also move the dalvik-cache with Link2SD? If you can create and post sdcard-info.txt I can look if something looks strange.
[Milestone XT720 Android Development] eSu.Matix:
OK. I just wanna say that first time I tryed CM6, it was the first release from Mioze. Back then I remember that I was so hasty to go home and reflash, wipe data/cache, eraze the CM6. The ROM was just tottal mess - FC, Camera wasn't working, low on memory, so muny things I can't even remember.

Yesterday I decided to give it a try again cause there are so much positive feedbacks, so that's what I did. I installed it this morning, but I was little sceptical and SUPRISE! This is the best ROM I have ever tryed so far. With autokill memory optimizer I get between 74-82MB of free ram without swap. Even when I use some programs in background it doesn't drop below 50. AWESOME! The ROM is stable and very responsive without overclock. Even with overclock @1000mhz/74 vsel it doesn't overheat and it's sick stable, very close to stock. And the gallery... I clicked on it and the pictures were already loaded. And I have over 2000 images and more than half of them are 5MPx or higher. There is a little problem with the gallery where when I look through the images and changeing pictures too fast the gallery "reboots", but it's not a big deal. And last but not less - Dark Froyo Remix on CM6 looks so cool I can't imagine changing it for any other theme. The only problem is the camera cause the photos seem to be blured but I guess it will be fixed soon.

OK. So the main point of this post was to say:

Thank You! Mio for makeing such a wonderful ROM from scrap within 20-30 days or less. You made me proud being part of XDA community and you made me love my XT720 again. With our hardware specifications and our camera and people like you, fj, khal, hell, 3rd, peshovek and many others that are known and unknow I think I will keep my XT720 and I will be happy with it for long, long time.

Thank you ALL!
[Milestone XT720 Android Development] fernovaes:
I did not find the file. You can post the link? Thank you.
[Milestone XT720 Android Development] Mioze7Ae:
ORXT720 > "SD Card Utilities" > "Save diagnostics" and post /sdcard/sdcard-info.txt
[Milestone XT720 Android Development] Mioze7Ae:
I've been scratching my head about that, too. And the missing camcorder profiles. I know I must be missing something simple... but I'm focused on the audio stack at the moment so I probably won't get around to looking into this myself for a while.
[Milestone XT720 Android Development] fernovaes:
It worked. Thank you for your help.:D

I just need to know why the camera LEDs and other LEDs do not work. Any idea?
[Milestone XT720 Android Development] Mioze7Ae:
I'm not fully understanding what you're describing. For me the four bottom button led works usually. Actually I wish it was off more often like when watching a video, but nevertheless. The other lights: camera and camcorder lights do not turn on when those apps open and I can't seem to find any settings for turning on LED notifications (but I have been known to get lost in the maze of Settings) so those seem to be missing currently. I think people have had success with ledmeknow from the market, though.
[Milestone XT720 Android Development] spectacle:
Led me knows work for me well on this rom. Only for whatsapp it doesn't. But it never worked on other roms either.
[Milestone XT720 Android Development] bagongs:
Themed market

Does anybody know how to apply the android market 2.3.6 themed?

I have the apks com.android.vending-1.apk and Vending.apk, but I can't make them work.

The new version of the market is really ugly and it's soooooo heavy and slow..

Thanks in advance!
[Milestone XT720 Android Development] sariugur:
this is the best cyan.mod ever, i've tried the other but they're really slow and got some bugs(maybe coz of they're v.7 but still...), Mioze is the best for this ;))

the only thing i complain about is the app drawing menu, its slower than steelblue rom despite i got less efect in it...?!?
[Milestone XT720 Android Development] eSu.Matix:
Try AutokillerMemoryOptimizer from the market (it's free) at strict settings. You will be amazed. Appdrawer is faster than ever. You will always have 70MB+ free ram and everything will be smooth and fast. ;) Just give it a shot.
[Milestone XT720 Android Development] Mioze7Ae:
What Autokiller settings are you using?

Edit: duh "strict"
[Milestone XT720 Android Development] 3rdstring:
Check out installation method 2 in this post
[Milestone XT720 Android Development] bagongs:
Yeah, I have already tried it but it's impossible to move the Vending.apk: if you change the permissions they always automatically go back to 'read-only', so you cannot move the file :mad:

I have also tried the first method but the market keeps force closing..
[Milestone XT720 Android Development] AllGamer:
i've absolutely no complain about CM6 CR3 it simply runs perfect in every way

it's so fast that it feels like a 1000 Mhz phone, even though it's only running at 720 Mhz stock

the only actual tweak i did was to increase the microSD READ cache from default 128 Kb to 2 Mb

there was no need to use OC, and it can even run the heaviest game i've seen, that used to not work before in the XT720... like this game for example http://xdaforums.com/showthread.php?t=1251782
[Milestone XT720 Android Development] Mioze7Ae:
Did you remember to mount /system r/w ?
[Milestone XT720 Android Development] syrenz:
btw, this ROM really is amazing. Major improvement over RC2. Only thing that could use improvement is camcorder, but you know that already. Keep up the fantastic work Mio!
[Milestone XT720 Android Development] bagongs:
Ooooops! I didn't know I had to do it.. :D

By the way, I placed Vending.apk in system/app and wiped dalvik chache, but it didn't work, the market just disappeared.

Then I added com.android.vending-1.apk to data/app and wiped dalvik cache but the market didn't appear.

My last attempt was to clear also the cache partition, after this the market appeared but kept force closing.

Do you think there might be some kind of incompatibility between our ROM and the market version 2.3.6 (also 2.3.3)? Or am I missing something or doing something wrong? Thank you!!!
[Milestone XT720 Android Development] eSu.Matix:
Just download Android Commander. Put your phone into Debugging mode. Push your Vending.apk into /system/app true AC (they are shown at the right side). Then double click on vending.apk and install it.

Or use ADB, but with Android Commander it's way easyer.

Link: http://androidcommander.com/
[Milestone XT720 Android Development] bagongs:
Downloaded, copied the apk, installed the market, but after reboot...continuous FCs again! It looks like either the apk is corrupted (but I tried different ones and none of them worked, so it is quite unlikely) or there's some kind of incopatibility with markets version 2.something...
[Milestone XT720 Android Development] bagongs:
Hi, what's the advantage of increasing the microSD READ? And how to do it?
[Milestone XT720 Android Development] Shadowdancer123:
I've had this phone on 1Ghz and 66 vsel for a while now, this is the default 550mhz vsel.

When installing a bunch of apps from market, it will become burning hot around one of the corners, this doesn't really feel normal. It gets hot enough to be unpleasant to touch.

So my question is:

What is the factory default vsel at 550 or 720?
[Milestone XT720 Android Development] Woody:
Are you using MZ's recovery (or AOR for that matter)? If so go and try the Fix Permissions script in Utilities and see if that works. Are you wiping Dex after you installed the APK?

I use it and it seems to read my card faster and open up some apps that are on there quicker. There is one in the Market called SD Speed Increase (free/root) that I use. Set it to 2048 instead of the default 128 hit save (and start on boot). Then you are good.

Be aware that it does nothing for Write speed, only Read. So if you have a Class 6 it won't miraculaously boost it up to a Class 10. It is more so that it tweaks the phone link to sd cache as opposed to tweaking the sd directly, if that make sense.
[Milestone XT720 Android Development] eSu.Matix:
56vsel for 550mhz and 64 for 720mhz as far as I remember. But all you need to do is to download SetCPU and add t° profile. My profile is set when my phone reach 42°C, the CPU is underclocked to 550mhz. Actually there is no point in overclocking the CPU if you're not going to play some heavy games. The ROM is quick enough.
[Milestone XT720 Android Development] bagongs:
Ok, thank you! Other tweaks to increase performance?

Fix Permissions already tried but didn't work, the market keeps force closing. If wiping Dex means wiping Dalvik cache, yes, I'm doing it. But I already tried without doing it and it didn't work either...