yashsingh1/xdaforums huggingface dataset:
[Touch Pro, Fuze Android Development] NeoMatrixJR:
BT?! PM me so this thread stays on topic.

I don't want to take the thread OT, but can you PM me or something. I'd like to know how you got BT to "work" on a RHOD. I'd been trying to play with this with no luck.

Let me know if there are times (and in what time zone) when you are usually on IRC. I try to get on by my connection to my home PC is BAD today and I can't IRC from work.
[Touch Pro, Fuze Android Development] NeoMatrixJR:
multi-droid question to surge919

Does this ever give you problems due to all the other folders android creates on the root of the sd card?
[Touch Pro, Fuze Android Development] Eodun:
@wmg316: Do as surge says, but there are more libs. Are you sure you have the last lib pack?

user conf must point to the libraries path, nothing else.
[Touch Pro, Fuze Android Development] surge919:
I haven't noticed issues outside of the known issues.

I seem to have about the normal amount of crashes and slowdowns :)
[Touch Pro, Fuze Android Development] :
Raph100 - Froyo B build

Latest kernel 22/2 - latest package for camrecorder

(camera ok-Focus ok-flash ok )(without package)-Cam recorder NOT ok :p ..

dmesg-logcat:http://www.sendspace.com/file/esch70

Thanks...:)
[Touch Pro, Fuze Android Development] viruscrazy:
Please, make the logcat and dmesg again but after that the video camcorder has failed.

Thanks.
[Touch Pro, Fuze Android Development] SnakeManJayd:
Which Kernel?

I used the same as you and the Kernel to fix rapael sleep-freeze.

It worked for 2 days and now today it has started freezing when it sleeps, so I went to the other general 22/2 Kernel and it is also doing it.

Not sure what to do.

Will go back to the fix kernel and try it again.
[Touch Pro, Fuze Android Development] :
After using the package the camera(software) simply broke up(i think he wants to die...:P...Hahahaha...)...i saw the reflection on the camera but when i want to take a picture gives me an error..so i cant take pictures..It says to force closed it or wait..Without package i can take pictures,focus and use the flash...But i get an error on video(its just logical because i havent the package..)...So these dmesg and logcat is the only one i can give...
[Touch Pro, Fuze Android Development] :
The general 22/2 kernel always freeze my phone...So i use the fixed one...With it i never before got an error..The ULTIMATE error comes from the last package for video..Are you using the package???

I want to ask you something more...I m using froyo B version 4 and i cant see mp4 and 3gp..I hear the sound but i cant see image...This is a problem from my build or from video drivers???Thanks...
[Touch Pro, Fuze Android Development] SnakeManJayd:
It's still freezing.

The video recording seems to work on mine, yes I'm using the new library for use with 22/2. It didn't record sound though when I last tried.

I have exactly the same problem with mp4 playback as you.

I'm going to uninstall the last few apps that I did this morning, in case they are making it freeze, you never know... well, at least I don't.
[Touch Pro, Fuze Android Development] :
Did you use antivirus??Sometimes If my kernel freaks out,i replace it and the problem fixed itself...try it...Or maybe its just an app..
[Touch Pro, Fuze Android Development] :
The answer they gives me for video is this:

http://www.neopeek.com/viewtopic.php?f=30&t=6351

So we have to wait...
[Touch Pro, Fuze Android Development] R^7Z:
I may be talking out of turn here but wanted to shed some light on the current topic.

Acording to THIS post, it sounds as if the support is built-in but the app maybe the culprit this time, if at all.
[Touch Pro, Fuze Android Development] SnakeManJayd:
I got it to stop freezing.

I think it was APNdroid that was making it freeze.

Maybe the 3g was keeping it awake, and killing it made it go to sleep?

Ideas?
[Touch Pro, Fuze Android Development] :
MMmmmmm....I never use gps,data,3g..so its all closed..Could you send me your startup??

Edit: Did you replace the kernel??I have latest rootfs and initrd in my root..Dont ask why...They left there from previous xdandroid version..:P...
[Touch Pro, Fuze Android Development] SnakeManJayd:
I'm not sure but if you mean startup.txt here it is

set ramsize 0x10000000

set ramaddr 0x10000000

set mtype 1910

set KERNEL zImage

set INITRD_OFFSET 0x608000

set initrd initrd.gz

set cmdline "lcd.density=210 msmvkeyb_toggle=off gsensor_axis=-1,-2,3 board-htcraphael-navi.wake=0 pm.sleep_mode=1 physkeyboard=raph"

