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

It shouldn't be necessary. Official CMUpdater just flashes new zip and reboots. It formats nothing as far as I understood their code for creating a recovery script. I recently stopped formatting and haven't had issues yet.

Edit: And here are the CMUpdater steps in case someone knows something I don't: https://github.com/CyanogenMod/andr...cyanogenmod/updater/UpdatesSettings.java#L814
[Desire HD Android Development] t0mas_:
@Mustaavalkosta

yesterdays build is flawless. thank you for your help and your work on this rom, now it is time to learn some modding too :)
[Desire HD Android Development] a user:
that's not clear. it depends on what the recovery script command "--update_package" actually does. it could be that it deletes the dalvik cache only for the updated apk's. this is not done when you normaly flash the rom again over the current one which is the reaons why usually one should wipe dalvik to enforce creating a chached version for the updated apk's.

so i would still recommend wiping dalvik cache and cache partition. it may work without but not in general.

p.s. wiping the cache partition actually is not really needed and never was. it is just a good time to clean it up again.
[Desire HD Android Development] nwhutt:
Re: [ROM][UNOFFICIAL] CyanogenMod 10.1 Nightlies / M-Series [M2]

Latest nightly working really well here, thanks very much Mustaavalkosta.
[Desire HD Android Development] Mustaavalkosta:
Yeah:

https://github.com/CyanogenMod/android_bootable_recovery/blob/cm-10.1/recovery.c#L84

https://github.com/CyanogenMod/android_bootable_recovery/blob/cm-10.1/recovery.c#L921

https://github.com/CyanogenMod/android_bootable_recovery/blob/cm-10.1/install.c#L416

Wiping cache seems to be optional setting if BOARD_RECOVERY_ALWAYS_WIPES is not set when recovery was built:

https://github.com/CyanogenMod/android_bootable_recovery/blob/cm-10.1/recovery.c#L868

Most of the time tilapia has been recreating both system and user app dex-files anyways so leaving it unformatted doesn't really bring any benefits timewise. :)
[Desire HD Android Development] a user:
remains to see what "really_install_package()" does ;)
[Desire HD Android Development] Mustaavalkosta:
You can see that above third link's method. I didn't bother to dig deeper down to try_update_binary() as wiping cache is not so low level function that it wouldn't have been called in the top level methods already. And add to that, it doesn't really make any sense to give it as optional flag if it's done anyways.

Edit. Well, if you just want to clear cache via recovery script, then I guess it makes sense... You can dig down to the bottom if you want and let me know if I'm wrong. ;)
[Desire HD Android Development] Gio_ital:
R: [ROM][UNOFFICIAL] CyanogenMod 10.1 Nightlies / M-Series [M2]

+1
[Desire HD Android Development] nwhutt:
Re: [ROM][UNOFFICIAL] CyanogenMod 10.1 Nightlies / M-Series [M2]

Just noticed a minor issue, used to be able to press the back button to get rid of the keyboard after typing. It now gets rid of the keyboard & takes you back a page slightly annoying when you only want the keyboard out of the way.

---------- Post added at 06:05 PM ---------- Previous post was at 05:36 PM ----------

Meant to say I'm on the 250313 nightly.
[Desire HD Android Development] Phoenix-Lead:
Goodbye all

Goodbye Desire HD/Inspire 4G community. I am moving on to the Xperia TL today and you will be missed. The reason I am doing this in Mustaavalkosta's thread is because this is by far my most favorite ROM for my HTC. It is the ROM I will be selling my HTC with and wanted to say thank you. Good luck! I will continue hosting any and all files for this device though so if you are already hosting on my site don't worry, I would never drop you;)
[Desire HD Android Development] rjand:
0325 nightly working great after one day's use. Noticed that removing from charger takes a little while for the LED to off which I didn't notice on 0320 nightly - no biggy though, not something to worry about anyway.

Great work Mustaavalkosta.
[Desire HD Android Development] daedric:
I can confirm this behaviour. 20130325 here also.
[Desire HD Android Development] mcduffie2010:
Re: [ROM][UNOFFICIAL] CyanogenMod 10.1 Nightlies / M-Series [M2]

I can't reach my SD card, with cable, anymore for some reason. Is anybody else having this problem ? 25 / 3 nightly

Verstuurd van mijn Desire HD met Tapatalk
[Desire HD Android Development] pnoire:
I can confirm both issues in 0325.

- Led takes time again to turn off after unplug

- I first thought i can't connect SDCard by USB. On second test, it was ok but it needed more than one minute to be reached!

