yashsingh1/xdaforums huggingface dataset:
[G Tablet Android Development] roebeet:
That's my guess as well. It's like looking for a needle in a haystack, unfortunately. Also ActiveSync is missing.

the problem is that the GApps v2 zip has things I definitely DON'T want to add, like Twitter and Facebook (those should go in the userspace). So it's a question of just filtering things out. 2.1.0 is ready to go, except for this - I don't want to have to go through this piece again. :)
[G Tablet Android Development] jacindc:
Those of us who are about to benefit salute you. :)
[G Tablet Android Development] roebeet:
It's wrapping up - 2.1.0

Will be a big update, still a supplement but, for gapps, a data wipe will be needed to fix Contacts / Calendar. I ripped out a few things from GApps v2 but most of it is there.
[G Tablet Android Development] cjbailey75:
so download

upzip in sdcard with recovery and update.zip

CWM

data wipe

then install update.zip

everything should run at that point

Big ups my brother go ahead and post been waiting at work allday for you to finish.

lol
[G Tablet Android Development] jacindc:
That would be the concise version, yes. :) Just be sure to run the update.zip before rebooting after the data wipe, so that the GApps are in place before you get to the Setup Wizard for the first time.
[G Tablet Android Development] cjbailey75:
If i didnt do a data wipe what would the result be?
[G Tablet Android Development] jacindc:
You have to do the data wipe so that the SetupWizard runs again. I don't think anyone's found a way to just have the GApps files in place and have the Calendar/Contacts sync without getting SetupWizard re-run, and all of that Google User data needs to be wiped off the tab.

Hopefully someone will figure out a way to get the Google account data *completely* rewiped and have the setup wizard run again without a wipe of all other data, but no one's piped up so far.

Note that "data wipe" doesn't mean you'll lose the files you've copied to /sdcard (music, photos, etc.). It's just all the installed apps and their data.

If you have Titanium Backup, you can backup all your apps (and data) to make the restore process a lot easier.

You'll also need to do the Market Fix again.
[G Tablet Android Development] P_6:
Nevermind... 1st post got updated, and it looks like I'm borked.
[Legend General] MikaelG:
Hi,

Can anybody extract the APK for the LED Torch app preinstalled in Froyo?

I saw that the one include with Froyo on the Desire works with a Desire with Eclair. (But doesn't work with my Legend) So I would like to check if the one included in Froyo for the Legend will also work with the Legend on Eclair.

The package name is com.htc.flashlight

Thanks!
[Legend General] aikon96:
U don't have to wait....

Try this APP: Lamppu

But first u have to (Soft)root your Legend with (Universal Androot)

After that, install superuser APP. Now start Lamppu and allow superuser rights...

Now u can use your LED as torch.

Tried it self on my legend v.2.1
[Legend General] denisman:
Sure about the name?

The only thing I found in the Modaco ROM was Flashlight.apk

Then again...I have no clue what I am doing :D
[Legend General] gallery:
above file is not working
[Legend General] MikaelG:
Yeah it doesn't install :(
[Legend General] denisman:
Ok gentlemen, one more try.

Extracted, re-zipped and signed the apk using apk-manager.

Removed the system app from my phone using TitaniumBackup and installed the signed apk through Root Explorer.

Works for me. No guarantee that it does for any other ROM or Android version though.

Sorry for the video but I just found out how to do screencasts and love it :D

Its German but you should be able to understand it.

Notice that it is now uninstallable and listed as downloaded app.

[YOUTUBE]xiSNCmATCMQ[/YOUTUBE]
[Legend General] bullchicken:
Installed and ran for me in stock 2.1 but it didn't do anything with the flash when playing with it :(
[Legend General] MikaelG:
Thanks for trying!

This one is installing correctly, and also loading correctly, but it doesn't light up the LED.

So it isn't working :(
[Legend General] denisman:
Are you phones rooted?
[Legend General] BlaY0:
First of all, you have to have deodexed apk and second, you need to set right permissions in sysfs.

Sent from my HTC Legend
[Legend General] denisman:
The apk is deodexed. As for the permissions. No clue how to set them right :D

Had to read up an hour last night just to learn enough to extract it. Big newbie here hehe. Guess I'll check some threads about sysfs permissions and try it again later.
[Legend General] BlaY0:
Sysfs is everything under /sys directory. File /sys/class/leds/flashlight/brightnes should have read-write permission set for everyone.

Sent from my HTC Legend
[Legend General] denisman:
Ahhh thanks! I guess I understand now.

Ok I just flashed whitetigerdk's rev03 ROM which is a rooted 2.03 ROM.

Than I did the following in adb shell:

chmod 777 /sys/class/leds/flashlight/brightness

checked permissions with:

cd /sys/class/leds/flashlight
ls -l

and it has rw permission for everyone now.

-rwxrwxrwx root root 4096 2010-12-01 16:29 brightness

Problem is, that booting the phone resets the permissions.

EDIT:

I just repeated the procedure while the phone was booted in normal mode.

Permissions successfully changed AND flashlight is working correctly, including all three different light settings!

Still, a reboot resets the permissions.

Guess I have to find a way to make this change permanent now and all is done :D

Hah so cool. Never used chmod or any other linux command until today. Had to google everything while I was testing. Nice how much one can learn here.

Another EDIT:

Found something else that is interesting.

http://developer.android.com/reference/android/Manifest.permission.html#FLASHLIGHT

Would adding this to the AndroidManifest.xml help aswell? I'd do it myself but I have to work soon. Just tried it decoding the xml with AXMLPrinter and adding it. Unfortunatly I don't know how to save the xml in the right format again and just saving it corrupts the apk. If noone else wants to give it a try I'll check back after work.
[Legend General] BlaY0:
Yeah... this is done via init.rc which is inside initrd image. So you have two options... tweak init.rc (you would need to unpack boot.img image and extract initrd image, edit init.rc, make new initrd image and construct back boot.img... this can all be done in one swoop with dsixda's kitchen) or make a script that is run every boot (we are doing it via run-parts which also requires editing of init.rc... once again dsixda's kitchen can add this functionality in a single swoop)...

As for "android.permission.FLASHLIGHT" I'm not sure about it as I can see that HTC is doing it avoiding it (setting permissions to 666 by default in FroYo)...

If you want decoding/encoding xmls use ApkManager. It's a nice CLI tool that can decompile and compile apks back...

You are quite a fast learner, congrats.
[Legend General] denisman:
Back home :D Got pretty late.

I don't actually need this since I am running a rooted Froyo ROM anyways but thought it would be an interesting task to get this working for others to easily use it and for me to learn more about Android. The first option sounds like it would require a bit too much end-user activity and would be limited to a certain set of ROMs if I understand it correctly.

Leaving the second and third option as the most user-friendly ones I guess.

I will read up more on init.rc and ways to script for it tomorrow. Sounds like a very powerful "tool" to know.

For now I will concentrate on the XML. Might be the most comfortable and ROM-independent way if I get it to work.

Used Apk Manager to extract, zip and sign the apk in the first place. Really nice tool. Just didn't find an option to convert the xml from binary to readable, that's why I used AXMLPrinter2.jar which can do the conversion one-way but not back to binary.

I'll find a way :D

Thanks again for the input! Helped me a lot!
[HD7 General] Big Foot:
First of all, from HTC Kaiser to Samsung Vibrant to HTC HD 7 & I'm never going to look back!

OK now:

1. Go to an Email tile

2. Tap on the far left (next to the bolded name of the sender)

3. Voila - you have a slick option to select mail

Haven't seen this mentioned anywhere. Thought it might be useful :cool:
[HD7 General] yly3:
Yeah found it the other day by mistake but I didn't think it was any earth mover
[HD7 General] rob_p:
Yeah, my phone actually pointed the feature out the other day - I was deleting several emails one at a time, and a little info bar appeared at the top to say you can click on the left to quick select.

Not an earth mover at all, but neat that it recognised what I was doing and was able to tell me how I could do it quicker!
[HD7 General] rysky007:
its great, but were is the "select all" feature, instead of you having to select each one.

I avg over 80 emails a day... how fun is my day selecting each one to delete
[HD7 General] homer.web:
If you are deleting all the emails you have recieved each day, then consider to discontinue using email... :D:D:D
[HD7 General] rysky007:
That makes no sense, what is the point of keeping an email once you have read it? I check most of my emails on my desk top, the phone I use to track what is happening via emails for 4 different accounts when out with clients.

I dont need 100 emails sitting on my phone.

I am simply stating that every phone I have every used even old ones allowed you to do a select all feature for old sms phones.

HD2 has it, why was it not placed into WM7, just a small feature which is important but also missing as many important ones are.

but face book is there, wheeepy another face book driven phone, like we dont have enough of those.
[HD7 General] Kiwi_Dave:
Here's another one that you may (or may not) be aware of.

when typing press and hold on the actual text you have been typing. A cursor will appear allowing you to re-position anywhere within the text.

very handy for going back to make changes (like inserting a space between words, inserting words etc.
[HD7 General] homer.web:
I am also using 4 email accounts, two Exchange servers and two Hotmail accounts. I have no problem to have two weeks synchronized on all of the accounts. If you dont want it, than set it to last 3 days and you dont have to worry about... ;)
[HD7 General] homer.web:
This is very cute feature... I didnt know about it and was missing this one... ;)
[HD7 General] tfn:
Umm thanks for the tip was trying to figure out how to do it :)

now am gonna poke everywhere to get more goodies :D
[HD7 General] rysky007:
i have it set to minimal days i avg over 100 per day
[HD7 General] truffle1234:
ee

you are cute.... i only check my emails and if its imporant and must reply i will reply, edit delete and reply i will do on my notebook or desktop...
[HD7 General] badboy70:
Yeah, it was nice when the phone pointed out I could do that.

Nice feature.
[HD7 General] HD7Sol:
Me too, ditto. And the email delete feature is good too.
[G2 and Desire Z General] setspeed:
I got my Z on Saturday and I'm generally WELL pleased with it.

My only issue is that when the phone is closed, the top half is not completely tight against the bottom half. When touching the left hand side of the screen the top half of the phone taps against the bottom half, and it's a bit annoying :-(

Does yours do this? My hinge is reasonably tight, so that's not an issue for me.

I did initally put a gel case on it which mitigated the problem ,since the edges of the case sat between the two halves of the phone, cushioning it so the tapping didn't occur - but i've had to take the case off because it meant i had trouble typing on the top row of keys.

I guess if i can find a case that's thin enough on the top half to not interfere with the typing then my problem will be solved...
[G2 and Desire Z General] Lennyuk:
Its the way the phone is designed, they will all be like this.

The "clicking" sound when using the touch screen has been something I have noticed a couple of times in the last week, but its nothing to worry about.
[G2 and Desire Z General] setspeed:
Hmmm, well that sort of reassures me a bit that i don't have a dud. Even still, i have to say i'm a bit disappointed as it detracts from the otherwise brilliant build quality...

Has anyone found a case that clips on, yet is not too thick that it interferes with typing on the top row?
[G2 and Desire Z General] Pickx:
This case is very popular and for a good reason - it's really cheap and does the job well (thin/light). Only beef I have with it is that the finish tends to peel off once in a while, but considering the price, well...

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

Amazon sellers charged too much for shipping so I got it here (check the seller's other items I think he lists it again for cheaper...)
[G2 and Desire Z General] setspeed:
Thanks for that Pickx, i've ordered one of those.
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] jbg1:
im getting a new phone and i think im going to like it...

im not sure if i want to sell though because i would like the selection of having 2 phones but im not too good on the hd2

i see that it still fetches around 250-300 on ebay but idk if i want to part what would be a good second phone to pick up to play with occasionally for the price i would get for my hd2?
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] azuhl:
'think' is a key word here. Just wait, if you do like your new phone, then sell your HD2, if you don't...you have a back-up.
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] hd945157206:
to china sell to me :D Joke
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] umiss:
I just got a good deal on a one-week-used desire hd, and a good deal on a buyer for my HD2 (4700 SEK and 3500 SEK). But I am still unsure whether to sell the HD2 or just keep it and sell DHD.

Android works well after all and the HD2 is way sexier (and also my first love), the only downside is the touchscreen that is better on the dhd and the slightly faster processor, but I doubt I'll ever need any of those as I can't see any real performance differences between the two other than the sense launcher (launcher pro works exactly the same).

ahhh, dilemma...
[EVO 4G Q&A, Help & Troubleshooting] abjc89:
Help! I have been having major issues upgrading my Evo's SD card... I am going from stock 8GB to a 16GB and I thought the process was as simple as draggin everything over between them... but it isn't. The root of my problems is that I don't see my music (playlists) migrate properly. I have doubletwist and PowerAMP and neither of them are retaining playlists. I searched around and couldn't really find anyone with this problem... so here I am.
[EVO 4G Q&A, Help & Troubleshooting] alekosy:
Well, think back, try to start from scratch like you did on your first 8 gb card...Maybe you need to do the files in the computer, not the phone itself.
[EVO 4G Q&A, Help & Troubleshooting] abjc89:
well... uninstalling the music players and erasing their cache and deleting all the music and resyncing them after reinstalling didn't work.
[Galaxy S I9000 General] bohdans:
Unbranded CSC CSC_I9000XSAJP4.tar can be downloaded here:

http://www.multiupload.com/I6665NEF5M

is for Virgin/Optus/Vodafone/3

Contains APN settings, and no carrier Apps.
[Galaxy S I9000 General] klimovski:
I wasn't able to get this flashing using Odin. It caused Odin to hang at cache.rfs. As soon as I tried to flash with another CSC Odin worked a treat.
[Galaxy S I9000 General] aditya104:
Could some1 upload the modem for Australia. I think its JP3. Thanks
[Galaxy S I9000 General] bohdans:
Hi,

Sorry all, looks like the original was corrupted. This one is working,

http://www<dot>megaupload.com/?d=IEF3JYPQ
[Galaxy S I9000 General] bohdans:
Working CSC in first post.

Tested working on JPU/JPX.

Flash with Oidin after booting phone once.
[Galaxy S I9000 General] mapan2020:
does this still work?

i tried to flash using odin and it just stuck there for soo long and i had to cancel the flashing..

the files that i have are :

MODEM_I9000DTJP3.tar.md5

CODE_I9000DTJP5.tar.md5

CSC_I9000XSAJP4.tar

so far the other 2 files seems okay, but not the third one. any thoughts?

p/s i used odin v1.7 with s1_odin_20100512.pit file
[Galaxy S I9000 General] electrotune1200:
DTJP3 Modem

http://www.megaupload.com/?d=UP3LD3LJ

OPS CSC if you're interested.

http://www.megaupload.com/?d=S6NMLH8W
[Galaxy S I9000 General] electrotune1200:
Damn, really old thread!

In my previous post, you can download the OPS csc. Good for Optus/Virgin
[Galaxy S I9000 General] mapan2020:
i'm sorry, i PM the original poster and no reply so I had to ask here.

Anyway, this CSC OPS belongs to Optus rite? I read that they contain Optus apps, and I would prefer not to have any optus apps..

alternatively, is there a way to extract the CSC from a galaxy s?

sorry again for any inconveniences!
[Galaxy S I9000 General] electrotune1200:
No Optus apps in that mate. Only included app is Navigon.

You get to chose which network to connect to after first boot. Just give it a minute or two. (Either Optus or Virgin)

I just flashed it with the new Gingerbread.
[G2 and Desire Z Q&A, Help & Troubleshooting] the1wingedangel:
So I'm looking at remaping the soft keys (specifically the search) on the front of the phone. There appears to only be one "SEARCH" in the /system/usr/keylayout/vision-keypad.kl - key 217 (see code below) - that if changed has the following 2 effects:

1. Alters the functions of both the soft key on the front of the phone and the search key on the hardware keyboard. When I remap one, they both change to match your modification.

2. When changed, long press functionality of the soft key is lost. It will only accept a short press.

"SEARCH" can be successfully changed to "MENU", "BACK", and "CALL" (possibly others I have not tried) then pushed to the phone in recovery and function perfectly. However, when I map it to be the "POWER", the soft key does nothing on press, while the hardware search key on the slide-out works fine.

Has anyone found a way around this?

We remap the track pad to wake because we dont like using the top mounted power button, but it only does a half-ass job because when you want to shut the screen back off, you still have to reach for the power button. I think the track pad wake mod needs its own 'bacon bits' :D

# column 0
key 185 USER3 WAKE_DROPPED
key 100 ALT_RIGHT WAKE_DROPPED
key 217 SEARCH WAKE_DROPPED
key 28 ENTER WAKE_DROPPED
key 38 L WAKE_DROPPED
key 14 DEL WAKE_DROPPED
key 54 SHIFT_RIGHT WAKE_DROPPED
[G2 and Desire Z Q&A, Help & Troubleshooting] teferi:
I think you're out of luck with regard to an easy fix. I just did a quick experiment with evtest and it looks like the softkeys on the screen are just areas of the touchscreen that the window manager treats specially and generates synthetic key events in response to touches on, instead of being actual mappable keys.
[G2 and Desire Z Q&A, Help & Troubleshooting] the1wingedangel:
Well the are mappable. I managed to make it be the menu button and the back button just fine. It just doesnt want to be the power button..
[G2 and Desire Z Q&A, Help & Troubleshooting] danielefeldt:
The same key can be used as a single quick press or a long press. It is considered two different keys though. So you would have to figure out what the long press equivalent of the search button would be and change that one.
[G2 and Desire Z Q&A, Help & Troubleshooting] Mikey:
The way this thread can stay in developmental, is show steps on how you are remapping the keys.

For others to gain knowledge or this thread is moving to Q&A :)
[G2 and Desire Z Q&A, Help & Troubleshooting] the1wingedangel:
Maybe I'm off here, but if I was making this post to show the steps, would that not fall under a "How To" or "Guide"? My goal here is development. :) Development –noun 1. the act or process of developing; growth; progress. Or in my case, I'm in the act/process of developing a remapped key file to make the search soft key into a power key, and to then share with the rest of the forum. My progress so far is that I've managed to map it to a menu key and a back key with no problems, and am reaching out to others for help as to why it is that when I change it to the power key, it doesn't accept my changes.

Its kinda a gray zone, in that if I were to successfully remap it to the power button and post the file here, it would, technically speaking, be less of a development thread than it is now - because it would be finished developing :D and instead, merely contain a file with instructions.

However, as requested, and for those who are interested:

The file you are looking for, is as mentioned in the OP, "vision-keypad.kl" and is located in /system/usr/keylayout. You can edit it with a text editor like Notepad++. The line that I am looking at, also refer to OP, is key 217.

I'm thinking now, after messing with it some more, that maybe because it is a soft key it cant be mapped to power, being that as soon as the screen shuts off it no longer functions... But then again there exists widgets that, upon press, turn off the screen and they function fine, so I see no reason this shouldn't. I'll keep you posted on what I find, and would appreciate any help in the mean time.
[G2 and Desire Z Q&A, Help & Troubleshooting] sundar2012:
i'd love to be able to map a longpress menu and a longpress back action. Cyanogen 6.1 allows longpress back to be turned into force kill foreground process. So there is a way to capture longpress on those 4 keys, the question is, what does the system read that keypress as and how can it be mapped.
[G2 and Desire Z Q&A, Help & Troubleshooting] the1wingedangel:
So it is doable! There are some .bin files in the /system/usr/keychar folder that correspond to the .kl files in the ../keylayout folder, but i havent been able to read them. Maybe thats it.. Gonna figure that out when I land tomorrow and get my computer set up
[G2 and Desire Z Q&A, Help & Troubleshooting] danielefeldt:
I changed the Search function key to Camera and it only works on a long press and I get no result on a short press. So maybe the function you are trying to rename the Search key to has to be specific to either way i.e. short or long press but not both.

So it will either work as a long press key for some functions or a short press key for others.
[G2 and Desire Z Q&A, Help & Troubleshooting] teferi:
Read the window manager source (from AOSP or CM), determine what scancodes it synthesizes in response to touches or long-touches on the softkeys, edit keylayout accordingly.
[G2 and Desire Z Q&A, Help & Troubleshooting] Pat123:
Doesn't ButtonRemapper from Android App Dev section work on G2? :S
[G2 and Desire Z Q&A, Help & Troubleshooting] clikonco:
hey guys, i dont know if you all figured this out or not, I just got the g2, and to remap the key to power button you have to change it to "ENDCALL" not "POWER", after, reboot and voila! your search button now acts like a power button!!!!! Hope this helps!!!!!
[G2 and Desire Z Q&A, Help & Troubleshooting] sravan2j:
Need to Map Back button to one of the soft key

Rceently I bought HTC Desire Z (no warranty), and I am facing the problem with 4 bottom buttons of the touch screen (menu, back, home and search). So I am planning to do hardware map for one of the softkeys to BACK button.

Could you please provide me step-by-step installation of all the softwares and the procedure I need to do for updating "vision-keypad.kl" file. Appreciate your help.

My one more doubt is that what is the difference between "WAKE_DROPPED" & "WAKE". I have seen these keywords in ".kl" file in GITHUB.

Please give me reply ASAP. I am frustrated with the way the mobile is working. Just imagine how it will be if back button stop working and you are in the middle of some application. I restarted my mobile some dozens of times. :(
[Galaxy Tab General] mchimney:
Anyone else getting unable to save in quick office? This is while trying to use google docs. I also had a similar issue in documents to go.

P.s. I love my new tab, and this was a great test of the swype keyboard.