yashsingh1/xdaforums huggingface dataset:
[Galaxy S III Android Development] arter97:
U saw dat switch on aTweaks dedicated 4 U buddy? :P
[Galaxy S III Android Development] Mostafa Wael:
Well to be honest, i did not get the kernel yet due to slow connection as a result of bad weather :D

but, also with or without that fully-dedicated-to-me vnswap switch, you are always one of the greatest devs i really saw :highfive:

merry xmas

and let's enjoy our day :)

isn't that right, we have to enjoy ourselves now buddy :p

---------- Post added at 01:57 PM ---------- Previous post was at 01:55 PM ----------

can't he use that way if he insists on installing lollipop as 2nd ROM?

http://xdaforums.com/showpost.php?p=56713931&postcount=1765
[Galaxy S III Android Development] Arbelzapf:
Thank you very much for the update. Finally being able to set mdnie settings on Lollipop is great. Running well so far
[Galaxy S III Android Development] Mostafa Wael:
please can u share it ?

thx :)
[Galaxy S III Android Development] arter97:
Back up & restore method will always work, but not officially supported by me.. :P
[Galaxy S III Android Development] senthilaca:
Can I use this kernel on latest RR Lollipop ROM?
[Galaxy S III Android Development] Targaeryan:
Yeah it works. But I had to reflash supersu (had it flashed before) to gain root access.. Not sure about superuser since I don't use it.
[Galaxy S III Android Development] scorpionhd2:
[MENTION=4898097]arter97[/MENTION]

Thank you for all of your hard work!

Happy Holidays to you and your family!
[Galaxy S III Android Development] senthilaca:
Thanks mate!
[Galaxy S III Android Development] Playbooy:
Hi! :)

I have a problem when switching applications or scrolling, eg. In the settings there is a lag / slowdown

I use S5 Sensation rom

And I have a big request, you can add zRAM, Swappines and LMK?
[Galaxy S III Android Development] PriteshChauhan:
I saw the suggestion that your kernel can be flashed over any other custom kernel and no need to revert to stock kernel before flashing. Is it correct? Coz other custom kernels probably don't support such flashing...

I want to try your kernel pls let me know can I dirty flash it over ArchiKernel 1.7.2?

---------- Post added at 02:44 PM ---------- Previous post was at 02:42 PM ----------

Thanks [MENTION=4898097]arter97[/MENTION] for the wonderful contributions to our S3

Merry Christmas and have a joyous holiday season
[Galaxy S III Android Development] senthilaca:
Installed beta 3 on RR latest ROM.. Do I need to do any changes in awteaks or default settings fine?
[Galaxy S III Android Development] ~DemonLord~:
[MENTION=4898097]arter97[/MENTION] Installed beta 3 on alpha v7 rom and was previously on beta 2. Having boot loops, and phone just never starts. Tried clearing preload but didnt work. It started once but everyone was black and did not start. Any help here? Installation was succesful btw. Reinstalled beta 2 working now.

Edit: everything is crashing after a restart. internet with wifi and data is not working and most apps are just crashing particularly play store...
[Galaxy S III Android Development] agusdallalba:
vnswap

What's this vnswap? How does it work? A quick Google search revealed nothing, but aTweaks says it uses internal memory. Now, my MMC is already very worn out, won't swap on it be slow and make the wear even worse?

Thanks.
[Galaxy S III Android Development] aliffaminuddin:
how do i revert back to stock kernel from unofficial cm12 beta1?? i tried flashing the rom again but the kernel still hasnt changed, still your kernel.
[Galaxy S III Android Development] ~DemonLord~:
Tried reflashing rom from scratch after formatting everything. Kernel beta 3 instals but does not boot up. not sure what im doing wrong.
[Galaxy S III Android Development] katolink:
This kernel uses a script placed in the /system/addon.d folder to preserve the kernel after update/reflash.

You should try this:

1- format system

2- install the new ROM without any wipes

3- flash your desired kernel and reboot.

Hope it helps you! Report back anyway.
[Galaxy S III Android Development] cba1986:
Excellent job as usual. Merry Christmas!
[Galaxy S III Android Development] Mostafa Wael:
latest beta3 is f@#%ing smooooooooooooooooooooooth on latest CM12 beta2

that is my daily driver for now! :D

and BTW i saw that vnswap switch, this is amazing!!

Thanks again [MENTION=4898097]arter97[/MENTION]

enjoy yourselves :)
[Galaxy S III Android Development] fcaronte:
i remember that the starting version of cm12 have two zip type, "old" and "block based", with old zip i could install normally as second rom but with new format no.....so is possible to convert new block format in old format? and if yes how? or depend o building method??

good job with your alpha 3 and hope to have block based for second partition rom in next update :) and Marry Christmas!!
[Galaxy S III Android Development] GrayJack:
[MENTION=4898097]arter97[/MENTION]

As for latest recovery - the same problem I have reported already.

And now I am pretty sure it is caused by kernel in recovery because the situation is pretty similar - and is totally absent in both original Philz and 6.58.9 version built by temasek (both are based on CM11 kernel if I am not mistaking).

Summarizing all together:

- original CM11 kernel gives stable backup procedure, but no f2fs and freezing Aroma Filemanager when proceeding folders with a lot of files (/system/app for instance).

- arter97 kernel gives f2fs and excellent work of Aroma Filemanager - but problems with backups.

The above mentioned was tested on pure stock ROM with no additional apps as well as with ROM with installed apps for every day use (as stated in signature). The result is the same.

Maybe some issues caused by different mounting points (/mnt/sdcard1 and /mnt/extsdcard) or by the fact the kernel mounts extsdcard only before backup in original recovery (according to what is displayed)?

Let me know if you need some additional test and/or info/logs. I'd be happy to help to solve this problem.
[Galaxy S III Android Development] sperelli:
downloaded and installed. been using for a while (signature): impressive job!
[Galaxy S III Android Development] Mostafa Wael:
well everything is fine here with Philz 6.48.4 "Backup and restore works flawlessly on sdcard and extSdCard"

don't know why this happens to you ?!?!
[Galaxy S III Android Development] Wyneg:
Hi [MENTION=4898097]arter97[/MENTION]! Which kernel is better for i9300? Back to noot v6 included or kernel beta 3?

Thank you!
[Galaxy S III Android Development] senthilaca:
Hi bro.. Any recommended settings with aTweaks? Like LMK or something else to improve battery life? or default settings enough? I'm on RR Rom V5.25 latest one.

Thanks
[Galaxy S III Android Development] kifla127:
This kernel works with RESURRECTION rom?
[Galaxy S III Android Development] senthilaca:
Yes it works fine.
[Galaxy S III Android Development] ~DemonLord~:
Still does not work for me. Stuck in boot. Tried every combination of flashing and formatting everything with two different roms. tried downloading it again but still same problem. Device boots only when i install any other kernel. Any help? all roms i have tried are sammy roms 4.4.4 . using philz touch 6.48

Edit: updated recovery 6.58.9 still no avail. Very strange, something like this never happened before. its like this isnt for me device! help would be appreciated
[Galaxy S III Android Development] Mostafa Wael:
Well, although i said it before, but no problem to say again, merry xmas :D

Now the LMK part

--> for Back-to-n00t based ROMs (aka Touchwiz 4.4.4) <--

46/58/75/135/160/212

Advice: Debloating is recommended, and if you are using an app like ViPER4Android for instance and it is getting killed, push it to /system/priv-app

--> For Lollipop ROMs <--

46/58/75/94/112/133

--> Any other ROM (Touchwiz 4.3 and AOSP 4.4.4) <--

Stock LMK values which are 48/60/72/84/96/120 "taken from pure stock ROM android 4.3 after an odin flash, so i am 100% sure these are the stock ones" ;)

How to set those LMK values? use a 3rd party app. I personally use RAM Manager Pro, or Kernel tweaker!

Hope that helps you and everybody else

NOTE: This has been tested by me only, which means that it fits perfectly my usage, but what guarantees that it can fit you also, is that i tested on extreme situations and true multitasking (yeah count on me when it comes to multitasking :p )
[Galaxy S III Android Development] mda120:
Hello, can someone explain me how vnswap works and how to enable it? Is there any extra step required? Thanks.
[Galaxy S III Android Development] Mostafa Wael:
well vnswap is just similar to zRAM, there was a post by arter97 himself saying pros and cons of each them, and he may be more useful when it comes to the "How it works" part, he is a dev, he is the master, he is the man

There is no extra step to be done if you are on TouchWiz ROMs, but if you are on AOSP and you need it, then Go to the Misc tab in aTweaks and scroll down down down and then enable the last option where it says "Enable vnswap on AOSP"

---------- Post added at 11:54 AM ---------- Previous post was at 11:42 AM ----------

cat /proc/swap [MENTION=4898097]arter97[/MENTION] remember this command when we needed to test whether it is fine or not?

well it works but you have to type "swaps" instead of "swap" at the end

will that cause a problem ?
[Galaxy S III Android Development] senthilaca:
Thanks mate!! :) Will try it out.. Merry Christmas :):D
[Galaxy S III Android Development] GrayJack:
I have no idea.

Maybe because of backup settings? The issue happens when I tick everything in custom backup with exception of efs and and ext-sd. I don't know and that's why I have proposed to make any logs necessary.
[Galaxy S III Android Development] Mostafa Wael:
[MENTION=4898097]arter97[/MENTION] is back-to-n00t

V5

based ROMs support dropped ?!
[Galaxy S III Android Development] arter97:
Two methods are defined at the build time.

There will be no easy way to convert one method to another.
[Galaxy S III Android Development] arter97:
If you can extract recovery's ramdisk and use adb, extract official PhilZ recovery's etc/recovery.fstab and 'adb push recovery.fstab /etc/' and 'adb shell killall recovery, see if this solves the issue.
[Galaxy S III Android Development] arter97:
If you want ultimate stability, back-to-n00t's kernel may be better.
[Galaxy S III Android Development] arter97:
No, it should work..
[Galaxy S III Android Development] milojoseph:
Can this work or be ported for d2lte
[Galaxy S III Android Development] cangcan:
[MENTION=4898097]arter97[/MENTION]..may I ask if you will include gpu OC and UV on later release? but if you think that its useless to do so..nevermind then..i just wanted to taste super ultimate performance mode from your kernel on antutu and saves more battery juice at the same time.. :p
[Galaxy S III Android Development] gabyif:
[MENTION=4898097]arter97[/MENTION] possibly in a further release we can see the boeffla sound engine included in aTweaks and some options for zram and LMK also.I like all of them in a single app,of course if you want,can and have the time.Anyway good kernel :D
[Galaxy S III Android Development] anuraag.neo:
[MENTION=4898097]arter97[/MENTION]

Please add zram
[Galaxy S III Android Development] cba1986:
[MENTION=4898097]arter97[/MENTION] Could you check if GPS is working correctly with beta3?

i did a clean install using nameless + this kernel and i cannot get any satellites. this also happens with temasek 162.1.

Thanks
[Galaxy S III Android Development] vinodr5371@xdaroms.co.in:
Gps Working fine with RR ROM..
[Galaxy S III Android Development] arter97:
No.
[Galaxy S III Android Development] arter97:
None of my testers and friends got their devices run well after GPU OC and UV.

I'm honestly not interested in adding a feature that might breaks majority of users.
[Galaxy S III Android Development] arter97:
I see Boeffla app on Play Store is better than aTweaks.

zRam is now gone, replaced with vnswap.

LMK is related to Android ROM, not the kernel;
[Galaxy S III Android Development] arter97:
I'll make a recovery that has a stock PhilZ fstab later for you.

Let's see if that fixes it.
[Galaxy S III Android Development] fcaronte:
Ah.... We can use boeffla app to set your kernel?good to know :)

Edit... Ok you talk about boeffla sound not boeffla app (this is not working) my mistake
[Galaxy S III Android Development] Gaideran:
I'm having the same problem. It seems to flash fine, but when I reboot it gets stuck. Tried Dirty Unicorns v8.1 and Temasek's unofficial v1.62 roms.
[Galaxy S III Android Development] eatsleep:
Is it me only or the screen looks a little blured on beta 3 and cm 12 beta 2?

The launcher icons and ui is a little blured (i flashed it on archikernel)
[Galaxy S III Android Development] Virnik0:
Well, I have found following setup for LMK more reliable in matter of battery life and overal stability with LP ROMs
[Galaxy S III Android Development] ~DemonLord~:
I asked around and it seems the problem could have been a newer ramdisc or something. Other roms are still based on old back to n00t versions. BUT Blekota just released V3 of his note 4 series based on the latest build of back to n00t and this time installing beta 3 is even worse. Boot animation does not appear and its again stuck. This is very odd. [MENTION=4898097]arter97[/MENTION] you need to take a look here im sure this issue will arise for many others.
[Galaxy S III Android Development] Virnik0:
Yes, there should be some tweaks to LMK profiles as well, as Boeffla himself said that he'll may make profile I gave him (see my screenshot), as it behave really, really rock solid stable. No background kills, no freezes, etc.
[Galaxy S III Android Development] makey404:
Here is arter97 pros/cons post: http://xdaforums.com/showpost.php?p=56636774&postcount=1750 [MENTION=6210990]mda120[/MENTION]
[Galaxy S III Android Development] GrayJack:
Oh thank you!

I believe the only change you should make is to replace fstab.smdk4x12 with attached one.
[Galaxy S III Android Development] Mostafa Wael:
will test those values and see, hope they fix the occasional freezes/black screens on LP

if so, then they will replace my elder LP ones :D

thanks a lot for helping in experimenting for LMK :)

EDIT: I notice that your LMK values are a bit 'aggressive' towards Content Providers, and that is not that good

i modded the values a little bit to balance things off :D

here are the modded ones ( 15/29/46/109/120/145 )

and BTW, i am using

Vnswap

so ensure that you are enabling vnswap for AOSP ROMs in aTweaks .... it really differs
[Galaxy S III Android Development] mda120:
Are you facing launcher redraws with those settings? Could you please test with Chrome? This is happening to me after visiting xda. I have vswap enabled btw
[Galaxy S III Android Development] Virnik0:
That setup will probably impact your apps in the future and your phone may start freeze in case you're running too many apps in the background.

I have found following to be stable: 10/20/30/130/140/150

No redraws.
[Galaxy S III Android Development] Mostafa Wael:
okay let's give it a try tomorrow then

Thanks again :)
[Galaxy S III Android Development] Virnik0:
You may notice that those values are little bit higher then those I presented in my screenshot. That's because I had to use more agressive setup when using older version of arter's kernel (dunno why). Values I described in my previous post works fine for all kernels I have used so far (counting latest Arter's kernel).

BTW, what's that with vnswap? I mean - I am Linux Engineer, so I know about swap, but I'm little bit afraid that using vnswap in combination with noop I/O sched will burn my storage (I do have very high quality class 10 SD, so it should endure for a while, but what about long-term use?).

Can you elaborate a bit? What impact does it have in reality? (yes, I saw the technicals, but I'm asking for your personal experience).
[Galaxy S III Android Development] Arbelzapf:
Yup, I get a 0.

So this is basically zram in disguise right now, while it ideally would be caching to MMC if it was working as intended, did I get that right?
[Galaxy S III Android Development] ayoubij:
Can you help the developers fix it in their stock kernel too please
[Galaxy S III Android Development] Marvis21:
[MENTION=4898097]arter97[/MENTION], maybe i did something wrong, but i'm on philz_touch_6.41.6-i9300 and it seems your kernel install, but wenn i restart my phone with archiport preview 4, aTweaks show "arter97 kernel not found!"

Any idea?

[MENTION=3443334]Kryten2k35[/MENTION]

Libs look like the same then in Archiport. So it could be a kernel issue?

Greating!
[Galaxy S III Android Development] chiwy:
Philz 6.41.6 does not work with this kernel.

Flash 6.26.6 and all perfect!

Enviado desde mi GT-I9300 mediante Tapatalk
[Galaxy S III Android Development] arter97:
libandroid_runtime.so (Compiled ourself, very complicated)

framework.jar

frameworj2.jar
[Galaxy S III Android Development] Erik1805:
Does this kernel work with the lateste Archiport V4? And is it a improvment?

Thanks
[Galaxy S III Android Development] MattBooth:
Which files in framework.jar and framework2.jar?

I'm experimenting with framework.jar myself I'm in the android/hardware folder.

EDIT:

My messing around leads to:

E/dalvikvm( 4078): Requested: Landroid/hardware/SystemSensorManager;.native_get_motion_sensor:(Landroid/hardware/Sensor;I)I
E/dalvikvm( 4078): JNI posting fatal error: RegisterNatives failed for 'android/hardware/SystemSensorManager'; aborting...
I/dalvikvm( 4078): "main" prio=5 tid=1 NATIVE
I/dalvikvm( 4078): | group="main" sCount=0 dsCount=0 obj=0x41995d08 self=0x400a9768
I/dalvikvm( 4078): | sysTid=4078 nice=0 sched=0/0 cgrp=default handle=1074418004
I/dalvikvm( 4078): | state=R schedstat=( 475623995 33179837 268 ) utm=39 stm=8 core=0
E/Netd ( 4079): execIptablesCommand, ret: 0, fail_count: 0
E/Netd ( 4079): execIptablesCommand, ret: 0, fail_count: 0
I/dalvikvm( 4078): #00 pc 0000132e /system/lib/libcorkscrew.so (unwind_backtrace_thread+29)
I/dalvikvm( 4078): #01 pc 000615d2 /system/lib/libdvm.so (dvmDumpNativeStack(DebugOutputTarget const*, int)+33)
I/dalvikvm( 4078): #02 pc 000555b4 /system/lib/libdvm.so (dvmDumpThreadEx(DebugOutputTarget const*, Thread*, bool)+395)
I/dalvikvm( 4078): #03 pc 00055622 /system/lib/libdvm.so (dvmDumpThread(Thread*, bool)+25)
I/dalvikvm( 4078): #04 pc 00049ea0 /system/lib/libdvm.so
I/dalvikvm( 4078): #05 pc 00001fd2 /system/lib/libnativehelper.so (jniRegisterNativeMethods+81)
I/dalvikvm( 4078): #06 pc 0008b98c /system/lib/libandroid_runtime.so (register_android_hardware_SensorManager(_JNIEnv*)+15)
I/dalvikvm( 4078): #07 pc 000528fa /system/lib/libandroid_runtime.so
I/dalvikvm( 4078): #08 pc 00052be8 /system/lib/libandroid_runtime.so (android::AndroidRuntime::startReg(_JNIEnv*)+23)
I/dalvikvm( 4078): #09 pc 00053ea8 /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+183)
I/dalvikvm( 4078): #10 pc 0000105a /system/bin/app_process
I/dalvikvm( 4078): #11 pc 0000e470 /system/lib/libc.so (__libc_init+47)
I/dalvikvm( 4078): at dalvik.system.NativeStart.main(Native Method)
I/dalvikvm( 4078): at dalvik.system.NativeStart.main(Native Method)
I/dalvikvm( 4078):
E/dalvikvm( 4078): VM aborting

So, I can see why you're playing with libandroid_runtime.so. Not sure what you're changing in framework2.jar
[Galaxy S III Android Development] dheeraj (dhlalit11):
The current version of philz can't understand the tar command properly

Which is why the kernel is no flashing to the device

Install official cwm or philz 6.26 as tsated above
[Galaxy S III Android Development] arter97:
I can't really remember, but touching framework files are not sensorhub related.
[Galaxy S III Android Development] Erik1805:
Just flashed with the Philz 6.26. No problem with Atweaks

Just had to do root fix in Philz recovery and install SuperSU again

Update: Strange, when the phone is on the charger the screen goes on and off. Any idea?
[Galaxy S III Android Development] decalman:
Just tried this on fresh install of preview 4 but it did not fix auto rotation for me. Maybe i did something wrong

My Tapatalk Signature

http://youtu.be/53ovtKPdrPE

http://youtu.be/FBkGF1XfvZI
[Galaxy S III Android Development] arter97:
JustArchi should fix it. Not me.
[Galaxy S III Android Development] opoi63:
arter97 but you don't tell the auto rotation for you work with archiport? :confused:
[Galaxy S III Android Development] Moster2:
He said autorotation is fixed on the port for his device, not ours. Autorotation is also not kernel related
[Galaxy S III Android Development] ayoubij:
He damn surely is trying to. Would not mind if you can help :) afterall that is what xda is about...
[Galaxy S III Android Development] 99x:
Is the port for his device readily available for download? If so the archiport devs could just compare the files maybe? (I'm not a dev so not sure what would be involved, e.g. decompiling etc)
[Galaxy S III Android Development] cloudx720:
Arter97 seems an arrogant ****
[Galaxy S III Android Development] Erik1805:
Hmmm strange things with this kernel. Phone radomly goes on and off (not on charger)

Any idea?
[Galaxy S III Android Development] 99x:
He was just being honest actually, in that the auto-rotation is a rom side issue and not kernel
[Galaxy S III Android Development] arter97:
Wow. Just because I didn't share my private work once and I have to take words from another user.

If you have enough credit to put up your finger against me, then fix it yourself.
[Galaxy S III Android Development] MattBooth:
That's just unnecessary and rude.
[Galaxy S III Android Development] agusdallalba:
That's what I understand. I could be completely wrong :P

Edit: It should be sending the least-used pages that compress the worst to MMC
[Galaxy S III Android Development] vinodr5371@xdaroms.co.in:
[MENTION=4898097]arter97[/MENTION] dualboot working with new beta 3 kernel?
[Galaxy S III Android Development] arter97:
Before releasing, I've checked the compatibility with ALL the supported ROMs.

No problems whatsoever.
[Galaxy S III Android Development] arter97:
Vnswap is now used in S3 LTE and Note 2, which has the same NAND revision as ours.

And now that I've got my I9300 unit, I've also tested it out;

I saw vnswap get's filled about 200 MB when I'm on DN4,

And 10 MB when on AOSP.

Linux is smart enough when you have a plenty of physical RAM available space, it won't swap.

Also, Sammy uses swappiness 130 for vnswap.

Afaik, Linux only allows the max as 100, but Sammy uses 130 anyways, which I have no idea why, but seems like if it's not 130, swappings won't work well.
[Galaxy S III Android Development] arter97:
GPS is broken with 4.0 beta3 when you use AOSP.

Fix coming up soon..
[Galaxy S III Android Development] agusdallalba:
Swapping works, because of zswap, but because vnswap0 it's not backed by anything (as far as I can tell) it's acting as zram in disguise. The "swapped" pages will stay in kernel cache forever since there's nowhere to write them to. Could you please run sswap -e; strace sswap -s on a freshly booted DN4 to see how it works there? I'm just curious :good: . Also cat /sys/block/vnswap0/init_backing_storage. Just to confirm/deny some theories I have about how vnswap is supposed to work.

Thank you
[Galaxy S III Android Development] arter97:
I don't get it, zRam reserves specific amount of RAM on creation.

Since we don't reserve anything from RAM, if vnswap is not working, nothing should be swapped.

Will double check later, but I don't understand your theory.. :(
[Galaxy S III Android Development] llcoolveer:
All links are death,can you upload it to MEGA please...?

https://s.basketbuild.com/devs/arter97/S3/

Greetz LLCOOLVEER.:good: