yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] arroyo:
Can anyone please do backup and restore on HD kernel 1.2? It looks like it is not working.

HD kernel 1.2 just bricked my device. After restore I have got comment "No OS Installed" while trying to restart device. Then it stops on "Galaxy ACE 2 " logo. I bring to life my device, because going to recovery works, then installing from ZIP clean system and old kernel. Add at the end I have used recovery to bring device to last state.

Also doing full shutdown and starting device (not restart) is terribly long on HD kernel 1.2.

And the good side of HD kernel 1.2: Finally speed results of kernel 29/10/2012 were bitten.
[Galaxy Ace II Android Development] adam05052:
I experienced reboot every time when I was sending somethink with bluetooth, on v1.2, so I installed v1.0 back.
[Galaxy Ace II Android Development] settu_kliwon:
Mr. HD, what ROM are you using? And which governor is your setting for daily use? Thanks
[Galaxy Ace II Android Development] hafidzduddin:
yep restore error :p

ondemand and deadline :p

realy.

i dont get it.

:confused::confused:
[Galaxy Ace II Android Development] Eselter:
So which version you recommended with working recovery? EX 1.0 or maybe HD 1.0.1 or ... ?
[Galaxy Ace II Android Development] titomax82:
I installed ver HD 1.0 with aroma installer and during installation I enable Zram... how do I check if Zram is working? If I write "free" in terminal emulator it gives me " .... swap 0 0 0 "
[Galaxy Ace II Android Development] arroyo:
This one: http://d-h.st/HlC

Never have any problems with this version. Also performance is the best form all Hafidzduddin kernels. After couple days of testing new kernels I am always going back to this one.
[Galaxy Ace II Android Development] settu_kliwon:
Thanks.

Which ROM are you using?

I'm using HD kernel v1.2 with Kyrillos's ROM v4, pegasusq/vr, and found reboot 2 times when on call.
[Galaxy Ace II Android Development] arroyo:
Stock Lite 1.2 with some PMR tweaks.Never have problems with that configuration.Beware of HD kernel 1.2 cause it has some backup and restore problems,at least for me.For daily use I am using pegasusq/sio.
[Galaxy Ace II Android Development] malamharian:
I have a question. Everytime I flash kernel, init.d script increase but the old ones doesn't get removed. So do I need to remove it?
[Galaxy Ace II Android Development] rozyid:
I used stock rom DXKL2 no problem and no reboot...
[Galaxy Ace II Android Development] Lmasta:
Hi boss, how do I flash the latest Kernal on to the ace 2? I rooted with Odin and modified vold.fstab last night . Not sure what method to use to flash a Kernal... Thanks :)
[Galaxy Ace II Android Development] mojito0:
reboot phone in download mode

connect to pc via usb

open odin

click on PDA and navigate to the kernel

click start.

Done
[Galaxy Ace II Android Development] yethz:
Flash it via Odin or via recovery..

Sent from my GT-I8160 (Stock Lite/eX-Kernel)
[Galaxy Ace II Android Development] settu_kliwon:
#reboot

PS: don't forget to extract downloaded file first and then copy kernel.bin.md5 to /sdcard/ , I had bad experience once, because I forget extract the file :D
[Galaxy Ace II Android Development] arroyo:
I have bricked my phone once again doing TWRP backup/restore. I was using HD Kernel 1.0 (not my favorite 29.10.2012 which backup-bricks as well). Backup looked normal - 6 files, good size, but after restore my phone answers only thru ODIN. I am not the only one blaming TWRP for brick-backups. On android.com.pl people have the same problem as well (link).

@ hafidzduddin

Can you create HD Kernel with CWM instead TWRP? Just once for all TWRP haters. PLEASE. I love your optimizations over stock kernel, but today my phone was almost smashed on wall after bad restore.

@ to all

Merry Christmas Everyone
[Galaxy Ace II Android Development] hafidzduddin:
slow down :D

i waiting diego-ch rebuild twrp 2.3.1.1

i can make only cwm rec. you needed?
[Galaxy Ace II Android Development] arroyo:
It is not TWRP 2.3.1.1 related. I was using HD Kernel 1.0 which have TWRP 2.2.1 (I think). This backup-brick-package appeared on older your kernels as well. I already mentioned about it.

YES PLEASE ... I need it ... I am like 10 minutes on ANTSM kernel and it feels very "stock", not HD. If you could provide HD quality, but with CWM ... my head probably will explode.
[Galaxy Ace II Android Development] hafidzduddin:
my backup rom with twrp 2.2.1 not brick :confused:

im trying to replace sbin twrp with cwm but not work.

if phone reboot. sbin file back to twrp :p
[Galaxy Ace II Android Development] arroyo:
It does not brick any time. After first brick couple weeks ago I have replaced SD card with the new one. Created 20+ backups just for the test and each of them was fine. After couple of days, bricked one appeared. It is totally random. I did not found any clue, but never got this on Antsm CWM Kernel.

Usually I am preparing new backup every 2-3 days or before changing something crucial in ROM. I am storing three last backups. After each backup I do recovery just to see if everything is OK.

So there won't be HD CWM Kernel? I am so sad ... ;-( Santa is not coming tonight.
[Galaxy Ace II Android Development] hafidzduddin:
im just have my lastest source kernel (1.2). i have to add cwm in 1.2

i dont have other version source kernel.

and i dont know how to change recovery file in kernel.bin.md5

you need antsm help to add it :p
[Galaxy Ace II Android Development] hafidzduddin:
@arroyo i sent you pm about cwm
[Galaxy Ace II Android Development] xenomorpho:
looking in the source kernel i8160, I found arch/arm/mach-ux500/pm/cpufreq-db8500.c seems that here you can add the missing frequencies. in these files (instead seems to create dependencies) and clock-clock-db8500 db5500. if you have desire to implement strings, I'm available to test the kernel. I would do it alone, but I do not know if I can compile successfully.
[Galaxy Ace II Android Development] hafidzduddin:
my young sister upgrade my ubuntu, 12.04 to 12.10.

my bluetooth devices error.

i think its ok. but when im trying compile new kernel getting error in drivers/gpu

"gcc: error no such file or directory"

anyone know how to fix it?
[Galaxy Ace II Android Development] mojito0:
you are lucky to be able to boot them q.q I tried installing ubuntu 12.10 and 12.04. Installation was succesful but they never booted.....

Anyway with a quick search I found these:

http://www.linuxfromscratch.org/pipermail/lfs-support/2003-December/021058.html

http://objectmix.com/c/39538-gcc-error-stdio-h-no-such-file-directory.html

Good luck.
[Galaxy Ace II Android Development] hafidzduddin:
im using dual boot. windows 7 and ubuntu.

yep. maybe something broken when upgrade
[Galaxy Ace II Android Development] hafidzduddin:
if i cant fix error. i can reinstall my ubuntu. :(:(:(
[Galaxy Ace II Android Development] settu_kliwon:
Have you try ubuntu liveCD? If you want to install gcc, you can use repository from kambing UI. I think you will need only several mega bytes if gcc version in liveCD doesn't match with gcc version you're looking for.
[Galaxy Ace II Android Development] hafidzduddin:
i dont have livecd 12.10 :p

can you give me link kambing
[Galaxy Ace II Android Development] settu_kliwon:
http://kambing.ui.ac.id/

Find iso file there, then edit /etc/apt/sources.list

I don't use ubuntu as daily OS, you can check details here: http://tuxplus.blogspot.com/2012/05/menambahkan-repository-lokal-indonesia.html?m=1
[Galaxy Ace II Android Development] Messi10:
the problem is with ubuntu 12.10
[Galaxy Ace II Android Development] arroyo:
eX-Kernel v1.3 CWM recovery by hafidzduddin

link:

eX-Kernel v1.3 CWM recovery

Couple days ago I asked our kernelsmith ---> hafidzduddin for HD kernel but with CWM instead overbloated and buggy TWRP. He made that kernel and send it to me for some testing. After testing CWM kernel I must say that it is much better that the previous ones. Just look at this screenshot:

With previous HD kernel (29/10/2012) the best I could reach was 6260 and I am testing every hafidzduddin kernel. I did not changed anything in ROM during test. Also I have made 20 backup/restore procedures just to check is something will corrupt. TWRP would definitely corrupt my SD card till that time.

That is why I want to share eX-Kernel v1.3 CWM with you all (hafidzduddin gave me permission).

If you want to thank someone for this ... click Thanks button at the first post.
[Galaxy Ace II Android Development] mojito0:
soooo...how do we install it ? xD Doesn't seem to work with odin since it has not the .tar thing o:
[Galaxy Ace II Android Development] arroyo:
@ mojito0

Do you really need to quote my whole post to ask your question? Its space waste.

And the answer is:

- Put kernel.bin.md5 in sdcard

- Run your favourite terminal app, type these codes

$su
#dd if=/sdcard/kernel.bin.md5 of=/dev/block/mmcblk0p15
[Galaxy Ace II Android Development] mojito0:
Aaaalrighty then, removed the quote, and thanks for the help :D
[Galaxy Ace II Android Development] mkel91:
What about reboots?

Inviato dal mio GT-I8160 con Tapatalk 2
[Galaxy Ace II Android Development] arroyo:
No reboots recorded.
[Galaxy Ace II Android Development] yethz:
Mirror pls... D-h.st is having a maintenance as of this request and cannot download... Thanks...

Sent from my GT-I8160 (Stock Lite/HD-Kernel)
[Galaxy Ace II Android Development] luigisvc:
I got broken link trying to download vs 1.3

could u upload in another host?
[Galaxy Ace II Android Development] settu_kliwon:
Wait several minutes then refresh. Dev-host just finish upgrading bandwith or something, I'm successfully download the file from the link above.
[Galaxy Ace II Android Development] rozyid:
cannot reboot recovery from terminal

hay arroyo... HD kernel ex v1.3 cannot reboot recovery from terminal...???

solved bro...
[Galaxy Ace II Android Development] mkel91:
No, I'm talking about freeze and reboot

Inviato dal mio GT-I8160 con Tapatalk 2
[Galaxy Ace II Android Development] arroyo:
I mean that every reboot command completed successful. HD kernel1.3 CWM is the first kernel in which I did not found any issues.
[Galaxy Ace II Android Development] settu_kliwon:
You should try to uninstall SetCPU or any tweak tools, my reboot problem has been solved after I don't use them. I only use SuperCharger script.

I guess that tweak tools lead conflict with default kernel tweak.
[Galaxy Ace II Android Development] mkel91:
Maybe I`ll try that, all tweaks in init.d are in kernel ?

Inviato dal mio M-MP715I con Tapatalk 2
[Galaxy Ace II Android Development] from18to15:
you're really our kernelsmith :good:

your new eX 1.3 are awesome haha and also i like the CWM than TWRP....keep up mate... :D
[Galaxy Ace II Android Development] hafidzduddin:
ubuntu done. :D

but somethink error in my backup data.

toolchain and source error :o
[Galaxy Ace II Android Development] luigisvc:
Best results ever in Antutu. Noticed too running smoothly

Thank You
[Galaxy Ace II Android Development] kyrillos13:
Kernel?
[Galaxy Ace II Android Development] luigisvc:
Kernel 1.3 from HD, with stock rom. I just copied a build.prop from another thread here, dont remember where
[Galaxy Ace II Android Development] hafidzduddin:
my sysctl.conf

vm.page-cluster=8
vm.drop_caches=3
#vm.laptop_mode=0
vm.dirty_background_ratio=70
vm.dirty_ratio=90
vm.vfs_cache_pressure=100
#vm.overcommit_memory=1
#vm.oom_kill_allocating_task=0
vm.highmem_is_dirtyable=1
vm.swappiness=0
#vm.min_free_kbytes=1024
#vm.min_free_order_shift=4

i set swappiness 0 because i dont use zram :D
[Galaxy Ace II Android Development] malamharian:
How do you guys get such high SD Card scores in antutu? In every ROM and every Kernel I've tried, with various readaheads, it never go past 9mb/s. I know that i don't need to trust benchmarks but this is really weird. It's an 8gb class10 Team sdcard.

Btw I'm using jetmod and after installing 1.3 my boot animation is gone. It just shows GT-I8160.
[Galaxy Ace II Android Development] chape199:
why i can't install 1.3??

Enviado desde mi GT-I8160 usando Tapatalk 2
[Galaxy Ace II Android Development] malamharian:
there's a space there between mmcblk0p and 15.
[Galaxy Ace II Android Development] from18to15:
can i know what Governor and I/O scheduler you use during test?

best i can get is 6320 on "performance and deadline" config.
[Galaxy Ace II Android Development] luigisvc:
I was using performance and noop.

Enviado de meu GT-I8160L usando o Tapatalk 2
[Galaxy Ace II Android Development] settu_kliwon:
This is my best score so far, i use default governor.

Btw, how can I check what governor is currently running on my ace2 without using app from Play Store? Can I check it with command from terminal emulator?

My Ace has reboot often when I use SetCPU or other tweak tools, but very stable when not use one of tweak tools. Thanks
[Galaxy Ace II Android Development] from18to15:
this the best i can get

2 version i put in here :

perf - noop and perf - sio

dunno why in my phone sio is better...

and for @settu_kliwon try to install no-frills CPU from GPlay.
[Galaxy Ace II Android Development] Eselter:
Wrong command:

dd if=/sdcard/kernel.bin.md5 of=/dev/block/mmcblk0p15
[Galaxy Ace II Android Development] WiCiO_MeDi:
can you post antutu scores without SD card tests?

those are pretty random and mess with the final score alot :(

UPDATE:

hafi, about bln, again..

really no hope for us? :)
[Galaxy Ace II Android Development] settu_kliwon:
Here's mine, using default governor and i/o (its ondemand - sio, isn't it?)
[Galaxy Ace II Android Development] luigisvc:
Here go, without SD, best of three tests
[Galaxy Ace II Android Development] michal89chz:
antutu Mesi rom + hd kernel old version

I have in antutu 6500
[Galaxy Ace II Android Development] mojito0:
picture or go home.... kiddin :D
[Galaxy Ace II Android Development] ghostbusted:
Just put your extracted TWRPhd zip on sdcard and apply #dd command on cmd.. Just that simple..

Taptaptapatalkerz dari GT-i8160 saya.
[Galaxy Ace II Android Development] rozyid:
Flashing Via CMD whit dd

yes i know how it, i mean it folder "system\etc\init.d" in extract file twrp.zip , there is file 01xxx 02 xxx until 08... what we do on file it..???

sorry bad english
[Galaxy Ace II Android Development] hafidzduddin:
It just tweak in init.d :)

If you needed you put it in init.d and give right permission. (rwxrwxrwx)
[Galaxy Ace II Android Development] arroyo:
@hafidzduddin

Take a look please at this link. Regarding USB-OTG, in samsung sources it looks like it has AV Cable nad JIB compatibility. For me it looks like black magic, but you may find here something usefull.

http://4pda.ru/forum/index.php?showtopic=369612&st=160

I8160 with AV output would be THE GREATEST PHONE OF ALL TIME.
[Galaxy Ace II Android Development] hafidzduddin:
Can you translate it for me. please :D
[Galaxy Ace II Android Development] arroyo:
Sorry, my russian language skills are worst than what Google Translate can offer:

translated 4pda site

Take a look at post #168. I think user neosuslik from 4pda is also somwhere here. I have seen his avatar in one of the i8160 threads.
[Galaxy Ace II Android Development] neosuslik:
There's no important information, it's just part of the code from codina kernel source
[Galaxy Ace II Android Development] malamharian:
Umm I have flashed via dd cmd with the #dd command and rebooted.

But it seems that I still have only 8 governors, not 15 governors.
[Galaxy Ace II Android Development] rozyid:
Flashing Via CMD whit dd

okey thanks ( ini jawaban yang saya tunggu)

Hay hafidzduddin please add kernel to over clock....

thanks....
[Galaxy Ace II Android Development] mkel91:
why did you remove zCache?
[Galaxy Ace II Android Development] hafidzduddin:
Until now, no one successed to make it can be overclocked

Buggy :D
[Galaxy Ace II Android Development] ghostbusted:
This is the best kernel ever cooked !! , using pegasusq governor for daily use and battery so damn magnificent.. Thanks HD :cool:

Ps. Kapan2 ane traktir kopi gan yee :beer:

Taptaptapatalkerz dari GT-i8160 saya.
[Galaxy Ace II Android Development] malamharian:
When i checked it i only have 8 governors and 3 io schedule. What went wrong in my flashing?
[Galaxy Ace II Android Development] hafidzduddin:
Try download again. Maybe you flash wrong kernel.

Dont forget extract kernel before flash via dd

Because file used in dd cmd is kernel.bin.md5

Yuu mari :D
[Galaxy Ace II Android Development] rozyid:
Ooohhhh is not good... i have ever known in xda forum.. kernel with over clock... until 1,2 ghz... i dont know what is it with custom recovery or not... coz i have never tried it.
[Galaxy Ace II Android Development] hafidzduddin:
It just change freq number in cpufreq. Nothing effect :p
[Galaxy Ace II Android Development] rozyid:
Reallu..... i understand it.
[Galaxy Ace II Android Development] malamharian:
i tried redownloading gt-i8160 kernel on first page. Flashed it correctly.
[Galaxy Ace II Android Development] lokeshsaini94:
wow!!! great....
[Galaxy Ace II Android Development] sdke:
btw, do you have to make init.d yourself or what? I don't understand that part
[Galaxy Ace II Android Development] Komsung:
As @settu_kliwon asked above, can someone answer how to check version of governor?
[Galaxy Ace II Android Development] hafidzduddin:
so hard to add it in touchkey source on our devices.

:(

'

nofrills cpu control
[Galaxy Ace II Android Development] WiCiO_MeDi:
v1.2 Pegasus / sio

Wifi off, airplane mode
[Galaxy Ace II Android Development] hafidzduddin:
your cpu integral is true?
[Galaxy Ace II Android Development] arroyo:
It does not look like I8160 at all. 3D is way too low and RAM and CPU is way to high. It looks like Snapdragon S3 ... am I right? XPERIA S?
[Galaxy Ace II Android Development] WiCiO_MeDi:
What can i say? Benchmarks suck or i've got pretty nice cpu :P

Gprs on, pegasus, sio:

UPDATE:

by the way, can you make separate packages for kernel and recovery?

so one could flash CWM or TWRP and then only kernel itself?

or is it just me looking for you to something to do.... :silly:
[Galaxy Ace II Android Development] hafidzduddin:
what tweak you use?

:D
[Galaxy Ace II Android Development] WiCiO_MeDi:
magic fingers :D

and my kick a$$ rom :p
[Galaxy Ace II Android Development] arroyo:
@WiCiO_MeDi

Your RAM (1100) and CPU Integer (>2000) is not natural for I8160. If you found some nice tweaks, than share it please.

Rright now it looks more like nice photoshop trick or another device. Proof or it didn't happen ;)

I am using Stock Lite 1.3 with HD 1.3 CWM kernel and I have tried all PmR optimizations configs. NO WAY TO PUSH ACE 2 DEVICE TO THIS LEVEL. Bez JAJ!
[Galaxy Ace II Android Development] WiCiO_MeDi:
bah! what's the point in posting fake numbers?

i've submited the score (no. 649370) but don't know how to show it to you.

i've got clean system (no scripts), nofrills to setup sched/gov and about 50 apps installed - normal smartphone usage.

can't explain the score other then benchmark fault.

any other bench app to make comparison?
[Galaxy Ace II Android Development] luigisvc:
please try linpack and send numbers

Enviado de meu GT-I8160L usando o Tapatalk 2
[Galaxy Ace II Android Development] arroyo:
I dare you, I double dare you WiCiO_MeDi... Linpack for Android and Quadrant Standard Edition. :cowboy:
[Galaxy Ace II Android Development] WiCiO_MeDi:
Linpack single and multi. This bench gives numerous results.

And quadrant. How did i do? :)
[Galaxy Ace II Android Development] gidano:
sorry, I can't delete it
[Galaxy Ace II Android Development] gidano:
Test Results

My SGA2 with Kyrillosv4 ROM and eX-Kernel v1.2 test results... :highfive:
[Galaxy Ace II Android Development] luigisvc:
Wow. your MULTITHREAD seems amazing, there is something special with your phone, but in the others test look similar my results.

How is it possible? Let our skilled members answer :)
[Galaxy Ace II Android Development] yethz:
Can you share your tweaks? :angel:
[Galaxy Ace II Android Development] WiCiO_MeDi:
as stated before.. no tweaks, scripts, tools, optimizations and voodoo magic.. :D
[Galaxy Ace II Android Development] yethz:
Oww... That's really cool bro :o

What Kernel version and ROM version you are using?
[Galaxy Ace II Android Development] tonus76:
I tried hd ex 1.2 kernel, but it can't make a backup.
[Galaxy Ace II Android Development] WiCiO_MeDi:
Stock Lite v1.2 with EX Kernel v1.2

do your linpack bench also throws random results?

i've seen numbers between 29mflops and 122 but with 'inconsistent result' in Precision.

as a side note:

my desktop cpu gets 45gflops so if anyone would be amazed that their mobile has 'faster' cpu then pc, think again 'cause it's completly different architecture ;)
[Galaxy Ace II Android Development] Thvmh:
On stock rom, when you connect to a bluethoot device the phone sometimes reboot.
[Galaxy Ace II Android Development] Komsung:
@hafidzduddin is there some special reason that you don't update your first post with the latest version of your kernel (1.3)? I use it since week and i didn't notice any problems.
[Galaxy Ace II Android Development] mkel91:
No reboot so far? With alle scripts in init.d?

Inviato dal mio Galaxy Ace 2
[Galaxy Ace II Android Development] Komsung:
If you ask me, than yes no reboots. As I understood general difference for this version is cwm recovery instead of twrp.

EDIT: I found some information from @arroyo that like in my case, he had also some problems with lock screen on kyrillosv4. So this is for me the only bug. Maybe it will be better in next edition.
[Galaxy Ace II Android Development] hafidzduddin:
just tested

add zen iosched

remove some governor

add cfs tweak from thunder

use slub mem aloc

use tree preemp rcu (maybe i can use tiny rcu)

remove zram and swap (if someone needed, i'll add it again)

set swappiness to 0
[Galaxy Ace II Android Development] arroyo:
Is it TWRP or CWM based?
[Galaxy Ace II Android Development] luigisvc:
Why don´t you update first post anymore, this is minor updates, doesn´t deserve the place?

Anyway. I´ve been following the thread and testing all versions. I would like to say thank you.

Kernel is the only thing which I can change, custom ROM does not run for me because I have I8160L version, which lost 3g signal with european ROM´s
[Galaxy Ace II Android Development] luigisvc:
Sorry, I ve got error when extracting with 7zip, cannot extract and install with dd command
[Galaxy Ace II Android Development] tonus76:
cwm based.
[Galaxy Ace II Android Development] luigisvc:
did you manage to install it? how?
[Galaxy Ace II Android Development] hafidzduddin:
it just test version.

i lost all my source kernel after reinstall ubuntu.

my backup file crash :(

it work in L version?

your wifi not error?

your connection not error?

try download again.

i cant have any problem when download it

extract it and flash with dd command.
[Galaxy Ace II Android Development] arroyo:
@hafidzduddin

I have flashed your latest kernel (1.6 CWM) and definately you are going in the right direction. I am happy that you removed unnecessary blatware stuff.

I did not notice any errors ... yet. There were MANY of them in HD 1.2 TWRP. I am glad also that you moved to CWM, because TWRP bricked my SD card too many times before.

If I may suggest you something: Can you try to build your kernel from beginning (using latest Samsung source) and add only optimizations that were proven to be effective (without SWAP/ without new schedulers/without new governors). Just pure optimizations with CWM + init.d. Some kind of lite-stock kernel with Hafidzduddin (TM) additions. I am PHP programmer and sometimes the best way to move project forward and make it better is to start from the scratch.

Use GitHub - this will be usefull not only for you, but also for us, to find what can be "done better" ;) Your GitHub files are old.

@ all users

The smoothest and battery-efficent config for me is Ondemand+Deadline and it is available in stock kernel also. It gives better results than Pegasusq+SIO combo ... I think.
[Galaxy Ace II Android Development] titomax82:
1) Which governors did you removed? I love Lionheart!!!

2) Zram is no longer available in this release? or it just has not the init.d script (so if I have a backup of it... can i put it on)?