yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] hafidzduddin:
no.

reboot with cmd like reboot using "reboot lidroid panel, anreboot, reboot power butoon, adb, terminal, etc"
[Galaxy Ace II Android Development] cbolumar:
Hi hafidzduddin, do you think yo can update your kernel in order to enable OTG?

See this post:

http://xdaforums.com/showthread.php?p=21503409

Thanks.
[Galaxy Ace II Android Development] titomax82:
Hi hafidzduddin, I'm trying to download HD kernel ver 1.0.1 from the first page, but link is wrong, infact that link brings to Experimental version... where can I find "normal" 1.0.1?
[Galaxy Ace II Android Development] hafidzduddin:
check "/sys/devices/platform/musb_hdrc.0"

this is usb host driver in our devices.

if you now how to use it you can use USB OTG :D

http://d-h.st/users/hafidzduddin
[Galaxy Ace II Android Development] kyrillos13:
You mention in the changelog something about CRT animation. What about it?
[Galaxy Ace II Android Development] hafidzduddin:
i add msleep(500) in kernel/power/fbearlysuspend.c

"earlysuspend breaks androids CRT-off animation. Sleep a little but to get it played properly"

its comment in patch
[Galaxy Ace II Android Development] oceanserv:
I have question, Before i flash my ace 2 with :

GT-I8160 HD Custom Kernel v1.2 -->> I8160 kernel.bin.md5

So can i reflash with ?

HD experimental v1.4 -->> HD_E.X-v1.4RC.tar.md5

another question is what is the different HD kernel and Experimental Kernel ?
[Galaxy Ace II Android Development] hafidzduddin:
just my experimental

because reboot into recovery with command.

but i have goodnews.

cocafe (i9070 kernel dev) fix j4fs bug :D

just rename -> HD_E.X-v1.4RC.tar

extract it and you can get kernel.bin.md5
[Galaxy Ace II Android Development] kyrillos13:
Greate i will try it. Is v1.2 kernel stable? All features work fine?
[Galaxy Ace II Android Development] malamharian:
I am using 1.2 with Jetmod. I think CRT off is still not displayed properly
[Galaxy Ace II Android Development] hafidzduddin:
yep but someone tell me score sdcard in antutu is low.

but i dont belive antutu.

if you get high io score, your sdcard score is low

if you get high sdcard score, your io score is low

:(

ok back to windows.

i'll test make CRT off

btw i succeed compile with ccflag -O4
[Galaxy Ace II Android Development] oceanserv:
i see, ok thanks....

will try instead hd kernel already flash into my ace 2.

will try with dd cmd command since i used pre-rooted rom
[Galaxy Ace II Android Development] hary232:
can you manage to enable mouse USB OTG functionality?
[Galaxy Ace II Android Development] cbolumar:
I think (i'm not sure) that to enable OTG you need:

- Some funcionality in the hardware : in order to have power out to the usb device. If your phone don't have it you must use the cable, usb hub or device with its own power . I think SGA2 don't have the power out funtionality.

- One cable microUSB - USB-F : Only 2 Euros more or less.

- Some funcionality in the kernel in "/sys/devices/platform/musb_hdrc.0" but i don't know if you need some especial lib . (I asked hafidzduddin about it)

- USB OTG definition in etc/vold.fstab that is easy to define in the ROM .

- Some App to control it , maybe : Usb Host Controller App: I think the APP is doing the mount you need.

Because i have a USB HD with power and i have the cable i can test it but i don't know if the kernel will be OK.

EDIT : I havein USB Host controller APP: S3C USB Host Driver NOT Found , but Root hub present and USB Host Mode is active . maybe will be posible. Looking for the driver.
[Galaxy Ace II Android Development] hafidzduddin:
i rebuild again my source

i can change all in post 1.

because new kernel feature is not same with old kernel

and now j4fs work.
[Galaxy Ace II Android Development] mkel91:
Is available new source?

Inviato dal mio GT-I8160 con Tapatalk 2
[Galaxy Ace II Android Development] hafidzduddin:
nope. source base on GT-I8160 samsung open source like my older source.

but in my older source J4FS have bug in reboot into recovery :(
[Galaxy Ace II Android Development] loof13:
CRT doesnt work in 1.4v ??
[Galaxy Ace II Android Development] hafidzduddin:
all version not work :p

set CRT on your framework-res.apk not in kernel

i just try to fix brick screen when screen off in CRT off

but not work. i think the problem in samsung rom :p
[Galaxy Ace II Android Development] mkel91:
But the new kernel with j4fs working, built with new sources is 1.4?

Inviato dal mio GT-I8160 con Tapatalk 2
[Galaxy Ace II Android Development] hafidzduddin:
nope.

1.4 is old source :p

i dont have enough time to upload right now.

i have a dinner ;)
[Galaxy Ace II Android Development] mkel91:
Ok thanks a lot ;) have a good dinner :)

