yashsingh1/xdaforums huggingface dataset:
[Fascinate Android Development] GizmoDroid:
I have had a few classes of c++ and java that I did poorly in, and self taught everything else I know.

What that really means is that I'm not terribly good (ie bad) at writing code from scratch. However, given my taste for solving puzzles, I can modify other peoples' code by studying their implementation, and changing a few bits here and there.

The great thing about modding other peoples' code is that you don't hardly need to know the language syntax, because you use general principles from other languages you've learned, and you pick up most of the specifics of the syntax while looking through the code you are trying to modify.

I love the openess of Android. I had my blackberry for only 3 months before I was rubbing elbows with the "expert" os modders. People praised these guys as if they were deities, but there was nothing to it (you pretty much just swapped files from leaked versions). After releasing my own successful OS blend, I felt like I had conquered the whole platform and felt no sense of accomplishment.

By contrast, I have been on android for a year, and I'm still very much an Android newbie. Most people have their niche that they become really good at, but it's rare to find someone who has an expert grasp over everything. This is because there is so much variety of things learn, and everything can be hacked.

If someone doesn't like one particular thing about their phone, they can change it! And there are so many options: they can work with the source, or if they don't have the source, an OS config file might give them options, and if not, they can mod the byte code! Then there is kernel hacking, program writing, os modding, themeing, porting, recovery, etc... I love it!

On the other hand, it's really hard for me, a "jack of all trades" as they say, to be content with not having enough time to do it all; but, oh well. I've got a girl who'd like a ring, and she's worth it, so I need to graduate and get a job that pays. I'll be around to do some easy stuff and let all the other guys do the fun stuff. :)
[Fascinate Android Development] agsded:
That's so awesome. I'm gonna see if I can get the tools in place to give it a shot!
[Fascinate Android Development] aleadam:
As you said, it is indeed the same idea. I have solved the home key issue also there.

Those two above are cool features I'm sure I'll try to add to the modded captivate camera :)

As GizmoDroid already answered you, it's just about to read the code, get the feeling for it, and start modding.

Most probably, the first mods you'll do won't even compile. Then, they'll compile but not work. Then, you'll read the logcat to try to understand where was the mistake and fix it. At some point, the mod is working fine :)

Knowing java is a good advantage, since smali files are essentially java code with a different (much longer) syntax. This is another good resource to learn some smali syntax:

http://androidcracking.blogspot.com/search/label/smali

And for another way of modding the camera (there are as many modding ways as there are modders), you can take a look at my post detailing the mod for the i9010 camera:

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

That requires a mod not only in the Camera.apk but also in android.policy.jar, thus making it ROM-specific.
[Fascinate Android Development] letmehearucaw:
This is amazing! Nice Job!!!
[Fascinate Android Development] greatideas:
Removed Low Battery restriction

thanks.
[Fascinate Android Development] lactardjosh:
Thanks for this.

I was going nuts trying to get geotagging disabled.

Working on my Captivate, rooted stock 2.2.

EDIT: Donated. Thanks again.
[Fascinate Android Development] GizmoDroid:
Thank you sir!

I haven't forgotten about this mod. I've been working on some other stuff. I have a cleaner implementation done, but it's functionally equivalent. It should allow for easier future improvements though.

Once I get a couple things figured out, I'll be able to get some stuff done.
[Fascinate Android Development] s44:
What happens to the flash controls when you use this on a Captivate?
[Fascinate Android Development] lactardjosh:
Didn't even think about it.

The flash options are still available, but I turned the flash off.

Just turned the flash on and took a picture. Worked fine, obviously no flash fired.
[Fascinate Android Development] Miami_Son:
Installed and works fine on Andromeda 1.2. I started this thread to inform others, especially those who prefer to run stock Froyo unrooted. Samsung should not have removed this feature.:mad:

http://xdaforums.com/showthread.php?t=985974
[Fascinate Android Development] diablo009:
Working great on dilli's ROM 7.x.x
[Fascinate Android Development] GizmoDroid:
All this time I've been thinking we'd have an AOSP ROM soon and then no one would care, but I guess this is a sign that I need to finish up version 3.
[Fascinate Android Development] lactardjosh:
Can you please cross post this in the Captivate forum when v3 is ready to go?

I think you'll get a lot of interest over there since we only just got official 2.2 a few weeks ago.
[Fascinate Android Development] DoctorQMM:
External SD storage option?

