yashsingh1/xdaforums huggingface dataset:
[Galaxy Y GT-S5360 Android Development] Deadly:
You can't enable swap in any kernel if its not already enabled while compiling..

So you need to compile a kernel from source for your device.. there are lots of guides.. read them.. even I'm writing a guide..

And this thread is about sgy kernel.. so your question belongs in gener q&a section mate.. as your device doesn't have dedicated sub forum..

______________________________________

Anyone who doesn't think there are two sides to an argument is probably in one.
[Galaxy Y GT-S5360 Android Development] shailu1990:
1 more silly question....

where to ask for kernel source...
[Galaxy Y GT-S5360 Android Development] Kenjboy:
read first post..:cool:

Sent from my XDuosV3 1.5

Powered by Compact 1.3 by Deadly
[Galaxy Y GT-S5360 Android Development] nikufellow:
Does that have mediatek kernel source links :confused:
[Galaxy Y GT-S5360 Android Development] PineappleOwl:
Hi. I am using DXLF1, I am a kuro kernel user when I was DXLL1. Can you fix the reported bug sir? I really need your kernel. My favorite. :D
[Galaxy Y GT-S5360 Android Development] kurotsugi:
I've deleted all my resource. can't build any kernel at this moment. sorry.
[Galaxy Y GT-S5360 Android Development] akiroJo:
update..

do you have any kernel updates..as of 2013?

im using the latest build as of 10/12 last year..

Hoping for updates mr [MENTION=4491884]kurotsugi[/MENTION]
[Galaxy Y GT-S5360 Android Development] nikufellow:
Am sorry to point this out bro but the post you quoted from kuro itself has the answer to your query - as he deleted all his resources there won't be any immediate updates and no there were no new releases in 2013 as is understandable from reading the OP
[Galaxy Y GT-S5360 Android Development] kurotsugi:
we don't even have a complete list of bugs in sgy's stock/custom kernel. without it we can't fix or update anything.
[Galaxy Y GT-S5360 Android Development] :
me too, still hoping for an update,

even if its a small update with additional i/o's or govs

[MENTION=4491884]kurotsugi[/MENTION]
[Galaxy Y GT-S5360 Android Development] Jonny:
Thread closed as incomplete source code is provided.
[Galaxy Y GT-S5360 Android Development] kurotsugi:
can you give me the readme file?
[Galaxy Y GT-S5360 Android Development] hell_lock:
Me?
[Galaxy Y GT-S5360 Android Development] kurotsugi:
yup...my patch is on linux but I'm currently in windows now. i need the readme file
[Galaxy Y GT-S5360 Android Development] jhapz:
i made it boot with ussrv4. but when i.reboot again. it stock with sgy logo.i dnt know what is the problem.i dnt use any a2sd.or is it because there is bacem script on my init.d??should i remove it??
[Galaxy Y GT-S5360 Android Development] kurotsugi:
you can modify the value to -20mV for the test. if it boot up it means the last value is just too high.
[Galaxy Y GT-S5360 Android Development] jhapz:
ok bro.i will give it a try again. i was using -120 and it doesnt have any problems on other kernels.thanks for fast reply
[Galaxy Y GT-S5360 Android Development] hell_lock:
http://xdaforums.com/showthread.php?t=1572030

The contents of ReadMe are here.
[Galaxy Y GT-S5360 Android Development] kurotsugi:
do everything as irfan said in that file but replace this one

$patch -p2 < ../bcm_cpufreq.c.patch
$patch -p2 < ../clock-21553.c.patch
$patch -p2 < ../device.c.patch
[Galaxy Y GT-S5360 Android Development] hell_lock:
You know any way to manually apply the patch cuz command line isnt workin for me..
[Galaxy Y GT-S5360 Android Development] kurotsugi:
i need the file script
[Galaxy Y GT-S5360 Android Development] hell_lock:
U need wat?
[Galaxy Y GT-S5360 Android Development] kurotsugi:
I need the script content of each patch
[Galaxy Y GT-S5360 Android Development] savie:
Change

../devicexxxxx

With place u put file. In irfan guide

~/sgy/kernel/common/devicexxxx

