yashsingh1/xdaforums huggingface dataset:
[myTouch 3G Slide Android Development] squidbutt:
YESSS

i started a thread on this and was hard into figureing this out

thanks for the help
[myTouch 3G Slide Android Development] falken98:
That i'm not sure about, i'll do some digging and see.
[myTouch 3G Slide Android Development] tubaking182:
glad you asked this, that is what i want my genius button to be and it bugs me that it's not since i hit it all the time when trying to hang up on people(came from G1 so that's where my button was) i will do this later

managed to switch fn and menu on hw keyboard, it was bugging me that i constantly hit menu when trying to hit fn(bad button planning by HTC) but now i have the keys where i want them may have to make a few changes later as well to other stuff(camera and focus should do something else)
[myTouch 3G Slide Android Development] squidbutt:
its not working whenever i put in adb pull "" it just gives me all the adb options..
[myTouch 3G Slide Android Development] fermunky:
This is actually working this way for me. If on a call, I can hold it for about half a second, it will end the call. Press it for half a second again, it will put it to sleep. If I press and hold the key, it will bring up the Power options menu. This is after I mapped key 187 to ENDCALL WAKE_DROPPED.

Edit: Also, I love "187" being the Genius key :)
[myTouch 3G Slide Android Development] falken98:
Sure you have it typed correctly?

D:\android-sdk-windows\key> adb pull /system/usr/keylayout/latte-keypad-v2.kl

358 KB/s (3675 bytes in 0.010s)
[myTouch 3G Slide Android Development] falken98:
That does turn out rather well for that button! No more annoying "say a command". :)
[myTouch 3G Slide Android Development] turboyo:
to make it a search key I:

key 187 FUNC_4

to:

key 187 SEARCH

??
[myTouch 3G Slide Android Development] android007:
Great find man, I switched it to end call/dropped too and its working perfectly. If anyone figures out before I do to make it the sleep function please post.
[myTouch 3G Slide Android Development] falken98:
FYI, after you remap the key it seems to be safe to go ahead and remove:

vsuite.apk, vsuite.odex, VSuiteApp.apk, VSuiteApp.odex

If you have no interest in the genius button function.
[myTouch 3G Slide Android Development] turboyo:
what does the WAKE_DROPPED mean

btw when I pull the file where does it pull to? my sdcard or do I have to put a directory? Someone should just upload the stock file :)
[myTouch 3G Slide Android Development] falken98:
WAKE: When this key is pressed while the device is asleep, the device will wake up and the key event gets sent to the app.

WAKE_DROPPED: When this key is pressed while the device is asleep, the device will wake up and the key event does not get sent to the app.

If we figure out how to put the device the sleep there would actually be a difference. :)
[myTouch 3G Slide Android Development] falken98:
It pulls it to the computer you ran adb from (in the directory you are in), you then edit the file with a text editor and push it back up.

Since you have to edit the file and push it back you might as well just go ahead and pull it first, seems more annoying to try and download it first. :)
[myTouch 3G Slide Android Development] turboyo:
Im getting the same thing with it just listing all the adb commands.. Ahh things like this were so much easier with SUFBS lol, all I would have to do is go to the directory and edit the file right in there
[myTouch 3G Slide Android Development] falken98:
That's odd... copy and paste what you typed and what the result was.
[myTouch 3G Slide Android Development] falken98:
Unless some older versions of adb required the destination argument... only thing I can think of...

try:

adb pull /system/usr/keylayout/latte-keypad-v2.kl latte-keypad-v2.kl
[myTouch 3G Slide Android Development] turboyo:
there's the print screen ..I'll try that next thanks..
[myTouch 3G Slide Android Development] falken98:
That's it... in my version the destination argument it optional, its required in yours. It should work with the above command, i'll modify the instructions!

Edit: I can't be expected to know all these things, i've only had an android phone for 2 weeks. :)
[myTouch 3G Slide Android Development] turboyo:
No prob man thanks a lot for info
[myTouch 3G Slide Android Development] kingofyo1:
welp, just got done successfully remapping genius button to end call/poweroff/poweron... all i had to do was just as he said delete the func_4 thing and put in endcall WAKE_DrOPPED. Thanks man, you're a lifesaver
[myTouch 3G Slide Android Development] fermunky:
As I mentioned, it is doing the sleep function. If not on a call, if I press it for about a half second, it goes to sleep. This was done by mapping key 187 to endcall wake_dropped.
[myTouch 3G Slide Android Development] falken98:
Seems to do the same lock screen function as short press on the power button. Is that the sleep function? This is the only phone I have experience with, didn't know if the sleep function was something further or not.
[myTouch 3G Slide Android Development] bhilgeman:
I was able to pull the file just fine but when I go to push it back adb says directory not empty ???
[myTouch 3G Slide Android Development] kkeller416:
same issue here dont know how to use adb overwrite file anyone have any thoughts
[myTouch 3G Slide Android Development] bhilgeman:
Well, I wasn't doing it in recovery, I'm going to go into recovery and mount /system like the instructions say and see if thats it

EDIT: Yup, that was it. I needed to actually follow the instructions and go into clockwork recovery and mount system :) derrr....
[myTouch 3G Slide Android Development] fermunky:
Sorry, I assumed "Sleep" was used the same as "Lock", but no, I am not aware of a sleep mode.
[myTouch 3G Slide Android Development] fermunky:
Bummer. I pulled those four to my pc before rm'ing them just in case. But after reboot, it doesn't appear to have free'd up any space. Even though the four files are 8.56 MB on my hard drive, my Memory Status widget showed no change in space. Linda File Manager also shows those files didn't return upon reboot... weird.
[myTouch 3G Slide Android Development] turboyo:
It doesn't show you any extra memory bc thats the system partition not the one for installed apps..they can't change the size of that with out a hacked up spl or something..so removing the apps just frees up system partition memory and maybe some cache that it had in your internal storage. You guys having trouble pushing the file back did you rm the original file?
[myTouch 3G Slide Android Development] fermunky:
That answers my question. Your question to those having trouble with push... they forgot to mount /system.
[myTouch 3G Slide Android Development] turboyo:
this worked out great for me!! if I hold it for half a second it brings up search if I hold it down it gives me an option to open up voice search or open up quick settings .. thatll come in handy for sure!
[myTouch 3G Slide Android Development] Wabster6:
how'd you get search to work ? i remapped it and it automatically goes to voice search
[myTouch 3G Slide Android Development] tubaking182:
i haven't remapped it to search, but i was using the hero rom for a few minutes and if you tap genius you get search, but holding it gets you voice search
[myTouch 3G Slide Android Development] missxoash:
+1

:) thanks for this, worked flawlessly.
[myTouch 3G Slide Android Development] slinky1914:
I remapped the genius button to call. Love it and the instructions where easy to follow thanks.
[myTouch 3G Slide Android Development] rbgmode:
getting issues

I am either getting the directory is empty, I am not able to do the command in production builds, or the permission denied. Is there a update.zip that could do this? :p

Edit: .zip UPDATE WORKS!

Okay so guys I was able to just dump the modified latte-keymap-v2.kl into the SlideMeRoot2.zip from Eugene373

basically pull the file(should be able to even if on read only system error I was getting)

adb pull /system/usr/keylayout/latte-keymap-v2.kl

then open SlideMeRoot2.zip (I used winrar) then placed moded kl file in /system/usr/keylayout/

then saved it (selected best compression left all the rest default.

Then flashed via clockwork recovery. Voila got SlideMeRoot2.zip and with the ENDCALL mod.

If you want I can upload the modified zip to just update with the change to ENDCALL

(I am not sure if by me posting it Eugene373 might take it the wrong way if so I will remove it.)

Every dev is worthy of their hard labor and I don't want to get credit for this. All I did was change 1 simple file I am not a dev. Im a n00b.

EASY WAY: Just download and flash this:

edit : Link on my site for the new SlideMeRoot2.zip with the latte-keymap-v2.kl set 187 to ENDCALL WAKE_DROPPED
[myTouch 3G Slide Android Development] btate0121:
Sorry guys.. maybe I'm just slow. But I'm getting permission denied on the push back. using notepad++. I confirmed the root by installing wifi tether.. got super user access and i'm running fine and now i'm in clockwork and cant figure out for the life of my why i can't get this thing to load... i am mounted as well. when I go into the clockwork partition menu the first 4 options are "unmount" bla bla bla.... so it looks like clockwork already had them mounted. I've unmounted, remounted and all over again 5 or six times... nothing..

any advice?
[myTouch 3G Slide Android Development] eugene373:
You need to repair the file in adb once you push the File.

chmod 0755

& if that sitll don't fix it, then you will need to

chown root.root ( File )

then

chmod 0755 ( File )
[myTouch 3G Slide Android Development] btate0121:
The problem is the push is unsuccessful. I went to the link in the first post regarding the hero key edit and saw the command "adb remount". This doesn't work for me either. I get "remount failed: operation not permitted". looks like i'm locked out of something

pulling works though... I have the file.. i've edited it.. but I can't push it back.

i've never done the eng rom... could that be the issue?
[myTouch 3G Slide Android Development] eugene373:
You need to boot into ClockworkMod Recovery ( Hence Why I highly Recommend Flashing the Eng Build for the Recovery, being it has Test-keys & Dooes not require Factory signed update.zip ) Next, you need to mount the system partition & then Push the Files Over. You can not Push any file to the /system while the Phone is Running,
[myTouch 3G Slide Android Development] btate0121:
Thanks! but I AM in clockwork.. looking at the "partions menu" where the first four options are "unmount" various forms of storage. the first of which is system. So it seems to be mounted already. I can pull just fine.. pushing is a problem. Here's a question... once I flash the eng rom.. can i get back to the stock rom at any point? Just in case ya know?

sorry to be giving you such a hard time eugene. I really appreciate your patience. Trying to understand things here.. new to the rooting work as it were but i've hacked a few wimo devices.... totally different.. i know. LOL. bear with me please.

so the eng rom is something i pretty much HAVE to do if I want to customize this thing?

EDIT: Ignore that last question.. read the thread. thanks eugene!
[myTouch 3G Slide Android Development] eugene373:
Yes Sadly :)
[myTouch 3G Slide Android Development] btate0121:
eng rom loaded

