yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] Chainfire:
Well apparently what happened is that one of the mods was cleaning up the gazillion "omg the gingerbread source is here" threads, and failed to notice this one was different. It happens :)

(One of the reasons I asked you to change the thread title to something less weird)
[Galaxy S I9000 Android Development] supercurio:
Makes sense.

Lets rename to [REF] and ask to become sticky ;)
[Galaxy S I9000 Android Development] Chainfire:
Due to hotness of the topic, stickied for the time being.
[Galaxy S I9000 Android Development] c0llal0:
thats big mr sc_voodoo!

i will get myself a glass of rum now ... first drop is for u ;)
[Galaxy S I9000 Android Development] supercurio:
You can ask here or on #project-voodoo freenode if you have trouble to get it working

Is see there are a few developer still having trouble with the module version magic setup ;)
[Galaxy S I9000 Android Development] lightning18:
Are there special instructions for the initramfs? I'm stuck in a boot loop.
[Galaxy S I9000 Android Development] supercurio:
It will work if you follow each instruction described in the first post.

If you have doubts about how/why use this default.prop in your ramdisk:

https://github.com/project-voodoo/g...fs-hacked/blob/i9000xxjvb-hacked/default.prop

Then when it boots:

adb pull /proc/kmsg kmsg

read what's inside kmsg, and you'll get the answer ;)
[Galaxy S I9000 Android Development] lightning18:
Thanks supercurio, finally got it working.
[Galaxy S I9000 Android Development] dupel:
Would love to see your additiond from fugu, this way not just your kernel will be awesome =)
[Galaxy S I9000 Android Development] krazie1:
@supercurio

Sorry to hijack your thread but can you please view this thread. madguitarist63 has a Galaxy S II and wants to know if you can help him Dump the Rom.

http://xdaforums.com/showthread.php?t=1043824
[Galaxy S I9000 Android Development] TheBeano:
@Supercurio thanks for this, I used it to get a kernel going with only minor tribulations. I got tripped up on CONFIG_LOCALVERSION_AUTO but sorted it out in the end. For anyone with similar problems you can check which LOCALVERSION is being generated in include/generated/utsrelease.h.

So now I have a kernel patch for the car dock external audio problem in Gingerbread, which is currently attached to this post. What's the best way to get it into as many custom kernels as possible? Is there a similar repository I could commit it to?
[Galaxy S I9000 Android Development] pikachu01:
+1 Fugumod is a stable kernel that we can leverage to make Gingerbread better!
[Galaxy S I9000 Android Development] pikachu01:
Just felt that the pinned thread receives less attention. Probably let it be unpinned and bumped up?
[Galaxy S I9000 Android Development] jaiiscool:
Awesome initiative Supercurio, I hope every dev adopts it.
[Galaxy S I9000 Android Development] lidaibin:
hi supercurio, I compiled a kernle with initramfs you've hacked but there was a mistake when it started. here is the detail of my kmsg file: View attachment kmsg.txt. it seems that it has started without loading any module of initramfs and /dev/block/stl9 devices has never been found as well. would you please tell me what I should do now?
[Galaxy S I9000 Android Development] TheBeano:
This is why:

Linux version 2.6.35.7-I9000XWJVB-CL118186-gae936e5-dirty

Just like me you have CONFIG_LOCALVERSION_AUTO=y in .config. Change it to n and remake (no need to make clean). Check that it worked by looking at include/generated/utsrelease.h , it should just have "2.6.35.7-I9000XWJVB-CL118186" without the -gae936e5-dirty.
[Galaxy S I9000 Android Development] zorxd:
Instead of spoofing the localversion, why don't we just copy our compiled modules to the initramfs folder?
[Galaxy S I9000 Android Development] supercurio:
Good question :)

The simple answer is that we don't have of the modules, unfortunately (closed source sh!t)
[Galaxy S I9000 Android Development] zorxd:
Thanks for the answer. I noticed that the storage driver is proprietary, as well as RFS.

