yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] Kali-:
CyanogenMod is a free, community built distribution of Android 2.3.7 (Gingerbread) which greatly extends the capabilities of your phone.

#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

Visit the CHANGELOG for a full list of changes and features!

All source code is available at the CyanogenMod Github!

If you'd like to to contribute to CyanogenMod, checkout our Gerrit instance (howto).

INSTRUCTIONS:

- First time flashing CM 7 to your Desire (or coming from another ROM)?

1. Root your device and install Clockwork Recovery (Unrevoked method is recommended).

2. Do a Nandroid backup!

3. Update your radio! New radio from HTC 2.2+ roms is required (Desire Radio Thread).

4. WIPE (wipe data/factory reset + wipe cache partition)

5. Install the ROM

6. Optionally install the Google Addon

- Upgrading from earlier CM6?

1. Do a Nandroid Backup!

2. Install the ROM (your Google apps will be backed up automatically)

HOW TO REPORT BUGS OR PROBLEMS?

- Was it a hard reboot? Go into recovery and dump the "/proc/last_kmsg" file.

- Was it a soft reboot or a "boot loop"? Run "adb logcat" and get send the full output.

- Pastebin links preferred

- Please use the issue tracker whenever possible!

Please visit the CyanogenMod Wiki for step-by-step installation walkthroughs and tons of other useful information.

This is the latest release candidate so any and all feedback is appreciated!

The preferred method of installation is via ROM Manager, or you can head over to the CM Forums for manual downloads.

Latest version: 7.1.0-Desire - 10/10/2011

Download: CyanogenMod Mirror Network

Also available for download via ROM Manager

Google Addon: 20110828 GB

Download: http://goo-inside.me/google-apps/

CM7 HBOOT r2 by Alpharev | xda thread

Change partition table size 145/5/287 (system/cache/size)

Upgrade instruction:

1) Nandroid backup in recovery.

2) Verify the MD5SUM of the file you downloaded against the one in the table.

3) Flash HBOOT with your phone in fastboot mode (Back+POWER) -> 'fastboot flash hboot bravo_alphaspl-cm7r2.img'

4) 'fastboot reboot-bootloader'

5) 'fastboot erase cache'

6) Boot recovery, wipe everything, advanced restore system & data, install CM7 again (same version or a newer one).

Legacy App2SD:

Simple2Ext (Easy with a GUI)

CM7 Legacy App2SD Addon Script (For Advanced user, Command Line)

Thank you to EVERYONE involved in helping with testing, coding, debugging and documenting! Enjoy!
[Desire Android Development] taaviu:
Extremly fast!
[Desire Android Development] blackcoffee85:
Very fast, great battery life too.

I'm not convinced profiles are working properly but need to look at it more closely.

Great stuff!
[Desire Android Development] 08r3308:
Mms not working for me , optus aus
[Desire Android Development] stepdown:
With the new 5.7.0 version of Google Maps out this may be of interest...

