yashsingh1/xdaforums huggingface dataset:
[Milestone XT720 Android Development] peshovec:
of course i will share :)

sdcard read ahead is device block 179, the mtd is 31

so :

echo 640 > /sys/devices/virtual/bdi/31\:0/read_ahead_kb

will do the trick:)

(reading from the phone, and typing so dont copy and paste, may have a typo)

as i remember there is also corresponding default read_ahead_kb, but it is not helpfull, so stick with the sdcard and mtd ones.

I dont know what actually means boot loop, but let me share my opinion:

1. The white M logo (or some provider logo) if you are at this logo for too long it probably means that dalivk-cache is not fully populated.

Usually i have this issue, when something with permission is not correct.

The most no so obvious is that /cache has not 0771 permision, but 0770 (the default one).

I experience something very strange one time. set the correct permissions via scripts, but still sitting on the "white M logo", checked in the openrecovery dalvik-cache was populated partially. (exactly say X Mbytes), clean it, decide to give it more time and again stick ot the logo.... (checking show populated the same partial size X Mbytes)..

It turns out that at some point the 0770 permisions was reverted to the /cache, after my script change it to 0771 ....

So after that case, one of the first thing i do is to modify in init.rc

~$ grep cache /tmp/system/etc/rootfs/init.rc
mkdir /cache 0770 system cache
# Do this before we mount cache so eventually we can use cache for
mount yaffs2 mtd@cache /cache nosuid nodev
chown system cache /cache
chmod 0770 /cache

to chmod 0771 /cache

then (from openrecovery) if i want (i definitely want:) create /cache/dalvik-cache, remove /data/dalvik-cache and make link:

ln -s /cache/dalvik-cache /data

It seems that at some point the content of /cache is erased (or at least there is hard try to do that), but if you have non empty directories, the try is not successful so the content is preserved. Thatsway i issue "touch /cache/dalvik-cache/persist" (to be honest usually i use more fancy filenames, for example touch /cache/dalvik-cache/alibaba or something like that :)

2. Some fancy "flashing logo", e.g. several static images in loop:)

flashing eyes, strange M log with some lines around it etc...

If i am stick (when saying stick, i mean really stick, nothing after it) on that, that means that system_server has trouble.

Most obvious one is that /data/app or /data/app-private directories are missing or broken somehow.

So to make it more clear: If you have cold reboot you will see the 1 logo, if you have just warm reboot (fast reboot, killing system_server etc..) you will see 2 logo

Regarding sdcard usage at boot time. in few word : avoid usage.

Mainly because the phone hat to be able to boot without card. Elsewhere it is not phone, but a device depending on sdcard (which may be faulty, or may be broken in the most unappropriated moment)

My phone is able to boot without sdcard and the only thing i missed if booted without card is ability to download (and to play stupid zombies:), elsewhere all is the same as booted with proper sdcard.
[Milestone XT720 Android Development] hellmonger:
Great@!!!

I could make an update zip to incorporate...
[Milestone XT720 Android Development] LibertyMonger:
I happen to like the crazy green theme with the skulls and stuff lol. It would be awesome if you could make a theme zip for those of us who may like it. maybe trick it out a little more away from stock. Reminds me of the band Overkill with the flyin skull bat lmao. Thanks again for the hookups! much appreciated.
[Milestone XT720 Android Development] easye420:
anyone elses sensors working after sbfing from korean 2.1 then installing this? none of my sensors work, accelerometer, light sensor. nothing works.
[Milestone XT720 Android Development] Frisbee6:
I was deleting some system apps, and i came across Camera.apk, not the moto camera(cameramoto.apk), it seems like its the stock one, but it doesnt launch even if i delete the moto one. does someone know anything about that? btw what apk would i need to delete to get rid of home, i prefer just 1 launcher.
[Milestone XT720 Android Development] 3rdstring:
I think the launcher was MotoHome.apk
[Milestone XT720 Android Development] Woody:
I would keep a "spare" home that is light on the memory. I once had an issue with a home loop and had to reflash backup. Not sure what caused it but wished I had a 2nd. I use ADWex but keep launcherpro frozen in titanium just in case.
[Milestone XT720 Android Development] LibertyMonger:
I had a few problems like volume buttons not workin, then I booted to O.R. and installed a new keyboard thru update and after rebooting my volume buttons work
[Milestone XT720 Android Development] easye420:
My volume buttons work but no sensors. No one else had this problem coming from korean 2.1?
[Milestone XT720 Android Development] karlxx:
I am also curious about flashing straight from another ROM.

