yashsingh1/xdaforums huggingface dataset:
[Motorola Milestone Android Development] kabaldan:
Memory Manager values set by AOR scripts are very wrong. Don't use it.

(Kill the app in front if the free memory goes below 24MB!? Wrong!)
[Motorola Milestone Android Development] kabaldan:
As I'm the one who sets the default low memory killer parameters (in /system/etc/rootfs/init.rc) and other defaults, my preferred settings are the default ones.

Why would I set the defaults to something else than to what I currently consider to be optimal?
[Motorola Milestone Android Development] salisbury_steak:
1. AFAIK, this has to do with the amount of memory that Gingerbread allocates to each app. Where in Froyo and Eclair both allocate half the size. This, plus the Milestone's puny 256MB RAM (current industry standard is at 512MB), and most games have difficulty operating.

2. Use Autokiller Memory Optimizer or Auto Memory Manager to adjust your memory usage.
[Motorola Milestone Android Development] strikermdd:
Its possible to implement the volume keys for change music in other roms (i'm using ShadowMod by now) ? files i need to change ?

thanks
[Motorola Milestone Android Development] marcelotorres:
Ok, thanks salisbury_steak!!!

But, if the games doesn't work properly,i need to download it again using android 2.3.x?

The apk of the game was downloaded when i was using 2.2.x....

maybe this is why when i'm using gingerbread i have problems w/apks?
[Motorola Milestone Android Development] salisbury_steak:
Hold Volume Up = Next Song

Hold Volume Down = Previous Song

Hold Camera Button = Play/Pause

All those are available in the current build.

@marcel: nope. The HD games are designed for phones with 512MB of RAM (or more). It's more of a hardware limitation on our case.
[Motorola Milestone Android Development] marcelotorres:
salisbury_steak

Thanks man!
[Motorola Milestone Android Development] wisefreakz:
GPS Problem Work Around

@Kadalban: I realized that my GPS was not working like other said... so i found out that activating the GPS and rebooting the phone while GPS ON will make it work normally. But if turn it off problem gets back and we you need to do the trick again.

Anyway to fix it?

Thanks
[Motorola Milestone Android Development] serkejal:
yes....but i think u release a "general purpose" settings that is different from the specific use for every users..no?

However, it was just out of curiosity...
[Motorola Milestone Android Development] kabaldan:
Thanks for the report, it has been obviously broken by this commit: https://github.com/CyanogenMod/andr...mmit/64c835840d6f49d1d541c1e48052b1fbddb683a0

As I never turn off the gps, I haven't noticed...
[Motorola Milestone Android Development] pcphobic:
My Facebook app crashes when I decided to switch from soft keyboard to the slide out QWERTY keyboard while half-way entering text into the text/comment box of a friend's wall posting.

So I tried reducing the VM heap down to 24Mb and it doesn't crash anymore.

I turn off surface dithering but leave JIT on.
[Motorola Milestone Android Development] BryanChung:
Yeah ^^ Great you found the error! :D

Is the update coming anytime soon or a week later?
[Motorola Milestone Android Development] zeppelinrox:
Score! :)

Seems that whoever wrote the memory management scripts thought that those values were kilobytes instead of pages. (1 page = 4 kbs)

Example: 6144. They thought that this was equal to 6 mb but in reality it is 6144*4/1024=24 mb!
[Motorola Milestone Android Development] indiacam:
But I already started that post saying... "Posting this from another thread but applies here too." Therefore IMHO it does not need to change the addressing person, as the content was important.

n2n00, it was not meant for you. Actually I was surprised to see no one liked the idea of rom variants.

Anyway, finally I came to know that, no one thinks that they should have stripped down faster roms (cleanlight as I say). Thats why no one replied on CleanLight concept. wth....
[Motorola Milestone Android Development] indiacam:
About faster and smoother games, I have read somewhere else saying this ... Go back to 2.1 and you will never get game errors.

