yashsingh1/xdaforums huggingface dataset:
[Galaxy Y GT-S5360 Android Development] kudoluffi:
Mine no problem even just 4%
[Galaxy Y GT-S5360 Android Development] kurotsugi:
for the screen problem...let's do a test. please try it with other rom. as I've clearly stated before, my kernel is indeed use a less brightness to save more battery. when you're outdoor, the screen might seems black but when you're indor there won't be any problem since the screen is still visible. my suspicion is that these problem comes from the rom. the modification might not compatible with all roms here. I have tested in my own rom and got no problem. if you got any problem with the screen, please specify your rom. If you got no problem with the screen, please report it to me too. I'll check which roms are have these problem and which rom doesn't
[Galaxy Y GT-S5360 Android Development] kurotsugi:
the ext4 partition won't automatically mounted at boot and the modules isn't activated until you have ext4 partition. the same goes for the swap stuff. I was builded this kernel for a fast boot and better battery management. the rest stuff is still similar with the stock one. some of the govs (conservative, ondemand, usespace, powersave, performance, bcm) is actually already inside samsung's source code but they doesn't activated since we need to fix the latency stuff. the same goes with the iosched, deadline and cfq. they only need to be activated on the kernel config.
[Galaxy Y GT-S5360 Android Development] -CALIBAN666-:
good work,kernel runs perfect on my second phone,:good::good::good:
[Galaxy Y GT-S5360 Android Development] evanlocked:
Nice one brother implemented it in my rom haha
[Galaxy Y GT-S5360 Android Development] Kousthubha Kumar:
Yeah. It includes smartass v2 and Wheatley (never heard of it :p) additional to the ones you mentioned. Hmm I have ext3 partitioned ext and link2sd mounted only the ext4 partition.

Edit : ext 3 mounted and Wierd that it's faster than ext4 lol.
[Galaxy Y GT-S5360 Android Development] Shane:
GOOD TO SE U R KERNEL KUROSHI CAN U ADD LOTS OF FEATURE IN IT LIKE MACROC-OS KERNEL
[Galaxy Y GT-S5360 Android Development] kurotsugi:
yup...wheatley. it is a gov for more performance setting. its a lil bit uncommon to heard its names but it was the name on the source.
[Galaxy Y GT-S5360 Android Development] shocklads:
Awesome, bro. Just wait this kernel include smartass2 + sio and use it right now right here, hehe.
[Galaxy Y GT-S5360 Android Development] irfanbagus:
maybe you need disable apm if not enable by default config. it's old pm before replaced by acpi and i don't think sgy hardware driver support it.
[Galaxy Y GT-S5360 Android Development] jhapz:
stocks on samsung galaxy young logo for ussrv4
[Galaxy Y GT-S5360 Android Development] ronnieryan:
@Kuro : Please inform me for a new build with all frequencies fixed, i would like to test

Kernel I Dream About Would Be

-CWM

-A2SD

-Swap

-Init.d

-Woking IO and Governors

-4 working Freq...

i can live with that:D
[Galaxy Y GT-S5360 Android Development] shocklads:
I'm saw each kernel include CWM too slow!
[Galaxy Y GT-S5360 Android Development] ronnieryan:
slow for now, but i would see the future of SGY kernels much better:D:good:
[Galaxy Y GT-S5360 Android Development] kurotsugi:
@irfanbagus: stock kernel have an issue with the screen suddenly turned on when on standy mode. I'm not sure if APM really works since I can't feel the differences on battery life but it somehow solve that issue on my device.

@somkill: nope...I want to make this kernel as simple as possible without any unneeded stuffs. most of you doesn't use those feature anyway.

newer build have updated. new io sched. some of govs removed since its almost never used by user. conservative govs optimized for battery saving. smartassv2 and wheatley now becomes smartcats and activecats. the source code is almost untouched but I just don't like their name (lol). a2sd depends on init.d support. for anyone who want to use it with my kernel you can give it a shot.
[Galaxy Y GT-S5360 Android Development] ronnieryan:
i like v2, but are all freq working with no bugs? no more sudden jump from 312 to 624?
[Galaxy Y GT-S5360 Android Development] kickthefreak:
where's post for the update ? :D

