[LG Optimus 2x] breeno.net:
Build 23: Feedback / Bugs / Recommendations

Positive feedback: So far this build is taking everything I throw at it. No crashes yet. Definitely more stable than CM7.2 was for me. I believe the battery life is at least as good, too. :good:

Thanks for your efforts! Loving TheROM more and more with each new build. This really seems like an excellent candidate for a new stable.

Unexpected behaviour: I tried it out and it works, but not exactly as I would expect. lto.dat does not immediately update if the file is missing. So on first install it seemed to take about 30 minutes for the framework to detect that it needed to download an lto.dat file. I wanted to run some additional testing, so I deleted that lto.dat. Then I found that my phone wouldn't download a new one. Tried turning the various radios on and off, getting GPS fixes unassisted, and reboots and battery pulls. No new lto.dat file.

My guess would be that CM's lto.dat framework stores the age of the last lto.dat somewhere, and that this stored value is the only value it polls to confirm that the lto.dat is valid. No sanity checks to make sure the file exists, not even on boot. I'm guessing this is why you are getting some reports that TTFF is not good for some people, with one reporter even confirming that lto.dat was missing. That was the same thing for me on first install of build 23. I left my GPS on for 30 minutes and when I came back the phone had retrieved the file.

If I had more time I'd dig into the code. As it stands I need to get my law exams for this term done first.

Correction recommendation: The current text to disable mobile network download of assisted GPS data is somewhat vague. As a native speaker of English, I would suggest "Disable assisted GPS on mobile network (Only download LTO data over Wi-Fi network. Disabling could add up to 600KB in mobile data transfer per month.)". The part in brackets would be smaller text description, like the description underneath "Wi-Fi & mobile network location".

The current text could be interpreted to mean no assisted GPS without the check mark (Wi-Fi or not, and never mobile). My suggested description makes it clear that it enables mobile data which could add a fixed amount to monthly data usage. Those of us with large data plans will choose to turn off the limitation, and everyone else will keep it at your default.

BTW, I arrived at the 600KB monthly figure by randomly reviewing the lto.dat files back to September (7 day, v2 LTO files). The largest ones were 53KB, the smaller ones 48KB. Assuming you stuck with an expiry date of three days, with 30 days in an average month, gives us 10 * 53KB = 530KB. I rounded up to 600KB just to give a conservative estimate.

Bug report: I have some bad news for you. After all my goofing around with the GPS yesterday I decided to do a full wipe and install of build 23. I was dismayed to see that 2nd core auto hotplug was not enabled by default on my phone. Literally one of the first things I checked, well before installing any apps or running Titanium Backup.

Much happier with this new animation. I love the fact that the spin is clockwise. There are a lot of cultures that assign negative outcomes to counter-clockwise movement (many of the Aboriginal groups in Canada, for instance).

Question: Would you consider accepting submissions of bootanimations specifically branded for TheROM? Before I saw this new one I was tempted to make one using your avatar here at xda.

All in all, great work! Thanks for allowing me to contribute in my small way. :D

-Breeno

---------- Post added at 02:48 PM ---------- Previous post was at 02:38 PM ----------

ViPER was removed in build 12 because it is available on Google Play: ViPER4Android FX.

[MENTION=3605868]tonyp[/MENTION]: ViPER still appears as a feature of TheROM on your posts on the first page. You might deflect more asks of this question by striking it out and including a referral to Google Play (above and beyond the existing note under the build 12 changelog).

-Breeno

---------- Post added at 02:51 PM ---------- Previous post was at 02:48 PM ----------

See below.

---------- Post added at 02:53 PM ---------- Previous post was at 02:51 PM ----------

See below.

---------- Post added at 02:57 PM ---------- Previous post was at 02:53 PM ----------

If you suspect that the GPS has not improved, you should try this:

Use a file explorer to make sure that /data/gps/lto.dat exists; and

Download GPS Status and check the number of sat fixes you get. I have never had less than 7 fixes with functioning LTO (during a snow storm) and never better than 6 fixes when LTO was borked.

If you are missing the /data/gps/lto.dat file then turn on WiFi and GPS for 30 minutes, with GPS status running. Check again for the file. This worked for me. There seems to be a delay in first download for some phones.

Please report back if still having trouble. :)

NOTE: Also, this is not in any way meant to cut down [MENTION=4920940]sgspluss[/MENTION]' work, because it was a great stopgap, but using his GPS fix with the one built into CM could result in double the amount of data being used, up to an additional 600KB per month. This is because his script and the CM framework measure the age of the file differently. They could both download new files every 3-5 days and ignore the new files that the other one has downloaded. It is probably advisable to stop using [MENTION=4920940]sgspluss[/MENTION] script with build 23+, again, being clear that this is simply because it is deprecated due to the new changes tonyp has added.

-Breeno

---------- Post added at 03:15 PM ---------- Previous post was at 02:57 PM ----------

Thanks! I really appreciate the kind words. :D

Unfortunately, I'm working 14 hours a day, seven days a week studying for my law exams in December. I probably won't be posting regularly until after Dec 19th. When I get finished with my exams I may try tackling some additional bugs in TheROM. Maybe dig through some Java code. I can't promise much, though, as it's been almost 15 years since I last programmed anything in Java.

Who knows though, tonyp is working so hard there may not be anything left for me to investigate in another month! :fingers-crossed:

-Breeno