yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] andycted:
I don't think so, check the log comparison I've made some posts back. there is only probably some kind of difference in logging format, where one is the value 0, the other probably translates the enum to Portrait.

Anyway, since the camera starts but the preview/image is black, there is probably something else going wrong
[Desire Android Development] K900:
To all guys screaming ORIENTATION: get Google Goggles from the market; run it; try taking a picture; logcat. No orientation error.

Sent from my HDfied HTC Desire
[Desire Android Development] Diamondback:
Goggles is not the HTC-Cam...

Different apps, different logs...
[Desire Android Development] dezborders:
I agree the non-HTC camera port sounds more likely to succeed, as it would bypass the sense libs

- so is anyone in touch with the devs who did this for other roms?
[Desire Android Development] divvet:
Ive attempted to contact some developers who achieved the nexus port with no reply, my work on the sense cam to aosp shortly ended due to lack of experience with this sort of stuff...

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

Heres some links that might be helpful.

My Original project for porting sense cam to AOSP

Enomthers Nexus rom with working sense camera

The Sense Camera app patch to give it to Enomthers Rom (so essentially all files that are needed)

Hope this helps. It may be worth looking at Enomthers Roms Kernel, and the ported files, this would give a clue on whats needed.

Ive managed to get this working to a certain degree on a Desire AOSP rom, just never worked fully, and no devs were willing to help..
[Desire Android Development] NeoPhyTe.x360:
And....If we unpack AOSP/or sense1 framework in /sdext/framework/, and edit the HTCCamera.apk to "work" from /sdext/framework???????????
[Desire Android Development] K900:
That's it.

Sent from my HDfied HTC Desire
[Desire Android Development] NeoPhyTe.x360:
But.....How? because HTCCamera have many files, and maybe some libs can't be replaced, and we have to "work" too from another lib folder.
[Desire Android Development] divvet:
If you look at the files in the Enomther patch shouldnt that give us the files needed?

also heres a thought, has anyone thought of stripping out the camera files from the SenseHD rom? Maybe theres a conflict?
[Desire Android Development] hamdir:
I'm looking at the Enomther patch files it might definitely hold an answer

The HD port already runs on the desire froyo kernel and the desire radio yet third party cams fail to work so its pretty obvious the problem is in the libs and settings calling the cam

Didn't Adamg mentions he will work on this?
[Desire Android Development] divvet:
He mentioned it but dont think he ever got around to it, i think he went for modding the android cam instead
[Desire Android Development] hamdir:
I noticed in Enomther patch, inside the system/lib/modules there is a folder called 2.6.32.22-TheOfficial
[Desire Android Development] divvet:
I always assumed this is the part of the kernel that is required from the desire to make it work on the nexus.
[Desire Android Development] hamdir:
Our froyo kernel is 2.16.32.15, this is definitely it wish we can get a dev onboard
[Desire Android Development] divvet:
hmmmmm.... maybe something was put into a later kernel to prevent it being meddled with? hence using an earlier one?

sorry my understanding of this is very limited, and i think this was why i gave up before because i couldnt get my head round the kernel stuff.

but!?! maybe if we bolt on the kernel from the current desire version to the senseHD version, it would give us access to the camera?
[Desire Android Development] eViL D::
WHAT? Bolt on? Ok, seriously, let's let the people who work on ROMs and kernels do this. I want to get this working as much as anyone and I understand feedback & input is important, but there's too much clutter with regurgitated comments and random thoughts. I will try to get in touch with enomther, as he has the HTC camera working with only the htc.framework & limited resources. I think if that's not a hint, I don't know what is.
[Desire Android Development] rolfd:
Just did a little clean up of this thread again.
[Desire Android Development] NeoPhyTe.x360:
Better, some people are idiot, and instead of colaborate, them prefer to insult people.
[Desire Android Development] Beaverman20:
what... did my post just get deleted because i tried being nice, and i expressed that the devs are awesome... owell, this is not the place to discuss that matter... ill just say it again... awesome work you guys :D