waiting for that :o

----------------------

ouch.. there is haha.

btw can you give me the link for a2sd which working with your kernel. :angel:
[Galaxy Y GT-S5360 Android Development] ronnieryan:
its on 1st post..with changelog below it
[Galaxy Y GT-S5360 Android Development] kurotsugi:
the link is in 1st post

@ron: I haven't try to fix the 4 freq. still experimenting with several govs here. fixing the freq stuff won't be as easy as we thought. me and savie have been trying to fix for days and still can't find a way to fix it.
[Galaxy Y GT-S5360 Android Development] ronnieryan:
i see, goodluck with that, for me still doing some papers, BTW are freq on savie rev 60 working? i tested it and freq are shifting mostly on 312 and 468
[Galaxy Y GT-S5360 Android Development] kurotsugi:
nope...its not perfect yet.
[Galaxy Y GT-S5360 Android Development] kickthefreak:
this is savie kernel on my SGY.
[Galaxy Y GT-S5360 Android Development] AvijitGhosh82:
No...I think Kuro will be staying... won't you? Of course you can manage two devices!

I know I'm Awesome! Why don't you press thanks to show it?

Sent from my Galaxy Y using JELLYBLAST V3!
[Galaxy Y GT-S5360 Android Development] kurotsugi:
the problem is that I don't have the device to test my work for sgy anymore. I have a lil habbit to test my project several day before I release it to public. I'll stay here to maintain my threads but there won't be any updates for my projects.
[Galaxy Y GT-S5360 Android Development] kreako28:
So...so...sad..... for SGYers:(. Good Luck on ur learning journey:)
[Galaxy Y GT-S5360 Android Development] Miche1asso:
Hi Kuro, I've got few issues with that annoying RAM disk/kernel size limit (I suppose) and compression. Hopefully you don't mind me asking here, it's driving me mad.

Basically how do I convert a stock kernel from gzip to lzma format? I have no problems with the RAM disk, after splitting the boot.img I just decompress and recompress it in lzma, but what about the kernel image? After splitting the boot.img it was supposed to be in gzip format, but I have no idea about how to decompress it:

$ gunzip -l XILG1.img-kernel.gz

gzip: XILG1.img-kernel.gz: not in gzip format

Are they self-extracting gzip files?

Just to be clear my modifications to the RAM disk files work fine. The point is that now I'd like to put the busybox in it and obviously the size just exploded.. Is it really 5024KB for both, compressed and merged with the mkbootimg? I thought one working was bigger. Not sure though. Thanks as usual!
[Galaxy Y GT-S5360 Android Development] kurotsugi:
in both sgy and duos the max size is 5024 kb. since our hardware are so similar i assume that yours is 5024 too. the kernel zImage can't be extracted nor modified. you should define the ram compression is lzma when you configure the kernel. with lzma compression, you'll get a 2,5-2,9 mb zImage. combined with stock ramdisk you'll got 3,6-4 mb kernel. it means you still have 1-1,4 mb free space. new busybox are quite small--about 800kb (v1.18)--you should got no problem with it.
[Galaxy Y GT-S5360 Android Development] Miche1asso:
yes, but my problem is that for now I am modifying just the stock kernel. Obviously the RAM disk only to enable the /etc/init.d and the ext4 filesystem for the SDext via "insmod". That works as long as the RAM disk is in gzip format.

So, I don't understand. What do you mean that the kernel zImage cant be extracted? What is it that "boot.img-kernel.gz" file I get after unpacking boot.img? It works perfectly after I repack it with the new gzip compressed RAM disk using mkbootimg. As long as it isn't too big, sure (obviously you were right, it was only 4.7MB. I remade one for checking). Is "boot.img-kernel.gz" an uncompressed image in the bcm21553 family?

Sorry, but this is really driving me mad. I am also trying the repack script for S2 and it gets stuck here:

BlueMoon:test Michele$ bash repack.sh ../boot.img boot.img-ramdisk.gz bootlzma.img lzma
---------------------------kernel repacker for i9100---------------------------
Extracting gzip'd kernel from ../boot.img (start = 19883)