I can`t download anything bigger than 5M from the markets
[Desire Android Development] Large Hadron:
That's why the script /system/etc/init.d/06mountdl is included in the ROM. You shouldn't need to do anything.

I've been running RC1 for a week with a 5MB /cache, no download problems (including Maps 5.7).
[Desire Android Development] Kali-:
better then never

I'm back after a week at sea :)
[Desire Android Development] Kali-:
this is not the right way

"adb logcat" during install

"adb shell df -h" can show your problem
[Desire Android Development] Sleehond:
Downloading the new 7.1-RC1 right now. Have run 7.0 before, was quit ok. Now running Oxygen 2.1.6 but somehow that one has a huge battery drain for me, dont know why. So i'm gonna try the new Cyanogenmod later toyday to see if i'm going back to CM :D
[Desire Android Development] calator40:
I installed this new 7.1 ROM 10 hours ago. Generally speaking it's a very fast ROM. I like it much. But there are some little problems:D

1 - there are no notification for number of SMS received (SMS icon)

2 - camera shutter sound is very loud (setting there are for this not working)

3 - wi-fi signal is more weaker then other ROM in the same conditions

4 - GPS lock up need 5 or 6 minute

If you can do something with this, will be great ;)
[Desire Android Development] blackcoffee85:
I didn't have any trouble installing Maps 5.7.0 this morning
[Desire Android Development] wanyf:
So good news to know CM release 2.3.4 roms :)

So good news to know CM release 2.3.4 roms :)
[Desire Android Development] rmg2:
Maybe "your" problems are because is still an experimental rom this version and not a stable one. Try 7.0.3, this one is the last stable release.

Cheers!
[Desire Android Development] AlxMAX:
Is there any plan to use the GRJ90 (Android 2.3.5) base?
[Desire Android Development] Sleehond:
Are there already ROM's with Android 2.3.5? Or better said, is 2.3.5 out already :D ? Didn't heard about that so far. What is made better in 2.3.5 ?
[Desire Android Development] basher52:
For your long GPS fix, try FasterFix from market(need to be S-OFF). Now it takes me 15 seconds to locate :)
[Desire Android Development] [armitage]:
As far as I heard,the only new thing in 235 will be secure nfc with google wallet.so to me, it's not that important to get it asap.
[Desire Android Development] 3f1f37:
Upgraded from 7.0.3 to 7.1-RC1 last night with no wipe of any partition, 1st thing i noticed is insane battery life charged to 100% last night when to bed at 12H00 woke up at 06H30 battery is at 99% after 6 and a half hours :eek: SICK

Thus far pretty awesome, only other thing i noticed is that in call volume is very low even with the call volume max'd, i am using the XX.XX.XX.23 radio will flash the XX.XX.XX.08 radio when i get home and see what difference it makes.

I havent really tested much as I only have it on for a few hours, should anything come up, i will report back.

Awesome Work Team Cyanogen :D
[Desire Android Development] AlxMAX:
Well, only the minor version is changed and the increment is 1! :D I don't expect major changes in the core of the OS. My point was that when one downloads the source repository, many of the CyanogenMod projects are downloaded from android.git.kernel.org. If Google pushes GRJ99 to its source repositories, then most of the CyanogenMod core projects will be based on GRJ99, unless the maintainer modifies the manifest.xml to instruct repo to download a specific branch.
[Desire Android Development] the.draconian:
Assuming that was with 3g and WiFi?

Be interested in what happens! I am new to CM7 (though i'd try it after using Oxygen since it's release!) and liking it so far but went for the stable build (7.0.3) as im away next week! But would upgrade in a second if it is stable and the battery is that good!

=]
[Desire Android Development] nickislauw:
Got the same high drain mate
[Desire Android Development] salahzantout:
hey, been waiting for this !

thanks man
[Desire Android Development] PAULRYAN52:
hi, i've got a problem, i use handcent but when i receive an sms it vibrates but no led notification even if i set it in the handcent settings
[Desire Android Development] bunnybash:
same story here... going to try another radio soon.
[Desire Android Development] RubenFreitas:
Anyone with mms problems?
[Desire Android Development] andQlimax:
slow USB write speed to the sdcard - solved?

I noticed, reading this, something strange about the slow write speed to the sdcard that occurs with every 2.6.36/37/38 AOSP kernel

before mounting the sdcard as mass storage with adb shell

#cat /proc/sys/vm/dirty_ratio
#20

so the value is 20, but after I mount the sdcard as mass storage with the usb cable

#cat /proc/sys/vm/dirty_ratio
#[B]0[/B]

the value is 0 and the write speed is about 700KB/s!!

Why the dirty_ratio become 0??

anyway if I put again the default value with adb (while the sdcard ist still mounted)

#echo 20 > /proc/sys/vm/dirty_ratio

now the transfer speed is about 4MB/s on my sdcard class 4!!!

Why that value is being reset to 0? Its a bug in the original linux kernel?

Found this commit

why that?
[Desire Android Development] yeahman45:
sucks... no 720p playback/recording.. tons of force close especially in market... low wifi reception signal... wth... no good
[Desire Android Development] worstenbrood:
Same thing here, changing the value gives me awesome speeds again :o And the responsiveness of the ui just stays the same ...

This might be the "bug" everyone was looking for ??
[Desire Android Development] PhobosUK:
Anyone else lost all internal memory, on the 7.1rc I had 80 MB free same apps with full wipebi have 20mb now.

Anyone the same or should I redo everything?
[Desire Android Development] andQlimax:
Thanks..nice to hear that..

I think that commit doens't make sense..
[Desire Android Development] salahzantout:
hey i have this radio 5.17.05.08

and the latest is 5.17.05.23

do i have to update it to install the rom or is it ok ?
[Desire Android Development] worstenbrood:
Setting the dirty ratio to like 50, gives me speeds of 7-8 mb/s (class 4, write) without having ui issues :o

Edit: Did some testing, setting it to 100 gives me speeds of 4-5 mb, while setting to 50 gives me the best speeds (7-8)
[Desire Android Development] Heisenberg:
I don't have any of those problems.. Running smooth and beautiful as usual :)

Swyped from my CM7.1 Desire using XDA Premium App
[Desire Android Development] elcom:
In the lockscreen settings you need to choose what calendars appear in the lockscreen.

After that it works perfectly.
[Desire Android Development] salahzantout:
market keeps forceclosing

i tried flashing the rom twice with googleapps

i have this radio 5.17.05.08

and the latest is 5.17.05.23

is that ok

wut should i do ??

edit: ok i found a solution, u change language to english united states
[Desire Android Development] simpson1991:
installing with google apps makes that the markt will crash every time, and without google apps i cant download anything from the markt.

Sorry but this rom is not a stable version its still to buggy
[Desire Android Development] EDV11:
I inatalles it today and its working wonderfuly

Enviado desde mi GT-P1000 usando Tapatalk
[Desire Android Development] andQlimax:
The market its something external to cm.. The market 3.x fc with all roms with some people.. But there are lots of solutions to solve it.. Like clean market data.. Or set the language to english uk or flash the old market..

Sent from my HTC Desire
[Desire Android Development] Heisenberg:
Absolutely true.. this rom is running perfectly for me in all aspects.

Swyped from my CM7.1 Desire using XDA Premium App
[Desire Android Development] GeneratedUserName:
Try this with the gapps market still installed... I tried all kinds of different versions of the market and even the "english" fix to no avail so give this a whirl.

http://androidcommunity.com/android-market-version-3-2-0-from-ice-cream-sandwich-leaks-20111010/

1. Download the file (Phonesky.apk) to your SD card.

2. In Root Explorer, find the file you just downloaded and copy it.

3. Move into /system/app and hit the R/W button to mount – then paste the file.

4. Find Vending.apk and rename it to something like Vending.apk1.

5. Long press on Phonesky.apk and rename it to Vending.apk.
[Desire Android Development] gilleshander:
That's what I did, but no display at all in the lockscreen even after selecting all my google calendars and the maximum period:mad:

Does it depend on other lock screen options such as unlocking type, battery charge display, time display, music control etc. ?
[Desire Android Development] Z0l:
Do you have an alarm set? It only works, if you have no alarm.
[Desire Android Development] 360nitrous:
so now its been found how to solve the slow transfer speed, is this just a temp way to fix it and when you unplug its back to the slow speeds? and how do u actually do it?

if your unclear about what i mean, i'm on about setting the dirty radio to 20 or 50 from the default 0 :)
[Desire Android Development] andQlimax:
actually its a temp fix..

the behaviour is this:

-dirty ratio is 20

-mount the sdcard as masss storage, and the dirty ratio become 0

-unmount the sdcard and the dirty radio is again 20

so the temp hack is set the dirty ratio to 20 again with adb when the sdcard is mounted...but its not a solution..its just an hack..someone should probably revert this commit
[Desire Android Development] aure2009:
Hi. Anyone knows if this rom supports a2sd - SD card partitioning - so I can get more space for my apps?
[Desire Android Development] salahzantout:
hey ive flashed googleapps but no gapps are being installed at all, any suggestions ??

i cant see maps, theres only market

moreover there arent any sms notifications on messages icon...
[Desire Android Development] negative13:
Battery drain, low wifi and mobile signal reception are my problems too. Any fix on these?

Will a new radio work?
[Desire Android Development] Mitsuoka123:
I'm having problem with Market Force Crash (3.1.3 and 3.2.0)
[Desire Android Development] salahzantout:
yes it does app2sd. its stated in the thread... u run s2ext
[Desire Android Development] mrdey:
Try this:

1. Go to Settings > Language & Keyboard > Select language and select English (United Kingdom)

2. Clear market app data

It worked for me...

Pozdrav:)
[Desire Android Development] inamak:
Change keyboard used for password unlock?

Has anyone figured out how to change the keyboard used for password unlock? I use Swype as my keyboard, but for some reason CM7.1 uses a different keyboard for password entry instead of Swype - very annoying!

I really need to be able to switch it to Swype as i have to have a 9 character password on my phone so makes it much easier to unlock - any help would be great!
[Desire Android Development] aure2009:
Thank you.
[Desire Android Development] Jurrvoss:
I just flashed the _5.17.05.08 radio (had the 5.17.05.23 first but had battery drain issues)

Ill report my findings later on the day!
[Desire Android Development] sheik_yerbouti:
Thank you! This seems to have fixed the problem. :D
[Desire Android Development] Heisenberg:
Have you run the google account setup from settings??

Swyped from my CM7.1 Desire using XDA Premium App
[Desire Android Development] Jurrvoss:
I can confirm I have better battery life with 5.17.05.08

5% in 4 hours while using whatsapp, sms texting , wordfeud , twitter and email

also using wifi and synch
[Desire Android Development] gilleshander:
I use Darktremor 2.7.5.2 (could not get latest beta work with CM7.1) and its works perfect, giving me more than 100MB free internal memory (with Dalvik cache to SD) and a LOT of app installed.

---------- Post added at 05:11 PM ---------- Previous post was at 05:04 PM ----------

YES! That's it . Thanks

I confirm that it's works if no alarm is set!

However that's a pity...as I have always an alarm set (wake up:D) but would like to see also my next meeting

---------- Post added at 05:16 PM ---------- Previous post was at 05:11 PM ----------

Right! Not a CM issue. Fixed it by uninstalling and re-installing LP, as I guess LP is asking for Gmail database access permission at installation time.
[Desire Android Development] salahzantout:
Hey tima

I just flashed the googleapps from zip file after flashing the rom... and went through set up at startup of rom.. which I put my gmail nd stuff...

I can't find maps or wutever google apps there should be, there's only market

And thanku for replying
[Desire Android Development] Z0l:
Install them from the market, gapps only contains what you can't install from there.
[Desire Android Development] salahzantout:
Google maps isn't at market, nit even in zipfile I downloaded, where am I supposed to get it ?

Thank u aswell for ur reply
[Desire Android Development] k3lcior:
Google Maps are available in Market.. if you dont, then use MarketEnabler.
[Desire Android Development] worstenbrood:
I created a small app which actually keep the dirty ratio on 50, even if you start UMS. You have to start it manually after a reboot, but then it runs as a service.

Handy till someone reverts the commit, i would do it if i didnt remove my ubuntu vm with cyanogenmod source and toolchain on it, got more important things to do atm :s
[Desire Android Development] andQlimax:
actually i did revert the commit and built the new "vold" file (/system/bin/vold)

if i push the file on system it work, the write speed its great

but im getting crazy creating a flashable zip to share..:o

i always get installation aborted error 6

the updater-script is like this

ui_print("Starting Installation..............");
show_progress(0.500000, 0);
mount("MTD", "system", "/system");
show_progress(0.500000, 40);
ui_print("Extracting package.................");
package_extract_dir("system", "/system");
set_perm(0, 2000, 0755 "/system/bin/vold");
show_progress(0.100000, 0);
unmount("/system");
ui_print("Done. Reboot!......................");

but doesn't work
[Desire Android Development] worstenbrood:
send me the zip, ill take a look at it if you want.

Edit: seems like your didnt save the script in unix format (using notepad++ fe).
[Desire Android Development] JackMN:
Hi there, just flashed 7.1 and it seems everything's workin' fine. The only issue is that the blue led doesn't show anymore! e.g. when I got an sms the blue led turned on but now only the red and green one can appear, also after modifying the value as "factory default" on cm settings.

In addition, there isn't the possibility to choose the blue led on the led settings.

Does anyone have this problem?

Bye!
[Desire Android Development] andQlimax:
OMG..I got it..

Attached the flashable zip that revert this commit

it give great write speed now..about 4-6 MB/s on my sdcard class 4 :)
[Desire Android Development] worstenbrood:
Thanks man, now i can just create a init.d script to increase the dirty_ratio to 50 sinc eit gives me the best speeds.
[Desire Android Development] Nightwing646:
Can someone help? Facebook force close at startup.
[Desire Android Development] princess of hell:
I want to change the value to compile the rom. Should I change this?

VolumeManager.cpp

VolumeManager::VolumeManager() {
mDebug = false;
mVolumes = new VolumeCollection();
mActiveContainers = new AsecIdCollection();
mBroadcaster = NULL;
mUmsSharingCount = 0;
mSavedDirtyRatio = -1;
// set dirty ratio to 0 when UMS is active
mUmsDirtyRatio = 0; [COLOR="SeaGreen"]Change to 20[/COLOR]

thanks
[Desire Android Development] andQlimax:
Yes u can change that value to 20... or as I did, u can remove at all every line added in that commit, in both files.. Or just flash my zip above :)

Sent from my HTC Desire
[Desire Android Development] princess of hell:
thanks for your help andQlimax. ;)
[Desire Android Development] dehaani:
I have an issue where the screen goes off and won't activate for a few (~5) seconds after a call is terminated. If I terminate the call, it seems ok but if the other person terminates whilst proximity sensor has deactivated the screen then I have to wait a while before waking the screen with the power button; i.e. the trackpad doesn't activate the screen in this instance.

Other than that; I love this rom! Thanks!
[Desire Android Development] :
I have the same issue - black screen after finishing a call. The buttons lit up, but the screen stays black no matter what. The issue was present in recent nightlies as well.

Running CM 7.1.0 with ManU latest kernel and Go Dialer EX on a HTC Desire AMOLED.
[Desire Android Development] dnilsson:
I'm trying to install CM 7.1, but I get errors in CWM.

See image,

HOW do I solve this????
[Desire Android Development] stankyou:
Did you use ROM Manager to flash the rom? Try to do it manually, vol down + power. Choose recovery from there.

Sent from HTC Desire via XDA App
[Desire Android Development] dnilsson:
I'm trying to install CM7 from Clockworkmod with vol down and power.

And I get those errors.

When I try a wipe I get errors too...
[Desire Android Development] stankyou:
Okay. You may need to flash a different recovery. But I am not certain about this. Did you use Unrevoked or Revolutionary to root your device?

Sent from HTC Desire via XDA App
[Desire Android Development] andQlimax:
ur desire probably its a PVT4 one..then CWM 2.5.0.7 doesn't work

u need amon_ra 2.0.1 or any CWM 3.x and up (or the latest 5.0.2.0)

to flash an other recovery, if u are s-off u can fastboot flash it

if u are s-on, run unrevoked again but choice the recovery img before run it

search for instructions about how to flash a new recovery if u need it
[Desire Android Development] dnilsson:
I'm in s-on, wich recovery img chould I use, and where do I find it?
[Desire Android Development] ssauger:
its right, PVT-4 doesn't work with old recovery from Unrevoked. Here you can download the latest CWM for any devivce, just di this for the desire and choose that *.img @ the alpharev s-off procedure.
[Desire Android Development] dnilsson:
When I use that link I only get a logo, no files to download..
[Desire Android Development] ssauger:
Down for the moment, your right. When you do the alpharev method recovery also will updated to a higher version works on PVT-4.
[Desire Android Development] dnilsson:
Got it to work now, thanks!
[Desire Android Development] AlxMAX:
It's unreal for me! You mean eliminating those green lines added by Mike Lockwood might improve the speed?
[Desire Android Development] gilleshander:
I confirm. After flashing fix, speed up to 8 MB/s through USB. Thanks!!!
[Desire Android Development] andQlimax:
Exactly..I dont see why that commit is there..

I guess that commit is the main cause of slow write speed in about every AOSP rom based on cm source
[Desire Android Development] AlxMAX:
I have taken the long path of reverting the commit myself, recompiling and putting the file manually. I can confirm the speed increased dramatically. Before, I was getting around 1 Mb/s, now I get around 7 MB/s for a class 6 SD card. It is not bad, isn't it? ;) What was in that guy's mind when he implemented that dirty ratio thingy?

Edit: After reading this page, I can understand why the performance was degrading with /proc/sys/vm/dirty_ratio set to 0.
[Desire Android Development] ahsm:
Hi guys,

I just upgraded to CM 7.1 and even when I put the phone in vibrate mode (the little phone with lines around it) it does not vibrate when I get a text message. I can't find the setting for this, can anyone help?

Thanks
[Desire Android Development] c4p3fi3rr:
Open Messages application -> Push "Menu" button -> Scroll Down and touch "Notifications settings" -> Check if vibration is activated.
[Desire Android Development] ahsm:
Respect! :D
[Desire Android Development] markuz85:
It's working well for me but it keeps disconnecting my bluetooth headset sometimes... And sometimes I have to remove the pairing and pair with the headset again to reconnect.
[Desire Android Development] :
I installed the 7.1 build yesterday, everything is fine so far, but one huge problem occured:

i use "headset droid" to control my music app via an iphone headset. this worked excellent on stock roms, 2.3 roms, it worked on every rom but the latest 7.1. cyanogenmod...

why did headsetdroid stop working? in it's debug mode it does not even recognize the headset (which, by the way, is not damaged).

i tried a clean reinstall of headsetdroid, no effect. poweramp does not recognize my headset either...

What could be the cause? is there some fix?
[Desire Android Development] vedko:
Bluetooth toggle in the lockscreen (CM7.1)

I really love the new lockscreen (although calendar widget is not working for me).

Is there a way to toggle bluetooth (on & off) on the lockscreen, pretty much the same as sound?
[Desire Android Development] simpson1991:
HELP

The flashplayer wont work, i cant find it in the android markt, to install the flashplayer.apk dont help, any solution?