yashsingh1/xdaforums huggingface dataset:
[Motorola Milestone Android Development] dkawa:
Hi Azhad

I did not partition my SD card. All my files are still intact on the SD card.

I just installed the MOD again. Please tell me how to restore my apps back with Titanium Backup.

My phone has now 193Mb internal memory. So all apps are not yet installed..
[Motorola Milestone Android Development] GlitchZero:
Open Titanium Backup, hit menu, Batch, then Restore All User Apps.
[Motorola Milestone Android Development] dkawa:
Silly me... that's it... I am doing the restore now.... cross my fingers....

thanks
[Motorola Milestone Android Development] mousiope:
ok so i decided to give this rom a try and i ran into a problem

i´m using gots open recovery and the nandroid.md5 file is missing from the downlad image.

you can download it here if you ran into the same problem

http://code.google.com/p/cyanogenmod4milestone/issues/detail?id=50#c14

just to let other people know, that may run into the same problem
[Motorola Milestone Android Development] leobg:
I'd like to report my experience with 0.01C so far:

I loaded it via GOT's open recovery, by modifying the MD5 file as I was too lazy to switch to the other OpenRecovery. I actually loaded system.img only without wiping my data beforehand. I did wipe dalvik cache and CACHE partitions before restoring the image.

While still in GOT O.R. I restored the RIL.tar file for NA frequences and another tar with my custom modules (tun.ko and overclock.ko) as well as the overclock script. From GOT mods applied the qwerty layout (to override the default EURO qwerty) and rebooted afterwards. Everything started OK with all my data and apps intact.

I am likely "calling the devil" by saying since I restored 0.01C last night, I have not have a single BS reboot!

The only thing that still doesn't work as good as it was with GOT 3.11 Telus firmware is a-GPS. Still takes too long to apply, no matter I tried replacing supl servers from Motorola ones to Google, which before rendered in a <10 seconds fix no matter what!

Maybe the problem comes from the fact CM6 is based on euro firmware and not on the 'native' TELUS one.

But overall - GREAT! I will be using this one until Motorola releases official 2.2 :) (And after once it gets modded :))
[Motorola Milestone Android Development] Azhad:
I think I answered this issue half a dozen times, see past post
[Motorola Milestone Android Development] GlitchZero:
Hey, Azhad; How do I move the apps from /data to /data/app? Do I need to do it through Terminal, or is there another process I can use just in Cyanogen?
[Motorola Milestone Android Development] k_myk:
Wow! What the hell happened with memory on 0.01c?! It's awesome! So far so good using it:) We'll see how the battery will do:) We'll see if android system will eat as much power as earlier..

One complain: I don't like that funky gallery... It keeps re-rendering definately too many times... It's annoying:mad:

Anyway, I just love this piece of art called CM for MM :) Nadlabak, you did great job!

Cheers!
[Motorola Milestone Android Development] Azhad:
If you are talking about ext2 apps2sd, once you partition the sdcard in ext2 + fat32 and apply the apps2sd mod in the recovery, the process is automated at boot, and all your apps will go in the ext2 partition.

Be aware of the fact that partitioning your sdcard will format it, so do a backup in your pc.

In short the first time:

1 backup your sd in your pc

2 partition the sdcard in recovery

3 apply the apps2sd mod

4 restore your sdcard from your pc

then, when upgrading the rom you will only have to:

1 install the rom from recovery

2 apply the apps2sd mod

and all your apps and data will be there.
[Motorola Milestone Android Development] hammondhui:
After upgrading to 0.01c, I have my first failure today.

All a sudden I couldn't get any signal, and when I reboot the phone, it started off correctly but after reaching hte main screen of the phone, it goes to a black and white error screen saying something like BP Panic.

So I turned off the phone and start again, and my signal is back.
[Motorola Milestone Android Development] Azhad:
We are aware of this: http://code.google.com/p/cyanogenmod4milestone/issues/detail?id=22

And we don't really know what is causing it, but don't worry, is very unusual to get it
[Motorola Milestone Android Development] hammondhui:
yea... my phone has been really hot since then...
[Motorola Milestone Android Development] lanksdot:
So I installed alpha 0.01c really impressed. Had the phone in my pocket and when I looked at it, it was rebooting... This is the only reboot that I have seen so far. What is the best way to turn the cpu mhz down?
[Motorola Milestone Android Development] Azhad:
You can use setcpu to underclock the phone and to set it at boot, you can modify the file /etc/init.d/10overclock