Make sure 3 file patch put in folder kernel/common
[Galaxy Y GT-S5360 Android Development] hell_lock:
The 3 patch files are inside /kernel/common/ . I entered this command:

n got this
[Galaxy Y GT-S5360 Android Development] kurotsugi:
try this one

patch -p2 < ~/sgy/kernel/common/bcm_cpufreq.c.patch
or
cd ~/sgy/kernel/common
patch -p2 < ../bcm_cpufreq.c.patch

the $ sign means that you put the command on terminal. you should not copied it as the command.
[Galaxy Y GT-S5360 Android Development] hell_lock:
Thanks for a lightning fast reply dude! It worked and now the files are patched!!! Do I need to 'make clean' this time for compiling??
[Galaxy Y GT-S5360 Android Development] kurotsugi:
don't get hippied yet...the govs is still not working. you'll need to fix the cpu latency too. it also have some issue with deepsleep when using a2sd or running an app installed in sdcard. you'll need to use koneu patch parts to fix it. don't try to install that patch after irfan's patch since it won't work and could mess your source code. you should edit the files manually.
[Galaxy Y GT-S5360 Android Development] hell_lock:
The CPU latency bug is fixed already...... I dont know what is deepsleep so not bothered about it and I dont use a2sd so same with it. Will try koneu patch later.. Right now time to PARTY!!
[Galaxy Y GT-S5360 Android Development] savie:
Thats part not include in kernel patch and he fix it in bcm-tweak. Thats why merruk kernel at first time cant use other governor like ondemand.

@kuro: i think this thead change from ur kernel with discuss bout building kernel. Hope techno wont mad we chat oot from developing ur kernel thread :)

@hitme if u try koneu.patch make sure it not conflict with irfan patch. The best way is u make 2source and try compare it.

Still dont have latest koneu.patch just try with my own way to uc and fix skipping freq.
[Galaxy Y GT-S5360 Android Development] kurotsugi:
if you give me one of irfan's patch I could tell you how to apply the patch manually on your source code. in this way, you can use marcoo's deepsleep fix without messing up your source code.
[Galaxy Y GT-S5360 Android Development] hell_lock:
Hehe.. I changed the topic completely... So what do u both recommend me to do right now? I have applied the kernel patch and latency fix but still governors n stuff r nt workin so I guess I should go wid koneu patch... Btw were u referring me as hitme?

Wats deep sleep?? Never heard of it... Anyways my main aim is to make frequencies n governors work somewhat like repencis kernel. Uc and Uv are out of my reach presently... I want to start from simple n den go to complex
[Galaxy Y GT-S5360 Android Development] kurotsugi:
@savie: nope...I think he won't get mad. we still cant fix the freq thingy in our kernel yet. we need more kernel devs to make a complete cpu freq table for sgy kernel. there are also incompability issue of cm7 with our kernel source code. I've found that some of wifi and networking stuff are missing from our source code. we might need them to fix wifi issue on cm7. I can't find a better way to discuss this problem beside on our threads. IMO its not OOT yet since we're discussing how to fix our "WIP" kernel project. btw, marcoo have found that 104 is stable on 0x01. if my theory is correct, we can make use 0x01 to 0x0f. it means we could have up to 15 freq working on our device. we'll need the cpu freq table to achieve it.

@hell_lock: its a state of CPU when using the lowest freq and lowest activity. it will save your battery alot. in my test it only use 1% battery for 7 hours.
[Galaxy Y GT-S5360 Android Development] hell_lock:
Maybe we can use wifi n other modules from opensource of galaxy y duos if they are complete..
[Galaxy Y GT-S5360 Android Development] kurotsugi:
nope...the wifi and gps modules are specific and related with the hardware used in our device. using the driver from another device will looks like using a taxy driver to run a jet fighter. even if the cpu and the chipset is similar we can't guarantee that duos are using same wifi and gps. I'm not even sure if they have the source code too. please remember that we are using something from samsung!? (lol)
[Galaxy Y GT-S5360 Android Development] kickthefreak:
how to install new kernel ? just flash it or fresh install from beginning ?
[Galaxy Y GT-S5360 Android Development] emompong:
Flash using CWM dude no need a fresh firmware.
[Galaxy Y GT-S5360 Android Development] StariX37:
do i need to wipe data before flashing it via cwm.