That is agreed by many people in several other threads. Seems 2.2 and 2.3 are not fully ready to handle good hi-speed games.
[Motorola Milestone Android Development] Edwrib:
I play NOVA here very well, also I play modern combat black Pegasus hd, they use a lot more ram. U just need a fresh reboot to clear memory leak.

Edit: I don't use memory managers, only the built-in "runing services", and dont lock launcher in ram, if dont work, stop everything in running services.
[Motorola Milestone Android Development] Edwrib:
Its true cuz 2.1 use a lot less ram. But I still play all games here, sometimes they close(ex. If play many levels in a roll)cuz they don't free the old loaded levels, but just reboot, stop some services again and reload the game, it work for me.
[Motorola Milestone Android Development] ngonchan:
I'm using CM7 9/03 and I can't overclock to 1Ghz :( My phone always stucks at CM animation boot logo, then, restart and boot loop begin. When I overclock to 900Mhz, my fone works fine :| Don't know why :(
[Motorola Milestone Android Development] keunhuvac:
Try to increase vsel ^_^.
[Motorola Milestone Android Development] ngonchan:
Got it at 1Ghz/60vs, thanks you much. :x
[Motorola Milestone Android Development] Subbie171:
I had to come here and say this: your settings for AMM are SWEET. I get VERY rare redraws now, but before, after just a few hours running I'd get redraws after going into small apps like talk and back. Now I can quit angry birds and there are no redraws to be seen!
[Motorola Milestone Android Development] virus_spreade121:
I have faced this problem will all the releases of CM7 and now again with the latest release. Everytime i try to move a app to sdcard using Applications , it says either " Failed to move application " or failed to move application , There is not enough storage left , whereas i have 4 gb still left . Its annoying, i need to repeat the steps like 5-10 times to get 1 application tranferred to sd card.
[Motorola Milestone Android Development] Edwrib:
In PC, delete the folder .android_secure.
[Motorola Milestone Android Development] wisefreakz:
Thx for the feedback master!!
[Motorola Milestone Android Development] bijixda:
Great!

How about lowering bitmap rendering to 16bit for ADW launcher and com.android.phone?

But adw is someone else's project, maybe we can use another opensource launcher.

sent from milestone using xda app
[Motorola Milestone Android Development] zeppelinrox:
Cool beans! :cool:

Mine feels like a new phone with 512mb of ram because it's so fast :D

If I played games, I'm sure they'd run real nice and smooth

Do you have home locked in memory?

Do you have JIT enabled as well?

If not, do enable them...

I also suggest VM Heap of 48mb but that's debatable/optional.

I should slap together a zeppelinROM heh
[Motorola Milestone Android Development] Edwrib:
How I can disable theme from app? I want use the default png in framework-res.apk.
[Motorola Milestone Android Development] PhatUgly:
Is the built-in SIP support from Gingerbread included in CM7?
[Motorola Milestone Android Development] mohitrocks:
Kabaldan, you are amazing.

People are reporting the memory available is less than what they had in cm6 (0.07)? Are you talking about ram as in the 256mb we have on the phone? If yes, I think there is an improvement in memory available. I use an app called memory booster: ram optimizer, and i usually have 40mb+ while using apps, while on cm6 I usually have 35+.
[Motorola Milestone Android Development] cbstryker:
So in case anyone was wondering about my market app issue, don't bother. I think I messed it up myself. In my attempt to stop the Google Talk notifications I tried a bunch of things like deleting the talk.apk from the /apps directory, and when that didn't work I forcibly stopped the Google Frameworks service, and since then the market didn't work.

All is well now as I did a completely fresh install of CM7. Market works and Google Talk isn't pestering me. Just still not sure why Google Talk did it in the first place.
[Motorola Milestone Android Development] spineforu82:
I noticed the internal memory hack is not applied is there a way to apply this?
[Motorola Milestone Android Development] debasser:
hi all!

installed CM7

bug for me:

battery life =(

not working light sensor

not working proximity sensor

qwerty keyb led

strange gps working
[Motorola Milestone Android Development] cbstryker:
WTF! Literally a minute after posting my last message my phone rebooted and now I'm getting the Google Talk thing again and the market won't open!

Any suggestions?
[Motorola Milestone Android Development] pac213:
New version is up at https://github.com/nadlabak
[Motorola Milestone Android Development] emprize:
Kabaldan can u add auto/dim at notice bar brightness mode?
[Motorola Milestone Android Development] Beackman:
I have the lag problem using the androidiani theme, using others theme i no have this issue, any idea, i have already change the surface dithering but no go.
[Motorola Milestone Android Development] Lollipop_Lawlipop:
This should be in the CM options... yes?

Don't theme for now and turning on surface dithering should have little to no performance impact on our modern phones.
[Motorola Milestone Android Development] TheFluffyOne:
I installed the 11.02.03 alpha earlier today, and all of the Google apps seemed to be working OK. Just upgraded to the 11.02.06 (with Dalvik and Cache wipes) and the Google apps were removed. Re-applying the GApps update got them working again, but at the expense of having to set up my account again and go through a re-sync of the data.

Is that expected? I don't remember having to re-install the GApps after a minor update before...
[Motorola Milestone Android Development] max_3000:
Do I have to wipe data or just dalvik and cache if I'm on CM6?
[Motorola Milestone Android Development] debasser:
i have the same problem

i'm solved with data/factory reset and install GApps for CM6

just work for me

GApps for CM7 don't work on my moto...:confused:
[Motorola Milestone Android Development] TheFluffyOne:
Seems odd. I didn't have to do a full reset, and the CM7 GApps are working.
[Motorola Milestone Android Development] debasser:
hm, strange thing....

old, cm6 gapss size is 18.5mb

but new, the 4.5.....

what OR you using?

i'm have Androidiani 3.3
[Motorola Milestone Android Development] cyberalex88:
In the last one there are only Market, Talk and some other stuff. Gmaps, gmail, etc are downloaded after through market.
[Motorola Milestone Android Development] debasser:
the market don't start for me

I can not add an google account...

and have error with DSPManager all time....(they crashed)
[Motorola Milestone Android Development] TheFluffyOne:
Just the basic OR 1.46.
[Motorola Milestone Android Development] handsomeboy1702:
I'm having a problem. After flashing the ROM, I reinstalled my apps using titanium backup. However, the apps do not show up in my apps in the market. Tried full wipe and installed again, but same thing. Any idea?
[Motorola Milestone Android Development] mcpterra:
Hi, good evening...

I love the miui camera, but I couldnt install this app ....

Everything runs well, but at the end of process install, I get a msg saying: the is not installed....

What I am doing wrong?

I am using CM7 RC3

Thanks in advance....
[Motorola Milestone Android Development] BryanChung:
Use ABD command line to push miuicamera.apk into /system/app folder.

So:

1. Put miuicamera.apk in a folder

2. Hold Shift + Right Click on anywhere of that blank space in Windows Explorer >> Select "Open Command window here"

3. Type the following in the Command window:

adb remount
adb push miuicamera.apk /system/app/
adb reboot

4. Phone reboots and you will see the Miui Camera in your App Drawer.

Alternatively, you can use Root Explorer to do the above. Just remember to set the /system/app folder to read/write permission. =)
[Motorola Milestone Android Development] pcphobic:
I am beginning to wonder if there are truly 2 different hardware spec Milestone out there? My colleague's Milestone can never do Infrastructure Mode 3G wifi hotspot while mine can.
[Motorola Milestone Android Development] Chad_Petree:
right now im using 0.07-11.03.02 RC3 and i wanna to apply the new update today but i couldnt, camera button + volumen up is not making open recovery appear,what could be goign wrong? i have done this a dozen times before :confused:
[Motorola Milestone Android Development] pcphobic:
Check out my Energy Star PC BIOS + Honeycomb boot animation which I got it from zeppelinrox

http://xdaforums.com/showpost.php?p=12037535&postcount=21

[YOUTUBE]TWnia6oGtFM[/YOUTUBE]

http://www.youtube.com/watch?v=TWnia6oGtFM
[Motorola Milestone Android Development] pcphobic:
The proper way to boot into the Recovery Mode is the 3-finger method.

The 3-finger method is to hold the following 3 buttons at the same time and do not release until u see the Recovery mode icon.

The 3-finger buttons are: X key + Camera button + Power Button

[youtube]L4hB_kh6pD0[/youtube]

http://www.youtube.com/watch?v=L4hB_kh6pD0
[Motorola Milestone Android Development] BryanChung:
But I only hold X and power on my phone to get into OR. :P

Anyway what a music player that is recommended now that I can play songs from a folder actually?
[Motorola Milestone Android Development] zeppelinrox:
So you must be stuck at the triangle?

It sounds like you may have a wonky volume or camera button.

For now, boot into CM, and then reboot into recovery directly from there.

And when you are in recovery, in the froyo menu, select Install OpenRecovery at boot so that next time you boot up and hold the X button, OR will load automatically.
[Motorola Milestone Android Development] pcphobic:
That is why it is confirmed that out there, there are 2 different types of Motorola Milestone with different model codes.

The 2-finger method (X-key + Power Button) is mentioned in the [How To] Root, Backup, and ROM Your CDMA (nTelos) Milestone

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

For music that play based on folders, check out:

Meridian

https://market.android.com/details?id=org.iii.romulus.meridian

PowerAMP

https://market.android.com/details?id=com.maxmpz.audioplayer

But if you just want a cool looking music play to impress your friends, then check out ³ by FILIPE ABRANTES

https://market.android.com/details?id=org.abrantix.rockon.rockonnggl&feature=related_apps
[Motorola Milestone Android Development] consolation:
It's more a function of the bootloader version than model. The gsm models (850_1900_2100 3g bb) sold by XT in NZ require the 2 finger. All phones with the 9x.xx bootloaders do.
[Motorola Milestone Android Development] BryanChung:
Those using GO Launcher, there's a new update of 2.14 ... sounds good fix.

Update yours! :)
[Motorola Milestone Android Development] Aumkar:
Hm, I was using MetroUI, but I guess it couldnt hurt to use GoLauncher now.
[Motorola Milestone Android Development] pcphobic:
Miui camera English version failed to install while Chinese version works
[Motorola Milestone Android Development] pcphobic:
U do have a point.
[Motorola Milestone Android Development] :
Push it into /system/app and give appropriate permissions. Reboot. It works. This has already been mentioned earlier by Bryan.
[Motorola Milestone Android Development] :
Try the miui music app. I have attached the app. You'll have to push it into the /system/app and provide appropriate permissions. Screenshot below.
[Motorola Milestone Android Development] virus_spreade121:
Problem still persists even after deleting the folder :(
[Motorola Milestone Android Development] BryanChung:
Looks sexy. =) I'll try.

