lolwat has quit [Read error: Connection reset by peer]
Forsaken has quit [Ping timeout: 252 seconds]
dpm has joined #teamhacksung
CoreISP has quit [Quit: Leaving]
ricotz has quit [Quit: Ex-Chat]
PsychoGame has joined #teamhacksung
<PsychoGame>
Hello everybody, I have a question related to omx. I have successfully ported Cyanogenmod 7 over to the Samsung GT-S5360 (totoro) or also known as Samsung Galaxy Y. Almost everything works except for bluetooth and camera only video recording. Now I'm working on getting video recording to work, but this seems a little bit difficult. For this to work I have to make stagefright compatible with the OMX libraries. In stock the phone
<PsychoGame>
uses OpenMax to do encoding and decoding of video, but the only thing we have are closed source libraries of this. Sourcecode is not available for this board which is a bcm21553 board which unfortunately is broadcom. Is there a possibility to tell stagefright to use the prebuild OpenMax libraries? I'll wait for an answer:).
angelsl has joined #teamhacksung
methril has quit [Quit: Leaving]
Bradada has quit [Ping timeout: 245 seconds]
evcz is now known as Guest70812
meeeeeeee has joined #teamhacksung
meeeeeeee has joined #teamhacksung
meeeeeeee has quit [Changing host]
Bradada has joined #teamhacksung
Guest70812 has quit [Ping timeout: 256 seconds]
Turtuga has joined #teamhacksung
dpm has quit [Ping timeout: 245 seconds]
dpm has joined #teamhacksung
meeeeeeee is now known as evcz
PsychoGame has quit [Quit: Leaving]
Bradada has quit [Ping timeout: 264 seconds]
Bradada has joined #teamhacksung
DuperMan has quit [Read error: Connection reset by peer]
DuperMan has joined #teamhacksung
Rebellos has joined #teamhacksung
paulk-desktop has joined #teamhacksung
mad-murdock has quit [Ping timeout: 252 seconds]
mad-murdock has joined #teamhacksung
ClashTheBunny has joined #teamhacksung
GNUtoo-m4a785t-m has joined #teamhacksung
Bradada has quit [Remote host closed the connection]
Rebellos has quit [Ping timeout: 245 seconds]
PsychoGame has joined #teamhacksung
<PsychoGame>
Hello everybody, this morning I also was here I had a question in relation to the OpenMAX libraries. I need to use openmax in my CM build for video encoding and decoding, but how can I implement this. The only thing we have for this device is prebuilt libraries
<codeworkx>
which platform?
<PsychoGame>
Platform is bcm21553, this was a budget board for Totoro, CooperVE, TassVE and some more. There are very little sources available on this. It's a broadcom board, and in my opinion broadcom isn't really famous in the opensource world. But the same goes for Samsung in my opinion.
<codeworkx>
then you have to use the prebuilts
<codeworkx>
libstagefright_hw.so is the entry point
<codeworkx>
this should load the omx libs
<PsychoGame>
I wan't to use the prebuilts indeed, they are called libBRCM_Omx_Core.so and libBRCM_Omx_Core_Plugin.so. I found a libstagefright_omx.so, but in the stock rom you can't find any libstagefright_hw.so or something that looks like it.
<codeworkx>
it gets build by aosp/cm
<PsychoGame>
Okay, so then I would need to specify libstagefrighthw in "full_totoro.mk" in my case?
<PsychoGame>
Because in my builds which I had until now I also didn't have libstagefrighthw.so as output in the system/lib folder :S
datagutt has joined #teamhacksung
<codeworkx>
PsychoGame: yep
<codeworkx>
PRODUCT_PACKAGES += \
<codeworkx>
libstagefrighthw
<PsychoGame>
Okay, I added it to my full_totoro.mk, and it's currently compiling everything again. Only question which remains is do I need to clone the directory libstagefrighthw from another samsung device, or does AOSP/CM use a standard one instead?
<codeworkx>
cm
krabador has joined #teamhacksung
<codeworkx>
frameworks/av afaik
<PsychoGame>
Okay:). Thank you for you're information:). So all I need to do when building is complete I would need to copy the libBRCM_Omx_Core.so and libBRCM_Omx_Core_Plugin.so to the lib directory and stagefright should search for omx related prebuilts automatically?
<codeworkx>
there's also a config file
<codeworkx>
media_codecs
<codeworkx>
and media_profiles
<codeworkx>
system/etc
linux_unix-10 has joined #teamhacksung
<PsychoGame>
Yes:). Those I have included in the prebuilt directory of my device folder:). These will also get copied to the end product by the build process:)
<linux_unix-10>
There is an unofficial CM9 project for the Samsung Galaxy Pocket (GT-S5300), but its buggy and missing a lot of stuff. Judging from the specs, can cm9 run effectively with continued development?
<codeworkx>
no idea
<linux_unix-10>
I've heard that the Galaxy Y has very near-identical specs, and it has, to my knowledge, a bunch of ICS and JB roms. Can these roms (at least some of them) be ported to the Pocket?
<codeworkx>
no idea
<codeworkx>
these are low end devices i never heard a single thing about
<codeworkx>
dead before release ;-)
<PsychoGame>
Galaxy Y has no JB rom atm. as far as I know. White has build a CM9 build but is still far from complete due to a lot of source code missing. Currently I'm working on Galaxy Y CM7, which is nearly complete, but Bluetooth still not working and Video playback and capture still not working.
<codeworkx>
PsychoGame: trust me, you'll face a lot more issues soon. ;-)
<codeworkx>
PsychoGame: play music via headset and send a sms to your phone. volume drops, notification sound gets played, volume never gets restored to old value. common samsung fuckup
<a3Dman>
+1
<PsychoGame>
I know there are a lot of difficulties with this device, thats why I'm happy I didn't buy it, but got it from a friend:P. Just to get developing with it. A lot of the issues as headset playback and volume bug are not present on my build anymore. And as far as I know sms also works, but hw acceleration and video dec and enc seem to be very difficult. But I know Samsung is very shitty with sources:S.
<PsychoGame>
My main phone is a Galaxy S Plus, but my next buy will not be a Samsung anymore. Only I still have to find out a manufacturer which is good with opensource.
<PsychoGame>
Thats great:D. Seems like a very good phone.
<PsychoGame>
And beautiful that they work so close with opensource developers.
<linux_unix-10>
there is a jb rom for galaxy y. search on youtube.
<linux_unix-10>
the aura ics rom is available for galaxy y
white has quit [Ping timeout: 264 seconds]
<linux_unix-10>
the cm9 project for galaxy pocket was actually ported by teztaz of xda from whitexp's cm9 galaxy y project
dpm has quit [Ping timeout: 252 seconds]
dpm has joined #teamhacksung
repnzscasb has joined #teamhacksung
repnzscasb has quit [Changing host]
repnzscasb has joined #teamhacksung
PsychoGame has quit [Quit: Leaving]
lolwat has joined #teamhacksung
krabador has quit [Remote host closed the connection]
lolwat has quit [Read error: Connection reset by peer]
lolwat has joined #teamhacksung
white has joined #teamhacksung
championswimmer has joined #teamhacksung
championswimmer has quit [Remote host closed the connection]
championswimmer has joined #teamhacksung
ricotz has joined #teamhacksung
ricotz has quit [Changing host]
ricotz has joined #teamhacksung
ClashTheBunny has quit [Quit: Leaving]
linux_unix-10 has quit [Quit: Leaving]
lolwat has quit [Read error: Connection reset by peer]
krabador has joined #teamhacksung
stickyboy has joined #teamhacksung
dpm has quit [Quit: Ex-Chat]
angelsl has quit [Remote host closed the connection]
CoreISP has joined #teamhacksung
CoreISP has joined #teamhacksung
wingston has joined #teamhacksung
Forsaken has joined #teamhacksung
krabador has quit [Remote host closed the connection]
wingston has quit [Ping timeout: 264 seconds]
sbrissen_gone is now known as sbrissen
rhcp has quit [Excess Flood]
rhcp has joined #teamhacksung
lolwat has joined #teamhacksung
krabador has joined #teamhacksung
Jiangyi has quit [Read error: Operation timed out]
Jiangyi has joined #teamhacksung
codeworkx has quit [Read error: Connection reset by peer]
codeworkx_ has joined #teamhacksung
krabador has quit [Read error: Connection reset by peer]
krabador has joined #teamhacksung
GNUtoo-m4a785t-m has quit [Quit: Leaving]
thens has joined #teamhacksung
rndio has joined #teamhacksung
<rndio>
hello. is this a good place to ask nub questions re support of latest cm on galaxy tab p1?
<codeworkx_>
no :-D
<rndio>
lol. ok I've got a M180S which is a korea only version. and kinda struggling with it.
<rndio>
there are custom hacked builds based on cm10 on korean forums but they are pretty meh
datagutt has quit [Quit: kthxbai]
<rndio>
i'd like to run a clean cm-10.1 myself, so I wonder if there's an ongoing effort to port it which I could join somehow
<rndio>
although the device is pretty old, I believe it would benefit from 4.2 and latest developments the most, cause my galaxysmtd is very enjoyable on M3 in comparison with ics or even 7.2
<codeworkx_>
no users, no development
<codeworkx_>
most development happens on international and us variants
<rndio>
but so far it seems that difference is modem.bin only iirc
<rndio>
i'm eager to try to hack a working version. it seems that p1 in 10.1 uses 2.6 kernel. must be some problem with 3.0 support?
<codeworkx_>
modem.bin isnt part of cm
codeworkx_ is now known as codeworkx
<rndio>
checking out korean custom roms I see that almost everything they run is p1
<rndio>
although they never moved to mtd and never touch pit and use rfs everywhere
<codeworkx>
ugh
<codeworkx>
teh rfs shit
<rndio>
i like the current galaxysmtd layout and would like to move it mtd somehow
<rndio>
is there any more or less in-depth guides on how to migrate sbl/rfs mess to a clean mtd?
<rndio>
s/sbl/bml/g
<rndio>
also, there seems to be no cwm recovery for galaxy tab. is that because it uses initramfs in the kernel unlike others? or just lack of development?
rndio has quit [Quit: Lost terminal]
rndio has joined #teamhacksung
<stickyboy>
rndio: Surely you're mistaken? There must be a CWM recovery...
<stickyboy>
p1000?
<rndio>
yes, maybe I meant recovery image though
<rndio>
sorry I'm still figuring things out
<stickyboy>
hehe ok.
<rndio>
but image is not applicable since the device is using initramfs
whitequark has joined #teamhacksung
whitequark has left #teamhacksung [#teamhacksung]
<rndio>
so I guess that tar achive with individual files is it
<stickyboy>
Yah, if I recall correctly the p1000 didn't have a recovery partition.
<stickyboy>
Can't remember
<rndio>
so I have to put those into initramfs with kernel
<stickyboy>
Yah
<stickyboy>
But use CM's
<rndio>
guess it will launch it upon recovery boot right?
<stickyboy>
heimdall flash --kernel boot.img
<stickyboy>
Done
<rndio>
so far my device does not have volume-up + power recovery
<rndio>
only volume-down + power download mode :/
<stickyboy>
That's fine
<rndio>
so if I put recovery into initramfs correctly then volume-up would work?
<stickyboy>
So use heimdall to flash CM's boot.img
<stickyboy>
Then you will have recovery
<rndio>
i mean is it kernel only that decides on which init file to boot or...
<rndio>
do i have to mess with j4fs or what's it called?
<codeworkx>
rndio: switching to mtd is a safe hardbrick if you're unexperienced
stickyboy has quit [Quit: battery]
<rndio>
you mean if I mess up my pit?
<codeworkx>
not pit
<rndio>
I've got no jtag so no fullflash for me and i'd be screwed
<codeworkx>
the layout is done via kernel header
<rndio>
kernel header in boot.img?
<rndio>
sorry if I ask stupid questions :)
<rndio>
i've got 12 partitions in my pit, 7680 bml7 being my kernel, 15552512 mmcblk0 with 1 only is my /sdcard
<codeworkx>
you have to recreate the layout with offsets and sizes from start of the nand
<codeworkx>
without killing the bootloader partitions
<rndio>
oic... offsets. so kernel kinda blindly maps my raw nand to these devices
<rndio>
and if I make a mistake I risk overwriting critical parts I see
<rndio>
ok thanks for that missing link in my chain of understanding
<rndio>
but as a temporary risk-free measure
<rndio>
can I just leave bml in place but repartition mmc and use lvm maybe like i9000?
<rndio>
until I understand everything and be ready for a final mtd switch?
championswimmer has left #teamhacksung ["http://quassel-irc.org - Chat comfortably. Anywhere."]
<codeworkx>
repartition emmc? lvm?
rndio has quit [Changing host]
rndio has joined #teamhacksung
rndio has joined #teamhacksung
<rndio>
384000 bml9, 557056 bml10, 35840 bml11 all those are rfs currently. I'd like to have /system on emmc like galaxysmtd.
sud3n has joined #teamhacksung
<codeworkx>
galaxys is mtd
<rndio>
with lvm I may as well merge those bmls into a single physical volume I could use as well
<rndio>
/dev/lvpool/system /system ext4
<rndio>
/dev/lvpool/userdata /data ext4
<rndio>
this is what I see on mine
<codeworkx>
no idea
<codeworkx>
left the i9k when the i9100 got released
<rndio>
basically galaxysmtd uses emmc for /system and userdata
<rndio>
and internal nand for datadata
<rndio>
for faster io I guess
<codeworkx>
ah ok
<rndio>
also probably because jb does not fit too
<codeworkx>
yep
<codeworkx>
thats safe to do
<rndio>
this is what I'd like to replicate on my p1 cause on this korean hacked 4.1.1 it's very slow
<rndio>
probably due to bugs and custom compile options etc. but seems that io is a bottleneck so far
<rndio>
so if I never touch pit/pbl/sbl and do not switch to mtd in my kernel build, i should be safe?
<rndio>
hard bricking-wise..
<rndio>
brb
rndio has quit [Quit: leaving]
rndio has joined #teamhacksung
childofthehorn has quit [Ping timeout: 240 seconds]
paulk-desktop has quit [Quit: Ex-Chat]
childofthehorn has joined #teamhacksung
DuperMan has quit [Read error: Connection reset by peer]
DuperMan has joined #teamhacksung
sbrissen is now known as sbrissen_gone
thens has quit [Ping timeout: 258 seconds]
rndio has quit [Quit: leaving]
rndio has joined #teamhacksung
methril has joined #teamhacksung
<rndio>
would data from heimdall's print-pit be enough to create an mtd header correctly? could there be any gaps between pit's partitions or pit layout is linear?
lolwat has quit [Read error: Connection reset by peer]
Duckboot has quit [Read error: Operation timed out]