do you still have anything to go by, or are you just guessing by now?
[Desire Android Development] rolfd:
Your post was deleted as it wasn't contributing to the development of this.

It would really help to keep things tidy if thanks were posted once a breakthrough is achieved. People look at this thread, see a new post has been made and then have to wade through off-topic/bickering/thankyou/ hurry up, and how is this going? posts.

My apologies if this offends anyone, but it's necessary in my opinion, to try and keep this thread tidy and on track. Dev's need to compare ideas, not waste time reading off-topic posts. :)
[Desire Android Development] dezborders:
Sorry if this is a nonsense question... could the fact the HD ROM is split between nand and EXT partition cause any issues between the camera app and lib files?
[Desire Android Development] hamdir:
the following is the contents of the Enomthers AOSP HTC camera addition

htccam_2.13.1_720p_kernel_audiomod.zip

/system/app

HTCCamera.apk

/system/bin

cam_ins_spmo

/system/lib/

libcamera.so

libcamera_client.so

libcameraservice.so

liboemcamera.so

libOlaBase.so

/system/lib/modules/

bcm4329.ko

/system/lib/modules/2.6.32.22-TheOfficial

ah6.ko

auth_rpcgss.ko

cifs.ko

cramfs.ko

esp6.ko

exportfs.ko

ext4.ko

fuse.ko

ip6_tunnel.ko

ipcomp6.ko

ipv6.ko

jbd2.ko

lockd.ko

mip6.ko

nf_conntrack_h323.ko

nf_nat_h323.ko

nfs.ko

nfs_acl.ko

nfsd.ko

ramzswap.ko

rpcsec_gss_krb5.ko

sit.ko

squashfs.ko

sunrpc.ko

tun.ko

tunnel6.ko

xfrm6_mode_beet.ko

xfrm6_mode_transport.ko

xfrm6_mode_tunnel.ko

xfrm6_tunnel.ko

/data

firstboot2.sh
[Desire Android Development] hamdir:
Interesting stuff in the Enomthers patch:

the modules folder contains another named "2.6.32.22-TheOfficial" which is a version number of the Desire Kernel and include additions to the kernel, my guess its related to other additions in the patch like tun.ko, cifs, ext4 etc...

the file cam_ins_spmo in the bin folder

the file libOlaBase.so in the lib folder

the kernal file bcm4329.ko in the modules folder

Neo i don't know if you tried to copy them from the original Desire Rom

and the script in the data folder which seems to uninstall the stock camera

#!/system/bin/sh
#
# Uninstall Stock Camera
#

IN_REM_LINE=0;

# Only on upgrade, otherwise get out
if [ ! -e /data/system/packages.xml ];
then
exit;
fi;

busybox cp /data/system/packages.xml /data/system/packages.xml.tmp;

echo -n > /data/system/packages.xml;
cat /data/system/packages.xml.tmp |
while read -r line;
do
if	[ `echo "$line" | busybox grep -c '<package name="com.android.camera" codePath="/system/app/Camera.apk"'` -eq 0 ] &&
[ "$IN_REM_LINE" -eq 0 ];
then
busybox printf "$line""\n" >> /data/system/packages.xml;
else
IN_REM_LINE=1;

if [ `echo "$line" | busybox grep -c '</package>'` -eq 1 ] || [ `echo "$line" | busybox grep -c '</shared-user>'` -eq 1 ];
then
IN_REM_LINE=0;
fi;
fi;
done;
busybox rm /data/system/packages.xml.tmp;

busybox rm -rf /data/data/com.android.camera;
[Desire Android Development] hamdir:
comeon someone try copying these files from the original froyo Sense

/system/bin

cam_ins_spmo

/system/lib/

libcamera.so

libcamera_client.so

libcameraservice.so

liboemcamera.so

libOlaBase.so

/system/lib/modules/

bcm4329.ko

