H camera & Camcorder apks?! Anyone? - G1 Android Development

So I'm running The Dude's build and I love it, the only exception is that I miss the camera and camcorder from Haykuro's build. I'm aware of TwistedUmbrella's, but I'd rather stick with what I'm running now. Has anyone been able to install these on other builds with success? If so, can you upload the apk(s)?
Thanks.

I could provide you the files, but they won't really work.
I got libs and APKs on a JF build but Camera force closes, another thread is here, were I try to get some help:
http://forum.xda-developers.com/showthread.php?t=515215

t4c said:
I could provide you the files, but they won't really work.
I got libs and APKs on a JF build but Camera force closes, another thread is here, were I try to get some help:
http://forum.xda-developers.com/showthread.php?t=515215
Click to expand...
Click to collapse
I was working on getting these files over. On native JF they won't load. If they do load, they don't work because of the missing framework. I got the framework to load, so I will pick up where you were and help. I had given up on a "build" because why make an entire build to just incorporate three apks when you can just get three apks into a build. Phone and Dialer moved but would not load the H dialer, but would load the rest. Anyway, let me read your other post...

Related

haykuro H build VK on G build?

Haykuro said he posted in these forums how it can be done, but i've searched all over and can't find it. Does anyone know how to put the H build VK on a G build? He said he was working on a release, but he signed off google talk haha.... um... so yeah, how can i do this using ADB? its like adb push clicker.apk /(somethimg)/app
HELP!
i'm testing doing this with the dialer and the camera too.
I also got the H build music widget by deleting the G music.apk and pushign the h build music.apk
i'm testing doing this with the dialer and the camera too.
EDIT: dialer cannot be changed...
joeydsmith said:
i'm testing doing this with the dialer and the camera too.
EDIT: dialer cannot be changed...
Click to expand...
Click to collapse
That's a bummer. Well, if we can still get the Music widget, VK, and Camera. We'd be all set.
Anyone else give it a whirl?
adb push clicker.apk /(somethimg)/app
Click to expand...
Click to collapse
The stock apps are in /system/app . That one is there as "Clicker.apk".
Anyone wanna try the Tweeter game as well? I exported that on mine. Could always upload it.
I also want to try to get the app drawer background lol. But the VK for sure works as does the music, im using both right now. im goign to try to replace the launcher.apk now to see what happens but i like g build icons better...
switching the Launcher.apk doesn't work either.
joeydsmith said:
switching the Launcher.apk doesn't work either.
Click to expand...
Click to collapse
Out of curiousity, on the dialer, did you try doing the contacts as well? I think those are tied in (judging by how the Contacts.apk is what needs to be edited on the H to get rid of the Chinese).
Thats the only file that i tried was Contacts.apk
I might just install the H build sinc eit has everything as G build now... haha. But i don't want to havw to reinstall 100 apps...
joeydsmith said:
Thats the only file that i tried was Contacts.apk
I might just install the H build sinc eit has everything as G build now... haha. But i don't want to havw to reinstall 100 apps...
Click to expand...
Click to collapse
Well, what about Phone.apk?
As for reinstalling apps. There's a script that someone posted to do that automatically.
http://forum.xda-developers.com/showpost.php?p=3560220&postcount=1307
The only thing missing on the H build is the transition bounce (for when rotating) and I have no clue what file that would be in. I rather liked that
For the music gadget, did you copy the Music.apk? I wanna try and pull the Calendar one from the Google build.
KyleK29 said:
Well, what about Phone.apk?
As for reinstalling apps. There's a script that someone posted to do that automatically.
http://forum.xda-developers.com/showpost.php?p=3560220&postcount=1307
The only thing missing on the H build is the transition bounce (for when rotating) and I have no clue what file that would be in. I rather liked that
For the music gadget, did you copy the Music.apk? I wanna try and pull the Calendar one from the Google build.
Click to expand...
Click to collapse
yeah u might be able to pull the calender, all i did was move musick.apk. but haykuro told me the h and g use diffrent databases so calender may not work, thats why phone.apk and contacts.apk cause a crash. the info is stored ina diffrent format or sumthing.
Can someone please explain to me how to use the h vk? I pushed it to /system/app but its still loading the g VK
circa85 said:
Can someone please explain to me how to use the h vk? I pushed it to /system/app but its still loading the g VK
Click to expand...
Click to collapse
did u push HTC_CIME.apk and Clicker.apk? if so go into settings and check chinese touch input and uncheck android keyboard.
joeydsmith said:
did u push HTC_CIME.apk and Clicker.apk? if so go into settings and check chinese touch input and uncheck android keyboard.
Click to expand...
Click to collapse
Nope, didn't see that one posted anywhere, I'll go try it now
EDIT: ok I just did what you said and now Touchinput chinese keeps force closing every couple seconds
did u put Clicker.apk too? oh yeah and i forgot the Mail.apk also. make shrue u remove all three original files BEFORE you push the 3 new ones.
joeydsmith said:
did u put Clicker.apk too? oh yeah and i forgot the Mail.apk also. make shrue u remove all three original files BEFORE you push the 3 new ones.
Click to expand...
Click to collapse
nope, no dice. oh well I like the google VK just fine
Can I please be provided with some detailed instructions on how to do this? I'm using Mac OS X... ThanX
I actually would like G VK in my H build (don't ask....), would love google's dialer as well. Can anyone post steps to accomplish G VK on H build (and may be files needed if you're nice enough). I'll pull it out myself in few days, just don't have time right now but I'm dying to have that VK
I'm not responsible if you screw it up. If you are scared and don't know much, search some threads or even google, before you try below method. * Always have your backup (nandroid).
To use H/G apk in G/H build
you can copy the apk file in the tools folder inside the android dev folder. You should be able to download it from google site.
Once you have in the tools folder, this is the command that you would use in your terminal program.
you need to delete the original browser.apk from /system/app
adb remount
adb push browser.apk /system/app
I personally like the mms.apk from the H build, due to the black background and white fonts, but unfortunately, it cannot be used within G build. It force closes.
H build mail.apk force closes as well on G build.
H build camera.apk doesn't show at all on G build.
H build Teeter game works in G build.
H build Music.apk works, however when you try to scroll by showing the alphabet, it's messed up. The music widget is changed to the H build.
PDFViewer.apk, it does not work from the H to G build. If someone has it working from previous G build, please upload it?
I have not tried other apps.
hate the google VK, love the H vk....
if someone posts a G build with H vk..that'd be awesome... and easy on us noobs

PDFviewer - HTC Framework Clues

PDFviewer is probably (one of) the most requested features in the builds. So far only Haykuro's H build (from which this HTC app originated from) and Dude's build has this feature.
I have been trying to get this to work myself, but have not been able to do so, if anyone else has any clues on how to get this to work please post (if the dude himself can come show us how that would be great!).
Below are my noob attempt to get this to work.
If the APK is simply installed over, the installation works however it will force close as it references certain HTC libraries.
Copying over the files com.htc.android.pimlib.jar, com.htc.framework.jar and com.htc.resources.apk does not fix the problem.
The platform.xml with working builds have the lines:
<library name="com.android.im.plugin" file="/system/framework/com.android.im.plugin.jar" />
<library name="com.htc.android.pimlib" file="/system/framework/com.htc.android.pimlib.jar" />
Adding these lines does not solve the problem either. It appears that either I'm still missing some files or that there is some way to link the app to these files which I have not been able to recreate or both. Any enlightenment would be great.
you don't need those libraries. you need to copy over /system/app/FilePicker.apk and /system/lib/libpdfreader.so from the H build. This will allow the pdfreader to run without force crash. But unfortunate that won't work, because there are checks in pdfreader.apk or the library for HTC build. So it will pop up a dialog saying so, and if you hit ok it will uninstall pdfreader.apk. Copying the build.prop does not help. There is a thread in the apps forum with a workaround to this issue but its very inconvenient.

[MOD][11/24/09] Application Optimizations Now with Zipalign

I have gone through several applications from the MR release and optimized the images inside in an attempt to free up memory and/or speed things up a bit.
Some things benefited more than others, for example, Rosie.apk has lost around 7MB.
This will only work on software version 1.56.651.2. Don't know what version you have? Go into your settings -> About and scroll down to Software Version
Anyways, here's a list of things that have been optimized:
Code:
Folder: /system/app/
Browser.apk
com.htc.WeatherWidget.apk
htcContacts.apk
HTC_IME.apk
Maps.apk
Phone.apk
Rosie.apk
Settings.apk
Weather.apk
Folder: /system/framework/
com.htc.rersources.apk
Also included in the zip are the animations and boot screen from the Gutted rom
The zip is signed and can be flashed from recovery
This has been tested on the following:
Fresh 0.4b, 0.5d, 0.6
Unofficial MoDaCo 1.2
Disclaimer: I am not responsible for what you do with you device. If you break it, it is solely your responsibility.
Always remember to do a nandroid backup before flashing anything
Downloads
11.24.09 New with zipalign
11.23.19 (Old - non zipaligned)
Installing now... Will let you know how it goes...
Edit.... Wow this really made a noticeable difference. Running really nice on a stock rooted phone. No errors as well...
Installed on Fresh Rom. Works good no errors!
Wow! Just flashed this and it's great. Apps seem to load quicker. thanks for the work!
How are your optimizing these? Just the graphics inside them? have you tried to use zipalign from the SDK on anything?
ekinnee said:
How are your optimizing these? Just the graphics inside them? have you tried to use zipalign from the SDK on anything?
Click to expand...
Click to collapse
You are correct, just the graphics, I haven't looked into any other methods yet
I just flashed this over my stock/rooted image. It does indeed load and run very fast. I was wondering what changes you made to the Settings.apk? I also did notice that the transition effects changed to a fade-in effect. Was this also the result of graphic optimizations? Either way, great work!
excellent mod. really enjoy the fading in and out and works alot quicker!
Spunkzz said:
excellent mod. really enjoy the fading in and out and works alot quicker!
Click to expand...
Click to collapse
Has this been tested on the Gutted ROM?
For further optimization use zipalign on the apks. This allows dalvik to mmap the files for further speed improvements.
I like it alot but I get a ton of force close errors cant even really do anything. Installing from the orignal modaco rom.
Ok I don't know if it was this update or the 1.2 unofficial but my dialer now vibrats and I can't figure out how to shut it off.
My dialer vibrates as well, running Fresh .5d, would also like to disable it.
Looking forward to giving this a shot
QuiQNeZZ said:
Ok I don't know if it was this update or the 1.2 unofficial but my dialer now vibrats and I can't figure out how to shut it off.
Click to expand...
Click to collapse
The dialer started vibrating after the official firmware update from Sprint/HTC. I don't see any option under settings that allows us to disable it.
thanksa bunch I was really hoping someone would slim Rosie down a bit
i keep getting the application touch input process com.htc.android.htciem) has stopped unexpectedly. Please try again
EDIT
aparently i cant text anymore?! help!
To those people who are having errors, are you using this on a rom that has been updated with the Sprint Maintnance Release?
no but i never had a problem XD
By optimizing the images is there a downgrade in quality? Or is there no downside to this mod?
Thanks man. the animations are awesome. and it faster, i didnt notice a change in available memory, but i dont really care.
Thanks again!
i had removed the Browser, so this reinstalled the .apk. just had to go in and remove it again, JIC anyone has removed one of the files, just go in and remove it again.

[ROM-DEV] Android 2.0.1-r5v0.6 (Dead)

Android 2.0.1-r5v0.6
Dead:
==============
After spending some time and looking over this rom and ways to make it work with out any legal issues. The most viable option was to build something like what cynanogen has built. His process takes the proprietary bits (all google apps including sync) and copies them off onto the SD card before doing a update. After the update it copies them back to the newly installed rom. This method basically does a automated backup/restore of your licensed applications. I can't do this for several reasons including that we are supposed to be coming from a 1.5 OS to a 2.0.1, which isn't compatible with the older application set.
Temporarily Offline:
==============
I am sorry to have to do this but we are now having more then just a small handful goofing with this ROM and I need to take this offline while I inspect each of the parts and make sure all licensing is in order since its a bit more then the google Opensource framework. I know that several other ROM creators have not paid much attention to it as I am going to now but I really don't want to upset any IP holders like what happened to Cynanogen a couple months back.
I will put it back up but I want to make sure that I am totally covered and don't have any issues.
version 0.6: download (offline)
==============
-fixed wifi thanks to http://forum.xda-developers.com/showthread.php?t=593620
-Now starts up with Android stock keyboard. (No longer needs HTC_IME.apk for second keyboard)
A few have asked for this ROM so I thought I would put it up here for anyone that wants to contribute to or take from it.
This ROM is only compatible with the Sprint CDMA HTC Hero. It is not finished and still requires some work but its good enough for my day to day use and I am sure others may find the same potential.
This ROM is vanilla android and what it takes to actually get it running on a CDMA phone. It is built off of this GSM variant. I am going to try and work to remove the google bits so that you can use Cynanogens method of extracting your own and then doing a follow up update to install them. My efforts for this is not to build a better rom but to build a cleaner base that has limited to no proprietary IP.
Credits to all on this forum how have helped or contributed in any way to building the roms that are here. I would point out names but there are to many to name. I am positive that anyone that pays attention to this forum will know who you are. I used many parts of these ROM's and many others on XDA to build this one.
This is my first ROM and was primarily made for myself to help me learn how to create a custom ROM.
Here is the link to my blog where I originally posted about this and a video of it booting.
Here is the Youtube video of it booting: http://www.youtube.com/watch?v=tRTh-rXKe-E
*Warning*: Don't attempt to flash this ROM onto anything else unless you know what you are doing! I am not responsible for any device malfunctions or "Bricks".
Notes on Installing:
- Run a Nandroid backup before you do anything.
- Make sure you do a full wipe first. (Sorry )
- Run the update zip found * Version 0.6 *(offline) from the recovery console.
To get the HTC keyboard installed: (Now Optional as of Version 0.6)
- Follow the instructions here.
Things that don't work:
- Gallery some times has issues.
- Camera
- Wired or Wireless Tethering (Now Testing)
- Orientation
- Trackball light
- Trackball click (Rolling and moving are fine)
- (Let me know if something else needs to go here.)
Possible issues that are not repeatable:
- speaker not working on out bound calls? I made 30 test calls to my home phone and was not able to replicate this issue. Needs to be verified (see here)
Awesome! Thanks! disregard my PM lol.. Great timing.
VoXHTC said:
Awesome! Thanks! disregard my PM lol.. Great timing.
Click to expand...
Click to collapse
LOL I was just getting to replying to you!
im trying it now nice work
Let me know if any of you have issues flashing. I still have it all right here in front of me if I need to make a change.
FYI: The first boot takes for ever as it registers all the APKS.
i just get the HTC_IME fource close i installed the one from the site like you said and installed it and i get this
thorracing1 said:
i just get the HTC_IME fource close i installed the one from the site like you said and installed it and i get this
Click to expand...
Click to collapse
So you installed both the HTC_IME.apk and the Clicker.apk? Did you do a adb push or a adb install?
Try and go into settings --> Language & Keyboard --> Touch Input --> Text Input?
I think its a force of habit with out really thinking to go there and calibrate but just going there may help.
Try that and let me know.
i just flashed it and pushed the keyboard and calibration app through adb and all is well. its working awesome. Thanks!!!
2.0t03speed said:
i just flashed it and pushed the keyboard and calibration app through adb and all is well. its working awesome. Thanks!!!
Click to expand...
Click to collapse
Awesome, keep the feed back coming as you have it!
please take note orientation doesnt work. please put in first post.
otherwise, great work!
should i do adb install or adb push?
blankd3ckskat3r said:
please take note orientation doesnt work. please put in first post.
otherwise, great work!
Click to expand...
Click to collapse
Got it listed now, that one bugs me... Must have been to worried about building this to remember it.
BTW thanks for the feed back!
thorracing1 said:
should i do adb install or adb push?
Click to expand...
Click to collapse
I would do an install or transfer them to your SD card and grab a app like Astro from the market to install them. Don't worry we will get you worked out.
dchadwick said:
Got it listed now, that one bugs me... Must have been to worried about building this to remember it.
Click to expand...
Click to collapse
lol well its a common problem, cant wait for a fix. really like what you did with this build
dchadwick said:
I would do an install or transfer them to your SD card and grab a app like Astro from the market to install them. Don't worry we will get you worked out.
Click to expand...
Click to collapse
Not able to get a working Keyboard Now I'm stuck in a boot loop. Tried installing through droid explorer.. no go.. tried installing from astro ..no go.. now it loads lockscreen.. dead... reboot..rinse and repeat
removed SDcard.. boots now trying to push.. but where do I push the apk files to?
blankd3ckskat3r said:
lol well its a common problem, cant wait for a fix. really like what you did with this build
Click to expand...
Click to collapse
Thanks, but I really can't take to much credit. Its a "Pick and Pull" from several ROMs. This one actually came from our GSM Brothers and then I used the CDMA tricks in this form to make it work.
I keep watching and playing with the Google Nexus Dumps. I would really like to get one of them up and running.
Based on your posting and replies I assume you are re-using the 2.6.27 kernel like the other roms?
VoXHTC said:
Not able to get a working Keyboard Now I'm stuck in a boot loop. Tried installing through droid explorer.. no go.. tried installing from astro ..no go.. now it loads lockscreen.. dead... reboot..rinse and repeat
Click to expand...
Click to collapse
Wow thats allot in a little space.
What I gather is that it originally booted, then after trying to install via droid explorer and then astro it now just dies after the lockscreen.
I am not sure where to start. I would just say to do a full wipe, then a clean install. Then if you have the sdk try the ADB install method as Cynanogen's post talks about.
I am working on trying to get the stock Android keyboard to work. If we can figure out that then we don't have to mess with the HTC one.
ok i got it i just adb pushed them to system/app works great
obelisk79 said:
Based on your posting and replies I assume you are re-using the 2.6.27 kernel like the other roms?
Click to expand...
Click to collapse
Yeah, actually some of your work if I remember correctly, thats why its got the same issues. My first goal when I built this for my self was to get past the blasted google bits sync loop. The more I worked into it the more I moved on to the 2.0.1 build with some of your stuff in it.
Your welcome to anything I have learned, its really not my work.

Add htc_ime back into stripped down ICS roms

hey, just testing out a few of the stripped down ICS 4.0.3 roms. theyre really great, but the devs always take out the htc_ime. i really like to have that cause of the language selection.
i know i saw somewhere a .zip to flash it back in, but i cant find it now that i need it! anyone know where it is??
thanks!
I heard that HTC_IME is not compatible with ICS...
It is compatible - im using it with no problems. Even HTC trace works fine.
What you need to do (sorry i cant make a flashable zip)
download the zip from HERE
Extract the zip file
Push the HTC_IME.apk (from app folder) to /system/app (I use ES file explorer) and change permissions to RW-R-R
Then push the libs (from lib folder) to /system/lib and change permission to RW-R-R - there should be 5 in total.
Then reboot. I also wiped cache & Dalvik cache just to be sure.
NOTE: if you are using virtuous inquision the lib files are already present. This is the rom im using and since it is based from the HTC leak, the dev has not removed the libs. So all you need is the HTC_IME.apk into /system/app and then you should be able to select the HTC touch input in the keyboard list.
I hope this helps
Doesn't work. Even after copying all the files to their proper folders, ensuring permissions are correct, and wiping cache and dalvik... It still force closes as soon as Touch Input is selected. Just tried it on CM7.
I'm going to try to investigate this problem and see what I can come up with. I know everybody used to say that Clicker.apk was needed. But if you look at most of the ROMs out there, you'll see that they somehow use the HTC_IME keyboard without having Clicker.apk. So what's missing?
Edit: I feel like I'm going to give myself a headache trying to figure this out. The logcat for the FC said (amongst other things) that there is a ClassNotFoundException for KeyboardSettings. There's also a lot of ActivityThread errors which don't really mean much to me. A Google search revealed that it may be related to the AndroidManifest.xml in the APK file, but unfortunately it's not a standard XML file (try opening it to see what I mean). Not to mention, the APK is obviously fine, because I pulled it right from the ROM.
So basically, we need to somehow figure out what other files are needed by HTC_IME.apk, besides the libraries mentioned already in this thread. I assume that it worked for beady_uk because the ROM he was using already had the rest of the required files without him knowing. I'm going to continue looking to see if I can find more information, but I would definitely appreciate if anybody has any technical input into this situation. I can provide logcat information if needed.
Gamesoul Master said:
Doesn't work. Even after copying all the files to their proper folders, ensuring permissions are correct, and wiping cache and dalvik... It still force closes as soon as Touch Input is selected. Just tried it on CM7.
I'm going to try to investigate this problem and see what I can come up with. I know everybody used to say that Clicker.apk was needed. But if you look at most of the ROMs out there, you'll see that they somehow use the HTC_IME keyboard without having Clicker.apk. So what's missing?
Edit: I feel like I'm going to give myself a headache trying to figure this out. The logcat for the FC said (amongst other things) that there is a ClassNotFoundException for KeyboardSettings. There's also a lot of ActivityThread errors which don't really mean much to me. A Google search revealed that it may be related to the AndroidManifest.xml in the APK file, but unfortunately it's not a standard XML file (try opening it to see what I mean). Not to mention, the APK is obviously fine, because I pulled it right from the ROM.
So basically, we need to somehow figure out what other files are needed by HTC_IME.apk, besides the libraries mentioned already in this thread. I assume that it worked for beady_uk because the ROM he was using already had the rest of the required files without him knowing. I'm going to continue looking to see if I can find more information, but I would definitely appreciate if anybody has any technical input into this situation. I can provide logcat information if needed.
Click to expand...
Click to collapse
I believe that you have mis-read the 1st post.
The OP asked how to re-add the HTC_IME to a stripped down rom that the dev had removed.
This is what i have done and it worked - possibly because the roms are sense-based framework.
You have tried to install this on CM7 with is CM based framework so i think you will need more 'files' but that is beyond my knowledge.
Sorry i cant help further
You are correct. I was in a deep search for anything revolving around installing it, so I missed that part. I saw your post (which is the only place I've seen anybody mention installing those lib files), and I guess that caused further oversight on my part.
I do imagine this may not work on all the stripped down ROMs though, if any of the cooks stripped their ROMs like I stripped my old Win98 PC that had a 1GB hard drive in it... that is to say, remove every possible file that wouldn't cause stability issues

Categories

Resources