yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] basthet:
Jepp - had it installed, too.

Technically the differences are great.

Major difference: RCmiXHD uses the sd-ext directory to surpass the limited space availabel of fast NAND the Desire have (Thats btw. the reason why the Camera patch of RCmixHD is not working for VillainRomHD).

That's btw a great idea, however I have a slow SD-card and frankly I do not need the Sense Launcher.

VillainRomHD just removed some stuff (e.g. the launcher) from sense and so it fits into the NAND. A great solution, if you like the very good contact, facbook, etc. apps from Sense, but prefere a striped down and fast responsive Rom.

I use Launcher Pro. It is much faster and as I found it have great alternatives for the sense widgets.

With RCmixHD I had problems, some FCs (e.g. contact app), so I came back to the SupperVillainRomHD and modified it slightly. Very happy with that solution.

However it all is dependent on what you like ;-)
[Desire Android Development] ouglouck:
Yes exactly, this ROM is much lighter compared to the RCMix HD. As you stated the major difference being it can stay within the telephone where the RCMix HD can't. So that one is a good compromise as you've got new Sense, but not Rosie (the launcher) and not too many additionnal Sense stuff.

EDIT] I guess some of the libraries of the patch being installed in a different location, that's causing trouble when some apps try to acess it (as RCMix HD use the external partition where this ROM use the phone). By using 3rd party apps, these are just using the low level drivers which can access the Camera, but not the other libraries. That's just a guess, if someone more clever does know better, I will be glad to learn from him.
[Desire Android Development] wieben:
Peraps somebody can repack the ROM with working CAM and upload it somewhere?:)
[Desire Android Development] neitin:
+1 I want it too
[Desire Android Development] Bengaal:
Sorry for the stupid question but is there another way to push the Camera.apk to system? because ADB isn't working on my laptop...

thanx
[Desire Android Development] basthet:
If you are S-off you shoudl be able to use root-explorer and put it there (after r/w /system/app/).

BTW: I edited the patch so it should flash the HTCCamera into the correct folder.

I did not sign it (so toggle verification check off and try it)

No guaranty it will work, so do a backup first!
[Desire Android Development] Bengaal:
thanx

it says: E: can't find update script

after flashing

But when I placed HTCcamera.apk in the system/app file with root explorer it loaded....but I don't see the camera app.... What do I have to do more?
[Desire Android Development] Sleepydude:
Same here, flashed camera app to system/app but it doesn't appear in the app drawer. Camera does work with Barcode Scanner etc.
[Desire Android Development] basthet:
Have you restarted and wiped the dalvik cache?

Can you check with root explorer if the HTCCamera.apk is in /system/app/ ?

Just updated the zip - try it (remember to backup)
[Desire Android Development] ouglouck:
Has anyone tried the patch from Villain's ROM site (http://www.villainrom.co.uk/forum/showthread.php?3611-Bring-Camera-up-to-life)?

There is a slight difference (gralloc.default.so library removed from the original RXMixHD patch) in the patch provided.

The file to patch and the one to install are the one coming from the 4th post, not the 1st one.
[Desire Android Development] basthet:
These are the same as posted here ;)

To clear some stuff up read my last post in the mentioned thread.

The 1 post includes the wrong patch, only use the one from post 4.

In order to get a working camera (so you can use any 3rd party camera) only flash the zip.

To get a working HTCCamera I simply pushed the attached HTCCamera into the /system/app folder. I did not trie it with root explorer, but it should work out as well.

Maybe s.o. with more script experience can repack the attached camfix_rc1_rcmixhd012.zip

What he has to do:

1) open the patch

2) remove the sd-ext folder

3) go to /system/

4) create folder app

5) put the attached HTCCamera.apk into it

6) update the update-script (simply remove the sd-ext line)

7) do the magic I am not aware of to get it signed und runable

Happy to learn, so please put feedback
[Desire Android Development] Sleepydude:
I wiped dalvik cache, that did the trick! Thanks basthet.
[Desire Android Development] ouglouck:
Thanks a lot.
[Desire Android Development] Bengaal:
I checked it htccamera.apk is in /system/app

but after wiping dalvik cache still I can't see the camera

I tried your updated zip file also but getting the same error as first version
[Desire Android Development] basthet:
So before I have to give up (why is adb push not working for you btw - just wondering) one more chances ;)

Try to install it via Root explorer (hence: make /system/app r/w-able) and than force the apk install

If this is not working for you I am sorry - you might have to wait until someone explained me how to create a flashabel zip

