Camera.apk /cyanogenmod 4.2.14/cyanogenmod 3.7.9 - Android Software/Hacking General [Developers Only]

Hello,
i've just rooted my g1 and installed cyanogenmod - the 4.2.14 on my g1. one of my hopes was to get a better camera, since the one supplied with cyanogenmod 3.9.7 (or was ist 3.7.9?) is far better than the 1.6: gives more options etc. and what i like most, is that the shutter relase button is not located on the touchscreen but on a physical button: the round trackball button. absolutely needed when you're not able to see the touchbutton and are in a reliable need to take a picture!
here is what i tried to get the Camera.apk from 3.9.7 working on my g1.
first i tried to install it with the default package manager. no go. error: cannot install over a system app.
then i tried to copy it (renamed the old camera.apk to camera.apk.old), but no success. even when i changed the permissions, the camera would not start on pressing the camera button.
so if someone has any idea on how to make it work, i would be really thankful.
otherwise i have to stick with camera magic.
thanks a lot!

Related

[Skins] HTC_IME High/Low Res v27 custom skin generator online! Updated Sep. 7th!

The reason I've been slower at posting requests lately is about to come clear!
I have created an "online kitchen" of sorts for creating custom skinned, signed, HTC_IME high and low res apk files. This means you guys can very easily create your own skins and customize the ones I've created!
What is this?
A website you can visit on your computer or directly from your phone that will let you a> create a custom skinned keyboard based off of any of the images currently in the library (various colored keys, backgrounds, etc) with whatever text color you want and b> customize existing "skins" (will be known as "presets") however your heats desire.
Currently, it should be considered very beta. All the features that are here should be working 100%.
Why beta, that sounds scary?
It's beta for a couple of reasons, 1 because it's currently UGLY as sin (concentrated on features and back end first) and 2 because I'm actively working on it which means it could break at any time.
What is the point of this?
Besides the fact that you can now customize the hell out of the way your keyboard looks, it drastically reduces the amount of work I have to do in the future. Currently, i'm uploading 46 pre-themed apk files for every single update. While this isn't really a big deal since I automated the process, it slows down how quickly I can put up updates. With this new method, all I have to do is upload the original unthemed keyboard apk and classes.dex for each new version and my work is done!
Everything else:
If you select a preset, you will still be asked to choose each portion of the keyboard (background, buttons, text color etc). The image with the yellow border around it (you'll see what I mean) is the default "piece" for the preset.
One last thing, depending on server load it could take anywhere from 30 seconds to 5 minutes to generate the keyboard. Most of the time I suspect it will be < 1 minute tho.
I don't mind if you use this to generate a keyboard and include it with something (theme/morph) or post it somewhere, just give due credit
URL for HIGH RES online kitchen: now offline, sorry
URL for LOW RES online kitchen: now offline, sorry
Current feature list / changelog:
Start from a "preset" (any of my current themes) and change any component of it.
Choose any of my current backgrounds
Choose any of my current primary/function key styles
Choose any of my current "symbol sets"
Choose any of my current space bar logo/images
Upload your own spacebar logo
Choose any color text for letters and alternate characters
Built in bug reporting/feature requests (for new image sets, for example)
Choose any color for background image
Preview keyboard before generating it
Option to see/reuse all skins you have generated
Option to see/reuse last 25 skins anyone has generated
Choose any color for symbol sets
Added lowres kitchen
Added option to choose between 1.5 only and 1.6+ low res versions in low res kitchen.
Added v25 froyo version.
Added all v26 versions to kitchen!
Added all v27 versions to kitchen!
Added v27-froyo lowres version to kitchen!
New option: Create your own primary/function keys is FINALLY here!
Pre-themed/Pre-built skinned keyboards.
Custom skins for Jonasl's HTC_IME high res.
These are signed with the exact same certificate that jonasl uses so if you can install his, you can install these and go back and forth with no problem.
These are no longer flashable update.zip files, all you need to do is download the zip file, extract the HTC_IME_hi.apk to your sd card and install with a file manager (linda, or something that supports reinstalling for future installs).
Special note, if you have not already installed v22 or higher, I highly suggest you read Jonasl's thread here for important information regarding this keyboard. You will need to re-enable and completely reconfigure this keyboard after installing (only if you haven't already done v22+).
One last note, there is a new hi res Clicker.apk available too. I have not included it in these downloads, you will need to get that from the official HTC_IME Mod download if you haven't already! Update: or get it here -> Clicker_hi.zip
v24 links removed because v25 is now available in the kitchen, screenshots represent some of the many themes you can create there!
Thankyou so much all working perfectly !
Oh thanks for this, I definetly don't like Metamorph - so this was a life saver. Well not really a life saver, more like a life enhancer lol..
Great job thanks .
I know this is an htc forum but is there any way you can throw an update.zip of v18 for us droid users? The candidate bar is broken on v19 for droid but it worked on 18... if you can do it would you make it the black with white text theme? This would be much appreciated! Keep up the great work!
trillonometry said:
I know this is an htc forum but is there any way you can throw an update.zip of v18 for us droid users? The candidate bar is broken on v19 for droid but it worked on 18... if you can do it would you make it the black with white text theme? This would be much appreciated! Keep up the great work!
Click to expand...
Click to collapse
Sure thing, I don't want to maintain to many old versions going forward, but this one is the most frequently downloaded one, and it sounds like Jonasl isn't going to get us a new version real soon (i could be mistaken tho).
I'll try to get it posted here in the next 30 mins or so.
gIMpSTa said:
Sure thing, I don't want to maintain to many old versions going forward, but this one is the most frequently downloaded one, and it sounds like Jonasl isn't going to get us a new version real soon (i could be mistaken tho).
I'll try to get it posted here in the next 30 mins or so.
Click to expand...
Click to collapse
Actually im a fool... with the candidate bar on v19 you can long press and dragit to the correct position so don't bother. I read This aafter I posted and gave it a try and voila. Seems like a lot of Droid users didn't read the entire OP like me. Thanks for the quick response. Hope I caught you before you wasted any time!
trillonometry said:
Actually im a fool... with the candidate bar on v19 you can long press and dragit to the correct position so don't bother. I read This aafter I posted and gave it a try and voila. Seems like a lot of Droid users didn't read the entire OP like me. Thanks for the quick response. Hope I caught you before you wasted any time!
Click to expand...
Click to collapse
Hahah I almost suggested you try that, but wasn't sure if this was different bug.
Glad you got it sorted, no time wasted here!
I'm still having problems with installing the themes...I tried all 3 methods you posted, everything installed with no problems or errors...however, when I go to a text screen (sms, for example) I click on the input area and the keyboard just doesn't pop up at all, nothing. Any explanation for this? I don't understand why I can't get this to install properly. I'm convinced it has to do with my rom, jrummy's desire remix on koush's cyanogenmod
philsfan said:
I'm still having problems with installing the themes...I tried all 3 methods you posted, everything installed with no problems or errors...however, when I go to a text screen (sms, for example) I click on the input area and the keyboard just doesn't pop up at all, nothing. Any explanation for this? I don't understand why I can't get this to install properly. I'm convinced it has to do with my rom, jrummy's desire remix on koush's cyanogenmod
Click to expand...
Click to collapse
It must. Have you been able to install the un-themed keyboard from Jonasl? If that is the case, I have absolutely no idea why these wouldn't work. They are identical to the APKs he produces just with my theme changes.
These themed versions work like a charm on stock N1.
I extracted the APK, installed with ASTRO. Just to be safe, I uninstalled previous version.
Talderon said:
These themed versions work like a charm on stock N1.
I extracted the APK, installed with ASTRO. Just to be safe, I uninstalled previous version.
Click to expand...
Click to collapse
Glad to hear!! I assumed they would, but had no way to test it (short of nanding and flashing back to an unrooted stock rom of course).
Thanks for letting me know!
just tried the htc ime apk on wifes stock n1 and no joy also tried installing the clicker apk too and still nothing !
marra2 said:
just tried the htc ime apk on wifes stock n1 and no joy also tried installing the clicker apk too and still nothing !
Click to expand...
Click to collapse
Which install method did you try????
For stock I would recommend option 3 with astro file manager or similar.
I used option 3 with astro go to choose input method and it only gives me android keyboard option ? rebooted phone too just to make sure .
Thanks bro for the update.zip. I had almost given up on flashing the penguins skin as I could not get MM to do it no matter what I tried. Anyway this method worked. Have the keyboard themed with penguins.
quick question: if I install a new ROM and wipe data prior to that will I have to apply this again? If so can I do this directly without installing the orginal HTC keyboard? Thanks again.
marra2 said:
I used option 3 with astro go to choose input method and it only gives me android keyboard option ? rebooted phone too just to make sure .
Click to expand...
Click to collapse
I *think* either on stock firmware and/or first time you run it you have to actually enable it first. Try going to settings, language and keyboard, and see if you have touch input that you can either check mark to enable or go into for settings, then try to set it as your input type.
stlcity said:
quick question: if I install a new ROM and wipe data prior to that will I have to apply this again? If so can I do this directly without installing the orginal HTC keyboard? Thanks again.
Click to expand...
Click to collapse
Yes you will have to apply it again, and yes you can go straight to my pre-themed keyboards (by flashing, pushing, installing, however you want!).
that did it thanks very much
Works great! Thank you.