For myself, changing the sbf is a tad out of my skill range... and my confidence level.
[Milestone XT720 Android Development] LibertyMonger:
It's just the same as what you're used to. before you touch the droid to begin, you change to the language you want. If you have flashed back to stock with RSD lite before then you can do it! lol. exactly the same except make sure first thing you do is change to your language
[Milestone XT720 Android Development] djkron:
after i flashed from the korean, my accelerometer and screen orientation stopped working, I cant use the keyboard in landscape on portrait for mms, so your not the only one. And I have checked the settings and screen auto rotate is on.

also I am having the same problem with the stock keyboard FC on me during mms so I disabled the predictive text and it is working fine.

I have to say I do like this rom.

Oh and I have also noticed that even with a fresh reformat and partition of my sd card, LINK2SD will not mount a sd3 partiton only fat16 or 32. just so the dev's know.

KEEP UP THE AMAZING WORK!!!!
[Milestone XT720 Android Development] easye420:
ok thank you so much for confirming for me. so DONT USE KOREAN 2.1 or sensors dont work or ambiant light sensor. and im also having the weird charging bug that was in the korean 2.2.1 leak.
[Milestone XT720 Android Development] syrenz:
This ROM seems to freeze up on me as much as old 2.1 (not ESB) used to. Does the whole black screen + lights at bottom thing fairly often and especially when using video camera app just like 2.1 used to. Will see if this continues.

Btw, in 2.1 when you enable pattern lock it appears instead of the old lockscreen. In 2.2 ROMs I've used it keeps the old lockscreen and puts the pattern after it. Is this a feature of 2.2 or a glitch of some sort?
[Milestone XT720 Android Development] LibertyMonger:
I don't understand why people are using korean stock sbf, the sbf mediaon said to use is southeast asia or singapore. I am using Singapore and having no issues. Are they the same as Korean sbf? Well can't say no issues, it seems to freeze from time to time and I have to lock and unlock it to unfreeze it. not to often, may have been cause i was out in the 100 degree weather with it

"if you want to use TV OUT over 3.5mm jack ,it requires the stock 2.1 south east Asia or Singapore version (STR_U2_01.18.2_UCASHLSTABB1B4DEMA033.0R_USASHLSTB STARSG_P016_A013_HWp3_1FF.sbf) installed first ,.other 2.1 sbf don't work For 3.5mm TV-out" -mediaon

@Hellmonger is your new stock a much better upgrade to where you recommend changing from the mean green? lol. It seems fine for now but if their is big improvements then I will take it! Thanks dude you and your team are the shiznit!
[Milestone XT720 Android Development] easye420:
Im using korean 2.1 because its stated in OP to start with it.

Where can i find a link to singapore sbf?
[Milestone XT720 Android Development] LibertyMonger:
Singapore Sbf

Here is the Singapore sbf posted by Khal in the original Rom's thread
[Milestone XT720 Android Development] easye420:
thank you sir. i tried searching but could not find it. i knew i saw it somewhere
[Milestone XT720 Android Development] djkron:
the other thing i noticed is this

if someone in my contacts has the following number saved

+1-555-555-5555

and calls, there number shows as

555-555-5555

without there contact name showing when calling. seems to be fine with text messages though,

just wanted to let u know!!!

Thanks again.
[Milestone XT720 Android Development] djkron:
to those who are using the singapore rom, do you have auto rotation of the screen functioning? as in when you turn your phone for texting in the landscape view?
[Milestone XT720 Android Development] pavithren:
Here you go

Btw I switched back to WanHu's rom as I was having some problems with rebooting. Is there a fix for the USSD and SMS limit on wanhu's rom yet?
[Milestone XT720 Android Development] LibertyMonger:
Yes it is working