Or you can use my Openrecovery ( http://code.google.com/p/cyanogenmod4milestone/downloads/list ) to install a choice of 3 overclock options:

1000/750/300/125

800/600/250/125

650/500/250/125

and you can even use the remove all mods option to restore the normal clock: 550/500/250/125
[Motorola Milestone Android Development] Craftmatt:
Hi there. I'm experiencing a very annoying bug. Whenever I try to install a SMS replacemente app, be it Handcent, GoSMS or ChompSMS, the phone reboots. It's happening ever since I updated to the January 15th version. I cleared the cache before updating and installed the latest version of gapps. I switched basebands as well.

I'll try to go back to a previous version,installing any of them and updating afterwards, but it is still a very annoying bug. Anyway, if anyone could help out, I'd really appreciate it. :)
[Motorola Milestone Android Development] Ralf_g60:
Is there a way to fix the javascript from browser?

When I disable java, browsing goes quick,

But with javascript enabled, some pages won't load...

?
[Motorola Milestone Android Development] baoli:
I was testing the battery life and the calibration seems to be way off. I first noticed this yesterday when I was down to 15% battery but it charged to 70% in 15 mins. Today, I was trying to completely drain the battery to reset the battery stats and it was taking a really long time. I started off at 80% before I started playing an episode of Top Gear and it went through the episode almost 3 times before the phone actually shut off. The phone gave me the 20% warning about 1.5 hours prior and lingered at 5% for about 45 mins so my battery reporting is all over the place.

I deleted the batterystats.bin file prior to it shutting off. The battery is completely drained. I'll give it a good charge tonight and see how it goes.
[Motorola Milestone Android Development] knowthenazz:
I have CM 0.06 installed and I mistakenly used OR 3.3 to change my overclocking.

Ever since I used OR, my SetCPU, says that my Time In State is NULL.

is this a known problem, and is there a workaround?

Thanks in advance.
[Motorola Milestone Android Development] -SAIUN-:
Since the 0.06 update my phone isn't sleeping as often as it used to. Sometimes it's running for 100% of the time, even after a few reboots. Haven't changed any settings from when I was running 0.05 and it was sleeping properly.

Anything I should be changing/adjusting? Mine is also turning the screen on when plugged into the charger at random intervals (I leave it plugged into the charger overnight and the screen comes on every few hours or so for no reason).
[Motorola Milestone Android Development] zninja:
OT (sort of)

Did you guys read that the A854 and A855 versions of the Canadian Milestone will NOT be getting an official 2.2 update from Motorola now?!??

I'm so pissed...CM is great and all, but I think it's really time to jump ship. Moto doesn't deserve to have us as customers.
[Motorola Milestone Android Development] cbstryker:
That is balls! I've already written off Motorola completely. HTC all the way. They make the most solid devices and they update early.

Anyways, in the last week I've been getting tons of random reboots. 2 or 3 times a day in some cases. Anyone else?
[Motorola Milestone Android Development] kabaldan:
see http://code.google.com/p/cyanogenmod4milestone/issues/detail?id=354
[Motorola Milestone Android Development] -SAIUN-:
After some more thorough analysis, it seems like my Milestone is sleeping for roughly 10% of the time that the screen is off (have done lots of reading the Battery Usage page in Spare Parts, timing how long the screen is off, comparing to boot time etc.).

Have tried disabling Juice Defender, Juice Plotter, Tasker, WidgetLocker, 3G Watchdog, FML widget, SetCPU profiles, SetCPU widget. Still no luck as it's only sleeping for 6 seconds in every minute that the screen is off.

