yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] marinierb:
Light Sensor?

Maybe it's just me, but it seems with the latest nightly that the light sensor reports lower levels than before. Mine seem to read 10 under lighting conditions that used to read higher. The result is my screen is dimmer under certain circumstances.
[Desire Android Development] Latty:
Ditto, I've noticed the same as well.
[Desire Android Development] daedelus82:
Have done it.

/system 125MB

/cache 5MB

/data 307MB

Will test and release patch in 24 hours.

edit: just though i should mention this will be for S-OFF devices only.

I will create a new thread once I release the patch.

edit2: i just moved all my apps and dalvik-cache back to /data and still have 130MB free. woot

Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 208112 0 208112 0% /dev
tmpfs 208112 0 208112 0% /mnt/asec
/dev/block/mtdblock3 128000 123932 4068 97% /system
/dev/block/mtdblock5 315008 184048 130960 58% /data
/dev/block/mtdblock4 5120 776 4344 15% /cache
/dev/block/mmcblk0p2 505636 2307 477224 0% /sd-ext
/dev/block/vold/179:1
7431564 5413644 2017920 73% /mnt/sdcard
/dev/block/vold/179:1
7431564 5413644 2017920 73% /mnt/secure/asec
/dev/block/dm-0 3124 1504 1620 48% /mnt/asec/com.google.android.stardroid-1
[Desire Android Development] wiggles87:
This is GREAT news! Well done mate!
[Desire Android Development] marinierb:
Absolutely amazing!

You better get youself a "donate" button! If this works, I'll be buying you a beer!
[Desire Android Development] ~David:
GIGGITY! :D
[Desire Android Development] crdnl:
Can you post details on how you fixed your corrupted mtd0?
[Desire Android Development] bemymonkey:
That's a good thing, IMO. Mine always maxes out too early, and this would provide more granular control outdoors (I'd like the sensor to recognize a difference between dark daylight, i.e. cloudy, and bright daylight, i.e. sunlight).

If it's too dark for you now, just crank up the levels in CM Settings :)

Can't wait... awesome work :D
[Desire Android Development] terryhau:
Latest nightly. Still having the issue where it takes 2-3 presses to wake the phone. And the screen not responding.
[Desire Android Development] Kali-:
daedelus82, for wide use is better the nexus one partition table (or like it) for system/cache rest for data and remove "dalvik.vm.dexopt-data-only=1" from build.prop

this is from an N1 with cm6

/dev/block/mtdblock3 145.0M 117.8M 27.2M 81% /system
/dev/block/mtdblock5 196.3M 175.0M 21.3M 89% /data
/dev/block/mtdblock4 95.0M 48.7M 46.3M 51% /cache

less free space then your actual partition but 100MB more then HTC one
[Desire Android Development] Dactylion:
what does dalvik.vm.dexopt-data-only=1 mean?
[Desire Android Development] Kali-:
move /system dalvik-cache to /data (dafault is /cache) because default /cache is not enough
[Desire Android Development] daedelus82:
I will create a flashable clockwork recovery with those partition sizes

All that will be needed is to modify CM6 Kernel command line to use same sizes, and change build.prop, then phone will work 100% like Nexus.
[Desire Android Development] bemymonkey:
o.O

Meaning Nexus One ROMs hardly need porting?
[Desire Android Development] daedelus82:
No, CM6 will still need porting to Bravo, there are differences. But the two devices will be closer. Kali seems to think those partition sizes are best so that's what I'll do.
[Desire Android Development] bemymonkey:
Sounds good to me. :)
[Desire Android Development] Kali-:
not better, only safe :)

cyanogenmod is built on top of aosp and n1 is a reference for aosp
[Desire Android Development] daedelus82:
Hi Kali, have done this.

It's as simple as:

1. Fastboot flash modified clockwork recovery, with those partition sizes set

2. Wipe data/factory reset

3. Install modified cm6 where I have modified boot.img and build.prop

