yashsingh1/xdaforums huggingface dataset:
[Galaxy S Advance I9070 Original Android Developmen] #Henkate:
[MENTION=3329816]mkaluza[/MENTION] : I'm still using no-swap 5.5.0 version with AOSP by JTeam. Today, i enabled mobile data (i didn't use it until now) and opened stock browser and in about 1 minute i got reboot (random reboot). After that, i didn't got anymore reboots. I don't know if was caused by the kernel or by the rom or by using your kernel in this rom ( note that i didn't have any other problem with this combo).

Unfortunately i can't provide an logcat as i wasn't monitoring (i didn't expect this).

Tomorrow, i will use the mobile data again to see if i get an reboot. I was lucky that i didn't got more reboots as i needed to use GPS hah.
[Galaxy S Advance I9070 Original Android Developmen] hispanico957:
Also me i use over Hastas CM12.1 Rom and after flash it remain on cyanogen logo ...

Hispa
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
That happened to me when uv/oc was too big. With stock voltages it works fine.
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
Yes, I'd like that - links to crashing and working version are welcome. This shouldn't happen... The app can crash, but the system should keep working... I don't know if it's the kernel or ROM, but probably you're triggering some bug. If you can give me all the info you have, I will take a look at it (no promises about fixing though).
[Galaxy S Advance I9070 Original Android Developmen] msafhang:
[MENTION=6338035]PeterXStark[/MENTION] [MENTION=3799890]hispanico957[/MENTION] [MENTION=6493161]Kapyszon[/MENTION]

If you still don't know how to fix the bootloop and still want to use mk kernel, then please read post:

http://xdaforums.com/showpost.php?p=60964131&postcount=424
[Galaxy S Advance I9070 Original Android Developmen] #Henkate:
I didn't touch the settings. The settings were default. Sorry that i didn't mention it in previous post. Later i will take a logcat and use mobile data and hope it will happen again to see what's the problem.
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
I almost don't believe you ;-p but... What you say doesn't happen to other people (somebody out of 1k+ users would complain probably... ), so it's probably problem of your configuration and I can't help you much with that...
[Galaxy S Advance I9070 Original Android Developmen] PeterXStark:
I actually fixed it.I mentioned in my post..but thanks.

I just had to flash the ROM again and it was good to go.
[Galaxy S Advance I9070 Original Android Developmen] #Henkate:
In not lying lol. I enabled mobile data today again and i didn't got any reboot. I didn't modified anything, the rom is aosp by JTeam untouched + your kernel (v5.5.0 no swap). I don't have any tweaks or whatever. I will use mobile data more to see if i get one more reboot to see what's the problem.

I won't reply anymore regarding this problem until i get an logcat which contain the problem...
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
Get 5.6.1 version - it's faster.
[Galaxy S Advance I9070 Original Android Developmen] edukardo:
Fatal Crash

Hi friends.

I'm using 5.6.1 in stock rom jelly bean. It worked reallly good, until...

Yesterday I plugged the phone in, turned it off and... nothing more. System didn't respond at all. Stuck on Samsung S Advance. Tryied wipping dalvik und cache... nothing. No boot any more.

I flashed cocore r_24 and system is working normally.

Obviously, impossible to take a logcat.

That's it. Don´t know if reflash mkkernel or stay at cocore.

Regards.
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
That is weird.. Maybe /efs/boot.cpio.gz is missing or is damaged? It couldn't "just stop working"... If it's there, you can try flashing mk kernel again (you can always get back to cocore) or just stay with cocore - it's a very good kernel.

[MENTION=4471434]Force[/MENTION] do I remember correctly that you said something about frequency locking at maximum value? I've recently encountered this condition when I changed max freq to 1250 from 1200. I don't think it's a problem with 1250 freq because of it's value, but rather because it's the last one - just don't use it ;)
[Galaxy S Advance I9070 Original Android Developmen] edukardo:
Yep my friend, very strange. I´ve flashed the correct ramdisk and all worked ok until yesterday. I was overclocking to 1100 mhz.

Bug is very simple to replicate, just plug the phone in and press button and select Turn Off. In stock rom with 5.6.1.

Perhaps is my phone matter, you know that all the phones are similar but not identical.

Yep, I want to use your fantastic kernel, found it smoothest than cocore´s. I´ll try again.

Buy the way, I haven't lost anything. All data is still there.

Regards and thanks
[Galaxy S Advance I9070 Original Android Developmen] #Henkate:
Yep, but it was locking at 1Ghz, i didn't overclock. Btw, what cpu control app are you using?

PS: why you don't make an app (kernel manager) like Novathor settings for your kernel? Hehe
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
Ok, so that's different. I use setcpu (and cpuspy plus to get a different view of stats)

There's the profile for synapse now, so you can control the voltage (will add vbbx at some point because it's very useful for oc) and for the rest there are other apps. Besides, I use scripts anyway. And I don't like java :P
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
Ok - you didn't mention the plug in part before. Maybe it's the problem with offline charging?

