yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] a user:
[MENTION=4891658]rjand[/MENTION]:

no, i do not remove my sdcard (usualy). remounting is not possible after this happens. if i do this it claims to be already mounted but actually 90% of the content is missing (fuse is totally broken). only a reboot fixes this.

[MENTION=3382363]Mustaavalkosta[/MENTION]:

no, it is a transcend class 10 card. i had this issue with my old sandisc card on on some early versions of your rom long time ago (while never had this on any other rom before). but this seemed to got fixed. now since a few weeks this issue apeared again, though since a few months i am using a transced class 10 card.
[Desire HD Android Development] Mustaavalkosta:
Hopefully. I've been trying to iron out the remaining minor quirks without much luck this far though. I'll do SR1 based on 10.1.0 once I get these fixed or hit the wall with them. :)

Ah okay. One thing that seems to have at least mitigated the problem a little is to eject the card properly every time when used with (Windows) PC. I haven't had a single sudden unmount after I started doing this pedantically. I don't want to call this as a fix though because it might be just RNG being on the bright side again since there doesn't seem to be any sure way of reproducing this and logs haven't been much help.
[Desire HD Android Development] linkit87:
The last nightly has the last test kernel?
[Desire HD Android Development] Mustaavalkosta:
Nope, I haven't merged wip branch to release branch yet.
[Desire HD Android Development] gitardan17:
OK battery aficionados, when I turned WiFi off around 5:30pm and left phone alone till 8:15am, battery went from 100-89%. Turned WiFi on & played a few words with friends words. Boom went from 89% to 60s and straight from there to here, and it now reads 43%.

Does WiFi need that much juice? And if not, what can I do short of buying a new battery to fix?
[Desire HD Android Development] TiamaT82:
thanks, reporting later :)
[Desire HD Android Development] rjand:
Does formatting your sdcard help?

Having Wi-Fi on doesn't use any extra battery by itself, it's the apps that are using the Wi-Fi connection that are draining your battery. Check what apps you have running. Mustaavalkosta provided a link on the previous page for a good place to start checking.
[Desire HD Android Development] tandeejay:
Your test is not indicative of WiFi usage, as you indicated you left the phone alone when WiFi was off but were using apps when WiFi was on.

I have noticed that I have a greater battery drain with WiFi on. With it on, even when not in range of a WiFi hotspot my battery drain is about 22mA, but with it off, I'm using about 5 - 7 mA. (This is with the screen off of course, 500-700mA with the screen on :(

Note that in my test, mobile network data was always on, so when the WiFi was out of range of any hotspots, any background app would have always had the same level of network access over mobile data. Bu I definitely see an improvement in battery life by turning off WiFi when not in use.

Of course, I get the greatest improvement in battery life by not turning on the screen, but it is rather difficult to do much useful stuff without the screen on :)
[Desire HD Android Development] a user:
well, the problem isn't happing too often so i won't be really able to test this reliable. but even if formating the sdcard would somehow resolve this, it would remain a bug of the rom. it seems vold service or fuse is crashing which shouldn't happen not matter what files on the sdcard might be broken.

even worse: it cannot remount the sdcard properly. it does remount it automatically but only very few files are visible. after a reboot everything is fine again. it looks for like a memory leak or similar of the vold or fuse service which crashes after some time passed. though because not everybody seems to be affected by this it must be triggered only under special circumstances which i do not know which they might be.

i must admit that i neither looked much into logs etc. i just asked to know if anybody else observed something like this. people rebooting their phone every 2 days due to flashing won't probably observe this anyway (probably).
[Desire HD Android Development] asticot7:
MMS KO

HI

I can tell when it happens since I don't send MMS often, but I know it worked with this rom

I can't send MMS, it looks weird when I clic send nothing happens, the mms diseapears, I go out the app and come back and the mms is still there ready to be send.

I can't find anymore where I can set the maximal size of the MMS (300k, 600k etc)

any idea ?

thanks
[Desire HD Android Development] girakshay:
Transparent Statusbar and Launcher

[MENTION=3382363]Mustaavalkosta[/MENTION] I was able to make status bat 50% transparent and app drawer of Trebuchet launcher also transparent using guides.

Launcher : http://xdaforums.com/showthread.php?t=2061028&highlight=transparent+drawer

Status Bar : http://xdaforums.com/showpost.php?p=40278450&postcount=2

I updated android.policy.jar,SystemUI.apk and Trebuchet.apk in the rom zip file and reflashed rom along with gapps and it works perfect.
[Desire HD Android Development] rjand:
When Wi-Fi is on and out of range it will continually scan for a wireless network to connect to, if you know it is out of range disable Wi-Fi. Same goes for network operator (cell coverage), if you are out of range it will continually scan for a network to connect to, disable it as well when out of network range. Either continually scanning will drain your battery just like having them in constant use.

I don't reboot often now, not testing other ROM's lately and this ROM I usually only upgrade every 7 to 10 days as it is so stable. Is it possible that a file system error is causing vold or fuse to crash? Do you have another sdcard to test with? My sdcard is a SanDisk card, 32GB, class 10, the previous 8GB card was whatever make came with the phone. I haven't had any sdcard mount errors - used to occasionally get new SIM card detected on Android 4.1, but those errors have gone now too.

How old is your battery? Is it possible your battery isn't able to supply enough power to your phone with whatever devices (eg. Wi-Fi, bluetooth, etc) you require enabled and your sdcard?

I remember before you where getting FC's that didn't seem to affect anybody else due to a theme or something you where using, could this be related?

And now for the usual guff, when did you last full wipe?
[Desire HD Android Development] asticot7:
seems to be ok after cleaning SMS/MMS data (but still can't find how to set MMS size)

so dunno where was the issue

:)
[Desire HD Android Development] a user:
i explained already, that this issue existed two month back (or something like that) while using a different sd card (sandisk class 4 or 6) and now again with a transcend class 10.

i very doubt it has anything to do with filesystem errors because:

1. it is a very rare event

2. it happend on two different cards, with formating in between

3. it happend during screen was off, no usage, no music playing or anything

they issue you mentioned with while i used a theme has nothing to do with this. that was failing to explicitly unmount the sdcard due to the currently in use theme was moved to sdcard. this obviously must fail ;) this crashed the gui system as it couldn't access the images anymore.

for a long time hadn't this "your sd card has been removed unexpectetly"-issue and now during the last 3 weeks 4 times with 3 different nightlies. now i'm running for a few days without any issue.
[Desire HD Android Development] chrischiang:
anyone having problem for "turn on usb storage" it wont turn on?
[Desire HD Android Development] a user:
are you using a theme?
[Desire HD Android Development] eryunt:
Installed RC5 of 8-June 2013.

Wonderful and smooth ROM but the camera gets bad quality photos and when in portrait, screen becomes green after the shot.

Is camera improved in newer versions ?

Thanks :)
[Desire HD Android Development] Steam.:
the screen has always became green after a shot, but it doesn't affect the end photo.Also you can't compare the stock camera to a sense ROM one, the sense one will always be better in terms of quality and options.
[Desire HD Android Development] rjand:
Sorry, forgot your previous post.
[Desire HD Android Development] Mustaavalkosta:
New test kernel: http://downloads.codefi.re/mustaavalkosta/tests/kernel-20130708-2150.zip

I picked some LK3.4 fuse commits to bring it up to date in parts where it's possible without breaking anything. Also picked up some recent zcache/zram/zsmalloc commits from faux123's tuna kernel and enabled zcache with zsmalloc. Zcache used to cause crazy log spam and lag but I didn't notice that anymore. Feedback is welcome as always.

CONFIG_ZCACHE:

Zcache doubles RAM efficiency while providing a significant
performance boosts on many workloads. Zcache uses
compression and an in-kernel implementation of transcendent
memory to store clean page cache pages and swap in RAM,
providing a noticeable reduction in disk I/O.

CONFIG_ZSMALLOC:

zsmalloc is a slab-based memory allocator designed to store
compressed RAM pages. zsmalloc uses virtual memory mapping
in order to reduce fragmentation. However, this results in a
non-standard allocator interface where a handle, not a pointer, is
returned by an alloc(). This handle must be mapped in order to
access the allocated space.
[Desire HD Android Development] Z_0r10n1S:
Tried new test kernel with rc5. It seems very good. I enabled s2w (synaptics) that works well. I let it settle now, then I'll try with my usual oc. Many thanks!
[Desire HD Android Development] Conrail16:
Test kernel is working well so far on the latest nightly (with Altmel screen). It does seem to be slightly faster, though that may be the placebo effect at work. The rom is still extremely fast either way :)
[Desire HD Android Development] bestfil:
It's one of cm10.1 mistakes. It can't manage separate access points, which are commonly used by GSM providers.
[Desire HD Android Development] Mustaavalkosta:
Yet another test kernel: http://downloads.codefi.re/mustaavalkosta/tests/kernel-20130709-1031.zip

Thanks to intervigilium's (CM dev) commit for m7 kernel that I cherry-picked, it looks like bluetooth bluesleep driver works now correctly (phone really enters deep sleep).

I'll try to work on BT voice dial problem later today. If I can get it to work I think it's time for SR1 but that's pretty big IF.

Edit: Actually I forgot that this needs some ROM side BT changes also so no hurray yet. :|
[Desire HD Android Development] eryunt:
All my respect for Your work !

THANK YOU ! :good:
[Desire HD Android Development] bestfil:
MMS settings

It's becoming quite unhandy so I will try to ask You for help Mustaavalkosta:

I've got to APN's. One for internet, one for mms.

I can't merge them because there are a few lines which have to be different (like 2nd line called "APN").

In my case in APN for internet I have to have 2nd line with the "internet" string. In mms APN I have to have 2nd line with string: "mms".

In other roms, like sense roms, the ROM chooses proper APN with "internet" or "mms" for strict applications. Like for sms/mms app the ROM will choose APN with "mms" (in its description at 2nd line) and for web browser it will choose with "internet" at 2nd line.

I don't know why but with cm/aokp/aosp roms it fails.

I have to change active APN manually, both can't be used as active.

Is there any chance to force the ROM to seek needed APN automatically or do You know proper string of the 2nd line called "APN" in APN's properties which can be used instead of "internet" and istead of "mms? Maybe it should be something like "*". I tried it but the ROM doesn't understand the string "*" [star]...
[Desire HD Android Development] antond57:
cm-pizzabean-ace builds?

What are the differences between the "cm-10-1-unofficial-ace" and "cm-pizzabean-ace" nightly builds?

I noticed no differences so far.

The cm-pizzabean-ace zip file contains 1 file more.
[Desire HD Android Development] ivicakc:
@Mustaavalkosta: is it possible to put status bar settings like on CFX? and system buttons, home, menu, back, search..light is turn off after 5 seconds..CFX have the option to extend the time..can you do that? just asking :)
[Desire HD Android Development] Mustaavalkosta:
Re: [ROM][UNOFFICIAL] CyanogenMod 10.1 Nightlies

Yes, they are the same but I copied them from jewel repo after doing a comparison between a couple of other HTC devices. That's why the credit for jewel. No disrespect to you.

PB builds are started manually by me whenever I want to test something new and they have no guarantee of working. In addition, they have few additional tweaks (patched hosts file, Cerberus included, libcore is patched to use icu4c from AOSP master, and probably something that I forgot). I've no plans to "officially" release it at the moment.

Yes, it's possible but then I'd have to make this a little less pure CM. I actually ported button backlight timeout option for PB builds because I can't stand that arbitrary 5 seconds chosen by a CM dev rmcc. AOSP doesn't support button backlight at all at the moment.

The option is pretty straight forward and shares plenty of display timeout code thus it shouldn't cause any problems. The question is what do you guys want in general: pure CM or button bl timeout?

Edit: After thinking this a tad more, I don't think I'll be adding button bl stuff to this one. The principle from the beginning has been to keep it simple and keep it pure. In addition, PB builds already have this feature so it's somewhat duplicated to add it to this one too. I don't mean to be a jerk and I hope you understand my point.
[Desire HD Android Development] ivicakc:
if you asking me, i would like to see button timeout and status bar settings from cfx...but I'm not here to decide, it's your rom and you decide :)
[Desire HD Android Development] qazsxdcfv:
Re: [ROM][UNOFFICIAL] CyanogenMod 10.1 Nightlies

Hahaha , but pizzabean is great right ? Cerberus included ?

Sent from my hTC Desire HD powered CyanogenMod 10.1 by Mustaavalkosta™
[Desire HD Android Development] Raza Qadri:
Re: [ROM][UNOFFICIAL] CyanogenMod 10.1 Nightlies

My phone get stuck after I flash kernel on cm10.1 nightlies. For example Phone boots but when I at start reading sms it get stuck with a black screen and I have to pull my battery out & it happens like this whenever I start an application.

Am I doing something wrong here----->>>

Flash cm nightlies

Flash gapps

Play with ROM

Wipe dalvik

Flash kernel

Sent while flowing through space

Sent while flowing through space

---------- Post added at 03:43 PM ---------- Previous post was at 03:39 PM ----------

I think we all want a pure cm nightlies

Sent while flowing through space
[Desire HD Android Development] Mustaavalkosta:
Well, that depends totally on the point of view. Yes, it does have some advantages but then again, it's and it'll be more prone to have more bugs also (ie. MX Player is not currently working due icu4c patches). And because it has closed source prebuilts in it, I plan to keep it as my personal test bench. :)

https://play.google.com/store/apps/details?id=com.lsdroid.cerberus

Edit: If you intend to use PB builds, you are on your own with bugs. Don't muddle this thread with PB bug reports.

I can't really say. What kernel are you using? There are currently no benefits of flashing KangBang stable on this ROM as the kernels are practically identical.
[Desire HD Android Development] Raza Qadri:
Re: [ROM][UNOFFICIAL] CyanogenMod 10.1 Nightlies

I don't flash latest nightlies I flash latest nightlie on every weekends so I flash kangbang updates during the week. My phone can run performance kernel but with both kernel my phone get stucks in apps with black screen

Sent while flowing through space
[Desire HD Android Development] a user:
i know. that was not my intension. there is no reason to give credits for something like that.

no, but what's odd is that they have writeing optimised mount option for the read only partition /system :D

beside of this i would actually even enable atime (remove noatime) for system, because it won't have any effect while system is mounted readonly. but you can see what files have been touched when some app remounted it writeable. ;)
[Desire HD Android Development] Mustaavalkosta:
Re: [ROM][UNOFFICIAL] CyanogenMod 10.1 Nightlies

Yeah, I know. I'm just trying to keep this inline with CM's decisions. I don't know the reasoning behind jewel's and couple of others' fstab but I think current values don't hurt either. :)
[Desire HD Android Development] a user:
of course. i just found it funny when i saw it. that's all why i mentioned it.

the poor man's amusement... you know ;)

---------- Post added at 01:33 PM ---------- Previous post was at 01:20 PM ----------

while i was looking into the now working syslog to find out why my cron isn't executing my jobs anymore, i saw something interesting:

powerHAL fails due to permissions if i remember right to set the sampling rate of the ondemand governor. the permissions for the sampling_rate file though are correct. i assume powerHAL is not running as root? maybe we could put them into a group.

but it could also be that powerHAL was searching for it in the wrong sysfs directory. have to look again for it.
[Desire HD Android Development] a user:
well, cron was working fine. i had a mistake in the initial_root_crontab file. so i have an update. i also slightly improved my mount settings (addit commit=20 for cache partition) . i think that was all but i could have forgotton another change.

http://www.wuala.com/stefan3141/public/a_user_cm10_1_tweaks_v1.2.zip/

just flash it over but in case you edited the settings file to use a different crontab file you should fix my mistake in your version too.

the problem was the call to the script 99dbcleanup.sh which actually doesn't exists. it must be simply 99dbcleanup (without .sh).
[Desire HD Android Development] espmartin:
Downloaded and flashed v1.2 - noticed the status msg in recovery as the script runs that it says, "v1.1" :p
[Desire HD Android Development] a user:
i just forgot to update that message.
[Desire HD Android Development] Uli321:
Hi,

after hours of investigating this strange problem I realized, that my USB drivers on my Win7 Notebook are (no longer) compatible with my HTC Desire HD (with CM10.1). Since I didn't managed to install the original google SDK ones, I read something about "PDANET" and this software did it for me, it provides USB drivers for my smartphone.

Now - at least - I can connect the phone to MyPhoneExplorer via USB, however BT-connection is not possible yet. Think that there is some mess with the bluetooth device connection profiles on my notebook, have to investigate a bit more, I'm afraid.