[MOD]HTC_IME Themed Swype APK

Hello, I have compiled an APK out of the metamorph theme for Swype made by sh0ebox. It is running the latest verison of swype (the June 8th one), and emulates the HTC_IME design.
As of right now I do not have an android phone of my own, so this has not been tested, please try it out and give feedback/screenshots if possible.
Thanks!
Installed, will get you screen shots soon.
http://www.droid-life.com/2010/04/20/download-htc_ime-theme-for-swype/
I'm not sure, but this says you need root for it... and all it does is FC (even after clean install + reboot).
That is where I got the metamorph files. Which do require root. Compiling it into an apk stops this need. I know it was done for the Eris, but obviously we need higher res. Sadly I can't truly figure out the issue as I don't have a DI of my own (or an android phone at that, ****ing env touch).
wouldnt install with my old version of swype installed, so i uninstalled it, then this one did install. i switched input type to this keyboard and it wont bring up the keyboard, just force closes. rebooted phone, same thing. i like shapewriter better anyways, but i still like trying out the different swype keyboards.
edit- i have an incredible
i ben looking for this, i hope you can fix the FC issue
I'd gladly love to fix it, but I can't do so until I get my incredible, so be patient all

Death of CAMDroid 2.0

Hello, From The 13th September 2011 - All of my ROMS for the HTC ChaCha will be under the LightDroider name and I have discontinued CAMDroid + TweetDroid. I can no longer provide support for these ROMS and have no intention to do so. If you need a ROM use LightDroider. Thank You for using this ROM and it is time to update if you are still using it.
TechMayhem
Aw man, this is one risky business
For example the already known - removing HTC Sense will cause some weird behavior (for example Settings -> Personalization).
I will test this as soon as possible.
Yeah but if HTC Sense is gone then GOLauncher won't require you to personalize because it will allow you to manually download themes and if you hold the home screen you can set a wallpaper.
This looks tempting, does the search button work do you know?
Will probably try it later.
One drawback with changing Rom I find is link2SD needs re doing each time, I need to re partition the SD after each new Rom. Not sure that's normal. It's not a massive deal but is certainly affecting my down time.
Right now I'm using my legend as didn't have time to sort all the post new Rom admin I seem to keep doing!
Sent from my Legend using Tapatalk
TechMayhem said:
ADDED OFFCIAL SKYPE (HTC CHACHA IS NOT COMPATIBLE FOR VIDEO CALLS)
Click to expand...
Click to collapse
Suggestion: Put IM+ on it since from my point of view is light-weight and you can add multiple accounts (Yahoo, Skype, MSN, etc.). Since video calls are not supported Skype is just an instant messaging software. It's just my suggestion
I will try this rom today if I have time. I just hope it's stable with all the sense stuff taken out.
Ok, first major problem - cannot type number 0 in the PIN code screen
So basically my PIN starts with 0, therefore I cannot unlock it
Can anyone else using this ROM try inserting 0 in the PIN code screen?
Aye: I can confirm, 0/SYM key is not working
Let me see if I can fix it using a keyboard file.
@Tech - any ideas?
Suggestion - Uncheck fast boot from settings so in case something goes wrong we can boot to recovery
Suggestion - Remove "HTC Likes", FM Radio (does anyone actually listen to FM radio on an android smartphone?), News, News&Weather.
Hint: There are still some remnants of HTC Sense on yet though
All screens that have the blue bar on the right are from Sense (for example USB connection screen).
Same here. Cannot type 0 and have 0 in the pin code. Any fix?
Unfortunately had to jump off into a meeting so I restored my previous backup. Didn't have any time to check for a fix. Try using a keyboard file (update.zip) from the Flashable keys thread and see if that works.
Did just that and was thinking of updating the post right before you did. If you take the keyboard files from the flashable keylayouts thread and replace them in the rom zip file it works. Apparently they are missing completly from the rom zip.
Gonna use the rom today and let you know what else i can find.
LE: The bootanimation and downanimation are currenty named hTC_bootanimation and hTC_downanimation and that's why they don't work. They need to be named
bootanimation.zip and downanimation.zip
LE2: Apparently by using the keylayout from the keylayout thread, the english one, other keys get scrambled. Looking into it.
Please use lightdroider a.s.a.p - this is finished now and if i said i was going to make 2.1 - i am not.
Lightdroider is more faster and has more space for you.