Anyway - try to flash ramdisk and kernel again and see if out works. And if the problem is easy to replicate, then just don't do it! :)
[Galaxy S Advance I9070 Original Android Developmen] edukardo:
Yes! I'm just warning you. Hohoho

Ps: Flashed again ramdisk and kernel, booted, optimized applications, starting applications and... bootloop. Flashed cocore again.

I'm confused.
[Galaxy S Advance I9070 Original Android Developmen] Zouhuo:
On the Stock ROM: I checked that the kernel [MENTION=3329816]mkaluza[/MENTION] (mk-kernel 5.6.1) is faster and consumes a little less battery, that the new version of Cocore r24.
[MENTION=3329816]mkaluza[/MENTION] Congratulations!
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
Thank you ;)

[MENTION=5311737]edukardo[/MENTION] then stay with CoCore if it works for you - I don't use stock, can't help you here much :(

Btw why still using stock? Try my Vanir build (05-28 release, stable) ;) I would never switch back now...
[Galaxy S Advance I9070 Original Android Developmen] edukardo:
I came from cm12. I'm taking a rest after 1000 flashes. Used vanir msny time, really good. Where can i found your build? Thanks
[Galaxy S Advance I9070 Original Android Developmen] Zouhuo:
[MENTION=5311737]edukardo[/MENTION], the problem seems the result of many tests with different ROM and Kernels. It would be good to start again.... Stock ROM ... etc ... :)

[MENTION=3329816]mkaluza[/MENTION],

I used Vanir before, it seemed the best ROM until they stopped development. Where can i download your build? Can you add the official repository Vanir?
[Galaxy S Advance I9070 Original Android Developmen] edukardo:
My friend, I'm on stock. I've reinstaled hole system days ago. Thanks anyway
[Galaxy S Advance I9070 Original Android Developmen] Zouhuo:
Yes, but before reinstalling the Stock Rom, sure to reformat all partitions.

Then, consider reviewing the differences. That is, is it correct the file you need boot.cpio.gz mk-kernel to run on stock ROM?
[Galaxy S Advance I9070 Original Android Developmen] #Henkate:
Can you share your scripts too? Better add them at OP. Also, is possible to check the actual cpu freq with an script / command? I asked this in some of my previous posts too, but you didn't answer.
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
Then stay on it for now. If that didn't help, problem might be specific to your device. Don't format too much (and obviously not /efs!).
[Galaxy S Advance I9070 Original Android Developmen] Zouhuo:
There I found the new thread vanir:

http://xdaforums.com/galaxy-s-advance/development/vanir-resurrection-t3120970

Excellent!
[Galaxy S Advance I9070 Original Android Developmen] edukardo:
Yep, thanks. But doesn't work for me. Reinstalled stock by odin, rooted, wiped cache and dalvik and data, formatted /system, then flashed and stuck on logo. I think is my device's matter. I've flashed dozens of roms and now can't flash a single one. Stay in stock until have time to research.

By the way, reinstalling allowed me to have mk kernel on stock again. I'm still a little bit alive...
[Galaxy S Advance I9070 Original Android Developmen] qbastrzem:
It is best to return to the gingerbread and JB again. Filesystem will repatriation

Send with my NEW Galaxy Grand Prime :)
[Galaxy S Advance I9070 Original Android Developmen] edukardo:
Yep my friend, thanks. We must never forget that our device was designed for android 2.3.6

There are many hero's running lollipop out there, is crazy.

Our device will be for sure a legend
[Galaxy S Advance I9070 Original Android Developmen] qbastrzem:
I just buy new device so I can sacrifice my advanced :)

But must say that now on stock JB it's run like a dream.