gzip: temp/kernel.image.gz: not in gzip format

So annoying!
[Galaxy Y GT-S5360 Android Development] kurotsugi:
sorry for missunderstanding. I mean the content of zImage can't be extracted. when we split boot.img we get two files. one is the ramdisk, the other one is the zImage file. the zImage file might comes in different names, depend on the script/tools we used. if you're using the tool in this post http://xdaforums.com/showpost.php?p=24747881&postcount=4 you'll get the zImage as boot.img-kernel. well...it doesn't matter what the name is, a zImage file can't be extracted. if you got any problem with that tool you might want to use the tool mentioned in the link above. it's working fine for me and I never got any problem with it.
[Galaxy Y GT-S5360 Android Development] Miche1asso:
Well, the tools for splitting at this point are the last of my issues. Let's say I have a zImage, the one _as it is_ inside stock boot.img, and a ramdisk directory. Can I compress the ramdisk in any format (gzip or lzma) and add it to the zImage (untouched) with mkbootimg (with support for MD5) to make the new boot.img?

Then I have another issue. I just discovered now that Samsung messed up again. After compiling the Samsung kernel source the zImage does include the ramdisk as well? I see that I can split (unpack) the compiled GB or Merruk zImage but I can't do it with the PX or Rafael ones. It seems they do not contain the ramdisk. What a mess. I mean, now I'have got an idea, the problem is that I am on OS and testing using Odin with a Windows virtual machine when I soft brick is just a PITA. What I wanna do is the following:

- mkbootimg (split as it is) stock zImage +lzma (working) ramdisk

- mkbootimg (lzma?) compiled PX zImage + lzma (working) ramdisk

- mkbootimg (lzma?) compiled Rafael zImage + lzma (working) ramdisk

Do you think it will work?? If you have any answer, in the mean time I'll give it a try. Also I'd love to do a 4th try:

- mkbootimg (lzma?) compiled Kuro zImage + lzma (working) ramdisk

Any chance I can have access to the source code? :)
[Galaxy Y GT-S5360 Android Development] kurotsugi:
I'm afraid it won't work. samsung's stock zImage only support ramdisk in gzip format. my zImage is the same. if we want to use ramdisk in other format than gzip we need to specify it in the kernel configuration when we build it. kernel ramdisk in common are always in gzip format so that I never thought to change it. for the second question, samsung stock source code doesn't has ramdisk. it only contain the source needed to build zImage file. we get the ramdisk from stock kernel. merruk kernel is an exception since he include his own ramdisk with cwm recovery in the source code. if you're working with a stock zImage, the working combination is

mkbootimg (any zImage suitable for your device) + (ramdisk for your device in gzip format).

personally I won't compress my ramdisk in lzma. working with lzma format made the kernel looks small. nevertheless, at boot, the kernel will be extracted to ram. even if the kernel looks small, lzma have higher compression. it means with a kernel size same with gzip-ed one, lzma compressed kernel will consume more ram and might affect on our device performance. with these reason I prefer to stay with gzip format for my ramdisk. .
[Galaxy Y GT-S5360 Android Development] Miche1asso:
Then I am doomed? I really need the busybox inside the ramdisk.

Also I compiled the PX and stock B5330 kernels enabling only the gzip format. I can't make them working. But that is another issue again I suppose. Not even the .ko modules were loading once transferred into my phone. Whatever I try, there is something new that goes wrong.

It's interesting to know that it was the Merruk code to be different and put the ramdisk into the zImage anyway. No wonder I get totally lost. :(

Well, I'll do some experiments. Thanks for your time.
[Galaxy Y GT-S5360 Android Development] kurotsugi:
I wonder how big your busybox was. I have built two kernel with built in busybox and have no problem with it. one is for kernel with dualboot feature, and the other one is a kernel with data2sd. If I'm not mistaken the busybox is only 807kb. I built them with dxlc stock zImage file. did you have another thing aside busybox. you have mentioned about ext4 stuff earlier. did you planning to make a kernel with ext4 system partition?
[Galaxy Y GT-S5360 Android Development] Miche1asso:
Actually I need busybox, tune2fs and e2fsck. Also bootimg tweaked, but that's very small. They are 400KB too many (compressed) apparently. These are the sizes:

bash-3.2# ls -l
total 4248
-rwxr-x--- 1 root wheel 113792 29 Ago 20:18 adbd
-rwxr-x---@ 1 root wheel 23136 16 Set 18:58 bootanimation
-rwxr-x--- 1 root wheel 853044 18 Set 19:44 busybox
-rwxr-x--- 1 root wheel 428664 16 Set 18:14 e2fsck
-rwxr-x--- 1 root wheel 1494 16 Set 18:25 ext4-fix.sh
-rwxr-x--- 1 root wheel 17876 16 Set 18:14 fat.format
-rwxr-x--- 1 root wheel 8851 29 Ago 20:18 fota_logo.png
-rwxr-x--- 1 root wheel 331604 29 Ago 20:18 recovery
-rwxr-x--- 1 root wheel 177 16 Set 18:18 sysinit.sh
-rwxr-x---@ 1 root wheel 303212 18 Set 19:48 tune2fs
-rwxr-x--- 1 root wheel 63944 29 Ago 20:18 ua_launcher
lrwxr-xr-x 1 root wheel 7 18 Set 19:45 ueventd -> ../init

yes, I could move e2fsck.. but i don't feel comfortable with that. tune2fs is a must (bleeding HUGEFILE partitions). yeah, the idea was to allow the trick to mount one day the /data in the SDext. This restraints are simply ridiculous. Are they coming from the x86 times??

EDIT: nope, moving e2fsck wouldn't be enough. I need to move all the ext4 parts at this point. Oh well, I'll give it a try. And there I am again.. How can I access /system if I need tune2fs to check /system partition? DAMN!!
[Galaxy Y GT-S5360 Android Development] kurotsugi:
I don't know if those files are must be on the ramdisk. can't we put those outside? these files are quite huge compared to our 5mb kernel partition size. the modules could be stored in /system/lib/modules while the other files could be stored in /system/bin or xbin. stock rom usually have 20-30 free space in /system partition. if you could move it there it should be solve your problem. well...thats my opinion. I don't know what is your purpose but I hope it could help. good luck.
[Galaxy Y GT-S5360 Android Development] Miche1asso:
No, we can't. If one has the partition in ext4 format I can't mount it and it would need it to get the /system/lib/modules and use the /system /xbin binaries.

But! Who needs busybox?? It is useless. I just need a bourne shell! In can implement the run-parts with a "for SCRIPT in /etc/init.d/*" and I needed busybox to have a shell indeed!

Problem solved I suppose. I'll let you know. Dinner time! :)
[Galaxy Y GT-S5360 Android Development] Raol Emostar:
Thanks a million tons! :D

★ Sent from a Galaxy far far away... ★

Yes, I copied this, and there's notin' you can do about it. -.-
[Galaxy Y GT-S5360 Android Development] AvijitGhosh82:
Hey Kuro? Would u kindly give/pm me a stock recovery compatible zip of your a2sd compatible kernel? Would like to add in the next OTA..

I know I'm Awesome! Why don't you press thanks to show it?

Sent from my Galaxy Y using JELLYBLAST V3!
[Galaxy Y GT-S5360 Android Development] leodasal2:
thank you for the contributions Mr. Kurotsugi

*hats off
[Galaxy Y GT-S5360 Android Development] -CALIBAN666-:
yeah Sir Kuro,i have nothing more to write/speak.:good:
[Galaxy Y GT-S5360 Android Development] I.M.G:
you said ur kernel doesnt fully support a2sd(darktremor method)

but do you think other method of a2sd may work with ur kernel?

other method of a2sd: http://xdaforums.com/showthread.php?t=1716124
[Galaxy Y GT-S5360 Android Development] kurotsugi:
at this time only akuro is supported by my kernel. other method need more modification on ramdisk
[Galaxy Y GT-S5360 Android Development] AndroidProject:
Kuro iam now using ZetaWare my private CustomRom and ZetaKernel my private kernel