Inviato dal mio GT-I8160 con Tapatalk 2
[Galaxy Ace II Android Development] hafidzduddin:
done

need tester
[Galaxy Ace II Android Development] bengke28:
can I flash via dd command on the first page?
[Galaxy Ace II Android Development] hafidzduddin:
yes.

rename *.tar.md5 to *.tar

extract it and you can get kernel.bin.md5
[Galaxy Ace II Android Development] mkel91:
Should I remove the older script in init.d?

Inviato dal mio GT-I8160 con Tapatalk 2
[Galaxy Ace II Android Development] hafidzduddin:
up to you.

:D

i still use mount and sysctl
[Galaxy Ace II Android Development] malamharian:
Umm, my CRT off animation becomes yellow coloured after flashing exV1. Is this kernel related?

( exV1 with Jetmod )
[Galaxy Ace II Android Development] hafidzduddin:
i dont know about this. :confused:

sory

next update :

add io sched : bfq and anticipatory (thanks cocore for give me patch bfq and help me fix compile anticipatory)

add cpufreq : lulzactive, aggressive, aggressivex, gallimaufry, gallimaufryx, and abyssplug.

io sched : deadline tweak

cpufreq : ondemand tweak

added tune cortex-a9
[Galaxy Ace II Android Development] Messi10:
maybe u can try to add overclock also, xperia u have a kernel that supports oc http://xdaforums.com/showthread.php?t=1717270

EDIT: not only xperia u other xperia devices too
[Galaxy Ace II Android Development] luigisvc:
Hi HD, Is this new governors better than pegasusq?

Anybody has tested new governors and can explain if there is some gain for our phone?

I installed and using smartassv2, but did not noticed any improvement
[Galaxy Ace II Android Development] hafidzduddin:
he cant update github and he is the one people who i question about how to oc kernel u8500. he answer "no one succeed fully oc u8500"
[Galaxy Ace II Android Development] Messi10:
yes lulzactive :good:
[Galaxy Ace II Android Development] mkel91:
I can't find lulzactive on ex kernel 1.0

Inviato dal mio GT-I8160 con Tapatalk 2
[Galaxy Ace II Android Development] Messi10:
it will be avaible in next update
[Galaxy Ace II Android Development] hafidzduddin:
i dont know about it

i still use pegasusq/vr for daily use

aggressive and gallimaufry are optimize conservative and ondemand.

that being said cocafe :)
[Galaxy Ace II Android Development] titomax82:
After having installed your latest kernel (EX Kernel v1 07/12/2012), I had nothing in init.d folder

Is this normal or do I miss some tweaks?

I'm not interested in Swap or Zram, but I'm interested in MaliTweak for example

Do I need to do something?
[Galaxy Ace II Android Development] cbolumar:
I'm using the EX kernel and have all the files in init.d as usual.
[Galaxy Ace II Android Development] hafidzduddin:
no need mali tweak script in init.d

i am edit it in source
[Galaxy Ace II Android Development] cbolumar:
Hi hafidzduddin, could you test if the problem with the reset of the last screen of the animation zip i have in my ports is a problem with your kernel?

Thank's.
[Galaxy Ace II Android Development] titomax82:
That's because those init.d files were created by a previous installation (as zip or with aroma installer), but using dd command with the latest kernel, which as no zip or aroma installer but just md5 file, those files aren't created if it's a clean kernel installation