BTW: if you use LauncherPro make sure not to hide the Camera app in the Launcher...
[Desire Android Development] Bengaal:
How can I check if I have hidden camera?
[Desire Android Development] basthet:
Do you have Launcher Pro?

Preferences -> General Settings
[Desire Android Development] Bengaal:
Yes I have.....but it's not hidden the camera

I think there is something wrong with the permissions........the permissions of the HTCCamera.apk are different than the other system apps...........

User Read & write were not marked...... so now I marked it the same as all other system apps.....

Let's hope it will do the job now.....

UPDATE:

Camera is showing now in app drawer but fc after a few seconds
[Desire Android Development] basthet:
Wiped the Dalvik Cache?
[Desire Android Development] Bengaal:
yes I did every time I tried to change something.............

.. I think I'am going back to auraxtsense and wait for a flashable zip hopefully .

Thanx for your help btw
[Desire Android Development] ouglouck:
I did everything mentionned in your above post basthet and the camera app is showing and working properly. Great.
[Desire Android Development] horst0815:
i second that. also tried it that way, and it worked.
[Desire Android Development] gifosiski:
Rom .

Good work. I would ask which clock widget u use in this thema.Sry for my bad english.
[Desire Android Development] ouglouck:
If you mean the one in the 1st post, it could be Tajm (http://www.appbrain.com/app/tajm/net.bajawa.tajm).

Langages you can have are only english and swedish.
[Desire Android Development] gifosiski:
Oh ,Thank you:)
[Desire Android Development] ouglouck:
No problem. :)
[Desire Android Development] daffie:
As this is still by far my most-favorite custom rom, it would be great if we would see the cam-fix applied to it as well...maybe even a new updated version of the rom? Keeping my fingers crossed that this "project" is still alive... :)
[Desire Android Development] basthet:
... do not get your point as the camera fix is included in this thread...
[Desire Android Development] daffie:
Have tried several "solutions" but failed, as many others have. Hoping for a rom with cam-fix included, as RCmixHD rom...
[Desire Android Development] basthet:
Well, you do not have to try several solutions. Only the one that works :rolleyes:

You might tell us what you have tried, so we can tell you, what you have done wrong.
[Desire Android Development] daffie:
Ok then, so I'll try once more...hopefully I can make it work this time :) Last few times, after flashing the fix, my phone couldn't see Simcard and didn't show battery...common issue that was experienced by other people as well.

From what I gathered from this thread, this should be the procedure and in this particular order, correct?

- Get the fix and apk from post 4 in this thread : http://www.villainrom.co.uk/forum/showthread.php?3611-Bring-Camera-up-to-life)?

- Flash the fix in Recovery mode

- Wipe dalvik cache

- Restart phone and use Root Explorer to copy the HTCcamera.apk to /system/app folder

(I don't have ADB, so have to try using Root explorer)

Edit :

- flashing the cam-fix went well...no issues after restart of the phone.

- With Root Explorer tried to copy the HTCcamera.apk from SD card to the /system/app folder...but first made this folder R/W ("mount r/w").

- The apk doesn't show up in the folder...not even after restart of the phone.

- I even tried changing the permissions of the apk to the ones that the other apk's in the system/app folder have. Seems like the changes to permissions aren't saved though.

I must be doing something wrong, but cannot figure out what...
[Desire Android Development] basthet:
Your 'common' issue is due to flashing a CDMA version on a GSM phone. So you have taken the wrong fix... (continue to flash a wrong version will not make it any better) Take the one you mentioned (camfix_rc1_rcmixhd012.zip ), it is the correct one.

The whole procedure is very simple and consists out of to steps.

1) Fix the camera libs - this is simply done by installing the fix.

2) Installing the HTC Camera - this is done by pushing HTCCamera.apk into /system/app/

Sidenote: As HTCCamera.apk use Dalvik you have to wipe the cache _afterwards_ - it is useless to install the camera without wiping dalvik... (if you check out what Dalvik is you will understand why)

If - for any reason - you do not like to donwload adb and try to make it complicate: buy rootexplorer and put HTCCamera.apk into /system/app/. Do not forget to modify the permissions correctly, so you can find and execute it.

PS: you can also run any other camera app after installing the fix
[Desire Android Development] daffie:
Thanks for the feedback. In the meantime you can see that I have already made all the necessary steps.

However it seems like the pushing of the apk to /system/ap folder doesn't work well as the permissions can't be set right. Any idea how I should do this?

