yashsingh1/xdaforums huggingface dataset:
[Streak 5 Android Development] _n0p_:
I'd rather suggest taking ics branch from

https://github.com/kibuuka/dsc-team-kernel-project

https://github.com/dsc-team/dsc-team-kernel-project

as Dell sources are incompatible with ics adreno drivers.

--

Note:

debug.camera.qcameradebug

--

Note2:

I'm a dumbass - mm_camera functions not present in our liboemcamera.so

Attached msm8660 liboemcamera and deps.
[Streak 5 Android Development] savva_ismael:
Have you seen this item

http://xdaforums.com/showthread.php?t=1379368
[Streak 5 Android Development] Vennesch:
ICS Rom Lenovo Lepad s2005

http://115.com/file/be6mfk0d#SNARL-IT168-V7-BASE.zip

This is a flashable ICS rom for de Lenovo Lepad s2005. As I understand from this (translated) forum (the link to the zipfile is placed on page 40):

http://lepad.it168.com/thread-2104597-1-1.html

Is I understand it uses the same kind of camera as our Dell Streak, is it possible to grab the boot.img and look into it for our camera development? I am not experencied with this and don't have any time to get so. I hope this helps and my Streak could replace my One X soon again!
[Streak 5 Android Development] abdulm:
Just saw this on XDA homepage.

Can this help?

Link: http://xdaforums.com/showthread.php?t=1938933
[Streak 5 Android Development] msprakashmmc:
Details Please

Can anybody give me the logcat for bluetooth & camera failure in ics ROMS..! Did anyone applied camera patch from mike..?
[Streak 5 Android Development] msprakashmmc:
Come on guys, give me the innfo.. Mike is asking whether his patch works or not..;( pls, data connections don't work for me in ics so only asking guys..
[Streak 5 Android Development] Vennesch:
Which patch do you refer to exactly? I dont have time tot flash and test, not @ home either, sorry.

I'm affraid you will have to be patient with reactions, the community is really shrunk in the last months... but still, dont give up!
[Streak 5 Android Development] msprakashmmc:
Sorry for my words .. Mike sent this on 10th september ..

It should fix overlay based proprietary

camera libs coming from gingerbread

and froyo builds.

https://github.com/CyanogenMod/andro...d3d69c33f16551

You can find the same on 7th page of this forum.. Thanks ..
[Streak 5 Android Development] _n0p_:
I personally did not test the patch.
[Streak 5 Android Development] msprakashmmc:
Can you try & test it dude...? Since your works always just great.. I know it is tough to do in your busy days... BR..
[Streak 5 Android Development] _n0p_:
Not anytime soon.
[Streak 5 Android Development] msprakashmmc:
We will be waiting..:cool:

Will pray god for giving you some rest time to test ICS soon..:):D B.R..
[Streak 5 Android Development] _n0p_:
You see, i already have a couple of bad blocks on my NAND, so i'm avoiding unneeded flashing, and constant nandroid backup/restore on my only device doesn't do any good to it's state.

My own prognosis on fully working ICS - won't happen.

Users move to newer devices and i'm personally waiting for a good deal to kick in.

There's still a chance that good developer will get a Streak, but this chance is low and falls down with every month passed.

--

Anyway: GB will live for a couple of years.

