yashsingh1/xdaforums huggingface dataset:
[Motorola Milestone Android Development] milest0ne2:
Hi,

I recently reverted back to CM7 after using FroyoMOD for some time, I'm now running 7.2.0 RC0 and loving it so far.

There's one bug, though, that's really bothering me, it has already been mentioned (e.g. here or here - look for "haptic feedback"), but until now there's no solution (at least none that I could find). The bug was already there with CM7 7.1.2 and 7.1.5 so this is not new.

Here's what happens:

After a while and without a reproducable event (almost, see below), the phone slows down and haptic feedback is gone. Pressing the power button to switch the display off will take several seconds until the display is finally off (!).

Another thing happens and this was not mentioned in the reports I found: once the "slow down"-effect happens, there's no way to switch on any network connection. The only way to get a usable phone again is to reboot.

As this happens a couple of times each day, this is really annoying. I tried to track things down using aLogCat but there's nothing obvious happening that would lead to this (especially as you really don't know, *when* it happened - it only happened once or twice while I was using the phone and even then the syslog didn't show anything that struck me).

What I found out:

The error seems to be connected to the switching of networks (switching WLAN or just 2G/3G doesn't seem to matter). I used Juice Defender and Green Power to switch connections on and off to save battery. I tried both apps to make sure it's not an issue of one of the apps - it happens with both apps.

Leaving networks ON all the time (which is really not an option for me, but I wanted to make sure to track down the bug) seems to work - my phone's running for almost 24h now without the bug occuring, using a connection-switcher I assume it should have happend at least 3-4 times by now!

So, as the switching of connections (by some app) seems to be the problem and other MODs (e.g. FroyoMOD) never showed the bug (even though I was using a connection-switcher then), hopefully this will help to track this thing down.

I'd appreciate of someone could verify my findings and/or has some better ideas to find out how to get more details about the bug.

Kind regards...
[Motorola Milestone Android Development] Eiertschik:
You can copy it using nandroid, but you'll have to create the ext partition manually.

Copying the FAT partition is only complicated if you use native App2SD - simply dumping the files won't make android recognize them...
[Motorola Milestone Android Development] daveee143:
Battery Stats

Sir Kabaldan how can i reset the battery stats under 7.2.0 rc? sorry for the noob question, thank you in advance
[Motorola Milestone Android Development] n3n00:
With some root explorer/browser, go to data/system, open batterystats.bin in text editor, select all, delete, exit and save, then reboot.
[Motorola Milestone Android Development] puffo81:
Isn't faster to selcet batterystat.bin -> longpress -> Delete? ;)
[Motorola Milestone Android Development] n3n00:
Well, I never tried to see if it will regenerate ;).
[Motorola Milestone Android Development] puffo81:
Yes you can safely delete it at anytime, it will be recreated every boot!
[Motorola Milestone Android Development] zviki:
@Flyview - Can you confirm that nandroid backup work for you (to backup&restore ext partition). I had problems with it. I could not restore the ext partition with this method. Since I had to do it again, I was wondering if you succeed. This method is easier than on a PC.
[Motorola Milestone Android Development] ngonchan:
1. Using TitaniumBackup to backup your apps on ext partition, TB'll create a folder and put backup datas on your FAT partition on sdcard, named "TitaniumBackup"

2. Copy TitaniumBackup folder to your new sdcard and using TB to restore your backup datas.

:D
[Motorola Milestone Android Development] kabaldan:
Are you sure it's not a race condition between Toggle2G and Juice Defender / Green Power? Is Toggle2G disabled while you use the other app?

To debug: Enable Logger under Device settings, enable also logging in Green Power. Post the logs together with indication of the time when you first noticed the slowdown for that particular set of logs.

Personally, I don't like to run any unnecessary background services. Juice Defender service constantly consuming about 9MB of RAM seems to be particularly bad choice.

Toggle2G is doing great job for me.

Automatically disabled mobile data/wifi when screen is off is not useful for me at all - I would be e.g. unreachable via Viber calls most of the time then...
[Motorola Milestone Android Development] milest0ne2:
Yes, it's always disabled, I never use it.

Ok, will do.