and should i flash kuro kernel like other zip or by extracting boot.img file root of sd card and then flashing it by Faqbly method.
[Galaxy Y GT-S5360 Android Development] kickthefreak:
thats the answer above your post dude :laugh:
[Galaxy Y GT-S5360 Android Development] karthik_316:
usb otg

sir could u add usb otg drivers for galaxy y
[Galaxy Y GT-S5360 Android Development] emompong:
haha..yeah right.
[Galaxy Y GT-S5360 Android Development] alkesh95:
Our tiny gy is unable to provide electricity to usb drivers

P.s. I might be wrong coz m juz a kid:p:p:p:D:D

sent using repencis 3.5 wid a2sd

press thnxxx
[Galaxy Y GT-S5360 Android Development] kurotsugi:
thanks for maintaining this thread while I'm not here, guys.

@karthik: our device board have a OTG function but it need eksternal power supply and kernel modification. I never heard someone have succed before and to be honest this is my first time to build a kernel so that I don't know how to activate the OTG driver. I can't find it on the kernel build configuration.
[Galaxy Y GT-S5360 Android Development] jaison thomas:
I just want to report something which i found while using the kernel.there is some kind of brightness prblms.i kept the brightness at 15% but some times it goes suddenly upto 100% to 75% and stays there.
[Galaxy Y GT-S5360 Android Development] ronnieryan:
ROM? this is a kernel thread sir:confused:
[Galaxy Y GT-S5360 Android Development] kurotsugi:
how did you know that the brightness goes to 100 or 75? let see if another user confirmed this issue. stock kernel indeed have some problem with screen suddenly turned on when its on standby and sometimes the screen gots brighter than usual. however, these problem is gone after I activate APM modules on the kernel. I have tested this kernel and never experienced these problem by myself.
[Galaxy Y GT-S5360 Android Development] jaison thomas:
I was been using this widget for changing the phones brightness.so whenever it goes up i could see the percentage.some times error comes when brightness is at full and widget shows 25%.a touch any where on the widget then shows the actual brightness.

It doesnt happens periodically its just happens occationaly.

Else everything is fine with the kernel.just reported it for the betterment of it.

good job sir.:D
[Galaxy Y GT-S5360 Android Development] jaison thomas:
Dude u r damn fast i found the mistake only after pressing the submitt button.i edited it just seconds after it was loaded.it was just an accent mistake.we talk much abt roms nd less abt kernels.and i know the differnce between both.

Too much intrest in finding others mistake is nt a such good thing.

:banghead:
[Galaxy Y GT-S5360 Android Development] kurotsugi:
well...screen brightness is something noticable. when the widget shows that the screen brightness goes up but you see the screen actually doesn't, it might be a bug from the app. I'll try to investigate this problem to prevent this problem in future.
[Galaxy Y GT-S5360 Android Development] hell_lock:
I successfully patched the files and also applied the latency fix as you can see below:

/* Set default policy and cpuinfo */
policy->cur = bcm_cpufreq_get_speed(0);
/* FIXME: Tune this value */
policy->cpuinfo.transition_latency = 1000000;

But still multiple frequencies and governors are not working I dont know why! Please help me :(
[Galaxy Y GT-S5360 Android Development] ianczarina:
does hotplug governor work on our device?
[Galaxy Y GT-S5360 Android Development] ronnieryan:
sorry for that, i was wondering why u asked about a ROM..no biggie, its not a big deal anyway, i have been using kurov3 and doesnt seem to encounter the problem
[Galaxy Y GT-S5360 Android Development] ianczarina:
how to uninstall a2sd? should i run nocache and remove on terminal? will that be enough or should i delete every trace of a2sd before applying kernel?
[Galaxy Y GT-S5360 Android Development] savie:
What governor did u try?

original conservative and ondemand working but must change parameter coz to much play in low freq.

Try to add interactive or smartassv2 its good to see interactive freq.
[Galaxy Y GT-S5360 Android Development] hell_lock:
Only performance and the bcm governor is working and freq-832 & 312 are available. I tried sgy kernel patch but result is not coming out to be good
[Galaxy Y GT-S5360 Android Development] savie:
Of course it wont work coz bcm21553 and performance just use max freq.. not sure cz not investigate source but thats the fact. So try to add conservative or ondemand from source before u add other cpufreq to make sure latency work. :)
[Galaxy Y GT-S5360 Android Development] hell_lock:
But by default the sgy kernel patch adds 3 freq in total but m gettin only two..
[Galaxy Y GT-S5360 Android Development] kurotsugi:
@ian: no need to delete the entirely script, you'll only need to deactivate the cache2sd and data2sd feature on a2sd. see the a2sd help for more details

