yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] FireBlast:
Re: [ROM][UNOFFICIAL] CyanogenMod 10.1 Nightlies / M-Series

http://xdaforums.com/showpost.php?p=37123149&postcount=533
[Desire HD Android Development] Mustaavalkosta:
Ok, sad to hear. About those fs modules I can only offer this: https://github.com/KangBangKreation...ble/arch/arm/configs/kangbang_defconfig#L2656
[Desire HD Android Development] a user:
ok, things got better.

madmaxx advised me to reformate the sdcard within its recovery... guess what? sdcard with ext4 partition is mounting Oo

i really do not understand why formated under linux it does not work, niehter madmaxx does.

anyhow, first step works fine: rom mounts the sdcard with ext4. all directories on it are working fine, regarding being usable (read/write) by apps.

BUT, the root directory of the sdcard is only writeable by root. that's an issue actually. i have an idea for a dirty workaround but i want to solve it correctly and compatible for all.
[Desire HD Android Development] a user:
hey, i think i found the issue. i think it is a "bug" in the patchset we used in the test build.

i saw that the final mount, the fuse mount does it mount with a sepial user and group id, both 1023. but there is no group/user with this id on our system. the sdcard_rw group wich we want has (i think) id 1015 - not sure which one it was, msut be verified.

look at this part in volume.cpp:

int Volume::doFuseMount(char *src, char *dst) {	664
if (access(STORAGE_DAEMON_PATH, X_OK)) {	665
SLOGE("Can't invoke storage daemon.\n");	666
return -1;	667
}	668
char *args[6];	669
pid_t fusePid;	670
671
args[0] = (char*) "storage";	672
args[1] = src;	673
args[2] = dst;	674
args[3] = (char*) "1023";	675
args[4] = (char*) "1023";	676
args[5] = NULL;	677
678
fusePid=fork();	679
680
if (fusePid == 0) {	681
SLOGW("Invoking storage daemon (%s) -> (%s)", src, dst);	682
execv(STORAGE_DAEMON_PATH, args);	683
exit(0);

now there , arg 3 and 4 are hardcoded set to 1023 and these are the parameters for mounting used. these fuse mount is sued to expose the mounted sdcard to the users - the apps. but it does so with wrong group and user set.

so, dear Mustaavalkosta, could cook me another test build chaning these to numbers for args[3] and args[4] to the id of the groupd "sdcard_rw" ? could you look up the id?

EDIT: i think args[3] should be set to the id 0 (root), because i think we have only a group sdcard_rw and no user with that id, or?
[Desire HD Android Development] Mustaavalkosta:
Re: [ROM][UNOFFICIAL] CyanogenMod 10.1 Nightlies / M-Series

Yeah, sure. I'll drop you a PM once it's available for download. I can probably find that uid and gid from somewhere.
[Desire HD Android Development] a user:
AWSOME!

i will test it tomorrow after work... can't wait :D

now i gonna take a good night lunch and go to bed.

at this point i wan't to tell you guys how nice madmaxx (from 4ext recovery) was to me. we had a little sit in talking about this matter. and this even though he is currently quite occupied. many thanks to him. i will continue testing this sdcard ext4 feature for his recovery, even if me do not manage to get it properly work here on this rom this might be usefull in the future. and a recovery should support this of course.

good night from the annoying a user :P
[Desire HD Android Development] richm052569:
:confused:
[Desire HD Android Development] jeffhui:
Re: [ROM][UNOFFICIAL] CyanogenMod 10.1 Nightlies / M-Series

Just want to report that 0129 is quite battery draining :rolleyes:
[Desire HD Android Development] Roberto_Lim:
Nice ROM (the M1) :good:

Also, the voltage tweaks I created for PipelinerArd's JJB-JOP40 (Unofficial CM 10.1) are compatible with Mustaavalkosta's CM 10.1 Nightlies and M1 ROM's.
[Desire HD Android Development] a user:
good news people...

we got it working: sdcard formated as ext4

test rom works with it (though i needed to fix something additionally) and a special 4ext recovery works with it either ;)

BIG THANKS to Mustaavalkosta and madmaxx82 (dev of 4ext recovery)

remaining issue: for now the sdcard cannot be exposed via usb to the pc. but i am on it.
[Desire HD Android Development] a user:
new problem: the media provider app - the one that scands your sdcard etc. to keep track of media files and manages a database for it - crashes always.

effect is: no ringtones or music on musc player apps relaying only on this provider. (poweramp doesn't btw.).

the reason is actually bad coding of that app :D

the media providers has a database for each sdcard it has seen and named it by the sdcards volume id (label). the problem is, instead of using a highlevel method to get that id it uses a low level method specific to fat filesystems. because it fails getting an id the media provider app itself throws an exception which leads to a crash.

this should be fixable. i assume we have the full source code here so i could code a fix for that. but i must admit i got a bit tired and it already used a lot of time which i actually do not have at the moment. so i am not sure if it'S worth all the trouble. gonna think about it.

p.s. but it really p... me off that even cyanogenmod still does not support anythign else but vfat sdcards natively.

edit: just for the notes: my main motivation for ext4 on sdcard is not the speed, it is the possibility to store larger files than 4GB (and failsafe via journaling).
[Desire HD Android Development] damac:
Just wanted to say a big Thank You for your always very informative posts. Educative, informative and interesting. The thanks button just doesn't cut it :)

Keep it up sir!
[Desire HD Android Development] a user:
very many thanks damac for these words!

proves it worth to also give some explenations instead of only telling "works or not".
[Desire HD Android Development] espmartin:
I also have to say (and Thank Button simply wont cover it) thank you "a user"! Super job at detailing issues and fixes! You're the person I'd want to sit next to in a college class lol!
[Desire HD Android Development] Roberto_Lim:
Re: [ROM][UNOFFICIAL] CyanogenMod 10.1 Nightlies / M-Series

The only bugs I have noticed with the M series release is that using the default camera sometimes displays a green image preview (but no effect on the actual image) and awake time is not recorded in battery history.

The camera issue is easy to fix, any third party camera app will do.

Bluetooth works fine with my earpiece.

I can't overclock as much with this ROM as I can with a Sense based ROM... But that is not really an issue, the ROM at default is faster than a Sense ROM'S overclocked 200MHz more.

Not deal breakers.
[Desire HD Android Development] WordsworthESP:
Re: [ROM][UNOFFICIAL] CyanogenMod 10.1 Nightlies / M-Series

I doubt that, considering Sense ROMs typically disable flash automatically when they get below 30%.

Sent from my Inspire™ 4G w/CFX 4.2
[Desire HD Android Development] Roberto_Lim:
I have to agree. It's a battery issue. Spiking battery levels on the battery history and camera flash shutdown issues can all be resolved with a US$7 battery from Amazon.
[Desire HD Android Development] a user:
while i had no issues with 25th and 27th versions (27th normal and the test one you made) i got again some issues starting with the 30th version.

i already posted about the freez while screen was off (wasn't able to turn it on again) after flashing the 30th version. not with the 31 version i flashed last night, shortly after booting i turned the screen off and 2 seconds later i see the boot animation.

can't tell if it is only a coincidence but it seems since the 30th version something got more instable.

i also had for a short time the 29th on the phone and had no issue but ca't say anything more about it. though the 27th and the 25th version i had running for 2 days and used it a lot and it seemed rock stable.

but as i said, maybe only a coincidence though i heared something changed in the kernel?
[Desire HD Android Development] pecora:
I had reboot and i've found the sim unlock screen after turn screen on with 22th, 26th. But in my case i set minimum frequency to 149, when i set to default i've no reboot.
[Desire HD Android Development] rjand:
I've been using the 0128 version without problems (although I usually have to disable and enable bluetooth a couple of times to get it to pair properly). If the later versions have problems I'll just hold on a few more days yet. Previously tried 0125 and don't remember any issues on it - only upgraded to see if Chronus was any better. Wish I still had the CM10 lockscreen, clock / weather worked better, and the lock screen was faster.
[Desire HD Android Development] Mustaavalkosta:
I'd say coincidence. Apart from CM changes there hasn't been any major changes except TS profiles and kernel got upgraded from kernel.org. These kernel related freezes & reboots happen to me so rarely that I'd say you'd have to have at least a week of use per nightly before making any remotely reliable comparisons between them on this particular issue. :/
[Desire HD Android Development] a user:
yeah, just what i thought. but i wanted to tell about it just in case you see a reason for it.

p.s. the new feature in 31th build allowing a seperate background image for the lockscreen is nice ;)
[Desire HD Android Development] Mustaavalkosta:
Call Statistics

Tomorrow's build will have this little bigger than usual bug fix / feature tweak addition: https://plus.google.com/+CyanogenMod/posts/41vvE569zr2. (Thanks Rdlgrmpf for the tip)
[Desire HD Android Development] Rdlgrmpf:
+251265

That's probably the highest number of +1 I have ever seen..
[Desire HD Android Development] ivicakc:
I just wanted to ask you about that :D

and..when will be M2 release?
[Desire HD Android Development] Mustaavalkosta:
Re: [ROM][UNOFFICIAL] CyanogenMod 10.1 Nightlies / M-Series

M2 will be released when CM releases it. If I'd have to guess, I'd say during the first half of next month but don't take that as a fact. :)
[Desire HD Android Development] nicopilami:
Hi

It seems that on my device, poweramp is not compatible with the lockscreen of Android 4.2, when poweramp plays music, the lockscreen flashes and I'm unable to use the music widget.

Am I the only one who has this issue ? Do you have a workaround ?

Thanks

Nico
[Desire HD Android Development] espmartin:
Re: [ROM][UNOFFICIAL] CyanogenMod 10.1 Nightlies / M-Series

Mine works (see screenshot). I had to disable ICS lock screen support (deselect), and got it going :)

Sent from my Inspire 4G
[Desire HD Android Development] nicopilami:
Cool !!

thank you for the trick !
[Desire HD Android Development] qazsxdcfv:
Re: [ROM][UNOFFICIAL] CyanogenMod 10.1 Nightlies / M-Series

Maann , on here its now february 1 , so i think M2 will released soon .. But idk I'm gonna try the February 1 nightly

Sent from my hTC Desire HD powered CyanogenMod 10.1 by Mustaavalkosta™
[Desire HD Android Development] espmartin:
I just now read (I know, I know lol) the first posts instructions for an update (dirty flash):

The CM backuptool script...is that included in the "cm-10.1-xxxxxxxx-UNOFFICIAL-ace.zip" files, and runs at flash? Or is it a separate cool script that I need to run?
[Desire HD Android Development] a user:
it is included in every cm 10.1 rom from here.

if you once have flashed gapps you do not need to flash it again as long as:

you do not wipe /system yourself

flashing the rom formates /system after the backup was performed and resoteres the backup afterwards. though you won't get notified about that. it just happens ;)

---------- Post added at 12:25 AM ---------- Previous post was at 12:23 AM ----------

regarding poweramp and lockscreen:

i think there was a misunderstanding here if i am correct.

actually, last time i tried poweramp and the music default music widget on the locscreen i had issue too.

BUT the poweramp's own lockscreen and widget works fine. the picture posted by an user before is the poweramps OWN lockscreen.
[Desire HD Android Development] espmartin:
Nice! Thanks for the info! I will stop formatting /system as part of my dirty flashing then. And yes, I guess I misunderstood the lockscreen issue. A User is 100% correct. That is Poweramp's built-in lockscreen function.

PS: slightly off topic, but do you know if jellyTime & codefireX builds will also carry that CM script function regarding /system?
[Desire HD Android Development] Mustaavalkosta:
Backuptool.sh checks for ro.cm.version and version number which should be 10.1 at the moment. If that matches, then it does the backups, if not it just flashes and you need to apply gapps afterwards yourself. I know for sure it doesn't work in cfX (at least for the moment, I may look into making it work tomorrow) because we have removed ro.cm.version but I don't know about JT. You can check its build.prop for confirmation. It should be something like: ro.cm.version=10.1<anything else>. Modify the beginning and script goes dead unless it's modified too (like I did for my test bench rom). :P
[Desire HD Android Development] espmartin:
Very awesome Mustaavalkosta! Here's the build.prop for my JT ROM from my nandroid backups:

ro.cm.version=10.1-20130127-UNOFFICIAL-ace

If I add that line into my codefirex backup's build.prop file, restore it - and once the new version from synergy is out, theoretically that would mean a dirty flash would run backuptool.sh - and retain /system ?
[Desire HD Android Development] Mustaavalkosta:
Yeah, it checks the build.prop that is currently on the /system before doing anything. If ro.cm.version in phone's current build.prop matches regexp used in zip's backuptool.sh, then it's all good. Changing anything with cfX may be broken soon if I fix the backuptool.sh. Then everything should be as they are right now. I suggest doing backups before trying to "update" flash JT or cfX for the first time, I've only confirmations about it working with these nightlies and my test bench. :)
[Desire HD Android Development] espmartin:
Will do! Looking forward to your backuptool.sh work :)