Not a SDcard issue because it's ok in recovery
[Desire HD Android Development] a user:
i actually never was able to expose my sdcard via cable on any version of this rom, at least on any version i tried. it even led to reboots trying.
[Desire HD Android Development] pnoire:
Test with 0326

- SDcard storage activation (USB): ok, needs only few secondes now for me

- Led on plug/unplug: perfect again, turns on/off immediatly

@a user: i'm sure that you've already tested all possibilities, but if not or for other members having this issue with USB, some solutions that helped:

- Updating drivers and/or

- unplug and reboot phone, plug it in another USB port on the pc and/or

- cleaning the mini USB port of the phone with a spray duster or with swab moistened with a little alcohol

- testing with another USB cable
[Desire HD Android Development] Mustaavalkosta:
Yeah, LED has been working flawlessly with my slightly tweaked CM builds. Not sure what happened with 0325 but if it's ok now, it'll be pretty much waste of time to figure it out. SDcard I don't know since I rarely use it with PC.
[Desire HD Android Development] Gio_ital:
R: [ROM][UNOFFICIAL] CyanogenMod 10.1 Nightlies / M-Series [M2]

0325 works great for me. I don't have those issues. Led turns off after 2 seconds and it connects to the computer in about 5 secs

Thanks Mustaavalkosta :cool:
[Desire HD Android Development] rjand:
No problems with USB here on 0325, but since it's fixed in 0326 no need to worry. I'll leave 0325 on for a while now to see how stable it is over a few days as I can live with the LED light staying on for a few seconds after disconnect.
[Desire HD Android Development] Mustaavalkosta:
Come to the darkside, we have pie

Sharpen your pie knives. Coming up tomorrow:

https://plus.google.com/+CyanogenMod/posts/TkP3jUpskZh

It's probably less useful for a device with hardware keys than for navbar devices but it'll be there nevertheless.
[Desire HD Android Development] rjand:
It's like the stock browser quick controls but for the launcher. Looks great, but as mentioned not really needed on Ace devices with hardware keys.
[Desire HD Android Development] pnoire:
It would be awesome and useful even for Ace, but with the ability to remap HW keys or to assign other tasks to Pie icons.
[Desire HD Android Development] a user:
may i suggest "wave launcher"?

i am using it for over one year already, since it was released. that's why i only use home launchers that allow disabling the dockbar as i do not need it anymore.

---------- Post added at 11:52 AM ---------- Previous post was at 11:49 AM ----------

what drivers? we are talking about simple usb storage. it failes on windows and linux.

phone rebooted on its own when i tried to expose the storage, again adn again and again ;)

well, it works fine if i expose the storage via recovery or any other rom.

see above ;)

but to be fair, i haven't tried it for a couple of versions as i do not really need that feature. i am mostly copying over wlan.
[Desire HD Android Development] RoelJamil:
Provide a logcat or kmesg s others can see what the problem could be
[Desire HD Android Development] nwhutt:
Re: [ROM][UNOFFICIAL] CyanogenMod 10.1 Nightlies / M-Series [M2]

Can confirm keyboard back button bug is still present in 260313 nightly.
[Desire HD Android Development] hdorius:
Re: [ROM][UNOFFICIAL] CyanogenMod 10.1 Nightlies / M-Series [M2]

Do you installed yahoo mail apps on your phone.?

Last time i had this issue, can't mount sdcard to pc (recovery works), it caused by yahoo mail app, after deleted it, it working perfectly..
[Desire HD Android Development] mcduffie2010:
Re: [ROM][UNOFFICIAL] CyanogenMod 10.1 Nightlies / M-Series [M2]

No Yahoo mail installed.

Verstuurd van mijn Desire HD met Tapatalk
[Desire HD Android Development] a user:
sure. at the time i experienced that issue i was too occupied trying to get sdcard running with ext4. when i find again some spare time i'll see what i can do about.
[Desire HD Android Development] Mustaavalkosta:
Yep. I was trying to find the cause for it this morning while enjoying my morning coffee but didn't find anything yet. I'll take another look when I get a spare moment just in case it's something I can influence without breaking carefree build system.
[Desire HD Android Development] tanjian2:
Firstly thanks for a great ROM.

Can someone tell me what is in the perf-kernel? Is it worth flashing?

I love being able to upgrade without resetting and restoring stuff.... keep it up

I notice the system UI resets if I tap the clock in the top left corner when I have the notifications pulled down - is that a ROM problem or my theme?

