yashsingh1/xdaforums huggingface dataset:
[Milestone XT720 Android Development] hktmt:
Is it a must on ext3 instead of Linux swap? I try both but fail. It is strange. Lets try again. Thanks.
[Milestone XT720 Android Development] hktmt:
Sorry, can you please tell me which one is fastboot rom. I am using stb2 without change anything nor applying any patch. Thanks.
[Milestone XT720 Android Development] LibertyMonger:
Thanks XDA!

It might be sad to say but I don't think so! You all here and XDA is the best thing that happened to me this year! lmao. Sounds like I have no life but it's true. You all have been awesome and appreciate everything. And I hope to be able to follow you when we get new phones, I would say that I will probably want to get the same phone as you! HaHaHa

Thank you all and thank you XDA!

Ps... That being said, I am getting stuck at M at every reboot it seems. But that is without fastbooting the fjfalcon kernel. If I fastboot then it boots right up. Don't know if it has to do with anything.
[Milestone XT720 Android Development] hellmonger:
This is how it started

http://xdaforums.com/showpost.php?p=12047977&postcount=1

This is current

http://xdaforums.com/showpost.php?p=15813435&postcount=1

You know i could come to your house and type it in if copy/pasta or Google is too hard for you....
[Milestone XT720 Android Development] hellmonger:
P made it on purpose that way... once bootloader is unlocked youl see.... Cyanogen is nothing

Our guys are way way WAY better

Mz Fj Kahl Na Hm

Installing or updating no fastboot

running or showing off fastboot

? questions.... well questions are good!

OOh and i figured out why there are double posts i SMS

Look at the destination when sending LOL

if you receive from non long distance number 1+***-***-**** well its a different number

there are two ways around it

1. changer all your numbers

or

2. just have all numbers in 1+

there's an app for that

And the M freeze is due to Windows marking the partitions as dirty...

remove and scan the SD card with windows it will fix it.....

The file system see the partiton as dirty and request a scan but you ccant see the request

it has to be set to auto Y

i don't know how todo that.... Yet
[Milestone XT720 Android Development] hktmt:
Thanks again. Would look more in-depth.
[Milestone XT720 Android Development] LibertyMonger:
I just mean It seems I am always getting stuck at the M if I reboot without booting the kernel. It seems when booting the fjfalcon kernel it helps it boot up right everytime. So maybe it's waiting for the kernel to boot since swap is activated?
[Milestone XT720 Android Development] hellmonger:
yes butt never gets there

Dirty partition

Swap yes

but swap not there

8 sec timeout
[Milestone XT720 Android Development] JiroPrinz8:
You know that's quite strange for me, as when I flashed this I WAS expecting to get stuck in M, but just never happened.. I've rebooted so.many times already, a2sd cachepart -reboot; applied 3rd's theme - reboot; fastbooted using boot2 of course reboot but I never got stuck M or any bootloop not even once.. I flashed singapore sbf before stb2 btw, although I dunno if that counts for anything.
[Milestone XT720 Android Development] LibertyMonger:
Give it time my friend... lol it will or should happen. have you ever booted without the kernel? Thats when it seems to get stuck I am now seeing

***PS.... background data keeps turning itself off...?
[Milestone XT720 Android Development] JiroPrinz8:
Yes, I had swap kernel on last night and had to reboot twice in the last hour due to a2sd cachepart and applying 3rd's theme.. I am ready if it does happen, but still I wanna figure out whar I'm doing that you're not to be able to help you out bud..
[Milestone XT720 Android Development] LibertyMonger:
I started with the singapore sbf before the alpha but haven't since. If it continues to get stuck and you continue to not get stuck I will do a fresh Singapore sbf all over again and see what happens.

And background data seems to turn itself off any thoughts on that?
[Milestone XT720 Android Development] JiroPrinz8:
Haven't had background data turn off by itself yet, but I do remember that happening in Alpha I think.. but not since then.. actually, currently I think I ha no issues at all with thia ROM, data connection's working fine, wifi is ok as well, no FCs after reinstalling some games and setCPU, those were the only ones that FCd on me.. oh and sms threads, yes I think hellmonger is right, it's just the + in the numbers that's causing multiple threads, but I have to test that some more with more numbers to be certain..

Overall, this ROM is KICKASS for me..!! And having it come with stock look, man, I just wanna ***** slap Motorola with this phone..!! LOL!

