yashsingh1/xdaforums huggingface dataset:
[Motorola Milestone Android Development] Aumkar:
Alright. I have a small problem. The screen on and off animations aren't working at all for me regardless of whether I check the setting or not.
[Motorola Milestone Android Development] zeppelinrox:
I've just added a second script.

If you have JIT enabled and apply the newer script (6, 8, 24, 30, 40, 50), there should be a noticeable difference. ;)

It's amazing what a difference of 4 more mb can make.

But then again, 24 mb free is 20% more than 20 mb free.
[Motorola Milestone Android Development] will5:
How can you know if a reboot is caused by a dsi error or by no free memory available?
[Motorola Milestone Android Development] jonatasmz:
worthwhile to use JIT? i mean... in 2.3.. what´s the Pros and Cons?

cya
[Motorola Milestone Android Development] zeppelinrox:
Some digging I did the other day: http://xdaforums.com/showpost.php?p=11924398&postcount=1369

Today courtest of n3n00:

If you want your phone to be half as fast as it could be, you may as well be on eclair ;)
[Motorola Milestone Android Development] salisbury_steak:
I did back in 0.07. Unfortunately, I could never get it to work. I also tried pushing the miui player in system/app, that also doesn't install. I've tried even installing the app from that location (via root explorer), but I would get an "could not install" error. I have the permissions set similar to all other apps in /system.

That used to happen to me when I didn't have my "Lock messaging app in memory" checked in CM settings. Do you have it checked?

OMG, I wished I read this when I had the same problem before. What I did back then was to do a full wipe. :(

From spare parts, go to windows animations, select "normal".

I'm sticking to 32mb VM heap, but I will try those minfree values. :D
[Motorola Milestone Android Development] Fekish:
no i didnt have it checked, i will check it thanks.

So how to change the settings you are talking about? I didnt get it... :)

I want to try something different because i receive regular freezes for my phone...

I am suspecting that as soon as the new MIUI comes out a lot of people will change ROM... It's been long time that this version is not stable and is a bit tiring for us the "non-developers"... I mean the guys do an excellent job, and they will continue in the future, but there doesn't seem to be a solution to have a flawless Milestone on 2.3...
[Motorola Milestone Android Development] ngonchan:
Follow this link and you'll see ;)
[Motorola Milestone Android Development] latino147:
If I understood well the latest CM7 is using a kernel which suffers a lot less from the DSI-errors. I wonder though if it has it's own issues that the DSI-prone version doesn't have... Like not making a beep when you are called! :rolleyes:

Anyone else had this happen?

btw, I switched to Cronos ginger 1.1 now, using the same kernel as CM7.
[Motorola Milestone Android Development] latino147:
Hmmm, I might try a full wipe this weekend, the problem is that you still have to configure a lot of stuff after a full wipe, like wifi-passwords (4x!), logins for some apps etc. If you have to do that every 2,3 days it takes a lot of time.

And besides that, it apparantly doesn't work for everybody...
[Motorola Milestone Android Development] HellbillyDeluxe:
Wifi passwords are automatically restored after you login with your Google account ;)
[Motorola Milestone Android Development] vagelisda:
To begin with...i think that we may finally got it!

The one !the rom that does it! :p

The latest update was the most critical till now i think. I don't know what was the major change that did it,but it works!

nadlabak you saved the day!again.

I also tried the v heap change,and autokiller settings that zepelinrox mentions in his thread,and works even greater!

I wasn't a believer to be honest,but all these together just work.

I'm testing for a day give or take,and not even one error or redraw or reboot.

Awsome!

I m very pleased,the stone is better than ever!

Sent from my Milestone
[Motorola Milestone Android Development] latino147:
really? Mmmm, that makes it a bit better already. Next app-makers should make backup/restore settings functionality in their widgets like LPP and extended controls do! :)
[Motorola Milestone Android Development] vagelisda:
i had no idea...

Is this a fact for sure?

Sent from my Milestone
[Motorola Milestone Android Development] :
it should be, the same as ur apps are getting restored, i expirienced that it does not work always as it should, but didn't tried it lately
[Motorola Milestone Android Development] ArtoD2:
Titanium backup? Restores all you need...
[Motorola Milestone Android Development] jstockto2000:
@kabaldan

is there any chance you might have time to do the update to CM6 with the backport of the wifi fixes please? I'd quite like to go back to CM6 as it currently seems more stable to me, but the crappy wifi problems are a deal-breaker for me...

