yashsingh1/xdaforums huggingface dataset:
[HD2 Windows Phone 7 Development] YukiXDA:
Here is Already build hard keys functions remaping for all 7392 roms

I'll upload the second post of my rom thread (tuto&tricks) for the way of changing hard keys functions later.

First to know, there is a list of a function but there isn't a way to affect a long press or double press for now, it don't work like this. (but there is surely a way I won't search since it's good for me now)

For exemple When you long press Search (home button) you obtain Speech recogntition. If you affect Search to another key you'll obtain too Speech recognition when you'll long press this key.

Second, green and red hard keys run under screen off, it's not the function, So if you wan't a function not run under screen off, just use the template in which it's on another hard key.

So in templates:

Play is the same as bluetooth function: Play/pause on press, Skip on double press, Answer when receive a call and End call when in call, Quickly call a contact by speech recognition on long press.

Start is home screen on press, Full voice recognition on long press.

There is toggle and camera autofocus I've didn't used too.

The templates, choose yours:

Vol+ | Vol- | Green | Home | Win | Back | Red (Hard keys)

Green as camera:

1 Vol+ | Vol- | Camera | Search | Start | Back | Power

2 Vol+ | Vol- | Camera | Start | Search | Back | Power

Green as Multimedia/Answer/End call:

3 Vol+ | Vol- | Play | Search | Start | Back | Power

4 Vol+ | Vol- | Play | Start | Search | Back | Power

The same but don't work under screen off (in the pocket)

Or a broken Home key:

5 Vol+ | Vol- | Search | Play | Start | Back | Power

6 Vol+ | Vol- | Start | Play | Search | Back | Power

For those who have another brocken hard key (X):

7 Vol+ | Vol- | Start | Search | X | Back | Power

8 Vol+ | Vol- | Search | Start | X | Back | Power

9 Vol+ | Vol- | Back | Search | Start | X | Power

10 Vol+ | Vol- | Back | Start | Search | X | Power

11 Vol+ | Vol- | Power | Search | Start | Back | X

12 Vol+ | Vol- | Power | Start | Search | Back | X

For those who have a brocken hard volumn key:

13 Search | Search | Vol- | Vol+ | Start | Back | Power

How to proceed: (all is provided)

- Extract this zip in a folder (Base folder).

- Extract the part04.bin from Data.zip of your HD2 WP7rom and place it in this folder

- Run htcRIE.exe

- Open part04.bin (ignore errors)

- On the left choose OS/IMGFS

- Click on 'Save selected files' to save IMGFS.bin in the base folder

- Now on the right select a file and do CTRL+A to select all

- Click on 'Save selected files' to save all this files in the dump folder you can find in the base folder

- Replace the module (whole keybdpdd_htc.dll directory in dump folder) by the template provided.

- Run build.bat and wait the end of the process, you'll got a file named imgfs-out.bin

- In htcRIE select IMGFS on the left

- Click on 'Add files...' and choose imgfs-out.bin

- When finished your part04.bin is updated, replace it in Data.zip and flash

The package: HD2_WP7_7392_Hard_keys_remap

The methode: [HACK] Hard keys remaping [YukiXDA] [10/06]
[HD2 Windows Phone 7 Development] iba21:
... for those who have a brocken key... buy a new phone

:D

:p
[HD2 Windows Phone 7 Development] YukiXDA:
^^

I've seen many post with this sort of requests in other threads :)
[HD2 Windows Phone 7 Development] iba21:
good jobbbbb
[HD2 Windows Phone 7 Development] Zenk_77:
great:)

Could you add one more:

Vol+ | Vol- | Camera | Search | Start | Back | Power

but don't work under screen off:)
[HD2 Windows Phone 7 Development] xboxmod:
Thanks a lot for all your work.

happy to see fresh news for WP7 & HD2!
[HD2 Windows Phone 7 Development] YukiXDA:
You've got me :)

U're welcome.