Only problem is I will have to modify boot.img and build.prop each time, unless we get this integrated into git, or create an updater script but I'm out of time probably wouldn't happen until after weekend.
[Desire Android Development] daedelus82:
See http://xdaforums.com/showthread.php?p=8581589

for recovery & ROM modified to use partition sizes indicated by Kali, also removed "dalvik.vm.dexopt-data-only=1" from build.prop so davlik is on cache.

See http://xdaforums.com/showthread.php?t=806321

for modified version of firerat's mtd patch which should work with most recoveries/roms.

Kali, PM me if you want info on how this is all done, and maybe how we could integrate it into CM.
[Desire Android Development] bemymonkey:
Thanks :D

You rock dude...
[Desire Android Development] Kali-:
cool news

http://review.cyanogenmod.com/#dashboard,1000199

FM support :p

credit go to MIUI guys :)
[Desire Android Development] mon@diac:
wooww...That's great...Thanks Cyanogen Team and MIUI devs.
[Desire Android Development] Kali-:
credit go to MIUI guys :)
[Desire Android Development] Kali-:
i dont want to add a specific version for that, can confuse less experienced user

yes, we can made a script to rebuild update.zip

nice work!!
[Desire Android Development] 77flem:
that could be really easy then to flash nightly and keep this partionning and meaby you can do stable 6.0.2 version with this applied ;-)
[Desire Android Development] daedelus82:
That is awesome, will this be merged into upcoming nightlies?
[Desire Android Development] Kali-:
code is under review some thing need to be fixed but FM is working

http://twitter.com/#!/cyanogen/status/27159167924

and i can confirm on desire :)
[Desire Android Development] mr_dinosaur:
Hey daedelus82 and Kali-

Sorry if you guys answered this already. Firstly, I am sooooooo happy daedelus82's modification of Firerat's patch and now my device enjoys a lot of space for more apps. However, I used the easy method where I flashed the nexified clockworkmod recovery and nexified cm build 132.

What happens when I want to flash to test build 133? Do I continue at [DEV][S-OFF] Custom MTD Partitions (resize data, system, and cache) thread starting at step 5 to 12 but skipping step 7 since I already have patched clockworkmod recovery flashed?
[Desire Android Development] daedelus82:
All you should need to do is reboot into recovery, flash new nightly, then apply bravo-boot-v1.5.3-CustomMTD.zip, ensuring that your mtdpartmap.txt file contains "mtd 145 95" without the quotes. can do this via adb if you mount /sdcard first: adb shell echo "mtd 145 95" > /sdcard/mtdpartmap.txt
[Desire Android Development] mr_dinosaur:
Thank you,

I was sure that was all I needed to do but was sure about the mtdpartmap.txt. So, it must contain "mtd 145 95"... got it.

I suspect I would screw it all up if I had used different values right?

edit: This method works but I still have to remove/comment out : dalvik.vm.dexopt-data-only=1 because I remember reading somewhere that Kali- said to remove this. So I commented it out by pulling build.prop via adb, modifying it then pushing it back to /system.

This works and looks like this is how I'll be flashing CM Nightlies until they have a new and easier method.
[Desire Android Development] daedelus82:
The ROM just wouldn't boot.. Recovery would still have been fine.
[Desire Android Development] marinierb:
You need to use the same values you used when you flashed bravo-recovery-v1.5.3-CustomMTD.zip
[Desire Android Development] mr_dinosaur:
Yup. Thanks for the helps guys.
[Desire Android Development] daedelus82:
No, he flashed my pre-modified recovery & ROM, the nexified one.. It is preconfigured to mtd 145 95
[Desire Android Development] daedelus82:
Does anybody else on nightly 132 have issues with camera? Any app that uses camera hangs on my phone.