http://www.appbrain.com/stats/top-android-sdk-versions
[Streak 5 Android Development] dinhhungbl:
we should buy a other stronger dell streak phones
[Streak 5 Android Development] _n0p_:
With Nexus 4 price @ $300 if doesn't sound very wise, sorry.
[Streak 5 Android Development] msprakashmmc:
OMG???:crying:
[Streak 5 Android Development] mokokawi:
:eek::mad::o
[Streak 5 Android Development] arryhariyadi:
:eek::( speechless
[Streak 5 Android Development] _2bad4u_:
Yes i thinc this is the best option, and with a google device you will always be the first to have the updates. I just bouth a samsung galaxy nexus and i have ics jb 4.1.2. And it's working great, no errors no problems. And i have to say there is no more wifi problem and data when you wake the device from sleep.
[Streak 5 Android Development] mokokawi:
Its to bad dell decided not to make a streak 2......cause its a lot better qulity and looks than any nexus...or any other phone fo that matter.

But thy didn't......and I want to be on the 4g lte network,and have the newest android os features....so I don't really have a choice but to get a newer phone.....if I had this on a dell streak,I wouldn't upgrade
[Streak 5 Android Development] pierrenp:
This is really a sad news...

:crying: :crying: :crying:
[Streak 5 Android Development] europeancity:
How can I contribute? Is there some kind of "quick guide" to get the development setup working? A tester? I have two devices, and I mostly use them as tablets at home; so I'm OK with experimenting a bit with them.
[Streak 5 Android Development] Bugscze:
I am C and C++ developer too and I am willing to contribute some ideas but I have no idea how to setup everything in Ubuntu to compile kernel or compile whole ROM from sources. We really need some step by step guide. Please someone!
[Streak 5 Android Development] _n0p_:
https://github.com/dsc-team/dsc-team-kernel-project

There's a readme :)

But kernel won't help - camera interface fully implemented in liboemcamera.

Kernel just bridges the requests.
[Streak 5 Android Development] kibuuka:
http://www.freeyourandroid.com/guide/compile-ics sort of outdated, but still useable.
[Streak 5 Android Development] _n0p_:
Anyone else noticed that Qualcomm opened proprietary headers or i got bad memory?

https://www.codeaurora.org/gitweb/q...git;a=tree;h=refs/heads/ics;hb=refs/heads/ics

Success story:

http://rootzwiki.com/topic/16347-dev-ics-camera-hd-video-hw-acceleration-fix/page__st__180

This drastically increases working camera chances.
[Streak 5 Android Development] sinan33:
Your memory is good;

i have sent you this link a few weeks ago.
[Streak 5 Android Development] _n0p_:
I'm pretty sure that whose header file wasn't there before anyway :)

But again, maybe camera will be solved.

I personally won't wok on it as my Streak is hardly working now, i just hope someone will continue the camera tryouts.
[Streak 5 Android Development] hunderteins:
camera files from ICS 4.04 T100k

Hello,

I've just discovered that the Sky Vega No.5 (T100k) has received an official ICS update

