yashsingh1/xdaforums huggingface dataset:
[Motorola Milestone Android Development] Vatazhka:
You can look up changes on Kabaldan's GitHub if you're so interested in them...

Yes, it's safe (I'd fully trust Kabaldan, he knows what he is doing). The build is unofficial because it is not supported by CyanogenMod team.

Sent from my Milestone
[Motorola Milestone Android Development] Quentin himself:
Thank you Kabaldan for this continious work on both CM7 and CM9.

I just have one noob question.

I'm bored to install each time I flash a ROM all my applications and uninstall some of system apps (like Gallery (replaced by QuickPic), DSP Manager and other...). My question is : Could I take .apk from apps on my phone (with AppMonster for example) and put it on the .zip for automatic install when flashing ? If yes, where ? With other system apps ? Would the Market link be made (I will not install it with Market) ?

Thank you in advance :)
[Motorola Milestone Android Development] [E]Xtreme:
You can push those apps by your PC all at once. That's very fast
[Motorola Milestone Android Development] Vatazhka:
That's what apps like Titanium Backup were made for - one can freeze, install and uninstall apps in batches.

Sent from my Milestone
[Motorola Milestone Android Development] Garreth88:
I don't do full system format each time I install new version of CM7. I just apply update and all my apps remains, and I had no problems about it. Also, I open the rom file in winrar, delete unnecessary apps, and then I push it to my phone.
[Motorola Milestone Android Development] Quentin himself:
Yeah I know, but want to test CM9.

BTW, I had Titanium Free but batch method is really borring (make install manually each app: OK I want to install it.. etc.) and app froze A LOT. Don't want to pay an app if I can do it myself btw !

How ?
[Motorola Milestone Android Development] papadawgg:
flashed the new rc2 and this build is awesome. multitasking becomes much better, now and everything else seems snappier.
[Motorola Milestone Android Development] L3ibnitZ:
The new RC2 seems really snappier in general.

I would like to know what has changed.

Btw if someone is missing the virtual keyboard after updating to RC2 just restart your phone once again :)