Thanks again
[Desire HD Android Development] pnoire:
Perf-kernel. if your device can run performance kernel, it's a good idea to give it a try. I use it and my phone is very stable, smooth and quick

UI reset : using 0326, i have no problem. Touching the day opens Calendar, touching the clock opens the clock app.

EDIT: i don't use any theme apart the default one
[Desire HD Android Development] pissat4motion:
Re: [ROM][UNOFFICIAL] CyanogenMod 10.1 Nightlies / M-Series [M2]

What's the difference between this perf kernel and the one by synergy? I could run all of his no problem but have hit boot loop on the one for this ROM..
[Desire HD Android Development] wachutunai:
After three days, I did not have any locks and everything seems to be running great. I saw that you committed your modifications to Mustavalkosta's repo so I guess, it will be the default driver in the next kernel builds...

Thank you so much for solving this issue! :highfive:
[Desire HD Android Development] Mustaavalkosta:
Tweaks that make his performance version a performance version are the same.
[Desire HD Android Development] Mustaavalkosta:
Inconsistent back button behavior should be fixed on 20130327.

Trouble maker: https://github.com/CyanogenMod/andr...mmit/21b88245d868a976df2f03301a0baa79540efb1b

Fix: https://github.com/Mustaavalkosta/a...mmit/354383bc3dbcb221482fc73b0e20c9ff2866169d

At least my test apps are working correctly now.
[Desire HD Android Development] tanjian2:
I tried the perf-kernel but now Wifi won't turn on for me.

Is the only way back an upgrade to tomorrows nightly build or a restore?
[Desire HD Android Development] Mustaavalkosta:
I hope I haven't accidentally copied wrong bcmdhd module to perf kernel zip. No one else has complained so I guess not.

You can just reflash the nightly you are currently using and it should be fine, or wait for tomorrow's if you don't mind the broken wifi.
[Desire HD Android Development] rjand:
Had black unresponsive screen today running 0325 nightly with 0325 performance kernel. Couldn't view anything on screen, not responsive to touch, pressing power button made hardware keys light come on ./ off. Pulled battery and flashed last_kmsg.zip in recovery which said it saved the last_kmsg to the sdcard, but there was nothing there to post here after a reboot. Unable to connect and use ADB at the time.

System details in case they help, SmartAssV2 governor, Deadline scheduler, 1200 MHz overclock, zRam disabled, Kernel samepage merging enabled. Running Poweramp at the time and was trying to enter a phone number when the lock up happened. Wi-Fi and GPS were disabled, bluetooth was enabled.
[Desire HD Android Development] Mustaavalkosta:
I had couple of these within the same day a while back and tried to debug it with adb as it was still responding fine. IIRC, I couldn't find anything suspicious and then they just went away again. I will have to try again if I get another one...

Edit: Oh and if last_ksmg doesn't appear on sdcard, that usually means there was no last_kmsg (or something went wrong while copying it).
[Desire HD Android Development] michelD:
Oh yeh "a user" I perfectly remember the good old time where I discovered all these things (I also remember our discussions on max freq during sleep (screen off)).

But I will now navigate to a new "country" with my new Nexus 4 that should arrives tomorrow (or the day after).

Nevertheless, I had extremely good time with my DHD during more than 2 years and very happy to see that very famous developers are still working on it, and a special big thanks to Mustaavalkosta for his very good work and opened spirit.
[Desire HD Android Development] a user:
because it claimed that for 4.1 does not mean it is still recommended for 4.2.1. beside of this, did you had any issues while having it on?

4.2.1 != 4.1

try the kernel that is already built into this rom. if it still freezes we can talk again.

p.s. @all : gonna finsih up a small addition to my userinit.sh script. maybe one might find this little thing usefull ;) post it quite soon.
[Desire HD Android Development] a user:
so here you go... new version of my small userinit.sh

what it does....

1. the already known tuning of network (mobile and tcp in general)

2. below that provides two new features:

a) changing the already mentioned DTM setting. if you read the comment within the script then you'll see that you can configure what your desired DTM setting is. The script will then check what the setting currently is and if it is not your desired one it will patch build.prop.

NOTE: to have setting actually working you have to reboot ofcourse so that build.prop gets evaluated again

b) automatical hosts file update

well, i hate the exagerated adds here and there and so i use a hosts file for blocking domains. now, i just need to download a new hosts file into my download directory and reboot. on reboot the script will find the hosts file and thus copy it into /system/etc PLUS add a little extra ( i discovered that a lot off apps are using a sdk from flurry.com to send collected usage statistics without my permission).