in November 2012. That is a device I would call Streak 5.2 (at least it has all the qisda

bullsh*t included, we've learned to love)

I've extracted all the camera related files I could find of that firmware and attached them.

I do not run ics on my streak (not even an nandroid - sorry), but you may give them a try

on yours. I won't add false hope, cause the camera in that device is 8MP. Maybe the libs are

generic enough.

Good luck,

hunderteins
[Streak 5 Android Development] sinan33:
I didn't mean about the header files,i meant about the success story.
[Streak 5 Android Development] _n0p_:
With help of uluvali i've repaired my Streak and prepared for doubleOS boot, so i think i'll be able to start the process again.
[Streak 5 Android Development] sinan33:
You are really a great man Sergei!

I love you!

---------- Post added at 04:44 PM ---------- Previous post was at 04:43 PM ----------

Did you test the files that hunderteins have sent?
[Streak 5 Android Development] _n0p_:
I don't think those will work as similar libs did not. We need to try and build new lib.
[Streak 5 Android Development] sinan33:
How about the Android Lover's libs?
[Streak 5 Android Development] _n0p_:
Dunno. I wasn't into testing for quite a while :)

Anyway, everybody is busy before new year, so let's wait a bit. I expect to find some free time in Jan.
[Streak 5 Android Development] sinan33:
I wish that i know android prgramming :(
[Streak 5 Android Development] sinan33:
I put the files in the zip into the ICS Rom zip and flashed it.

The rom stucks at bootanimation.
[Streak 5 Android Development] Vennesch:
anyone seen this post?

This is the real Streak 2 made by Qisda isnt it? With 5mp camera...

Anyone time to sign up, download and extract?
[Streak 5 Android Development] TheManii:
It is, I've already given n0p some files from the S2005's stock rom a few months back.

The S2005 happens to have the same camera module (i cant remember if it was the front or back, i dont believe it was both).

It also happens to have native ICS, and only ICS.

n0p mentioned that it wasnt compatable, I dont remember why though, perhaps due to kernel differences? (it's a standard 3.0 kernel for ICS, while ours is 2.6.35 with lots of stuff backported)
[Streak 5 Android Development] _n0p_:
TheManii is right. It didn't work.

Anyway, again - proprietary headers are now available (or it seems so) and it's potentially possible to build the library.
[Streak 5 Android Development] _n0p_:
Well, so far ir seems like kernel needs to be upgraded to 3.x to sync with fresh MSM/KGSL/Genlock patches.

That's a helluva work.

If anyone has time - test this camera lib (compiled together with CM9)
[Streak 5 Android Development] kibuuka:
Checked recent codeaurora changes. Yep, seems we have to (Well, it had to be done anyway as current sources we work with equal to a pile of, well, you name it :)). Porting things to back to 2.6 sure going to take significally much (and i mean it) more effort compared to forth-porting (is this term legit?) streak5/venue files to 3.x. How's about making a 3.x kernel that's universal across dell device line (because this is what i'm up to)?

My pile of streak devices arrival is underway - ordered s5 (mine turned to be unrecoverable and dell representative that contacted me on issue offering device replacement is missing since august), spro (emobile's gs01), s7 and venue. first device that's going to arrive is spro, so i'll start working with it first. rest will arrive in one postage mid-to-twenties-in-january and device specific files for them (excluding s7, as it's tegra-based device and needs more preparation and i have absolutely zero experience with nvidia's kernels) will be included and included to porting process by that time. Right now i need a suggestion on kernel tree to be chosen as base. Clues/ideas? Also, Sergei, i would appreciate all recent patches (if there were any) to be extracted from phoenix tree and published somewhere.

(side note: spro's 2.6 kernels (both softbank's and emobile's variants. @Manii - any info if baidu released kernel source for their D43? can't find anything on this topic) look much cleaner compared to s5/venue's. pegatron ftw :))
[Streak 5 Android Development] _n0p_:
That's like a Happy New Year for me :)

gpio and i2c bus devices (clock control) differ, but can be unified i suppose.

Best way imo in writing board logic to paper first :)

GitHub synced to latest state already.

To extract patch it's enough to add .diff to commit link :)
[Streak 5 Android Development] Lexmazter:
Guys, after the new year, i am going to repair my DS5 and i can help with developement and porting of the new 3.x kernel, as i'm currently maintaining a custom 3.0 kernel for HTC Sensation XL.

Glad to be back :)
[Streak 5 Android Development] jitin02:
Man I am excited after reading last few posts.

Though I I don't have streak (is with my friend) but still excited :)
[Streak 5 Android Development] _n0p_:
@kibuuka - how about 3.4 from CodeAurora?

https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=shortlog;h=refs/heads/msm-3.4
[Streak 5 Android Development] kibuuka:
Will look into this one.
[Streak 5 Android Development] Lexmazter:
I have cloned the 3.4 repo stated here and started working on it, i have got rid of a few compile errors and now i'm at q6audio, here it seems some headers are missing or something, as some variable are declared here for the first time, will edit this post after a reboot in linux with exact errors i have :).

--

Edit: Now i'm back on linux, so here is my progress:

- Added board_8x50_austin.

- Fixed 2 or 3 compile errors.

And now it compiles fine untill qsd6audio comes in, the error is:

arch/arm/mach-msm/qdsp6/q6audio.c: In function 'audio_client_free':
arch/arm/mach-msm/qdsp6/q6audio.c:313:3: error: implicit declaration of function 'pmem_kfree' [-Werror=implicit-function-declaration]
arch/arm/mach-msm/qdsp6/q6audio.c: In function 'audio_client_alloc':
arch/arm/mach-msm/qdsp6/q6audio.c:338:3: error: implicit declaration of function 'pmem_kalloc' [-Werror=implicit-function-declaration]
arch/arm/mach-msm/qdsp6/q6audio.c:339:6: error: 'PMEM_MEMTYPE_EBI1' undeclared (first use in this function)
arch/arm/mach-msm/qdsp6/q6audio.c:339:6: note: each undeclared identifier is reported only once for each function it appears in
arch/arm/mach-msm/qdsp6/q6audio.c:339:24: error: 'PMEM_ALIGNMENT_4K' undeclared (first use in this function)
arch/arm/mach-msm/qdsp6/q6audio.c: In function 'q6audio_init':
arch/arm/mach-msm/qdsp6/q6audio.c:909:33: error: 'PMEM_MEMTYPE_EBI1' undeclared (first use in this function)
arch/arm/mach-msm/qdsp6/q6audio.c:909:51: error: 'PMEM_ALIGNMENT_4K' undeclared (first use in this function)
cc1: some warnings being treated as errors

make[2]: *** [arch/arm/mach-msm/qdsp6/q6audio.o] Error 1
make[1]: *** [arch/arm/mach-msm/qdsp6] Error 2
make: *** [arch/arm/mach-msm] Error 2
make: *** Waiting for unfinished jobs....

I'm not so experienced in the hardware of the Dell Streak 5, so i still need to investigate and compare as i don't really now where should have been those variables declared. (Note: I use the q6audio from the CAF repo.)

If you want i could upload the repo on github, so we can all track the changes there and contribute in the same place :)
[Streak 5 Android Development] kibuuka:
Good idea, glad you're with us :)
[Streak 5 Android Development] Lexmazter:
Glad to be back with new experience for new projects :)

--

GiHub link here, the repo will be uploaded in around 1 hour, crappy internet :)
[Streak 5 Android Development] kibuuka:
dellstreak5-kernel-3.4...ugh...does github allow renaming projects? i've got a suggestion - as we derive from Phoenix kernel, i propose a "Simurgh" name for this - Simurgh is asian equalent to Phoenix, so we have damn bird rising from ashes (yes, Dell, we're rising again).

(/me is full of Sandels light beer, so if i sound itchy just tell me to f... off :D)
[Streak 5 Android Development] Lexmazter:
Yes, github allows renaming projects, for now i will leave it like that untill the repo is fully uploaded, then it could be renamed, we can choose whatever name we want, i just put a generic name, as it is for the dell streak 5 and it's linux version 3.4, i can put a codename in front of it, so it could look like:

simurgh-dellstreak5-kernel-3.4 / (any codename)-dellstreak5-kernel-3.4.

Anyways, simurgh sounds a little too...well...bulky, phoenix sounds way better, but we can figure that out at a later date :)

--

Repo is up, and i added some more changes, still finding and moving drivers :)

--

Wehn you have time you can visit the irc channel on my signature, you can probably find me there if i'm at PC :)
[Streak 5 Android Development] hunderteins:
pmem_kfree and pmem_kalloc are deprecated. But you may emulate them, like I found in a code snipped from the IM-T100K_ICS_Kernel.

Patch for compile-fixing that qdspv6-tree is attached. (dont forget to unset CONFIG_QSD_AUDIO)

hunderteins
[Streak 5 Android Development] Lexmazter:
Thanks a lot, i already got past that problem, but now i can't work for a while on this project as the finals are here so i need to study a lot, but feel free to contribute to the github link. I will look at your fix when i have time, probably you provided a better fix for the problem than me.

Anyways, check github and take it from there, i had many files missing when that error occurred, i still believe some drivers/files are missing, but i think it's pretty much complete.

--

Github link here.

The error i'm now facing is this:

arch/arm/mach-msm/cust_mproc.c:15:1: warning: data definition has no type or storage class [enabled by default]
error, forbidden warning: cust_mproc.c:15
make[1]: *** [arch/arm/mach-msm/cust_mproc.o] Error 1
make: *** [arch/arm/mach-msm] Error 2

And somewhere down is another error i didn't investigated but just wanted to put it here:

kernel/power/consoleearlysuspend.c: In function 'console_early_suspend':
kernel/power/consoleearlysuspend.c:28:2: error: implicit declaration of function 'acquire_console_sem' [-Werror=implicit-function-declaration]
kernel/power/consoleearlysuspend.c:34:2: error: implicit declaration of function 'release_console_sem' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors

make[2]: *** [kernel/power/consoleearlysuspend.o] Error 1
make[1]: *** [kernel/power] Error 2

--

Also, we should take this discussion to this thread.
[Streak 5 Android Development] kibuuka:
Back on topic :)

Was checking if Lenovo's S2005 ICS kernel (v 3.0.8) can be used as a donor for ov5642 camera module code - looks like it can be safely dropped into msm-3.4 tree with some minor changes. Will post module source bit later.

As of ov7690 module - seems we need to rewrite it from scratch using recent ov7692 version as an example - spent 8 hours googling for any publicly available ov7690 module for 3.x kernels - nada. Only idea (besides rewriting) i have is based on interesting info i've found - Newman N1 (aka FreeLander i10) - has (according to my findings) either ov7690 or ov7692 (depends on particular device, seems manufacturer installs either module basing on availability of module at the time particular item was produced) and runs ICS out of the box. This gives us two opportunities:

1. ov7690 and ov7692 modules are compatible and interchangeable (unlikely, judging on magic numbers in source code, but i havent studied datasheets througly yet)

2. if we can get our hands on Newman N1's kernel sources - we have quite a good chance to found ICS-ready ov769x module being there. only trouble is - i haven't found any traces of Newman N1's kernel sources being published on manufacturer site. Anyone having good skill understanding Chinese and willing to help to find traces of kernel source for this device?

Side note: When Qisda develops kernels for their ODM devices (Like LePad S2005) by themselves instead of outsourcing it - they produce quite readeable code. Both GB and ICS kernels for S2005 have brilliantly clear (at least in compare to pile of waste Qisda shipped to Dell as Streak5/Venue kernels) and well -documented changesets against respective stock kernels.
[Streak 5 Android Development] _n0p_:
I don't think rewriting the module would be the hard part. Ain't the module just bridging the commands?

I really hope to get Streak fixed soon, so I can join the team (though I think that actually power and mem management would be the hard part).

manics would help us with Chinese, i've written him.

Rechecked code - yes, it's just a i2c bridge code.

Compare with:

http://gitorious.org/flow-g1-5/kernel_flow/commit/1d73d7c/diffs

(the real driver)
[Streak 5 Android Development] manics:
what can i help ？

try to find out “Newman N1's kernel sources ”？
[Streak 5 Android Development] _n0p_:
Yes, that would be great!
[Streak 5 Android Development] manics:
ok , i will try

but i think the chances are slim.
[Streak 5 Android Development] Vennesch:
Is this helpfull?

http://xdaforums.com/showpost.php?p=36230540&postcount=1199&nocache=1&nocache=1&nocache=1&nocache=1
[Streak 5 Android Development] _n0p_:
Not really, we are looking for kernel sources.
[Streak 5 Android Development] DorkyDev:
So the chances of getting ICS or JB on DSM5 with a working Camera are looking better finally. I hope!

Can you use this to get a camera working on an already existing flashed build of ICS or JB? Say by replacing certain files or what not? Be nice if this project got so far that we were able to get a flashable zip to run and then reboot and bam camera's working once ya boot back up.
[Streak 5 Android Development] manics:
I couldn‘t find kernel sources anywhere. little men tell about Newman N1 now.

so i tried to send message to two developers in MAL（http://bbs.malshenzu.com）.

one tell me the camera sources are always debuged by MTK（MediaTek） itself ,but MTK won't spread sources .

the other developer answer me “GPIO” . I don't understand what did he mean.
[Streak 5 Android Development] _n0p_:
manics, thank you for your efforts!
[Streak 5 Android Development] hunderteins:
Hello you dell streak kernel hackers out there,

I checked that code out and started porting CONFIG_HW_AUSTIN and // Jagan changes from dsc-phoenix to it.

After lots of little changes, where http://xdaforums.com/showthread.php?t=1049170 helped a lot.

(Postings from Rick_1995, marc1706, Cotulla proofed to be helpful) I got it to compile into a zImage.

