yashsingh1/xdaforums huggingface dataset:
[Defy Android Development] Zinshin:
FAQ Request

Can someone make a FAQ thread for CM7?

As CM7 for the Defy is ever increasing in popularity, there are several users who are repeating questions regarding it. I feel that this thread should be more concerned with bugs/complex issues. Would anyone care to make such a thread?

P.S.

What can I do to increase my battery life? :)
[Defy Android Development] binodnepal:
On that screen press the volume up + down at the same time you will get stock recovery
[Defy Android Development] marhensa:
CyanogenMod 7.03 is out now..

but i think 7.1 RC 0 is better, because of 2.3.4 based.

_____

Sent from Motorola Defy using Tapatalk
[Defy Android Development] Quarx:
I have successfully compiled ClockworkMod 3.0.2.8

Now I rework the process of installing CM.

Standard update.zip without tar.
[Defy Android Development] pjcons:
The good: my phone starts up quicker, battery lasts longer, does more, has more options, can be backed up and recovered prior to start up, just is generally better.

I'd hate to complain as if it wasn't for devs id still be running eclair. :(

But question? If becomes official will it load off ROM manager?
[Defy Android Development] escrivel:
@quarx: First of all thank you so much for your great work!!!

We from the android hilfe forum have collected some bugs, maybe they were mentioned here already:

-Launcher Pro freezes sometimes when you reboot your defy

-Sometimes the defy freezes after you quit a call

-Tha camcorder is really not that good (not a bug but definitely worth to improve)

-Tasker is not working

-When you switch to your speaker while having a call, the other person wont hear anything from your voice

-No pocket funktion (is that the right wording? No :-) )

-Standard mp3 player bugs sometimes
[Defy Android Development] aimsforu:
This is same problem I am facing.

Phone will not ring after playing music player.
[Defy Android Development] marhensa:
nice!

without tar file,

we can modify apps or xml configs before we apply to install the rom.
[Defy Android Development] marhensa:
yes, launcher pro freezes sometimes.
[Defy Android Development] Ph1b:
5 things:

-Turn off autosync, or at least force it to a sheduled plan.

-Download SetVsel and undervolt your core to 18-300 30-600 40-800 - 95

-Download BatteryCalibration and calibrate your battery

-Download Timerrific and make your phone automatically go to flightmode overnight

-put Wifi sleeping policy to never sleep and turn it off, turn it off manually by widget (notification bar for me)

For me it's battery-life for more than a week.
[Defy Android Development] bartdm:
hello all,

i hope you can help me.

I've flashed from beta 4 to beta 5 without problems.

The task sequence i've done is the clear en the cache clear.

Running the zip updates => beta 5update, google update and then the freq-uk-234-900-2100mhz.

Everything works except the mobile reception.

I often have bad connections, browsing that doesn't work etc.

My operator is the belgium mobistar.

Isn't there an android app that installs the best apn settings for your operator?

thank you al

please send me a copy of the answer in pm
[Defy Android Development] Ph1b:
There is an app on it called "Defy Baseband changer".
[Defy Android Development] pasor1:
I've the same problem
[Defy Android Development] binodnepal:
Mine is 20/300 , 32/600, 58/1200
[Defy Android Development] rumcajsz:
Is this app? Battery Calibration

Which kernel do you use?
[Defy Android Development] Ph1b:
My settings are: 18-300 30-600 40-800 and no freezes ever. Maybe you overvolted to high?

2.6.32.9 from the nordic one. Yeah, that is the app. You should do that each time you flash a new rom. First charge to 100%, take it off the charger, than calibrate your battery, use the defy until phone goes off, then charge without interruption.

You use it because the battery management is calibrated on the ROM (or stock android) you used before.
[Defy Android Development] MisterWB:
Strange, on my side I'm using 300/20, 600/30, 800/44. I don't notice freeze.

Last changes was done yesterday evening:

- I flash new 3.2.4-164 official french rom and updated bootmenu to version 0.6.1

CM7 seems smoothly, but it could-be only a personnal feeling. Before I was in 2.51.1 with a Fixed SBF 3.4.2-177 Nordic to keep downgrability.

Ah, and I'm using Go Launcher Ex !
[Defy Android Development] ephumuris:
Launcher Pro also freezes on Nordic rom guys its a launcher pro issue. Don't be giving quarx more bugs than is necessary. ;-)

Sent from my Defy on EphuNord rom.
[Defy Android Development] businessman9:
I could set 20/300 30/600 40/800 @ 2.1

but get to cm7 I cant get lower than 30@300Hz

so weird , it's fine with 20/300 30/600 40/800 now-.-
[Defy Android Development] madhuranand007:
Wow quarx very good..... Lovely :)
[Defy Android Development] escrivel:
Is 58/1200 a stable setting for the CM7?

Quarx what would you recommend?

Did you record the bugs?
[Defy Android Development] rrhg:
Anyone knows how to update sndinit without reflash cm7 ? I don't know if it is the good topic for my question but need help,please !!!
[Defy Android Development] binodnepal:
I am using since beta4 and previously on my official Tom 2.1 no issue at all.
[Defy Android Development] xtrmshadow:
Right,i've had 54@1000 before,trying ur 58@1200 atm,doing stability tests on VSel3 atm ,will tell ya in a bit if it freezes or not ^^.

Respect

PS : My previous lag i had that i said before,has been fixed by just changeing screen-change mode(Wave,Cube,etc) to anything but the Slide(Normal one),which is the one lagging (Wierd ,isnt it ?).

EDIT : Nope,58@1200 Froze for me while Stability Test 4 ,rebooting,then ill try to increase VSel,maybe 60 can do it.

EDIT2 : Yep , 60@1200 Worked great,Heavy tested it for 30 mins and no problem at all,max temperature 38ºC with just a slight peak to 39ºC but only for a second.Hope it helps.
[Defy Android Development] K r i ll e:
Anyone else having problem with the phone going reallyreally sluggish, like an app sucking all of your cpupower? This happens randomly, the phone can last several hours before i it happen. It seems to be linked to wifi because it doesnt connect to a working network and if you go to wireless settings all you get is a black screen (Still with statusbar and you can go back to settings index) and the process for the wireless settings force closes.

The only way to solve this is a reboot.

I'm using beta 5 and the same sbf as quarx.

Except this everything I need works perfectly!

Sent from my MOTO Defy
[Defy Android Development] ABC_Universal:
Have you enabled SetVsel's "Apply SDCard Speedfix" option? I got freezes with that option enabled (on noric rom).
[Defy Android Development] rrhg:
I'm on 3.4.3-11 Uk rom. Clean install cm7 beta5.

Gps work but more time to fix i used gps fixer

light sensor ok user option

Launcherpro have bug in reboot

Setvsel work fine 20-300/30-600/60-1200/75 sdcard speedfix checked

Nfs shift don't work

Camcorder 360camera v2.0 work fine too with flash and preview

Camera lgcamera free ok preview but playing 720p recording is to laggy have bug encoding h264

For video in 720p hardware decode don't work. I used vplayer advanced work fine with all format.

Crystalclear fine

Androzip have bug sometimes have blank screen need to relaunch

Droidwall ok

Flash video fine

Mic don't work when incall speaker mode

At all seems ok just minor bugs but not essential

I recomended 3.4.3-11 Uk for cm7 beta 5.

Very good job Quarks.. great and perf rom... thks for all to help him
[Defy Android Development] rrhg:
I don't try wifi. Bluetooth pairing works fine can send and receive file and use my phone to modem
[Defy Android Development] rumcajsz:
And what about battery life?
[Defy Android Development] escrivel:
Seems to me very similar to pays 5.1 if you know this rom.

For me as an moderate user i have to plug on my defy after 18-20 hours.
[Defy Android Development] rrhg:
I've 24h when full charge.

Hspda always on

2h total call

2h web browsing

Bluetooth pairing in car 4h.

But when i download it's drop speedly...

Sorry i don't speak english very well
[Defy Android Development] rrhg:
For batt calibration, i used villain method :