Ok thanks HD... so being not interested in zram or swap, I don't need init.d files at all... better this way :)

As usual... your kernel is great!

By the way, I noticed in your build.prop that video acceleration has # before string, so it isn't read as a setting... Is this something you wanted... or is a mistake in your build.prop?
[Galaxy Ace II Android Development] hafidzduddin:
can you give me your bootanimation?

if you use video accel your stock video can error. :(
[Galaxy Ace II Android Development] hafidzduddin:
tested topology and multi-core sched.

revert autogroup
[Galaxy Ace II Android Development] hafidzduddin:
Update to 2.6.35.14

TWRP Upgrade to 2.3.1 (tested)

add topology and sched_mc (linaro)

revert autogroup

add optimization level (use -O4)

add optimization flag

and i forget :p

test antutu with pegasusq/deadline
[Galaxy Ace II Android Development] arroyo:
... and then I look at hafidzduddin Antutu score and I was all like a ...
[Galaxy Ace II Android Development] titomax82:
mmm... so now i'm testing this way:

# Video acceleration and HW debugging

video.accelerate.hw=1

debug.egl.profiler=1

debug.egl.hw=1

I will let you now if problems occur
[Galaxy Ace II Android Development] settu_kliwon:
Help!! My Ace wont booting when install via dd

Help me please..

My Ace stuck on the "Samsung Galaxy Ace2 GT-I8160"

I install use this commands:

$su

#dd if=/sdcard/eX_Kernel_v1.tar.md5 of=/dev/block/mmcblk0p15

#reboot

I use your previous kernel and Kyrillos's v2 ROM before try to installing your new eX_Kernel_v1. Now I can't use my phone.

I will try to stay calm as cucumber and will not panic, I'm sure this problem can be solved if anyone here help me :rolleyes:
[Galaxy Ace II Android Development] hafidzduddin:
try wmv format. :p
[Galaxy Ace II Android Development] alokhan:
Reflash official package with odin :P
[Galaxy Ace II Android Development] hafidzduddin:
you wrong step to flash kernel.

kernel.bin.md5 not *.tar.md5

reflash with odin. or reflash your preroot rom. (if you have)

just flash .tar.md5 with odin and your phone come back normal. (increase binary count)
[Galaxy Ace II Android Development] settu_kliwon:
But my USB debugging is set to Off. Is this possible?
[Galaxy Ace II Android Development] hafidzduddin:
download mode no need debuging
[Galaxy Ace II Android Development] mkel91:
Where is the new download? Is available?

Inviato dal mio GT-I8160 con Tapatalk 2
[Galaxy Ace II Android Development] settu_kliwon:
OK, this is just my "brainware" error and misunderstanding how to correctly install.

I can't wait to go home to fix my problem since I can't do it while still work hours.

So, Mr. HD, can you write how to correctly install this kernel at the first page, to prevent other Ace2 user from having similar problem with noob like me?

I'll give you good news soon. Thanks
[Galaxy Ace II Android Development] WiCiO_MeDi:
Pretty wicked write speed on SD. Is it possible?

@settu_kliwon

pls read the thread, it was mentioned few times already, ie:

http://xdaforums.com/showpost.php?p=34990707&postcount=359
[Galaxy Ace II Android Development] Carpe-Dimi:
If not using aroma installer to install this, but simply pushing it via dd command. How do I set stuff like sdcard cache size and scheduler?

Also, does this not come with init.d scripts anymore? :confused:

Other random question, but is there a way to set governor via a script instead of an app?

My previous phone had a HW_Config file in /etc folder for that, but can't find it on this phone.
[Galaxy Ace II Android Development] titomax82:
Just tried several wmv formats, nothing changed:

standard resolution files are played correctly, while high resolution files (1280x720) play only audio with blank screen, all as before, no errors (same behaviour in stock video player and in mx player)
[Galaxy Ace II Android Development] hafidzduddin:
not good

cant reboot recovery with cmd.

j4fs mount and not panic but still cant reboot recovery.

maybe samething wrong in my initramfs
[Galaxy Ace II Android Development] cocafe:
Revert back the old ramdisk. :cool:

And try again.

If you havent modified j4fs driver,it wont be broken i think. ;)
[Galaxy Ace II Android Development] settu_kliwon:
Problem solved.