Thanks again.
[Desire Android Development] basthet:
Ok - have you tried a different camera app - if it it working only the app installation is wrong.

So: either you have not wiped dalvik (I assume you did - please remember that others forget it all the time, so only to make sure everybody does so) the permissions must be wrong ;)

Can you please tell them - they should be rw-rw-rw-?
[Desire Android Development] daffie:
Thanks and yes indeed, I wiped dalvik cache..I know what it is because I flash a new rom approx every 4-5 days :)

Looks like the permissions cannot be changed or are not changed correctly. When I check the permissions of the htccamera.apk with Root Explorer, and then change the permissions like they are for the other apk's, click OK, and then copy the apk to the /system/app folder, afterwards I do not see the apk in the folder.
[Desire Android Development] basthet:
There is no reason to wipe dalvik if you do not need to do so... just wondering...

...hmm... sound like you do not have write access to /system/app/...

Have you mounted system r/w?
[Desire Android Development] daffie:
Yes I did (as I wrote before). I would really like to have the HTC camera app as it is just perfect.

Any idea's on how to set the permssions correctly?
[Desire Android Development] basthet:
It has nothing to do with the permissions: if HTCCamera.apk is not present in /system/app/ you have not copied it over ;)

again: first make sure to have system mounted read/write

if you root explore is not st up correctly it might show you mounted r/w but you only have read permissions (frankly that what it sounds to me)... Might it be that you have not s-off your device?
[Desire Android Development] daffie:
Ai...I need s-off to be able to use Root explorer and r/w access to my phone? I did not know that, possibly what is causing it not to work.

No way to do this then without having to s-off my phone? The more the *need* for an update to this rom :)
[Desire Android Development] basthet:
Jepp - The idea behind s-on is to prevent any software to modify anything within /system. So root-explorer is a nice investment to list your /system directory - but that's it ;)

The only why to install the app (in S-on mode) is via adb push in recovery mode

Frankly: why not simply download the adb tool and push HTCCamera.apk over? It is more simple, cheaper, faster and more reliable then s-off you device and use root-explorer ;)
[Desire Android Development] daffie:
:) I'll try ADB. Can I use this manual ? http://androidcommunity.com/forums/f4/how-to-install-apps-using-adb-4482/

Thanks for all your help.
[Desire Android Development] basthet:
Actually is more simple... (I expect you not to develop new apps...) - I wrote adb.windows.exe - in case you use linux use ./adb instead

First: connect your phone via usb with your computer and bring it into recovery.

1) Download the adb tools (google for r6-desire-root (Windows or Linux) and extract it.

2) copy HTCCamera.apk in the same directory where you find adb-windows.exe (might be in the subfolder tool)

3) open the comand prompt (Start -> Run: cmd)

4) go into the extracted directory (where you find adb-windows.exe and HTCCamera.apk)

5) adb-windows.exe shell

6) mount -o rw /system

7) exit

8) adb-windows.exe push HTCCamera.apk /system/app/

Desire: wipe dalvik

restart

That's it...
[Desire Android Development] daffie:
Many thanks once again...could you point me to the correct place where I can download the r6-desire-root package...I can't seem to find the one, or I'm not completely sure if the one I found is the correct one.
[Desire Android Development] basthet:
I assume you have rooted your Desire- so actually you should have it already... You need the package to unroot your device...

http://theunlockr.com/2009/10/06/how-to-set-up-adb-usb-drivers-for-android-devices/

Thats the simpliest tutorial I could find (it is with in the forum)

The first link (the android sdk is what you need - choose the configuration you need)

BTW: you do not have to set up the whole suit - just unzip it and you have everything you need for adb...

It makes no sense to post a link here, without knowing your configuration....

Further on: you might have to download the usb-driver for windows7, but please only do so if it is not working (the posted link will explain it to you)

Just follow the instruction within the tutorial. it is simple and will help you to set up the usb-connection to your phone.

however as told:if you have unrooted your phone you should have done so already

will have to leave now, will be back later.
[Desire Android Development] daffie:
Thanks...all worked. Except command "mount -o rw /system"...it then tells me "usage: mount [-r] [-w] [-o options] [-t type] device directory". Tried exit and then to push the apk, but get information "read-only file system".

I guess making the system folder rw did not work...
[Desire Android Development] basthet:
well: then do what it tells ;)

mount -w /system/app/

To make it even more clear:

open command prompt: Start -> Run: cmd

go to the directory where you put adb-windows.exe

# only indicates a new line - so do not type #:

I) first way of mounting:

# adb-windows.exe shell

# mount -w /system/app/

(to make sure you mounted:

# ls /system

if several directory are listed, you have mounted the filsystem r/w)

# exit

# adb-windows.exe push HTCCamera.apk /system/app/

------------------------------

II) second way of mounting

# adb-windows.exe remount

# adb-windows.exe push HTCCamera.apk /system/app/

---------------------------------

The second way is more simple, however, s.t. I got error messages, so I prefer the first way. btw. I am on linux, the options for windows might differ slightly...

The mount command might differ: e.g.# mount -rw /system/app might do the job as well, this differ from version to version. Just play around, you cannot destroy anything ;)

BTW: you can also always wipe dalvik without a problem, the first boot will only take longer
[Desire Android Development] ouglouck:
You could had also opened the fix, removed the SD-ext folder and the line in the update scipt, copied the proper HTCcamera.apk into the opened fix and saved it.

Then you would had flash it and you would had the libraries installed and the right program at the right place.

Honestly it takes around 3-5 minutes (including reboot). I did that on mine, and the camera was working with the regular program.
[Desire Android Development] basthet:
That's exactly what I tried before (http://xdaforums.com/showpost.php?p=9540284&postcount=445) ;)

However, that did not work out, as the update script did not run.

People were complaining...