Charging with usb not charger

After full charge pull out 30s

Replace it and charging for 30mn

Wipe or delete batt stats

Use phone as normal and wait for autoshutdown.

Charging with charger

That's all
[Defy Android Development] mick711:
I just test Navigon and Motonav

Copilot , Navigon Fix very fast .

Aura , Motonav Fix very slow or no Fix .

Why with no change to GPS configuration and driver, apps can fix and other no ?
[Defy Android Development] escrivel:
Quarx if you like to have something special tested: Just let us know.
[Defy Android Development] enemyKi:
Autobrightnesslevels code

First of all thank you so much for your great work!!!

Autobrightnesslevels is problem~

How about is

<integer-array name="config_autoBrightnessLevels">
<item>50</item>
<item>3000</item>
<item>8000</item>
</integer-array>
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>48</item>
<item>108</item>
<item>206</item>
<item>246</item>
</integer-array>
<integer-array name="config_autoBrightnessButtonBacklightValues">
<item>255</item>
<item>0</item>
<item>0</item>
<item>0</item>
</integer-array>
<integer-array name="config_autoBrightnessKeyboardBacklightValues ">
<item>255</item>
<item>0</item>
<item>0</item>
<item>0</item>
</integer-array>
[Defy Android Development] MisterWB:
Wath I do with my phone:

- copy bootmenu.0.6.1 on sdcard

- from adb shell or phone terminal, get root (su)

- go to bootmenu0.6.1 (cd /sdcard/bootmenu0.6.1/)

- launch install bash script (sh install.sh)

- reboot twice (i'm not sure it's mandatory but I reboot twice to be sure !)

At first boot phone go to boomenu by default. I have to select boot->sndInit as default.

Now phone boots CM7 each time :D

Hope I answer to your question :)
[Defy Android Development] rrhg:
Thks
[Defy Android Development] viper.:
@Quarx ...any luck with video recording? I am just wondering why the 720p fix for froyo doesnt work here,is there so much difference between 2.2 and 2.3(in camera files)...?
[Defy Android Development] Bendary:
I'm sorry but could someone tell me the easiest way to root the defy and the 2.2 rom I should flash before installing cm7 ?
[Defy Android Development] viper.:
Havent you seen that thread ??!

http://xdaforums.com/showthread.php?t=1065798
[Defy Android Development] Bendary:
Ok thnx, but what is the easiest way to root ?
[Defy Android Development] escrivel:
SuperOneClick for root.
[Defy Android Development] nisamtetreb:
I got that too, I believe Tunein radio got stuck maybe.

I got no black screens (I never looked into the wifi settings), but whenever the youtube app said "a problem occurred playing the video", the browser for example couldn't connect as well. These might be related, and maybe occur on many different devices and ROMs too. This happens on both wifi and 3g, I only have 3g mobile network.
[Defy Android Development] escrivel:
I got the same issue yesterday, after using lgcamera:

Defy got extremely warm and turned off. After a reboot everything works fine.
[Defy Android Development] Quarx:
Git updated, now is built full CM7(with Bootmenu and CWM3.) and creates update.zip (You need to replace boot.img and update-script from the git in the generated update.zip).:)

The next version will be a new update.zip:)

P.s Now works:):

. build/envsetup.sh && brunch jordan
[Defy Android Development] Domingo2010:
Nice but what mean "full cm7"? Where are the differences?;)
[Defy Android Development] Quarx:
This is for those who want to build himself CM7. :)

Or other developers such as MIUI....

Enough to take the source code and all:)
[Defy Android Development] Pq2son2:
Hi,

nice one the last update, but I have one problem. I looked this bug in this thread but I didn't find it.

When I select 2G network connection, when I call sometimes the other person can listen me. But when I select 3G network the call is perfect.