Send with my NEW Galaxy Grand Prime :)
[Galaxy S Advance I9070 Original Android Developmen] edukardo:
Yes, the mk kernel with proper ramdisk is incredible smooth in stock jb. Thanks buddy.
[Galaxy S Advance I9070 Original Android Developmen] hehk1234:
Awesome work :cowboy: , When cm12 will become more stable, you will try port your kernel for it ? thanks
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
They are mostly on my github, so just look there - I'll try to update them at some point.
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
Yes - if it's stable, I'll do it. Right now there's too much going on there for me to support it
[Galaxy S Advance I9070 Original Android Developmen] edoardotavecchio:
Is it possible to undervolt gpu or cpu on Mk Kernel release 5.7.0 noswap? And how could I do it?
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
Use Synapse (included in Vanir my rom) or from the shell as in CoCore: http://xdaforums.com/showthread.php?t=2140597

But the rule is - if you have to ask (esp when having Synapse on board already), don't do it - you'll just get unstable phone...
[Galaxy S Advance I9070 Original Android Developmen] No-Lags:
Hello.. [MENTION=3329816]mkaluza[/MENTION] : I just install a new kernel for v5.7.3 (no swap) in the CM11 ROM. I noticed that "KSM feature" re-activated. From my experience it makes lag for CM11 ROM (in my case). Btw, the kernel v5.7.3 build a little lag in the UI :( . Then I tried to install the application Synapse, and yes I know the synapse doesn't support for CM11 ROM. After that I tried to immerse UKMs folder from the Vanir ROM: System/UKM (like the one I saw in the zip folder arrangement of ROM Vanir - before it is installed) :D hope synapse can detect tweak the configuration of the kernel. The result was not working. :( But, here are strangely CM11 ROM becomes smooth. I think the event is a bit strange. :) I mean here is that you can make a zip file to be installed through the CWM so that synapse can work well in CM11 ROM / AOSP. If you deign and has a Free time. That's it. Thanks in advance. Regards

EDIT:

What is the purpose of the UCI? Whether it is in the form of a file or folder? Because I just saw a file in the UKMs folder (uci and uci~). I've tried to do to put UKMs folder to data/UKM and put UCI file to the system/xbin/uci and didn't succeed. I also have set permissions (rw-r-r) per file/folder. But It was also not successful. I hope you help to provide support for synapse can work well in CM11 ROM or other Kitkat. Thanks very much.
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
UKM is still work in progress for my kernel. When it's at least stable-ish, I intend to ship it with mk kernel cwm zip.

Uci is the UKM tool that generates config file for Synapse - synapse is just a "dumb"/universal ui. All the magic is done in UKM.

I didn't even announce r5.7 as r6 is being prepared - it'll have different handling of ramdisks that should eliminate most problems these now cause.
[Galaxy S Advance I9070 Original Android Developmen] No-Lags:
Well ... I'll wait for the results of your work. Ones again i say Thanks very much for the explanation and Your dedications against these older devices. I really appreciate your work Sir. Regards. :)
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
release 6.0.0

Hi guys!

New version is out ;) Main improvements:

1. Ramdisks are not needed anymore - kernel contains all the ramdisks I had available and uses the right one. And no - it doesn't use extra ram Additional ramdisks are removed once the right one is selected. You can still create and use one, but it has to be named boot.XX.cpio.gz, where XX is the right sdk version (see /system/build.prop) - other wise it's ignored. This should help avoid situations where one has wrong boot.cpio for current rom

2. liveopp: arm_stepXX files show decoded Vbbx voltages - should make oc/uv a bit easier

As for UKM/Synapse... developer told me to go to /dev/null (https://github.com/AndreiLux/Synapse/issues/49 and https://github.com/AndreiLux/Synapse/issues/50), so to fix those I need to have my own build of Synapse, and this will take a while... But I'm working on UKM scripts and once they are useful enough, I'll include them with the kernel
[Galaxy S Advance I9070 Original Android Developmen] msafhang:
[MENTION=3329816]mkaluza[/MENTION]

With kernel ver. 6.0.0 I get system ui crash on cm12.1 so I think the ramdisk is not compatible and should be make manually by the user, also I can not access kernel recovery.

I'm going back to version 5.7.3
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
Damn :/ Indeed entering recovery was not possible. I'm sorry for the mess. If anyone else downloaded and flashed r6.0.0, download r6.0.1, extract zImage from it (either unzip it on the phone or unzip it on the pc and push zImage file) and write the kernel manually (dd if=zImage of=/dev/block/mmcblk0p15) or using universal kernel flasher for our phone.

As for CM12.1 - sorry - that's the ramdisk I had... if I get another/better, I'll update. Also my kernel won't reboot/shutdown on L due to a missing patch, but I think this should be fixed in android, not kernel, so I'm not applying it for now. 12.1 is still officially not supported.
[Galaxy S Advance I9070 Original Android Developmen] No-Lags:
Hello [MENTION=3329816]mkaluza[/MENTION] .. I have found my device can't boot. Due v6.0.0 kernel has been installed. What can I do with the zImage files? Is zImage file can I install with Odin via PC? Thanks for help and explanation. Looks like I need a boot.image file to do so via odin, right? :(
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
Yes, flash zImage with odin. What rom do you have
[Galaxy S Advance I9070 Original Android Developmen] No-Lags:
I use the latest ROM Vanir yours Sir. :) Can you explain exactly where I should put the file zImage in Odin? Whether it should I put in the Bootloader or PDA in Odin? Thanks for the explanation.
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
Then why the hell did you even upgrade that kernel?... eh... I don't know - I don't use windows... Definately not boot loader. Look for 'Kernel' and/or ask someone with windoze..
[Galaxy S Advance I9070 Original Android Developmen] TPD-21:
Hi ... you can download the kernel file named canjikernel that made by diego.ch. Here

The instructions are the same, namely:

1. Download The file

2. Use any version of Odin. (I suggest v3.0.7)

3. Put the files mentioned above in PDA (not the other)

4. Enter to Download Mode

5. Make sure the cable is connected properly between the PC and Janice.

6. Press the Start button.

7. Wait for a moment and then you will enter the CWM version 6.0.4.7.

8. Wipe cache and wipe Dalvik cache via CWM.

9. Install the latest MK-Kernel v6.0.1 (if I'm not mistaken view it).

10. Wait until the green Odin then pull the data cable. Done. ;)

I hope this helps. :rolleyes:
[Galaxy S Advance I9070 Original Android Developmen] No-Lags:
Yeayy ...!! You have saved my old device. Thank you very much Bro ... :highfive:
[Galaxy S Advance I9070 Original Android Developmen] applejack0ff:
[MENTION=3329816]mkaluza[/MENTION] Wi-fi isn't work on

:c
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
#worksforme

You of course tried this: https://github.com/mkaluza/Samsung_STE_Kernel/wiki/Debugging-not-working-wifi
[Galaxy S Advance I9070 Original Android Developmen] jadega:
Does v5.7.3 support CM 12.1?
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
No - reboot doesn't work. Apart from that it should be fine once you install correct ramdisk, but officially "no".
[Galaxy S Advance I9070 Original Android Developmen] Gonnelli1355:
Sorry, I see that f2fs is supported on this kernel. But how to make it work?

How to format partitions?

Thanks for help
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
Only from the shell. It's there for experiments only - I do not plan on developing it, so without Linux knowledge it's of no use to you.
[Galaxy S Advance I9070 Original Android Developmen] tksko:
Does this kernel works on official Stock JB 4.1.2 ? can i flash it with CWM?

thanks!
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
It should work. If not, flash CoCore kernel - it's made specifically for JB.
[Galaxy S Advance I9070 Original Android Developmen] No-Lags:
Hello.. [MENTION=3329816]mkaluza[/MENTION]: I want to ask again related commands that you mentioned this.

for f in /sys/kernel/liveopp/arm_step0*; do echo vbbx=0xcc > $f; done

?? According to my understanding, I need to remove and replace line scripts contained in the file "arm_step00 - onwards"

Vbbx (p, n): -200 mV, 300 mV (0xeb)

With this script line

echo vbbx = 0xcc > $f;

or just simply add just under vbbx script lines that existed before that for u'r kernel? Thanks for the explanation.
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
I am sorry, but I don't understand what you're asking me about... Where did you get this code from? Maybe you should ask the author? And my advice - go read about vbbx and overclocking of ste platform and you'll probably find the answer to your questions
[Galaxy S Advance I9070 Original Android Developmen] Cassiusss:
Hi mkaluza!

I'm using the last version of your kernel on stock Jelly Bean.

Sometimes, when i turn the screen on, everything is displayed upside down. Like this: http://xdaforums.com/showpost.php?p=12627561&postcount=18

Then if i turn the screen off and on again, it goes back to normal.

Don't know why, so i'm asking you if you have any idea about this little odd bug. :)

Kernel settings are untouched, i don't have applied any mod to the stock rom. On my phone i've only few apps (Chrome, Youtube, Gmail and some games)... so nothing that could cause the bug... i guess...
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
Thats odd ;) It never happened to me... I use Vanir, so I can't even test it, sorry...
[Galaxy S Advance I9070 Original Android Developmen] Cassiusss:
Yeah, it doesn't happen on KitKat, only on Jelly Bean...

Thank you anyway. :)
[Galaxy S Advance I9070 Original Android Developmen] pictorul20:
Welll, funny thing is that , after i did your suggestion with changing permission it worked . Both wi-fi and both usb . Maybe is related to rom versions. I`m on 11.24.2014 vanir version. I will probably check debugging later since now I`m a bit busy and in this moment I don-t have the right time for doing this. maybe tonight or tomorrow .

P.S: I do have a question: libart.so is a fully working version? I mean, does it have all the updates, enhancements and fixes so that would be close to the art seen in lollipop? Or , does libart.so can be modded to be similar with lollipop art? It would be nice if that could be done. I saw this phone it got almost 0 lag at all when all enhancements are applied ( oc, art, animations ) so yeahhhh, I still don-t believe u need a quad cpu smartphone just to run a smartphone software just for daily use. for those whom still wants heavy gaming, I think desktop pc is more convenient. But that-s my opinion.
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
I'm happy the issues are resolved :) I'll try to improve update.zip script to check for permissions.

And guys - please use quotes reasonably...
[Galaxy S Advance I9070 Original Android Developmen] errorsys:
[Kernel][3.0.101] MK kernel r3

Where to find mentioned update.zip ?

I haven't found it at post #1 :confused:
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
Here you are ;)
[Galaxy S Advance I9070 Original Android Developmen] nss357:
[MENTION=3329816]mkaluza[/MENTION] so you've fixed wifi already? Nice :good:

Anyway gonna flash r3 now, what's the debug is for?
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
It was never broken in the first place ;P I don't know why problems with permissions happen... r4 will have an updated recovery script to explicitly set those permissions...

It has many features useful for kernel debugging ;) For 99% of people completely useless. But actually debug release is closer to what original kernel config was. Release version has most of this removed, which results in 3mb of ram more :) Of course all the things needed for tuning are present in Release version :)

Debug version is here if anyone was missing anything for some reason, but the truth is that if anyone would need any of those removed things, they would be building their own kernel anyway

See here

https://github.com/mkaluza/Samsung_STE_Kernel/wiki/Debug-vs-release-build
[Galaxy S Advance I9070 Original Android Developmen] imit:
Are you going to fix stuttering (sometimes animations has low FPS until next reboot) that is present on pheraps all CM11 roms?
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
I don't know ;) it's the first time I hear about it ;) is there any way to reproduce it easily? Are you sure it's caused by the kernel and not rom? Anyway, try this kernel as it is - maybe it'll help. Use dynamic governor.
[Galaxy S Advance I9070 Original Android Developmen] imit:
I experience it on any KitKat rom on my S Advance, with standard AOSP kernel or yours. On stock JB animation feels smooth. I cannot reproduce this kind of bug, it just starts doing by itself till another reboot - sometimes right after boot. I tried to wipe many times, doing clear install etc.
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
Then I'm afraid I can't help you... sorry :(
[Galaxy S Advance I9070 Original Android Developmen] LyNChP1N:
Am using this kernel with vanir rom 112414 version.

I dont know if these bugs have anything to do with this kernel, so just reporting.

1. In call audio recording says failed. Doesnt work. Kernel related?

2. Takes forever for screen with end call button to appear when you dial a number(it comes after the call goes through)

Am using dynamic governor. Battery drain seems high but am not sure. Havent used long enough to comment on that
[Galaxy S Advance I9070 Original Android Developmen] wolverinemaister:
The only problem i experienced is that there's no bootanimation even if i enable it, only graphical glitches. Not a big deal im just sayin. Thanks for your work you really gave us a christmas present (there's still somebody out there developing for this phone :fingers-crossed: ).
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
I'm using 111914

So the question is - did it happen with the old kernel?

Don't know - never used it. But I'll try to test it. In the mean time can you check our Vanir thread to see if it's maybe the problem with rom.

Works fine for me

Ok - after you do, switch to your old gov with your old settings and compare - this way we'll know if it's the gov or the whole kernel.

Thanks for the input.