boot
[Touch Pro, Fuze Android Development] :
Try this...

set ramsize 0x10000000

set ramaddr 0x10000000

set mtype 1910

set cmdline "root=/dev/mmcblk0p2 init=/init rootwait rw rootdelay=1 lcd.density=210 msmts_calib=0x7a.0x5e.0x35a.0x37f msmvkeyb_toggle=off pmem.extra=1 gsensor_axis=-1,-2,3 board-htcraphael-navi.wake=0 physkeyboard=raph"

boot
[Touch Pro, Fuze Android Development] SnakeManJayd:
Thanks. Will try it now.

What will it change? I'm trying to learn Linux/android, so like to learn what the commands do.

will let you know what happens after.

Thanks
[Touch Pro, Fuze Android Development] arrrghhh:
Why are you telling him to put in a bunch of old deprecated commands?!?

SnakeManJayd, your startup.txt looks fine. If it worked fine before and isn't now, I'd say try a new data.img. Don't change your startup.
[Touch Pro, Fuze Android Development] :
Sorry im a newbie..But im trying to help..We are experimenting to see why my phone works fine and his phone freezes with all the same staff..
[Touch Pro, Fuze Android Development] :
Can i ask something??Why i think that this command gives him error??pm.sleep_mode=1

By the way im not using it..

Thanks..
[Touch Pro, Fuze Android Development] arrrghhh:
Why do you think that's the problem? sleep_mode=1 is recommended, unless you're overclocking and running an old kernel (I think this kernel as the PLL2 commit in it so you can OC with 1 now.)
[Touch Pro, Fuze Android Development] :
You have right...I always use oc.....So i never use it before....Thanks...anyway

Edit : I try SnakeManJayd's startup and my phone didnt open...It stuck on boot...
[Touch Pro, Fuze Android Development] SnakeManJayd:
Where does data.img come from? I don't remember installing it. Is it not something that your phone makes after it boots up for the first time?

If not where do I get a new one?

Oh, I have the FRX04 - "Stable" from you arrrghhh. Downloaded it on Wednesday and only changes I have made were the ones on this thread to make the camera work, i.e. New Kernel (to fix freeze on raphael) and library for camera
[Touch Pro, Fuze Android Development] NeoMatrixJR:
1st boot reboot logs attached

RHOD400:

1st try: ran with existing data.img. Camera and video worked great!

2nd try: built clean data.img. Came up to android and then rebooted to WinMo eventually. I didn't touch it...

3rd try: same except using the data.img created in 2nd try....

4th try: Seems to have stabilized and is working. No pink

cleared data.img and tried with "main" kernel:

No reboot.

Once more, cleared data.img, used camera kernel, and got logcat while booting.

While adb logcat was running, no reboot.

Tried once more (deleted data.img) without running logcat and no reboot! I don't get it...:confused:
[Touch Pro, Fuze Android Development] NeoMatrixJR:
yes it gets made on boot. to get a new one, just delete or rename the old one.
[Touch Pro, Fuze Android Development] NeoMatrixJR:
Doesn't he need that additional line in startup.txt for the initrd? 'er somthin'? (too lazy to check the first post myself right now)
[Touch Pro, Fuze Android Development] R^7Z:
+1 Agreed! :)

All of that looks like the one from neopeek build or variants

Because you can't use that startup.txt with a neopeek build... :eek:
[Touch Pro, Fuze Android Development] SnakeManJayd:
Thanks have finished backing up my apps.

Am rebooting at the moment making a new data.img

Will it all be pointless if titanium backup puts the system info back? I assume that it won't put the stuff back that is making it freeze, but any ideas? Will try it anyway.

Thanks again
[Touch Pro, Fuze Android Development] SnakeManJayd:
I completely wiped the SD card.

Installed the FRX04 package,

then the fix freeze for raphael Kernel,

then the library with camcorder fix,

I then replaced the haret.exe file with the new one,

then added the line to the startup.txt file to make it like it was when I showed everyone earlier,

then I #ed out those two lines in the config file.

Only then did I boot it up for the first time to make the data.img file.

First thing I did after letting the OS settle was try out the camera, took a little longer than normal to start up, but it did start and it worked well. Have up to the 3MP settings and the video camera works and records sound.

The Build seems overall more stable than last time too.

Have reinstalled some of my apps only, not system stuff.

Will leave the APNdroid widget on to disable my 3g and leaving my wifi on like I had it before to see if it still freezes.