Please: can you tell me what I have done wrong?
[Desire Android Development] daffie:
I tried it again, but it keeps failing :( I copied&pasted the complete actions from the Command Prompt, here is what I did and the feedback that I received :

Microsoft Windows [Version 6.1.7600]

Copyright (c) 2009 Microsoft Corporation. All rights reserved.

Directory of C:\adb

06-12-10 19:21 <DIR> .

06-12-10 19:21 <DIR> ..

01-12-10 04:34 <DIR> add-ons

06-12-10 19:07 <DIR> docs

06-12-10 19:21 <DIR> google-usb_driver

06-12-10 19:52 <DIR> platform-tools

06-12-10 19:10 <DIR> platforms

06-12-10 19:11 <DIR> samples

18-11-10 03:51 361.758 SDK Manager.exe

01-12-10 04:34 854 SDK Readme.txt

06-12-10 19:21 <DIR> temp

06-12-10 19:04 <DIR> tools

2 File(s) 362.612 bytes

10 Dir(s) 14.463.737.856 bytes free

C:\adb>cd platform-tools

C:\adb\platform-tools>adb.exe shell

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

sh-3.2# mount -w /system/app/

mount -w /system/app/

Usage: mount [-r] [-w] [-o options] [-t type] device directory

sh-3.2# ls /system

ls /system

usr

media

bin

lib

etc

sd

fonts

build.prop

tts

xbin

framework

customize

app

lost+found

sh-3.2# exit

exit

exit

C:\adb\platform-tools>adb.exe push HTCcamera.apk /system/app/

failed to copy 'HTCcamera.apk' to '/system/app//HTCcamera.apk': Read-only file s

ystem

C:\adb\platform-tools>adb-windows.exe shell

'adb-windows.exe' is not recognized as an internal or external command,

operable program or batch file.

C:\adb\platform-tools>adb.exe remount

remount succeeded

C:\adb\platform-tools>adb.exe push HTCCamera.apk /system/app/

failed to copy 'HTCCamera.apk' to '/system/app//HTCCamera.apk': Out of memory

C:\adb\platform-tools>
[Desire Android Development] basthet:
Ok: so second version works for you - that's great ;)

btw: if not working just kill the server remove the usb cable and try again

(kill the server with:# adb-windows.exe kill-server)

"failed to copy 'HTCCamera.apk' to '/system/app//HTCCamera.apk': Out of memory" means what it says - you do not have enough memory.

As I use swype instead of the HTC keyboard (sth. with HTC_IMC...) it's the first thing to delete - it's rather big so I never run out of memory...

# adb-windows.exe shell

# mount -rw /system

# cd /system

# ls

choose the stuff you want to delete e.g. GenieWidget.apk

# rm /system/GenieWidget.apk

you can check disk usage via df

# df /system/app

if enough left, push HTCCamera over.

size of the files you can see via

# ls -l /system/app

hope that's help ;)
[Desire Android Development] ouglouck:
Well I don't understand what went wrong. Just followed your instructions

The only difference between our files, as far as I can see, is the update script. I have only lines:

delete_recursive SYSTEM:lib/hw
copy_dir PACKAGE:system SYSTEM:

and you have lines:

delete_recursive SYSTEM:lib/hw
copy_dir PACKAGE:system SYSTEM:
copy_dir PACKAGE:sdext SDEXT:

But that should not makes any difference at all. Just wondering if I was not "lucky".

The only thing I did to get the camera working, was to flash the modified version on a brand new install, with no other trials.

Only if you're interested in, please find attached the file I used.
[Desire Android Development] daffie:
My phone still has loads of memory (yes, all possible types of memory), so an out-of-memory is simply not possible...it must be something else that is screwing things up.

However, I'm letting this be for a while. Flashed the NewSenseDHD rom (based on RCmixHD v14) : http://xdaforums.com/showthread.php?t=861690

I do appreciate all your help...thanks! Hopefully someday this rom will be updated...we'll see.
[Desire Android Development] basthet:
No problem, at least I might have brought you closer to the xda-developer magic ;-)

I'm also swapping roms - more or less every other day.

Sent from my HTC Desire
[Desire Android Development] sidtec:
Sounds great, apart from the lack of camera.

Are you still working on this?
[Desire Android Development] ouglouck:
The camera works. At least if you flash the patch in this thread you will get an access to the camera through 3rd party apps.

You can also then flash the HTCcamera program and get access through Android camera program.

I was also able to do the trick as mentionned in this thread and gets in one flash the camera working for the Android app and the 3rd party programs.
[Desire Android Development] cgimc4:
:D I don't think so ;)
[Desire Android Development] sierraindigo:
trying to flash this onto a debranded desire from three with goldcard. just getting a continual boot loop. have got a 1Gb ext4 partition on sd card and wiped caches etc from recovery but no joy. anyone else had the same experience and able to explain how they got it to flash?
[Desire Android Development] davorb:
Am I the only one having trouble with the browser force closing when visiting some sites, such as google.com or whatismyip.com? Any clue on how to fix it?

EDIT: nm, managed to fix it. Seems the problem had to do with me trying to transfer my old bookmarks.
[Desire Android Development] Maix27:
Do you know where in the thread?! ROM sounds great but i would like to be able to use the camera.

Cheers.
[Desire Android Development] davorb:
Last night my android market just dissapeared. Any idea on what I can do to get it back?
[Desire Android Development] thighood:
Looks nice, really...

is there any Arabic support for it?...
[Desire Android Development] wormy666:
CDMA port

Any chance that this can be proted to the CDMA HTC Desire? Been looking for a sense HD ROM for my phone since the HD version came out and got ported to the Desire/Hero/Eris.

Thanks, Looks like it's be GREAT!
[Desire Android Development] -Yaya-:
So readding the Sense Lockscreen is impossible?

I prefer it over the vanilla one
[Desire Android Development] pulser_g2:
Hehe. I'd beg to differ on the lack of camera, as I used my Hero for at least a month without camera, while cyanogen worked on the camera issues on Froyo. At one point, I resigned myself to not having the camera, and wasn't too bothered tbh.

I have used the camera on my hero a total of 6 times in a year :p

I presume you use it more, and thus need it. At least you've got SuperVillain to use :)
[Desire Android Development] Pyr0x64:
any chance of creating a Sense HD rom with rosie/sense please?
[Desire Android Development] mr.r9:
nprussell, first of all thank you for your hard work.

So I guess having Roise and its widgets is impossible on the nand?

Damn you htc, damn you!!
[Desire Android Development] nprussell:
I will get around to making a SENSE Version, and i MIGHT even get it on the Nand...

I just wanted to prioritise this first.

ANYWAY: HOTFIX IS UP ON POST #2
[Desire Android Development] chiekh:
Thanks for the great work. i ve remarqued that the led wont turn on when pluging the phone to the charger.
[Desire Android Development] Spine79:
Excited by this... flashing as we speak (ROM that is...)
[Desire Android Development] robbo990:
So does all the HTCSense.com stuff work on this ROM? like downloadable maps?

I realise the site isn't up fully but I am aware people have registered successfully.
[Desire Android Development] Kickasskev:
Any chance of getting some screen shots up on the first page????
[Desire Android Development] mkolonko:
thumbs up for this rom... is everything i need. well, most of it. very happy with the vanilla lockscreen.
[Desire Android Development] pk6668:
does the camera bug fixed alreadly?
[Desire Android Development] ephumuris:
No not yet on any HD ports.