Ps... why can't i add the stock special to nandroid? Is it named wrong? It doesn't show in nandroid. Should I just swap it into another folder?
[Milestone XT720 Android Development] B_e_n:
I m installed the korean sbf and my accelerometer and auto rotation don t work

(i didn t notice this)

I will try to start over with the singapore and the new update
[Milestone XT720 Android Development] :
www.megaupload.com/?d=6FIZ85EJ

Could you make an update of that (the stock beta you just uploaded)? As I don't want to flash the whole ROM again.
[Milestone XT720 Android Development] LibertyMonger:
I just flashed the new stock without data wipe, just wipe dalvek and cache. It all went good! So it should go like an update if that helps bud

**EDIT**

MAKE A NANDROID BACKUP FIRST. Apparently someone lost their data. And you will lose the theme as it does say stock! But don't take my advice, I know nothing of these new ROM"S apparently.
[Milestone XT720 Android Development] :
Thanks! Gonna do that then! :)
[Milestone XT720 Android Development] LibertyMonger:
3rdstrings darkfroyo

Just tried to install 3rdstrings darkfroyo with clock update to the new stock beta and nothing happend, everything the same after rebooting.

Ps...anyone having prob with setcpu forceclosing in stock special?
[Milestone XT720 Android Development] JiroPrinz8:
Will trybthe atock special now.. the mean green was givong me too many issues, FC here and there and on d 2nd day of using it began to be really slow, i'm now back to khal's wanhu, most stavlble for me.. vut will keep on trying thw new ones here.. with this much smart people working on this we're bound to get a killer ROM aoon enough.. many many thanks to everyone and keep em coming..!!! :D
[Milestone XT720 Android Development] amintofu:
when i put in nandroid i cant seem to find it. any idea why?
[Milestone XT720 Android Development] B_e_n:
the same for me...

Weird i check the files it the same name than in other rom (system.img...)

anyone else have this issue?????

edit: I find out why. Nandroid don t recognize folder with space in the name..

You just have to change the name of the folder and nandroid will see it
[Milestone XT720 Android Development] :
So I restored the new Nandroid like told by LibertyMonger, but now my data is gone. Great. So it's not like doing an update like you said.

Also, the stock launcher is gone and the GB-theme. Not cool.
[Milestone XT720 Android Development] LibertyMonger:
Sorry bud, not supposed to be gone if you don't do a factory/data reset. I still have all my data. Did you do a nandroid backup? I guess I should have advised it but figured you would know to always do a nandroid backup.

and also I thought you just meant apps and contacts and stuff, not the theme, as it is stock without a theme.
[Milestone XT720 Android Development] Woody:
Do you have a back up of Wanhu's orignal or Kahl's optimized that you made? Try just restoring just the data from one of those and reboot. I had this problem coming to the Alfa from Kahl's and it worked for me. Took forever on the first boot though, like almost 3-5 mins from M to home screen.
[Milestone XT720 Android Development] :
I only meant apps, yes. Contact don't matter 'cause they are synced with Google.

@Woodrube: I'm not gonna restore another ROM now.
[Milestone XT720 Android Development] LibertyMonger:
If you didn't do a factory reset /data wipe then you should still have your apps. That's the whole point of it. Sorry again dude. Don't know how you lost them.
[Milestone XT720 Android Development] B_e_n:
I installed the new one (after going back to the singapore sbf)

And the defaut keyboard "moto input method" don t work for me

It work the first time i see it but the bottom can t be see (the space bar and all the buttons on this line) but now i come back to the android keyboard (which work very well) and i can t select the moto keyboard again...

but the rest seems to work well but i miss the xda special theme so much!!!!!!!!!!!!!

Can t wait for the final!
[Milestone XT720 Android Development] 3rdstring:
IIRC Woodrube had problems applying updates & it was something funky in the openrecovery files. I would copy fresh Open Recovery (Androidiani OR) over the versions on your sdcard. Both the DarkFroyo update & the orange clock worked for me on the stock special ROM.
[Milestone XT720 Android Development] Woody:
I just meant the Data portion not the whole ROM. Sorry about the confusion. Are you using SD-ext? If so Androidiani has a SD and SD-ext checkdisk built in. Maybe they got corrupted in there somehow.