now you can configure where the new hosts file should be searched for. the changed hosts file should be already in effect, though it might be needed a network type change to or some time to affect all apps.

now, you may ask why you did it this way instead of a flashable zip?

cause i am too lazy to inject a new hosts file into that zip and flash it now and then. now i just make sure to have a new hosts file in my sdcard's download dir before i flash a rom update and reboot once more after the update.

sure the second reboot might be annoying but at least i don't have to do anything but waiting :P

oh and finally i autoset my sound settings you may delete or change it to how you want it ofcourse.

some progress info gets logged into /data/local/userinit.log

have fun :D

a user
[Desire HD Android Development] a user:
ahhhhhhhhhhhhh damn it...

forgot to mention where i get my hosts file from:

http://someonewhocares.org/hosts/
[Desire HD Android Development] Mustaavalkosta:
Neat trick with that hosts file. I wrote this for myself a few weeks back. I'm running it before the build starts for my somewhat private edition of CM10.1. I'll probably add your source hosts to it, the more the merrier. :)
[Desire HD Android Development] a user:
hehe well, since i do not cook my own rom anymore i find this userinit.sh on the data partition quite usefull as it survices a rom reflash. so i started to think about usefull additions. ofcourse such things could be done more "realtime" but it is simple and works.

anyhow, i am quite impressed about the current state of this jb rom. i'm starting to wonder how your codefirex rom plays out. if i read right it isn't based on cm but on aokp?

something else...

do you think it could be easily be made an android rom based on say this one, which actually only boots without any graphical gui. so basically you can only access it via network, wlan, to execute things via ssh on it?

p.s. ahhh so many new stuff here on xda and so few time to play :(
[Desire HD Android Development] Mustaavalkosta:
Yeah, I'll definitely try to remember that method. It looks so effortless to use.

codefireX is based on pure AOSP. We have added features at least from AOKP and CM and enhanced/written a few of our own. And synergye is doing his voodoo magic under the hood.

No clue. Sounds like a good way for DHD to retire as a mobile server though. :)
[Desire HD Android Development] ai6908:
Sounds similar to google cloud..i am sure someone is working on it...it just matter of time before we get something like that! :)
[Desire HD Android Development] a user:
i need for a small project of my old university. a friend of mine and former collegue still working there asked me to code an externel sorter to work on a android mobile device. it is for a low power consuption sorting analysis.

well, and i thought to strip off all the gui stuff to get more free ram to have more space for the data to sort and also consume less beside the pure calculation. the sorting program is nearly done and so far runs native on android. though my hollidays are over and now have less time to finish it up.

well, if anybody knows some that could cook such a rom, ... well as you guys said, it could have quite a lot of usefull purposes.

---------- Post added at 03:32 AM ---------- Previous post was at 03:23 AM ----------

well, gonna flash new 20130115 version and then i go to bed.

p.s. anybody tried using the sdcard formated as ext3/4 on this rom instead of the usually vfat? if not i maybe will give a try to make it working in the next days.
[Desire HD Android Development] qazsxdcfv:
Nope , ...

I'm gonna try with new build ..

And whats the device that you playing with now ?

Sent from my hTC Desire HD powered RottenBrotten v1 by me™
[Desire HD Android Development] jeffhui:
Oh man! you are so fast that i can't even catch you up your speed of update! :good:
[Desire HD Android Development] NiCk.JaY:
Lol, that's what nightlies mean :P
[Desire HD Android Development] a user:
my pillar :P

well, am still on my DHD and will keep till i find the perfect smartphone this year. the note II is still one of my candidates.
[Desire HD Android Development] qazsxdcfv:
Hahah yeah same , and ahh .. I'm on the new nightly .. And th freeze problem its gone , stock kernel without enabling overlay ... I want to try with my new kernel .. Idk will be freeze again :D

Sent from my iPhone powered iOS 6.0.1 by Apple™
[Desire HD Android Development] ivicakc:
just to flash this or what?
[Desire HD Android Development] tsmt971@yahoo:
My understanding is just extract the zip file, copy userinit.sh to /data/local and then reboot your phone. Once reboot, you will see the userinit.log in the same folder.
[Desire HD Android Development] Mustaavalkosta:
For your convenience, I put the script in a flashable zip file. Download below.

For dtm setting and updating hosts file read these comments from the script and change them if necessary (you can edit the file either before flashing in the zip file or after flashing in /data/local/userinit.sh):

####### ro.ril.enable.dtm SETTINGS PATHER ###############
#
# Set the variable below to the desired value, the value
# you want the property to be. If needed build.prop will
# be patched to set your specified value. After a reboot
# it will actually become in effect.
DESIRED_DTM=0