What is the size of the kernel partition? I guess we should make sure not to flash a kernel too big for the partition? Is there a reason for NOT using LZMA compression instead of GZIP to save space? The difference in boot speed must not be an important factor isn't it? So can we conclude that the best setting is to compress the whole image with LZMA (and not compress the initramfs individually, removing the necessity for the support of gziped initramfs)?
[Galaxy S I9000 Android Development] supercurio:
Yes LZMA is slow to uncompress especially on those little CPU.

Personally I recommend gzip for the kernel and no compression for the initramfs so it's easier to extract it if needed.

Most inefficient is double image + initramfs compression.

LZMA can make the kernel boot more than 1s or 2s slower for no gain in most situations.
[Galaxy S I9000 Android Development] zorxd:
Ok thanks

and what about optimize for size? Does it really make sense?
[Galaxy S I9000 Android Development] supercurio:
Yes optimize for size is a great thing:

It configures the compiler not only to build smaller code, but also most time more efficient because tunes for smaller CPU caches.

Another option you can change is disable "Compile the kernel with debug info" CONFIG_DEBUG_INFO

The kernel will be a bit smaller, modules will be incredibly smaller too.
[Galaxy S I9000 Android Development] aorth:
Cool, thanks

Ok, consider yourself forked.

Thanks, guys. I've wasted a whole afternoon compiling kernels and soft bricking my SGS. I haven't had so much fun in a long time :)

git, gcc, patch, irc, etc... and my "custom" kernel STILL isn't as good as renaud/nikademus'!

Anyways, keep up the good work. I'll be pulling :)
[Galaxy S I9000 Android Development] thomas_d_j:
Ok am putting a toe in the water on this one.

Unfortunately not all smooth sailing on first attempt:

$make aries_eur_defconfig
arch/arm/configs/aries_eur_defconfig:1566:warning: override: reassigning to symbol USB_ANDROID_RNDIS_WCEIS
#
# configuration written to .config
$ make
make: /opt/toolchains/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: Command not found
scripts/kconfig/conf -s arch/arm/Kconfig
make: /opt/toolchains/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: Command not found
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CC kernel/bounds.s
/bin/sh: /opt/toolchains/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: No such file or directory
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2

This is on a 64-bit Ubuntu 11.04. Not sure if this is a 64-bit problem or I am missing some dependency. Any suggestions appreciated. Will try again on a 32-bit VM install in the meantime.
[Galaxy S I9000 Android Development] renaud:
Download the crosscompiler toolchain from codesourcery
[Galaxy S I9000 Android Development] thomas_d_j:
Ah thanks, i must have missed that bit.

So that would be the q3 2009 one at http://www.codesourcery.com/sgpp/lite/arm/portal/release1039 or do I get the latest one?
[Galaxy S I9000 Android Development] renaud:
Take 2009q3
[Galaxy S I9000 Android Development] Lukiqq:
Guys after two days of trying I have no idea what I'm doing wrong. After compilation kernel has 5.4MB and everything seems to be OK, but after tar and flash via Odin, phone just stuck at the bootlogo screen :/ Maybe someone knows what is going on? Thank you!
[Galaxy S I9000 Android Development] supercurio:
Your kernel lacks an initramfs (links in the first post)
[Galaxy S I9000 Android Development] Lukiqq:
Thank you Supercurio but I'm pretty sure that I've properly setted up initramfs in .config because with INITRAMFS line filled size of kernel is 5.4MB and without initramfs path specified I had 3.4MB kernel image. What do you think?
[Galaxy S I9000 Android Development] supercurio:
Do you know where it stops ?

Here is a very powerful debug method:

− Assuming you have an initramfs and the kernel is not malformed.

Apply just these changes to your initramfs.

https://github.com/project-voodoo/g...mmit/202724c04681cfe9b3ad543d8916b3f6a172f0e9

Flash & Boot.

Then adb pull /proc/kmsg

CTRL+C

See what's in kmsg, and most time you'll have the answer right here :)