Maybe you should compile a list of Miui Apps and post them somewhere. =) Cause the apps looks good. =D
[Motorola Milestone Android Development] bijixda:
Hi there is a new update on first post

Uploaded 37 minutes ago

1,367 downloads :D
[Motorola Milestone Android Development] salisbury_steak:
(Sorry, too lazy to back read) Whoever said that it was VM heap size causing my launcher app to duplicate itself, you are correct! Since raising VM heap to 40, I now always see just one instance of ADW EX under the OS monitor process list.

@Bryan: thanks for the update about GO Launcher. I'm tempted to try that one out again. :P (Since the slow app drawer was one of the reasons why I switched to ADW EX.)

@sileshn: thanks for the miui music app! Will try that after I flash this new CM build. :D
[Motorola Milestone Android Development] :
+1

I already got them, but i want to know which one works and which don´t
[Motorola Milestone Android Development] BryanChung:
So will raising the VM improve the performance?

No harm giving it a try again! :)
[Motorola Milestone Android Development] BryanChung:
Thanks for quick-fix kabaldan! :)
[Motorola Milestone Android Development] brysonwong:
Anyone experiencing high battery drain? :(
[Motorola Milestone Android Development] :
There are 2 more excellent apps in miui. One is the FileExplorer.apk and the other is Monitor.apk ( traffic/data monitor ). Unfortunately both dont work with other roms. As of now, only miuimusic and miuicamera are working.
[Motorola Milestone Android Development] BryanChung:
Oic ... ok thanks a lot! :D
[Motorola Milestone Android Development] :
Thats a bummer. Also love the contact and mms application!
[Motorola Milestone Android Development] :
Weather widget from lg optimus 2x - good one - sexy

http://xdaforums.com/showpost.php?p=11192505&postcount=140
[Motorola Milestone Android Development] Chad_Petree:
exactly , im at the triangle! u say i should press button into recovery directly from cyanmod? but that takes me to the triangle... AGAIN! :(
[Motorola Milestone Android Development] promixer:
Me, battery need to charche in 20h
[Motorola Milestone Android Development] debasser:
i'm have very strange battery life

drain from 100 to ~30% after 6-7h of light use

reboot

and wow, battery have (real?) ~70%....

on all CM ROM's...=(
[Motorola Milestone Android Development] n3n00:
Have u recalibrated your battery?
[Motorola Milestone Android Development] salisbury_steak:
Not sure about the actual performance. But, RAM usage wise, raising VM heap helped my launcher use only one instance.

Yep, using GO EX right now. (again.) :p

Come to think of it, I really miss the swipe up gesture per dock icon. :D
[Motorola Milestone Android Development] zeppelinrox:
That was me.

Looks like I'm on a roll :cool: :eek: :D

Actually, it would improve Linpack scores as well.
[Motorola Milestone Android Development] n3n00:
Will I have any problems if I uninstall Voice Dialer via AOR? I don't use it, dunno if it's important...
[Motorola Milestone Android Development] will5:
Im having some problems with dsp manager. If I change BT audio settings, nothing change on bt headset.

But changing loudspeaker settings, will change bt audio parameters.

Dont know if it's rom or dsp related.
[Motorola Milestone Android Development] salisbury_steak:
You can remove it. Check this site for more apps you can remove:

http://wiki.cyanogenmod.com/index.php?title=Barebones

@zepp: Thanks given. ;)
[Motorola Milestone Android Development] zeppelinrox:
Thanks dude :)

Oh snap...

OK you can probably install OR at boot from within CM.

This is the script for Install OpenRecovery at Boot (located in sdcard\OpenRecovery\amenu\Froyo 2.2.1 Modding Menu)

#!/sbin/sh

echo "AutoBoot Recovery"
echo ""

cp -fR /sdcard/OpenRecovery/mod/etc/init.d/60_autoboot_or.sh /system/etc/init.d/60_autoboot_or

chmod 755 /system/etc/init.d/60_autoboot_or
chown 0.2000 /system/etc/init.d/60_autoboot_or

sleep 1

That's a normal text file.

This is the contents of 60_autoboot_or.sh (located in sdcard\OpenRecovery\mod\etc\init.d)

#!/system/bin/sh

if [ -f /cache/recovery/command ]; then

#trick the whatever deleting the command
#THIS WILL PREVENT AUTOMATIC OTA UPDATE!

if [ ! -d /cache/recovery_stock ]; then
mkdir /cache/recovery_stock
fi

mount -o bind /cache/recovery_stock /cache/recovery

fi

This is

a Unix script file

1. It might work if you just navigate to sdcard\OpenRecovery\amenu\Froyo 2.2.1 Modding Menu using Terminal Emulator and running "Install OpenRecovery at Boot"

2. It might work using gscript by copying "Install OpenRecovery at Boot" to sdcard\gscript