Anyone have the same problem? :S I try to change the "Defy Baseband" but that doesn't change anything! (strange)....
[Defy Android Development] antony.ps:
All my games working, NFS Shift, Asphalt, GT Racing, Dungeon Hunter II, etc. A little bug in Zenonia: music plays but effects no. Nordic 3.4.2-177.
[Defy Android Development] tgzw:
yesterday, make update.zip,at last no signal .......now try
[Defy Android Development] adi4motion:
quick question: Defy radio has RDS, but i can't see station name...why?! app doesn't support it? or what?
[Defy Android Development] alberson:
Where did you get Dungeon Hunter II:confused: Can't find on Gameloft store.
[Defy Android Development] astearon:
Yes, RDS is shown only if the app supports it.
[Defy Android Development] HomerSimpson07:
i see the station names, so the app supports it
[Defy Android Development] nepotu:
@adi4motion I can see the station name for some channels, but not for all. So definitely the app support RDS. I do not know if the issues is software related or it has something to do with poor RDS implementation in our area.
[Defy Android Development] AkkiandDefy:
Which baseband should I choose in Germamy?

Typed by my Defy using CM-7 beta 5 with the XDA premium App
[Defy Android Development] Ph1b:
Mitteleuropa 34.155.2
[Defy Android Development] AkkiandDefy:
Thanks. Danke.

Typed by my Defy using CM-7 beta 5 with the XDA premium App
[Defy Android Development] maniac103:
Thank you very much :)
[Defy Android Development] nov.six@qq.com:
And will you make install pakage of the newest Bootmenu with CWM 3028?
[Defy Android Development] AkkiandDefy:
Read the thread 2pages before

Typed by my Defy using CM-7 beta 5 with the XDA premium App
[Defy Android Development] chm0dvii:
Same here, no problems at all with quadrant @ 1900! Loving it! My phone now runs faster than my coworker's Evo, Droid X, Thunderbolt, etc!
[Defy Android Development] wyxpark:
i would love to go for it as soon as the aGPS begin to work. I really need it often.

Quarx, do you have any clue on fixing the aGPS? If it's possible, how long would that take?
[Defy Android Development] Terranalon:
I have huge problems with my Wi-Fi...

First, I have to turn off and back on the wifi when I want to connect to a different network. after a day, the wifi stopped working at all, it just didn't recognize any network even though my phone was just near the router.

Then, I wiped data and cache, and flashed beta 5 again, there was still the problem with turning off and on every time, but I could handle that, then again, today, it just stopped working again.. doesn't recognize any network..

I have no idea what to do.. reflashing beta 5 won't help, since the problem will come back again.. should I just reflash beta 4.1? (There wasn't any problems there)
[Defy Android Development] chm0dvii:
Agreed, aGPS would be awesome!
[Defy Android Development] iaio72:
ehy guys, if you dont like the aosp music player HeRe find the miui music player for cm7 and miui equalizer!! works fine!! :P
[Defy Android Development] ofmb:
read here

if you have wifi backup in titanium backup you can restore it also