I'll post the method in general WP7 since it can be made an all HTC devices under WP7 (but it depend on rom, the module has to be allocated at the same place)
[HD2 Windows Phone 7 Development] syther:
Hi Yuki!

First of all, i really appreciate your work !!

But i have a big question, for me it would be the perfect control, and i seen some users @ this Forum wishing them as well

Vol+ | Vol- | Play | Start | Menu | Back | Power (end call?)

I know you wonder, why there is no search, but some of us are just not using it, so it is a button we dont use :)

Would be really awesome and thank you again for all this movement in HD2 WP7 Developement

Regards
[HD2 Windows Phone 7 Development] YukiXDA:
Search is often useless but when you need it there is no other way ie search in marketplace.

No way to have End call on power since it's a build-in play function.

Or steal the source code at HTC :)

I've thought about Camera instead of search

Vol+ | Vol- | Play | Start | Camera | Back | Power I like it.

Can provide some other template, but change it by yourself isn't a hard work, I'll post the way when I'll have time.
[HD2 Windows Phone 7 Development] syther:
Hehehe, i just booked a flight to HTC HQ to get the source Code =)

Well i have to say good idea to put the camera function on the search button :)

I cant wait to get the guide to try my own templates :D:D

regards
[HD2 Windows Phone 7 Development] YukiXDA:
See you there ^^

I've pst the mehode in this thread for whose who are interested [HACK] Hard keys remaping [YukiXDA] [10/06]
[HD2 Windows Phone 7 Development] F4810:
Is it possible to have a map like this:

4 Vol+ | Vol- | Play | Start | Search | Back | Power

But where PLAY answers calls and POWER ends calls. Also if you hold POWER then it switches off the phone?
[HD2 Windows Phone 7 Development] arikyeo:
Umm... Sorry to trouble you... Is there any way to do this:

Vol+ | Vol- | Camera | AutoFocus | Start | Back | Power

or this

Vol+ | Vol- | Camera | Play | Start | Back | Power

I personally NEVER use the Bing search, and the button is like a white elephant on my phone now...
[HD2 Windows Phone 7 Development] YukiXDA:
Yes both are possible. I'm not often using search too, but for exemple to find a program in marketplace there isn't any other way. I've no time now since I finish an update to my rom but if you look at the tutorial you'll see it's not so complicated.

In case 1 you have to change 0A 00 7C by 0A 00 83

And the other to change 0A 00 7C by 0A 00 74

in the blue part at the top of the picture I've posted.

Regards
[HD2 Windows Phone 7 Development] vcyrusv:
Green as Multimedia/Answer/End call:

3 Vol+ | Vol- | Play | Search | Start | Back | Power

4 Vol+ | Vol- | Play | Start | Search | Back | Power

can I change "play" to "call history" without this complicated method? :confused:

or have you a finished file to use? ;)
[HD2 Windows Phone 7 Development] F4810:
Is it possible to have a map like this:

4 Vol+ | Vol- | Play | Start | Search | Back | Power

But where PLAY answers calls and POWER ends calls and if you hold POWER then it switches off the phone?
[HD2 Windows Phone 7 Development] joyqing:
great work!

hi, YukiXDA,

refer to http://xdaforums.com/showthread.php?t=1093169

it's a app that use camera bottun to capture screenshot, but our hd2 hasn't camera bottun, so we can't press "focus" bottun to capture.

i think we can use "home" key to map "focus" instead of "bing search", because i don't think "search" is useful.

so can you please provide a xap to change "home" key to map "focus" ?:p i know you're a great coder for WP7.

Thank you very much !
[HD2 Windows Phone 7 Development] YukiXDA:
Hi, I've just respond to your PM

If you want that look at my response few posts before.

I'm not going to make other templates now since I'll certainly change all OEM modules I can and since they are not located at the same place I'll have to post another pack for the new build.
[HD2 Windows Phone 7 Development] amitwats2004:
(Request) Key remaping for Headset as well