There doesn't seem to be a point that it starts sleeping, either. If the screen is off for 30 seconds it will sleep for 3 seconds. If the screen is off for 20 seconds it'll sleep for 2 seconds. Screen off for 10 minutes it'll sleep for 1 minute etc. etc. I have to assume it's going in and out of sleep but have no idea what's causing it. There's nothing that's having a lot of Partial Wakelock usage.
[Motorola Milestone Android Development] Ok_Kaleidoscope5109:
So the Running for "Other Usage" in spare parts is 90% usually?
[Motorola Milestone Android Development] -SAIUN-:
Yes, unless my "Screen On" time is extremely low i.e. 2% in which case I've seen the Running time as low as about 75%.
[Motorola Milestone Android Development] Soul_Est:
I agree with you both. This Milestone shall be my last Motorola device. My next device will be either the Nexus S or a dual-core (HTC, Samsung or LG) with an unlockable bootloader.
[Motorola Milestone Android Development] brysonwong:
Any idea if the 4 point multitouch will be back? :(
[Motorola Milestone Android Development] Lollipop_Lawlipop:
Possibly never. You'll need to roll back to 0.04 to have 4 touch points back.

I actually recommend everyone to go back to that kernel until the phone stops crashing left and right.
[Motorola Milestone Android Development] pk2:
The A854 is a CDMA droid, not a GSM milestone regardless of what they call it'

PK
[Motorola Milestone Android Development] knowthenazz:
I wanted to give a quick update.

I found this post: http://xdaforums.com/showpost.php?p=9619936&postcount=1779

kabaldan - "The 2.6.32 kernel by Moto is compiled without CPUstats enabled and I haven't bothered yet to compile it as a module."

I could have sworn that SetCPU Time In State worked for me when I first installed Cyanogen, but, perhaps I was mistaken.
[Motorola Milestone Android Development] -SAIUN-:
New development on my sleeping issue: Did a factory wipe and booted a clean install of latest CM6 build. Sleeping issue remains (phone appears to only sleep for about 10% of the time that the screen is off).

The phone sleeps perfectly in Airplane Mode. Could I have some sort of radio issue or something? I'm completely at the limit of my Android knowledge, I'm afraid.

EDIT: Wifi seems to be the culprit. When Wifi is off the phone sleeps correctly. Wifi on causes the sleeping issue, regardless of Wifi Sleep policy. The phone appears to be completely ignoring whatever Wifi Sleep policy I use because Wifi is running for close to 100% of the time. How can I fix this?
[Motorola Milestone Android Development] goodwin_c:
if anybody want good old apps2ext on cyanogenmod - see this http://xdaforums.com/showpost.php?p=10929558&postcount=31
[Motorola Milestone Android Development] Fekish:
I thought that the giant woke up, that is why i came back to motorola after almost 12 years...

But they seem that they cannot keep up with the market and want to get short-term customers, thus that's it for me as well...
[Motorola Milestone Android Development] kabaldan:
That info is old, I actually bothered to compile the module two days later ;). It's being included since 0.04-10.12.08b (it's mentioned in the release notes).
[Motorola Milestone Android Development] cbstryker:
Go into your wifi settings and press the menu button to goto the advanced menu. In there check to see if wifi is set to never sleep, if so, change it to sleep when screen is off.

Edit: maybe I should read your entire post first.....
[Motorola Milestone Android Development] tase25:
Hey, also on Cronos. Have you noticed that the battery life is worse on Cronos?

I'm also considering going back to 2.1 for the same reasons. Some games run slower on 2.2 and battery life is now worse...
[Motorola Milestone Android Development] pcphobic:
The USB unplug bug might still exist.

I am using CRONOS which is a based on CM6.

I noticed that if after charging and I unplug it, spare parts shows that my phone has been awake for 90% to even 100%.

Then I found that if after charging, I shut down the phone and unplug it or unplug it and shut it down... and then start it up again... it solves the phone not sleeping problem. This time.. spare parts shows my phone has been awake for 6% to 16%.

So far, if I leave my phone idle (when I go to sleep), after 6 hours the phone only consumes about 10% of battery life.

You can see in the screenshot below of my phone after leaving it idle for 12 hours 37 minutes, the battery indicator in the notification bar shows 80% left.
[Motorola Milestone Android Development] qwertyboiz:
love this mod. but the phone still randomly reboots due to bp panic id dump or something. any idea why?
[Motorola Milestone Android Development] msaraiva:
Same here, it's only thing left that bothers me about Cyanogen.
[Motorola Milestone Android Development] qwertyboiz:
is it something to do with not flashing GOT 2.2.1.sbf? i'm still on shols 2.36...
[Motorola Milestone Android Development] Ok_Kaleidoscope5109:
kadalban - anything on why using Smartass governor, the 700mhz frequency is completely untouched/unused (based on cpustats)
[Motorola Milestone Android Development] Lollipop_Lawlipop:
Known issue.

http://code.google.com/p/cyanogenmo...ID Type Status Priority Version Owner Summary

I got smartass to select 700mhz/750mhz by setting max_cpu_load to 60.
[Motorola Milestone Android Development] -SAIUN-:
I've tried rebooting after unplugging from the charger to avoid the USB sleep bug issue. Should I completely shut the phone down and then boot back up like you're saying? Does that make a difference? If so, how long should I leave it off before booting up again?
[Motorola Milestone Android Development] knowthenazz:
Thanks for your reply kabaldan!

