yashsingh1/xdaforums huggingface dataset:
[Tilt, TyTN II, MDA Vario III Android Development] Newbie16:
This is a new thread for collecting information about the camera and getting it work in Android

Information about the kaiser: http://wiki.xda-developers.com/index.php?pagename=KaiserResearch

The camera on the kaiser: s5k3c1fx

The driver in the kernel is for the s5k4b1fx and we have to modify it. Here is what we need to do:

If anyone has more info on doing the 3 things i would really appreciate it if you could post. thanks :)

Setting up for a haret trace:

Windows Mobile Settings:

On the mobile device make sure this option is enabled: Start > Settings > Connections (tab) > USB to PC > [+] Enable advanced network functionality. I have found that some roms do not have this option and they are mainly the 6.5 roms, maybe it was moved. You will need to use a stock rom. Now when you sync with windows you will see an additional network connection:

Windows Users:

Download HaretPack.zip from: http://drop.io/s5k3c1fx

Extract it to C:\HaretPack or other convenient destination

If you've enabled the advanced networking setting on the mobile device you will have an additional network in network connections:

Run haret.exe on the phone and hit Listen for network connections

Run default-activesync.bat

Linux Users:

run ifconfig -a and note down the network interfaces

Download haretconsole-0.5.2.tar.gz from: http://drop.io/s5k3c1fx

Extract it to a convenient destination

Plug in the phone and enable advanced networking, you will have an additional network in ifconfig, note the hwaddr, i think its the same for everyone:

[B]ifconfig -a[/B]

eth1 Link encap:Ethernet HWaddr [B]80:00:60:0F:E8:00[/B]
[INDENT]inet6 addr: fe80::8200:60ff:fe0f:e800/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)[/INDENT]

Now to setup the network connection and run the haret console, make sure to change eth1 to the new interface you find and the location of console:

sudo ifconfig [B]eth1[/B] 169.254.2.2 netmask 255.255.255.0
./console 169.254.2.1

A script that does the same thing as the above code;

#!/bin/sh

fail() {
echo "Failed"
echo "$1"
exit
}

ifconfig -a [B]eth1[/B]
[ $? -eq 0 ] || fail "Network connection not found"
sudo ifconfig [B]eth1[/B] 169.254.2.2 netmask 255.255.255.0 broadcast 169.254.2.255
[ $? -eq 0 ] || fail "Failed to setup the network, cannot continue"
ifconfig -a [B]eth1[/B]

if [ -e [B]./console[/B] ] ; then
[B]./console[/B] 169.254.2.1
else
echo "Failed"
echo "Console Script not found"
fi

Source Files

We'll need to modify the kernel driver:

kernel/drivers/i2c/chips/s5k4b1fx.c

kernel/drivers/sbus/char/vfc_i2c.c

Helpful Tools

usefulbits.zip http://drop.io/s5k3c1fx

Scripts provided by dzo (Thanks!) for reading the haret logs.

Documentation

Haret: http://handhelds.org/moin/moin.cgi/HaRET_20Documentation

Kaiser GPIOs: http://wiki.xda-developers.com/index.php?pagename=Kaiser_GPIO (might need updating)
[Tilt, TyTN II, MDA Vario III Android Development] natalic:
I'll help out testing it...I'll even work on it (just to see if I can figure something out!)
[Tilt, TyTN II, MDA Vario III Android Development] denco7:
My camera already works and so do all these cameras.

http://xdaforums.com/showthread.php?t=371647&highlight=Kaiser+picture+thread
[Tilt, TyTN II, MDA Vario III Android Development] Newbie16:
In android? I guess i didn't make it very clear, i've updated the thread to reflect that
[Tilt, TyTN II, MDA Vario III Android Development] carlosdayas:
Hope you crack it!!

hope you solve it man! that's the only deal breaker remaining on android! also there are some twisted apps out there for android that use the camera so it would be a shame to miss out on those.
[Tilt, TyTN II, MDA Vario III Android Development] Newbie16:
I've updated it with info on getting haret to work
[Tilt, TyTN II, MDA Vario III Android Development] dasilva333:
maybe you guys could coordinate the thread in such a way you could accept donations like how it was done for the wifi thread as an incentive to get the camera done.
[Tilt, TyTN II, MDA Vario III Android Development] loserskater:
I can see the incentive approach, but it seems kinda lame that people wont help unless theres a chance they could get some money out of it. This is a place where developers get together and make some magic happen... My 2 cents.

In other news: I'd really like to help get the camera working but unfortunately have no experience with kernal/driver situations so I wont be much help. Maybe I'll follow this closely and when it starts to pick up i can help out as much as possible. But for now I'll just watch...
[Tilt, TyTN II, MDA Vario III Android Development] Dukenukemx:
loserskater I agree, but people do need to eat. :p Especially how bad things are today.
[Tilt, TyTN II, MDA Vario III Android Development] edjeed:
Datasheet

We really need the datasheet of the vogue camera for debugging....

The source of the vogue cam is reading/writing registers through the I2C protocol which are not defined in the datasheet from the kaiser cam:

for example:

i=i2c_read( 0x79);

i2c_write( 0x79, 0x1);

0x79 is not defined in the datasheet

Another one:

i2c_write( 0x03, 0x10);

reg 0x03 only uses the lower 4 bits.....

Who is able to post (PM) the datasheet of the vogue sensor (s5k4b1fx)
[Tilt, TyTN II, MDA Vario III Android Development] Newbie16:
Hi, try the python script dzo provided, i think it does what you want it to, haven't had time to test it myself yet
[Tilt, TyTN II, MDA Vario III Android Development] pmos69:
dzo says he actually used kaiser's sensor datasheet as a start, and debugged the rest: http://xdaforums.com/showpost.php?p=3712410&postcount=5007

:eek:
[Tilt, TyTN II, MDA Vario III Android Development] edjeed:
When I have some time available I will have a look at the source of the driver. I have been playing around with the haret tool to debug some GPIO's needed for the cam.
[Tilt, TyTN II, MDA Vario III Android Development] UrbanRider:
any news guys?
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
some specific things to look for/at would be nice although the thread seems pretty dead here
[Tilt, TyTN II, MDA Vario III Android Development] dasilva333:
I think what we should do to re-energize this project and make sure it goes through is as I previously said is to set up some sort of reward fund or any kind of incentive to those or the person that gets it working. I think instead of twiddling our fingers waiting for progress we can do something about it by being proactive and setting up a donation collection thread of some sort.