[Q] Can I install hacked camera for CM7

Can I replace hacked camera from tomato topic on CM7 nightly of LinuxBozo?
I really like the original style camera with touch to focus and pinch to zoom and hack to take a picture with power button
I tried to install hacked camera manually or copy it to /system/app/ but can't!

Anyone interested in a near-working Wildfire S "port"?

I found a guide that mentions basic Sense porting to another Sense device. I tried this with this Wildfire S ROM for a few reasons:
--I prefer the "standard" HTC Sense as found on any other device (ie. Black status bar, black apps, etc.)
--I wanted to see how well it'd run
--I wanted to see if there'd be any problems with anything
After following the above guide, I notice only the following bugs:
--Camera is upside down
--Rosie keeps force closing because of forced landscape orientation so I have to use an alternate launcher
--Lockscreen is always in Portrait no matter what
--Keypad backlights don't turn on
--Facebook button doesn't work (duh)
--(New)GPS doesn't work - need to mess with GPS libs when I have more time
--(New)The FM Radio app's graphics are messed up
To try and fix the Rosie problem, I tried copying over the Rosie.apk and Rosie.odex from the Chacha's 2.3.5 OTA, but no dice, the system doesn't even see it.
Anyone have any tips on how I could fix any of the above? I'm no dev, and I only tried this for (basically) the fun of it to see how it'd turn out and my "experience", so to speak, only goes as far as swapping files here and there - I felt like the Development forum was the best place to post this. Apologies if it isn't.
good attempt! nice to see to back into work. May be some developers can help you out.
I would like to apologize first, as it is 08:19 in the morning and I'm already drunk. lol.
Well, let's start with the easy bits:
1. --Keypad backlights don't turn on
Mainly the thing is that the Wildfire S ROM does not have support (or it is not activated) for a physical keyboard; therefore the need for backlight is redundant. To fix this you will either have to manually add the code lines or un-comment them. I suggest talking with adlx or xdbg since both of them have implemented this feature in the two custom ROMs.
2. --Facebook button doesn't work (duh)
As above, the ROM doesn't know (or doesn't want to know) about the physical keyboard. Same suggestions as above.
3. Landscape/portrait issues.
Well. The main problem here is the android system. By definition it detects the longest size on the display and sets it as the height. Therefore you'll have a tough time fixing the standard display to landscape. As above, I suggest speaking with the devs that worked on these roms and implement the ChaCha kernel files into the Wildfire ROM.
Aaaaaand that's about it I guess. I wish you good luck!
Drunk, this early??
Good effort!
Sent from my A810e using Tapatalk
qzfive said:
I found a guide that mentions basic Sense porting to another Sense device. I tried this with this Wildfire S ROM for a few reasons:
--I prefer the "standard" HTC Sense as found on any other device (ie. Black status bar, black apps, etc.)
--I wanted to see how well it'd run
--I wanted to see if there'd be any problems with anything
After following the above guide, I notice only the following bugs:
--Camera is upside down
--Rosie keeps force closing because of forced landscape orientation so I have to use an alternate launcher
--Lockscreen is always in Portrait no matter what
--Keypad backlights don't turn on
--Facebook button doesn't work (duh)
To try and fix the Rosie problem, I tried copying over the Rosie.apk and Rosie.odex from the Chacha's 2.3.5 OTA, but no dice, the system doesn't even see it.
Anyone have any tips on how I could fix any of the above? I'm no dev, and I only tried this for (basically) the fun of it to see how it'd turn out and my "experience", so to speak, only goes as far as swapping files here and there - I felt like the Development forum was the best place to post this. Apologies if it isn't.
Click to expand...
Click to collapse
Nice!
For the backlight, maybe you could try using system/lib/hw/lights.msm7k.so from the stock Chacha rom, or even from SuperOSR...
You cannot copy/paste an apk+odex file, it will probably never work. Try deodexing it first, then copy it.
I guess this is the right place to ask
adlx.xda said:
Nice!
For the backlight, maybe you could try using system/lib/hw/lights.msm7k.so from the stock Chacha rom, or even from SuperOSR...
You cannot copy/paste an apk+odex file, it will probably never work. Try deodexing it first, then copy it.
I guess this is the right place to ask
Click to expand...
Click to collapse
I copied lights.msm7k.so from SuperOSR, and the keyboard backlight works now.
I used an application on my laptop called xUltimate to deodex both this ROM and Chacha 1.54 stock, and the only things that wouldn't deodex are the Lockscreen and Rosie :/
Camera appears right-way round/up if a 3rd party camera app is used
Additional bugs I've noticed after trying it out a bit again:
--GPS doesn't work - I'll mess around with gps libs tomorrow when I have a bit more time
--The FM radio app's graphics are messed up
For gps try also to use stock chacha libsensors (or something like that)
the right names for the files are:
/system/lib/hw/gps.chacha.so
/system/lib/hw/sensors.chacha.so
try using the one from SuperOSR.
Is this ROM going to be official released anytime soon because I am working on a ROM from another HTC device aswell and was wondering if you needed any assistance on final touches?
TechMayhem
This would interest me greatly, as I really love the "standard" sense and was quite disappointed with the amount of white/light colours used in the ChaCha's version, and how it just doesn't seem to fit in very well at all with the HTC family. Would it be possible to use the Desire Z's rosie? As that supports landscape natively.
TechMayhem said:
Is this ROM going to be official released anytime soon because I am working on a ROM from another HTC device aswell and was wondering if you needed any assistance on final touches?
TechMayhem
Click to expand...
Click to collapse
Tbh, I haven't done anything on this for a while because I started flashing CM7/SuperOSR.
From what I can remember, the following things wern't working:
-Lockscreen - Always in Portrait, won't rotate
-Rosie - Force-close loop, had to replace with an alternate launcher
-GPS - Icon doesn't appear in the status bar
-FM/Dailer/maybe others - Graphics messed up due to forced landscape resolution
That's all I managed to check before I got caught up in crackflashing XD
I am by no means a dev - all this was done by replacing files in a Wildfire S ROM with ones from SuperOSR/stock Chacha
Atomix86 said:
This would interest me greatly, as I really love the "standard" sense and was quite disappointed with the amount of white/light colours used in the ChaCha's version, and how it just doesn't seem to fit in very well at all with the HTC family. Would it be possible to use the Desire Z's rosie? As that supports landscape natively.
Click to expand...
Click to collapse
Precisely why I tried this in the first place - I wasn't expecting all this white, which doesn't make the Chacha feel like an HTC as much to me - I already tried the Desire Z's Rosie - while it did work, all the icons were huge (because of it being scaled for HDPI screens). Dunno about widgets.
Once I find it amongst all the crap I have on my laptop, I could upload it if anyone might have an idea how to fix what's left and to see what else is broken?

Categories

Resources