Come to think of it, with the bootloops happening to you plus the media gallery buttons you're having issues with, I would think you should just start fresh and sbf back to stock.. just a thought..
[Milestone XT720 Android Development] 3rdstring:
With sync on, Settings, Wireless networks, uncheck control background data.
[Milestone XT720 Android Development] LibertyMonger:
No probs with media gallery buttons. Just boot stick and email notifications and background data turning off, rarely. Are you getting email notifications?

OOPs forgot about that lol.

got it thanks 3rd!
[Milestone XT720 Android Development] hellmonger:
Thanks' 3rd you're the best! :)

+ Use the force... B1c|-|3$ love the force
[Milestone XT720 Android Development] LibertyMonger:
Email notifications?

Is anyone else having the issue with email notifications? It seems I'm the only one who has mentioned it. If so then I need to start all over with sing sbf or something.
[Milestone XT720 Android Development] fjfalcon:
I'am still thinking about changing phone telephony part including phone,sms,email, settings...

Cause we should remove skt... then rom will be perfect...

But that hell big work...
[Milestone XT720 Android Development] hktmt:
A big bro from a site mfunz posted a new ROM called Bravo2.2 V1.0 a week ago.

Any bro tried it before? I am not sure if I can put a link here.
[Milestone XT720 Android Development] warrenkb:
I am not getting email notifications either. To clarify it for others, we are not talking about Gmail but the actual email app that you can configure for exchange, pop, smtp.

I used to get status bar notifications letting me know an email had arrived but not anymore. The email sync service is still running in the background so I have no idea what the issue could be.

This may push me back to WanHu with M patch 5 since I know for sure it was working then.
[Milestone XT720 Android Development] Woody:
This is going to come out completely wrong and I am pre-apologizing. If you go into the email app itself and push settings, is the "email notification" button ticked? Just looking for the simplest answer.
[Milestone XT720 Android Development] hellmonger:
Email was working for sure in with 5?
[Milestone XT720 Android Development] warrenkb:
Toggled email notifications and changed up notification ringtone to see if it would bring it back to life but no luck so far.

And this was for sure working in 5, no doubts at all.
[Milestone XT720 Android Development] Mioze7Ae:
Maybe the minfree settings are too strict? You can try easing them using Autokiller Memory Optimizer from the market.
[Milestone XT720 Android Development] hellmonger:
hey thats a great idea man thanksd :)
[Milestone XT720 Android Development] warrenkb:
What is with the massive internal memory loss. At first bootup of SB2 I had 123MB free, after all my apps install I an down to 20MB?

Running the other beta roms I was sitting around 80MB? How can I get my space back without moving my cache to the sd?
[Milestone XT720 Android Development] hellmonger:
A2sd GUI use it
[Milestone XT720 Android Development] fjfalcon:
As far i can - no fix about telephony part.. so =(
[Milestone XT720 Android Development] warrenkb:
I do not want to move my cache or any of my apps to my sd since i use that for media almost exclusively. I did not have to do this with any of the other ROMs in order to have more than 20MB internal left so I am wondering if there is anything else that I can do.
[Milestone XT720 Android Development] hellmonger:
How much free internal do you usually have?
[Milestone XT720 Android Development] warrenkb:
Running first xda special I had about 83MB, I even installed fewer apps when I swapped to beta 2, now I have 22MB. What could be eating ~60MB?
[Milestone XT720 Android Development] 3rdstring:
There is a command in the a2sdGUI that moves the dalvik to the cache partition but IIRC Mioze7Ae said the app didn't work correctly without an ext partition (and once I set up the ext apps2ext turned on & wouldn't turn off?!). I believe there are commands that can be given over adb (or maybe a terminal app) but I haven't tried any so you may want to check out the DarkTremor thread that Mioze7Ae pointed out.
[Milestone XT720 Android Development] hellmonger:
Dalvik was being moved to CACHE automatically on that one ;)
[Milestone XT720 Android Development] Mioze7Ae:
3rdstring remembers correctly: the A2SDGUI has a problem when there is no sd-ext partition, but the a2sd command works fine. The command to run is "a2sd cachepart".
[Milestone XT720 Android Development] warrenkb:
Hmm, I downsized my Dalvik to 24MB using A2SDGUI and even before the last beta, in fact, all the way back to Dexter 1.3 I have been sitting with around 80MB internal free.

Unless it was the case with all of those roms that the dalvik cache was moved to my sd? Also, my entire sd card is formatted as fat32 and has always been with all the roms.