Can i use this kernel?:confused:
[Galaxy Y GT-S5360 Android Development] kurotsugi:
sure you can
[Galaxy Y GT-S5360 Android Development] ronnieryan:
Still confused about power,black,and active cats...

black cats seems to me like performace..active is conservative and powercats seems like smartassv2..
[Galaxy Y GT-S5360 Android Development] gbadcool:
Just tasted this kernel tonight :D :good:

Thanks So Much Sir Kurotsugi :)
[Galaxy Y GT-S5360 Android Development] zalzondabuzz:
I recently visited this time to your thread..

It's time to said "WOW" for this kernel update bro... lol:laugh:

low to 156MHz Min clock freq...

great bro.. :D

reserved 4 this...:good:
[Galaxy Y GT-S5360 Android Development] concaopp:
Hey kuro does ur kernel support ussr v6 used adrenaline engine?
[Galaxy Y GT-S5360 Android Development] I.M.G:
ahh i see.. tnx
[Galaxy Y GT-S5360 Android Development] Raol Emostar:
Tried fashing your A2SD kernel first and DT A2SD next on JellyBlast v3, resulting in bootloops and trying it the other way round resulted in Ext partition not being mounted at boot. A2SD not being fully supported is a bummer. Waiting for further modifications. Seems hard now that you dont have the device anymore. Tryink Akuro now.

---------- Post added at 12:01 PM ---------- Previous post was at 11:56 AM ----------

Akuro only supports ext3?
[Galaxy Y GT-S5360 Android Development] kurotsugi:
dt a2sd doesn't supported by my kernel. the akuro script does support all ext partition but there might be some bug when you use ext4 partition. it seems that my kernel doesn't support ext4 yet. if you want to use ext4 partition you need a kernel with a fully working ext4 support.
[Galaxy Y GT-S5360 Android Development] shivang005:
is your ram support ext2 partition and link to sd and how tweaks can i apply in your kernel
[Galaxy Y GT-S5360 Android Development] Deadly:
Yes this kernel does.. all kernel including stock supports ext2..

Yes link2sd works with this.. just keep the tweaks in init.d folder..

hit thanks button! If above post helps u..

Sent from my GT-S6102
[Galaxy Y GT-S5360 Android Development] zackstrifer:
swap support??

is your kernel support swap??
[Galaxy Y GT-S5360 Android Development] alkesh95:
Sir if I install your kernel on unrooted rom will it work as normal???

Sorry for being noobish
[Galaxy Y GT-S5360 Android Development] -CALIBAN666-:
yes why not?its for all roms and its base is the normal one.

---------- Post added at 07:50 AM ---------- Previous post was at 07:49 AM ----------

look at first post,than you will see thats version 2 support it.
[Galaxy Y GT-S5360 Android Development] xylu:
i like this kernel been using it for my own modified custom rom.. and working perfectly!
[Galaxy Y GT-S5360 Android Development] godofping1111:
can anyone give me kuro tweak pack?
[Galaxy Y GT-S5360 Android Development] gbadcool:
Try to check mr.kuro signature :D

Sent from my GT-S5360 using Xparent SkyBlue Tapatalk 2
[Galaxy Y GT-S5360 Android Development] kurotsugi:
the question is answered quicker that I thouht. thanks guys
[Galaxy Y GT-S5360 Android Development] -CALIBAN666-:
Today i have test the last kernel on ussr v6.gov setting min.156-max.832.ondemand-sio.under 10% my screen is black.confused.

MANY GREEEEETZ!!!

---------- Post added at 10:57 PM ---------- Previous post was at 10:45 PM ----------

Anyway for me the best kernel so far.

