yashsingh1/xdaforums huggingface dataset:
[Motorola Milestone Android Development] zeppelinrox:
I tested those steps... nothing went wrong :)

Maybe a clean install or general maintenance... database vac/fix permissions/zipalign (just in case)

heh... well I've been toying with additional services.jar edits.

It has alot more than the six edits in my tutorial... seems to work better with less inconsistency :)
[Motorola Milestone Android Development] d3adbroke:
Finally got it working but camera freezes up after about two pics
[Motorola Milestone Android Development] BloemBlaster:
Weird.

I have just tested with multiple photo's, but I haven't changed any camera settings

photo's 1 -3 fine pretty fast, after the 4th it stalled for 18 seconds. 4 - 9 Fine stalled after the 10th photo for about 25 seconds
[Motorola Milestone Android Development] d3adbroke:
Yeah I was testing today...so I went back to cm7 for now but nice to see cm9 coming this far
[Motorola Milestone Android Development] horazius:
I'm losing messages (sms) too. At least 6 in last week.
[Motorola Milestone Android Development] afadel:
I've missed some too. And the ones that arrive are not notified, apparently the message apk (is it a service?) is being killed.
[Motorola Milestone Android Development] zeppelinrox:
It's a bit of a hack, but you can try using the bulletproof apps feature of the V6 SuperCharger...

You don't even have to SuperCharge or patch services.jar to use it.

yeah... yeah... shameless plug...

Sue me... but not if it works :D
[Motorola Milestone Android Development] mrvek:
You've mentioned this before. So after first 2 messages i tried that feature bulleting mms, setcpu, phone and i still lost 2 messages after that and i see setcpu constantly restarting (setting setcpu to constantly display notification minimizes this but it is still restarting). Tried even patched services from mimic.ca.
[Motorola Milestone Android Development] zeppelinrox:
I doubt setcpu is of much benefit.

Just leave use on demand governor... and the phone sleeps alot when not being used.

Which version and what setting did you try?

You can't be too aggressive when bulletproofing 3 apps
[Motorola Milestone Android Development] _crAss_:
Can it be implemented in CM settings just as it was in CM 7 to lock the messaging app in memory?

Of course the available memory will drop even more because of that, since it is safe to assume that the service is not running most of the time... :(
[Motorola Milestone Android Development] mrvek:
Setcpu i use primarily for profiles (device tends to get quite hot).

Interactive is a bit better for me.

Not sure what you mean about setting but:

Custom values: 8, 12, 22, 24, 30, 36

Nitro lag, bulletproof apps.

First i used only app bulletproofing but after loosing messages (and laggines of phone) i decided to try some more options. Doesn't help much, ram is dropping rapidly.

Also, I changed mfk to 2MB (sys default is 5mb, your calclulated 4505 kb) since i practicaly do not use maps and i belive that kabaldan set this to 5MB to reduce memory fragmetation.
[Motorola Milestone Android Development] Abu3792:
Thanks for the info but don't you notice a lag when you open the app tray and Widgets tray or just scrolling through them?
[Motorola Milestone Android Development] mrvek:
Who? Me? If so then do not use the above mentioned settings. Those were just to reply to zep's question. It is most definitely NOT a suggestion to others! Just my experimenting which has failed. Currently I'm full stock as kabaldan made it. Except dpi. Btw, does someone know if lowering density influences performance since there are more physical pixels to render?
[Motorola Milestone Android Development] Abu3792:
Me talking about stock kabaldan
[Motorola Milestone Android Development] brunofm:
I always wondered that too. I'd guess it does.
[Motorola Milestone Android Development] kabaldan:
Abu3792: Uncheck "Join with apps" under Widgets in launcher preferences/Drawer if you're using Trebuchet. There is similar setting for Apex launcher.

DPI: well, the worst case of number of physical pixels to render is always the same: 854x480, right? :).
[Motorola Milestone Android Development] zeppelinrox:
Well the minfrees are on the low side generally but slots 5 and 6 are kinda aggressive.

8, 12, 24, 25, 27, 30 should be faster with better multitasking.

Low MFK wont free up ram - it just reserves that amount from free ram.

The app your using may end up being starved for ram as well when it's that low.
[Motorola Milestone Android Development] mrvek:
:) But there is much more on screen if dpi is lowerd. I guess it does not have negative (or any) impact on performance?

---------- Post added at 09:33 PM ---------- Previous post was at 09:28 PM ----------

I'll might try it sometimes.