Edit: if this does get started put me down for $20 bucks towards the reward of getting the camera working.
[Tilt, TyTN II, MDA Vario III Android Development] Dukenukemx:
Bumping for everyone to see.
[Tilt, TyTN II, MDA Vario III Android Development] poly_poly-man:
Hey, in the name of cross-compatibility (we'd like to have more than just android available), what kind of kernel interface do we use between camera and android? Is it v4l, some android-specific thing, or somewhere in between?
[Tilt, TyTN II, MDA Vario III Android Development] dasilva333:
anyone else willing to donate for the cause? again i really think this is a good idea if we would like to see improvement on the kaiser camera compatibility
[Tilt, TyTN II, MDA Vario III Android Development] garringm:
not be be an ol spoil sport but I think any real developement has basically come to a stop. I'm not going to hold my breath on getting camera or bluetooth functional on the kaiser. Doesnt look like there is a whole lot of developement going on over at the vogue threads either. Looks like to me most coders are just focused on getting whats been put out to run more efficiently rather than trying to cobble up the slow systems with even more processes. I think a lot of the original devs have moved on to upgraded devices, granted we still have a few good ones hanging around plus a lot of new ones popping into the scene.
[Tilt, TyTN II, MDA Vario III Android Development] poly_poly-man:
every stop I make to #htc-linux involves a conversation where 7201A is the bare minimum ther nowadays... everyone who was working on 7x01 has left that camp...

I'm still here, but I'm completely useless without a good spec sheet...
[Tilt, TyTN II, MDA Vario III Android Development] Rondador:
¿Could this datasheet help?
[Tilt, TyTN II, MDA Vario III Android Development] pmos69:
Just thought you should know dzo has commited this:

Initial camera support for Polaris and Kaiser. Doesn't use full cam resolution, no focusing, colour wrong on polaris, otherwise working.

It still neeeds work although it is functional.
[Tilt, TyTN II, MDA Vario III Android Development] sirconsole:
true i have last build base + Hero very slow but i cant find App camera default, and button dont work, cant take any picture say error app please restart in Pro Paint camera
[Tilt, TyTN II, MDA Vario III Android Development] Dukenukemx:
Necroing thread. Yes, I went there. :p
[Tilt, TyTN II, MDA Vario III Android Development] polyrhythmic:
Kaiser camera works in Donut, it's a matter of porting the Eclair updates from the G1 source.

I've gotten too busy to get anywhere with the project for at least a couple weeks, but if you're interested (and I'm sure some Vogue devs would give a little help as Vogue users want this too) -- you can bring this thread back: http://xdaforums.com/showthread.php?t=617713
[Tilt, TyTN II, MDA Vario III Android Development] zenity:
Ok are we talking libs or kernel modules here?

If camera works in donut then we are not talking hardware problems anymore, it's strictly software, I don't suppose the donut camera libraries are compatible with the eclair build, but at the risk of being heretical, can't we just move the donut camera source into the eclair tree and see what happens?
[Tilt, TyTN II, MDA Vario III Android Development] polyrhythmic:
Read over the linked thread, it'll answer your questions. Similar to what you describe, we need to take the existing donut source and add the rest of the Eclair changes/updates to it.
[Tilt, TyTN II, MDA Vario III Android Development] zenity:
Ok decided to have a look at the differences between the donut and eclair libs, specifically the libs mentioned in a logcat dump when trying to load camera, first thing that I really noticed is the filesize of lbcameraservice.so, in donut it's 264K in eclair 50k, not sure how significant this is, since we are looking at different builds, however both the libcamera.so files are the same size and date, I might try using the donut lib in the eclair build tho, just to check, I'll have a look at the log dump and see if it's significantly different.

: Well that was instructive, I couldn't get it to boot fully, passed the installer stage, got the job control message, then it started giving me power messages of some sort, finally pulled the battery, no logs, bootlog is normal, dmesg never wrote fully, never connected to adb so no logcat dump, back to the drawing board....
[Tilt, TyTN II, MDA Vario III Android Development] garringm:
Tried that already got the same results as you
[Tilt, TyTN II, MDA Vario III Android Development] zenity:
Well at least it's consistent, lol
[Touch Pro2, Tilt 2 Windows Mobile General] hoss_n2:
does sprint touchpro 2 has 3.5 mm audio jack
[Touch Pro2, Tilt 2 Windows Mobile General] unorthodoxx:
yes it does have the 3.5er.
[Mogul, XV6800 ROM Development] mindtrip1016:
I have decided to hang up the Titan and pickup an Imagio. So most likely my wm6.5 ROM cooking is over. Sorry....

Build 28011 Now Available

Hey guys. I realize there is not much support for us Titan owners over here. I, myself recently downgraded to a used Titan, not really knowing what was to be expected. I like the device for the most part, but the new ROM support really stinks. Luckily, Joojoobee666 from PPCGeeks has been updating us with the ported XIP from the newest Windows Mobile 6.5 builds.

I prefer to keep my personal ROMs pretty clean and simple. I don't place my name on any screen or accept donations, so please don't ask. I just make them for myself and support will be limited.

These ROMs are for Verizon vx6800. From this point on, I assume you have read the wiki for ROM and Radio upgrades. I am not responsible if your ppc blows smoke.

****Any and all my ROMs will have Verizon carrier built in unless otherwise stated****

Build 28011

I can't tell any difference between this build and 28004/05. Maybe a little snappier? Can't tell as I haven't fully set up my titan. But browsing through wifi, phone calls and sms works. No freeze issues!

Verizon 28011

http://www.4shared.com/file/171401992/7c1c7267/vzw_28011.html

TelecomNZ 28011

http://www.4shared.com/file/171404061/5a82f4af/telecomnz_28011.html

Build 28004

This build has shown to be the most stable for our Titan ppc. 28002 had sleep issues, along with 28008. 28005 which I am currently using has freeze ups with wifi connections. So I will be flashing back to this ROM that I am posting, unless something better comes out in the next hour.

I think I forgot to add Microsoft Office on this ROM, but all the other usual programs apply. Some of you may have read about the new skin for the winmo keyboard called "msimar." I tried to add this kb version into the ROM with no luck.

DL VZW 28004 here;

http://www.4shared.com/file/166819476/6b31f797/VZW_28004_LIGHT.html

TELECOM NZ 28004;

http://www.4shared.com/file/166827400/6a6cc986/TELECOM_28004_LIGHT.html
[Mogul, XV6800 ROM Development] Woovie:
Installing and will report back! :) Tomorrow I get my Touch Pro 2 so this is the last time I play around with this phone. Figure I'd make the most of it.
[Mogul, XV6800 ROM Development] mindtrip1016:
I just noticed this morning that the WirelessManager(formerly comm manager) button isn't working. To get around this is simple.

Open Total Commander

Open Windows directory and scroll down to wrlsmgr.exe

Tap wrlsmgr.exe once

Press "file" select >>>>>> (A)

Create shortcut

Press Tree-> navigate to start menu in the windows directory

Press ok

Now you can add the comm manager functionality by going to start>settings>personal>buttons

Select comm manager and then select wrlsmgr from the drop down box.
[Mogul, XV6800 ROM Development] jmclogsdon:
I do some ROMs of my own working with PPCKitchen. How can I get the new WM65 build into the kitchen to cook a new one? I have had a 6800 for about 8 months and love it. Would love it more if I could get the GPS to work. Baby steps.
[Mogul, XV6800 ROM Development] mindtrip1016:
It's actually pretty simple over all. You will have to create a text file and modify another. Drop the SYS and Common archives into the kitchen folder. Add the new XIP.bin to the Titan core archive's ROM folder. Sounds difficult at first, but one you get it down, it should take less than 5 minutes to add a new build.

Here's a link showing how to add a new 6.5 build to an apache kitchen.

http://forum.ppcgeeks.com/showpost.php?p=1072584&postcount=6523
[Mogul, XV6800 ROM Development] Scoupe:
Well done! This is a quick, snappy rom. Why is it that no one puts office in their roms anymore? Also may I suggest a more versatile comm manager and the adding the htc task manager? I understand you are keeping it 'barebones' but just some add ons people may want.

Thanks for sharing and once again well done!
[Mogul, XV6800 ROM Development] mindtrip1016:
Hmmm, now that I think about it, I haven't seen a wm6.5 rom with office either. I wonder if it is a compatibility issue or if cooks just don't bother with it, because they will be cooking again in a few days when the next build is leaked?

I wish I could come up with a more versatile comm manager. From what I understand, Microsoft is doing away with the comm manager and introducing the wirelessmanager. File names and commands have changed, so the older comm managers that we are accustomed to no longer work.

As for the htc task manager, it is no longer compatible either. As you know, the start, task and quick menu were at the top right corner of the screen. Now that microsoft has moved the start button to the bottom, the functionality of the htc task manager has deminished. I have read that the dotfred task manager still works, but I am not familiar with the app. I can try to cook a new rom with a comm manager and htc task manager, if you want to try it out and see if its true or not. Which comm manager do you prefer?
[Mogul, XV6800 ROM Development] Scoupe:
That is too bad many of the nice convinces we are accustomed to do not work on the new builds.

I do like having office, it comes in handy. It is released in the build and not cooked in after the fact?

I imagine you will agree with me, I think that a task manager on the home screen is essential for our devices. I would be willing to try a htc managaer and comm manager rom.

I like the htc comm manager (originally released for the touch but adapted for our devices).

Thanks!
[Mogul, XV6800 ROM Development] rmancl:
GPS?

Does GPS work on this ROM "out of the box" or do i need to apply the settings from the wiki after i install the rom?

thanks in advance
[Mogul, XV6800 ROM Development] jmclogsdon:
I have a 6800 as well and mine has never worked. I have tried all the "patches", radios, tweaks, everything (well clearly not everything). Still no GPS signal. Even took the phone apart to double check the processor version. I am almost convinced mine doesn't have one. If anyone has a suggestion I would love to hear it.
[Mogul, XV6800 ROM Development] ShadowT:
I have Verizon and got my 6800 this year too. I've got mine to work well. I first started by following the old threads. http://wiki.xda-developers.com/index.php?pagename=TitanRecentHome

I unlocked and downgraded my ROM and used an old radio too. Carefully read the instructions!!!...I used a 2GB micro SD for all the early programming but use active sync today for most ROM/Radio changes.

I also use GPSGate to establish a strong lock-on for IGO8 GPS but do not need it for Garmin XT, TomTom7, or Astro Navigator II.

I do not use AGPS --- I do not use my data plan, just WIFI at home and other locations for GPSWeather and GoogleMaps to work.

I'm hoping this thread and any new updates here will provide at least 22MB free after loading all my software, games, and GPS stuff. Most of these new builds give you 25MB free with more add-on than this build ROM. All of the ROMs I tried, over 16, provide GPS if the radio allows it. I do not know of any newer radios or ROMs produced this year that do not support GPS. I believe your free RAM must be over 20MB to start IGO8 and about 17 MB for the others. If you run ROMs or SW that does not release ram after closing you may never have enough ram for GPS to work.
[Mogul, XV6800 ROM Development] mindtrip1016:
I do agree about the task manager. While this build has the built in task manager, it is not as convenient as having quick menu in the corner of the home page.

I am building a new rom as I type containing the office apps word, pow point and excel. Also added the htc comm manager and htc task. Also changed the first boot splash screen to an htc splash. I believe that's all I changed. I am not going to flash this one since I am fairly satisfied with the original. But if you would like to try it out, please give us feedback on the comm manager and task manager compatibility issues, if any. It'll be linked to the first post when the rom is built.
[Mogul, XV6800 ROM Development] mindtrip1016:
I didn't include navigation in the rom. Its not something I use in my phone, since Navi came with my car.
[Mogul, XV6800 ROM Development] RyanMogul:
He is not talking about a GPS program as he references "settings" in his post bolded above. So he of course knows that 99 times out of 100 a Chef doesnt include a real Nav program in the ROM (maps obviously too large for device memory). Now google maps.. Thats a commonly cooked in application.

Answer is Yes and No for you rmancl. The ROM comes with a gps driver, and is obviously GPS radio required so thats half of it. The other half is making sure your GPS one settings in QPST are accurate for your Carrier and then navigating to this location in the registry to set the Suplagps settings [HKEY_LOCAL_MACHINE\SOFTWARE\HTC\SUPL AGPS\. Other resolutions include installing the various GPS CABs that are out there.
[Mogul, XV6800 ROM Development] mindtrip1016:
The god of the titan rom building community has spoken.
[Mogul, XV6800 ROM Development] RyanMogul:
And I have the downloads and donations to prove it rookie.

You posted in my thread without any negativity from me. So whats your problem?
[Mogul, XV6800 ROM Development] Scoupe:
Thanks for the one off brew Mindtrip! I flashed it and have been testing. Office and Comm Manager work perfectly. Comm Manager actually runs much quicker than other roms i have tried. Unfortunately Task Manager does not work as you expected. It is really too bad. I have done some research too and it doesn't appear we have a home screen task manager for this build.

It's a nice simple rom, which makes it nice and quick. Thanks again.
[Mogul, XV6800 ROM Development] mindtrip1016:
I posted in your thread to help someone having problems with PCM keyboard. I didn't know that threads were marked territorially. I am just here to help others in the best way that I can. You on the other hand, do your very best to make others needing help feel stupid or inadequate. Remember the person who posted about your rom who said something along the lines of" I really dig your rom, I just wish it didn't have your name all over it"??? Remember what you replied to that? You told the guy that he was a peice of dirt. That he is nothing to you!! How the heck can you say that to someone who just said your rom is good?? Your ego is overwelming! Because of that and the other posts you make trying to make yourself sound like god, like the one in this thread is what encouraged me to learn to build my own roms. I don't need you, nor do I care if you exist. But I am not going to tell you that, nor would I intentionally try to make you or anyone else feel like crap for posting an obvious question.

The downloads and donations don't mean anything to me, as stated in the first post of this thread. I have a job, do you? I do this as a hobby. For fun. To help others who may not have a solid understanding of what is going on here. What is your purpose? Develop roms and stroke your ego?
[Mogul, XV6800 ROM Development] mindtrip1016:
Awesome scoupe! Thats nice to know. I will had the comm manager to the next build. Want me to cook you a rom without the task manager?
[Mogul, XV6800 ROM Development] Scoupe:
No thats ok this rom is running just fine! Thanks again. I am going to really do some digging for a task manager for this build. :cool:
[myTouch 3G, Magic Android Development] ALIASADEJA:
I downloaded this and my screen doesn't rotate who can I fix this. And is there anything I can download so it will rotate?
[myTouch 3G, Magic Android Development] TheArtiszan:
First wrong forum. Belongs in general just a heads up or they may close. I suggest using jachero 2.0 and in terminal type

Su

rwsystem

magic

m

WiFi rotate all works.
[Hero, G2 Touch Q&A, Help & Troubleshooting] ALIASADEJA:
I downloaded the hero rom full v3 and my screen doesn't rotate how can I fix this. And is there anything I can download so it will rotate?
[Hero, G2 Touch Q&A, Help & Troubleshooting] kwiksand:
You downloaded what?
[Hero, G2 Touch Q&A, Help & Troubleshooting] foxmeister:
Same post appears in the Sapphire forums. I think he's got a Magic and put one of the custom Hero ROMs on it. Should never have been posted here in the first place!

Regards,

Dave
[Hero, G2 Touch Q&A, Help & Troubleshooting] rvashi:
Say whaaa? Rotate who? I recommend babelfish translation. :)
[Touch Pro2, Tilt 2 Windows Mobile General] nylaw:
My phone already had the listed hack enabled out of the box. Any other ideas?
[Touch Pro2, Tilt 2 Windows Mobile General] xnifex:
redo the hack with Advanced Config 3.3?