@hell_lock: can you give me device.c or clock-21533.c on /kernel/common/arm/bcm-215xxx?
[Galaxy Y GT-S5360 Android Development] savie:
Just give kuro device.c (if im not wrong) and he will help u :)
[Galaxy Y GT-S5360 Android Development] rkmiks:
hey kuro , have u tried frequencies 472 or 496 instead of 468.
[Galaxy Y GT-S5360 Android Development] hell_lock:
device.c from /kernel/common/arch/arm/mach-bcm215xx
[Galaxy Y GT-S5360 Android Development] kurotsugi:
@rkmis: those frequency doesn't seems eligible...the freq is working with a multiplier. we can't just make a random random as the freq

@hell_lock: what app are you use to set the freq? do you have CPU spy? the patch seems to be working fine. I can find the freq is changed on device.c. remember that all three patch from irfan have to applied on your kernel source. the patch on device.c is already applied. I don't know about the rest two file.
[Galaxy Y GT-S5360 Android Development] hell_lock:
I know I have applied all the patches successfully but they are not working !! I am using no-frill.. u need other files for inspection also? Do I need to configure 'menuconfig' after applying the patch?
[Galaxy Y GT-S5360 Android Development] kurotsugi:
try use set cpu or cpu spy and see what freq are available on your kernel. I also need all three files to be checked
[Galaxy Y GT-S5360 Android Development] Kousthubha Kumar:
Tested this kernel for 2 days and I must say its the kernel having least battery consumption. Im saving easily 20-40% of battery compared to other kernels. But a bit strange, my phone is smooth with ext3 partition rather than ext4 and less battery consuming too with link2sd.
[Galaxy Y GT-S5360 Android Development] jaison thomas:
Hi sir

Ur kernel is working fine.very good at battery saving has just droped only 1% after 7 hours (my sleep time :D )
[Galaxy Y GT-S5360 Android Development] ianczarina:
what are the governors available on your kernel sir?
[Galaxy Y GT-S5360 Android Development] kurotsugi:
as requested, OTG driver now included into the kernel. check the v0.4.

@jaison n hitme: thanks for the review. i was expecting the battery saving only up to 10% for daily usage but it seems that this kernel is doing better. 20-40% is quite a lot. for the ext stuff, in small devices like ours ext3 is considered faster and better than ext4.

@ian: I have 7 govs in my kernel. aside from the 3 I've mentioned on 1st page it also have bcm, performance, onedemand, and conservative. if you want more govs you can use savie's module.
[Galaxy Y GT-S5360 Android Development] mavszorg:
sorry for.my noob question.. hmm.. what is the use of OTG? benefits?:confused:
[Galaxy Y GT-S5360 Android Development] hell_lock:
Here are all the files affected by kernel patch from irfan. Thanks
[Galaxy Y GT-S5360 Android Development] ronnieryan:
USB OTG? if you have the adaptor, then you can plug your USB device to CP then view the files,copy,paste,etc