and then another try with the original HTCCamera.apk included? i don't DesireHd installed right now and i don't have S-OFF
[Desire Android Development] AstainHellbring:
Looks like htc just posted the kernel sources for the desire z http://developer.htc.com/
[Desire Android Development] JeckyllHavok:
Wow thats fast, maybe the source will help.

Will try if i'm home from work, but doesn't anyone tried this before?
[Desire Android Development] madman_cro:
well its better then to use whole desre z rom as it has source.
[Desire Android Development] JeckyllHavok:
so, i'm just downloading a froyo rom (can't await till home ;-) )

Will report when i changed th files....
[Desire Android Development] hamdir:
well from Neo's first post it seems he didn't try three of the files

the file cam_ins_spmo in the bin folder

the file libOlaBase.so in the lib folder

the kernal file bcm4329.ko in the modules folder
[Desire Android Development] serotizm:
I tried that. No luck.

I also tried Enomther's files. But when I apply the patch;

I get below error

I/dalvikvm( 298): Unable to dlopen(/system/lib/libandroid_servers.so): Cannot load library: link_image[1995]: failed to link libandroid_servers.so
I/dalvikvm( 298):
D/AndroidRuntime( 298): Shutting down VM
[Desire Android Development] hamdir:
you can't just apply the patch since its intended for an AOSP rom and has to remove the stock android cam first
[Desire Android Development] JeckyllHavok:
Ok, then no go for that, back to the draw pad

From which rom have you taken the files? (not the enomther patch)
[Desire Android Development] ivicask:
I allready tryed that, took files from AuraSense rom, but it didint work.

Logcat reported some sensor errors, and audio server not started errors, and few others...

But feel free to try it yourself.
[Desire Android Development] JeckyllHavok:
Maybe something is wrong with the file permissions?
[Desire Android Development] rolfd:
I'm getting tired of mass deleting off-topic posts in this thread. I've already deleted about 40 in total, and asked people to keep this thread on topic and clean so the dev's can share information without wading through post after post of off-topic chit chat.

It seems that there might be no alternative than to start issuing infractions to the persistent rule breakers.

I don't want this to happen, I want people to act as adults, and think before they post.

So one last time... Please only post in this thread if you are making a contribution to the the issues at hand.
[Desire Android Development] hamdir:
well bcm4329.ko is a kernel file so i bet its the cause of the issues, we will need to to wait for someone to modify our froyo kernel using the Z kernel source

you can try copying with these files if you want

/system/app

HTCCamera.apk

/system/bin

cam_ins_spmo

/system/lib/

libcamera.so

libcamera_client.so

libcameraservice.so

liboemcamera.so

libOlaBase.so
[Desire Android Development] alexdiaz:
Error

The new Kernel posted has the same link as the HTC Desire - Froyo MR - 2.6.32 kernel source code so we don't have the kernel yet, maybe it's an error, linked up wrong...
[Desire Android Development] hamdir:
unbelievable so we're back to square one, can we report this to HTC?
[Desire Android Development] alexdiaz:
Please report.
[Desire Android Development] dezborders:
has anyone investigated these hardware libraries?

<library name="com.htc.hardware.ace" file="/system/framework/com.htc.hardware.ace.jar" />

Perhaps something in these files defines/affects the camera?
[Desire Android Development] robocik:
Copying various files, those listed here too, i and others for sure, have already tryed to copy... i tryed from different desire builds, 2.10.xxx, 2.14.xxx, 2.26.xxx... nothing worked... i also tryed the files from plain vanilla froyo roms, which maked black screen and different error messages while starting camera...

But nothing that simple like copy and replace files and libs is working...

I also tryed with different camera apps to be sure... nada...

hehe, but there may be some file combination which is not tested but is working... so test, test, test...
[Desire Android Development] dezborders:
I tried replacing HD ROM's bcm4329.ko & sensors.ace.so files using same/renamed files from stock HTC Froyo ROM

- everything booted up fine, but screen stayed black for about 5 seconds when camera was launched then went back to home screen with no errors displayed.

(I am using Z dump's deodexed HTCcamera.apk).

No worse off, but no better either.
[Desire Android Development] hamdir:
HTC vision kernel source links was found

http://member.america.htc.com/download/RomCode/Source_and_Binaries/vision-2.6.32-g814e0a1.tar.gz
[Desire Android Development] quake2005:
great! that should speed up things!
[Desire Android Development] eViL D::
Nice find. My next suggestion was to use the visions camera & kernel. I'm going to take a look at the source now and see what is obviously different and if we can use it.
[Desire Android Development] BBLT:
Keep up this great work guys.
[Desire Android Development] NeoPhyTe.x360:
Inside this I saw there are "nothing" important
[Desire Android Development] dergago:
Is thr HTC Vision the same, than the HTC Desirr Z?

Because I found this...

pocketnow.com/android/htc-releases-kernel-source-for-desire-z-and-g2?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+pocketnow+%28pocketnow.com%29
[Desire Android Development] mohamed_moscow:
here is a new desire Z kernel source code.

http://www.megaupload.com/?d=KTSD1QBJ

or

http://developer.htc.com/
[EVO 4G General] knives of ice:
i know i read a thread on here with various 4g tweaks you can make so that it will accept a weaker signal and also reduce the time to reconnect. i've searched high and low all over and can't find this thread now. anyone have any idea where it is?
[EVO 4G General] willy900wonka:
http://tinyurl.com/32eaujr

Enjoy.
[Vibrant Q&A, Help & Troubleshooting] Moped_Ryder:
Maybe try it via the OCLF app in the market? If I remember correctly it has a root option also.
[Vibrant Q&A, Help & Troubleshooting] Moped_Ryder:
Also

The one click root program - doesn't it require the phone to be in usb debug mode? - dumb question but is it?
[Vibrant Q&A, Help & Troubleshooting] rbcamping:
yes its in debug mode
[Vibrant Q&A, Help & Troubleshooting] rbcamping:
I used ryans app, worked great.

I had a problem with the lag fix the last time I used it. should I use ryans with the J16 update?
[Vibrant Q&A, Help & Troubleshooting] stepinmyworld:
you should share with everyone your solution so the same question doesn't get created in a new thread. Im having the same problem. what exactly did you do to get root? Please let me know
[Vibrant Q&A, Help & Troubleshooting] s15274n:
Any reason to just not download the update.zip and flash it via stock recovery?
[Vibrant Q&A, Help & Troubleshooting] stepinmyworld:
That method doesn't work. The superuser icon shows up but it doesn't give you root access. I've only ran into this problem when running J16. Maybe there is a new method for root because samsung changed some things up with J16
[Vibrant Q&A, Help & Troubleshooting] s15274n:
^ actually, you are incorrect. Me and many others have used this method and I can assure you my JI6 rooted just fine. I'm running bionix now...
[Vibrant Q&A, Help & Troubleshooting] MilkPudding:
It works well for me.

I flashed the JI6 stock with Odin.
[Vibrant Q&A, Help & Troubleshooting] stepinmyworld:
I am using the Odin OTA for J16.. i think they've blocked root for the method we use. I guess I'll figure it out.
[Vibrant Q&A, Help & Troubleshooting] s15274n:
^ again, no they did not.
[Vibrant Q&A, Help & Troubleshooting] trey48fan:
I flashed via Odin yesterday. I could not get the update.zip to work (tried through recovery 4 times). Not sure why, eventually I got root via ocla in market...
[Vibrant Q&A, Help & Troubleshooting] doncamel:
i did the J16 update using Kies and was able to do the OCLF, lag is fine but when i rooted through the OCLF app i can explore files via root explorer but it dosent allow me to delete even with r/w mounted. it will say that the file has been deleted but it actually remains (.apk, .odex....etc) i cant seem to get the stock applications off of the phone.
[Vibrant Q&A, Help & Troubleshooting] Shrivel:
When I initially updated to JI6 using Odin, I tried to root using the update.zip in stock recovery and encountered the same problem - the program ran but I kept getting errors. FCs and apps requiring root saying I didn't have it. The problem was that I updated to JI6 straight from JI2.

Once I flashed the original stock ROM and then flashed JI6 over that, the update.zip worked fine in stock recovery.
[Vibrant Q&A, Help & Troubleshooting] rbcamping:
I used ryans lag and root app from the market and it worked fine.

The phone still has lag even with the fix. the qaudrant scores are in the 2000s and the GPS still sucks
[Vibrant Q&A, Help & Troubleshooting] ronnieb00:
Something is fishy... I flashed ji6 over original stock and am having the same problems. One click root and update.zip don't work... Anyone 'smart' have any ideas what's going on? Seems like a lot of different variables are having problems...
[Vibrant Q&A, Help & Troubleshooting] sahil04:
I updated my phone to JI6 using Odin and then applied the one click root and then applied the one click lag fix, works fine for me.
[Hero CDMA General] xizzmatt:
I have a HTC Hero that is flashed and Talk and Text work perfectly. I have an issue with internet though. I can browse the web fine in the Browser App, but I can't sign into the Market and Apps that use internet won't work. I also get a pop-up (That is very annoying) that says "Data Call Failure: Error Code 98 .Network error. Sign in failed. Please wait a moment and try again. You may need to go to [Settings\PCS Vision] and select [Update Vision Profile]. If this problem persists, you may need to contact Sprint." I am Running DamageControl v1.0.

Thanks in advance.

tl;dr

Internet ain't workin' right on mah apps.
[Hero CDMA General] TpyoKnig:
IT can be done :)