Great work on the development of this app... very clean! One quick question: where is the option to save images/videos to external SD? Went through settings but may have missed it. Thx
[Fascinate Android Development] GizmoDroid:
I don't recall this being an option in the stock camera, but I have seen it before in one of them. The default is to store them on the SD card.

I can look into porting it, but depending on the amount of work it will take, I might not be able to get to it.
[Fascinate Android Development] DoctorQMM:
Thanks for looking into it... in the stock camera app for the Captivate, it was under Settings... Wrench tab. You could select "Guidelines", "Review", "Shutter Sound", "Storage", "Reset", "Firmware Update". Under "Storage", you could select "Phone" or "Memory card (if inserted)". That's one of the 1st settings I changed when I got phone so it automatically saves pictures and videos directly on /sdcard/external_sd/DCIM/Camera folder.
[Fascinate Android Development] s44:
That's because the Captivate has both internal and (optional) external SD cards. This mod was built from the Fascinate which only has the external removable one.

You may also notice flash options that won't do anything for your non-Fascinate phone. ;)
[Fascinate Android Development] GizmoDroid:
Does the Captivate have 2 SD cards (int/ext)?

EDIT: ah, s44 beat me to it. Yep...

If all the code is in there and it's just a hidden setting, then I'll hook you guys up when I find it. If it's been stripped out, then you'll probably need a Captivate dev to mod the Captivate camera using pointers from mine and others' posts. Would probably be easier than anything else.

I wonder if'd be possible to sym-link a folder from where the camera wants to write data to the external sd-card? might be a workaround...

EDIT EDIT: The camera from the Captivate Andromeda ROM has the power button features, but has not incorporated the gps enabler/disabler.
[Fascinate Android Development] DoctorQMM:
I'm not familiar with this "symlink" process... is that a process where files are automatically moved from the coded folder to a folder of user choice? (i.e., since this app automatically stores images on the "Phone SD", will symlink allow for images to be stored on "external SD" folder instead?)
[Fascinate Android Development] GizmoDroid:
EDIT: I think I remember that symlinks only work if the originating symlink file is on a non-fat partition. With the internal sdcard almost certainly being formatted as fat16 or fat32, then this wouldn't work, and a better solution would need to be found. so pretty much disregard all that stuff below.

On a positive note, some of the code is still in the file to switch storage location. It wouldn't be that hard to permanently switch the location to the external sd-card. Adding back in the ability to switch the location from the menu might take a bit of work though, so a Captivate dev would probably need to address that issue.

Also, you might be able to get creative with mount commands instead of symlinks, though I will defer the task of figuring out if that is a legitimate option to those who know more that I do.