keymap modded

word to Geico "now that's the stuff"

Thanks Eugene!
[myTouch 3G Slide Android Development] turboyo:
make a nandroid, flash the eng rom. restore your nandroid, and you will still be able to get into recovery by just doing the update.zip and be able to push to the system and rm from the system once mounted
[myTouch 3G Slide Android Development] btate0121:
I did the nandroid backup pre-eng rom already.. restoring now to see what it do. Thanks guys!
[myTouch 3G Slide Android Development] eugene373:
Make sure you Update the Radio after Flashing the ENG-Build ;)
[myTouch 3G Slide Android Development] btate0121:
I may have missed something... update the radio?

secondly... is there a way that once I have the .kl file set the way I want to have is stored on the sd card.. and then be able to copy it to the system from the slide (as opposed to using adb push to upload the file).
[myTouch 3G Slide Android Development] poetik517:
is there a way for the remapping to work as a shortcut for the app QuickDesk? such as short press for QuickDesk and long press for genius?

edit: nevermind. figured out how to use the home button. had it setup wrong.
[myTouch 3G Slide Android Development] turboyo:
update your radio. flashing eng downgraded your radio even if you did a nandroid.

If there was a console in recovery mode you could cp to system through there but there is no console/terminal. There are apps like root explorer and SUFBS that do let you copy and paste file in a nice UI with folders and such of the system but we currently cant mount the system while booted normal so no you cant do that for now.
[myTouch 3G Slide Android Development] mayormullet:
I've actually been able to do this successfully without going into clockwork recovery- just go into adb shell or terminal/ConnectBot on the phone

$ adb shell

$ su

$ mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system

pull/edit the latte-keypad-v2.kl file, make sure it's saved as .kl file not .txt, push it back, and reboot. that's it.
[myTouch 3G Slide Android Development] rbgmode:
rbgmode

why not just do it the easy way? read my previous post in this thread one page back
[myTouch 3G Slide Android Development] mayormullet:
Some might not want to reflash their entire rom just to basically edit a little text file, or they might want to remap the key to search or camera or something else besides endcall...but hey, whatever works ;)
[myTouch 3G Slide Android Development] falken98:
You sure the file actually changed on the android? You shouldn't be able to write to /system not in recovery, even if you do remount it as rw, as the spl security does not allow it.
[myTouch 3G Slide Android Development] reukiodo:
key map app

I've been able to 'adb remount' while booted in eugene's FroyoRC1

http://xdaforums.com/showthread.php?t=721515

Dunno if others have had this problem... but with FroyoRC1, editing latte-keypad.kl does nothing for me. I needed to edit the qwerty.kl (in same folder) in order to change my 187 to something useful.

On a side note, does anyone know of a 'key test' app that runs once booted? When running the one built into CMR, I can't get any of the alternate key codes! (like 1!2#_3$-...etc.) I'd like to remap some alternate keys so I can add |[]{}<>\
[myTouch 3G Slide Android Development] reukiodo:
Thanks!