That's not what it does - at least not all the time, Juice Defender or Green Power switch off data connections for 15min. (or any other interval) and switch it on for a minute to let mails, etc. sync. That only means a delay of max. 15min. for mails but makes a great difference in battery usage as most of the time, connections are off. I'm not using viber so those "connection switchers" are great for me, but of course, if you use VoIP, this will not work for you.
[Motorola Milestone Android Development] mcdevtingz:
I found using JuiceDefender more battery draining with than without when I used to use it.
[Motorola Milestone Android Development] milest0ne2:
I'm unsure about Juice Defender, I really like the features - the app itself says it'll enhance the battery life by factor 2 (doubling it), which I doubt very much!

I haven't been able to really test Juice Defender against Green Power (which is more lightweight) against none of both with CM7 because of the bug but intend to do so (using Green Power with FroyoMOD helped a lot!). Also Toggle2G could be an option, I never tried it.
[Motorola Milestone Android Development] mcdevtingz:
Toggle2G is hands down the best for this kind of thing
[Motorola Milestone Android Development] -FuFu-:
for me it works also...

in OR the nandroid backup will create a simple tar file (like a zip file) befor restoring, better wipe ext partition...

it can take a while, but here it works without problems
[Motorola Milestone Android Development] clmta:
Hi, under 7.2.0 RC.0 the notification led does not work when you charge battery and phone is off. I take off battery and led goes red, but reinstalling battery again led goes off. While charging it is no orange or does not go to green when charge is 100%.
[Motorola Milestone Android Development] LuisLAN:
It doesn't work for me!

The record button is shown for a second and then it disappears from the screen.

Any idea why this happens??
[Motorola Milestone Android Development] Babis_ECE:
+1, I just noticed it too. LED doesn't work properly when charging the phone while it is powered off.
[Motorola Milestone Android Development] scoutme:
To me , toggle2g is far better than any other service. With that enabled my battery lasts 24h, that is not bad. With Jd I feel the stone more sluggish with slightly worse results
[Motorola Milestone Android Development] hearts king101:
+1 :confused:
[Motorola Milestone Android Development] enrsil1983:
I haven't experienced this problem. LED stay red until 20%, orange until 99% and green at 100%... While powered on and charging, it stay red until 10%, then off.

I have changed some files (fonts in cdrom partition, changes to build.prop, overclock ecc.) but nothing that can affect battery, I believe.

Consider that I usually swap original battery with a new one.
[Motorola Milestone Android Development] Marcink00:
I'm charging now my phone. You are right, led is always off during charging.
[Motorola Milestone Android Development] milest0ne2:
Tried this for a whole day (and a night) - no error, it seems that the logging has the effect that the bug won't show. On the other hand, logging drains my battery ten times faster (I'm at 5% after 8h!).

I'm dismissing Juice Defender and Green Power and trying Toggle2G, thanks for your time!
[Motorola Milestone Android Development] xenomorph150:
New official RC0a is online! Oo

https://github.com/downloads/nadlabak/android/update-cm-7.2.0-RC0a-Milestone-KANG-signed.zip
[Motorola Milestone Android Development] vsxed:
*look at 1st post*
[Motorola Milestone Android Development] xenomorph150:
sry, was too slow! >.<
[Motorola Milestone Android Development] clmta:
Thanks Kabaldan, notification led now works fine with 7.2.0 RC0a (charging while phone is off).

Regards,

Claudio.
[Motorola Milestone Android Development] mcpterra:
To zvidi

Thanks for reply...

Yes I can buy apps, actually I bought many of them.

I tried to buy from Market Enabler with no luck too.

Regards.
[Motorola Milestone Android Development] kabaldan:
About the Call Recorder Widget:

After successful tests of call recording, I contacted the developer of the app I liked most for this type of task. I asked for loosing of the market compatibility restrictions of the app. Unfortunately, the reply I received was not addressing the market filtering issue at all. Never the less, to my surprise, the app appeared available on Market for Milestone some days later. I was able to buy the app directly on Milestone on 8.2.2012. Later, the app became filtered out for Milestone again. It's not appearing in the Milestone's market search as of now.

My guess is that the dev of the app does not want your money...

About the beeps during call recording - they are not generated by the call recording app, it's a feature of the proprietary Motorola's libaudio that allows the call recording...
[Motorola Milestone Android Development] Fekish:
Thanks for everyone that has spent time on my problem.

Attached is the log file.
[Motorola Milestone Android Development] bejoy_sab:
Is it possible to have autoanswer for Bluetooth headset with adjustable delay,as is there on sgs2.
[Motorola Milestone Android Development] kabaldan:
I really meant the kernel log - dmesg or logcat -b kernel

So I can see the kernel output when the tiwlan kernel module is loaded.

But it looks like I guessed even from the log you posted - your wlan module (hw) seems to be broken.
[Motorola Milestone Android Development] heavony.ivory:
is it possible to bypass, hack or replace Motorola's libaudio ?
[Motorola Milestone Android Development] kabaldan:
bypass: simple no

hack: no success so far, but still trying

replace: replacement allowed in-call recording to happen at all. That's about as good as possible. I guess it's safe to assume that there won't magically appear any new, better, compatible libaudio for Milestone.
[Motorola Milestone Android Development] heavony.ivory:
10x for the quick answer.

I don't have a clue on howto do it (probably i'm talking nonsense), but simple hacking could be outside libaudio by remapping beep sound to quiet beep when call recordind invoke by libaudio.
[Motorola Milestone Android Development] igna.worn:
Hi there, I know that our milestone has problems with RAM and running services, that's why I know you will have the right answer.

Which app of mobile data management do you recomend? Now I see "Onavo" which looks pretty cool, but it consumes 8MB of memory.
[Motorola Milestone Android Development] Garreth88:
Ask such questions in app forums, better chance for getting an answer.
[Motorola Milestone Android Development] trinhdacquang:
com.android.phone FC, after flash 7.2.0 RC0

anybody help me!!!!!
[Motorola Milestone Android Development] Fekish:
ok thanks :)

first time i heard a broken wifi, but it seems that is time for a new phone! :)
[Motorola Milestone Android Development] UnitedOceanic:
i use 3gwatchdog it uses 5mb
[Motorola Milestone Android Development] moe6:
What are the odds that this just needs to be wiped and flashed again?

Why is it so hard to mention this if you've done it already and it's still FCing? I'll just assume that it hasn't been done.

Wipe, reflash, get back to us.
[Motorola Milestone Android Development] guitarhero923:
Yay, f***ing bootloop. What the hell do I do now? Am I going to loose all of my data and ****?
[Motorola Milestone Android Development] clmta:
I am testing AllCallRecorder from market, its free and works fine in Milestone with 7.2.0 RC0a

Very simple, as the name indicates, any call is recorded, you can only configure auto delete records (or never delete and do it manually).

You hear the beeps while recording but no when you playback the file.

Regards,

Claudio.
[Motorola Milestone Android Development] moe6:
Kabaldan,

Latest version seems to have trouble with connecting as a BT Audio player for in-car entertainment.

7.1.5 (and prior) had no issue, now I get restarts either after 10minutes+ of playing a podcast or after 4-5 songs. Happens every time without fail.

Let me know what you need to identify this
[Motorola Milestone Android Development] nitrobg:
Before resetting Data, try out these:

1) Clear caches

2) Reflash ROM
[Motorola Milestone Android Development] heavony.ivory:
still it doesn't solve the beeping during recording (other side ear them to)

nadlabak: I have done some goggling on this issue and seem that the beeping while recording issue solved for motorola defy, is it safe to try it on our MS?
[Motorola Milestone Android Development] kabaldan:
The real solution for Defy was to use libaudio from leaked gingerbread build for Chinese version of Defy. The froyo version of Chinese libaudio for Defy has the same beeping notifications as the version for Milestone. There is no gingerbread build (nor Chinese, nor other) for Milestone available. The Defy libaudio is not fully compatible with Milestone.