Note: this hacked initramfs is only for current Vodooo lagfix internal usage. To have a properly working kernel, you'll need to base on a standard initramfs like this one: https://github.com/project-voodoo/samsung_initramfs/tree/master/gingerbread-i9000xwjvb
[Galaxy S I9000 Android Development] AnonymeLex:
On windows, when i extract the sources, it says some files exist 2 times. In reality one have a capital letter and the other not. How do I do ?
[Galaxy S I9000 Android Development] supercurio:
I guess you can forget about using windows for developing kernels.
[Galaxy S I9000 Android Development] AnonymeLex:
I used linux a time. But it is not really for me...

But will try ^^
[Galaxy S I9000 Android Development] TheBeano:
Just use sztupy's kernel compiler vm if you don't want to go full-time Linux, it is excellent.
[Galaxy S I9000 Android Development] AnonymeLex:
Look good, this computer don't support it, but on my other computer it will. Will try as soon as I am back home.
[Galaxy S I9000 Android Development] AnonymeLex:
Okay here I am !

I am on linux and I installed the toolchain. But when I try to compile I have the same error that the other post:

make: /opt/toolchains/arm-2009q3/bin/arm-none-linux-gnueabi-gcc : commande introuvable

CHK include/linux/version.h

CHK include/generated/utsrelease.h

make[1]: « include/generated/mach-types.h » est à jour.

CC kernel/bounds.s

/bin/sh: /opt/toolchains/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: Aucun fichier ou dossier de ce type

make[1]: *** [kernel/bounds.s] Erreur 1

make: *** [prepare0] Erreur 2

EDIT : Resolved
[Galaxy S I9000 Android Development] pixiebob:
salut supercurio peut etre pourrais tu m'aider.

je souhaiterais creer mon propre kernel mais avec les kernels que je compile je reste bloqué au demarrage. c'est l'etape de la decompilation du boot.img et de la recompilation du boot.img qui me pose probleme.

par exemple je recupere le boot.img du kernel cm7 original et le decompile pour avoir donc le kernel et le recovery:

./unpack-bootimg.pl boot.img

j'obtiens boot.img-kernel.gz et boot.img-ramdisk.cpio.gz

maintenant je recompile le boot.img avec ces memes fichiers(j'utilise ces memes fichiers pour voir si les outils et les commandes sont bon c'est pour ca):

./mkbootimg --cmdline 'no_console_suspend=1 console=null' --kernel boot.img-kernel.gz --ramdisk boot.img-ramdisk.cpio.gz -o boot-new.img

je flash le boot.img obtenu et je reste figé au demarrage...evidemment avec le boot.img du debut je n'ai pas de probleme pour booter

je precise que j'ai essayé aussi en utilisant mkbootimg avec different adresse de base possible(--base 0x20000000 ou --base 0x30000000,--base 0x00800000,etc...) mais tjrs bloqué au boot

une idée de ce qui ne vas pas?
[Galaxy S I9000 Android Development] supercurio:
This method is for devices using fastboot-type bootloader.

You need to follow instructions in the associated README and first post for Samsung kernels.

In this case, initramfs are in zImage itself. If flashed from Odin, a .tar container is required (not for heimdall)
[Galaxy S I9000 Android Development] lidaibin:
hi, supercurio, I want to integerate voodoo lagfix in my compiled kernel, i sync your lagfix repo and successfully built it, generated final initramfs directory with your script, i compile kernel with the initramfs, but the kernel boot failed, and i can't get /proc/kmsg via the command "adb pull /proc/kmsg". any idea for me?
[Galaxy S I9000 Android Development] thomas_d_j:
New source coming?

I received this from Samsung on Tuesday, so hopefully the updated source is not far away:

PS I guess they mean 5th of June...
[Galaxy S I9000 Android Development] Technecium:
I'm having the same issue.
[Galaxy S I9000 Android Development] $omator:
as lordvetinari spoted the updated source is on ;)
[Galaxy S I9000 Android Development] wifi802.11abgn:
Is this git source got updated to the latest version of GB source released by samsung?

thanks
[Galaxy S I9000 Android Development] sztupy:
not yet. But the official drop now builds without problems (TFSR makefile was fixed). You still need to set localversion to work with the modules from the initramfs though. (It's "-I9000XXJVP-CL264642" for the latest 2.3.4 JVP)

Apart from the TFSR it includes some GPIO fixes and lots of new stuff inside the sound department.
[Galaxy S I9000 Android Development] mialwe:
Hell oand thank you for all your work, inspired by XDA I'm just doing first steps in "developing" a custom kernel, right now I'm stuck at SGS logo, kmesg showing this (first error occurence):

<3>[ 1.285965] init: cannot open '/initlogo.rle'
<3>[ 1.289646] init: SEC_DEVENC ***[none][0]
<3>[ 1.293503] init: SEC_DEVENC ***[tmpfs][0]
<3>[ 1.297120] init: SEC_DEVENC ***[tmpfs][0]
<3>[ 1.301465] init: SEC_DEVENC ***[none][0]
<3>[ 1.305742] init: SEC_DEVENC ***[/dev/block/stl9][0]
<3>[ 1.310279] init: failed that mount s:'/dev/block/stl9', t:'/system', f:rfs ,op :check=no (No such device)
<3>[ 1.319734] init: do unmount
<3>[ 1.322464] init: SEC_DEVENC ***[/dev/block/stl9][0]
<3>[ 1.327665] init: failed that mount s:'/dev/block/stl9', t:'/system', f:rfs ,op :check=no (No such device)
<3>[ 1.336965] init: SEC_DEVENC ***[/dev/block/stl9][0]

Mounting fails, nothing to boot. I'm using most recent stock samsung sources and supercurios' samsung_initramfs (JVP, no auto-version, version string correct, but not repacked, read in another README that pointing to initramfs-path in .config does the trick, too).

Can anyone give me a hint WHERE to look for the cause of this error?

Edit: Now trying with extracted JVQ stock initramfs...compiling (~30min on a netbook :) )...nothin, same errors. Speedmod fallback kernel boots fine :(
[Galaxy S I9000 Android Development] renaud:
if you get as far as getting adb log then your kernel has booted and the problem is probably in the initramfs
[Galaxy S I9000 Android Development] mialwe:
Jep, kernel loads and hangs trying to mount, somehow absolutely nothing can be mounted... tried with JVQ-initramfs a few minutes ago - nothing.

My compiling steps:

- Samsung kernel source

(- make clean)

(- make aries_eur_defconfig)

- edit initramfs-version

- Extracted initramfs from stock JVQ kernel (same problems with supercurios' JVP initramfs)

- point .config to directory of initramfs

- make

Edit: Got it. Don't know why but starting again with fresh kernel sources + extracted JVQ initramfs worked.
[Galaxy S I9000 Android Development] lownoise:
New sourcecode drop;)

http://xdaforums.com/showthread.php?t=1206702
[Galaxy S I9000 Android Development] thomas_d_j:
Latest source code drop

So is the latest drop JVR source or something else?
[Galaxy S I9000 Android Development] lownoise:
well the GalaxyS_OpenSource_GB_Update2.zip was released 2 days after the official released XXJVQ so i assume that source is alse XXJVQ
[General Topics] jaileer:
I'm trying to post an answer to someones question in the MIUI development forum, but because i don't have 10 posts I am not allowed.

Question: Is any body else having problem with the GPS and the Market place not downloading anything on 3g.

Answer: Open the Downloads app, then hit menu and select Download over mobile network. If that option is already selected, change it to WIFI, save, then change it back to mobile network.

*sigh* 1 post down, 9 more to go before I can be helpful.
[General Topics] hedney3:
Isnt it annoying lol. well thanks for this now i can finally post my rom in the dev section. good luck
[General Topics] jaileer:
at least I helped someone today!
[General Topics] jaileer:
by the way, my source for the info posted above is the official MIUI forum. I'd post the link...but I'm too new to do that, either. :rolleyes:
[General Topics] pima cotton:
is it necessary to have 10 posts
[General Topics] jaileer:
it's necessary to have 10 posts to post in the development threads. Until then you can only post in the General and Q & A sections.

My presumption is that it's intended to prevent the Dev threads from getting flooded with people swooping in from Google and dropping a bunch of repetitive questions. Makes sense, it's just inconvenient for me because I have an actual answer! :D
[General Topics] madnish30:
The thread doesn't make much sense to me. Closed.
[Galaxy S II Accessories] jdrake001:
Can someone confirm that for sgs2 it would be compatible with the many iphone compatible ones out there?

For the first gen sgs it is only compatible with the nokia ones, which is very limited.
[Galaxy S II Accessories] steve228uk:
My Griffin iTalk adaptor has worked and samsung bundle some headphones with only one button so I can only presume most iPhone compatible buds will also work.
[Galaxy S II Accessories] jdrake001:
That's great news! Time to read up more on the klipsch 4si earphone review. :D
[Galaxy S II Accessories] beaver2233:
can anyone else please confirm this? this was a major flaw in the original sgs (for me)

@jdrake klipsch s4i are a good choice ;)
[Galaxy S II Accessories] jenkinson6a:
Seems to work fine with a set of ipod head phones I just got of ebay. Microphone works and the click button pauses.
[Galaxy S II Accessories] beaver2233:
well that seems like good news...ahh sgs2 is soo tempting haha
[Galaxy S II Accessories] wuhrz:
@jenkinson6a:

does your headphone have only one button or are there some more (volume control or something like this)? If there are some: do they also work?
[Galaxy S II Accessories] jenkinson6a:
sorry its only got one
[Galaxy S II Accessories] enne91:
Hi guys I was looking for the same thing, BUT i would like one NOT in ear. do u have any links?

:)
[Galaxy S II Accessories] jdrake001:
Give Dr Dre Beats a try ;)

http://beatsbydre.com/products/Products.aspx?pid=B5505&cat=1
[Galaxy S II Accessories] steve228uk:
Just tried my old HTC headphones with three buttons. Forward, back and play/pause/call answer. Worked just as they should so some with a volume control should work perfectly too.
[Galaxy S II Accessories] wuhrz:
that sounds great! thanks!
[Galaxy S II Accessories] mentalinc:
Can someone recommend an inline adapter so I can use my current headphones?
[Galaxy S II Accessories] DocRambone:
http://shop.ebay.com/i.html?_from=R40&_trksid=m570&_nkw=U52+Griffin+SmartTalk+Control
[Galaxy S II Accessories] LBTaylor1984:
can someone recommend some in ear headphones, preferably with the controls on them?

the Samsung ones are truely shocking, in respects to audio quality.
[Galaxy S II Accessories] Crucio_:
good to know that talk controls are working with most headphones, will influance my next choice of headphones i purchase :)
[Galaxy S II Accessories] steve228uk:
I'd say it depends on your price range but I love the Klipsch s4i [http://www.amazon.co.uk/Klipsch-S4i...?ie=UTF8&s=electronics&qid=1304553404&sr=8-1]. They're a good range with a nice bass to them.

If you want something a little cheaper you could go for some Sennheisers but they can get a little muddy and the bass is a little overpowering at times meaning you miss some of the highs.

Failing that just get something like a Griffin SmartTalk [http://www.griffintechnology.com/products/smarttalk] that will allow you to plug whatever headphones/earphones you want and still have the audio control/hands free. It's what I'm using! :)
[Galaxy S II Accessories] RustyWrightOne:
I have a pair of dr dre beats with inline controls. The volume buttons do nothing while the middle button will pause only.

There is no way of changing track.

Hope that helps. Thanks.
[Galaxy S II Accessories] steve228uk:
Try double-clicking the play/pause button
[Galaxy S II Accessories] RustyWrightOne:
I tried that also but it just paused the music. I tried every combination i could think of and nothing would change the track or volume.

Thanks
[Galaxy S II Accessories] mickliq:
My V-MODA's work! Play/Pause/FF with double-click and microphone.
[Galaxy S II Accessories] yus786:
i can confirm my scosch idr655ms remote and mic work fine with doubletwist mp3 player, the volume buttons dont work but the pause/play and double click to change track do

the mic works fine with phone calls although the volume isnt that loud

the change track by double clicking doesnt work with the stock mp3 player

if anyone wants cheap scosch idr655ms then this guy on ebay is selling them for very cheap shipped to the UK, i got them for £30 and they came in 7 days!

great headphones, check out reviews, i bought them over the s4i's as i heard the build on them aint that great

try another mp3 player such as doubletwist, that works with mine, you might need to change the settings though.
[Galaxy S II Accessories] hamz22:
when listening to music or on phone calls? that would kinda suck if music playback isn't all that loud.
[Galaxy S II Accessories] mentalinc:
I'm guessing the headphones need to plug into the SmartTalk

and the SmartTalk

plugs into the phone?

Can it go SmartTalk Headphones > Phone

my headphones have a cable that plugs into the ears so would ideally put tii there so mic is close to the mouth....
[Galaxy S II Accessories] travisb:
I was wondering whether the SE MW600 works ok, as I fancied picking one of those up.
[Galaxy S II Accessories] steve228uk:
The SmartTalk has to be plugged into the phone as that's what's doing the remote functions. It has a pretty long cable anyway.
[Galaxy S II Accessories] yus786:
the volume on music is loud enough, it doesnt go quite as high as my iphone but is just about too loud for me on full volume

i should have made it clearer, the earphone volume whilst in a call was pretty low
[Galaxy S II Accessories] ph00ny:
I just ordered some klipsch x5 hoping that high sensitivity can make up for the lack of volume level
[Galaxy S II Accessories] Greycloud:
Guys, you mean to say that the 3.5mm jack of SGS II is same as iPhone? If yes then will I be able to use Soundmagic MP21 with with SGS II?
[Galaxy S II Accessories] yus786:
the call volume has supposedly been fixed in the newest update

the music volume is loud enough imo

they should work with it, but most likely through a third party app like doubletwist/winamp etc
[Galaxy S II Accessories] Greycloud:
This Soundmagic MP21 only has a single button for calls. I don't mind if I had to take GS2 out of my pocket to accept/reject calls but atleast the microphone should allow me to talk.
[Galaxy S II Accessories] Elythor:
My Ultimate Ears TF10 with mic cable works fine with the i9100. I can pause and fast forward with the button.

Not to start a flamewar...but seriously don't get Dr Dre Beats if you actually care about music quality.
[Galaxy S II Accessories] mb:
I'm delighted to say that my old HTC HD2 headset with the track controls works perfectly with the SII. I can skip backwards and forwards with no trouble using the (Samsung) stock music player.
[Galaxy S II Accessories] Corell:
The same goes for the headset that came with the HTC desire btw :) (And I have no idea if the headsets are the same style lol)
[Galaxy S II Accessories] BlueScreenJunky:
I've ordered the MP21 and should receive them in a week or so (ordered last week from MP4nation), so if the world doesn't end in the meantime I'll let you know how it works but I'm pretty confident the microphone should work, and I hope the button will be somewhat useable (If I could get it to take calls when the phone rings and pause/resume music it would be perfect !)
[Galaxy S II Accessories] Greycloud:
I'm waiting.....:)
[Galaxy S II Accessories] tdx:
Just bumping this thread up tro see if anyone had found a fully working solution: mic (full volume) + volume up/down + play/pause/FF. I'm still using my Apple buds and the lack of compatibility is driving me up the wall...

But before I plunk down cash for another pair of buds I'd like to find one that fully works.
[Galaxy S II Accessories] wuhrz:
is this an issue which can be solved via software-changes? i mean something like using another media player.