Thanks, problem has been fixed.

This is stupid because I forget to extract first before installing. LOL

Here's the screenshot..
[Galaxy Ace II Android Development] mkel91:
I'm having same reboot on ex kernel 1.0..

Elaborato da 2 powerfull Cortex A9
[Galaxy Ace II Android Development] hafidzduddin:
you use usb tether?

if yes please disable before :laugh:
[Galaxy Ace II Android Development] mkel91:
No, I don't use thether..

Elaborato da 2 powerfull Cortex A9
[Galaxy Ace II Android Development] hafidzduddin:
cant you tell me you get reboot after what?

about fsync control. if you disable fsync you cant reboot recovery with cmd. you can use it again after enable fsync.
[Galaxy Ace II Android Development] mkel91:
The first time I was using facebook app, the second time the phone was in standby..

Elaborato da 2 powerfull Cortex A9
[Galaxy Ace II Android Development] yethz:
So far so good :) Thanks a ton...

Sent from my GT-I8160
[Galaxy Ace II Android Development] mkel91:
The problem seems to be solved by wipe cache/dalvik cache..

Sent from Tapatalk2 on Galaxy Ace 2
[Galaxy Ace II Android Development] arroyo:
Anyone noticed weird corruption bug while doing TWRP backups? Can it be kernel related?

Backup corrupts the SD card randomly. I thought it was SD card fault so I have replaced it with a new card, but today my backup had only three from all 6 files needed and all new backups are also corrupted.

Whole backup should have six files (only three first were saved):

boot.emmc.win

boot.emmc.win.md5

data.ext4.win

data.ext4.win.md5

system.ext4.win

system.ext4.win.md5
[Galaxy Ace II Android Development] mkel91:
I've no problem and I use massive nandroid backup
[Galaxy Ace II Android Development] arroyo:
In attachments you have screenshots from GOOD and BAD backup, please check file sizes. I stil have 9GB free space on it, so empty space is not the case. After first BAD TWRP backup, SD card starts to corrupt random data (files copied from computer are unreadable, files downloaded from net also, phone is freezing while playing games).

My SD card was formatted under phone menu. I have made 'vold.fstab' mod. SD card is Goodram 16 GB Class 10.

Any ideas what can be the cause?
[Galaxy Ace II Android Development] mkel91:
Have you ever tried to copy files for sd card full dimension? Maybe has problems..

Sent from Tapatalk2 on Galaxy Ace 2
[Galaxy Ace II Android Development] hafidzduddin:
ok got it.

it same issue like cocore kernel.

phone hang and

reboot. right?

system busy before reboot

:confused::confused:

i dont have this issue.

btw why your data size 0?
[Galaxy Ace II Android Development] mkel91:
Right mate ;)

Sent from Tapatalk2 on Galaxy Ace 2
[Galaxy Ace II Android Development] arroyo:
This is the thing I would like to know also. It happens after BAD TWRP backup ... SD card makes fu@&up.
[Galaxy Ace II Android Development] Dr01nE:
Maybe your card has CRC problem
[Galaxy Ace II Android Development] Krensii:
Noob question: Do i need root user, put the Ex kernel to sdcard, then use Terminal Emulator to type dd cmd?
[Galaxy Ace II Android Development] oceanserv:
question :

i used hd kernel right now. and want to change to exp kernel. do i need just flash exp kernel using dd cmd command ?
[Galaxy Ace II Android Development] mkel91:
yes
[Galaxy Ace II Android Development] settu_kliwon:
Yes, because you need to enter 'su' command before input 'dd' command.
[Galaxy Ace II Android Development] Dr01nE:
Does this kernel habe an occasional reboot issue? Becauae it randomly reboots my phone. Anyways, tried testing it. But I'm going back to the very first kernel. Because its already perfect.
[Galaxy Ace II Android Development] mkel91:
I'm testing some random reboots..but sometimes like every 3 or 4 days, nothing bad..

Sent from Tapatalk2 on Galaxy Ace 2
[Galaxy Ace II Android Development] malamharian:
Really? I don't experience any of it.
[Galaxy Ace II Android Development] settu_kliwon:
Me too.