So, what exactly do you want to try?
[Motorola Milestone Android Development] Abu3792:
Today as I unlocked my phone the standard option bar ( phone, contact etc) down the adw launcher was blank and I had to reboot the phone to get it back, I forgot to take snap of it but the next time its gonna happen I'm gonna take one!
[Motorola Milestone Android Development] nitrobg:
Isn't the dock bar scrollable on ADW.Launcher?
[Motorola Milestone Android Development] Abu3792:
No it isn't scrollable and another thing I noticed is led notification doesn't work like I had mail notification but it did not show up
[Motorola Milestone Android Development] n3n00:
Install 7.2.0 RC0a, notifications are fixed... damn why don't you read previous pages.
[Motorola Milestone Android Development] syathibiy:
Guys, how to upgrade Motorola XT720 from Eclair to Gingerbread? Thank you. :)
[Motorola Milestone Android Development] shalom06:
wrong forums :)
[Motorola Milestone Android Development] postrero:
Dumb launcher pro force closes. Decided to use 360 launcher and it is smooth.
[Motorola Milestone Android Development] ShinG0:
The new video recording feature 848x480 works great with 7.2.0 RC0. But the call recording have some issues. You should start the recording after the call is made otherwise you won't hear anything. Also that *beep* sound is very catchy and you have to be very stupid if you do not realize that you are recorded. Anyway you can lie the person that your battery is running low or something like that, but it's pretty obvious I think. I can remember that the Symbian had some patches, with which you can disable the *beep* sound, but I don't know if the same can be done for Android and especially our lovely Motorola Milestone phone full with restrictions and locks (hw and sf). I tried several programs and the best choice for me now is Auto_Call_Recorder_Pro_v2.21.apk. I have to disable the Auto function every time I finish with the recording, but it's better then the others. Tried and the Call Recorder of skvalex , almost all of the versions and the good think is that you can delay the start of the recording with 3 seconds, which gives you the best way to auto start in our situations with our phones, but as everything it has and a bad part - at the end, when you close the call the program just does not want to stop the recording and hangs - Force Close is the only option left, but you lose the record, if you wait the program automatically shuts down and you lose the record once again. If you decide to stop the recording from the Stop button before you close the call it's okey and the record is successfully recorded and stored and ready, but I can't be sure all of the time that the person on the other side won't disconnect the call beforehand...
[Motorola Milestone Android Development] afadel:
The beeping is not really an issue, it's a feature that manufacturers use so the other party know the call is being recorded. I believe it is illegal to record phone calls without the consent of the other party, unless you have a court order.
[Motorola Milestone Android Development] zviki:
Yes it is scrollable.

Edit:Sorry.Wrong answer.Hidden dock bar is scrollable but main dock (phone,menu,etc icons) isn't.
[Motorola Milestone Android Development] romuleta:
I have to install this ROM on my wife's MS!!
[Motorola Milestone Android Development] kabaldan:
Yes, the beeping is a feature.

(mostly to ShinG0:) The need to start recording only after the call has been established is mentioned in the release log.

In many countries, it's perfectly legal to record your own phone conversations for your personal use (though e.g. publicizing of such records is bound by other restrictive laws). In such countries (besides many European, that includes also some U.S. states), the consent (with recording) of just one party of the conversation (you) is enough.

On the other hand, in some countries as e.g. India, no phone conversation recording is allowed, even despite both involved parties would agree with it, unless there is a court order allowing taping of that particular phone call...

My own issue with the beeps is just that the beeps after each 10s are too often and also too loud in a way that it is disturbing the person on the other end. My personal need of the call-recording function is not to tape my conversation with other party without his/her knowledge (though the law in my country permits that). I just want to be able to record some important phone calls. It's also very useful for interviews done via phone calls.

So I'd like to find a way to make the beeps less frequent and/or less loud, that's all. I already disassembled the libaudio, but so far, I was not able to achieve the goal to make the beeps less disturbing.
[Motorola Milestone Android Development] zeppelinrox:
Is it possible to edit the audio file itself to make silent?

I know nothing about it but I'd imagine that it would be part of the disassembled libaudio.
[Motorola Milestone Android Development] janosik47:
I would assume the sound is generated directly by low level API invokes instead of by playing an audio file.

I think the M intention was to let the sound be persistent with no ability to be turned off so generated by code inside the lib.

Thats why dissassembling the lib is required.
[Motorola Milestone Android Development] zeppelinrox:
So is it impossible for the audio file to be a part of the disassembled lib?
[Motorola Milestone Android Development] Flyview:
Ok so it didn't fully work.

To recap, I basically switched to another smaller SD card and needed to copy over the sd-ext partition to the new card.