Any idea when I can't seem to get the SetCPU Time In State to work since I overclocked with OR 3.3?

Thanks!
[Motorola Milestone Android Development] Tomdroid:
I've had that problem for a while and with different roms. I think it worked once with an older CM version but later CM, HO!NO!, FroyoMod's broke it again. Atm. it's working again with the latest FroyoMod. But yeah, on and off with each rom flash. :)
[Motorola Milestone Android Development] knowthenazz:
Hi Tomdroid,

Thanks for getting back to me. I was beginning to think that I was all alone with this issue :)

It seems odd that it behaves in that manner. But, I guess I'll have to live with it.

I'm just running into some shortened battery life, and I just wanted to confirm that I was underclocking as much as I would like.

Thanks again.
[Motorola Milestone Android Development] kabaldan:
Well, the explanation of the missing CPU stats is very simple.

Androidiani OR replaces the original overclock script I use in CM: https://github.com/nadlabak/android...lob/froyo/prebuilt/etc/init.d/10overclock#L19

with a script that is missing the cpufreq_stats.ko insmod on line 19

Therefore if you use the Androidiani OR to change the overclock options, you are also disabling the CPU stats feature.

The Androidiani OR overclock scripts in OpenRecovery/mod/system/bin/boot_script/ should be edited to add insmod /system/lib/modules/cpufreq_stats.ko after the last echo to freq/mpu_opps tables.
[Motorola Milestone Android Development] knowthenazz:
Hi kabaldan,

Thanks for your reply and your explanation.

I actually have already tried adding the insmod /system/lib/modules/cpufreq_stats.ko back in my 10overclock file without success.

That's why I was beginning to suspect that OR overclocking did more than just copy the 10overclock file.

Here is my /etc/init.d/10overclock file:

#!/system/bin/sh

insmod /system/lib/modules/symsearch.ko

insmod /system/lib/modules/overclock.ko

###

### Test

###

echo 59 > /proc/overclock/max_vsel

echo 1000000 > /proc/overclock/max_rate

echo "1 700000" > /proc/overclock/freq_table

echo "4 700000000 49" > /proc/overclock/mpu_opps

echo "2 500000" > /proc/overclock/freq_table

echo "3 500000000 39" > /proc/overclock/mpu_opps

echo "3 250000" > /proc/overclock/freq_table

echo "2 250000000 29" > /proc/overclock/mpu_opps

insmod /system/lib/modules/cpufreq_stats.ko

insmod /system/lib/modules/cpufreq_interactive.ko

insmod /system/lib/modules/cpufreq_smartass.ko

insmod /system/lib/modules/cpufreq_conservative.ko

echo interactive > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

#echo conservative > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

#echo 125000 > /sys/devices/system/cpu/cpu0/cpufreq/conservative/sampling_rate

#echo 25 > /sys/devices/system/cpu/cpu0/cpufreq/conservative/freq_step

###

### End

###

Do you see anything obvious?

Thanks for your help.
[Motorola Milestone Android Development] zeppelinrox:
Edit: Seems that most of my problems with edits not taking effect was due the fact that I used Wordpad to edit scripts. Notepadd++ works good.

However, the fix ie. using the Run Script menu, is still pretty neat :)

Ah.. so THAT'S why CPUStats was not showing anything over 500 mhz...

I had cpufreq_stats.ko loading too early in the script!

I fixed my script and now CPUStats shows 1100mhz being used!

I FINALLY I got it working... thanks!

What a pain in the ass this was to get CPUStats working properly.

So here's how I got it to kinda work a couple of weeks ago.

At first I edited the 10overclock file to include cpufreq_stats.ko.

I lost the overclock and was at stock 550mhz after a reboot... dammit.

Then, as kabaldan just suggested, I had edited the pertaining file (71_overclock1100.sh) located in OpenRecovery/mod/system/bin/boot_script/ to include cpufreq_stats.ko.

Still, it didn't work. I had no overclock. I have no idea why. It should have worked... goddammit.

Me too.

After some reading, I figured that it all had to do with permissions and such but I really don't know too much about it. But near the end of the installation script that I was using (overclock100.sh), there is this line:

chmod 755 /system/etc/init.d/10overclock