This works awesome as the green Phone/Call button that I miss so much from my G1. I have the Power button on top to end my calls and work exactly like the End/Power button from the G1.
[EVO 4G Q&A, Help & Troubleshooting] nief1313:
Hey everyone, I just rooted my device and was looking for a custom rom and was wondering if anyone could give me any suggestions. I know all the roms offer something a little different depending on what the user is looking for, and was looking for a rom that had all the bloatware removed, optimized for performance and battery life, and maybe have a coll updated ui. Im looking forward to your suggestions

Also,since i just rooted it do i need to flash the radio before or after i put on a custom rom(or do i need to do before and after)

also.also, i backed up my system using titanium backup right before i rooted it, will this allow me to put back all the apps i downloaded on my new rom? if so, how do i do this.
[EVO 4G Q&A, Help & Troubleshooting] madsquabbles:
i don't always look at my phone screen and sometimes just like glancing at it to see if any calls/texts have come in. 5 min limit just isn't cutting it. is there a way to keep it on until i check my messages?

this is the only phone i've owned that auto shuts off the notification led in such a short amount of time.
[Hero CDMA Q&A, Help & Troubleshooting] huedawg:
My phone was acting crazy today so I rebooted the phone and now it is stuck on the htc boot screen . I am running Fresh Toast v2.1 and haven't made any changes for over a month . I try go into recovery by holding the home key but it does nothing , just hangs . I tried to see if fresh kitchen would see the phone but it doesn't . Any help would be greatly appreciated . I have noticed that the phone will restart after hanging for about 5 mins but of course it still hangs .

I cant get into recovery , however, the only screen that comes up is the screen with 3 droids on skateboards and it says
[Hero CDMA Q&A, Help & Troubleshooting] huedawg:
I should add that when I hold down the home and power key , it doesnt take me into recovery anymore , it takes me to the screen with 3 droid on skateboards and says clearstorage .
[Hero CDMA Q&A, Help & Troubleshooting] cbwhat:
im allso having this problem i have tried like everything to restore my phone but still just stays on the htc boot screen.
[Hero CDMA Q&A, Help & Troubleshooting] huedawg:
Can you get into your recovery?
[Hero CDMA Q&A, Help & Troubleshooting] cbwhat:
i can get to the menu where you wipe and can go to usb toggle and restore to a custom rom yes
[Hero CDMA Q&A, Help & Troubleshooting] huedawg:
Do you have a nandroid backup ? If so , try restore . I cant even get into my recovery . If dont work maybe try Turn it off and try to hold the power and home key. IF you get stuck again, hard reboot again (battery), load up, THEN turn it off again. This time, turn it on with the (-) volume button held down.
[Hero CDMA Q&A, Help & Troubleshooting] Dave2582:
Have you tried taking the battery out for 30 seconds and putting it back in?
[Hero CDMA Q&A, Help & Troubleshooting] cbwhat:
yes i have
[Hero CDMA Q&A, Help & Troubleshooting] cbwhat:
i have no problem getting to the recovery screen its just that i have tried different roms and they all dont work, even ones i have had installed on my hero before. it just stays at the htc boot screen. i have tried reformatting my sd card and partioning it and repartioning it. wiping everything. my nandroid backup didnt work either.
[Hero CDMA Q&A, Help & Troubleshooting] huedawg:
Sounds like its time to ruu
[Hero CDMA Q&A, Help & Troubleshooting] Dave2582:
Well, if worst comes to worst, just run the RUU and start over again.
[Hero CDMA Q&A, Help & Troubleshooting] cbwhat:
what is ruu?
[Hero CDMA Q&A, Help & Troubleshooting] huedawg:
Click on the link above that Dave provided and download that . Put it on your sd card and flash it . This will take you back to stock but you get to start the fun stuff all over again . Last case scenario . It could be worse , I mean , at least you have options . As of now , I have no way of communicating with my phone and no access to recovery . I might be screwed .
[Hero CDMA Q&A, Help & Troubleshooting] cbwhat:
i went to usb toggle and put the ruu on the root of the sd card then i went to flash zip from sdcard and it says no zip found. what do i do?
[Hero CDMA Q&A, Help & Troubleshooting] Dave2582:
It's a Rom Utility Update. Just download the RUU, install it, then run it. Follow the directions within the RUU. You will have to plug your phone to the PC and let the RUU do its thing. When it's completed, your phone should have a factory stocked ROM.
[Hero CDMA Q&A, Help & Troubleshooting] huedawg:
Just go into recovery and choose flash . Find the ruu that you added to sd card and flash it .
[Hero CDMA Q&A, Help & Troubleshooting] Dave2582:
I believe it's an .exe file. I don't think you can flash it through recovery.
[Hero CDMA Q&A, Help & Troubleshooting] cbwhat:
well i pluged it in thought the usb during boot and in the recovery usb toggle and when i run the ruu i get a error 170 usb connection error
[Hero CDMA Q&A, Help & Troubleshooting] Dave2582:
Try turning the phone off completely, then run the RUU again.
[Hero CDMA Q&A, Help & Troubleshooting] subcypher:
Isn't there another way to boot? I remember something about using the down volume button, the back arrow and booting... that's probably not the actual keys, but I know it was different from home and power. Anybody?
[Hero CDMA Q&A, Help & Troubleshooting] cbwhat:
same error
[Hero CDMA Q&A, Help & Troubleshooting] Dave2582:
I copied this from geekfor.me