USB On The Go
[Galaxy Y GT-S5360 Android Development] kurotsugi:
@hell_lock: everything seems fine. the patch is already applied. how's cpu spy test?
[Galaxy Y GT-S5360 Android Development] hell_lock:
Cpu spy is not working. Do we need to do anything special while compiling the kernel after applying the patch?
[Galaxy Y GT-S5360 Android Development] kurotsugi:
try with "make clean" then "make". check the kernel build verison (the number #) and make sure that you've installed the kernel correctly. sgybycwm file have a bug. sometimes it failed wihout any notification.
[Galaxy Y GT-S5360 Android Development] Heartlessangel2001:
does your kernel have stock recovery. if i need to change kernel without odin.

sent from galaxy Y did i buy this crappy phone
[Galaxy Y GT-S5360 Android Development] savie:
Usb otg??

Compiling as modules or not??

Its proven bro??
[Galaxy Y GT-S5360 Android Development] kurotsugi:
@savie: i don't have the adapter so I just compile the driver inside the kernel.
[Galaxy Y GT-S5360 Android Development] vicky4slayer:
Stuck on boot loop, had to flash back to stock rom and now i cant flash back to next to ics custom rom, please help.
[Galaxy Y GT-S5360 Android Development] hell_lock:
hey it worked!!!!!!! i now hav 3 frequencies n two governors!! n on top of it i was now able to change my build name n splash image!!! thanks alot bro... one question, wat does "make" do?
[Galaxy Y GT-S5360 Android Development] savie:
Hope working. Some tester maybe.

As long as i know its still not work.

Not all modules/integrated working even in modules we run with insmod. For example ramzswap its not work from original source. But its just my opinion and forgive me if im wrong :)
[Galaxy Y GT-S5360 Android Development] savie:
Make mean u build something from source.

Make clean mean u clean something after u build in source.

Try make help and u will get more information.
[Galaxy Y GT-S5360 Android Development] hell_lock:
wats the difference between:

1. I edited some files in kernel and directly used the command

chmod +x mkbootimg
./mkbootimg --kernel zImage --ramdisk boot.img-ramdisk.gz --base 0x81600000 --kernelMD5 0e06eed9bd6175ed5efc09b03a33d4ad -o boot.img
tar -cf boot-sgy.tar boot.img

2.Edited some files in kernel and used the command "make clean" and then "make -j4". After that

chmod +x mkbootimg
./mkbootimg --kernel zImage --ramdisk boot.img-ramdisk.gz --base 0x81600000 --kernelMD5 0e06eed9bd6175ed5efc09b03a33d4ad -o boot.img
tar -cf boot-sgy.tar boot.img

And... while we use this command

chmod +x mkbootimg
./mkbootimg --kernel zImage --ramdisk boot.img-ramdisk.gz --base 0x81600000 --kernelMD5 0e06eed9bd6175ed5efc09b03a33d4ad -o boot.img
tar -cf boot-sgy.tar boot.img

What actually happens?? Sorry but I cant do something without understanding it.
[Galaxy Y GT-S5360 Android Development] savie:
1. Without 'make' command mean u not build/compile kernel (zimage). So u use old zimage when create boot.img

2. With "make clean" u clean source then "make -j4" mean u build zimage -j4 if im not wrong will compile more fast but with high spec pc. So its mean u use new zimage to create boot.img. but make sure u copy zimage from /common/arm/boot to /.mkbootimg

Kernel as we know as boot.img its build from 2 parts ramdisk/infitrams and zimage.

In pearl split command its mean we split boot.img into zimage and ramdisk so in mkbootimg command we make 2 parts into 1 or u call boot.img

Sory if my explanation make u confuse. Im bad on english but must follow xda rules :p
[Galaxy Y GT-S5360 Android Development] whitexp:
u otg no work ..

otg need.. :

ntfs modules

add hacks in kernel for otg correct !

otg modules!

and other things
[Galaxy Y GT-S5360 Android Development] tandob:
Is it work with ussr v4?

Sent from my GT-S5360 using Xparent ICS Blue Tapatalk 2
[Galaxy Y GT-S5360 Android Development] sri10:
OTG reli supported?

any1 checked it out?
[Galaxy Y GT-S5360 Android Development] alkesh95:
Awesome kernel with stock

And link2sd
[Galaxy Y GT-S5360 Android Development] jaison thomas:
I am currently in usr v3 with repencis rom.can i flash this rom via cwm.will it cause a bootloop??
[Galaxy Y GT-S5360 Android Development] thirdzcee:
I think you mean repencis kernel.. well he said it not support a2sd so if you use a2sd you should remove it 1st