Here is logcat at time when I open camera app. http://pastebin.com/9c2YdEHj
[Desire Android Development] mr_dinosaur:
Man, I didn't get to try build 132's camera because I was playing around with setting new partition sizes and when I was done, build 133 came out so I immediately flashed it and I have no problems from the couple of pictures I took and a short video recording. Plus, the Barcode Scanner works with no problems. That's the only third party app that uses the camera I have installed though.

Maybe you just need to update to build 133? So far it's as stable as 132 (minus the camera problems of course)
[Desire Android Development] hensk:
I`m come back to Cyan,

what is new now with nightly

FM radio?

is camera have some progres!
[Desire Android Development] Narfx:
Now I don't need a2sd (thanks again for risking your Desire for a good cause, daedalus82 :D) I moved from defrost to cyanogen nightlies. So far so good.

To the point:

Any reason not to use 145 5 and bind-mount /cache to /data/cache at boot, as explained in the other thread? (besides "145 95 it's closer to nexus"). I can't see any other reason not to do it; it seems a clean solution and more flexible than fixing the space available for both.

If anyone sees any drawback in doing this, please tell me :).
[Desire Android Development] Kali-:
safe for most
[Desire Android Development] Latty:
I'll pose this question again, because it seems to have been lost in the thread. With the latest nightly builds (well, technically I'm using DeFroST, but I noticed somebody else also with this problem post in this thread earlier), there's an issue with the custom brightness settings.

It seems that the ambient light sensor is much less sensitive to lower amounts of ambient light now. At medium to low real life brightness, the sensor constantly only reports 10 lux. I'm using the custom brightness settings to save battery life, but in the lastest builds, it's constantly running at the lowest brightness settings even in medium light.

Has anybody else with custom brightness settings noticed this recently? Is there a way to address this problem?

Thanks!
[Desire Android Development] sookster54:
So far camera works fine, FM radio should be in tonight or tomorrow, I'm excited too.

THX MIUI!
[Desire Android Development] marinierb:
Yup. Having this issue since at least nightly 131. It seems to take a lot more light to make it go above 10 lux.
[Desire Android Development] JonesWTF:
Now updated to 133 and I still can't use the OJ to take pictures or start recording. Had this for a while now (see my previous comments).

I love CM roms and truly appreciate all the hard work, which is why I'll stick it out for now.

Would just like to know if this has an eta to be fixed or any idea of what it might be that causes it?
[Desire Android Development] sookster54:
Oh you're on a Desire using CM6-133? I'm on 130 and I can take pictures and record with it, the radio I'm using is in my sig.
[Desire Android Development] frocee:
of cos you can take picture or record video, i think he's referring to the button locks when focus locks. OJ locks are not that bad, around less than half the time, personally i tap the screen "button" as an alternative.

edit: I'm on 130, 5.11.05.14 by the way.
[Desire Android Development] Kali-:
FM support added on #134

MrBadgerMilk

i have got it working after changing focus settings to off, but now work with all other focuse settings

also try to reset camera settings
[Desire Android Development] daedelus82:
Have made a patch.

As previously advertised, my nexified-recovery-clockwork-2.5.0.7-bravo.img is an easy to flash clockwork recovery with the partitions pre-configured to 145MB system, 197MB data, and 95MB cache.

I have now made a patch that will work for any CM, and patches boot to the same partition sizes, and removes "dalvik.vm.dexopt-data-only=1" from build.prop so dalvik is placed on /cache.

All you have to do is:

Fastboot flash nexified-recovery-clockwork-2.5.0.7-bravo.img if you haven't already

Reboot into recovery

Wipe data/factory reset (you can skip this if partitions have previously been formatted at the correct size and you are simply upgrading)

Install CM6 ROM/NIGHTLY

Apply nexified-boot-patch-v1.0.0-bravo.zip

Reboot

Then whenever you want to try a new nightly simply reboot into recovery, install it, then apply nexified-boot-patch-v1.0.0-bravo.zip
[Desire Android Development] terryhau:
I'm on 134. Still the same problem.

With auto focus, when its locked (green square) nothing works except the onscreen shutter button. Can't take with OJ and can't go to gallery.

Tried reset settings and 5.09.05.30_2 radio. Still not working.
[Desire Android Development] sookster54:
Yeah I'm referring to using the OJ, it works so maybe the radio version is the reason, that's why I mentioned it.
[Desire Android Development] JonesWTF:
Yep, I originally thought it was a radio problem but it doesn't solve it when I change. I'm now back on 5.11.05.14.

I guess using the screen isn't too much of a hassle because I like my settings, it'd just be nice to use the OJ and it worked every time. I know it'll be back working one day, so I'll just leave it at that :) At the end of the day these are nightly roms, so little bugs like this are to be expected.
[Desire Android Development] Rohaq:
I seem to remember someone mentioning long ago that USB debugging is important for some ROMs; is this the case for CM6? I want to use DoubleTwist for syncing music and such, but it won't detect my phone with USB debugging enabled.
[Desire Android Development] daedelus82:
Seems the Camera in my phone doesn't work, period. Restored RUU and it still wasn't working. Perhaps when the mainboard was replaced it wasn't connected properly, or it was damaged in the process. May have to return it again next, but I'll buy a replacement first, I can't go a week without it! lol
[Desire Android Development] sjgore:
Just successfully taken half a dozen pictures with the OJ when the square is green. Never tried it before, I normally use the screen button, but I was curious to know whether I had the bug. I'm using the 5.11.05.14 radio and build 135. Guess it could have been fixed in the last build? I could also go to the gallery.
[Desire Android Development] :
any change to add fm-radio in older cm versions?

only fmradio.apk needed?

thx
[Desire Android Development] daedelus82:
Lots of code changes to make it work, you will have to update to latest nightly.
[Desire Android Development] :
thx

in this case i'm wait to cm-6.1 :)
[Desire Android Development] D-e-v-i-l:
Hey this sounds realy great i will i try it very soon
[Desire Android Development] davdavo:
Does FM Radio work with this nightly? It doesn't work on OD or Defrost :p
[Desire Android Development] Narfx:
Yep, it works.
[Desire Android Development] marinos35:
I can also confirm that it works with nightly 134.

When you open it, it enables bluetooth and it needs any aux cable plugged in for antenna. Then you click the on/off button to open it, and the other is to enable the build-in speaker.
[Desire Android Development] jonmall1441:
Let us know how it goes i might take the plunge and try this :)
[Desire Android Development] hensk:
are we talking about MIUI radio implementation in this ROM or new Cyan radio:rolleyes:
[Desire Android Development] Kali-:
FM Radio come from MIUI :)
[Desire Android Development] Dactylion:
does it work with other kernels for example defrost?

will thi partition layout be included in future alpharev hboots?
[Desire Android Development] sookster54:
Just flashed 135, FM works a charm. However now I'm getting a bit of that camera problems others were mentioning, trackball doesn't always bring up the green square, it does sometimes but when it doesn't I restart the camera app for it to work again. A head scratcher.
[Desire Android Development] D-e-v-i-l:
The Installation was very quick an easy now i have installed all my apps and have 99MB Free Internal Space..
[Desire Android Development] nbedford:
thanks @daedelus82

thanks @Kali-

thanks @MIUI

CM6 just keeps getting better and better :)
[Desire Android Development] fridlack:
Have some questions:

- If i flash the original CW recovery i get my partitions back to original sizes?

- If i make a nandroid of my nighly, then flash the moded recovery, then wipe all, then restore nandroid then flash the patch, will work?
[Desire Android Development] Kali-:
for user which didnt want to wipe and use daedelus82 method

make a nandroid backup before start

follow instruction

after reboot into recovery

skip Wipe data/factory reset

skip Install CM6 ROM/NIGHTLY

restore nandroid backup

Apply nexified-boot-patch-v1.0.0-bravo.zip

Reboot

# adb shell

for file in $(ls /cache/dalvik-cache/); do rm /data/dalvik-cache/$file; done;

reboot

this prune unneded file from /data/dalvik-cache ~45MB (only needed the first time)
[Desire Android Development] X-dark:
Thank you for your great work. I've installed back all my applications, without forcing move to SD and I have 100MB still left. It's really great !
[Desire Android Development] daedelus82:
Should work fine with other kernels.

I have no idea what alpharev are doing or when it will be released, first I heard about it was yesterday but they gave no timeframe.

Yes.. My thread does mention how to uninstall/remove, at the bottom. http://xdaforums.com/showthread.php?t=806491

Yes it is possible to do this without losing data, i have detailed this in other areas, but see kali's post a few above mine. thanks kali
[Desire Android Development] shyamk:
Does this need a S-OFF HBOOT to work ?

Shyam
[Desire Android Development] frocee:
google apps doesn't seem to work in the latest 135. calendar sync, contact sync, google search, etc. Any idea what did i miss?
[Desire Android Development] Rudolfje:
Yes, S-OFF is required.
[Desire Android Development] etique57:
Just wanted to confirm that light sensor issue.
[Desire Android Development] Kali-:
working fine here

try to reinstall 1008
[Desire Android Development] zw4mp:
New nightly up :P
[Desire Android Development] jhihguan:
yeah!!

wait for someone to test...
[Desire Android Development] Kollegah:
Where can I download the new Builds? In the Link in the first Post I only see only a few Builds but they are more than a week old
[Desire Android Development] ourfear:
yeah.. thx for info

but where's change log?
[Desire Android Development] DennisG1:
always: no changelog or anything else for nighltys.
[Desire Android Development] 77flem:
So i need to use this to odex ? :

http://kali.jabb.im/odexer-signed.zip

reboot in recovery

flash odexer-signed.zip

adb shell

cd /system/xbin

./odex.sh

(Wait till it's finish)

wipe cache

reboot
[Desire Android Development] willy792003:
can't wait for the RC version ;)
[Desire Android Development] willy792003:
can I use the odexer to odex other rom?
[Desire Android Development] radiosilence:
Yeah, hope it has 720p video and the goodies we're used to with the other ROMs :)
[Desire Android Development] lpachuong:
Does it has OC?UV? :D
[Desire Android Development] neitin:
For those of you who want more info here it is.

a) there is no 720p recording

b) no battery drain

c) no problems whatsoever with wifi

d) Market is fast

e) I have some concerns on brightness though auto brightness works but sometimes its very low.

f) fast and stable

g) Cyanogenmod settings are awesome.

h) No OC/UV atm

Hope this helps
[Desire Android Development] Bartkevin:
well the new Nightly got my phone stuck @ the Bootscreen, only shows HTC :)

am fixing it now and give it another try though!

will let you guys know when i got it running
[Desire Android Development] Kali-:
"odexing" is not required, but i recommend it, our phone have a strange partition table with an huge 250MB and unwritable system and small 50MB cache (N1 have a better partition table 150MB/90MB)

i have removed old odexer-signed.zip and replaced with dex_preoter-signed.zip which run automatically (no need to run any command)

i recommend to flash in order:

1) cm6

2) gapps

3) dex_preoter

Sorry no OC/UV in this release
[Desire Android Development] Ireas:
The market is strange. Downloadings is fast, but the searching and opening an app is very slow.

Oh and I cant find the Br0tips anymore ô_o
[Desire Android Development] oldsoulsong:
Br0tips are now built in to the normal tips widget
[Desire Android Development] :
hi

not sure but does googl, facebook and twitter synchronisation work?
[Desire Android Development] Sareas:
when i try to power off it reboots instead. :P.
[Desire Android Development] nbedford:
I don't know if this is a bug, or by design as I have not used ADWLauncher before, but in screen preferences I have Hide StatusBar unticked, but my statusbar keeps randomly dissapearing? If i rotate to landscape and then back to portrait it comes back again?

Am i missing some settings or is this a bug?

ps. using the lastest nightly 140710
[Desire Android Development] oldsoulsong:
If you swipe the screen up it disappears, and if you swipe it up again it come backs. Its a feature.
[Desire Android Development] Ireas:
I only see the default tips o.o
[Desire Android Development] StuMcBill:
Ok, I run CM6 Nightly and I have saw that ieftm has released a patched HBOOT that makes the partition tables the same as the Nexus One.

If I was to flash the patched HBOOT, how would I go about re-installing CM6 and getting up and running again?

I assume I wouldn't need A2SD if I was to use this?
[Desire Android Development] fenderf4i:
I would also like to know this!
[Desire Android Development] killawatts:
Nandroid backup -> fastboot flash hboot -> fastboot flash recovery (unpatched)-> reboot to recovery -> format sys/cache/data -> restore nandroid

This is what I'd assume... patched hboot means you don't need to patch the recovery/boot correct?

Afterward you'd just disable a2sd via command line (a2sd remove)

( a2sd nocache ) if you have your dalvik cache running from sd.
[Desire Android Development] Kali-:
remove "dalvik.vm.dexopt-data-only=1" from /system/build.prop

reboot

adb shell

for file in $(ls /cache/dalvik-cache/); do rm /data/dalvik-cache/$file; done;

i'm adding some check to the install script for automatically detect if "dalvik.vm.dexopt-data-only=1" is needed or not
[Desire Android Development] Twau:
I still getting data transfered to /data/dalvik-cache/ after using "dalvik.vm.dexopt-data-only=1".

Will apps you install on the /data/apps mtd partition use /data/dalvik-cache/ by default?

Since all my apps in /system/apps uses /cache/dalvik-cache/ correctly it seems.
[Desire Android Development] fenderf4i:
Instructions for N1 Alpharev Partition:

1.Nandroid Backup

2.Flash Alpharev N1 mod hboot

3.Make sure you have a normal unpatched recovery installed on the phone

4.Restore Nandroid

5.Wipe Cache (not data)

6.Remove "dalvik.vm.dexopt-data-only=1" from /system/build.prop if it's there

7.After system boot, adb shell:

for file in $(ls /cache/dalvik-cache/); do rm /data/dalvik-cache/$file; done;
[Desire Android Development] Kali-:
REMOVE dalvik.vm.dexopt-data-only=1 from /system/build.prop

@fenderf4i

4) Restore Nandroid

5) wipe cache (not data)

7) after system boot

adb shell

for file in $(ls /cache/dalvik-cache/); do rm /data/dalvik-cache/$file; done;
[Desire Android Development] vrmp:
Yeah that worked for me. Only for step 4 I did a format on system, data and cache just to make sure. I skipped step 6 and 7, because my nandroid already had those settings.

Edit:

or what kali- says ;)
[Desire Android Development] Twau:
I meant in my previous post that I had removed it from build.prop

Sent from my HTC Desire
[Desire Android Development] fenderf4i:
Thank you for your patience Kali. I've updated my previous post to reflect your amendments.
[Desire Android Development] Kali-:
ok now i have understood

yes, /data/app use /data/dalvik-cache

dalvik.vm.dexopt-data-only=1 disable /cache/dalvik-cache (which is where cm drop cache for /system/app and /system/framework by default)
[Desire Android Development] fenderf4i:
One more thing, will I need to disable APP2SD or anything like that, or just leave it as is?
[Desire Android Development] serverless:
Followed your instructions guys, everything worked flawlessly, THANK YOU!
[Desire Android Development] frocee:
Hmmm. what do you mean by 'reinstall 1008'?

Sorry im still very new, alot of things i dunno.
[Desire Android Development] 77flem:
Kali-, no nightly again today.
[Desire Android Development] serverless:
Kali- wants you try to install again gapps released on 08/10. You can find the package at this link :

http://mirror.teamdouche.net/get/various/gapps-hdpi-20101008-signed.zip