Thank you all for your help.
[Touch Pro, Fuze Android Development] djdafreund:
ok, not a big eal, but would still like to get google goggles working until this is all commited to the official branch. using frx04,and all the updated versions from first page (zimage-raph fix,libraries,modules,etc) i am still getting the ip6 erro. I added the proper command line to my .conf file, but it still tells me at program running that i cant use it because of not using ip6,even though i have the command added. I copied froyo.conf from scratch from the newest zip on first pag with newet camcorder conf lib's added, readded that ip6 line,, but still tells nme this. Works fine on my 2.3 install on sd,but of course cant use camera on 2.3 so it doesnt matter.

Anyone with raph800 that has google goggles working fine? I only have the one 2.2 install,which is this one with camera support. I dont use or get any updates other then the files we use on first page (can mess up testing for the author here if probems occur due to updated files from elsewhere.) so all files are fresh frx04, then all files from ehre added. Camera and camcorder are both working great btw, just trying to rule out which file change here broke it if so,since it worked fine within 2-3 updates here last
[Touch Pro, Fuze Android Development] arrrghhh:
...are you adding it to the correct section? It definitely should still work, no reason for it not to. You can try to do it manually as well, to verify (in terminal):

su

Then

modprobe ipv6
[Touch Pro, Fuze Android Development] djdafreund:
i believe so. It put it right above where the added library lines are towards the bottom. I looked like 9-10 pages back where someone (i THOUGHT it was viruscrazy that showed an example of this) but could be wrong, SOMEONE, and either you or him responded below that quote ,saying yeah, that needed to be done and asked viruscrazy if ya'll thought it should just be added to the downloaded so it's there automatically..

Found where i saw it to use- Page 61 (#608, Whew!!!)

Not so important of what's in the line's (since the newer included files need to be added here, but just showing WHERE i placed it in location of the froyo.conf file. right after "rm -rf /sdcard/*.rec" line.

I'll try manually doing it though. I added it directly there from the actual included file from 1st post here. Since my last file somehow got corrupted.
[Touch Pro, Fuze Android Development] tgkdubb:
raph800 checking in...I'll give it a go.
[Touch Pro, Fuze Android Development] :
I have to give my apologize to SnakeManJayd about startup..Guys are right...It was my fault..I dont know the commands right so i never before see the real difference..Sorry again..I tried in my phone FRX04..Camera and camrecorder works without any problem...No freezing problem...Sound and image..Everything is just fine...Is there any other software for camera+camrecorder except the stock one??

Thanks..
[Touch Pro, Fuze Android Development] djdafreund:
Ahh shoot. My last post didn't get saved. Sucks, i mentioned alot. Oh well, so it goes. Short version. Got it working (ipv6 command in conf file). Not sure WHY it got corrupted AGAIN (2nd time in 3 days, well, or since camc library files got added at least) and found out from copying directly the conf file again, then adding that line. Don't know why, is notepad++ not good to use? It might have also been wordpad, but MOSTLY use notepad++ from habit since i edit python a lot and prefer using that. But sure enough, that was the reason it wasn't working. Found out from trying camera and got a black screen only, i knew this was why since someone else recommended to copy directly instead of editing the new camc library files as it happened to him also and that's what he did to fix it.

Also, to all others just to help, since it doesn't explain why it got corrupted or SOMETHING messed up enough for android to not be able to use it, other then you can open it and edit it JUST fine on the PC. If you try editing it, and you happen to have a black screen in camera and/or camcorder mode, just copy the froyo.user.conf file DIRECTLY from the library zip file on first post and try before adding any custom lines for testing purposes. A few people have noticed this (SOMETHING happening to the file to cause android to ignore the file.)
[Touch Pro, Fuze Android Development] SnakeManJayd:
Hey, don't worry about it. No problem at all. I just reverted to the old startup and everything was back to the way it was, you didn't make me break anything. lol.

And you were trying to help which I appreciate.

Can I ask you a favour... It's sort of dodgy, but could you install APN droid or the widget and see if your phone also won't turn back on if left for about 30 min with the 3g turned off? If you're not willing I understand.

I left my phone overnight and it didn't want to turn on this moring, but I just hit the reboot button and it seems ok. Will have to wait and see if it continues.

I know I'm fighting for something dumb like turning off 3g. But mobile internet is really expensive here it's usually R2/MB which converts to 28c US for each megabyte. I bought a bundle pack, but it was still expensive at coverted $12.50 for 100MB. So I would really like to be able to turn it off and only use it if I really have to.

Thanks

* edit - Yes, it is still freezing when left for about 30 min with 3G off, just did it again.
[Touch Pro, Fuze Android Development] :
I can understand you about 3g..We have the same prices(if you dont have any company offers(packages))..So i have always 3g off in my phone..Widget installed and used and I dont have any problem....I dont think this is the problem for your phone..Many problems in frx04 comes from autosync..My phone gives me a fatal error when i give my codes from facebook and tweater...And the only way to fix it,its just to delete data.img and try it all over again..Never give codes for fb or tweater..So The solution for this is :Close autosync from settings,And use application for Fb or tweater...

For now try this:Go to settings->wireless & network settings->mobile networks->data enabled(off) ,data roaming (off) & use only 2g networks(on)..Just remove widgets..Then manage application->all->calendar Storage(clear data)..Close aytosync..And try it again..If you have error again just delete data.img and make a new one..Please dont give passwords in browser for any page..Just use apps...Thanks..
[Touch Pro, Fuze Android Development] SnakeManJayd:
Thanks for the advice. I have tried DataSwitch. It seems to keep the 3G off nicely and doesn't seem to freeze the phone. I will try it out for a while and then maybe try your suggestion. Especially since the battery still seems to drain really quickly even with the 3g and wifi and gps off.

But I suppose to get back to the topic of the thread, it's working with the new kernel and library.

Thanks
[Touch Pro, Fuze Android Development] kruijs:
Greetings from a fellow data-challenged user! :)

Just wanted to add something you guys may be unaware of:

Apart from the various "APN-switches", there's also the option to add a firewall to our beloved Android devices!

Have a look at http://xdaforums.com/showthread.php?t=541380 for more details.

You can allow 3G (and wifi) access on a "per-app" basis, quite nice!

For XDAndroid builds, you just have to add two lines in your froyo.user.conf (or eclair, or gingerbread .conf files):

"modprobe xt_owner" and

"modprobe ipt_REJECT"

see also

http://xdaforums.com/showpost.php?p=11112543&postcount=591

I'm using it on a daily basis, works perfect!

Cheers,

Robbert
[Touch Pro, Fuze Android Development] arrrghhh:
If you used wordpad or MS word (on PC or phone) or any software like that, it can and will mess up your files. I've never had a problem with notepad++.

Let's try to stay on topic guys, all the data/3g talk should happen in another thread, c'mon.
[Touch Pro, Fuze Android Development] Ray2210:
THX guy,camera work great!

flash still not working on raphael

but i can using the terminal emulator to turn on the led flashlight(cannot turn off it until softreset)
[Touch Pro, Fuze Android Development] Ray2210:
THX guy,camera work great!:)