Sorry again for any confusion. Been a long night and am not firing on all cylinders yet.
[Milestone XT720 Android Development] Woody:
Don't forget to save your Nandroids and Updates to your PC before you do or they will be overwritten and you'll lose them.

And yes I did have those problems and it was a pain. Put fresh version of AOR on and never looked back.
[Milestone XT720 Android Development] :
It's not your fault, so it's okay ;)

But now I got stuck in a bootloop, so I'm gonna restore again and wipe data also. Thanks anyway :)

(btw, it's not a big problem that my data is gone, it just takes some extra time now to install my programs etc. back ;))
[Milestone XT720 Android Development] LibertyMonger:
Cool Thanks. It seems no matter what we do we get a bootloop at some point but after a battery pull or Dalvik wipe it fixes it. I've had a bootloop about every time it seems. I shouldn't have said anything as I don't know these ROM's lol.
[Milestone XT720 Android Development] :
LOL.

So I restored all back including a data/factory reset (and the dalvik and cache) and now I have no home-screen (and no GB-theme). What the heck ???
[Milestone XT720 Android Development] djkron:
Thanks for the answer libertymonger, I will flash the singapore today and hope that fixes it. The stock special I tried and it wasnt bad but I like the xda special first release look better. I found the spaces between the name for the file folder was the problem

I am still on the green special and have flashed it from a stock korean rom.

I have now noticed another issue, approx every 5 minutes or less the screen lights up like I have pressed the unlock button. And this is where it gets wierd, it says charging but my usb charger is not connected. Then like a second later the charging disapeers and the screen remains lit until i depress the unlock button again. And it will keep turning on even after a reboot and battery pull to try and solve the issue. I have a GHOST IN MY MACHINE LOL

Thanks again to LM and all who have been helping make this rom KICK ASS!!!

edit: also I forgot to mention that if your on market.android.com on your computer and try to install a game or whatever from there to your phone it doesnt wark at all. I have to manually go in through the phone. This way has worked for me before.
[Milestone XT720 Android Development] warrenkb:
I have had the same issue with all the WanHu based ROMs. It is either a case of people not storing the full 11 digit phone number for their contacts or it has to do with the way wind delivers the caller id info.
[Milestone XT720 Android Development] Mioze7Ae:
It happens for me, too in Cincinnati. The problem is when the contact is stored as 11 digits. The caller ID is 10 digits and the 11-to-10 match isn't made. If you store 10 digits for the contacts, the match is made. Someone mentioned an app that can sanitize your contacts, maybe that would be a work around. I may be being stupid here, are the full 11 digits actually required to dial anymore? I had the impression that's not been necessary for a while since phone number portability, but now that I'm thinking about it, I only dial within the local area codes so maybe it does matter...?
[Milestone XT720 Android Development] djkron:
oh your completely right dude but I think the reason why some numbers come with the country code first( 1- or 0-) is incase people are travelling and want to call a contact back in there home country, because your roaming wherever you are, the call wouldnt go through if it was just area code and the number ( 555-555-5555) it would have to be (1-555-555-5555)
[Milestone XT720 Android Development] warrenkb:
@djkron: As a fellow wind mobile user, what kind of battery life are you getting with this rom? Currently I am getting about 10 hours tops.

Just curious if I should go through the trouble of reflashing the singapore sbf.

Thanks
[Milestone XT720 Android Development] alex0329:
Could somebody give me a link to the singapore sbf please? Thanks
[Milestone XT720 Android Development] Woody:
Here you go man. A few pages back.
[Milestone XT720 Android Development] djkron:
I would say its about the same as the rest of the roms, a little bit better, I top out at around 12-15 hours, with little to no use, if I decided to play say angry birds, fruit slice or robo defence I will get about 3 hours which isnt the roms fault, its the phone cuz its a POS lol. I have had about the same issue as you though.

I will let you know how the reflashing goes, I am downloading the singapore rom now and going to reflash everything.

Thanks!
[Milestone XT720 Android Development] hellmonger:
since i was makin the nandroids i never relly syncked my phone so there was no reall user data .

Since i have had alot of issues as well, boot loops and having to restore after a battery pull, i think there is an issue with Data some where im looking in to it...

Ok so i i got stuck on M, i just pull batt and retry and booted...

Mz, i know your busy, how do i get dmesg and logcat to print again?
[Milestone XT720 Android Development] djkron:
@warrenkb

Hey I just reflashed using the singapore ROM and the difference is awesome, my accelerometer is functioning again, I can use the keyboard in landscape again(although you will still need another keyboard as the one in the rom fc if you have predictive text on) the screen auto dim's again with the use of the light sensor.

@ all

link2sd still wont mount an ext3 partition, still need the other keyboard and I am not 100% if the caller id glitch is fixed. havent had a chance to try.

oh and I forgot when I was on the korean flash, my home, back, pop up menu and search leds did not work. EVER. now they are back and functioning,

so not to conterdict the instructions we were givin on flashing this rom but it seems the singapore flash is the way to go.

if anything else comes up I will let you all know!!!!

edit: Also a few things I have noticed, my weathereye (theweathernetwork) widget never finishes loading, even on wifi. And the text in the drop down menu for downloads and music is black text on black background so you cant see anything. facebook wont sync either

also is there anyway you could add the ability to change the APN settings?

thanks!!!
[Milestone XT720 Android Development] Knoedelkopf:
hmm if I used khal's ROMs before there shouldn't be a need to flash 2.1 before , right ?

btw first impression is very good, especially the things that did not work on khal's rom (e.g haptic feedback / media button and so on) are fully functional :)

but sometimes i am getting a problem, difficult to explain:

my screen stays black, but I can see the status bar on the top of the screen, i can touch and move status bar down & up and if there is the icon of 3g watchdog i can select & run every app that has an icon at the status bar. music keeps playing, too. but I don't get the black screen away, by pushing "home" button or so. i can even get into camera by pushing camera button but if i get back - only black screen.

anyone knows what i mean ?
[Milestone XT720 Android Development] LibertyMonger:
I been on mean Green the last 2 days and it's been great except for just a few minor hiccups. It's very stable and I'm still lovin it dude so I know we're gettin there bud! keep up the good work I know everybody appreciates all the good work from you, MZ, fjfalcon, 3rdstring, Khal and the rest we recognize plus all us little testers out there! lol.

No bud This is WanHu's ROM Khal took it and made an awesome optimization for us to it. I don't think that will be best, I'm no expert but from what I gather this ROM was built off the Singapore sbf which I think is a different kernel, so if you want to avoid little problems and if you want tv out to work My advice is to start fresh with the Singapore sbf. It is really not too big a deal to go the extra step.
[Milestone XT720 Android Development] LibertyMonger:
All you need to do with this ROM and the others is if you partition your sdcard, make an app directory in your ext3 folder and the built in app2sd takes care of the rest! i have over 50 apps and still have around 150mb free internal space. Not sure why people choose to use link2sd when just making the little app directory takes care of it all. no need to install anything.

in other words make a new directory in ext3 and name it app

**EDIT**

Just switched my battery and stuck at M boot logo again. So seems it will be an on going issue just fyi
[Milestone XT720 Android Development] djkron:
http://www.youtube.com/watch?v=r9olSE0Yq38

ok this is a problem that I have had with this rom. Watch the video

after this happened the phone bootlooped and I had to completely reload the rom and start from scratch.

it happened after i tried google earth and got all the way to the "my location" then it forced closed and started doing what is listed in the video.
[Milestone XT720 Android Development] Mioze7Ae:
I'm guessing you didn't flash the boot.img when you were on the Korean 2.1?

Anyway, I think the main difference would be baseband software. I can't remember at the moment, but I think the WanHu had the Korean /system/etc/motorola/ so flashing the Korean sbf may be a work around until the baseband is sorted. Just speculating, though. Baseband is black magick as far as I'm concerned. I do know that sbf is currently the only way to update the bpsw partition (and some other) since it doesn't work in nandroid.