please reply if it fixes your problem
[Defy Android Development] chm0dvii:
Player Pro is awesome too. It has a built in equalizer that works pretty well.
[Defy Android Development] AkkiandDefy:
I dont have clockworkmod 3.x :(

Typed by my Defy using CM-7 beta 5 with the XDA premium App
[Defy Android Development] antony.ps:
Maybe these Wifi problems can be caused by SBF version used before CM7. I'm using Nordic 3.4.2-177, without any problems at home (wpa_psk) and at work (wpa2, wep).

You should try to wipe all your data, cache and dalvik cache too.
[Defy Android Development] iaio72:
installed simple with rootexplorer!!! in system/app, repair permission and then reboot!
[Defy Android Development] AkkiandDefy:
I dont trust me to do it :D

Typed by my Defy using CM-7 beta 5 with the XDA premium App
[Defy Android Development] Quarx:
I will upload modified boot menu 0.6.1 with CWM3.x

About aGPS:

I unpack (Apktool) framework.jar from 2.2.

Motorola aGPS found in:

"\smali\com\vzw\location" and "\smali\com\motorola\android\locationproxy"

I don't know how to port it on 2.3....

Simple copy in 2.3 framework.jar doesn't effect on gps.
[Defy Android Development] AkkiandDefy:
Maybe some people on russian or chinese forums can do it like at radio and camcorder

Typed by my Defy using CM-7 beta 5 with the XDA premium App
[Defy Android Development] Quarx:
Bootmenu 0.6.1 + ClockworkMod 3.0.2.8

Install like original Bootmenu

Update: Fix recovery.fstab
[Defy Android Development] adi4motion:
try to copy from motorola milestone, or ask milestone's developers how they did it...
[Defy Android Development] AkkiandDefy:
Juat flash it with the clockworkmod?

Typed by my Defy using CM-7 beta 5 with the XDA premium App
[Defy Android Development] Terranalon:
I don't have any wifi backup in titanium backup...

Already tried that, it didn't help. As I said, the problem came back after a day.
[Defy Android Development] Quarx:
Milestone has works aGPS?

No... install like original bootmenu
[Defy Android Development] AkkiandDefy:
I dont understand how..:S

Typed by my Defy using CM-7 beta 5 with the XDA premium App
[Defy Android Development] ofmb:
oops

read here:

http://xdaforums.com/showpost.php?p=13435452&postcount=2355

.. or try to delete ("forget") wifi connection data about the specific networks in range or all wifi data via titanium
[Defy Android Development] Quarx:
AkkiandDefy,
[Defy Android Development] tgzw:
MOTO Droid X is official first 2.3,maybe help agps
[Defy Android Development] adi4motion:
I think so, i couldn't find any issue about aGPS on milestone cm7...
[Defy Android Development] AkkiandDefy:
And clockwordmod how?

Typed by my Defy using CM-7 beta 5 with the XDA premium App
[Defy Android Development] Quarx:
Bootmenu includes CWM3
[Defy Android Development] Terranalon:
I guess all I needed to do is hit forget on my network.. now it works fine :)

I hope it'll stay that way.
[Defy Android Development] ofmb:
@Quarx

here:

http://code.google.com/p/cyanogenmo...arge_only_mode (for 0.03-10.10.21b).zip&can=2

http://cyanogenmod4milestone.google...rk.jar&token=4ff4e13063d49b022ab3db8512d4ae65

http://cyanogenmod4milestone.google...es.jar&token=1d234ddb100742eebd763b2ba9bb8f40

http://code.google.com/p/cyanogenmod4milestone/issues/detail?id=5

think it'll help :)
[Defy Android Development] ofmb:
Good!

i'll add it to the FAQ thread

would you please check if the problem happens again using the steps i provided?
[Defy Android Development] AkkiandDefy:
Is it nescessary for the next beta?

Typed by my Defy using CM-7 beta 5 with the XDA premium App
[Defy Android Development] lanfearxt:
I think I'll wait until the next beta or release
[Defy Android Development] nov.six@qq.com:
the ClockworkMod 3.0.2.8 is running now, but it can't do anything,

back up and restore

install zip from sdcard.

and might you fix it ?
[Defy Android Development] Quarx:
Oh. sorry, i forgot recovery.fstab

copy file from archive to /system/etc

Re-uploded http://xdaforums.com/showpost.php?p=13537585&postcount=2690

recovery.fstab will be copy automatically by install.sh
[Defy Android Development] ruphert:
Sorry, I never install bootmenu, flash from recovery is enough?
[Defy Android Development] marhensa:
are you sure???

if you install this CM7 you should install bootmenu first (2nd init is inside bootmenu).
[Defy Android Development] nepotu:
Maybe he installed from Market the Defy 2ndInit app.
[Defy Android Development] ruphert:
I have installed recovery and 2nd init from apk.
[Defy Android Development] ruphert:
Exactly, easy way...
[Defy Android Development] MisterWB:
Héhé Quarx, you so overloaded :)

I'm retesting with recovery.fstab and keep you inform.
[Defy Android Development] MisterWB:
I downloaded zip from http://xdaforums.com/showpost.php?p=13537585&postcount=2690

Zip file contains recovery.fstab but install.sh don't install it :( I tried twice, NOK :(

So I copied recovery.fstab in /system/etc/ + chown 644 and ....