also, if I did go back, would there be any negative effects if I flashed the kernel that's in the latest CM7 builds?
[Motorola Milestone Android Development] :
I don't think so.
[Motorola Milestone Android Development] duchu:
still not working, any other solutions ?
[Motorola Milestone Android Development] zeppelinrox:
Wifi passwords are saved in the wpa_supplicant.conf file. ie. has nothing to do with any google account.

Well, except for wpa_supplicant@gmail.com ;)

1. That's his plan.

2. I did. Benchmarks are better than before :D
[Motorola Milestone Android Development] will5:
http://www.engadget.com/2011/03/18/rsa-hacked-data-exposed-that-could-reduce-the-effectiveness-o/

what do you think?
[Motorola Milestone Android Development] latino147:
So what does that mean? Does that file get wiped too or is it being left alone when doing a factory reset?
[Motorola Milestone Android Development] latino147:
I've tried using TB, but I find it too complex and I don't really know what I'm doing with it. There are a lot of apps and services with strange names that I don't recognize, so I don't know what to restore and what not?
[Motorola Milestone Android Development] TheFluffyOne:
Almost certainly not relevant to efforts to obtain the Milestone bootloader key.
[Motorola Milestone Android Development] BryanChung:
Me too =P Cronos! :D But I'll still look here to see how are others commenting. :)
[Motorola Milestone Android Development] James91:
Hey, zeppelinrox,

Will u post your smartbench performance for cm7??
[Motorola Milestone Android Development] JCeppli:
Anyone could help me?

I have problems with GPS, only works when i'm connected on internet.

If i try to use GPS offline, doesn't find my location.

I tried to reinstall and full wipe, but the problem continue.
[Motorola Milestone Android Development] zeppelinrox:
I'm quite certain that wpa_supplicant.conf get's wiped. But I have a solution for that.

1. Copy your wpa_supplicant.conf and the attached script (change extension from .txt to .sh) to sdcard\OpenRecovery\scripts

2. Boot into AOR and go to the Run Script menu

3. Run the attached script ie. wpa_conf_install.sh

I do that if my wifi acts stupid and this fixes it everytime.

I came up with it when android would not re-create the .conf file after deleting it.

When I install CM7, I will. I haven't flashed it yet but now it seems like a good time to do so. This latest update seems to be pretty solid with very few issues.

Try FasterFix. If you need a custom ntp server, look here
[Motorola Milestone Android Development] ynoi64:
hey, each time I choose a custom ringtone (from my music library), it works for 1 times, and the next time I get a call, it is the default ringtone... is there anyone else with this problem?
[Motorola Milestone Android Development] JCeppli:
Thanks for answer.

I tried faster fix, i selected south america and GPS it's ok, but only online. Offline is the problem.

How can i change custom ntp server to brazil?
[Motorola Milestone Android Development] zeppelinrox:
From the list go to the bottom and select custom.

enter: br.pool.ntp.org
[Motorola Milestone Android Development] tegezan:
hi..

why I cant add my contact as favorite contact..?
[Motorola Milestone Android Development] geevee11:
Do you have the 'use wireless networks' option enabled in location & security?
[Motorola Milestone Android Development] geevee11:
Just tick the star on the contact's detail. Or are you saying the star is unclickable?
[Motorola Milestone Android Development] JCeppli:
Ok, i understood these part.

But where is the list?

I can choose using root explorer, correct?

Thanks
[Motorola Milestone Android Development] JCeppli:
Yes, i have enabled.
[Motorola Milestone Android Development] geevee11:
It's in system/etc/gps.conf

Yup!
[Motorola Milestone Android Development] JCeppli:
This is the content of gps.conf on mine phone

NTP_SERVER=south-america.pool.ntp.org

XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin

XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin

XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin

SUPL_HOST=supl.google.com

SUPL_PORT=7276

What i need to change?

Excuse me but i'm noob on these sets.
[Motorola Milestone Android Development] zeppelinrox:
I was referring to the list box in FasterFix. Where you had selected "south america", keep scrolling down the list and at the bottom is custom. Select that and then you can enter a brazillion ntp server.

How many are in a brazillion, anyway?

Before editing it manually, use fasterfix first (fasterfix actually put that south-america entry)

If you do edit it manually, make sure that you set the permissions correctly
[Motorola Milestone Android Development] tegezan:
no, the star is clickable... but only one contact added as favorites.. i cant add more contack as favorites contact.. so its just me..?
[Motorola Milestone Android Development] njmata:
Webm Support