Yes. But it reserves that amount of KB less. Doesn't that make this difference in KB available to system/apps? Since it's not reserved any more.
[Motorola Milestone Android Development] zeppelinrox:
Type "free" in terminal.

The lower you make MFK, the lower the idle/free ram is.

And when you have only 2MB free... you'd rather take a bus and have a conversation instead of calling them on the milestone.

It would be faster too.
[Motorola Milestone Android Development] kabaldan:
Uhm... It's not that simple.

The mem_free_kbytes default for 226MB RAM is 1991kB.

(see e.g. this - http://dd.qc.ca/people.redhat.com/kernel/min_free_kbytes.html )

We want to use some optimal, reasonably low value. High value would cause less RAM available for apps as the reserved memory can be used only by kernel space.

The default value would actually work rather fine... if there was not so strong tendency to RAM fragmentation in the case of our 2.6.32 kernel.

There are situations when the total amount of free memory is perfectly sufficient and yet the higher order allocations may fail, because almost all of the free memory is available only as single page blocks (4K). When the kernel (usually the SGX PVR driver) needs to allocate continuous 8K (or even bigger) block and fails, it can lead to freezes and reboots (most often observed when running Google Maps, but it's not the only case).

(btw., the same happens also in 2.6.32 kernels for 512MB RAM Motorola devices such as Defy, Milestone2, Droid2... that have much higher amount of total free RAM. Go figure...).

Setting higher value of mem_free_kbytes can prevent such amount of fragmentation.

So the goal is to find as low value as possible (higher or equal to 1991kB), that will be high enough to prevent the fragmentation issues.

So far, I've settled at 5120kB.

(if you want to check the free fragments of memory, use cat /proc/buddyinfo - the output says the numbers of free blocks - 4k, 8k, 16k, 32k and so on)
[Motorola Milestone Android Development] TioBorracho:
home button not working

Anyone having trouble with the home button on the last mrvek build?

Mine vibrates but doesnt work at all.
[Motorola Milestone Android Development] afadel:
Works for me. Vibrates and goes to home screen.
[Motorola Milestone Android Development] mrvek:
Try to clear dalvik-cache and cache and reinstall. It might help.
[Motorola Milestone Android Development] Abu3792:
Just installed the cm9 but the gallery isn't working ...it says no images and videos found whilst I have pics and videos on SD card

Please help I did a clear data but that did not help
[Motorola Milestone Android Development] mrvek:
Works here. Have you tried some other image/video viewer (like quickpic or any other)?
[Motorola Milestone Android Development] Abu3792:
Update: I reflashed the rom works fine now ..........
[Motorola Milestone Android Development] vishalmullur:
I have not been notified about messages that have arrived a few times but it seems some are not receiving them at all and after reading that I am worried if I have lost them too. is their any way to prevent it. messaging is very important for me too.
[Motorola Milestone Android Development] hanschke:
with the last build from a user here a few files are missing like keyboard and other ringtones. it is much smaller than the other ones.

can anyone please make a new nightly build that is complete?
[Motorola Milestone Android Development] TioBorracho:
Tried that with no luck. Also I noticed I'm not receiving calls. I can make calls but not receive them.
[Motorola Milestone Android Development] vikasbn:
See if you have a .nomedia file in the directory that holds your pics?
[Motorola Milestone Android Development] Abu3792:
I got problem with some of the apps which I try to download from market says " package file invalid " what's with this now??

Is it just me or I didn't find YouTube to be part of the ics gapps and when I try to download the above invalid message is displayed :confused:
[Motorola Milestone Android Development] Abu3792:
No it wasn't.... I did a reflash and the gallery is working :thumbup:
[Motorola Milestone Android Development] afadel:
Do you have an ext partition? This market problem is usually related to full internal data partition.
[Motorola Milestone Android Development] mrvek:
Unofficial build (18 April)

New build (unofficial) from kabaldan's, pretty ingenious, work.

Some changes:

Kill off USB notification sound.
Add support for new ICS USB handling.
Add support for USB tethering interfaces that are always present.
Add support for using a custom USB management service.
Make resign clear and allow odexing for proprietary apks
Updated WiFi drivers
Update Toggle2G to v0.2.4
Some fixes for custom USB service handling.
Fix error in libphonenumber path
Tethering: Tolerate socket exception from ifindex look-up
LatinIME Keyboard: Update Russian Translation
Ukrainian LatinIME keyboard layout
Revert "Use Holo theme for character picker dialog"
Use usbd with rndis support (from Defy firmware)

md5: e5e86014596569211881178a91858fa4

Download
[Motorola Milestone Android Development] 0510:
usb mode dont work

thanks mrvek but usb mode dont work

help please
[Motorola Milestone Android Development] GT35pro:
Any reason why I shouldn't be using task killer with this rom?
[Motorola Milestone Android Development] _crAss_:
Can someone check if the lost sms problem still exists?
[Motorola Milestone Android Development] adistf:
i dont have this problem :-? i use my phone for texting calling and i have no problem.this new update is really awesome!

because android system will close apps from background when it needs to free up some memory.dont need to close them manually because some of them will start again after few seconds causing battery drain and system slowdown a little bit for a short period of time
[Motorola Milestone Android Development] mcdevtingz:
Shouldn't use it with any ROM. Ever. It uses up battery for a start.
[Motorola Milestone Android Development] Abu3792:
Well I noticed another glitch; when I call someone from my contact list and later check the call log it always display " unknown called or missed or received" though all the contact are very much on my contact list :what:
[Motorola Milestone Android Development] mrvek:
It appeares so. I haven't had any issues so far, but it's too soon to give a definite answer. Hopefully others will share their experience.

Regarding usb problem: kabaldan has made some changes and fixes so that might help.

I'll try to upload new nightly with these changes soon.

Minor bug: sim pin input has one as pointed by Ofasix. Issue is that while trying to write sim pin using hardware keyboard no feedback is provided. However, the pin is accepted normally (if correct pin :)).
[Motorola Milestone Android Development] dstruct2k:
Settings > Call Settings > Additional Settings > Caller ID > "Show number"

That should fix it. (I'm on CM7 right now so my setting path might be a bit off, but that's how you fix it.)
[Motorola Milestone Android Development] mrvek:
Those settings are in dialer (Phone) on ICS (Phone > settings > additional settings > caller id). Although kabaldan fixed it a while ago (i think in his latest official or snaphot).
[Motorola Milestone Android Development] afadel:
It hasn't happened to me yet, but definitely more time is needed to be sure.
[Motorola Milestone Android Development] ivanoterra:
Wtf ? Anger therapy needed ?

I cant see why would you get so offensive....
[Motorola Milestone Android Development] GieltjE:
I am losing about 50% of my sms based on people's reactions I have gotten last week, even cost me my evening dinner once.... (running stock sms app).

Otherwise it's a great rom!!:D
[Motorola Milestone Android Development] shalom06:
we hav 1 dev S2 users hav millions....its quite annoying when sumone tries to take kabaldan away from us :D
[Motorola Milestone Android Development] n3n00:
How to uninstall talk, maps and news&weather? I'm only able to freeze them... they are not in system/app but they are working...:/

I can't do it with TBackup cause it says that app doesn't exist (I already did it once and there was no error, but they didn't uninstall :(.

Edit: when I uninstall Maps with TB, it just uninstalls it partially (so when I enter Maps it says Updated to latest version) -.-

*Also a little review of ROM. Excellent work, kabaldan (and thanks to mrvek), this is way better than the first 2 builds. So far everything is ok, but I need to make app2ext... HQ video preview (youtube and gallery) lags a bit (but I'm fine with LQ for now)... and yeah, no multitasking, I can't run Browser and Google Music at the same time (maybe I should install some memory-light music player?), but I am staying on CM9 for now... It looks so cool :) and yeah, battery is better than on CM7 IMO.
[Motorola Milestone Android Development] sfahadzb:
Those are in vendor/app
[Motorola Milestone Android Development] ngonchan:
Dont uninstall or freeze Talk, you'll have some problems with Google Play if you uninstall/freeze Google Talk :|
[Motorola Milestone Android Development] _crAss_:
n3n00: You can just disable automatic starting of these applications with a program like Autostarts. This way they are still there when they are needed, but do not take up memory space

Kabaldan Is it possible to add the stock sms app in System UI as you did for CM 7? Maybe that way some memory can be saved and at the same time the received sms problem to be addressed. Thanx for you effort!
[Motorola Milestone Android Development] mrvek:
@n3n00: yes. /data/vendor or /sd-ext/vendor. Delete and do TB clear dalvik (after reboot) or remove accompanying .dex files. In case those left over. Not that leaving them will kill the system. Just to keep it clean.
[Motorola Milestone Android Development] mrvek:
Unofficial build (20.04.2012.)

Unofficial from kabaldan's work.

Booted fine.

Not

thoroughly

tested

so please make backups just in case.

Some changes:

Revert "use usbd with rndis support (from Defy firmware)"
usbd: fixed missing null terminator when sending get_descriptor
More logging in setting usb mode
Fix log and no continue in main
get rid of proprietary prebuilt usbd
Fix - uevent socket
Fixed get_usb_mode_index
Fixed log message
Phone: Add LTE+GSM to the list of valid network modes
Settings TTS: Default sample play failed for PicoTTS
DevicePolicy: Fix lockNow() failing to turn off screen
French: updated translations
Phone app: hungarian translations

MD5: 35b082dc610e2ea2108a6c841e21781e

Download
[Motorola Milestone Android Development] n3n00:
Done, thx. And no problems with Google Play after uninstalling Talk.apk :)
[Motorola Milestone Android Development] mcdevtingz:
Amazing right! Can you add an option to keep SMS in memory please!
[Motorola Milestone Android Development] zeppelinrox:
I think the usb changes in latest build messed something up.

Explorer (Windows XP SP3) can no longer see the device's sdcard when connected with usb.
[Motorola Milestone Android Development] zeppelinrox:
USB has never given me a problem until I flashed the April 20 lol

I didn't flash the April 18 one though... the one before that was the last one that worked as usual.

What kinda hell would break loose though? It's seriously been hassle free for me.
[Motorola Milestone Android Development] sfahadzb:
Did u try with usb debugging disabled? I once had a similar problem which was solved this way but i dont remember which rom it was
[Motorola Milestone Android Development] GieltjE:
For people with usb problems and/or missing library's reflash gapps, helped me with both cases.
[Motorola Milestone Android Development] mrvek:
Let's hope kabaldan and Skrilax won't get mad at me :o It is kabaldan's thread after all. It's that I see no point in starting a new thread. This is much simpler.

Attached file should fix usb untill it is fixed officially. It is update zip (OR). It restores proprietary usb deamon (I think, this is kabaldan's area of expertise, perhaps he will find the time to explain).

It worked for me and pc mounted sdcard. Couldn't get adb to work though. Maybe a drivers issue on my side.

Edit: No wipe needed.

@zeppelinrox: The hell I (and probably only me) get with usb is screen freezes. I guess it has something to do with dsi errors (dmesg has lots of output related to dsi and by descriptions od dsi errors it seems it is the same). And by mere accident I discovered that 00adb_during_boot prevents these freezes until usb is unplugged. If you're interested a screenshot of what it looks like when the screen freezes can be found on the official dsi/mmc fix thread (or simply: screenshot ;) ). I never did manage to figure out what was killing me.
[Motorola Milestone Android Development] mrvek:
Lost messages problem still exists. I lost one yesterday.

sys.keep_app does not help.
[Motorola Milestone Android Development] ngonchan:
If you still want to try Lightning on CM9, install Lightning setup from Play Store, then adjust Home/App Drawer - Plain Color's opacity to 100% (default is 0%) This will fix graphic glitch :)
[Motorola Milestone Android Development] mrvek:
updated usb

Kabaldan has fixed usb (how weird ;) ). The attached file contains OR update zip.

I think this is easier than to flash entire rom.

Cache wipe is highly recomended.
[Motorola Milestone Android Development] mcdevtingz:
Is there anyway to keep an app in memory on ICS? I have 30mb free so I want messaging locked innnn
[Motorola Milestone Android Development] GT35pro:
Anyone know of a fix for Opera mini browser? The right half of the screen goes black when in landscape mode but still responds to touch.
[Motorola Milestone Android Development] mrvek:
Downgrade. It is opera bug.
[Motorola Milestone Android Development] adome5:
anyone cnow about option that can add a timer and stopwatch on the clock app or app that have all in 1?

i notice that not have a movie player in the cm9-why?
[Motorola Milestone Android Development] n3n00:
https://play.google.com/store/apps/details?id=com.alarmclockultra.free

(This one is pretty good but in 5 minutes I had some bugs, try for yourself. But you won't find DeskClock with integrated Stopwatch and Timer)

Try https://play.google.com/store/apps/details?id=com.be.android.stopwatch or https://play.google.com/store/apps/details?id=com.sportstracklive.stopwatch...

Gallery is a video player itself.
[Motorola Milestone Android Development] eagleeyetom:
Don't make pressure and ask for ETA, guys. A little reminding;)
[Motorola Milestone Android Development] kabaldan:
I've always respected the CM upstream version stamping decisions.

So it's simple - until there's at least one official release candidate build for any officially CM9 supported phone, there can't be any RC build for Milestone.
[Motorola Milestone Android Development] zeppelinrox:
Wait until you're blue in the face.

And still somebody will care.
[Motorola Milestone Android Development] GT35pro:
Go backward page by page till you see the link. Probably 3-5 pages back.
[Motorola Milestone Android Development] kabaldan:
Opera Mobile shader fix for ChainFire3D to get it working under ICS (for compatibility with our older EGL blobs): http://www.mediafire.com/?zj9pxkms18yvvny

(put the zip file on your SD card and use Install plugins / shaders in ChainFire3D)
[Motorola Milestone Android Development] znetroll:
Yay, new build. Since torrents didn't really work out (my torrent client decided not to seed with more than 100kB/s, while it usually happily pushes out 50 times that. And yes, I didn't set any limits), we're back to filehosters.

https://rapidshare.com/files/4147204527/update-cm-9.0.0-RC0-umts_sholes-UNOFFICIAL-signed.zip

http://www.mirrorcreator.com/files/...0-RC0-umts_sholes-UNOFFICIAL-signed.zip_links

(that's the same file, for those of you who have problems with some hosters)

9aa010ef518fd44482ece32f02173376 is this build's md5, for those of you who want to check before flashing. Also, untested, etc., so run a nandroid backup before you flash, alright?

And just so you know, I didn't check if the usb fix has already been merged. Let's just say "we'll see" ;)
[Motorola Milestone Android Development] pnsdhrn:
SD Card partition

I am a bit confused about restoring the SD card contents copied to the PC before doing the SD Card partition. .If anybody offers a helping advice I would be very much thankful .It is said in the tutorials that "After completing the partition job,copy the contents of your SD Card that you copied to your PC before the doing the partition back to the FAT 32 partition of your SD card."My doubt is whether the contents of application datas bundled with Gapps for CM7/CM9 only are to be copied back to the FAT32 partition?Or the datas of other applications also which I downloaded and installed from Android Market and other sources separately are also to be copied to the FAT32 partition?Anybody may please make it clear.Waiting with thanks...

pnsdhrn
[Motorola Milestone Android Development] adome5:
the usb problem was resolved on this version?

have a changelog?
[Motorola Milestone Android Development] vishalmullur:
so should i just put this in open recovery/updates and select apply updates and this above file in recovery? is that it or any other process?

---------- Post added at 01:25 AM ---------- Previous post was at 01:21 AM ----------

I think this may be the answer:

restore the files that you copied not apps. actually no need to worry. just plug your phone and transfer the copied files(music,etc.. meaning the old actual SD card files and folders) like you would do normally. next time you install a app it will be stored on ext automatically.

---------- Post added at 01:34 AM ---------- Previous post was at 01:25 AM ----------

I have downloaded this new android market with some mod and is presently on root of my sd card. i am not sure how to install it. if i just install it then it says "file with same signature exists".

i tried using titanium backup to uninstall market but it says "failed to locate .apk".

Please help.

http://xdaforums.com/showthread.php?t=1582422
[Motorola Milestone Android Development] igna.worn:
Yes, I have just updated and USB works fine now :)
[Motorola Milestone Android Development] eagleeyetom:
I'm impressed - over 100 posts deleted, few warnings given. And all of that in just one week.

Next time I'll take my hammer.

Stay on topic guys and have fun.

Thread re-opened.
[Motorola Milestone Android Development] mcpterra:
Permission Denied on Radio

Hello, good afternoon.

I am using the last unofficial version and everything is running fine, fast and stable.

But, some people had comment that when they called me, my phone rings and there is no answer....

The truth is that I never received that call.....

So, looking for an answer I found that Superuser has denied Radio permissions...

Finally I ask how can I allow Radio permissions on Superuser if I never been asked for it ???

Best regards.

Marcos
[Motorola Milestone Android Development] mrvek:
radio requesting su perm is toggle2g. Launch it.

I guess it's not related.
[Motorola Milestone Android Development] mrvek:
I've missed your question. Sorry.

Yes, that is the procedure. Although there is a newer file, fixed by kabaldan (official fix) and latest znetroll's unofficial update has it included plus enabled USB tethering.
[Motorola Milestone Android Development] igna.worn:
ApexLauncher Pro can't work as a "fix" for lost sms? It has an unread count on Calls, SMS and Gmail.

Well, you would have to pay it