Man, I HATE to bug you...maybe I'll just PM you about this....but when I full wipe/install your ROM (and JellyTime & PipelinerArd's cm builds) along with the latest gapps, the system uses my google account as the backup account on the phone. Codefirex however, uses a "debug-only private cache", which disables the phone from automatically downloading my apps from the Play store, as well as not restoring my previous wallpaper and wifi settings.

Here's what I mean:

So (bringing it back on topic to your ROM lol), where is this handled in settings that allows the backup account to sync with your build?

PS: This is a work-around for codefirex to enable Google as the backup account. However, once you run the commands in a Terminal app, it's too late to sync:

AT TERMINAL EMULATOR PROMPT:

su [enter]
bmgr transport com.google.android.backup/.BackupTransportService [enter]

This enables the backup account.
[Desire HD Android Development] ixinho:
hi guys, i just installed this, been using 7.2 for a long time.

everything works nice and smooth , love it : )

could someone tell me how to clear widgets from lockscreen "slide" ? on the left side is empty screen, on the right is camera, and above unlock is clock, any chance to remove those 3 ?
[Desire HD Android Development] Mustaavalkosta:
Honestly, I don't know. This has been on the to-do list for a while now (Pnoire keeps reminding me frequently). :) I try to remember it the next time I'm looking for something to do.
[Desire HD Android Development] ixinho:
thank you for that one : )