Thanks for the responses though, I do appreciate it.
[Milestone XT720 Android Development] 3rdstring:
The Dalvik cache size is determined by the installed apps, you may have changed the heap size or something else but the Dalvik grows as you install apps & yes Most of the ROMs have automatically moved the Dalvik to /cache.
[Milestone XT720 Android Development] warrenkb:
Even with the entire sd card formatted as fat32?
[Milestone XT720 Android Development] 3rdstring:
The /cache partition is part of the internal phone memory, not on your sdcard.
[Milestone XT720 Android Development] warrenkb:
So my question is how I am down 60MB of internal space on the latest version of the XDA Special when I have installed fewer applications than in previous ROMs?

Maybe there is something fundamental I am not grasping such as the use of system space as opposed to internal application space for the dalvik cache?

.....

and so I ran cache part and all seems normal .... I wasn't aware that this is how it was being done in the first place, apologies for my ignorance and thanks for all the pointers from hellmonger, Mozei7ae and 3rdstring
[Milestone XT720 Android Development] 3rdstring:
Your Dalvik cache is being built on your /data partition (the internal memory you are referring to), you need to use the command Mioze pointed out to move it to the /cache partition (which is internal but not included in the free space) & it should be similar to what your used to seeing.
[Milestone XT720 Android Development] LibertyMonger:
lordy lordy there's a lot of action up in Milestone XT720 Android Development!!! lmao! At work all day wondering what I'm missin out on! HaHaHa! Any word on the email fix? Anyone try the minfree settings?
[Milestone XT720 Android Development] hellmonger:
Try it please, just download Minfree from the market looks like and android holding a magic wand LMFAO!

I'm completing the final now would be nice to know....
[Milestone XT720 Android Development] LibertyMonger:
I set it to mild and emailed myself and haven't got a notification. It forcecloses a lot when I don't even have it open, what about simply gettin rid of it and reinstalling it? seems i have to do that with most apps anyway?
[Milestone XT720 Android Development] hellmonger:
Ok grab another version and if it works i will include it :)
[Milestone XT720 Android Development] Knoedelkopf:
report about: XT720_XDA_Special_STB2

now I got 3g fixed.. running this rom now for a few hours, imo the best so far.. already tried nearly every rom here, but this does really feel like official 2.2 , everything seems to work now with latest version & 3g fix. great work so far !! :)

the only thing i'm confused about is that this rom does just have 120 mb internal memory free , without having any apps installed...:confused:

XSpecial_h_Alfa ROM had around 170 mb internal memory free after startup.. ?!
[Milestone XT720 Android Development] Mioze7Ae:
hellmonger: I'm going to figure out how to get a2sd cachepart to run automatically on the special
[Milestone XT720 Android Development] hellmonger:
lol i included the gui man noby try try the gui yet?

maby post on front page under faq?
[Milestone XT720 Android Development] Mioze7Ae:
Well, part of the problem is that the GUI won't work for people that only have a single FAT partition. Another part is that users seem to keep expecting it to happen by default because it has been default for so long. I should have anticipated this. Sorry.
[Milestone XT720 Android Development] hellmonger:
lol don't be sorry bro not your fault people don't read....
[Milestone XT720 Android Development] hellmonger:
Any one have email.apk and Deskclock.apk from WanHu beta3 lying arround?
[Milestone XT720 Android Development] LibertyMonger:
I just removed the system email and install a different email.apk. It installed, and it is working, all except for the notifications.
[Milestone XT720 Android Development] 3rdstring:
Hope these work for you, but did you alter the ones in the XDA special?
[Milestone XT720 Android Development] hellmonger:
No lol i didn't

Thanx man!

Perfect fixed my Clock problem!

I hope it fixes email too.

Here is latest framework for special made a few modifications :D pretty:O

!
[Milestone XT720 Android Development] Mioze7Ae:
I have an init.d script to test that should fix this (i.e. set at2d cachepart after every factory reset, but respect moving it elsewhere). It's pretty simple, but my XDAspecial phone has decided to go into battery vampire death mode so its battery is charging (gave me a good scare when sbf flashing didn't work and it also refused to enter motorola recovery, insisting on trying to boot and getting stuck with a frozen animation after repeated frenzied sbfing--partial charging with an external battery charger eventually got me past that and I was finally able to factory reset and boot, but it soon went into black-screen/bright-leds mode so the battery is now seriously depleted). I won't be able to test it until tomorrow.
[Milestone XT720 Android Development] LibertyMonger:
email.apk

This one works for me View attachment Email.apk :D

Applied XDA_Special.zip and email notifications do work! Nice shiznit! lol

Can't notice any other changes though, maybe cause of DarkFroyoRemix?

Ps... don't know how to upload with the qr code yet lol
[Milestone XT720 Android Development] peshovec:
memory again and a request

Ok, as now i am with the stock rom (even not rooted:( ), i decide to take some closer look at the internals. Mainly on the memory management.

When i have some kind of froyo, my free memory was fluctuating around ro.SECONDARY_SERVER_MEM and ro.BACKUP_APP_MEM e.g. around the slot corresponding to ro.BACKUP_APP_ADJ. And almost never i had more free memory, as specified there. Will wrote some examples bellow and will use this (stock) values as example:

[ro.FOREGROUND_APP_MEM]: [3072]
[ro.VISIBLE_APP_MEM]: [4608]
[ro.SECONDARY_SERVER_MEM]: [9216]
[ro.BACKUP_APP_MEM]: [9216]
[ro.HOME_APP_MEM]: [9216]
[ro.HIDDEN_APP_MEM]: [10752]
[ro.CONTENT_PROVIDER_MEM]: [12288]
[ro.EMPTY_APP_MEM]: [12288]
[ro.FOREGROUND_APP_ADJ]: [0]
[ro.VISIBLE_APP_ADJ]: [1]
[ro.BACKUP_APP_ADJ]: [2]
[ro.HOME_APP_ADJ]: [4]
[ro.HIDDEN_APP_MIN_ADJ]: [7]
[ro.EMPTY_APP_ADJ]: [15]

so with any froyo, my free ram is almost always around 36M (e.g. 9216 pages)

So i start to doubt if [ro.HIDDEN_APP_MEM] [ro.CONTENT_PROVIDER_MEM] [ro.EMPTY_APP_MEM] even have some role!?

For some reason i am sticked to the stock eclair for now.

The free memory is almost always more than 42Mb, and i have seen often values above 50Mb (which is more than 10752 pages, even more than 12288 pages)

After that introduction here is my request.

Somebody with any kind of froyo to implement the above memory thresholds and to observe the free memory for a while (say a typical one day usage).

I expect that the free memory will fluctuate around 9216 pages (36Mb)

And after that, without change the memory thresholds, to change (or add) following dalvik properties:

dalvik.vm.execution-mode=int:fast

to clear the dalvik cache and to observe the free memory of another usual day.

So badly, in the next few days i have to be stick to the stock (triple check for hardware issue on the phone, before sending it for repair) So i will be unable to check my self in a reasonable time.

My suspect is that the enabled by default jit in froyo use more memory. So If we approve or decline that we will have more clear look about optimizing performance and sleep times on the phone.
[Milestone XT720 Android Development] hellmonger:
Interesting Theory peshovec

That would seem to be a logical result; if you run a cpu heavy application JIT uses RAM to store the machine code generated; this reduces the RAM available for keeping launcher in memory.
[Milestone XT720 Android Development] LibertyMonger:
Thanks for this bud, if I knew how I would try it.

**Email.apk**

I applied the update with the email fix but not sure if it works or not cause I installed a working Email.apk. No force stopping and notifications are fixed. So someone else will have to verify if it fixed the email.
[Milestone XT720 Android Development] hellmonger:
Already fixed bud, just for you too lol...

thank 3rd, he got me going on the idea..

It's all in the final RC for XDA special hellmonger edition... im testing it noaw....

Still one issue with menus, but 3rds helping me with that so this last one is going to be stellar!
[Milestone XT720 Android Development] LibertyMonger:
Wow this is a big deal! Finally approaching perfection! Wednesday, August 3rd 2011! lmao. Put it in the history books! But it won't stop here, marching on to CM7! Haha
[Milestone XT720 Android Development] Knoedelkopf:
Hmm still often getting stuck at Motorola Boot Logo .. need to wipe cache then and try again a few times until it works .....
[Milestone XT720 Android Development] peshovec:
It is not just the launcher (and the launcher can easily be moved to hard to kill slot). I am suspecting* that if the ram is not enough, then background services will be killed and then again after while started and so on... so preventing the phone to sleep, keeping cpu run (and hot) etc...

*remark: i am suspecting this, because with any froyo, my free memory never reach the threshold for the last slots (e.g. [ro.HIDDEN_APP_MEM [ro.CONTENT_PROVIDER_MEM] [ro.EMPTY_APP_MEM] )

This can be tested on any froyo build (actually any jit enabled rom, which basically mean all the froyos)

I will try to explain 2 variants. so the short one:

Observe your free memory few times with the usual usage. Note the minimum, maximum and average.

Post the values, post also from the phone shell:

getprop | grep _MEM

This will show your current memory settings and usual free memory...

next, You have to modify build.prop (on the phone /system/build.prop , you may have to remount rw the system partition)

/system/bin/busybox mount -o remount,rw /system

then add to the end of /system/build.prop

N.B. don't forget to make a backup copy (e.g. cp /system/build.prop /data/build.prop)

dalvik.vm.execution-mode=int:fast

If you are not familiar with vi, You can pull the file (adb pull) edit and then push it back

remount system ro

/system/bin/busybox mount -o remount,ro /system

you have to reboot

after reboot check if the settings is applied

getprop | grep dalvik

and observe for dalvik.vm.execution-mode value, it should be int:fast

then repeat the memory observing and note the hopefully new values:)

the long variant is the same as the short, except you first have to configure the memory levels as quoted:

[ro.FOREGROUND_APP_MEM]: [3072] equals to 12 Mb

[ro.VISIBLE_APP_MEM]: [4608] equals to 18 Mb

[ro.SECONDARY_SERVER_MEM]: [9216] equals to 36 Mb

[ro.BACKUP_APP_MEM]: [9216] 36 Mb

[ro.HOME_APP_MEM]: [9216] 36 Mb

[ro.HIDDEN_APP_MEM]: [10752] 42 Mb

[ro.CONTENT_PROVIDER_MEM]: [12288] 48 Mb

[ro.EMPTY_APP_MEM]: [12288] 48Mb

this can be achieved by modifying startup scripts (or modifying init.rc and init.maphone_umts.rc) or by modifying settings of memory killer application

But please if You don't feel comfortable to test that, then don't. I will test in a few days (or weeks)
[Milestone XT720 Android Development] LibertyMonger:
Hellmonger said to take your sdcard out and run a scan on it in your pc. seemed to help me so FAR. also does it happen when you fastboot the fjkernel or when you don't? Only happens to me when I don't, which would be ok except when I'm away from home and have to switch to my backup battery then get stuck.
[Milestone XT720 Android Development] hellmonger:
It's related to the Kernel, if we change it stops so two choises here

1. Use kernal from Brightpoing sbf and no more stuck on M issues but loose TV out or

Fastboot.
[Milestone XT720 Android Development] LibertyMonger:
yeah I don't like losing tv out as I have yet upgraded to a tv with hdmi input lol. Maybe having both as an option wouldn't be bad. one for when away from pc and the other for using with tv out? That doesn't sound so bad Huh? I don't know but is there a way to have 2 kernels for use? I know being away from the ability to fastboot the kernel would cause an issue to where we can't boot
[Milestone XT720 Android Development] JiroPrinz8:
I don't get it really, maybe we're missin something or I'm just a lucky bastard.. lol..! Never had a bootloop or a stuck on M on boot not even once.. I'm now running mz's CM6 and it's as good as this one, having no issues at all..! Great work to everyone..! Waiting to try out the final special.. : D
[Milestone XT720 Android Development] LibertyMonger:
i went for a while without M freezes as well, but they came back. I change my battery 2-4 times a day as i use 3 backup batteries. which requires a full shut down, plus with all the modding and playing around with it so I am shutting down quite a bit. Do you use backup batteries and shut down like this? I'm thinking that could be a possibility why I notice a bit more. Maybe it's a miracle or luck I don't know lol.
[Milestone XT720 Android Development] oddo1907:
any link for singapore sbf????
[Milestone XT720 Android Development] JiroPrinz8:
No I don't have backup batteries, on a good ROM such as this one, I get to have decent battery life so backups aren't required, I calibrate after every flash and drain it an dcharge it full no breaks, then again, that's just me.. anyway, I do reboot multiple times with all the tweaking and messing around that I do.. anyway, still waiting to see the final special, but I must say CM6 is d bomb man..
[Milestone XT720 Android Development] LibertyMonger:
yeah I never have a freeze or bootloop as long as i fastboot the kernel. how is cm6 comparing to the special so far?
[Milestone XT720 Android Development] JiroPrinz8:
Although I don't wanna discuss cm6 here bu tnow that you asked.. :) I dunno where to start to be honest.. blazing fast, no issues at all currently, except for fm radio which is known and I never use it anyway, cut the rope, samurai vengeance are working flawlessly, email notifs are there, apps can be downloaded and updated from the market, themes are working great.. I mean I just love it.. frankly imagine the stability and responsiveness of special but with the customization of CM.. try it out... make a backup of your current build so you can just flash back if u don't like it though I can't imagine why.. :D
[Milestone XT720 Android Development] LibertyMonger:
so I hope i don't get yelled at but wonder if the cm6 themes might work on the special? Think I should try? lol
[Milestone XT720 Android Development] JiroPrinz8:
Make backups and please do try..! ;D