Uli
[Desire HD Android Development] a user:
well, now after around 17h of use of rom version 20th i have a strange issue. it started with an extremly good impression:

you remember me reporting high battery drain on previous 2 version? i got the tip from synergy to wipe cache/data of the google framework. well at first it seemd to work, but actually the drain came back pretty fast. so i flashed the kernel v2.1 just to try it out. and guess what? all fine again.

now i flashed the new rom version of the 20th. and battery drain was even better than ever befor (previously it was good but had >100mA spikes from time to time, but nothing to worry about). with the new version of today everything was smooth at extrem low battery consumption.

well so it seemed for a while. now slowly i observed that the system got somewhat laggy. i do not mean animations. they are still smooth as usually. but starting apps/activities become extremly slow, however not all apps were affected at the same amount. my dolphin browser meanwhile needs 40s to actually be usefull and i get 2 times the question to kill it. also other apps became very slow at starting and laggy. as i said, this came slowly over time.

could it be that the new delayed fsync of the kernel could be the cause?

now something else... again about mount options:

when i first wanted to make my remounting script i intended to use the relatime option isntead of noatime. the reason is that relatime has practically the same nearly no impact on the sdd card life time and performance as the noitem option while at least updateing the access timestamp if it is older than the modified one (for many things quite usefull).

but trying to mount with that gave me an unkown option error from "mount". now i discovered that actually the ext4 subsystem knows this option. only mount seems to fail using it.

actually relatime is the default in this kernel instead of what on linux it usualy is (atime).

i would suggest to keep relatime (simply not adding noatime in the fstab.spade) for /system /data /devlog (here it could be quite important for some use cases) and /cache (apps can easily check if a cached item has been modified since they were last inspected). actually there is no reason for noatime if relatime is available. practically same performance, same flash memory life time but better functionality.

i would remount with myself with a script, but as i said the mount command fails here.

i wonder if the noatime option with the new delayed fsync feature of the kernel could cause the issues i mentioned at the beginning. something like cahces getting full due to delayed fsync while not being able to detect modification due to the noatime option. well, i admit that i am quessing here.

---------- Post added at 11:50 PM ---------- Previous post was at 11:30 PM ----------

Regarding my slowness and laggy issue. I used the nuke button in the recent apps view to kill everything and it returned back to normal. Maybe it is my activated zram? Or low memory killer not really working?

Will continue to investigate this.
[Desire HD Android Development] Mustaavalkosta:
No clue about fsync. I'll take another look at those mount options tomorrow if I have time to spare. I haven't noticed anything out of the usual with no extra scripts.

On another topic for all:

I couldn't find this already done by anyone so I put together cwm touch 6.0.2.7 for ace with clockwork web builder. Incremental backups seem kind of nice and may ease the pain of everyday flashing a bit. Use it at your own discretion etc. the usual stuff. Here's a dl: http://downloads.codefi.re/mustaavalkosta/cwm-unofficial-ace

I will be using it myself from now on. Checking md5 sums down from ~1 minute to 5 seconds with incrementals. :cool:

Edit: (Yes, I know. It's not really a benchmark as it only checks recovery.img and boot.img but haven't had a chance to check second backup with slightly changed data yet.)
[Desire HD Android Development] espmartin:
Re: [ROM][UNOFFICIAL] CyanogenMod 10.1 Nightlies

Thanks! How do we flash this?
[Desire HD Android Development] qazsxdcfv:
Re: [ROM][UNOFFICIAL] CyanogenMod 10.1 Nightlies

Fast boot , if its on flushable zip you can flash it on recovery .. But i think i will stay on 4ext

Sent from my hTC Desire HD powered CyanogenMod 10.1 by Mustaavalkosta™
[Desire HD Android Development] Raza Qadri:
Reboots

my phone get stucks randomly but whenever i try to pull last kmsg it say remote object doesn't exists?
[Desire HD Android Development] paulb_nl:
For separate apns for internet and MMS try to add singlepdp to the ro.telephony.ril.v3 line in build.prop and reboot. It tries to connect to 2 apns simultaneously but I think our ril doesn't support it. With singlepdp it should switch apns instead.

You will need to set the APN type correctly. Usually internet apn type is default,supl and MMS APN type is mms.