:confused:

As we all know that the headset << and >> buttons work on HD2 WP7 as Vol+ and Vol-. Can these buttons be remaped to << and >> again, which the headset is suppose to do ?

YukiXDA, please help.

Regards,

Amit
[HD2 Windows Phone 7 Development] YukiXDA:
Yes I think they can, look at the tuto.

You have to change 01 00 75 by 01 00 97 and 02 00 76 by 01 00 98 and headset will have his original functions and not volume decided by HTC.
[HD2 Windows Phone 7 Development] amitwats2004:
Hi Mr YukiXDA,

The result is negative. I changed 01 00 75 by 01 00 97 and 02 00 76 by 01 00 98 in 'keybdpdd_htc.dll' of Option 5 in your original post (i.e. key remapping to 5 Vol+ | Vol- | Search | Play | Start | Back | Power), but the headsett << and >> buttons are not doing anything.

What I did is that I edited S001 file of Option 5 as per your instructions & planted the modified 'keybdpdd_htc.dll' in Part04.bin. Then updated the Data.zip of your V5 with new Part04.bin. Finally installed the ROM.

Pls guide me if I am doing something wrong. :confused:

Regards,

Amit
[HD2 Windows Phone 7 Development] lihkin:
@ YukiXDA

Is it possible to remap the headset button as I am using the ROM by HD2Owner and the function tht he has given to headset button is not gud. So is there any way you can do that for me the function should be as they are in WinMo rom
[HD2 Windows Phone 7 Development] :
No it looks good, so sorry but perhaps functions have not been implanted in WP7 or the rest of the dll by HTC.

But perhaps you don't know it since I've discovered that by another user, when you double tap on play button it skip to the next song or radioFM preset.

You can do the same in his rom or simply use a template since he use the same base and for the moment modules are alocated at the same place.
[HD2 Windows Phone 7 Development] lihkin:
I want the same using HD2Owner rom n tht thing literally sucks i want it back 2 d normal function as v hav in WinMo rom

gone thru ur tutorial can't understand a single word out of it just wht i figured out is u need 2 replace d binary codes d rom building thing is quite tricky if u can post video it will b helpful or step by step tutorial will also work
[HD2 Windows Phone 7 Development] lkwjason:
Does it work on Mango builds? thanks
[HD2 Windows Phone 7 Development] ccrowe3:
Thank you very much. It worked perfectly for me.
[HD2 Windows Phone 7 Development] :
It works but you have to use the tutorial because the module isn't alocated at the same place and rebuild the rom.

But for that you have to wait for DFT tools since htcrie isn't updated to work with their beta mango.
[HD2 Windows Phone 7 Development] djind:
I am stuck at this point:

"Remplace the module (directory) keybdpdd_htc.dll in dump folder from the template you want.."

Could you please tell me what do I use from the template and what to exactly replace?

I have a directory called keybdpdd_htc.dll .. How do I use those templates?

Sorry, stupid question for sure.. I am new at this..
[HD2 Windows Phone 7 Development] :
No it's my phrase which is not correct.

I was meaning replace the module (whole keybdpdd_htc.dll directory) by the template provided.

You clould only change S001 in this directory since it's the only file modified.
[HD2 Windows Phone 7 Development] djind:
I see, that makes more sense. Thank you for the reply. And just one more question to show how much of a noob I am: You mean to just open S001 and edit in notepad or replace the whole file? Opening the file gives me a lot of weird figures and not a nice layed out page like your other thread. Again, sorry for the questions, but I have to start somehwere..

Thanks again.
[HD2 Windows Phone 7 Development] lemonspeakers:
+1 1- char! great!
[HD2 Windows Phone 7 Development] :
If you want to use one of this template you don't have anything to do except replace this file.