A quick but dirty work-around would be to implement a bash script that automatically copies the files from the internal sd to the external sd, and then deletes them from the internal. Using a shortcut app or widget, you could link to this script and then run it after you get done using your camera. Not very pretty, but ridiculously easy and quick to implement ( very easy for someone who knows a very small bit about *nix/bash, and then moderately easy to package it up and make it easily accessible to those who don't).

​

I'm a relative newbie in the *nix field of file management (still working on figuring out that whole realm of hands on control of device mounting and all that good stuff).

Basically, a sym link is essentially a shortcut, just like in windows. To do this, you would lose the ability to write to the camera directory on the internal storage, since the symlink needs to take the place of the real directory.

If the current folder it stores them in is:

/sdcard/DCIM/Camera

And if the folder you want to store them in is:

/sdcard/external_sd/DCIM/Camera

Then you would run the following command from the terminal:

ln -s [COLOR="blue"]/sdcard/DCIM/Camera[/COLOR] [COLOR="Red"]/sdcard/external_sd/DCIM/Camera[/COLOR]

Two notes:

Don't forget you will lose access to the real /sdcard/DCIM/Camera, so you want to copy anything out of there first. You may even have to delete the

I don't know if this will work, since I can't test it and I don't have a lot of experience in these kinds of things. Worst case senario, it doesn't work, and you just delete the symlink, and write them to the internal card until a proper fix comes along.

EDIT: I'm getting a "link failed Operation not permitted", which at one time I figured out how to fix, but now I don't remember.
[Fascinate Android Development] OBatRFan:
Thanks for this hacked camera! I was looking for the ability to disable geotagging. One question, though. Where is the icon for the app located? I can't seem to find it within the apk and I want to switch it out for something else.
[Fascinate Android Development] GizmoDroid:
The icon is found at:

Camera.apk\res\drawable-hdpi\tw30_icon_camera.png
[Fascinate Android Development] OBatRFan:
Thanks! Should I rename my new icon to the same thing if I want it to with?

EDIT: Nevermind, it's all working!
[Fascinate Android Development] BeeDubs:
On SuperClean 2.9.2 my power button initiates a lock icon on the camera screen but doesn't take a picture.

It used to on SC 2.4...any ideas?
[Fascinate Android Development] GizmoDroid:
That's because Adrynalyne seems to have forgotten to include this camera file in SuperClean 2.9.2.
[Fascinate Android Development] djlim4:
I have the original modded camera.apk file, will I be able to use this in any future roms? I haven't needed it for a while because they were included and my current rom has it... But for future reference
[Fascinate Android Development] GizmoDroid:
I really have no way of knowing. Changes could be made that might make the current camera file that this mod is based off of incompatible with the rest of the system. Plus, any ROM that doesn't have the touchwiz framework (like AOSP, CM, etc), wouldn't be able to run this camera at all (mods or no mods).

This is why I wrote up the information in the OP, so that the mods could be adapted to any future version of the file, or any of the other Galaxy variants.
[Fascinate Android Development] BeeDubs:
Thanks. So I can just flash this one?
[Fascinate Android Development] aabfalter:
Thanks but one problem

Great release and great mod but one thing is really bothering me, the camera doesn't save any settings so whenever i use it i have to reconfigure things like no shutter sound and preview 2 seconds. Its gets really annoying. Any ideas?
[Fascinate Android Development] GizmoDroid:
Yep.

Depending on how things go, there might be a new version up in a few days.

Hmm, what ROM are you running? The settings should save.

Do you have other random problems with settings reverting in other apps? Force closes or any other weird errors in other apps?
[Fascinate Android Development] islandtime:
Will this work on ed01 or has anyone tried it? Since i flashed evil fascination the power button just locks the camera. I appreciate your help.
[Fascinate Android Development] prehistorical:
Works on ED01

Thanks again to GizmoDroid...

I flashed over ED01 Radio + EF 3.3.1, no problems and I have a "real" shutter button! :D

cameramodv2.1-install.zip

MD5: 4DFEFED375775850E02D22E3FD6C870D
[Fascinate Android Development] islandtime:
thanks worked for me too, i just downloaded the .apk and pushed with root explorer. works fine.
[Fascinate Android Development] zakth:
Thanks for the mod, it's one of my favorite changes.
[Fascinate Android Development] cwingard:
APK pushed using Root Explorer worked flawlessly. Didn't have to reboot, just launched camera. Thanks so much!
[Fascinate Android Development] DoctorQMM:
GizmoDroid... any news on camera app update which will allow option to save images to either external SD or internal SD? Everything else is working flawlessly!
[Fascinate Android Development] ghpk:
I installed this camera.apk using recovery option on kyrillos 5.6 ROM.

Pics are clickable now, but video camera crashes everytime and view finder always comes up in Grayscale

Anything I am missing ?
[Fascinate Android Development] jinxskore:
Same over here. Kyrillos 5.7
[Fascinate Android Development] sadastronaut:
Geotagging still on

Hi, I installed this camera mod both through pushing the .apk file and more recently, the zip through ClockWorkRecovery. The camera is still geotagging my photos and I do not see the option to turn it off.

I'm running Serendipity ROM, which is based on 2.2.1, on a Samsung Galaxy S (Captivate).

Thanks,
[Fascinate Android Development] the entity:
Working on Powerwashed:)
[Fascinate Android Development] atb1183:
Front camera?

I tried this on my stock (2.2) galaxy s 4G. works great. except I lost the ability to take pictures using front camera. also, there used to be 2 icons, one for camera, one for video camera. now there is only one.

but mostly, is there any way someone can edit the galaxy s 4g's camera to add the features here?

so weird that such awesome features like what the OP did is ignored and forgotten by all other modders
[Fascinate Android Development] stueycaster:
Is there a Gingerbread version of this?
[Fascinate Android Development] GizmoDroid:
I'm not making any promises, but if someone wants to point me to the newest gingerbread camera and libraries that have the optional geotagging feature (I think it was the Mesmerize or the Captivate?), I might take a whack at hacking them. I've been out of the loop for a while, and I'm currently running MIUI, but I'll look at hacking it if no one else has done it yet. Also, if the Froyo version needs to be updated, then you can point me in that direction as well.