http://www.howardforums.com/showthr...o-Flash-to-Cricket-with-Talk-Text-Wap-and-MMS

A full thread at HoFo with instructions on howto get it fully working :) , I just hope you have QPST and are familiar with it

I used parts of that to fix mine for PagePlus and have everything working right ;)
[Hero CDMA General] xizzmatt:
I followed that tutorial but Apps didn't work, I found an Eris tutorial that worked perfect though. Thanks
[Hero CDMA General] t12icky0:
im glad you posted this in the Q&A and not development..lol.

this will help, of course tho Cricket for the hero doesnt have MMS working properly unless you use Darch v1.0(which is pretty old).

http://xdaforums.com/showthread.php?t=730289
[Desire Q&A, Help & Troubleshooting] mvjh01:
Hi all,

I'm trying to root my Desire running Froyo be come across a problem that someone may be able to help me with. I installed the hboot drivers as instructed and when the phone is plugged in and in the HBOOT menu I can see Android Phone and Android Bootloader Interface. When I unplug the phone and start it to run Unrevoked the Android Phone device is no longer in the list for the device manager and Unrevoked juste waits for my device. Does anyone have any ideas?
[Desire Q&A, Help & Troubleshooting] foxmeister:
Have you switched on USB debugging in Menu->Settings->Applications->Development?

Regards,

Dave
[Desire Q&A, Help & Troubleshooting] mvjh01:
Yes
[Desire Q&A, Help & Troubleshooting] buzmay:
Best thing to do will be to do it in a mac or linux computer, since you dont need drivers.
[Desire Q&A, Help & Troubleshooting] rayblue:
I also have a problem with unrevoked. I have downloaded the reflash_package.exe from unrevoked, and I have tried several times to run it. It runs fine, but stops after one reboot of my Desire and displays:'

Validation error: Backup CID is missing.

I have tried to fix this with the patch that is linked to at ://home.kennynet.co.uk/~kenny/bcid-fix.txt, but I can't get this done. I get this error:

mtd: MEMGETBADBLOCK returned 1 at 0×00000000 (errno=0)

mtd: read all-zero block at 0×00020000: skipping

mtd: read all-zero block at 0×00040000; skipping

mtd: not writing bad block at 0×00000000