MANY GREEEEETZ!!!
[Galaxy Y GT-S5360 Android Development] emompong:
Im using this kernel too.. and when on 10%.. screen is not black but in super low brightness.. not an issue at all. Great Kernel:good::good:
[Galaxy Y GT-S5360 Android Development] -CALIBAN666-:
thats weird,i have no idea why its happen for me,after second test today,same problem:eek::confused:
[Galaxy Y GT-S5360 Android Development] emompong:
hmmmm what version are you using? no problem here.. USSR5 here with kuro tweak.
[Galaxy Y GT-S5360 Android Development] -CALIBAN666-:
ussr v6 with the latest kurokernel v1+onepack tweaks from kuro.
[Galaxy Y GT-S5360 Android Development] emompong:
Hmm.. that's weird. anyways, it does not affect the performance isnt it? so let's be happy that Kurotsugi released the recent version before he got a new droid buddy.:laugh:
[Galaxy Y GT-S5360 Android Development] kurotsugi:
well...actually...I still have my lil Y on my side (lol). I'm still testing it but l can't figure where the problem comes.
[Galaxy Y GT-S5360 Android Development] emompong:
Cool.. well I'll have my new droid phone soon but i will still keep this phone, the very low brightness is not that an issue, but if it will be fixed then much better. - but to clarify, its not that BLANK/BLACK.. just a super low brightness..

that 10% battery may save your life though lol.
[Galaxy Y GT-S5360 Android Development] gbadcool:
Just for report, I'm back on ussrv6 and like mr. empompong said i only got my screen brightness lower when the battery reach 10%...

It's look more like my laptop when it's battery low :D

Great Kernel :good:

Sent from my GT-S5360 using Xparent SkyBlue Tapatalk 2
[Galaxy Y GT-S5360 Android Development] -CALIBAN666-:
doesnt work under 10% the screen is directly black and i must plug charger to see anything.test 3 no change.have tested after completely new installing,with different gov. settings,without kurotweaks/with kurotweaks.no change.i didnt understand it.so im back to older version 5.31,worx without problems.
[Galaxy Y GT-S5360 Android Development] alkesh95:
I am on ussrv5 with final kernel and tweaks

I have the same problem

Explanation of problem:

As we all know (I hope so:) ) our screen has minimum brightness of 8.6% of original brightness which is equivalent to 10%

So when our phone is in standby mode...it works with normal brightness(as set by user)

And when our battery reaches 10%

Kernel or rom tries to save battery so smartly it decreases to loweset value available on kernel or rom...

So it goes to 10% but in your kernel ( I might be wrong) it is set below 8.6% for example 5% which is not supported by our tiny screen and it goes black...

Hope u understand....:)

For those who have this problem plz do a test for me it will take only 1 min... please

Pre reqs:

Set brightness to 50%

Brightness timeout 30s

Procedure:

Unlock your phone of screen is locked

Press home key....

Wait for some time till it goes black.....

Now don't press power key just touch the screen...

N report wether it glows up or not....

Please...:)
[Galaxy Y GT-S5360 Android Development] kurotsugi:
nah...it doesn't work like that :P

when the battery hit 10% you'll automatically use the lowest brightness possible for your screen. slide the your brightness level to minimum, and you'll got the same brightness level when your battery hit 10%. I'll try build another one soon.
[Galaxy Y GT-S5360 Android Development] alkesh95:
Sir you are not getting it.....

What You said is true

At 10% brightness Its normal

And when u try to set it below 8.6 % u will get blank screen

Globally recognised & certified NOOB

---------- Post added at 11:04 AM ---------- Previous post was at 10:56 AM ----------

https://www.box.com/shared/36zc8bwz0r6vrgdt1k8t

Try this app....

Set brightness below 8.6%...and see

Globally recognised & certified NOOB
[Galaxy Y GT-S5360 Android Development] kurotsugi:
I always using the lowest possible brightness in my device. never got any problem with it :P
[Galaxy Y GT-S5360 Android Development] Deadly:
@kurotsugi.. what alkesh95 mentioned is true.. i mean when you set brightness more than below it will dim first to minimum brightness before screen goes off.. so it could well act like min brightness or 10% battery setting as you mentioned as well..

Edit: to notice this you need to have atleast brightness above 20% in slider.. so that the change gets noticed as it shows only for like 2 seconds before screen goes off...
[Galaxy Y GT-S5360 Android Development] alkesh95:
Please try that app n set it below 8 plzzzzzz

Globally recognised & certified NOOB