But that's it. After flashing that kernel my streak stopped at Dell-Logo. But I don't know where. The friends at HTC Leo/HD2 have a little hack to turn on the flashlight (http://htc-linux.org/wiki/index.php?title=LeoFlashlightTest) or the Vibrator (http://htc-linux.org/wiki/index.php?title=LeoVibrator). So they can at least give a sign, to where the kernel got to, before it stopped.

I think our IO-mem is at 0xA9000000 (phys - used in DT.mg ) or 0xFA003000 (virtual - used after mmu-

inititalizing in Linux-Kernel)

The HTC leo knows it's flash-light on bit 22 (0x200000) of GPIO bank6 (0x864 for read, and 0x814 for write)

I saw in our DT.img references to:

0x400-bit of 0xA9000808 (read and write)

0x400-bit of 0xA9000828 (read and write)

0x100-bit of 0xA9000118 (read and write)

0x100-bit of 0xA9000808 (read and write)

0x100-bit of 0xA9000828 (read and write)

0x100000-bit of 0xA9000814 (read and write)

lots of more. So there is a similar architecture, but I don't know what is what. Btw. the password for that

gpio-app in the engineering tools from dell ist 'gpio'

Does anyone know of some lowlevel instructions to turn on some led (flash or one of the keys) or the vibrator

on the streak 5?

tia,

hunderteins
[Streak 5 Android Development] _n0p_:
Great news!

I afraid i cannot be helpful with this though. Saw GPIO code in mainboard and wifi driver, that's all.
[Streak 5 Android Development] Lexmazter:
Well, as far as i know, the flashing lights due to wrong baseband flashing is implemented inside the kernel, n0p got rid of that baseband check there, in that check, is the code for lighting the capacitive leds and i think that is the thing you seek.

Also, could you send me a link to the kernel code, so i can watch over it?

Thanks :)
[Streak 5 Android Development] _n0p_:
That code worked on driver, not gpio level.
[Streak 5 Android Development] hunderteins:
Never mind. Got it from DT.img

// turn off lcd (from virtual)

*(volatile uint32_t*)(MSM_GPIO1_BASE + 0x804) &= 0xffffbfff;
*(volatile uint32_t*)(MSM_GPIO1_BASE + 0x824) |= 0x4000;

or

movw r0, #0x3000 ; mov r0, #0xa9000000 ; for physical
movt r0, #0xFA00 ; -
ldr r1, [r0, #0x804]
bic r1, r1, #0x4000
str r1, [r0, #0x804]
ldr r1, [r0, #0x824]
orr r1, r1, #0x4000
str r1, [r0, #0x824]

// turn on lcd (from virtual)

*(volatile uint32_t*)(MSM_GPIO1_BASE + 0x804) |= 0x4000;
*(volatile uint32_t*)(MSM_GPIO1_BASE + 0x824) |= 0x4000;

or

movw r0, #0x3000 ; mov r0, #0xa9000000 ; for physical
movt r0, #0xFA00 ; -
ldr r1, [r0, #0x804]
orr r1, r1, #0x4000
str r1, [r0, #0x804]
ldr r1, [r0, #0x824]
orr r1, r1, #0x4000
str r1, [r0, #0x824]

have a nice week,

hunderteins
[Streak 5 Android Development] _n0p_:
YAY!
[Streak 5 Android Development] Lexmazter:
Great, great, great news, i can't wait to get back my repaired streak so i can get back to testing this new kernel and help you get it working!
[Streak 5 Android Development] kibuuka:
Re: [DEV] Camera and ICS.

Great job. One quick question - board file used is stock board_qsd8x50.c shipped with 3.4 or it includes austin-specific code?
[Streak 5 Android Development] kibuuka:
hmm. ok, let me rephrase. i'm trying to figure if you're:

using stock 3.4's board_qsd8x50.c adding austin-specific code from 2.6

or

using separate board file for austin (board_qsd8x50-austin.c) from 2.6 modifying it to be 3.4-compatible

or

doing something else

also, can you please publish actual .config and arch/arm/mach-msm/Makefile from your source tree.
[Streak 5 Android Development] djmax81:
Re: [DEV] Camera and ICS.

Bravo.!!!! Sounds great news...though :beer: