yashsingh1/xdaforums huggingface dataset:
[Galaxy Y GT-S5360 Android Development] sireangelus:
sgs works... i have a stock kernel cooked by the kitchen with init.d support, and now everytime i turn on the phone it boots first into recovery and then as i reboot it starts the rom...

i'm gonna try one of your kernels.. and see what happens(i have doubt.. maybe it was the clockwork mod, when i did an advanced restore and restored boot.. now it doesn't go in battery charging mode, if i put in the charger it boots to the recovery.. investigating)

flashed the mkimg boot file one.. bricked. but the interesting part is that it has resetted the odin counter.

and the zimage can't be larger than 5.1mb.

Confimed, clockworkmod can successful restore a previous kernel from a backup

sgs seems unable to restore his own backups. nor will take the one from the kitchen. can you give me a default zimage?
[Galaxy Y GT-S5360 Android Development] MarcoToo:
Here you go…

http://dl.dropbox.com/u/30258023/kernel-2012-01-22.11-09.zip

There is the default zImage in it.

btw is there any way I can flash this with Odin?

My phone is still bricked. :( And restoring its own backups worked fine for me…
[Galaxy Y GT-S5360 Android Development] sireangelus:
flash the base rom then you can restore the backups.
[Galaxy Y GT-S5360 Android Development] termagazis:
so we will be able to have costum kernels in a while?
[Galaxy Y GT-S5360 Android Development] nick.oh:
We just have to wait, they are working, hurrying them or asking dont speed up things :)
[Galaxy Y GT-S5360 Android Development] qtu:
Agreed much! Remember, sakindia123 and most of the devs and not paid here. They also have their own lives. Be considerate. Be thankful that he is willing to develop for us. ;)
[Galaxy Y GT-S5360 Android Development] rohit589769:
yes we must be thankful, to each and every developer, from skin1980 fro his skins CWM without it nothing would have been possible, and all the devs who have created the custom roms for us........THANKS EVERYONE.
[Galaxy Y GT-S5360 Android Development] MarcoToo:
I can't flash nothing without no kernel.
[Galaxy Y GT-S5360 Android Development] termagazis:
i dont say to harry!!!misunderstood!!!i mean that the devs finaly will find the way to create costum kernels,because untill now was many problems and unlucky tests!
[Galaxy Y GT-S5360 Android Development] MarcoToo:
Hey I finally got Odin 1.85 running.

Can anyone help me by packing what I just posted above into an Odin-able file? I have no idea how to do that.

Thanks in advance!

Wanna unbrick my download-only GT-S5360!
[Galaxy Y GT-S5360 Android Development] sireangelus:
just donwload a ki6 or djk3 firmware package and flash that.
[Galaxy Y GT-S5360 Android Development] drichieboi:
Flash frst ddkj3 i tjhink this is the only stock rom i lnow that can flash through odin
[Galaxy Y GT-S5360 Android Development] musashihatred:
DXKK4 can also be flashed via odin 1.85, i've done that before updating to KL2
[Galaxy Y GT-S5360 Android Development] drichieboi:
the one file?
[Galaxy Y GT-S5360 Android Development] angel_boulevard:
how does flash this?
[Galaxy Y GT-S5360 Android Development] sireangelus:
now that we found a way no news?
[Galaxy Y GT-S5360 Android Development] sakindia123:
u found a way?
[Galaxy Y GT-S5360 Android Development] sireangelus:
Sgs flashes.. . Even bricks the phone .
[Galaxy Y GT-S5360 Android Development] noobwithgalaxyy:
http://www.madteam.co/forum/support-7/how-can-i-convert-a-tar-for-odin-to-a-cwm's-zip/

I am not sure if this works.. but please have a look..
[Galaxy Y GT-S5360 Android Development] MarcoToo:
What exactly is the difference between official@totoro and root@dell?
[Galaxy Y GT-S5360 Android Development] sakindia123:
try the attached kernel.It has a fix suggested by motafoya.

Flash via odin
[Galaxy Y GT-S5360 Android Development] sireangelus:
i'ts too big... 5.2mb max. but it should work, since it does download it to the device, but it was too big of a file, and it loads from the backup..
[Galaxy Y GT-S5360 Android Development] musashihatred:
Sir sakindia. How do i flash this? I mean where should i put it in odin?

Btw is this for sgy?
[Galaxy Y GT-S5360 Android Development] sakindia123:
oh well,i will strip the needed modules
[Galaxy Y GT-S5360 Android Development] musashihatred:
Is this for g-y?
[Galaxy Y GT-S5360 Android Development] sakindia123:
y the hell wud i be posting here if it isn't?
[Galaxy Y GT-S5360 Android Development] sakindia123:
flash the attached file via odin.Shud work,as suggested by motafoya and sireangelus
[Galaxy Y GT-S5360 Android Development] reineskye25:
downloading. I'll try it

Question:

Ill put it in the PDA?

EDIT:

It fails.

here's the log:

<ID:0/005> Added!!

<ID:0/005> Removed!!

<ID:0/007> Added!!

<ID:0/007> Odin v.3 engine (ID:7)..

<ID:0/007> File analysis..

<ID:0/007> SetupConnection..

<ID:0/007> Initialzation..

<ID:0/007> Get PIT for mapping..

<ID:0/007> Firmware update start..

<ID:0/007> boot.img

<ID:0/007> NAND Write Start!!

<ID:0/007>

<ID:0/007> Complete(Write) operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)
[Galaxy Y GT-S5360 Android Development] blackjack1942:
how to use this mr. sakindia and what are the features of this kernel?
[Galaxy Y GT-S5360 Android Development] Doky73:
size does matter!

Hi sakindia123,

I think, the problem is that the boot.img size is too big!

Our device has a 0x44B000 sized boot device (eg 8792 x 512bytes)

Please create the image to fit exactly in 4501504 bytes!
[Galaxy Y GT-S5360 Android Development] musashihatred:
Tried it. Also failed
[Galaxy Y GT-S5360 Android Development] termagazis:
yes failed!i tried also the previous tar(motofoya_fix.tar) it flashed succesfully but nothing change in the phone.have you think that maybe we flash it in wrong place?maybe there it is but in boot it restore it from another place that is stored.maybe we must find the other place.
[Galaxy Y GT-S5360 Android Development] sakindia123:
There's only one way left-zImage compression.But that will lenghten boots
[Galaxy Y GT-S5360 Android Development] termagazis:
what files are inside the boot.img?the name with which should apear in the phone's file system.
[Galaxy Y GT-S5360 Android Development] motafoca:
Guys.

Looks like you are suffering a bit too much with a simple kernel

Ill make one if you want, just tell me what you need...
[Galaxy Y GT-S5360 Android Development] benz0076:
To start with we need overclocking and undervolting..

Thanks.
[Galaxy Y GT-S5360 Android Development] faqbly:
We got a new CWM by madteam whoich supports flashing kernels.

Have a look: http://xdaforums.com/showthread.php?t=1467492
[Galaxy Y GT-S5360 Android Development] drichieboi:
Its like skin cwn but with boot.img

Sent from my GT-S5360
[Galaxy Y GT-S5360 Android Development] reineskye25:
Thanks sir! we're looking forward for your kernel. We need a flashable and working kernel first. and after that please create a kernel that will allow us to overclock and undervolt. :D
[Galaxy Y GT-S5360 Android Development] st@matis:
^^ looking forward to :P Thank you for trying :D
[Galaxy Y GT-S5360 Android Development] harish2704:
mkbootimg for GT-S5360

Hey man.. I like you very muchh....

I was also making a custom kernel.But that not succeeded yet.

But I m sure the tools I used for making flashable kernel is correct.

Here I attached mkbotimg source i used for making boot.img. There is some changes in the source . The struct 'boot_img_hdr' contains additional field 'md5sum' of the kernel zImage

Also we need to apply correct value for '--base' option (really I found this by a reverse lookup of original stock rom extractrd from by phones '/dev/bml7').

I compiled kernel with no config change (for testing) and made a boot.img and flashed using odin. It worked !!

My final target is an OTG enabled GT-S5360.but i dont know whether it is a big MAD!!

If U know Any kernel debugging method applicable for this type of phones, please (please please please) replay to me

Update:

Please look at the updated version of this tool at

http://xdaforums.com/showthread.php?t=1567276

I am still waiting for a reliable kernel debugging technique:p
[Galaxy Y GT-S5360 Android Development] musashihatred:
How can i use this?:)

Sent from my GT-S5360
[Galaxy Y GT-S5360 Android Development] sakindia123:
thanks....will try as soon asi get time
[Galaxy Y GT-S5360 Android Development] motafoca:
harish2704

How you managed to make the odin package for flashing?

Im flashing using CWM but it doesnt change the kernel, i guess the bml is set as read only on normal boot modes
[Galaxy Y GT-S5360 Android Development] harish2704:
hi motafoca ,

I use odin for flashing (Because no other way in my knowledge).

My first attempt for flashing the kernel was an 'update.zip' method.I think that flashing was successful because my phone become dead.(problem was with my boot.img).

Here i attached my killer update.zip. this will brick your phone

but correct usage may work. I never tried

most important part is making a working boot.img.its not same as zImage.

if we simply 'tar'ed this boot.img then it becomes a Odin flashable package!!!!.

we can make boot.img with 'mkbootimg' tool.

I realized that recovery mode is useless for a dead phone.so i uses Odin
[Galaxy Y GT-S5360 Android Development] motafoca:
Are you signing the .tar file to flash using odin?

Or just using a simple tar?

I create the tar like this:

tar -H ustar -c boot.img > boot.img.tar

Then you flash as PDA, correct?

Only the boot file or you use others also?
[Galaxy Y GT-S5360 Android Development] musashihatred:
can be a simple tar like some modifications on apk/zips.

yap flash it as PDA.

some say flashing requires more packages. but some said can be only one and with pit.
[Galaxy Y GT-S5360 Android Development] Doky73:
When you intend to flash kernel via Odin, then it's just one file, with a boot.img inside it. No pit required for it.
[Galaxy Y GT-S5360 Android Development] musashihatred:
ThNks for this intel :)

-- musashihatred@xda-app
[Galaxy Y GT-S5360 Android Development] DerBobo:
SGS Kernel flasher?

whats about the sgs kernel flasher from the market? I can do a kernel backup with that app, so I think isn't it possible to flash kernel with it? it also solves the one-package-odin-flash-problem :rolleyes:

almost I still "need" a nice kernel for 2.3.6 (XXAL2) with root, vodoo sound (analog headphone amp etc.), ext4 and OC/UV support.

THNX :)
[Galaxy Y GT-S5360 Android Development] mai77:
SGS kernel flasher

upon trying to flash on an SGY, "SGS kernel flasher" says:

"zImage file is not a valid kernel image."

"kernel flash failed!"

would be cool to modify this app somehow to suit it for SGY ...

tuxility uses bmlunlock + dd for flashing new kernel, instead of redbend. dd is available on SGY too !

sadly, "kernel dump" does not work in "YAFFS EXPLORER" on SGY.
[Galaxy Y GT-S5360 Android Development] DerBobo:
SGS Kernel Flasher makes .zip kernel backup, so it's possible, that he can flash .zip packed kernel or .tar packed kernel (like odin) :)

Somehow, I don't have a kernel to flash, not in zip or tar ;)
[Galaxy Y GT-S5360 Android Development] PREMOLIKES:
@Sakinda

In an attempt to use this tool

xdaforums.com/showthread.php?t=943588, with one of your fixed kernel, the tool says cache.rfs is missing.How to get this file.
[Galaxy Y GT-S5360 Android Development] termagazis:
we found the way to flash kernels.is there anyone who have create any custom kernel to try it?
[Galaxy Y GT-S5360 Android Development] Doky73:
This tool is incompatible with SGY tar.md5

If you want to create flashhable kernel tar file, then download the attached tar template, and using Total Commander, copy your kernel into it. This file is OK with Odin
[Galaxy Y GT-S5360 Android Development] termagazis:
yes this way working but we have to wait for someone to built a custom kernel to try!i tried again sakindia's kernels they flashed succesfully some of them but they didnt boot.it was stuck at the start logo
[Galaxy Y GT-S5360 Android Development] Doky73:
I'm almost sure, that Creed's ROM and Hybrid ROM has modified kernel in it. I'm not sure, that the kernel core itself is recompiled or not, but the initramfs part is modified, because init.d support is included.

So test the kernel flash functionality, You can extract the boot.img from Creed 2.1 install zip, and flash it via the tar file provided above. (And in addition you get init.d support for script tweaks)
[Galaxy Y GT-S5360 Android Development] termagazis:
i tried.i think they are modified with xda androidkitchen.they dont even boot.(boot.img never flashed into phone when installing the rom.CWM doesnt flash it).modified boot.img by xda kitchen dont working(for our phone i mean).also thats why these rom doesnt mount the ext partition early and have to do "quick restart" by link2sd so it can load app that are in sd-ext
[Galaxy Y GT-S5360 Android Development] Dreamboxuser:
Correct me if i am wrong but it looks like odin may not be able to write because there is not enough space. Like it starts then fails because either there is still something there that doesnt wanna be removed or the space is too small. Do we know how to change the partition size. Just thinking out loud here. In the gt540 thread there are some scripts that can change the partition size.

http://xdaforums.com/showthread.php?t=1364416 down near the bottom of the first post.

again just wondering.

Sent from my Sparkified TF101
[Galaxy Y GT-S5360 Android Development] termagazis:
i did this test today:i flashes 3 different stock kernels today(they have different names so i could check if they instaled succesfully).they instaled all succesfuly!

i instaled some kernel from sakindia.some failed but most succes but they didnt boot.

i instaled kernel modified by xda kitchen.all flashed succeful byt noone booted.

so we need someone to compile from source to try them
[Galaxy Y GT-S5360 Android Development] Doky73:
According my analysis and calculations on the partition table, the kernel partition size is 5242880 bytes. Anyone who wants to build new kernel, need to fit to this extent.

Alternatively the partitions can be resized using a modified pit file, but imho it's risky.
[Galaxy Y GT-S5360 Android Development] MarcoToo:
How come no one thought about flashing new kernels with Heimdall yet?
[Galaxy Y GT-S5360 Android Development] termagazis:
modified pit file Doky!!!!finaly i'm not the only one with "dirty mind" in here!!!!hahahaahahahah we can steal some space from system partition also and enlarge data partition a bit!!!:D:D:D:D:D:D:D:D

---------- Post added at 09:43 PM ---------- Previous post was at 09:42 PM ----------

heimdal is not suport our device!!!
[Galaxy Y GT-S5360 Android Development] MarcoToo:
Just throw in the PIT file and it should work, you can then choose a boot.img …

Tried it and the only message I got was "Heimdall crashed!" …

But I'm getting that message whatever I do, so that is not a reason to say it doesn't support our device :P
[Galaxy Y GT-S5360 Android Development] Doky73:
1, Heimdal does not support SGY

2, why to experiment with Heimdal while Odin can flash in a simple way (see above)

3, I did some try with Heimdal, but finally just messed up my Samsung drivers, which took another half an hour to repair.
[Galaxy Y GT-S5360 Android Development] whitexp:
hello developers ........

anything new? :/

are doing several custom roms but a kernel with optimizations had not yet .....

Please try custom kernel
[Galaxy Y GT-S5360 Android Development] Doky73:
Have you seen any developers here?

I see some kids playing in the sandbox :D (including me ;) )
[Galaxy Y GT-S5360 Android Development] ronnieryan:
hahaha:D:D

good one, but unfortunately its true:p:p

we dont have a very skilled developer yet:o
[Galaxy Y GT-S5360 Android Development] PREMOLIKES:
The only one who could have build a kernel is Creed.Thanks to the moderators and people who downloaded his ROM and used his script , he will never come back.
[Galaxy Y GT-S5360 Android Development] Silvane:
Creed isn't a kernel developer.
[Galaxy Y GT-S5360 Android Development] termagazis:
me too Doky!!!hahahahah but as you see i managed to find the problem and find solution on how to make a2sd and ext partition to mount on custom roms and working wonderful.some people that was present their self as devs they couldnt do much.i dont want to blame anyone everyone tries for our phone and i respect everyone that tries an makes something,but sometimes when i was asking these people for something they didnt even reply to me.this was my disapointmet.but now i have to learn to these person how to make their rom to work a2sd.by the way its truth that we dont have any devs here.we must try ourself and we must cooperate with each other to try the best for our phone.
[Galaxy Y GT-S5360 Android Development] angel_boulevard:
he can make custom kernel,he said but i don't know why he never come back.his accout is disable.can i explain???did moderator del his account
[Galaxy Y GT-S5360 Android Development] DerBobo:
There is a german Kernel Dev (mialwe). He made a very good kernel for the gt-s i9000 (midnight). Maybe he could help. But the gt-s5360 isn't 'his device'.

So probably anyone could contact him :)
[Galaxy Y GT-S5360 Android Development] PREMOLIKES:
He attempted to build a kernel for us.But there are no seperate kernel or Rom or Cm Dev for us.If one knows it he can do it.
[Galaxy Y GT-S5360 Android Development] termagazis:
the point is that developer must have this phone to try and test and retest untill he find the way.some devices are different and its not so easy to do something without have the phone.
[Galaxy Y GT-S5360 Android Development] leodasal2:
im so happy to see that some people are working on a custom kernel for sgy for FREE!! Sorry if all i can do is press the "thanks" button due to the fact that android is not my field. Stock rom was boring me, im glad i ventured into this site ;););)
[Galaxy Y GT-S5360 Android Development] mai77:
to sum up:

as of now, the cranium kernel built from source was flashed using ODIN but it did not boot up properly and work. the samsung kernel source was only minimally modified.

in order to flash boot.img with odin as pda-part, use the tar template in post #255
[Galaxy Y GT-S5360 Android Development] PREMOLIKES:
Come lets check this out.Im about to push my mouse,but...afraid .....

xdaforums.com/showthread.php?t=1518242&page=18
[Galaxy Y GT-S5360 Android Development] bumslayer:
Click on "START" already :D :D :D
[Galaxy Y GT-S5360 Android Development] PREMOLIKES:
what ya get?
[Galaxy Y GT-S5360 Android Development] bumslayer:
I'm holding up. The dev is not responding to my request. I'm starting to doubt the guy.

I asked him for a /proc/mounts dump so I could check if his /system, /data, and /cache folder are mounted as ext4 as he claimed.
[Galaxy Y GT-S5360 Android Development] rohit589769:
check that thread he already posted the dump
[Galaxy Y GT-S5360 Android Development] PREMOLIKES:
see his updates,looks real to me.
[Galaxy Y GT-S5360 Android Development] bumslayer:
Thanks, I saw his dump. Looks legitimate to me. I'm flashing his kernel shortly. Have to get back to work my boss is here, hehehe :D
[Galaxy Y GT-S5360 Android Development] mai77:
test confirmation required

signed_Cranium-zImage-mkbootimg.zip from post #161

I think this should be properly tested

with log

from CWM (error report)

looks useful for kernel replacement via UPDATE.ZIP

may even be working with the compiled-from-sources kernel by MAROC-OS
[Galaxy Y GT-S5360 Android Development] z3ro00:
did u tried it ?
[Galaxy Y GT-S5360 Android Development] mai77:
I tested it with CWM. error 0 abort, unfortunately

- Installing: /sdcard/signed_Cranium-zImage-mkbootimg.zip

Finding update package...

I:Update location: /sdcard/signed_Cranium-zImage-mkbootimg.zip

Opening update package...

Installing update...

E:Error in /sdcard/signed_Cranium-zImage-mkbootimg.zip

(Status 0)

Installation aborted.

/tmp/recovery.log was copied to /sdcard/clockworkmod/recovery.log. Please open ROM Manager to report the issue.
[Galaxy Y GT-S5360 Android Development] sakindia123:
just flash the attached one.
[Galaxy Y GT-S5360 Android Development] whitexp:
new version

same error

<ID:0/013> Added!!

<ID:0/013> Odin v.3 engine (ID:13)..

<ID:0/013> File analysis..

<ID:0/013> SetupConnection..

<ID:0/013> Initialzation..

<ID:0/013> Get PIT for mapping..

<ID:0/013> Firmware update start..

<ID:0/013> normalboot.img

<ID:0/013> NAND Write Start!!

<ID:0/013>

<ID:0/013> Complete(Write) operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)
[Galaxy Y GT-S5360 Android Development] sakindia123:
can't understand what's causing the error.

u used odin v3?
[Galaxy Y GT-S5360 Android Development] sakindia123:
i found out a way to overclock and undervolt,but this kernel doesnt work!
[Galaxy Y GT-S5360 Android Development] pratyush.creed:
try naming it as boot.img !!
[Galaxy Y GT-S5360 Android Development] reineskye25:
they said galaxy y cant flash in one package using odin. nwei will it be possible that we can overclock our phone higher than 832Mhz? i hope it is possible :o
[Galaxy Y GT-S5360 Android Development] termagazis:
maybe it works if we flash with Odin in pit ?but it must be .pit file
[Galaxy Y GT-S5360 Android Development] drichieboi:
odin does not support one package update thats why it always failed
[Galaxy Y GT-S5360 Android Development] myfriend901:
question

Can you also give us a tutorial on how to return the phone to stock kernel (2.6.35.7)??

and if i flash this kernel with odin.. do i need to root my phone??

thanks!
[Galaxy Y GT-S5360 Android Development] qtu:
On what firmware version is this kernel based? I'm on DXKK right now but only flashing to DXKJ works on Odin. I was just thinking to fulfill all requirements of Odin flashing but instead of using the stock PDA, I'll use this kernel. What you guys think?
[Galaxy Y GT-S5360 Android Development] myfriend901:
failed on odin when using dxkl2 firmware
[Galaxy Y GT-S5360 Android Development] qtu:
Well, is flashing to DXKL works well in the same place as DXKJ?
[Galaxy Y GT-S5360 Android Development] daadeguzman:
<ID:0/033> File analysis..

<ID:0/033> SetupConnection..

<ID:0/033> Initialzation..

<ID:0/033> Get PIT for mapping..

<ID:0/033> Firmware update start..

<ID:0/033> normalboot.img

<ID:0/033> NAND Write Start!!

<ID:0/033>

<ID:0/033> Complete(Write) operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)

Failed on my SGY DXKL2 Firmware - using Odin3 v1.85

Can you attach yours using odin??
[Galaxy Y GT-S5360 Android Development] sakindia123:
try to flash normalboot.img (extract from tar) with 'dd' command using adb.

@pratyush.creed-That won't work.This is a phone with initramfs
[Galaxy Y GT-S5360 Android Development] reineskye25:
i also failed to flash this kernel using odin on dxkl2 firmware. tsk
[Galaxy Y GT-S5360 Android Development] daadeguzman:
can you provide?. specific instruction please?

i also try including pit. for SGY,

still failed.
[Galaxy Y GT-S5360 Android Development] myfriend901:
we have the same result
[Galaxy Y GT-S5360 Android Development] termagazis:
i think you must flash in the place of pit file and no repartition.im not home know and i cant try this.give a try if you want
[Galaxy Y GT-S5360 Android Development] reineskye25:
i hope we can make this kernel work for our phone. so in the future mr.sakindia123 can make a kernel that will allow us to overclock our phone for better performance.

nwei mr.sakindia123 can you provide us a different package that is using pit,bootloader,pda,phone,csc at the same time instead of just 1 package? because 1 package doesn't work for our phone when flashing via odin. maybe that will work
[Galaxy Y GT-S5360 Android Development] sakindia123:
can u provide me link to latest stock rom?(2.3.6)

i will make a custom rom flashable via odin
[Galaxy Y GT-S5360 Android Development] daadeguzman:
Here : http://hotfile.com/dl/136375118/c89efad/GT-S5360_XTE_S5360DXKK4_S5360OLBKK1_S5360DXKK2.rar.html

-info-

Region: Philippines - XTE

PDA: S5360DXKK4

PHONE: S5360DXKK2

CSC: S5360OLBKK1

Version: Android 2.3.6 Gingerbread

Date: November 2011

Stock ROM: GT-S5360_XTE_S5360DXKK4

Password: sampro.pl

source:http://droidangel.blogspot.com/2011/11/samsung-galaxy-y-s5360-original-stock.html