Hi, I want to know is the webm format is support in this rom? or I need to use a another video applications to see that video?
[Motorola Milestone Android Development] enrsil1983:
Me. I have a lot of custom ringtones, I've swithced to cyanogenmod from TheFroyoMod only for this problem, and now it's the same.

SMS Custom notifications associated with HandCent SMS works perfectly at 100%

It seems to be a common problem on a lot of Android devices, I've read that if the contacts are in the phone (not syncronized/associated to google) custom ringtones works. But it's not true, I've tried now... only the first 2 tries on a total of 7 (from 3 different numbers) were successful.

Now I've wiped out the whole phonebook and reimported from SD, all contacts are NOT syncronized with Google. I'm trying with Ringo Pro in background, seems OK, even during gaming sessions, but I will try to disable it (9 MB RAM used, and only for calls because as I said for SMS HandCent works perfectly).

Could the problem be in contacts.apk or phone.apk, or in the kernel?
[Motorola Milestone Android Development] JCeppli:
Zeppelinrox and geeve11.

Thanks for help me. Now gps works offline too.

I changed using fasterfix on custom.
[Motorola Milestone Android Development] cbstryker:
Telus is releasing an official 2.2 update for their Milestone:

http://phandroid.com/2011/03/18/telus-motorola-milestone-to-receive-android-2-2-froyo-next-week/
[Motorola Milestone Android Development] SaSa1983:
I just installed the official Milestone 2.21 via Motorola Software Update

Firmware:

GAS_EMEA_USAMS1FROYORTDACH_P013

Baseband:

3GSMEPU91A_U_91.09.04I

Baseband-Configuration:

UCASHLSMR2EMEAB1806E.OR

Kernel:

2.6.32.9-gafbfc43

w21529@il93lnxebld12 #1

Build-Nummer:

SHOLS_U2_05.26.0

I rooted it using the vulnerable recovery and AOR 3.3 afterwards.

I should now be able to reinstall a Custom ROM, right?
[Motorola Milestone Android Development] jonatasmz:
Everytime i open the keyboard and press some words.. some apps like messaging or contacts open... wtf?

Other thing... what launcher you guys are using? Im using "go ex" but i hate how everytime the launcher restart.. there is other launcher that stays in the memory always? Cya

Ps: using songbird player now.. best player ever.. realy awesome!
[Motorola Milestone Android Development] wisefreakz:
I kind have the keyboard problem sometimes and it seems that some how some key are pressed. What i do is lock the phone, open the keyboard and then press all keys.

Than it gets normal again.
[Motorola Milestone Android Development] tegezan:
can I apply apps2ext2 script to this rom..?
[Motorola Milestone Android Development] Menelkir:
Yes
[Motorola Milestone Android Development] zeppelinrox:
I noticed that you been having this problem for awhile so I'm glad you got it working.

It would be cool if WE got the BEST kernel eva! :D

Well, good news. If you read the supercharge link in my signature, and bulletproof your launcher, you probably won't be able to kill it if you tried ;)
[Motorola Milestone Android Development] Fekish:
i am having a lot of freezes with latest release and random reboots.. Shall i replace the bootimg again? Or there is a general problem with the ROM?
[Motorola Milestone Android Development] yayyap159:
Same here... And another thing, SetCPU 2.10 always crashes whenever i open it. Any help is greatly appreciated.
[Motorola Milestone Android Development] sdtaddey:
I had the same problem, but i just updated to 2.1.1a and now it works fine.

SENT FROM MY MILESTONE POWERED BY GINGERBREAD
[Motorola Milestone Android Development] James91:
Can anyone sum up the bugs or shortcomings of this rom ??
[Motorola Milestone Android Development] Rotundjere:
again... (kernel g11...) , always freeze .. :(

I'll keep using the 0.04 kernel :)
[Motorola Milestone Android Development] jonatasmz:
thanks man... awesome thread!...

my phone seens much better now.. thanks!

cya
[Motorola Milestone Android Development] :
http://www.cronosproject.org/forum/viewtopic.php?f=59&t=872&start=90#p30564
[Motorola Milestone Android Development] Subbie171:
Hey guys, which Apps2ext2 script is everyone using? I'm tired of getting low memory messages...
[Motorola Milestone Android Development] Rotundjere:
I think only the new kernel .. :mad:

it always freezin when I really need the phone (eg: taking video)

.
[Motorola Milestone Android Development] kabaldan:
just a few notes to the zeppelinrox memory tweaks:

In Gingerbread, there are 9 different android classes defined, not the mentioned 6.

Each android class should correspond to one of the 6 kernel classes.

If you change the kernel values, you should also adjust the android values defined in the ro properties.

You don't need to make the changes via additional scripts, you can change whatever you need directly in /system/etc/rootfs/init.rc

See the values I set for CM7 here:

https://github.com/nadlabak/android.../gingerbread/prebuilt/etc/rootfs/init.rc#L214

Android classes are defined on lines 210-232

Kernel classes are defined on lines 234-242

Notice the perceptible app adjustment I use - this is to prevent the killing of music playing in background.

For comparison, the default Gingerbread values set by google can be seen here:

https://github.com/nadlabak/android_system_core/blob/gingerbread/rootdir/init.rc#L216

Finally, to set the ro.HOME_APP_ADJ to -1 is really bad. That way you tell the low memory killer to prefer killing of the foreground app before the launcher in background. That's crazy. In case of some very memory hungry apps, you simply want the launcher to be killed. Otherwise you won't have enough RAM to run the app...
[Motorola Milestone Android Development] zeppelinrox:
Ill look into that info indeed.

I don't recommend the -1 for home either (all scriipts are with 0) so maybe i'll wipe reference to that.
[Motorola Milestone Android Development] alson041:
I went back to the 12.03. version. The newest one is just too laggy, I don't know what's going on.
[Motorola Milestone Android Development] kabaldan:
If you mean scrolling in ADW drawer, there's no need to go back to older version.

The less smooth scrolling in ADW drawer is the price paid for the more RAM friendly asset bitmaps handling (in ADW case caused by non existent icon caching).

You can see the new option I introduced for the RAM optimization in Settings>CyanogenMod settings>Performance>Allow purging of assets

With this setting on (default), assets can be purged from RAM (as it was under froyo, but changed to non purgeable under gingerbread).

This is the most significant RAM consumption related change introduced by gingerbread I found so far.

I suggest to reduce the number of columns in ADW's drawer, the less icons that need to be loaded at one time, the smoother scrolling.

Currently I use 3 columns and the scrolling is rather well.

Or you can throw away the RAM gain and disable the "Allow purging of assets" option.
[Motorola Milestone Android Development] BryanChung:
Thanks for the information. :)
[Motorola Milestone Android Development] alson041:
Yes, the slow ADW scrolling was one of the reasons. Also the overall feeling just wasn't the same. The Facebook app crashed every time it refreshed, and the battery life seems a lot better on the 12.03. version. I'll just stick with it for now.

There is still something I don't understand though. Is the purging of assets option RAM friendly or the opposite?
[Motorola Milestone Android Development] zeppelinrox:
Yes there are 9 classes defined, but

only 6 are supported

... What got combined?

The "setprop ro.PERCEPTIBLE_APP_ADJ 0" would be totally unaffected by changing the minfree values.

It would retain the same priority level as a foreground app.

But the question is, since the music is falls in with PERCEPTIBLE_APP_MEM,

what did PERCEPTIBLE_APP_MEM get combined with?

btw, I

really do agree

that having the launcher set to -1 isn't a good idea and specify not to do that now in the OP.

kabaldan, you really gave the impression that my suggested tweaks could seriously screw up people's phones.

Which isn't fair because:

- In effect, only 6 slots are used, not 9. Upon first reading you give the impression 9 minfree values could be made not 6.

That may not be what you said, but many will read it that way.

- Adjusting the 6 values (not 9) in minfree via 99complete can't effect the music OOM priority.
[Motorola Milestone Android Development] kabaldan:
That was surely not my intention and honestly, I don't see it in my post.

I wanted to give you some information you might be missing, so you could refine your tweaks to perfection.

On the android side, there simply are 9 app classes in use. And each of those nine classes should correspond to one of the 6 kernel classes. If you change only the values of the kernel classes, but leave values of the android classes unchanged, there is discrepancy. That's basically all that I wanted to point out.

I mentioned my perceptible app tweak only to accent how important the understanding of the android app classes can be.
[Motorola Milestone Android Development] gemini002:
i used this method and new cronos will flash this rom later and try this methos for ext 2 thanks man
[Motorola Milestone Android Development] zeppelinrox:
Oh I see :)

I did find those pages enlightening.

So just so I know how this works...

kernel classes ro.PERCEPTIBLE_APP_MEM and ro.FOREGROUND_APP_MEM, which both have a 1536 page memory threshold, will automatcially fall into the FOREGROUND_APP OOM grouping ie. the first minfree value which is 1536.

Is that right?

Hmm.. yeah.. what would the effect of this discrepancy be? The phone runs good :P
[Motorola Milestone Android Development] enrsil1983:
What about 0, 0, 24, 40, 50, 60 settings? Could it be useful?

EDIT: why custom individual contact ringtones doesn't work in a lot of ROMs? Is it a kernel problem, a common issue, a problem in some apk... where is the problem?

I've tried mp3 and ogg, in internal memory, SD and even directly in firmware, 60% of the times rings the default ringtone.
[Motorola Milestone Android Development] zeppelinrox:
That's a strange idea. What would you want to accomplish? If you are running a huge app, the visible applications (the second 0) will remain in memory so more memory won't be made available until there is no free memory left.

I edited init.rc to remove any descrepancy.

I thought that the OOM grouping of apps would be different but it all remained the same.

So to me it seems to me that the discrepancy has no discernible effect.
[Motorola Milestone Android Development] Fekish:
Today my phone was unusable, restarts and freezes...

The I just changed the boot img, and the phone for the last 5 hours is faster than ever! Didn't play any major games though so far...
[Motorola Milestone Android Development] enrsil1983:
I was playing with TigerMAME and the phone missed completely a call. While playing, TigerMAME slows down a little for 15 seconds, then return normal. After closing the game, I noticed the missed call (a work call).
[Motorola Milestone Android Development] zeppelinrox:
But the dialer is in the first category (foreground app) along with your game.

Actually, the game would get killed before the dialer because the dialer has a much higher priority.

So there is no sense dropping the second value to 0.
[Motorola Milestone Android Development] enrsil1983:
Then drop to zero only first category... I don't know

However, I don't know exactly how the integrated lowmemorykiller works, I thought it could be a good idea, but now I understand that it wasn't so good.
[Motorola Milestone Android Development] zeppelinrox:
I don't think the Milestone isn't too good for playing games to begin with lol

btw, if you don't know exactly how the lowmemorykillerworks, the only idea that wasn't good was screwing with it when you didn't know what you're doing.
[Motorola Milestone Android Development] salisbury_steak:
Huge thanks for clearing that Kabaldan. And I thought it was purely the launcher's fault (since I've been switching launcher almost every 2 days. :p)

To add, if you are a vertical scroll fan (like me), I suggest using the vertical old scroll as opposed to the vertical new. vertical old runs smoother.
[Motorola Milestone Android Development] zeppelinrox:
If anybody downloaded my script bundle today or yesterday, please redownload as it was missing 2 files.

Now, for

something juicy....

Task Manager Too Aggressive In Gingerbread...

My reply...

Whatcha think? Coincidence? Or not so much?
[Motorola Milestone Android Development] juandpineiro:
I totally disagree with that. In fact, I tried yesterday to prove that wrong. The problem is gingerbread and CM7, we can only make our phone a little more responsive... but when it comes to games, it fails and really hard, even with mem tweaks which IMO only make sure the launcher won't redraw, and other "everyday use" related issues.

Yesterday I installed latest CM6 (0.08-11.03.18) and my phone has never been this fast and responsive. Launcher doesn't redraw, camera works perfect, and the best part was when trying a couple of games.

- Gameboid: Perfect (CM7 killed it all the time)

- NFS Shift: Fine (Wouldn't even open in CM7)

- N64oid: Acceptable, which is actually pretty good since the emulator is still a little choppy even on better phones (playing Mario Kart 64 in my Milestone?? How AWESOME is that :D)

Considering those games and emulators won't even consistently RUN on CM7 i certainly DON't think the problem lies in our hardware which is very capable, now old, but still very capable.

And please stop the flame wars or take it to another thread, geez...
[Motorola Milestone Android Development] -SAIUN-:
I'm having issues with games since moving to CM7 as well. Angry Birds crashes a lot, and when it does run it's only for a few minutes before it starts slowing down, and then it eventually crashes soon after that.

Most emulators seem to struggle as well.
[Motorola Milestone Android Development] juandpineiro:
I totally forgot to mention Angry Birds! :p yup, very slow on CM7 in my experience too.

I'm not saying that playing games is more important than everyday tasks like answering calls, replying SMS, E-mails, Whatsapp, listening to music (although that's my opinion only :D:p) but I do like some casual gaming, which I don't think CM7 can handle very well as it is right now.