yashsingh1/xdaforums huggingface dataset:
[Captivate Themes and Apps] Fr4gg0r:
I edited onKeyUp() in the Camera class.

const/16 v0, 0x1a //KEYCODE_POWER = 26, p1 is the keycode parameter
if-ne p1, v0, :cond_1 //if not power key jump behind this code
//the following capture the phote, I'm not sure if all of them are needed, at least the last one is ;)
iget-object v1, p0, Lcom/sec/android/app/camera/Camera;->mCameraEngine:Lcom/sec/android/app/camera/CameraEngine;
invoke-direct {p0}, Lcom/sec/android/app/camera/Camera;->handleShutterKey()Z
invoke-virtual {v1}, Lcom/sec/android/app/camera/CameraEngine;->handleShutterEvent()V
invoke-direct {p0}, Lcom/sec/android/app/camera/Camera;->handleShutterKeyReleased()Z
invoke-virtual {v1}, Lcom/sec/android/app/camera/CameraEngine;->handleShutterReleaseEvent()V
const/4 v0, 0x1 //true
goto :goto_0 //return true

Additionally I removed one line, so that battery warning popup won't show up and

one change in ImageSavingUtils, because when capturing a picture of the front camera

it crashed when setExifData() tried to parse a double. (As a result, the pictures from font camera did not show in gallery until the device rebooted)

If someone is interested, I can post/share full code.
[Captivate Themes and Apps] buddy17:
i wish i had enough knowledge to port this to the captivates camera.apk....please someone do so!!

for the time being, i installed SGS Tools from the market...went to 'upgrade stock apps' and clicked on hacked camera. works great!

but, it would be even better to not have to worry about the front facing camera and such with the stock captivate camera
[Captivate Themes and Apps] Fr4gg0r:
Maybe the same edits would work on the captivate camera.apk too.

If someone uploads it, I could take a look..
[Captivate Themes and Apps] Haloruler64:
All of you ****ing ROCK! Here is a Perception Camera.apk!
[Captivate Themes and Apps] Fr4gg0r:
should work. :)
[Captivate Themes and Apps] Caliesv:
Niiicce!
[Captivate Themes and Apps] buddy17:
installed with root explorer....seems to be working great for me! thanks so much for taking the time to do this for the captivate people
[Captivate Themes and Apps] Haloruler64:
thanks so much!!!
[Captivate Themes and Apps] Caliesv:
Dang. Only works for 2.2 :(
[Captivate Themes and Apps] Haloruler64:
Hey, it works on my Captivate! One problem; unlike the on screen button, the power button doesn't focus. It only shoots, no matter where the focus is. The on screen one focuses first, then shoots. Any fix for that? I don't particularly mind tapping to focus then pressing the power button, but I tend to forget these things :P
[Captivate Themes and Apps] buddy17:
that would be awesome
[Captivate Themes and Apps] Fr4gg0r:
not sure about it
[Captivate Themes and Apps] Caliesv:
Anyone had any luck with it working on 2.1??
[Captivate Themes and Apps] Haloruler64:
This app is from 2.2, you would need to create a special 2.1 version. I'd suggest jumping to Perception, really is nothing better.

Same thing. I realized that holding the on screen button focuses it, while pressing it doesn't. If the power button emulates a press, of course it wouldn't focus. Just figured that out >.< any way to make the power button emulate a .3-.5 second hold of the on screen shutter button?

Maybe you can post a small tutorial on where to look and what to change so we can get a few people working on it? I will take a look, try to enlist friends
[Captivate Themes and Apps] Fr4gg0r:
The I9000 works on Vibrant 2.1 :)
[Captivate Themes and Apps] Caliesv:
Still no luck with 2.1. :(
[Captivate Themes and Apps] bts0uth:
Awesome! If we can get it to focus itll be amazing.

Posted from my Captivate running Perception build 7 with CogKernel2
[Captivate Themes and Apps] Jirv311:
Thank you very much for this. I know it's probably not very easy to do something like this so just know your work is appreciated. :D

EDIT: You actually solved 2 problems for me. For whatever reason the previous Camera.apk would not change Exposure settings at all. Now it does AND the Power Button fix works!

You're my hero of the day!
[Captivate Themes and Apps] flashman2002:
This is great. I saw it in the SGS tools and installed that way...worked perfectly!!! Thanks so much.
[Captivate Themes and Apps] buddy17:
if you use the SGS tools, know that you are going to be using the i9000 camera.apk. MAKE SURE you don't press the top left button (the switch to FFC button) or you will have to go into camera options and reset camera settings to switch from .3 megapixel
[Captivate Themes and Apps] flashman2002:
Will do. Thanks.
[Captivate Themes and Apps] Fr4gg0r:
take this version

http://xdaforums.com/showpost.php?p=9590603&postcount=44

next version will detect if your phone is a captivate and download the suitable file.

edit: someone know what 'android.os.Build.MODEL' gives out on the captivate?
[Captivate Themes and Apps] MikeyMike01:
This is what is in build.prop:

" ro.product.model=SAMSUNG-SGH-I897 "

Sent from my Captivate.
[Captivate Themes and Apps] Cezar`:
Can OP post the apk in the first post?
[Captivate Themes and Apps] dingokevin:
how do i go about installing this on a cappy running axura rc1
[Captivate Themes and Apps] dingokevin:
got it never mind
[Captivate Themes and Apps] Dani897:
this is amazing but i have one request if at all posible. can the camera be made to work during a phone call?

like if im explaining something to someone and words arent working i want to take a picture and send text it to them without hanging up the phone. i dont know what samsung did to prevent this and im not sure its in the .apk but it is annoying, though the situation doesnt come up too often.
[Captivate Themes and Apps] Fr4gg0r:
Updated sgstools, ver 4.1.1

If it says "... (Captivate version)" it detected your phone as a captivate.
[Captivate Themes and Apps] Caliesv:
Will definitely try as soon as I get a chance. Thanx for all your hard work.
[Captivate Themes and Apps] ademarne:
I just did this and it works well. Very nice mod for taking pics, feels much more like a real point and shoot and results in much steadier photos.
[Captivate Themes and Apps] foofiebeast:
thanks so much for your work on this, I can't wait to try it out!
[Captivate Themes and Apps] InsaneJester17:
THANK YOU!!!
[Captivate Themes and Apps] Caliesv:
So now we need 2.2 to do any of the "upgrade stock apps" on sgs tools?!
[Captivate Themes and Apps] Fr4gg0r:
oh, I forgot you guys..

you are still on 2.1?

Thought the version I made for captivate was for 2.2...
[Captivate Themes and Apps] Caliesv:
Lol...yesssss we are still on 2.1, well until the "end of the year" according to the rumors...
[Captivate Themes and Apps] tegots:
why dont you guys just download the hacked camera.apk from sgs tools on the market ? it works fine!
[Captivate Themes and Apps] bts0uth:
Why does the freaking captivate camera ALWAYS save pictures sideways? If I take a portrait style photo it comes out sideways and always has to be rotated. If you take a picture and try to upload it to Facebook or send a MMS the other person sees it sideways instead of the original orientation it was taken in. Is there any hope for a fix to this? I love this hacked camera.apk but it has this issue, I would be so happy if it could be fixed somehow.

I use Vignette because it saves pictures correctly

-Sent from my Captivate running Assonance v4.3 with Xcaliburhand's reoriented kernel
[Captivate Themes and Apps] buddy17:
i have been searching forever....never understood this at all. I wish it could be fixed because i like how things work stock except that.
[Captivate Themes and Apps] neo_31591:
This is one of the most Epic Awesome Mods ive ever seen....i could literally kiss you if i could :) ..... i felt the absence of a physical camera button was one of the major drawbacks of the cappy...

love it maaann!!!!AWESOME! ! !
[Captivate Themes and Apps] Fr4gg0r:
The newest version of my app supports captivate with 2.1 again. :)
[Captivate Themes and Apps] erickgoldner:
Thanks for the mod to 2.1 version!!

But i'm having FC's when i click the lower right button which i believe is the one that opens the Pictures you have taken...

Anyone having this issue?

Edit.: The Vol Up and Down are not zooming anymore also!

How do i get back to original camera? Don't see a restore_camera.txt on Scripts option in SGS tools!
[Captivate Themes and Apps] aleadam:
I applied the power button mod to the armani camera.apk if anyone is interested:

http://xdaforums.com/showthread.php?p=8053225#post8053225
[Captivate Themes and Apps] MikeyMike01:
Something I changed broke it.

Rolled back a few versions and camera works. Now too see which version it stops working on and diagnose. ;)
[Captivate Themes and Apps] aleadam:
Fun times :p
[Captivate Themes and Apps] MikeyMike01:
Yup.

At least I got a hockey game on to watch while it's flashing.
[Captivate Themes and Apps] RKight:
+1 Sometimes I see something awesome and want to take a pic but don't want to have to hang up and call the person back.
[Captivate Themes and Apps] DoctorQMM:
Video use power-button functionality?

Fantastic app. Not sure if this thread is still being monitored by the developer(s)... if so, have a question. On the Captivate i897 (running FROYO.UCKB1, kernel # 2.6.32.9) the camera power-button works to perfection; however, when in video mode, power-button still just locks the screen (as it did in stock camera.apk). Just wondering if the power-button is also supposed to work in video mode, as it does in camera mode? The 1st few times using the SGS tools captivate camera, when trying to start video with power-button I got a 'FC' on "EMAIL" app (which is odd, as I have EMAIL frozen with Titanium.. just use GMAIL)..., now, no FC, but just get the 'lock' symbol when trying to engage video using power-button. Thanks again for this stellar app!
[Captivate Themes and Apps] jonnyg1097:
I was looking forward to installing this on my captivate but it didnt work. It said the apk couldnt be installed. =(
[Captivate Themes and Apps] moymike:
I installed an app called "No Lock" to disable the lockscreen. Now when I use the camera "button", half the time it drops my out of the camera app to homescreen.

Uninstalling the "No Lock" app does not help. (the damage is done)
[EVO 4G Themes and Apps] TheBiles:
Either action or turn-based. Not counting those that are emulated.

--
[EVO 4G Themes and Apps] SynisterWolf:
Sent from my slutty assistant. (HTC Incredible)
[EVO 4G Themes and Apps] fr0st420:
Zenonia is pretty fun.
[EVO 4G Themes and Apps] NewZJ:
+1 I play zenonia and its not bad, also look for one called dweller, its similar to 2d zelda
[EVO 4G Themes and Apps] casual864:
Pocket legends. Mmorpg with iPhone players.
[EVO 4G Themes and Apps] RTC88:
Dungeon Hunter
[EVO 4G Themes and Apps] fr0st420:
Just downloaded pocket legends. Pretty sweet game
[EVO 4G Themes and Apps] NYCHitman1:
Pocket Legends is the shiznit.
[EVO 4G Themes and Apps] l33tlinuxh4x0r:
I play parallel kingdom it is a mmorpg and is the best game that I have found for android hands down. If you decide to play please use my referral code

qikks

thanks
[Android Software/Hacking General [Developers Only]] Alistair George:
Hi all.

As a hardware designer, I've usually found that firmware updates eg update from Droid 2.1 to 2.2 would be cpu specific. EG different firmwares for different CPU.

Does this apply to tablets with cpu differences such as Telechip 8902, ZT-180, Rockchip 2808 ??

If so, can anyone advise

How to display the tablets device cpu type?

How do we know which firmware suits which cpu?

Thanks; hope the question is not inane!

Alistair.
[Desire HD General] guide144:
I have try to upload the video that I shot with this phone to my youtube account. However, it won't work and the error message I got is "Failed to retrieve account information" or something like this.

first I try to login to my youtube account on DHD and the youtube start hang.... So I looking in market and found out about new version of youtube so I update it. then once I try to login it went thourgh.

After updated, I have try to upload again but still got same error.

Have anyone come across this problem? any solution? I have try to search but couldn't find anything.. hope someone can help

EDIT: I have found solution that fixed this problem. However it need to do factory reset which is only way... if anyone have this problem please go to this site http://knarrnia.wordpress.com/2010/10/31/failed-to-retrieve-account-information/

:)
[Desire HD General] deechte:
For other people that find this thread with their problem: an easier solution was found and described here.
[G1 General] duey2k:
Looking for some help, my phone broke so a friend gave me his old g1 that has been rooted. when i power on the phone i get stuck in the boot cyctle of the g1 logo and then off and the repete.

i cant get the g1 to do a restore, the only change i can get is when i hold the back key when i turn it on. i get the rainbow scree and "serial 0" cant get into fast boot....

if possible i would like to get this device usable and even better with a cstm rom and froyo or what ever is reccommended.

any help would be amazing.
[G1 General] duey2k:
a small update, i did get it to boot recovery mode once, so i rebooted the phone and android started. i got a low battery notice and pluged in the usb cable and it imeditaly rebooted and started the cycle over and over agian. i have not clue why that time it actualy booted, i let the battery charge for 30min and tried agian with no luck.
[P3300, MDA Compact III  upgrading etc.] menuisier:
sorry for opening a new thread but i did not find any solution!

my artemis is unlocked runing wmo 5.0 with the messaging and security feature pack

os 5.1.342 (build 15096.3.0.0 this is what it shows from settings/system/about.

l'm trying to flash a newer rom but my device won' enter boot loader neither from hardware butons nor from the ruu i'm stuck with this old os.

thanks for any help
[P3300, MDA Compact III  upgrading etc.] raving_nanza:
...

unlocked = uspl? if not click on my signature..

hold the right top button on device and press stylus button..

what error does it say when using the ruu?

Rn
[P3300, MDA Compact III  upgrading etc.] raving_nanza:
...

click on "p3300 uploads" in my signature.........

find MTTY and download

when mtty opens TYPE (no copy and paste, it wont work)

Cmd>password BsaD5SeoA

Cmd>ruurun 0

Cmd>ResetDevice
[EVO 4G Q&A, Help & Troubleshooting] Globetrahter:
So after Flashing over this Rom which I think is Great, I cant get Facebook Notifications.. I keep getting an error message.. Pic Below... Any resolutions or know why this is happening
[EVO 4G Q&A, Help & Troubleshooting] Aerodynamix:
Haven't a clue why this is happening, but I'd update your facebook app if you can...check the market.

If not, clear the app data in Settings>Application>Manage Applications.
[EVO 4G Q&A, Help & Troubleshooting] bender1077:
I'm running AVA V9 and have had this issue for a few days. Same notification error.

Edit... I have tried re-installing and clearing data, but issue persists
[EVO 4G Q&A, Help & Troubleshooting] Globetrahter:
Yep, Same for me, I cant uninstall the normal way either, but I reset the app data and the issue persists, def weird
[EVO 4G Q&A, Help & Troubleshooting] drmacinyasha:
Just FYI, to uninstall, connect to your computer, open the command prompt, cd to adb, then do the following commands:

adb remount

adb shell rm /system/app/Facebook.apk

adb shell rm -r /data/data/com.facebook.katana

adb shell pm uninstall com.facebook.katana

adb remount

I'd say try to uninstall via that way, and reinstall from Market. See if that does anything for you.
[G2 and Desire Z General] gjm777:
Hi all,

I am interested in trying custom roms for various reasons on my G2. With the recent breakthrough in allowing full root, now seems to be a good time to try.

What I don't seem to be grasping is the whole process so, here is what I think* needs to be done, and I'd appreciate a more seasoned person to set me straight :)

1. Obtain full root via RAGE or oneclick Visionary method

2. Install RomManager

3. Obtain Rom

Here is where I kind of get blurry on the whole topic.

Once I have the files needed, Does RomManager do a nandroid backup so I can revert back in case I want to revert back to stock? Is this how I would revert back to stock or do I need to find the original pre or post OTA rom for the g2?

Does a program like Titanium Backup allow me to backup all of my apps and settings so they are easily restored no matter the rom, or if I revert back to stock?

Thanks in advance all, I have been reading every subset of these forums but I still feel a bit scared to try and wanted to get the facts straight before trying. I'm mostly just concerned that I wouldnt be able to revert back to stock if I had to.
[G2 and Desire Z General] g_grey:
rom manager can perform the backup, wipe, and install of a new ROM all in one go, you just need to tell rom manager where the ROM is on the sdcard and it will ask if you want to backup and/or wipe first

i do not know if titanium backup will restore the settings within the apps, but the backed up apps will work on any custom ROM you install on your phone.
[G2 and Desire Z General] gjm777:
Thank you for making that more clear!

So when wiping for a new rom, you want to wipe the cache, and do a full system wipe as well?

Lastly, now that I have the stock g2 rom backed up (did it manually via recovery, not in the rommanager app) I can flash as many roms I want to try them, but really can revert back to stock based on that backup. I guess what I'm saying is, I dont have to revert to stock before trying out a new rom right?

Thanks again, this is a huge help!
[G2 and Desire Z General] Sv3nt3k:
With your ROM backed up, that's essentially a "screenshot" of the state of your phone at that time. So yes, you can jump from ROM to ROM, clearing data, and whenever you're ready to go back to stock, you just restore your stock ROM and pretend nothing happened.

And yes, I recommend wiping everything when flashing a new ROM. Although if you're coming from the same type of ROM (I.E HTC Sense to another HTC Sense) you can probably get away with not wiping data.

And with Titanium Backup, I do reckon that settings are kept. When you restore apps, you're given the option to restore the app or app+data.
[G2 and Desire Z General] gjm777:
Perfect,

Thanks for the help all, much appreciated.
[XPERIA X10 Android Development] logicallayer:
it's been mentioned here and there but when I was looking I would have appreciated if someone just put it all in one place. a reminder this is based on the work been done by arkedk in this post http://xdaforums.com/showthread.php?t=824711

so all credit really goes to him I just wanted to make a special version for rogers users that walk them step by step because it's really easy if follow a good instruction

ok first you need to use root explorer having your device rooted you better know what that is or you shouldn't have rooted in the first place!

1) inside the root explorer go to system/default.prop

and change the following XXXX-XXXX in the following three lines from whatever number in there to this number: 1233-6929 (DON'T USE OTHER ROGERS CUSTOMIZED NUMBER BECAUSE THEY AREN'T WORKING THIS IS THE ONLY ONE THAT WORKED FOR ME!)

ro.product.name=X10_XXXX-XXXX

ro.build.fingerprint=SEMC/X10_XXXX-XXXX/X10i/es209ra:2.1-update1/2.0.A.0.497/8QFA:user/release-keys

ro.semc.version.cust=XXXX-XXXX

2)for pc companion

type run in the search then enter,a window will open

enter the following line in it:

%programdata%\Sony Ericsson\Update Engine\db\

and delete the folder inside(it's a folder with numbers as name)

for SEUS

type run in the search then enter, a window will open

enter the following line in it:

%programfiles%\Sony Ericsson\Update Service\db\

and delete the folder inside(it's a folder with numbers as name)

3)last step go to SEUS or pc companion update and they gonna show you how to get from there ;)

QUESTIONS:

Q:is it only rogers customers can upgrade to this 2.1 from 1.6?

A:No it's like change region post it's x10a rogers 2.1 version simple!

Q:how to root?

A:search for z4root in the market it's one click root

Q:will I lose my data

A:yes use your backup and restore program + titanium backup pro to make sure you lose no data

Enjoy everyone!
[XPERIA X10 Android Development] phuangk:
For those people who already flashed to Nordic 2.1 or some other 2.1 version wish to flash back to Rogers 2.1

1. Make sure you have rooted your device.

2. Install RootExplorer from market.

3. Use RootExplorer and open the build.prop in Text Editor (build.prop file is located at /system)

4. Change the following XXXX-XXXX in the following two lines from whatever number to: 1233-6929

ro.product.name=X10a_1233-6929

ro.semc.version.cust=1233-6929

Save the file after you made the change.

5. Go to /etc/customization/settings and open "cust.prop" with Text Editor, and change the XXXX-XXXX in the following line to 1233-6929

ro.semc.version.cust=1233-6929

Save the file after you made the change.

Put the phone in the flash mode and update with SEUS should give you Rogers 2.1 frimware.

Regards
[XPERIA X10 Android Development] GPdhillon:
I have gobal generic ROM I used the instructions from Nordic rom but it didn't work. I'm getting you have latest software. Do I need to do something else
[XPERIA X10 Android Development] Grospolina:
Thanks for the instructions. I've sucessfully converted from Global Generic X10i to Rogers X10a. However, I had to make some changes before I got it to work. The first time I did it, it didn't give me an option to Repair or Install - just Exit.

Besides changing "ro.product.name" and "ro.semc.version.cust", I also changed the number in "ro.build.fingerprint" (which is also in build.prop) to 1233-6929. I also went and deleted the old firmware from the SEUS db folder, as stated in the original post.

I might as well say what "branding" it includes:

- Rogers splash screen on bootup. Now it's shown after the SE logo animation. It's kind of long, actually. I wish I had saved the old one (which was just the SE logo).

- Rogers "My Account" app is included. This app is also downloadable from the Market.

- "PlayNow" app has been replaced with "urMusic" app. This also appears instead of "PlayNow" in Mediascape.

- "Creatouch" app is still included (which is the only app in PlayNow that can't be downloaded from the Market, I think).

- Rogers APN settings are included and enabled by default. No need to manually enter them.
[Fascinate General] jccowardin:
After flashing jt's rom everything is great... except for the fact that the lockscreen background is one of the original Samsung pictures instead of my actual background. Any way to get them to be the same picture?
[Droid Incredible General] Riley1524:
Everything has been fine until today. I tried rebooting into recovery through ROM manager and it just sticks on the white Incredible screen. I do a battery pull and restart the phone to see if I can reflash the recovery and ROM manager tells me that I need to check my internet connection and to check my SD card to make sure its not full (which my connection is fine and the SD is not full) I tried reinstalling ROM manager and formating my SD card, but I still have the same issue. Any Ideas?

Solved: I had to reinstall the clockwork recovery manually through fastboot. Still wondering what happened though
[HD2 Android Q&A, Help & Troubleshooting and Genera] Zythyr:
Is there a way to fix the country of the phone? Whenever I visit websites or download apps from Market, my country is recognized as "United Kingdom" instead of "United States".

So lets say if I go to www.ebay.com, it automatically takes me to http://www.ebay.co.uk/. If I download the eBay app from Market, instead of downloading the regular US version of eBay app, it donwloads the United Kingdom version.

I am current using the FroyoStone build.
[HD2 Android Q&A, Help & Troubleshooting and Genera] dmattox:
I installed an app call MoreLocale 2 to give me a US based locale. It will resolve the issue you describe.

Hope this helps,

Dave