... now it's OK :D

CWM3 mount sdcard and I'm able to acces backup/restore menu for example.

Quarx,

Could-you check install.sh ? and upload new zip ?

Thanks

PS: with new CWM3, if +++Go back+++ choice is missing, it's bc we can go back with return key ( the one at bottom between home and search)
[Defy Android Development] Quarx:
aGPS coming soon.....

In next 10min i upload update.zip :)
[Defy Android Development] alberson:
WOOOOOOT! That's the BIGGEST news, IMO.
[Defy Android Development] AkkiandDefy:
Thaaaaaaaaaaaaaaaanks

Typed by my Defy using CM-7 beta 5 with the XDA premium App
[Defy Android Development] chm0dvii:
Same here, I was also thinking that the Milestone or Droid X might work.

I will definitely test it!
[Defy Android Development] AkkiandDefy:
Greatest dev ever........ Now just the easy part WVGA Cam.

Thanks sooooooooooooooo much

Typed by my Defy using CM-7 beta 5 with the XDA premium App
[Defy Android Development] Quarx:
Try it.. 2Versions for CWM2 and CWM3.

Before install delete "/data/location"

If it dont work or bootloop, i will upload new build tomorrow
[Defy Android Development] AkkiandDefy:
Installing it, no bootloop but still loading, will edit when I tested it

Edit1:

Cyanogen needs much time to load :D so excited

Edit2

something is wrong.. statusbar is force clsing and I can't go into Settings :(
[Defy Android Development] MisterWB:
Before testing I'm doing a nand backup... and I confirm that cwm3 backup works :)
[Defy Android Development] gambitvbi:
I'm unable to play aac audio files with that rom. It's a bug?
[Defy Android Development] Quarx:
Ok need new build. I upload it tomorrow. Now i go to sleep
[Defy Android Development] Blackcorsa:
Quarx i have a Bootloop after install aGPS Fix.

What can i do ?

EDIT: good night ;)
[Defy Android Development] AkkiandDefy:
Ok, just one Question, can you go into settings?
[Defy Android Development] Quarx:
Yes i can.
[Defy Android Development] AkkiandDefy:
I will install CMW3 and try it then :)
[Defy Android Development] chm0dvii:
Same here doing a Nand backup first.
[Defy Android Development] Quarx:
I make too many changes in other files. Need new build... maybe beta5.1...

Wait ;)
[Defy Android Development] fabianowerner:
great news.
[Defy Android Development] ofmb:
Was it from the links I posted?

http://xdaforums.com/showpost.php?p=13538212&postcount=2703

If yes, glad I could help.

Anyway glad it works now :-D
[Defy Android Development] Agge_:
I just want to say you are f*****g amazing Quarx!!! Probably one of the fastest working devs ever on XDA. Your work is appreciated by thousands of people and I wish you all the best with your studies and development.

:)
[Defy Android Development] MisterWB:
With cwm3 version first boot is longer as usual.

After boot I got 2 bad popup regarding closing of com.android.systemui and com.android.settings :(

Due to com.android.systemui ... no more statusbar

Due to com.android.settings ... failure with some settings menu.

I reboot again, same issue. I clean up Dalvik cache, not better :(

I catched a logcat during selecting Settings->Wireless and Networks. Maybe it can help you.

Have a good night.

Last update !

Bad news, restore with cwm3 doesn't work :(((

I got messages:

Checking MD5 sums

Erasing boot before restore...

E:format_volume: no MTD partition "/dev/block/mmcblk1p15"

Error while erasing boot image!

And come back to main menu :o

I was anxious as I did a wipe data/factory reset. Fortunaly I could reinstall classic bootmenu.v0.6.1 via ADB Daemon menu ! Reboot and restoring my nand with old v2.5.1.8 cwm :)
[Defy Android Development] walter79:
Same probleme. (used zip for clockwork mod 2)
[Defy Android Development] andrei10:
so nice :D it works fine for me:X
[Defy Android Development] peetr_:
I have the same problem with statusbar and settings, but aGPS works.

Cool :)