error writing misc: no space left on device

Everything before this works fine, and I can change the file in HxD (tried both misc.img and reflash_package.exe).

My Desire is HTC_Y13 and there is almost no apps installed. Anyone?
[Desire Q&A, Help & Troubleshooting] venkig:
ANy chance you are using 64bit OS ? If so, try 32 bit.
[Desire Q&A, Help & Troubleshooting] wrsg:
read my guide
[Desire Q&A, Help & Troubleshooting] rayblue:
I am using W XP 32 bit.

The reason I want to use unrevoked is to keep HTC sense and not delete all of my data (sms, mms, mail, contacts etc).

Any other suggestions?
[Desire Q&A, Help & Troubleshooting] buzmay:
If you get a CID error that means your phone needs a goldcard. Make one and then try to root it.
[Desire Q&A, Help & Troubleshooting] rayblue:
I have been trying to make a goldcard for 2 hours now. Tried 3 different cards (both original SD card with Desire (Samsung) and two other Sandisk cards). None of them will be a goldcard.

Anybody else has a clue of what I can do to use the Unrevoked without getting the "Backup CID is missing" error?
[Desire Q&A, Help & Troubleshooting] mvjh01:
I've sorted this now. Unrevoked says that you shouldn't have HTC sync installed, which is true but you do need the HTC Drivers installed. I installed HTC Sync and then uninstalled it but left the drivers there. Then everything worked fine and I now have root.
[Desire Q&A, Help & Troubleshooting] rayblue:
I have not sorted it out, and are toring my hair out in frustation. Is my Desire impossible to root?
[Desire Q&A, Help & Troubleshooting] rayblue:
And now I have created a goldcard, but still can't root!! grrrr...

Unrevoked still gives me the same error (backup cid is missing) and I still get the error: no space left on device..

I am so frustrated at the moment!!!
[Desire Q&A, Help & Troubleshooting] buzmay:
Try another search card not all of them are compatible. Kingston ones are
[G2 and Desire Z General] mrollg:
Hey everyone, I'm diggin the gtizzle other than one small problem. Everytime I want to send a pic (on stock messaging app) it always shows as a slide show..I never had this problem on my g1 and can't figure it out, a friend said you can send a pic that isn't a slideshow using handscent but I don't like that app, any other solution?
[G2 and Desire Z General] sinistersai4d4d:
Nope. I just set handcent to look like the messaging app. Problem solved. I'm assuming they'll fix this in an update.

Handcent is really way better tho. You should just set it as ur default app..
[G2 and Desire Z General] RuncaProfundus:
I use ChompSMS because I've always preferred it over the native app. I just want the LED in the speakergrill to be enabled so I can use my color coded alerts again. There are a few software bugs already causing pretty big issues so I am hoping an OTA update is on the way soon
[EVO 4G Accessories] liv4evr:
So does anyone think its possible or willing to cut up there otterbox commutor case a little?

Infected Htc Evo
[EVO 4G Accessories] omegasun18:
not really it would be a lot of cutting. you would have to cut a hug hole through tough plastic to get it to fit AND it still may not work since i believe you would have to cut where the clasp is that holds it together : \

sadly you have to choose bigger battery or a decent case
[EVO 4G Accessories] stanglifemike:
It really is a big dissapointment that no one is supporting the extended batteries with cases of any type.... I mean how hard would it be to make a silicone case for the extended battery doors? Ebay silicone cases are under $3 for nice cases. If one of the Hong Kong ebay sellers would offer a silicone case that would fit the extended battery door they would be rich!!:D Soooo many people want something for these...
[EVO 4G Accessories] liv4evr:
Well I have them both on the way so I'm just going to play with it and see how close it is to fitting... Maybe even try and heat up the case and mold it a little. Idk. I'd love to hear from everyone else.

Infected Htc Evo
[Android Software/Hacking General [Developers Only]] matrix2004:
http://bit.ly/aADwbh

From @0mie

Follow him on Twitter