####### HOSTS FILE INSTALLER #############################
#
# Change the variable below to match the file and location
# of your downloaded new hosts file you wish to install
HOSTS_FILE=$EXTERNAL_STORAGE/Download/hosts

I commented out the sound settings, you can uncomment them if you want to use them. For some reason I couldn't get the hosts feature work but then again I didn't bother to look into it much.
[Desire HD Android Development] Muikkuman:
Thanks :D

Sent from my Desire HD using Xparent Blue Tapatalk 2
[Desire HD Android Development] a user:
nearly... i explained it a few pages back:

extract that and copy the file "userinit.sh" to /data/local/

then you have to change it permissions and ownership... forget it i make a flashable zip to install this one. you won't need to flash it every time you flash a new rom version because your /data partition remains unaffected.

i make that flashable one when i am at home.

---------- Post added at 04:34 PM ---------- Previous post was at 04:33 PM ----------

lol... too slow :D

####### HOSTS FILE INSTALLER #############################

#

# Change the variable below to match the file and location

# of your downloaded new hosts file you wish to install

HOSTS_FILE=$EXTERNAL_STORAGE/Download/hosts[/CODE]

I commented out the sound settings, you can uncomment them if you want to use them. For some reason I couldn't get the hosts feature work but then again I didn't bother to look into it much.[/QUOTE]

why? where was your hosts file located (including its name) and what did you put into HOSTS_FILE ?
[Desire HD Android Development] Mustaavalkosta:
I tried /sdcard/Download/hosts and /storage/primary/legacy/Download/hosts paths and even renamed my download folder to Download but no luck. It was more of a quick test though to see if it the installation process works as it should with flashable zip. No need to debug just for me if others have it working. I can do that myself if I really need it someday and I'm using my pre-baked hosts for now anyways. :)

Back to the ROM itself. I did some reading about dtm and ran a few tests with Saunalahti's network here in Finland. Disabling dtm indeed seems to increase mobile speed quite significantly.

dtm enabled:
98ms / 3443kbps / 1613kbps
789ms / 4564kbps / 2337kbps
714ms / 2709kbps / 2161kbps
709ms / 3346kbps / 1904kbps
692ms / 4335kbps / 1769kbps
719ms / 2850kbps / 1668kbps
731ms / 1807kbps / 1600kbps

dtm disabled:
89ms / 4534kbps / 2127kbps
95ms / 5290kbps / 1796kbps
101ms / 6261kbps / 1846kbps
132ms / 6403kbps / 1606kbps
102ms / 6491kbps / 1726kbps
113ms / 7231kbps / 1928kbps
127ms / 6161kbps / 2016kbps

dtm removed:
55ms / 4228kbps / 1873kbps
635ms / 3401kbps / 1685kbps
636ms / 3958kbps / 2073kbps
638ms / 5104kbps / 1607kbps
654ms / 3178kbps / 1994kbps
650ms / 2920kbps / 1706kbps
652ms / 3173kbps / 1840kbps

dtm disabled redux:
69ms / 6705kbps / 2381kbps
58ms / 6056kbps / 2376kbps
56ms / 4870kbps / 2096kbps
78ms / 5646kbps / 2195kbps
60ms / 5488kbps / 2325kbps
54ms / 5412kbps / 2027kbps
51ms / 5608kbps / 2258kbps

I want to emphasize that these values are in no way results of empirical method. I just changed the ro.ril.enable.dtm value, rebooted and ran tests with speedtest.net app. I won't be arguing about them. Nevertheless, they are quite interesting (especially ping) and your previously introduced facts support them. I think I'll disable dtm by default and make a flashable zip file to switch it on using your userinit.sh as a reference and add it on first post for those that benefit from it if that's ok for you.
[Desire HD Android Development] rjand:
Re: [ROM][UNOFFICIAL] CyanogenMod 10.1 Nightlies / M-Series [M2]

Any idea what may off happened to the last_kmsg log after rebooting?
[Desire HD Android Development] Mustaavalkosta:
Well, my best guess is that kernel just didn't create one but I can't really say anything with any sense of certainty as I don't really know the mechanics behind last_kmsg.
[Desire HD Android Development] daedric:
I wish i could try the performance kernel :(

There haven't been any advancements on which devices support them right?
[Desire HD Android Development] guojeff1:
Pie control is not active.I flashed OTA, but it's not working.

And if the pie control is available, can you creat a rom that can make all the hardware key unavailable ? Cause they'really not useful.