Took the new 8GB card and partitioned it in the recovery of my new phone, HTC Sensation with a 512MB ext partition. Now that I think about it, not sure what type of ext (2 or 3 or 4).

I used nandroid to backup everything, swapped most of the folders from the old fat32 partition to the new one. Then I popped the 8GB card in the milestone and did a nandroid restore. It successfully restored the "SD data" but a lot of the apps are missing. The strange thing is that they are not all missing.

The old ext2 partition from the 16GB card is now erased unfortunately so all I have is the nandroid backup.

Help?
[Motorola Milestone Android Development] janosik47:
I think it is possible, however I would expect kind of a raw data section not an audio file ....

Anyway I may be wrong, it is almost 20 years I was doing seriously an assembler work, all is different now ;)
[Motorola Milestone Android Development] kabaldan:
Possible? yes. But it's not the case regarding the Milestone's libaudio. The beep sound is generated on the fly (not just a sound file played) the same way as dtmf tones.
[Motorola Milestone Android Development] zeppelinrox:
Ah okay... it's an interesting challenge indeed
[Motorola Milestone Android Development] Abu3792:
This is the problem I was talking earlier, as you see there's no standard dock
[Motorola Milestone Android Development] shalom06:
thats the hidden dockbar ...you can disable it by disabling it in ADW settings
[Motorola Milestone Android Development] Abu3792:
That's not hidden it randomly disappears whilst using
[Motorola Milestone Android Development] LuigiC6:
*sigh* Try swiping up or down on the homescreen.
[Motorola Milestone Android Development] Abu3792:
That didn't help me either, I got to reboot the phone to get that back :-(
[Motorola Milestone Android Development] n3n00:
*sigh* And disable hidden dockbar in options.
[Motorola Milestone Android Development] jerminhu:
Just flashed the updates. Nice work there!

I am running GAEProxy on my phone in order to watch Youtube in China. But it seems that the app process is killed by the system 5 minutes after its launching.

Is there any way to keep it running in the background until I kill it manually? Can I achieve this without using third-party apps?
[Motorola Milestone Android Development] Abu3792:
How will I disable it when I haven't enabled it!
[Motorola Milestone Android Development] Fekish:
If we are coming from hono should we clear just cache or everything? Just to implement all updates now that hono has stopped.
[Motorola Milestone Android Development] LuigiC6:
Everything.
[Motorola Milestone Android Development] zviki:
In post before I described how to copy ext partition but I thought that maybe nandroid can do this.It would be faster. Thanks for info.
[Motorola Milestone Android Development] shalom06:
its enabled by default!! now please DISABLE it "! press the settings button search for adw settings click it then search for ui settings there you will find the golden words called DOCKBAR just disable it
[Motorola Milestone Android Development] HinotoriBR:
I don't think so, HoNo was largely based on removing/changing things of CM7, so, it should be fine just clearing caches.... My 2 cents... ;)
[Motorola Milestone Android Development] LuigiC6:
Regardless, they are different roms, and you will run into many problems if you do not do a full wipe. Just personal experience, and experience from the many people that have done so without doing a full wipe and complained of boot loops ;)
[Motorola Milestone Android Development] Flyview:
Any suggestions to my questions?
[Motorola Milestone Android Development] leobg:
Yah - you need to wipe. I have tried going from CM to HONO without wiping data some time ago and boot looped. Hono changes too many things, I guess enough to cause issues.
[Motorola Milestone Android Development] Marcink00:
Recently I've realized that sometimes after answer I cannot listen to person who call me and he cant listen to me as well. It take place very often, on android forum in my country people was writing about this issue. Anybody else has got this kind of problems?
[Motorola Milestone Android Development] HinotoriBR:
Anyone having in app purchase issues? It simply says error when market should show details and ask for confirmation...
[Motorola Milestone Android Development] hearts king101:
Me too :confused:. I have to end the call and call again.

Plus : Camera freezes many times. last time today after taking 1 pic and no response for abt 2 min.
[Motorola Milestone Android Development] igna.worn:
My camera freezes a lot too. But I think is "normal" with our phone.
[Motorola Milestone Android Development] puffo81:
Mine too, even with different applications, same result.. also Google Maps lags a lot, it's almost unusable! do you suggest a different mod, like Brut?