flash still not working on raphael:confused:

but i can using the terminal emulator to turn on the led flashlight(cannot turn off it until softreset):p:p
[Touch Pro, Fuze Android Development] R^7Z:
Best to talk of those things outside of this thread. Like say, THIS thread? :D

This thread is only for camera discussion :p

And do try to wait for an answer before reposting your question :)
[Touch Pro, Fuze Android Development] Erikson89:
It looks like stinebd implemented the libaries into Gingerbread:

http://gitorious.org/xdandroid/hardware_msm7k/commits/gingerbread

I think it is in the newest build.

http://xdaforums.com/showpost.php?p=11681787&postcount=50

Erikson
[Touch Pro, Fuze Android Development] viruscrazy:
Merge in gingerbread is in progress, so don't expect it to work flawlessly right now. The camcorder won't work in gingerbread at the moment. Codecs seems no longer supported in gingerbread (from what stinebd told me). I will try to work on gingerbread tree these days but I have to wipe out my disk as android source takes a lot of space.

Jerome
[Touch Pro, Fuze Android Development] pdawg17:
If I want to try with Gingerbread do I follow the same steps necessary for Froyo or is it a different setup process?
[Touch Pro, Fuze Android Development] viruscrazy:
I would say that you just have to follow the same steps except that you don't need the libGLES, gralloc and the latest video libs...the best thing is to start with only libcamera.so and liboemcamera.so lines, then is not working, add the lines you think that can help.

I currently don't have time to test the gingerbread build on my phone.

Jerome
[Touch Pro, Fuze Android Development] djdafreund:
It's surprising that your work was added to the gingerbread branch, but still not to the froyo branch. Knowing of course that it's still not TOTALLY finished, but far enough that pretty mostly all works. Enough to be added to the gingerbread apparently. Then making small finished changes to the branch as it's finalized.

That's awesome news though that your work is paying off to being included already in the gingerbread. After testing, with the few exceptions, it's working great already, just within a few weeks. AWESOME work Viruscrazy!!!! Can't thank you enough. Next is battery drain (whoever tackles that) and finally run android daily (run it 50% of the time, 24/7 some days, since im an IT Tech for a living, and ALWAYS have USB port's around to charge), that plus i bought a solar powered LION small pack that charges when i need it, Mostly running android because it runs 'MUCH' better and faster then WM does. Camera USED to be the few reasons i loaded up WM back. Now, thanks to your hard work, that's not a reason anymore.
[Touch Pro, Fuze Android Development] sllyname:
On my raph110 (ATT fuze), if I run the new libraries, new haret, and the 01201-g975cc1d-dirty kernel from

kernel_modules_02222011_raph_sleep.zip I get a working camera and working video.

I also have a frequent freezes (hour, or two at most). This might be called the

sleep of death but I have set screen timeout at 30 minutes, and the freeze will happen even if it has not gone to sleep. This is with an old data.img that has seen many weeks of use with the Jan23 camera kernel. It has had something like five damaging fscks, ( 15 inodes in lost+found). If I drop in the 01262-g4a804e5 kernel, no other changes, the system has just run for over thirty hours. It's never done this with the camera kernel. I then booted camera kernel crash in an hour or less, boot 01262-g4a804e5, phone has run for the last 15 hours. So is 02222011_raph_sleep not the right kernel for a raoh110?
[Touch Pro, Fuze Android Development] NeoMatrixJR:
It won't work at all until 3D's working anyways right?
[Touch Pro, Fuze Android Development] viruscrazy:
No, 3D patches I included was only to make the icon bar from camera application not to disappear on rotation. For video encoding, HW used is a specific ADSP task, so HW3D should not be a problem. The bigger problem is that it seems that the opencore (which does handles the multimedia codecs) is no more present in gingerbread.

Jerome
[Touch Pro, Fuze Android Development] viruscrazy:
Sleep problems can occur because of many reasons. It seems that some recent changes made this more often on some devices. If your phone doesn't freeze with latest release from official kernel, then I suggest you to wait for the camera merge in the main tree and then test again. Maybe some changes (like the offset in haret) does not statisfy raphael ?!?

Jerome
[Touch Pro, Fuze Android Development] R^7Z:
The strange thing is I don't experience this sleep issue and I have a RAPH110/Fuze. Even though I am using a slight work around; I've downloaded batterybooster (free download from market) and set it to time out after a minute; shouldn't matter one way or the other. Keeping in mind I am using the latest kernel package from Glemsoms autobuild site along with the latest rootfs and using GB (keep in mind, the latest rootfs may not work with FroYo). Perhaps I need to check out a FroYo build?
[Touch Pro, Fuze Android Development] sllyname:
startup.txt still has the same initrd offset, only the kernel is changed. What part of the data.img does the camera kernel modify or use that the stock kernel does not? It might be something is messed up, the crashes became more often as time went on running the Jan23 kernel. I didn't test any kernel after that one until Feb22.

Unless you are going to cut different diffs for the merge than you are using for this kernel the same thing should happen when this is merged.

The merges of yours done so far have not caused the problem.
[Touch Pro, Fuze Android Development] zooster:
New kernel htc-msm-linux @ 20110228_202832 on Glemsom with camera integration... But does it need new haret?
[Touch Pro, Fuze Android Development] bzo:
regular haret should work fine
[Touch Pro, Fuze Android Development] pdawg17:
It looks like it is not FULL integration (meaning no tweaks needed) because I got rid of the conf edits and now I just get a black screen when starting the camera...

Are the conf edits still needed and if so, which version of conf edits because there have been different ones...
[Touch Pro, Fuze Android Development] zooster:
Yes I get black screen too...
[Touch Pro, Fuze Android Development] bzo:
those "conf edit" files have nothing to do with the kernel. You'll have to wait until the android builds have those updated files included before you can remove them.
[Touch Pro, Fuze Android Development] zooster:
You mean system image?
[Touch Pro, Fuze Android Development] bzo:
yes, the system image
[Touch Pro, Fuze Android Development] slickdaddy96:
Any advice on no sound when recording?

I am on a Rhod400 using the most current build of xdandroid FRX04, but I am testing the panel collapse/sleep kernel in the Rhodium forum, but I have tested both the autobuild and the test kernel and neither will record sound when recording video.

I am ecstatic that I have video working, but others on here have sound recording also. Any suggestions for me? I have the library files in the correct place and the conf file from this thread in the right place also.