If you want to do another template yourself or for another build which hasn't the same dll you have to edit the file S001 but with an hex editor and not the notepad or you'll have what you've seen, the same thing I see when I'm going to dft website :D
[HD2 Windows Phone 7 Development] :
oups DXD :)
[HD2 Windows Phone 7 Development] djind:
Thank you very much for the explanation! Greatly appreciated!
[HD2 Windows Phone 7 Development] opticalmouse:
Hi folks, first of all sorry if the answer of my question persist on forum but I didn't find it!

So how to change that green button to call history on YukiXDA`s rom. Now it is ported to Play Music! And that sometimes starts music innocently in my pocket!
[HD2 Windows Phone 7 Development] exiva:
Thank you for the volume buttons being moved to green/home. That'll help get me by until I finish fighting with HTC's repair center.
[HD2 Windows Phone 7 Development] Tsury:
I have this:

Vol+ | Vol- | Play | Start | Search | Back | Power

But how can I make green button also open Phone application?
[HD2 Windows Phone 7 Development] grain:
how to do Press the "Talk/Send" button on your phone to open the phone dialer screen?
[HD2 Windows Phone 7 Development] yanzhiwu2011:
Thanks a lot for all your work.
[HD2 Windows Phone 7 Development] dark.angel:
Thanks for this solution

Thanks for this great solution. Only one question: is it working on 7720 WM7.5 Mango ROMs? Did anyone tested it?
[HD2 Windows Phone 7 Development] Zloy Pryanik:
Thanks man!
[HD2 Windows Phone 7 Development] MeTinnn:
is it possibe for remaping of headphone volume key (volume up/down) to skip (next/previous track) ...?
[HD2 Windows Phone 7 Development] eXtremeLT:
Would be nice to see a reupload of a pack, because original link is not working.
[HD2 Windows Phone 7 Development] homeworld1031tx:
Yes, I too am in desperate need of this package because I broke my volume rocker flex cable while replacing the digitizer :( so I don't have volume control anymore.

Thanks if anyone is able to reupload it!

Also, does anyone know the procedure on mango builds for this? What does Yuki mean in post 27 about using the 'tutorial' mode?

Thanks!
[HD2 Windows Phone 7 Development] CRC-Error404:
+1

my volume up is broken 2. Would be nice to find a howto working in mango builds.

any advice???
[Dell Streak 7] hashbrown:
http://xdaforums.com/showthread.php?t=1088804

This is not my work, I'm just cross posting. This app runs smoothly on the DS7 and look great. I can't say as much on the widget which is basic but its still alpha (alpha 5 now) and will be on market soon.
[Dell Streak 7] hashbrown:
Alpha7...now called Uber Music:

http://www.ubermusic.com/

Sent from my cm7 aria
[Dell Streak 7] Z4nd4r:
I take it this doesn't work with Music Beta by Google?
[Dell Streak 7] hashbrown:
Probably not, I'm not aware of any apps that work with that.
[Dell Streak 7] hashbrown:
developer has changed interface and it does not look like wp 7 phone any more. Available on the market now ubermusic, I personally like the alpha versio better and I am sticking with that.
[Captivate Q&A, Help & Troubleshooting] jkl555:
I follow the instructions found in the forum how to compile the kernel. I try two different froyo sources JL1 (Rogers) and KB1 (AT&T) on my I896 and the results are the same.

What I notice there is a short moment (< 1 second) the screen flickers between the two splash screens. That is, the screen flickers between the first screen loads from /mnt/.lfs and the second boot screen (drivers/media/video/samsung/logo_rgb24_wvga_portrait.h). Other than that, my phone is running okay.

I tried other kernels (the stock, the ones with lagfix from supercurio) and there is no flickering problem.

So it must be something that I did in my own kernel. But I couldn't figure what the root cause is.

Can someone who has experience in kernel compiling share your experience with me ?

Thanks in advance.
[Captivate Q&A, Help & Troubleshooting] jkl555:
[SOLVED]

I poke around in the GitHub and I notice supercurio is using kepler_rev02_defconfig as the base for the I897. So I switched to this config and the flickering is gone.

Originally I was using aries_eur_defconfig according to the README from Samsung open source.
[Hero CDMA Q&A, Help & Troubleshooting] flashinglights:
I keep on getting this error when trying to flash a custom ROM into my phone. Is there a way to manually apply the ROM?

I tried booting into recovery then conecting my phone through usb and running the following commands through cmd: "adb push update.zip /sdcard/update.zip". then it tells me if I want to push "update.zipj", but once I press enter it gives me, "error: device not found"

Here's the cmd log:

C:\Users\Admin>cd\

C:\>cd\android\android-sdk\tools

C:\Android\android-sdk\tools>adb devices
List of devices attached
000000000000 recovery

C:\Android\android-sdk\tools>adb push update.zip /sdcard/update.zip
protocol failure

C:\Android\android-sdk\tools>
C:\Android\android-sdk\tools>adb push update.zip /sdcard/update.zipj
error: device not found

C:\Android\android-sdk\tools>

Am I doing the manual flashing corrrectly? I figured manually flashing the ROM would stop the error from coming up. Could someone either show me or point me in the right direction on how to fix this error and/or possibly how to manually flash the ROM in detail. I've already searched and I keep seeing threads with people asking for similar problems but with no real answer.

any help is appreciated.
[Hero CDMA Q&A, Help & Troubleshooting] andythegreenguy:
1. adb push does not flash a ROM - just copies the file to the SD card

2. Looks like you are in recovery and you cannot push a file, unless you mount the SD card in recovery

Not sure what you mean "manually apply the ROM". ROM flash has to be manual, there's nothing automatic about it.

And, if you had really searched... I am sure you would have found atleast 10 references on how to flash a ROM.

Anyways, here's a link that will give you enough information to just about do anything with your CDMA Hero: http://xdaforums.com/showthread.php?t=1063843. BTW, this is a sticky right at the top of where you posted this question...
[Hero CDMA Q&A, Help & Troubleshooting] il Duce:
BOOM. lol. Also the status 0 is an improper mount command, or you have a bad version of busybox. What zip were you trying to flash out if curiosity? And are you rooted, if so how did you do it?
[Hero CDMA Q&A, Help & Troubleshooting] flashinglights:
What I meant when I said "manually" I meant to do it through command prompt instead of Rom manager or through recovery. And I was mainly searching for a fix for the status error I was getting. Which there is no info about that in the link you posted, however it does help with flashing my Rom through command prompt. :]

@il duce It's called "nfx speedy kingdom". I've been using the salsa builds in the development section, but I came across this Rom and it says it has everything working including Bluetooth :) so I wanted to test it out. Ill try using the tutorial on flashing roms without an sdcard and see if it works.
[Hero CDMA Q&A, Help & Troubleshooting] andythegreenguy:
1. By the looks of it, adb is not recognizing your device... so, first and foremost you will have to setup everything properly for adb to connect

2. Even if adb recognizes the device, to the best of my knowledge, you cannot flash anything through adb, you must have confused it with fastboot. And, that too is possible only if you have engineering spl
[Hero CDMA Q&A, Help & Troubleshooting] flashinglights:
One of the links from the thread you linked to show how to push the rom to system/data and use cmd to flash it from there, but the rom I'm trying to flash is over 300mb so it doesn't fit :/

I guess I'll try contacting the dev and see if he knows of a solution, might be that the file isn't correctly packed or signed?

edit: flashing using RA recovery it gives me the following:

E:Missing file:
system/lib/libvoAMRWBDec.so
E:Verification failed

Installation aborted

Does that mean it's the ROM that's corrupted?
[Hero CDMA Q&A, Help & Troubleshooting] il Duce:
Dude wtf... thats an evo rom.
[Hero CDMA Q&A, Help & Troubleshooting] il Duce:
Also, andy is correct 100%. Cease and desist before you bork your phone.
[Hero CDMA Q&A, Help & Troubleshooting] flashinglights:
o_o he has it under heroc roms.

http://sprint.hero.ptyork.com/?cat=1

Edit: Sorry everyone for the questions, I just pm'd nfinitefx and he cleared out everything for me.
[EVO 4G General] KBizzle:
So, its been 5 days since our official release of gingerbread but only two roms are using it. Hell I'm even running a Rom built off the shift port. Is it junk or something?? I figured by now, we would have a ton of devs using it. Not trying to raise Hell, just curious. Figured a Rom built off of it would be much more stable and faster than a port from another phone.
[EVO 4G General] novanosis85:
Patience.
[EVO 4G General] mbaseball3:
Because the official official is coming out on the 9th. The 3rd was the pre release. So the devs are waiting. As already stated, patience.

Sent from the Evo
[EVO 4G General] k2buckley:
I'd guess that its because it is only sense 1.0. MikG and Synergy are both solid and stable, and they have sense 2.1. I think that for most people, going back to sense 1.0 isn't acceptable. Especially when the shift ports are as stable as they are. I'm sure someone will work on the OTA rom though.
[EVO 4G General] k2buckley:
I don't buy that one.
[EVO 4G General] KBizzle:
Thanks. I wasn't aware it was sense 1.0. That's really disappointing. As for the comments about the release date being the 9th, what makes a difference? Is it gonna change in some drastic way? I doubt it.
[EVO 4G General] HipKat:
References please....
[EVO 4G General] rockypr:
You answer yourself the Question, it its becuase the Update is JUNK, only usefull thing is the Kernel and the files Devs can take out, to make Ports better, other than that is the same s#it....
[EVO 4G General] k2buckley:
Some dude named bluescreen said that. He's always wrong and full of useless bs
[EVO 4G General] mbaseball3:
Did not know that. I retract my statement.

Sent from the Evo
[EVO 4G General] kf2m:
And sometimes a blind squirrel gets lucky, and finds a nut. But I do have to agree with you.
[EVO 4G General] SilverStone641:
Nope.

Source: http://reviews.cnet.com/8301-19736_7-20068287-251.html
[EVO 4G General] HipKat:
I figured that's where he got it from.... :rolleyes:
[EVO 4G General] k2buckley:
Yea, he's always starting rumors. Either that, or he just really believes the things he says...somehow. He also said the Evo 3d would have nightvision:rolleyes:
[EVO 4G General] KBizzle:
Ha ha. You didn't know that. Also has the ability to bake muffins, I heard.
[EVO 4G General] kingdazy:
it can poach eggs. sometimes I let it sit under me balls for about an hour til it heats up real nice...
[EVO 4G General] phatmanxxl:
As hot as mine gets while charging it may be possible.
[EVO 4G General] splmonster:
It's so weird my EVO stays luke warm during charging periods. I always find it odd how some can be totally not hot, and then others will get extremely hot. I would have to say my Pre would always get the hottest on the Touchstone.
[EVO 4G General] KBizzle:
Oh, one last thing. Cant Cyanogen use our release to make CM7 more stable?? I think sense roms and AOSP roms both have benefits that I like but its beyond me why Cyanogen cant get GPS to work without having to tickle your sphincter with your big toe everytime you switch roms.
[EVO 4G General] mattykinsx:
You are welcome to develop yourself if you don't feel that the free service provided around here is fast enough.
[EVO 4G General] KBizzle:
And you are welcome to get your vision checked by any of your local vision providers. I wasnt complaining, just as my OP stated. I was just curious and with my curiosity I was genuinely answered with something I was not aware of. Now crawl back under your bridge or troll elsewhere.
[EVO 4G General] mattykinsx:
Ahh name calling.

It never gets old on the ol' XDA forums, does it?

A quick look around the forums combined with some thought would have easily answered this question.

Isn't that what you were promoting doing in this thread?

I guess, according to your own submission, we should all flame you now?