3. Of course, entering the commands and doing permissions manually is most geeky method.

IMPORTANT NOTE: After wiping caches, automatic loading of AOR at boot gets removed and you have to install AOR at boot again.
[Motorola Milestone Android Development] BryanChung:
Maybe I shall try raise mine to 40MB (right?) I need to find that file that kabaldan we needed to edit.

-edit- here is the post if anyone else wants to know...

So I've changed mine to 40mb. How to verify that it's running at 40MB?

Do you know GO Launcher also has gesture per dock icon? :o
[Motorola Milestone Android Development] salisbury_steak:
Yep, I'm using 40MB. I believe (someone, maybe Zepp again, is using 48MB).

I'm using system panel to check the current runtime max memory. It's at the very button of the device info menu.

Yep, actually, that was one of the reasons why I uninstalled ADW EX. :p I remember GO EX having swipe ups.
[Motorola Milestone Android Development] BryanChung:
Oh yeah got it. Yeah shows 40.0M now. =D Great ^^
[Motorola Milestone Android Development] n3n00:
I'm on ADW EX. Faster than GO in drawer for me, more optimizations etc. I miss swipe up but I can live with 2 more clicks to get in some app xP.

1GHz, JIT on, SDith. off, VM Heap 40 => seems to work good. What about governors? Right now I have it ondemand.
[Motorola Milestone Android Development] bnwg:
guys

I was surfing the market and found an app called setprop. It lists out quite a lot of android prop and allow you to set and/or reset the values. I see prop like dalvik vm heapsize (that's one of the hot topics in this thread), bunch of memory setting like autokiller does (well, another hot one), LCD density and lots more which I'm not familiar. Maybe some of you know about this app and using it but I found it quite comprehensive that group all the prop in one place and easy to do the changes comparing to edit thru adb or root explorer (the later one is more fun though :p).
[Motorola Milestone Android Development] n3n00:
We have that in AOR :P. AOR and Root Explorer ftw!!!

Btw guys which density are you using? I'm on default(240).
[Motorola Milestone Android Development] bnwg:
You can have the swipe gesture on the screen but on the icon from the dock though. I switched from GO EX to AWD EX because I like the "real" full screen from AWD EX (hide the status bar and no dock) and the feature of overlapping the widgets.

By the way, I deleted the autokiller which is the "must" app for me from the beginning and tried the "original tastes" (the default memory setting) of the latest CM7 march 12 update. JIT off; sdith off, vm = 32 and I didn't get any redraw.
[Motorola Milestone Android Development] Marcb:
i can't install GAPPS... after flashing the ROM, i've flashed the gapps too then wiped the phone, but i can't see the Market, or the Gmail...

am i doing something wrong?
[Motorola Milestone Android Development] bnwg:
I use OR not AOR so I didn't know that...cool. I think setprop still can save me one step to boot in recovery. But seems AOR is better than OR I need to give it a try

I use 210 for density...fonts are a bit small but looks better
[Motorola Milestone Android Development] bnwg:
I think it's the step wrong.

Wipe phone -> flash ROM -> gapps
[Motorola Milestone Android Development] n3n00:
Full wipe, flash the ROM, cache and dalvik wipe, flash gapps, cache/dalvik wipe, reboot. Always works for me. (Gmail and Youtube are not in cm7 gapps update, you have to install from the Market.
[Motorola Milestone Android Development] Marcb:
i've wiped before flashing and after... but i've tried doing it without wiping after flashing either... still don't see the Market nor Gmail...
[Motorola Milestone Android Development] pcphobic:
Sometimes after u flash the ROM the first time, and when u boot up and try to add your Google account and don't see it in the list.... it may help if u do a full wipe again and reflash the ROM one more time.