As far as the phones with front facing cameras or external sd-cards, I have no way to test my work, due to the Fascinate not having these devices. Since my workflow is so sporadic, I would need a testing device in hand. Unless someone wants to send me a loaner phone, the best I can do is post the mods for the Fascinate so that maybe someone else can port them to your devices.

Of course, I would definitely not stop someone from sending me a phone if they really want the camera app hacked... :D

EDIT: I've posted a Power Button-> Shutter modded GB version.
[Fascinate Android Development] Eris _2.1_2010:
Hey GizmoDroid if I upload the Droid Charges camera.apk, can you mod it to work the same? If so I'd be happy to test it out and I can report back to the DC thread and give full credit. I would really like to see these options on the DC camera.

Sent from my Droid Charge 4G running Gummy Charged 2.0
[Fascinate Android Development] GizmoDroid:
I would need the framework as well, and I wouldn't have any way to test it... so the short answer is maybe.
[Fascinate Android Development] Eris _2.1_2010:
You talking about the framework-res apk?

Sent from my Droid Charge 4G running Gummy Charged 2.0
[Fascinate Android Development] Cholera:
Hmm... I am seeking for a camera app supporting sd-ext on the Captivate, just as DoctorQMM did..

any news/update?
[Fascinate Android Development] GizmoDroid:
Since I don't have a captivate and there's no way to test it on the fascinate then it would be hard for me to be able to do this. I don't even really feel comfortable blindly trying to do it.

Your best bet would be to get a captivate developer to apply the mods to the captivate app. You know, unless you want to send me your phone. :)
[Fascinate Android Development] Cholera:
hmmm too bad.

I installed it on the Captivate, and it works, but for sure no sd-ext support..

I tried to contact some camera-app developers via the market, but no response until now...
[Wildfire General] Manc:
is there an easy way to find out if i have an ext partition on my sd card

im having trouble getting 160 mb free after using wildpuzzle 0.6 and im thinking its because my ext partition is wrong / not there

thanks
[Wildfire General] daddyspud:
Have u used Rom manager to partition your SD card n wat size SD card is it and how space do u have when there is nothink on the SD card
[Wildfire General] Manc:
yeh i used rom manager

its a 16gb card

and i have approx 14.9gb

im curious coz for the life of me (and i have tried lots of things now...i'm almost redy to give up) i cannont get the 160mb (ish) free on my phone following the guide by melvinchng
[Wildfire General] daddyspud:
Plug ur SD card in a card reader and see how much space u have if u have ruffly 15.3gb total space then u have a ext3 n swap2 I now melvin well now on his tutoraol some had same problem and they changed they way they did it just have a gud look threw tutorial

Ps did u install wp6 then use Rom manager then wipe all data in Android recovery then do a fresh install of wp6
[Wildfire General] Manc:
i just read through the thread and got confused at most of it lol

yeh it was about 15.3 (i just realised i still have 0.5 0.6 and 0.8 zip files still on my pc)

yeh i installed 0.6 then partioned then 0.6 again

i need a way of going all the way back to the begining and starting again (complety wiping the phone back to default and sd card back to default)
[Wildfire General] daddyspud:
To completely wipe ur SD card go to my Rom page and go to second thread n look for create your own ext3 n swap 2 follow the step in the tutorial

But delete all the partitions on the SD then right click and create. partition and make sure ur hole SD card is fat32 then start again with melvin tutorial buddie

Also if his steps Dnt work go to his tutorial n go to page 11 n look for marc's way of doin the progress

Ps Dnt create a ext3 or swap 2 with paratition manager as it don't work but deleting all the partition on ur SD card will work I did it my self

If u need any more help just ask
[Wildfire General] Manc:
cheers daddy

this is my second day of getting this thing to work and its doing my head in again lol

but im gonna go and bookmark your rom post so its already
[Wildfire General] daddyspud:
No worrys buddie

We all been there lol
[Wildfire General] melvinchng:
16gb sd only give you 14.9gb..

Maximum without ext is 14.9gb.
[Wildfire General] daddyspud:
So u had a fresh SD card then u installed wp6 on it then went to Rom manager used the create partition then u loaded up the phone then turned it of taken the battery out used a card reader to put wp6 on to the SD card then u went into recovery and wipe data and wipe cache data and then reboot the recovery and then installed wp6

If that's wat u did then it should have worked fine Cus that's wat I do

If u still can't get it to work speak to melvin he's always ready to help as I can't help any more as that's as much as I can help sorry
[Wildfire General] Manc:
yeh i did that exctaly what you just said

i have just spoken to him and he suggests trying a differnet sd card

so gonna try again tomorrow

hopefully that will work and then i will have to replace my card and get a different brand
[Wildfire General] daddyspud:
Ok cool well it wudnt let me email u back for some reason not sure y
[Wildfire General] f0xy:
Best and easiest way to do ext partitions is to use gparted live cd on a usb stick. Simple
[Thunderbolt General] chimpsnest:
http://www.intomobile.com/2011/02/10/htc-thunderbolt-hitting-verizon-february-feb-24-confirmed/

all they have is a "highly reliable source" -- which sounds just the same as all the other "highly reliable sources" :-)