though i cant remove clock, it says clock hack root does not apply to your device.. hm ?

and is there any way to lock the launcher? i usually move or remove one of the dock icons, so it'd be nice if i can lock it or i must dl some other launcher?
[Desire HD Android Development] Mustaavalkosta:
I guess that means it only applies to more pure AOSP or even only for factory images. I've no personal experience on this particular app so I can't say for sure.

I don't think Trebuchet supports locking homescreen. Try Apex or Nova launcher?
[Desire HD Android Development] jeffhui:
Re: [ROM][UNOFFICIAL] CyanogenMod 10.1 Nightlies / M-Series

Do I have to reflash a user's tweak after updating? Thanks!
[Desire HD Android Development] ixinho:
and does anyone experience small lag or delay i dont know what exactly it is..as soon as i exit app drawer and press menu button it takes two presses to show that little menu with 3 options *(wallpaper, manage apps and system settings)* ...anyone else?
[Desire HD Android Development] Mustaavalkosta:
Re: [ROM][UNOFFICIAL] CyanogenMod 10.1 Nightlies / M-Series

Shouldn't be necessary as long as you don't format /data.
[Desire HD Android Development] a user:
correct.

good night ;)
[Desire HD Android Development] ai6908:
Which launcher are you using?
[Desire HD Android Development] Mustaavalkosta:
Re: [ROM][UNOFFICIAL] CyanogenMod 10.1 Nightlies / M-Series

It won't open menu before the transition animation is over. This behavior occurs both on tilapia with Nova and ace with Trebuchet. Only way I have found to get rid of it is to speed up or remove the transition animation.
[Desire HD Android Development] jeffhui:
Re: [ROM][UNOFFICIAL] CyanogenMod 10.1 Nightlies / M-Series

Is it also possible to have an undo-tweak script of yours? It will be good for those wanna test the differences:p
[Desire HD Android Development] a user:
good idea.

well, a simple way for now is to remove everything in /data/local

usually you shouldn't have anything else in there except my stuff. so you won't break anything else.

but if you are unsure i'll cooke an undo flashable zip which will remove only the files related to my tweaks.

no i really go to bed :D
[Desire HD Android Development] ixinho:
yeah i thought that the animation might be the problem, but i cant find the way to turn off the app drawer animation, basically i would like to switch off all animations and to have app drawer and everything else open instantly, hint? sry for so much questions, this is quite different from what i was using past 2 years (cm 7) :cowboy:
[Desire HD Android Development] espmartin:
Re: [ROM][UNOFFICIAL] CyanogenMod 10.1 Nightlies / M-Series

Two random reboots after dirty flash. Looks like I'm going to full wipe next.

Sent from my Desire HD
[Desire HD Android Development] qazsxdcfv:
Re: [ROM][UNOFFICIAL] CyanogenMod 10.1 Nightlies / M-Series

Hahaha , so dont do a dirty flash .. I'm always full weeping but , it makes me mad because i dont want to setting it twice .. , yeah thats life in android .. Haha