Really nice work nadlabak! And thanks to everyone else which is helping to test several versions and report bugs.
[Motorola Milestone Android Development] dexter_10:
why always two of five incoming calls, I never cant listen to the other people??? :(
[Motorola Milestone Android Development] hearts king101:
http://xdaforums.com/showpost.php?p=26667811&postcount=7763
[Motorola Milestone Android Development] shalom06:
I guess skillraz_cz got a new phone... so i guess all hope is gone...
[Motorola Milestone Android Development] L3ibnitZ:
that would be very sad :(

But maybe he is gonna continue developing for milestone, too?
[Motorola Milestone Android Development] shalom06:
Hmm well sorry if i play spoilt spot ....i checked his Github profile and there are huge number of commits for an acer phone ..its been a long time since he has worked on sumthin for the milestone ..judging frm his commits for the other phone..
[Motorola Milestone Android Development] kabaldan:
Skrilax_CZ still uses Milestone as his primary phone. That Acer is a tablet, not a phone.

Nevertheless, swap enabled via kernel module is most probably not gonna happen anyway.
[Motorola Milestone Android Development] milest0ne2:
Hi,

ist anybody experiencing (extreme) lags with camera apps on the Milestone with CM7?

What happens is this: I switch to a camera app, take a photo an it takes up to a minute (!) for the app to save the photo. Sometimes (depending on the app) it will not save at all, the app will freeze or crash all together.

Even if a photo is saved, afterwards the app seems frozen. It takes up to a minute until the last taken photo dissapears, then the "live-view" works, so I see everything on the screen through the camera but ending the camera-app with the "home" or "return"-key takes very long, the haptic feedback doesn't work when I press the keys and it takes a couple of seconds until the haptic feedback occurs (delayed), then another couple of seconds until the app ends.

When I check with QuickPic if the pic was saved, most of the time it was not.

Apps that I tried:

Kamera (included in the ROM): saves pictures but shows lags, can't be ended

Little Photo: lags, saves pictures (sometimes)

Kamera 360: lags and doesn't save pictures

Paper Camera: lags, saves pictures (sometimes)

Pixlr-o-matic: lags, saves pictures (sometimes)

Pudding Camera: lags and doesn't save pictures

Retro Camera: lags, saves pictures (sometimes)

Things I tried:

Playing around with the "V6 supercharger script" (is that a good idea, anyways?) and enabling/disabling Chainfire 3D (because I thought that could mess with processing graphics), but to no avail.

Does anybody have similar problems (I used FroYo MOD before and never had this kind of issues) or could I be facing hardware problems related to my phone's camera?

Kind regards
[Motorola Milestone Android Development] Eiertschik:
That's what drove me away from CM7 - taking pictures also froze my phone and sometimes killed it.

I didn't have these problems with MIUI (basing on CM7) and not even on CM9.

Maybe a different SD card would help - but I guess it's a ROM-based issue.
[Motorola Milestone Android Development] LuigiC6:
I am not experiencing, nor have I ever experienced a problem with the camera. It is insanely fast for me. No complaints whatsoever.
[Motorola Milestone Android Development] Milestone...:
Flashed the new update (RC2). I'm having this problem in the messaging app, I restored a 11k conversation now my messaging app won't work it always doesn't responds. So i have to manually restore them so it won't freeze ... this doesn't happen to me when i was using ics rom.
[Motorola Milestone Android Development] ForMartha:
Hi,

I cant figure out what makes my phone acts like maniak..

the phone somtimes calls to contacts by itself,

Cant be sure when it happens, but it does, because i'm getting callback that tells me that I left some messages in the voice mail..

any solution?
[Motorola Milestone Android Development] Milestone...:
Apps are not compatible with the new update :/ the new update is kinda faster than the other on will switch to RC1
[Motorola Milestone Android Development] florinash2006:
It's 2012 and I hope that Motorola will somehow unlocks older boothloaders...
[Motorola Milestone Android Development] w4tchout:
Yes, I've got those problems too..
[Motorola Milestone Android Development] milest0ne2:
Ok, thanks, good to know it's not only my device :)

I hope those issues will be addressed some time ...
[Motorola Milestone Android Development] heavony.ivory:
Providing log will help !!!

Sound like hardware (memory card).
[Motorola Milestone Android Development] milest0ne2:
Great, just before testing it again, I installed RC2 and used SuperCharger "balanced" setting, now most apps seem to work all right. Tried it with Kamera 360, Pudding Camera, Retro Camera and Camera Zoom FX. All apps saved the photo, some took longer but not as long as before.

Only one app still showed lags: Paper Camera. It saved the photo but took very long to do so and froze afterwards (no response to the home button afterwards).

Here's the log, hope it helps:

http://pastebin.com/i73ivyMJ

What could be the problem with the SD card? Too slow? Why wouldn't the problem show with FroYo MOD then? (same card)

Kind regards
[Motorola Milestone Android Development] chaoscreater:
Hey guys, I know that you can REMOVE .apk files that you DON'T want to install in the update.zip package, but can we ADD our own .apk files that we WANT to install into the package? Will they need to be signed or will they just be installed without any problem?
[Motorola Milestone Android Development] enrsil1983:
Add everything you want, but don't forget to free space before by deleting, for example, themes, japanese-hebrew-arabic fonts and other apks with relative odex.

But I prefer to install them after the installation of CM7: install normally, then use Root Explorer to move them in /system/app folder
[Motorola Milestone Android Development] chaoscreater:
Sorry I don't quite understand your reply......

Are you saying I must delete the unnecessary themes and fonts that I don't use in order to free up space? What's the "relative odex" for?

Also, why would you move the .apk files to /system/app folder using Root Explorer?

The only thing I want to do is to pack all the .apk files I normally use, into an update.zip file. I thought it would be easier if I could just add them into kabaldan's CM7.2 rom, since it's already in an update.zip file and that I can just put the .apk files I want to install into the apps folder.

This way, after flashing the update, I won't have to manually install all my apps again. That's the whole point of NOT using Root Explorer or Titanium Backup etc, I prefer to let it all install at once during the update process.
[Motorola Milestone Android Development] enrsil1983:
The update.zip of CM7 will wipe your system partition, so don't modify kabaldan's one, use the one attached if you want to add them after CM7 installation, so you can easily monitor free space. Note that if you use adfree app you'll need 1 MB free in /system partition to store the hosts file.

Yes, I'm saying that you must have free space in system partition to install. And "the relative odex" part is simple: if you remove DRMManager.apk you should also remove DRMManager.odex
[Motorola Milestone Android Development] Hexchain:
@chaoscreater: You should notice the update.zip size in order not to let it become too big to fit in our little MS rom. Deleting fonts or apps or such unused files is just a way to reduce size. Also remember, if you remove XXX.apk in /system/app, don't forget to remove XXX.odex. The main part of those system apps is in those odex files.

You can try to do so, but I wonder if there's any problem with the package signature.
[Motorola Milestone Android Development] nitrobg:
I'm having a problem with the data connection on my Milestone. Everything appears to be configured, I have an active APN, 3G is turned on, etc., but when I enable mobile data from the settings menu, nothing shows up in the status bar.

I'm getting this message in logcat:

I/TelephonyRegistry( 2092): notifyDataConnection: state=0 isDataConnectivityPossible=false reason=apnFailed interfaceName=null networkType=3

The APN settings are correct, I double checked them on my carrier's website. What else could be wrong?

I'm using the latest RC2.
[Motorola Milestone Android Development] dstruct2k:
For anyone else seeing issues with the Camera, please try SD Speed Increase from the Play Store; The default value of the SD filesystem cache seems to be much too low for many phone/SD card combinations. With our limited RAM, and the general poor speeds of bundled SD cards (mine was a 16 GB though, so I won't bother replacing it) it's a recipe for lag whenever there's a large amount of data attempting to be written to the SD card.

By increasing the cache size to something more reasonable, such as 1024-2048kb, you'll see huge speed boosts in most apps.

The reason Froyo didn't show the same issues is because it's much lighter on RAM, leaving more true "free" RAM for the filesystem drivers to dynamically use as cache. Gingerbread is heavier, leaving less RAM to do that job with, which is why increasing the cache size helps with the problem.

Hope this helps someone. :)
[Motorola Milestone Android Development] nitrobg:
Increasing SD cache size to a bigger value means that the value is ALWAYS stored on the phone's limited RAM. If you set it to 2048KB, you will have 2MB less RAM available to the programs. It's not recommended to do so.
[Motorola Milestone Android Development] dstruct2k:
I'd gladly trade 0.89% of my RAM for a functional camera. :p
[Motorola Milestone Android Development] milest0ne2:
Thanks, I will give it a try!
[Motorola Milestone Android Development] Vatazhka:
Kabaldan reduced microSDHC card readahead buffer size in order to prevent Google Maps freezes at start. I have not increased it and I use microSDHC card bundled with the phone (FAT32 filesystem is also pretty cluttered), however both Camera and Camcorder work without major hiccups. Just one note - I restart my phone on a daily basis.

BTW, did anyone experience the muted calls issue with the latest build? I noticed a couple of users complaining on a Polish forum that the muted calls fix was not working for them and would like to ensure that I don't need to flash older audio libraries.

Sent from my Milestone
[Motorola Milestone Android Development] nitrobg:
Remember that you have 30-50MB of free RAM on idle.
[Motorola Milestone Android Development] dstruct2k:
I'm well aware of that, but I've noticed that the Camera app locks up after 2-3 pictures taken in quick succession on default settings, but if I increase the SD cache, that problem goes away entirely.

I'm not worried about how much free RAM my device has, I'm worried about the usability of it. I don't need 60+ MB free, I need to be able to unlock my phone directly to the camera, take a few pictures, and put my phone away in a short amount of time. I don't want to sit and stare at a "frozen" app while it's busy attempting to write a 2MB image through a 128KB cache, all the while fighting off services that are attempting to reclaim RAM and keep themselves running "just in case they need to do something".

I do understand the need to prevent lockups on boot, but perhaps changing a system-wide parameter to throttle a single app is the wrong way of going about it. I personally don't see any issues with my cache size increased, and I do have Google Maps installed.

---------- Post added at 02:43 PM ---------- Previous post was at 02:41 PM ----------

I have an HTC Diamond running my own custom build of Windows Mobile 6.5.3 that hasn't rebooted (or needed a reboot!) since November 2011. I really hope to get the same kind of stability out of Android, no matter what I have to tweak, and so I try and avoid reboots wherever possible.
[Motorola Milestone Android Development] kabaldan:
dstruct2k:

read_ahead_kb parameter specifies how much data will be read in addition to the data size that is actually requested to be read.

If you set it to 2MB, even if only 10kb file is requested, 10kB+2MB will be read.

The additional data are stored in cache until they're thrown away as the cache memory is needed for something else.

So it increases the chance that the next read will hit the already cached data and the actual read from data medium can be avoided.

But it can also cause unnecessarily increased i/o operations.

read_ahead_kb is only about reading. It has nothing to do with writes to sdcard.

I don't see any relation between read_ahead_kb parameter and camera stability.

I don't limit the read_ahead_kb parameter - the default is actually 128kb, the current value I set in CM7 for Milestone is 256kb - to help audio and video playback.

Too high read_ahead_kb values can contribute to increased RAM fragmentation.

Too high RAM fragmentation causes memory allocation issues (despite the fact that there is plenty of free RAM available in total), usually first seen in the SGX PVR driver (but not limited only to it, it can cause all sorts of issues). That's what's causing Google Maps app to freeze. But the problem is certainly not limited to this one app.

To milest0ne2 and generally about camera:

It's indeed about the RAM. Too many running background services, apps locked in memory (like bullet proofed launcher), RAM demanding widgets, RAM hungry soft keyboard... this and other similar things can cause issues with camera.

I personally can take as many pictures as I want and there's no camera app freeze nor delay for me.

Don't use supercharger, reconsider which apps with always running background services you really need, check how much RAM your software keyboard, launcher, sms/mms app etc. demands... (use procrank command to see the pss of running processes)
[Motorola Milestone Android Development] kabaldan:
Actually, I'm the one who's impatiently waiting for the feedback on the 'mute calls' case ;) .

So far I've received only two conflicting reports (1:1 - fixed vs. not fixed). So there's basically nothing I can base my next decisions about how to deal with this issue. (I'm experiencing a mute call extremely rarely, so it's almost impossible for me to reproduce and debug it).
[Motorola Milestone Android Development] scoutme:
+1 fix working here ...
[Motorola Milestone Android Development] Vatazhka:
Could you set up a poll with 3 answers, please? "Mute calls issue is fixed in 7.2.0-RC2": "I agree", "I disagree" and "I never or rarely experience mute call issue".

Sent from my Milestone
[Motorola Milestone Android Development] scoutme:
Wait... I applied the libaudiorevert update. Rc2 does include it already? I thought not...
[Motorola Milestone Android Development] cool bean:
Thanks for the rom kalbadan

So I wiped everything and installed rc2 with the gapps from dec2011 from the links in the first post. I can't see playstore. What did I do wrong?
[Motorola Milestone Android Development] enrsil1983:
No mute calls after RC2.

Before, I needed to revert libaudio.
[Motorola Milestone Android Development] Vatazhka:
There was a supposed fix for muted calls introduced recently in the form of a change in logical condition in the code, not by reverting libaudio to the original version (which the update package you mentioned does). However, I heard couple of users complaining because of muted calls on a local Polish forum (it seems that the issue occurs particularily frequently in case of handsets sold by a single Polish operator, Play or perhaps the ones registered in this network), so I'd like to hear from other users as well.

Sent from my Milestone
[Motorola Milestone Android Development] kabaldan:
Vatazhka: Please, try it for yourself and then report back.

You can always use the hold/unhold trick to get the audio back in case of a mute call, so you won't miss any important call. If the issue will persist for you, you can revert the libaudio later. What's the big deal?

(I don't like polls and simple a) b) c) tests/answers when it comes to debugging. I need logs and circumstantial information from the users experiencing an issue. Anonymous poll has no real value for me.)
[Motorola Milestone Android Development] L3ibnitZ:
Did you sign in your gmailaccount?

As far as i know Market/playstore does not appear until you signed in.
[Motorola Milestone Android Development] cool bean:
So finally signed into gmail. Playstore appears now.

I have intermittent cutoff from my network...what else did I do wrong
[Motorola Milestone Android Development] Vatazhka:
OK, I will try to dump logs when a muted call occurs, however it only happened to me once, after which I started to revert to older libaudio after each update (just to be on the safe side, I don't need to record my calls) and didn't experience the issue anymore. The same was reported on your bug tracker by several users, thus I'd expect this workaround to be reliable. So I doubt that I will be able to provide any logs (I hope I won't have to...).

Anyway, it's your ROM so I don't have right to demand anything. I'm grateful that you have provided a convenient way to downgrade libaudio by publishing a flashable package, but personally I feel that the old libaudio should be the default. I thought about a poll which could help to visualise scale of the issue and support my proposal if the issue is widespread and the flow control fix didn't change anything with regard to this issue.

Sent from my Milestone
[Motorola Milestone Android Development] Fekish:
I had also problems on my phone, but i think there is a hardware problem on mine.:

Wifi was not working, and when i clicked airplane mode then it changed the status of wifi and was sucking battery.

I went back to Miui just to check if the same problem was on there, and no problems, no muted calls and on some occassions wifi connects!
[Motorola Milestone Android Development] scoutme:
I restored original RC2, without reverting libaudio. Gonna test the latest fix and report back
[Motorola Milestone Android Development] cool bean:
So, I reverted back to HONO! 7.1 and I no longer have "no network" problem.
[Motorola Milestone Android Development] puffo81:
I had updated to RC2 2 days ago.

Uptade was flawless as every Kabaldan work, and mute calls problem seems to be disappeared.

I don't receive a great amount of calls, but for now never had a mute call..

Milestone is still a great phone, good hardware, still more than usable with custom roms, but I think I'll buy a SGS3 in short time.. btw I think I'll keep my MS, follow this forum, and hoping Kabaldan will develop for SGS3 too =)
[Motorola Milestone Android Development] kabaldan:
HO!NO! is Canadian, so he sets the Telus baseband (2100/1900/850) as the default in his CM7 repack.

CM7 for Milestone sets as default the EMEA baseband (2100/900)

Look in the Device settings, there you can select the right baseband for your phone/network.
[Motorola Milestone Android Development] nitrobg:
Still can't find a solution to this one.

Anyone?
[Motorola Milestone Android Development] winettou:
What was command to keeping alive mine sms.app? cause from last update its being killed very often;/
[Motorola Milestone Android Development] zankyw:
I've been using a Play SIM card during the last month in Poland and have suffered from several mute calls with my Milestone with RC1... don't remember having the same issue in Spain with Orange.

I'll update to RC2, let's see if it's better now. Thanks for the update!!
[Motorola Milestone Android Development] kabaldan:
There should be no need to keep the Mms app in the RAM all the time anymore (if you're using the stock Mms app). It's mentioned in the changelog.
[Motorola Milestone Android Development] bethichvusua:
There's still mute calls (twice yesterday) in the latest RC2. I've just reverted back to the old audio lib.
[Motorola Milestone Android Development] keunhuvac:
2592x1456=16:9, a crop from 2592x1936 (4:3), so why need 2592x1456? ^_^
[Motorola Milestone Android Development] Caz666:
You can post a logcat for kabaldan to look at. But there is no "general" solution to this. I helps kabaldan find bugs and other such errors...

If this is not tolerable for you, then you need to use a more stable ROM (CM6 or other 2.2 based ROMs don't randomly crash).

The random reboot happens less than once per week for me.

I am not sure I would be on this ROM if it was a daily occurence.
[Motorola Milestone Android Development] skribzy:
A fine point! I just prefer it when the photo fills the whole screen! is there a way to change it back?
[Motorola Milestone Android Development] milestonedude:
Ill install alogcat and post my logs. I got daily reboots on rc1, I just updated to rc 2. So I hope to get less reboots. Regardless I love CM7 and it totally worth the reboots.
[Motorola Milestone Android Development] bandroid842:
I keep doing this every which way possible, but the sign remains "?". It does not show any percentage after I put back the battery, and I leave it for 5 minutes like that. Any tips?
[Motorola Milestone Android Development] BryanChung:
It does for me.. from "?" mine showed "100%". So my battery is good.
[Motorola Milestone Android Development] bnwg:
You should see the battery diagram with percentage on it...just like what you saw for "?". And your LED light should lite up in yellow. If it didn't show up then try to push the power button. The battery will be kept charging until it's full with 100% (and your LED light should lite up green). Then here you go.
[Motorola Milestone Android Development] Menelkir:
Im receiving sms and the received time in sms is 3 hours ahead. o_O

And yes, my clock and timezone are ok.
[Motorola Milestone Android Development] cathacy:
you may try MIUI camera beta version.

This full screen camera fine for me.