But I still couldn't figure why editing the scripts that Androidiani OR directly uses doesn't work.

So I decided to try and use the Run Script feature in Open Recovery instead.

Here is my 71_overclock1100.sh file:

The only change is the line in bold, which was added to the original script.

Below is my overclock1100.sh file:

The first bold line was an addition to the original script. I'm not sure if it's needed, but it works and I don't feel like taking it out.

The second bold line is an edit, to reflect the location (/sdcard/OpenRecovery/scripts) of the edited 71_overclock1100.sh file.

It didn't work when I left the edited 71_overclock1100.sh in the boot_script folder... goddammitsomuch.

But I'm now a happy camper and finally have it working properly :D

So if you want 1100 mhz, you can use the 2 scripts that are in the attached zip file.

Here is what you do:

1. Unzip the 2 files into /sdcard/OpenRecovery/scripts/

2. Reboot into Open Recovery and goto the Run Script menu.

3. Select overclock1100.sh

4. Reboot

5. Enjoy :cool:

If you want a different overclock, the edits are the same but you will be dealing with a different pair of files.
[Motorola Milestone Android Development] knowthenazz:
Hi zeppelinrox,

Thanks for such a detailed reply, and for sharing your experiences.

I'm not sure we are trying to solve the same problem however. You seem to be focused on getting SetCPU to display the proper overclocking frequencies. I'm trying to get SetCPU Time in State to not show null.

I poked around the OpenRecovery scripts and I suspect for me to be able to restore myself back to the original state, that I'll have to get the original versions of:

Both of these were overwritten by the OR scripts.

I'm not sure if all of this is worth the trouble.

Does anyone know if these files will be replaced when CM 0.07 is released and installed on my device (assuming I don't do a factory wipe before I perform the Nandroid restore)?

If they are replaced, I wont bother trying to restore them now and just live with SetCPU with it's current functionality.

Thanks!
[Motorola Milestone Android Development] zeppelinrox:
When you edit 10overclock to include cpufreq_stats.ko, do you lose your overclock?

I was under the impression that your problem was that cpufreq_stats.ko wasn't being loaded and that is the reason why SetCPU Time in State show null
[Motorola Milestone Android Development] knowthenazz:
Hi zeppelinrox,

When I edit 10overclock to include cpufreq_stats.ko, I do NOT loose overclock. I just don't have SetCPU Time in State stats.

I checked the permissions on cpufreq_stats.ko, and it is world readable, although I don't have any confirmation that it actually is loaded, since if it wasn't included, I'd still be overclocked.

Thanks for your assistance!
[Motorola Milestone Android Development] zeppelinrox:
Well, I just installed SetCPU.

I was actually looking for the same info you were, but for a different program - CPUStats.

Anyway, the Time in State is working for me in SetCPU as well :)

I bet if you follow my suggestion, that it will work.

I was thinking to upload edit versions of the other OC frequencies though, in case you didn't want to go as high as 1100.
[Motorola Milestone Android Development] -SAIUN-:
Re the sleeping issue I'm still having: Android System is having an almost 100% partial wakelock. This is the same behaviour I saw when I was overclocked via the Androidiani scripts, except that now I'm just using the ROM's default overclock.

I've only noticed this sleep issue in the last week or so, potentially something has changed in the newest build that's stopping my phone from sleeping correctly? Strange that everyone else is fine but I'm having this issue.

EDIT: Would it make any difference flashing CM with Skrilax's OpenRecovery instead of Androidiani? I've really got no idea what else I can do at this point.
[Motorola Milestone Android Development] Tomdroid:
Thanks for that input.

I do remember using the AOR oc once but that's been a very long time ago. I'm 99.99% positive that I've had the no show issue in SetCPU after a (if not several) clean installs too. But still good to know.

Btw. does the interactive governor work with CM & the latest kernels (bras/apac)? I'm currently on FroyoMod (2.3) and just can't get that gov to load at all (insmod seems to fail since it's not avail. through SetCPU and if insmod + activate the system defaults back to ondemand at boot). Kinda weird, the lines are correct, the gov file in the right place. Just wondering if it's a kernel or mod issue.
[Motorola Milestone Android Development] 89luca89:
@ALL and @kabaldan

Sorry guys, I was too busy with my ROM and University that I didn't have time to update the Androidiani OR!

It will be update in max 2 weeks (exhams period....)
[Motorola Milestone Android Development] The Solutor:
When you do it should be a good idea to update the baseband configuration files too...