Sent from my hTC Desire HD powered CyanogenMod 10.1 by Mustaavalkosta™
[Desire HD Android Development] Mustaavalkosta:
Sadly, it looks like Trebuchet doesn't even obey system's animation settings thus leaving you with the only option to change to launcher that does or has it own animation settings (I guess both Nova and Apex do) if you want to make this behavior disappear.
[Desire HD Android Development] Mustaavalkosta:
Chronus -> cLock

Starting from tomorrow Chronus will be called cLock due to some trademark troll.

CM G+ posts:

https://plus.google.com/+CyanogenMod/posts/7Ln7ehDyNDN

https://plus.google.com/+CyanogenMod/posts/UhTtrzAWf1s
[Desire HD Android Development] damac:
Anybody notice BBQ log is broken today? It's showing too little! I've tried contacting them. CM Gerrit seems to be working fine...
[Desire HD Android Development] a user:
it is not broken. it shows changes only since the last nightly.

and the last nightly was last night. look at the left of the site where it shows the link to the last nightly. the encoded date (within the nightly name) is the ffebruary the first.

edit: seems bbq builds a nightly once a month only ;)
[Desire HD Android Development] damac:
Builds were always old there, but I keep looking at the changelog very often and today most of the entries have disappeared! The (unfiltered!) newest changes shown are: 1 change on 31st, 2 changes on 27th, 2 on 26th... and so on. On CM Gerrit there are several changes for each day.

Edit...

Ignore me. I was being stupid. Was looking at changelog for CM10 instead of CM10.1 :o: :silly:
[Desire HD Android Development] ixinho:
Huh, is there any way to change that i answer the call with sliding it to the left. that was how it worked on cm7 so i cant get used to this, i accidentally recected 3 calls today cause i swiped it to the left and on cm10.1 left rejects the call. .
[Desire HD Android Development] hdorius:
i think no,since ICS the yes/no button also changed,so just keep ur mind to get used to it mate :D
[Desire HD Android Development] jeffhui:
Does anyone has an idea about Gmail syn? It worked on 0129 for me and didn't work on both 0130 and 0201 for me. I had tried to clear the data of it and even re-installed it but still can't. :(

Many thanks!
[Desire HD Android Development] pecora:
Works fine for me 0201
[Desire HD Android Development] a user:
may i suggest a better alternative, especially if you are also using different email accounts than goole?

http://code.google.com/p/k9mail/downloads/list

the market version updates much slower. you can see the market version with the market featured flag.

i am usually always on the current version (except last year where i reverted to previous version due to a bug). have't found anything as good as k9mail and it improves quite fast.
[Desire HD Android Development] jeffhui:
Sure i am going to try it now. However, i just want to figure out what is the problems as i have using it since i got the phone :silly:

you know, it's a pity if it can't work

Thanks anyway!

Edit: My Gmail sync works now! I successfully synced it through: settings > accounts > google

It is strange! but worked! so great!
[Desire HD Android Development] a user:
of course. i would care about a not synchronizing gmail even if i am not using it :D

but i felt it could be usefull for some giving a nice alternative email client when you brought up that topic ;)

EDIT @ jeffhui: may i ask from where your quote your sig is? sounds quite interessting.
[Desire HD Android Development] Mustaavalkosta:
Vibration behavior tweaks: https://plus.google.com/117962666888533781522/posts/dHQ4XUFb9tM
[Desire HD Android Development] jeffhui:
Of course, it's my pleasure. It was from a book called Wild Grass written by Lu Xun. :highfive:

By the way, i have tested your 1.3 tweaks with respect to the battery consumption. I turned on the airplane mode and let it go into sleep for certain hours. The first round that without your tweak was steadily using around 1-2mA current; however, current in the second round which with your tweak was about 27-30mA. More concretely is that with 1-2mA current, our phone could sleep around 6-7 hours for 1% battery consumption but with 27-30mA, it could only be standby around a half of hour for 1% battery consumption.

Without doubt, your tweak definitely improved the performance of CM10.1 but it could be better (i suppose?) if the battery consumption could be reduced. :D
[Desire HD Android Development] damac:
Re: [ROM][UNOFFICIAL] CyanogenMod 10.1 Nightlies / M-Series

There must be some other factors causing that battery drain. I've got those tweaks and regularly get 4-7ma (with intermittent spikes) current consumption in standby with phone and WiFi on.