Try putting your phone in to fast boot and then running the RUU

With it powered off:

hold volume down and hit power

After you get in to hboot:

hit volume up

Now try starting the RUU

You should be running it through your comp like you are, not on the sdcard of the phone.
[Hero CDMA Q&A, Help & Troubleshooting] subcypher:
That's what I was thinking of! Glad you found it.
[Hero CDMA Q&A, Help & Troubleshooting] cbwhat:
thanks!!!!!!
[Hero CDMA Q&A, Help & Troubleshooting] Dave2582:
Glad you got it going again.
[HD2 General] lalombriz7:
Hello Guys

i'm looking for some help right now, I searched on the threads but didn't find the exact answer I'm looking for.

I currently have a HD2 - TMobile and before this I had an iPhone 3GS. a beautiful thing about the iPhone was the ability to keep the static or DHCP setting according to the network you are connected, in example at work my network I connect to X net and use Static with Y address, and at home I connect to the Z net and have a DHCP address, but with the HD2 I have to manually swap from those and then type all the information when I want to go static.

is there any application that do this like the iphone does?

thanks
[HD2 General] lalombriz7:
anybody???
[HD2 General] leepriestenator:
Was there an application involved that helped you do this with the iPhone?

I'm not sure if what you're asking can be done natively on WM. I'll give it a look and post back.

Alternatively, you could setup your wireless routers to reserve specific IPs for your HD2 from the DHCP pool.
[HD2 General] lalombriz7:
no, there wasn't an application, it was native on the iphone OS settings which "recorded" this setting.

it remembered according to the network it was connecting to, the IP address when Static or DHCP in network not requiring this.
[Touch Pro, Fuze Android Development] ForteD:
please help me, how to android received 2 partition and run in partition 2nd ? I split my MMC to 2 partition but android can show only 1st partition, although in WM and PC I can see 2 partition. I want 1st partition for storage and 2nd partition for android

EDIT:

adding hamagc link to first post.

http://xdaforums.com/showthread.php?t=619290

http://balsat.hopto.org/howto.php?subaction=showfull&id=1268738790&archive=&start_from=&ucat=3&
[Touch Pro, Fuze Android Development] hamagc:
http://balsat.hopto.org/howto.php?subaction=showfull&id=1268738790&archive=&start_from=&ucat=3&

here is a nice how-to.
[Touch Pro, Fuze Android Development] ForteD:
I can't understand it =.='

folder andboot copy to 1st partition fat32 or 2nd partition ext2 ?

if format 2nd partition with ext2, WM can't see it, so I can't open haret
[Touch Pro, Fuze Android Development] arrrghhh:
Just use the sqshfs method. The ext2 method is more for advanced users...
[Touch Pro, Fuze Android Development] hamagc:
http://xdaforums.com/showthread.php?t=619290

posted here as well just incase anyone else needs the help.
[Touch Pro, Fuze Android Development] SweJap:
I connected my HTC, choosed active sync and checked if there was any active connection between Linux and the phone to start follow the guide you linked to.

My phone doesnt show up and can't find a answer to why. You might know what the problem could be?
[Touch Pro, Fuze Android Development] hamagc:
windows mobile won't work with linux (active sync). you need active sync on in windows before you boot android to have a connection with android and the computer (windows or linux). however if you are trying to partition your sdcard, you simply keep the phone in windows mobile, plug it in via usb and select the mass storage option (usb drive). this will show it as a drive in linux and you can use gparted from there.

what are you trying to do?

if you are doing xdandroid build, the latest build does not use more than one partition. if you are using the neopeek build, it has an installer that takes care of everything for you.