yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] monideth:
Hi,

Firstly, thanks to Mustaavalkosta for making this CM 10.1 ROM for the HTC Desire HD.

Apologies if this has already been covered already - I did do a search but could not find exactly what I was looking for.

My question is regarding the boot.img file. My Desire HD is S-OFF and I understand that the boot.img has to be manually flashed (fastboot flash boot boot.img) to get the ROM to boot.

I started with the 20130415 nightly image and got it booted and working OK. Today I downloaded 20130417 and tried to flash that. It flashed and booted up OK. However, I couldn't get WiFi to work - it wouldn't turn on.

Only after I manually flashed the boot.img file that came with 20130417 did WiFi started working again. I assume boot.img has changed in 20130417 (or 20130416) that requires it to be flashed again.

My question is, for S-OFF devices, do you always have to manually flash boot.img every time? Or does it really depend on whether boot.img has changed? It is probably just safe to flash boot.img everytime but it is an additional step that needs to be taken.

Is it correct to assume that boot.img is basically the 'kernel' and that it can change from time to time? Thus, this means that boot.img needs to be re-flashed appropriately?

I know the best thing is to get the device S-OFF - but I'm having trouble getting that done.

Regards,

Mon

EDIT: Sorry - I meant my DHD is S-ON.
[Desire HD Android Development] Mustaavalkosta:
Well, all I can say for certain is that everytime you flash rom zips from this thread, boot partition will be overwritten with the boot.img that comes with the zip (that is if you have proper S-OFF and not HTC's useless unlock). Kernel is in boot.img and kernel is built from source everytime with a new rom build. I haven't tested if there are some dependencies with kernel modules (/system/lib/modules/) and the kernel itself between kernel builds but looks like there are since your wifi died which most likely means bcmdhd module failed to load.
[Desire HD Android Development] monideth:
Hi Mustaavalkosta

Thanks for the quick response and explanation.

I suppose, it will be safest to flash boot.img everytime then - just in case.

Cheers,

Mon
[Desire HD Android Development] iopetja:
Boot.img flashing is required for phones that are not s-off. If you follow the ROM flashing msgs you can see it's being flashed while you flash rom zip.

----

If I helped, please hit the Thanks...

DHD smoothie by Mustaavalkosta's M3
[Desire HD Android Development] Roberto_Lim:
Updated to 417 (403 > M3 > 417). So far so good. Strange thing do. I gave to restore Gmail, Maps and YouTube after each update.
[Desire HD Android Development] asif9t9:
I've been updating nightlies per the OP, just a quick nandroid and install the new .zip. I don't wipe caches or anything. And after installs, everything works fine, no updates necessary.
[Desire HD Android Development] Roberto_Lim:
Thanks. I am not sure what I am doing wrong. I don't wipe caches or anything. Not sure what I am doing wrong which results in the three Google apps being uninstalled. No biggie though.

All other apps are there, so I just restore the three.

You have me am used though. I think it might be because I have these apps integrated to the ROM when they are updated. I have converted them into user apps. Keys see what happens when I update to another nightly in a week or so.

Trying 417 because I feel like I took a small for in battery life with M3.
[Desire HD Android Development] monideth:
Hi,

Apologies to everybody - my bad!

I meant my DHD is S-ON and not S-OFF.

Sorry for the confusion.

Cheers,

Mon
[Desire HD Android Development] MusikMonk:
Well, I'm not having a very productive day at work so I've decided to do something that I've said I'll try weeks (months?) ago.

I've did a Nandroid backup, full wiped, flashed an official CM7, set up my phone number and verified it survives a reboot, full wiped and then restored my backup. And now my phone number does show up under About Phone -> Status.

So I guess that's a valid, if lengthy, solution for the issue.

But just a small question for the people that didn't have the "unknown" phone number issue, does the phone number that appears there include country's calling code or not? And if it does does it begin with "00" or "+"? (Probably doesn't matter, but I'm kind of OCD about certain things and this would bug me indefinitely if I don't find out :p).
[Desire HD Android Development] pecora:
my number is without country's calling code.
[Desire HD Android Development] rjand:
+1, but I put my number onto my SIM using an old non Android phone.

If your number is already on your SIM when received from the carrier, how it looks will be carrier dependent, some show + country code. When you receive an SMS some senders number will include + country code, others just the number.
[Desire HD Android Development] iopetja:
No need to brag, you lucky ******* ;)

Same solution help with GPS, proximity and autorotation issue.

Shown with + and it's set by carrier. Maybe can be changed by setting in user profile, but nothing worth of researching :)

----

If I helped, please hit the Thanks...

DHD smoothie by Mustaavalkosta's M3
[Desire HD Android Development] iman.ch.r:
sorry, but I started using this rom, today, and after flashing newest version (0418), WiFi doesn't work :( fresh install
[Desire HD Android Development] asif9t9:
So again, I've been dirty flashing every nightly, every night as soon as it comes out. I have been noticing lately that my GPS won't lock on unless I use GPS Status to download data. But after rebooting my phone and trying Navigation again...no lock on, until I do another download with GPS Status. Something that did work for me yesterday was to use Fasterfix to change my pool to my local, Canada. After that, I didn't even need GPS Status to download data. I'll try again today and see if it works.

Edit: Just to update, went to use GPS Navigation this morning and it's worked no problem. Maybe 20sec to lock, then all was good. No GPS Status since loading the new rom.
[Desire HD Android Development] HanZie82:
You're lucky, my GPS doesn't work at all.

Gonna figure it out tomorrow tho, to much to do today... :/

Wallpaper won't hang itself unfortunatly. :cool:

Pfff tommorrow is for the patient, wich i am not.

Thinking could help changing Radio's built in Ril might not support my version. Is that possible?

12.56.60.25U_26.10.04.03_M is what it shows in settings. If that Radio is the best i might try the hardware approach and fondle my GPS antenna some...

Anyway thanks in advance for any help. :D

Ok some info i forgot in case someone want's to help.

GPS is set to on but just keeps searching not 1 hit, testing outside.

Used to work perfectly on newest stock rom (pre-rooted) 1st rooted rom was PAC-man rom (current vers) in wich GPS didnt work as a rom problem.

Now 2nd is this CM10.1 but tried several times, due to my argument with the perf-kernel. We had a fight i won and now its standard CM10.1-20130416 kernel.
[Desire HD Android Development] blackbuffalo:
Wifi working on 20130418
[Desire HD Android Development] Black_Fox:
The following may help:

After flashing the boot.img my wi-fi works again even on builds >=0413, thanks!
[Desire HD Android Development] pfidalgo:
Mustaavalkosta: the apn's in M3 are out of date. Acording to this file: https://code.google.com/p/android-s...xml?repo=device--sample&name=android-4.2.2_r1

the vodafone.pt apn is fine, but when I reset the apn settings I still have two apn's, one for internet and other for MMS. And the MMS APN is wrong.
[Desire HD Android Development] rjand:
Try a newer radio. Some users have no GPS with Jelly Bean ROM's using older radios. The one in my signature is the latest. Here's the radio thread to download it, post #3 http://xdaforums.com/showthread.php?t=877295&p=9891581

---------- Post added at 02:42 PM ---------- Previous post was at 02:29 PM ----------

I'm on Vodafone UK and I have 2 APN's for Vodafone Contract, one for Internet and one for WAP (MMS). I've never tried merging them as in the file you've linked to as I seldom use MMS, but when I want to send and MMS I have to disable Wi-FI, and to receive MMS I have to change APN to the wap.vodafone.co.uk one (which I can't then use for normal Internet usage). If I merge them like this file, should I expect MMS to just work without having to change APN's and / or disable Wi-FI?
[Desire HD Android Development] Mustaavalkosta:
APN list is maintained by CM: https://github.com/CyanogenMod/android_vendor_cm/blob/cm-10.1/prebuilt/common/etc/apns-conf.xml

Feel free to make corrections and submit to review, or let me know what to change and I can submit. Just be sure your edits are 100% correct, I don't want to submit crap. :)
[Desire HD Android Development] rjand:
Vodafone UK Contract has 2 entries on this list (Internet and WAP), which is what is showing in my phone.

Does anyone in the UK use Vodafone and MMS? Do you have any problems and what settings are you using? I'm a very frequent MMS user so haven't bothered looking into it much.
[Desire HD Android Development] pecora:
@ Mustaavalkosta: with the new kernel (in my case 0416 perf) the memory is 592 Mb, with older kernel was 594 (last kernel i used was 0401).

Another question, same time ago Synergie made a kernel with 620 Mb of memory, some users had a cold reboot with it, but maybe they wasn't kernel related, may you compile a kernel with that memory size as test?
[Desire HD Android Development] HanZie82:
Thanks, it helped.

now i had a 5/5 satelite fix from my window. According to GPS-status. Oh and also used FasterFix to make it, well faster. :D
[Desire HD Android Development] Mustaavalkosta:
Available memory is defined by how many things are allocating memory to themselves and the rest is left for userspace, or at least this is how I've understood it. Previously it changed because there was some testing going for some specific kernel device and its memory allocation. That drop from 594 to 592 is probably something from these ~1000 updates, I'm not sure. I wouldn't worry about it.
[Desire HD Android Development] iamdofus:
Installed m3, it was good. But needs much improvement, camera application do not work even 3rd party camera donot work,
[Desire HD Android Development] SupremeBeaver:
Camera works fine in M3, something is wrong in your end.
[Desire HD Android Development] Mustaavalkosta:
I dropped gps branch hack: https://github.com/Mustaavalkosta/android/commit/df676bf01ce01d8537c64f1bc910ec354704eb6a. It only required librpc to be added on device repo. For some reason it wasn't built with cm-10.1 branch of hardware/qcom/gps but I didn't bother to dig deeper: https://github.com/Mustaavalkosta/a...mmit/03eccecdd3199b4d8e1aa4d45d03e007ca625395. Also dropped NTP_SERVER from gps.conf because it's not used. System reads it from here instead: https://github.com/CyanogenMod/andr...b/cm-10.1/core/res/res/values/config.xml#L908 thus rendering apps (e.g. FasterFix) that modify gps.conf useless. I guess it has been like this since JB 4.1 ICS.

One more local repo gone. Don't hate me too much for taking away your placebo candy. :cool:
[Desire HD Android Development] iman.ch.r:
thanks for giving me some tips but my wifi doesnt work at all. it can be turned on, but cant find anything

1. my phone is s-off

2. i flashed the boot.img manually. didn't help

3.I have never faced such issue flashing a new rom. (sometimes happens when flashing kernels seperately)
[Desire HD Android Development] Mustaavalkosta:
Get me logcat and dmesg after boot up and I may be able to give you something more specific why it's not working.

adb logcat -v time -d > logcat.txt
adb shell su -c dmesg > dmesg.txt
[Desire HD Android Development] paulb_nl:
Actually its even worse, NTP_SERVER wasn't used since ICS. :D

https://groups.google.com/forum/?fromgroups=#!topic/android-contrib/A11vlH4a46I
[Desire HD Android Development] Mustaavalkosta:
Haha, okay. I didn't think it was that bad... lol
[Desire HD Android Development] blackbuffalo:
I'm flash 20130418-Pizzabean and ready like pie control when expanded screen. If you have choose option to show or hide status bar when expanded screen enable this better
[Desire HD Android Development] Mustaavalkosta:
sio will be default io scheduler starting from 20130419. If you don't like it, blame democracy and start your own dictatorship. Kernel is also patched to 3.0.74 and has some random updates. Perf version coming up shortly. From now on I'll try to use same versioning with perf than with nightlies so it's easier to understand the relation to the kernel included in nightlies. I'm also pushing tags to github so it's easier to check the changes (e.g. https://github.com/Mustaavalkosta/htc7x30-3.0/commits/perf-20130416).
[Desire HD Android Development] rjand:
Okay so faster fix is useless, what about the other GPS fixes that you are aware off. I've usually flashed FasterFix even though I couldn't tell if it made a difference or not - if I have GPS problems it's usually because of the antennae cover and a quick squeeze fixes it and / or run GPS Status / Test and update AGPS data.

Running 0415 nightly since it came out and it is perfectly stable, although I haven't stressed it as much as I did with 0402 during the week I ran it. This is definitely the best Desire HD ROM. Looking forward to tonights updates.
[Desire HD Android Development] Mustaavalkosta:
Well, in addition to GPS Toolbox's A-GPS data tools (I have no clue how this actually works so I'm not saying it's proven method/fix), the only software fix that I know is the one that Pnoire mentioned earlier. There's something odd going on there but I've no personal experience on this specific rotation/gps issue so better not say too much about it. :)

Edit: Now that I re-read your post, I'm not sure if it was meant to be a question but I answered to something anyways. :p
[Desire HD Android Development] hopesfall190:
anyone

Ok i hope this doesnt start any drama but what is the proper way to dirty flash the nightlies i searched and some said just the system. And others say just wipe cache and dalvik. The posting for on the main page of this rom just says to flash over top it doesnt say you need to wipe so my question is what is the PROPER way to dirty flash without any problems. Also thank you mustaa for this great rom everyday it gets better.
[Desire HD Android Development] barabangel:
Hello Mustaavalkosta, I'm a night 20130402 but flash perf-kernel-20130416 or 19 wifi can not be started and connected...
[Desire HD Android Development] Mustaavalkosta:
Official CMUpdater doesn't format anything so I assume it should be fine like that.

This: https://plus.google.com/117962666888533781522/posts/Mv9kitKE246
[Desire HD Android Development] barabangel:
I do not understand this you have to write about the problem...?
[Desire HD Android Development] rjand:
Many cellular towers have GPS receivers and when you use A-GPS you are getting the GPS sat locations from the tower to speed up your device finding the sats. The idea is will take no more than tens of seconds to get the first fix instead of minutes to find the sats and get your position. The A-GPS data downloaded is then valid for up to 6 days I think. If you use GPS regularly (less than 6 days between uses) updating A-GPS should be of no advantage to you.

What I was wondering is are any of the other software fixes relevant other than updating A-GPS, but it seems none of them are going to be of any use with the way they currently are configured to work.

I would find at times using GPS Test that I can get an almost instant lock on 10 or 11 sats, but not get any GPS data such as location accuracy information or speed, for a few minutes or until I turn GPS off for about 15-20 secs. During this period Google Nav is always searching for GPS, even though the phone may be seeing 10 / 11 sats.
[Desire HD Android Development] AndreiMel:
You have to dirty flash CM 10.1 over the Oficial RUU or other room where the Gps actually works. Now when i'm using gps , gps icon apear in the top left of the status bar. I used the gps today for about an hour. Gps has worked great , like in the original room . I'm reporting an another issue : in cal when you finish the conversation and the screen is off, sometimes the phone don't turn on the screen, you have to press power buton . It's a bug, or is just my phone?
[Desire HD Android Development] iopetja:
+1. Also, as soon as the dialing begins, screen turns off even if it's in front of you. (default dialing app, VoIP apps work normally)

----

If I helped, please hit the Thanks...

DHD smoothie by Mustaavalkosta's M3
[Desire HD Android Development] rjand:
I don't see this on 0419 nightly (or previously tested 0415 nightly). Screen stays on until put close to something or power button is pressed to turn it off.
[Desire HD Android Development] AndreiMel:
for me the screen remain on . But when i talk for example 10 minutes on the phone the screen remain off. Maybe the phone enter in sleep mode idk ...
[Desire HD Android Development] rjand:
The default settings for screen timeout are 30 secs. Unless you are watching video or have the phone set to keep the screen on whilst charging, the screen will turn off after this default timeout. Turn off does not mean locked, touching it will turn back on.
[Desire HD Android Development] Mustaavalkosta:
I can't really write about the problem when users don't provide me any hard data (logcat/dmesg) about the problem. In this case, the problem isn't easily reproducible since it's just you and some other guy saying it doesn't work, so I can't get those logs myself. I was even kind enough to give the commands to produce these logs 7 posts before your initial post. I don't do spoon-feeding which leads us to the overall message of that G+ post: logcat or GTFO / no logcat = no fixes.

Edit: In your case with 20130402 nightly, I can throw you a guess that newer perf kernel probably doesn't work because of wifi direct changes. Update to new nightly or use older perf kernel. :)
[Desire HD Android Development] Mustaavalkosta:
Have you tried Proximity Sensor Recalibrator? I haven't noticed such behavior myself but then again I don't call much.
[Desire HD Android Development] Mustaavalkosta:
Ah okay. Yeah, I know basic concept of A-GPS. I meant more like how GPS Toolbox does its magic on code level. :) I don't use GPS much, mostly just for testing purposes so I don't have very much info how long it takes to receive speed etc. Usually I find those 8-10 sats quite fast too. Maybe someone else can give you some comparable numbers to get some picture of what is "normal".
[Desire HD Android Development] Roberto_Lim:
Proximity Recalibrator works with this ROM. My settings are more extreme (3/4) than worth other ROM's (usually 4/6 or 5/7).
[Desire HD Android Development] wawshorty:
I think 8-10 is normal. Someone told me that GPS needs at least 3 sats in order to locate a position. But as more sats you find as more exact your position will be calculated. At good days my phone finds 10-12 sats.
[Desire HD Android Development] nkcr:
MR. can u make a patch to turn off the CRT flash...i hate CRT falsh ..- -#
[Desire HD Android Development] iman.ch.r:
sorry but cant access my pc :( could I have downloaded some wrong file or something? switched from a sense rom, (I have perviusly Installed other 4.2 roms, but they were slow, honestly, your rom is damn fast and stable)
[Desire HD Android Development] Mustaavalkosta:
You can get logcat with Catlog app too: https://play.google.com/store/apps/details?id=com.nolanlawson.logcat

dmesg works in terminal app (shipped with rom).

su
dmesg > /sdcard/dmesg.txt
[Desire HD Android Development] xZeroMancerx:
When I'm in a call the screen goes black. I have to turn it back on with power button...I've used that proximity application. Its lowest is 3,the highest is 4..I'm using the same settings as Roberto_Lim also after I unplug the charger the LED light stays on til after a reboot

I'm on latest nightly with latest perf kernel
[Desire HD Android Development] Gio_ital:
You have to find the appropriate settings for your machine with prox. sensor recalibrator. Mine are low:7, high:8 and on my wife's are low:9, high:10.
[Desire HD Android Development] shinaipt99:
I've been reading the thread but I can't see any proper fix for GPS other than the dirty flash over the ruu. Is there any?
[Desire HD Android Development] richm052569:
Heavy GPS user here...the flash over RUU is the only solution that works without fail for me. I have tried every app, trick, and GPS thread here on XDA over the years.
[Desire HD Android Development] xZeroMancerx:
I downloaded the latest proximity app thru the forum. When I start the service, it says far than near than when I press the back button it stops that function

The first screenshot is default view, I haven't altered anything....

I've changed the default values of 12/15 to 4/7, selected that start button than slide my finger across the top of the sensor..it says far/near but when I press the back button it says not running ? Am I doing all of this right ? I read that running this app will fix the black screen on call problem

P.S...is anyone else having problems with the LED light remaining illuminated after unplugging from charger ? I always do fresh installs
[Desire HD Android Development] Mustaavalkosta:
Sometimes after I boot up, usually after update/kernel flash. I haven't figured out why/when/how it happens so I haven't tried to fix it yet. It starts working again though if I just plug & unplug.
[Desire HD Android Development] xZeroMancerx:
Its not a huge problem, just a problem I felt was worthy of discussing....I don't recall having that problem in your last nightly, 20130411....
[Desire HD Android Development] buttie:
Yes, that's how the app works. Proximity sensor is running only during calls (without headset plugged in), so the app simulates that to adjust/check the settings. When you hit back button it turns off sensor but set values stays.
[Desire HD Android Development] hacktrix2006:
Is PiE in the latest version? If so how does one activate it?
[Desire HD Android Development] xZeroMancerx:
I don't much think so, I'm using latest version and haven't seen pie functions
[Desire HD Android Development] rjand:
Only enabled on devices with no hardware keys, but this should enable it, haven't tried it myself

http://xdaforums.com/showthread.php?p=40294672&highlight=qemu#post40294672
[Desire HD Android Development] pnoire:
Personaly, i like Pie but only if i can affect other actions, activities or apps to its buttons. Else it's useless for me. I've HW keys and use it :)

A very interesting Pie for me is the feature in LMT Launcher that let me affect what i want to its Pie, and even 2 levels in Pie.

LMT can be found in http://xdaforums.com/showthread.php?t=1330150
[Desire HD Android Development] xZeroMancerx:
Just seems to me to be a glorified navbar option much like sidebar pro but I'm sure have different options...just my opinion but if its included in any ROM as it was with pacman than let the user decide...
[Desire HD Android Development] aditya desai:
add this line to build.prop file in the end -- qemu.hw.mainkeys=0 and no need to add # simply paste it at the end in miscellaneous section, save and reboot, ul get navi bar and now go to system u have pie controlls option to enable it, next enable expanded desktop,and now from power menu activate expanded desktop and ul have pie controlls.. ;)

Hit thanks if i have helped....:D
[Desire HD Android Development] aditya desai:
Activating pie controls

1) add this line at the end in build.prop file-- qemu.hw.mainkeys=0

2) save and reboot

3) go to settings --> system --> pie controlls and enable it

4) settings---> system--> enable expanded desktop ( use show status bar)

5) settings-- > system--> power menu and check expanded desktop

6) press hold power buton and activate expanded desktop from power menu, and pie controlls will be enabled :D

Note-- pie settings will be visible only after u add that line to build.prop file and reboot

Hit thanks if i have helped :D
[Desire HD Android Development] stefanero313:
running nightly from 15.04 and havent had a hot-reboot since.

looking really stable to me, usually I tendet to get 2-3x a day