I thought that reboot is caused by wrong profile setting in SetCPU, and finally I found the answer from other member who have similar issue.
[Galaxy Ace II Android Development] kyrillos13:
I don't experience any reboot...
[Galaxy Ace II Android Development] mkel91:
Yes, when system get busy..

Sent from Tapatalk2 on Galaxy Ace 2
[Galaxy Ace II Android Development] judas1977:
@up

Kernel panic? System performs "hot reboot"? I experienced it on Galaxy Spica, never happened on Ace II (using HD kernels for some time).
[Galaxy Ace II Android Development] malamharian:
I often open package installer, play store update , and dolphin altogether, no reboot so far
[Galaxy Ace II Android Development] kebeen19:
Im also experiencing random reboot in new kernel. It always occur when im downloading 100-200mb dont know why. :confused:
[Galaxy Ace II Android Development] mkel91:
I was using facebook every time

Sent from Tapatalk2 on Galaxy Ace 2
[Galaxy Ace II Android Development] Dr01nE:
Seems it like the reboot problem happens with different instances. Mine happens when I have ttorrent in the background and I play videos using mx player
[Galaxy Ace II Android Development] yethz:
I havent experienced any reboots problem after flashing ex kernel...

Sent from my GT-I8160 (Stock Lite/eX-Kernel)
[Galaxy Ace II Android Development] hafidzduddin:
argh not good.

mc sched not work properly. need kernel 3.x source.

i cant get random reboot again. but score down :p
[Galaxy Ace II Android Development] malamharian:
Will S3 mini's kernel source help?
[Galaxy Ace II Android Development] hafidzduddin:
nope. need jb stock kernel source and stock rom.
[Galaxy Ace II Android Development] adam05052:
Hi,

i have a question, how to use that command for flashing with cmd? With PC or can I use terminal emulator in phone?
[Galaxy Ace II Android Development] malamharian:
Terminal Emulator is much more easier
[Galaxy Ace II Android Development] yethz:
Got great score via antutu :thumbup:

Sent from my GT-I8160 (Stock Lite/eX-Kernel)
[Galaxy Ace II Android Development] mkel91:
This morning I found it stuck at oem logo and rebooting continuosly while was charging, so I finally decided to get back to 1.0.1

Sent from Tapatalk2 on Galaxy Ace 2
[Galaxy Ace II Android Development] kemenesi:
rebooting problem

My GT-I8160 with eX-Kernel-v.1 rebooting hourly :(
[Galaxy Ace II Android Development] settu_kliwon:
My ace2 has occasionally reboot when charging, on call, and sometimes reboot with unknown trigger. I'm back to 29/10 now and doesn't found any problem yet.
[Galaxy Ace II Android Development] hafidzduddin:
please dont use v1

because if your phone lagging your phone can reboot!

its not stable.

i cant work righ now

im very busy in my real life.
[Galaxy Ace II Android Development] Adriangbba6:
I use Ex kernel V1 and omega rom is very stable...

Sent from my Galaxy Ace 2 with omega ROM
[Galaxy Ace II Android Development] rozyid:
Really bro....??? i used v1 with stok rom DXKL2 + RAM EXPANDER.. no reboot and lag...
[Galaxy Ace II Android Development] hafidzduddin:
if system busy phone lag and reboot.
[Galaxy Ace II Android Development] from18to15:
yup, actually after play an HD games -___-"

i still use HD kernel v1 :good:

need a cooldown for a minute, then it'll comeback to normal state...
[Galaxy Ace II Android Development] Eselter:
Strange I use this kernel and play in HD games so sometimes I have lags but I don't have reboots.
[Galaxy Ace II Android Development] mkel91:
So guys, for who experience reboots: which rom do you have?

Sent from Tapatalk2 on Galaxy Ace 2
[Galaxy Ace II Android Development] malamharian:
Jetmod here, no reboot
[Galaxy Ace II Android Development] alokhan:
Still no luck to make it compatible with cm7 ?
[Galaxy Ace II Android Development] Dr01nE:
I tried it on Pre-rooted Stock DXLK2 and it reboots. :( reverted to 10/29 kernel. :D
[Galaxy Ace II Android Development] kemenesi:
reboot problem with Kyrillosv4 , for me ...
[Galaxy Ace II Android Development] oceanserv:
i used pre-rooted stock DXLK2 and using GT-I8160_HD-Custom_Kernel-aroma_installer-v1.1 this kernel downloda from your dropbox.

so far no problem with reboots issue. before i used GT-I8160_HD-Custom_Kernel-aroma_installer-v1.1 i used EXP V1 also no problem.

the only problem when using KYRILLOSV4 i cannot change TIME ZONE.
[Galaxy Ace II Android Development] hafidzduddin:
bug in rom. :)
[Galaxy Ace II Android Development] yethz:
That is the most informative post ive ever saw :D

Sent from my GT-I8160 (Stock Lite/eX-Kernel)
[Galaxy Ace II Android Development] settu_kliwon:
I can change time zone when use Lucid Dream V2 theme but CAN NOT hide AM/PM.

I CAN NOT change the time zone settings when use default theme, but I can hide AM/PM in settings.

I have DXLK2 too, using HDTWRP kernel.

The author of this ROM has already try to debug this issue.

But I think it's just minor problem if you use automatic date and time since I think you're not going anywhere outside your home town :D
[Galaxy Ace II Android Development] oceanserv:
Yess this is minor problem. I cannot used automatic date and time cause i have to forward my time since my office time different with network operator time thats my problem. but so far both HD Kernel or EXP KERNEL :good::good::good::good:
[Galaxy Ace II Android Development] titomax82:
Only today I realized that Swap and zRam are two differnt features watching at first page of this thread.

So, HD, could you give a brief explaination of the two features and a comparison between them? thanks
[Galaxy Ace II Android Development] hafidzduddin:
In normal PC would look like this:

Swap = swap file (on disk) -> Slow

ZRAM (swap in RAM) -> Faster than swap

RAM -> Quick

Roughly one can say:

Without ZRAM: + CPU Performance | + Battery | RAM

With ZRAM: CPU Performance |-Battery | + RAM
[Galaxy Ace II Android Development] adam05052:
please can you write more detailed guide how to enable z-ram? example where is placed init.d
[Galaxy Ace II Android Development] arroyo:
Dude ... I do not want to be rude, but there is like a million threads describing in details what and where init.d is. Use google or XDA search. Here it is not the thread about it.
[Galaxy Ace II Android Development] hafidzduddin:
create a new file in your system/etc/init.d

ex: 07zRam

open file and copy paste this script to your file:

#!/system/bin/sh
# enable zRAM script

# zRAM Swap Disk Size: 64MB(64*1024*1024)
disksize=67108864;

# Set Size to system
echo $disksize > /sys/block/zram0/disksize;

# Enable Swap (Need BusyBox installed)
busybox mkswap /dev/block/zram0;
busybox swapon /dev/block/zram0;

dont forget to give permission 0777 or rwx-rwx-rwx
[Galaxy Ace II Android Development] Adriangbba6:
HD, What is fsync controler ?

And what is the advantages and disadvantages enable fsync controller??

Thanks. :thumbup:
[Galaxy Ace II Android Development] hafidzduddin:
it make you can enable or disable fsync with cmd.

disable fsync give you more performance and battre life but it can give you lose some data. :p

ps: twrp 2.3.1.1 just tested. i will wait diego-ch fix 2.3.1.1 :)
[Galaxy Ace II Android Development] mkel91:
Has been resolved reboot problem on new kernel 1.2?

Inviato dal mio GT-I8160 con Tapatalk 2
[Galaxy Ace II Android Development] hafidzduddin:
need test. because in 1.0 i just have 1 reboot :p

ps: sched mc not work properly. need kernel 3.x
[Galaxy Ace II Android Development] Adriangbba6:
Which is recommended? :good:
[Galaxy Ace II Android Development] hafidzduddin:
enable fsync.

you can get low database io score in antutu.

for me antutu score is not important :p

ps : i get 1 reboot when using pegasusq and sio. using smartass2 and deadline right now :D