Edit: this is a kernel. You were referring to it as a rom too
[Galaxy Y GT-S5360 Android Development] kurotsugi:
allright, as I've clearly stated, the OTG stuff is untested since I don't have the adapter. the driver is already there but I don't know if it will work or not. for the usr question, I've got some report that my kernel caused bootloop on usr due to a2sd and extreme undervolt. you'd better to remove both of them before using this kernel.
[Galaxy Y GT-S5360 Android Development] thirdzcee:
sir just a question. you said a2sd not supported but what about your akuro a2sd? ? ? does it work or not on this kernel? ? ? :confused:
[Galaxy Y GT-S5360 Android Development] kurotsugi:
akuro works with same principal but different method with the one in a2sd. akuro is using a simple method thus it will work. on other hand, a2sd is (a lot) more complicated. it need initframs modification to make it work.
[Galaxy Y GT-S5360 Android Development] thirdzcee:
thanks..luckily im on ext3 so no need to format again. will use this since a2sd not work... last question.. just confirming,what does akuro mode do? thats when i delete nothing, is it like apps in sd , dalvik in sd and data in sd?

EDIT: oopps.. looks like i was wrong.. im on ext2:banghead: oh well gonna format this again some other time... im sleepy its 11pm in my country and i still have class tomorrow...
[Galaxy Y GT-S5360 Android Development] jaison thomas:
Sory that was a mistake again.its usr v3 running with repencis kernel.i dont use a2sd. So can i just flash it via cwm?!
[Galaxy Y GT-S5360 Android Development] kurotsugi:
@third: yup...it will work like that. save more space than a2sd.

@jaison: I've replied your post. check the previous post pls. be carefull with the bacem tweak script in init.d
[Galaxy Y GT-S5360 Android Development] jaison thomas:
Thax for your help sir.
[Galaxy Y GT-S5360 Android Development] d3cka:
bro kuro is ur kernel included tweaks as ur tweak compilation?
[Galaxy Y GT-S5360 Android Development] kurotsugi:
nope...it only contain a kernel without any tweak. put some tweak inside the kernel installation is a lil bit risky since I don't know if it will be crash with the others.
[Galaxy Y GT-S5360 Android Development] d3cka:
any sugestion which tweak i can install in ur kernel, i already install 03sdcardspeedfix and looks like its ok
[Galaxy Y GT-S5360 Android Development] kurotsugi:
I don't know, you seems to already know about my tweak. why don't you start with it?
[Galaxy Y GT-S5360 Android Development] d3cka:
yeah i wanna try install ur tweak in ur kernel but im afraid since ur kernel have droidwall and bacem tweak and also ur tweak containing those too, is it ok?
[Galaxy Y GT-S5360 Android Development] kurotsugi:
yup. its ok.
[Galaxy Y GT-S5360 Android Development] d3cka:
ok thanks kuro i'll try it
[Galaxy Y GT-S5360 Android Development] d3cka:
Omg its bootloop did i miss something. Can u tell me procedure to install it. I mean step by step from stock rom
[Galaxy Y GT-S5360 Android Development] ronnieryan:
stock? just flash via CWM..thats it...

@Kuro : bro can you have an alternative of v4? like v4.1 with only 3 freq:highfive::good:
[Galaxy Y GT-S5360 Android Development] d3cka:
Not working
[Galaxy Y GT-S5360 Android Development] kurotsugi:
@decka: plz specify your system. including your tweaks.

@ron: IMO 4 freq is better than 3. we still trying to fix it.
[Galaxy Y GT-S5360 Android Development] d3cka:
deodex stock rom DXLF1

kernel 2.6.35.7 kurotsugi@kurotsugi-system #15

14 toggle

wpa_supplicant
[Galaxy Y GT-S5360 Android Development] alkesh95:
Sorry to disturb

But when I set max frequency to 624 cpu spy is showing that all freq are used

So help mee
[Galaxy Y GT-S5360 Android Development] kurotsugi:
@d3cka: no tweak at all?even a2sd?

@alkesh: try to set the max freq on 624 then reset the timer on cpuspy. see if you still using 832