Just thought I'd share.
[Desire HD Q&A, Help & Troubleshooting] irishbogman:
Phone contains a folder called bugreports containing 138 text files total size 495mb

Is it safe to delete these please

Eg (bugreport-2010-11-01-18-28-54)

Charles
[Desire HD Q&A, Help & Troubleshooting] AndroHero:
unless you have any bugs that you don't know the cause of, i'd assume its safe to delete them :D
[Desire HD Q&A, Help & Troubleshooting] irishbogman:
Dont think I have any but need to be absolutely sure these files can be deleted, thanks for your reply all the same
[Desire HD Q&A, Help & Troubleshooting] Saluco:
i have deleted those files ...many times ...absolutely no problems... they are just some kind of log files...with...bugs :) so enjoy the free space :)
[Desire HD Q&A, Help & Troubleshooting] irishbogman:
Thanks for the reply Saluco & AndroHero, can delete these now without worry, cheers ;)
[Desire HD Q&A, Help & Troubleshooting] SAPPH1RE:
May i know, what is the directory for bugreport? Seems that i can't find it..
[Desire HD Q&A, Help & Troubleshooting] MikeMelbourne:
/mnt/sdcard/bugreports
[G Tablet Q&A, Help & Troubleshooting] iamgrendle:
i searched and found a couple threads on this topic already, but they all seemed to be inconclusive. is there a fix for this? running vegan 5.1. will this be fixed in the final release? of which im really excited about when its released. anyway a number of apps wont work for me because the wifi location doesnt work at all, any help greatly appreciated. also thank you devs for the rom. awesome job.

also, a location spoofer app wont work for me, its one of the apps i cant see/get from my market.
[G Tablet Q&A, Help & Troubleshooting] gojeda:
Bump - - I am still unable to get wifi location on Google Maps myself. Is there a fix for this? This can, potentially, cause some problems.
[G Tablet Q&A, Help & Troubleshooting] katmandu421:
Just an FYI: I recently tried Corwin's CM7 and was surprised that wifi location worked. Only ROM I have found that supports it.
[G Tablet Q&A, Help & Troubleshooting] k3an:
I can't confirm location workss within maps in vegan7 (cause maps fc's on me). But I can say that wifi location seems to work with google seaches. FYI
[G Tablet Q&A, Help & Troubleshooting] solarsystem:
Thank You, the CM7 works,

It's useless if you don't have Location services..

Thanks for the heads up..
[HD7 General] Roydivers:
has anyone had any problems with the ringtone volumne on the HD7, and if so were you able to increase the volumne
[HD7 General] tempest2112:
There is a problem in that the volume is quite low. The way I got around it was to put on my own ringtones, which I recorded at a higher volume, using chevron ringtone manager. Did the same for some alerts and alarms and now I can hear my phone in nearly all noisy environments.
[HD7 General] PanNet:
Hi,

I have the same problems. Mine is very quiet, barely audible. The rest is OK. Maybe there is software problem but I do not thing so. After change ROM nothing has improved.
[HD7 General] carmeng4evr:
I've tried chevron but it doesnt work. i cant get ringtones :(
[HD2 Android Q&A, Help & Troubleshooting and Genera] Rafa1986:
I had a 2GB SD Card but after i use in my HD2 this SD card downgrade from 2GB of capacity to 200MB of capacity. what a hell??? why ? anyone could give some help please:)

Thank You Very Much