yashsingh1/xdaforums huggingface dataset:
[Galaxy S5 Mini Original Android Development] CurtisMJ:
When flashing SuperSU systemless, a script is embedded into the kernel which installs the SuperSU .apk on next boot. In order to ensure it is properly installed the device reboots immediately after installing, after which it should just boot normally. Is it just rebooting constantly or only once?
[Galaxy S5 Mini Original Android Development] CurtisMJ:
At what moment does it black out? Or does it just never turn on? What ROM and version are you using? (Note, this kernel will do this with KitKat stock ROMs as I no longer support those)
[Galaxy S5 Mini Original Android Development] CurtisMJ:
I think I'll wait for it to exit beta (and when I have a chunk of free time) to try that, too many possible issues which would be falsely reported as ROM bugs.
[Galaxy S5 Mini Original Android Development] DaNxMaKiNa:
Hi Curtis, I don't know why but the new kernel build bootloops my G800F. I'm o KitKat.

I've tried to flas it with and witout root but everytime I've flashed (3 times) the process ended with a non-splashscreen endless bootlop.
[Galaxy S5 Mini Original Android Development] Abde77:
I have the same problem as Andrea224 . I have stock rom 4.4.2 . Here's what I do: flash the kernel , flash recovery, the recovery i do wipe data / cache then i install supersu I restarts my phone after the Samsung Galaxy S5 mini black screen is displayed and after the phone restarts in permanence ( google translation )
[Galaxy S5 Mini Original Android Development] Bogeyof:
No one reads the OP? Kitkat (4.4.2) no longer supported!!!
[Galaxy S5 Mini Original Android Development] Andrea224:
I tested it on TW 5.1.1 so it's not a compatibly problem. What I did is intall the TW 5.1.1 (German rom because it has new baseband and April security patch. I'm italian however.) then install the kernel and then install CF-autoroot. So, after the phone booted up it takes 2-3 minutes and then everything stopped working with force close messages, then it freezed and rebooted. The same thing happened after some reboots but I faced this problem when I changed the ro.securestorage to false. So, at the moment I'm on CM13 because I needed a functional phone with a good rom. In the conclusion I don't know why everything happened. (Simply: TW ROM -> KERNEL -> ROOT -> TWRP 3.0.0 -> ro.securestorage to false -> everything forced closed -> reboots -> 2-3 minutes and the same thing)
[Galaxy S5 Mini Original Android Development] CurtisMJ:
Sorry for the troubles. For future reference I would like to know where the TWRP you used is from? Did you flash anything with it? CM13's version of TWRP cannot properly apply TouchWiz required security contexts. Also, what method did you use to disable secure storage before?
[Galaxy S5 Mini Original Android Development] Andrea224:
Usually, I flash DJ_Steve's TWRP 3.0.0. For modify build.prop I use Root Explorer (I use its editor).

---------- Post added at 09:55 PM ---------- Previous post was at 09:51 PM ----------

However, I tried one time without flashing TWRP, so: TW ROM -> KERNEL -> CF-AUTOROOT -> ro.securestorage to false with Root Explorer's editor -> everything forced closed -> reboots -> after 2-3 minutes than the phone booted up it do the same thing.
[Galaxy S5 Mini Original Android Development] CurtisMJ:
I cannot reproduce this despite being on a virtually identical setup. Seeing as the ROM actually boots (despite being non-operational) I suspect this might be Samsung's doing :P Ahh well. Thanks for trying!
[Galaxy S5 Mini Original Android Development] Andrea224:
Don't worry and thanks for all.
[Galaxy S5 Mini Original Android Development] Abde77:
Sorry, where is the kernel for lollipop tw ?
[Galaxy S5 Mini Original Android Development] CurtisMJ:
It is the only kernel now. So boot.tar.md5 in the downloads section.
[Galaxy S5 Mini Original Android Development] nico_vo:
I flashed this kernel this afternoon and I have a couple of problems. The file I flashed was the one which is now on the OP and I'm in latest stock 5.1.1 update which came out earlier this month

The first one is that I can't flash the synapse .zip and if I only install the apk I have a lot of errors in every section, but still dt2w and fading notifications work.

The second one, which I think is related to not being able to enable boeffla sound (if that's how you write it xD), and is a very high battery usage by Spotify (normally it's ~2% but now it's ~15%), but still audio quality is brilliant.

And finally I always have a notification which is a security alert stating that unauthorized actions have been detected by the 'new' optimizer app in TW's android 5.

EDIT: I forgot to mention that in every reboot, the phone forgets WiFi password

Hope someone can help me

Enviado desde mi SM-G800F mediante Tapatalk
[Galaxy S5 Mini Original Android Development] Bogeyof:
For Synapse issues, do you have Busybox installed?
[Galaxy S5 Mini Original Android Development] nico_vo:
Just installed and works. Thank you very much :)

Enviado desde mi SM-G800F mediante Tapatalk
[Galaxy S5 Mini Original Android Development] CurtisMJ:
The Synapse zip is just the modified source code of the posted Synapse apk. It isn't meant to be flashable.

Installing busybox as mentioned should fix Boeffla sound controls, but unless you boost the DAC output no extra consumption should be present. Strange...

The security notification is just KNOX being KNOX. You can freeze the app displaying the notifications(It is separate from the rest of the system, luckily)

Wifi password issues may be fixed with the following mod:

http://xdaforums.com/showpost.php?p=65568464&postcount=10
[Galaxy S5 Mini Original Android Development] nico_vo:
How can I do this? I can't see option in settings and the only way I saw in which I can do this is is with titanium backup, but with the full version which costs like 6€..

EDIT: I also saw that there are more than 1 KNOX apps. Which one should I freeze?

Enviado desde mi SM-G800F mediante Tapatalk
[Galaxy S5 Mini Original Android Development] Bogeyof:
You can freeze Apps also with the free App "App Quarantine".

Since you installed custom kernel, you could freeze all Knox apps, cause Knox won't work anymore on your modified system...
[Galaxy S5 Mini Original Android Development] Andrea224:
[MENTION=5278223]CurtisMJ[/MENTION] After some time, I tried,again,to install your kernel. So, I did this steps: From CM13 I did all the backups on TWRP 3.0.0 (from hennymcc) -> download mode -> flashed TW 5.1.1 (Italy, unbranded) -> went into Samsung's recovery -> factory reset -> reboot and immeduatly pull out the battery -> into download mode I flashed your kernel -> reboot and everything worked -> restored all my apps from Google Play -> installed busy box and synapse -> into download mode I flashed CF-AutoRoot -> reboot and everything worked -> installed busybox scripts and synapse fully works -> changed ro.securestorage to false and everything worked. So, now your kernel fully works without issues. But now I don't have a recovery(is still the recovery for install/uninstall root), which do you suggest? TWRP or Samsung stock? If TWRP, which version?
[Galaxy S5 Mini Original Android Development] CurtisMJ:
Sorry for delay.

I personally still use a repacked TWRP 2.8 :P

Otherwise, if you're sure you won't flash any more mods it is actually best just to keep stock recovery.
[Galaxy S5 Mini Original Android Development] Andrea224:
Thank for the advice. Do you use F2FS file system? Is it worth it? On CM13 I didn't had so much differences.
[Galaxy S5 Mini Original Android Development] CurtisMJ:
I do use F2FS. It measurably increases performance so I think it's worth it. I would not recommend using my kernel with it currently though. The F2FS drivers are currently bugged as of a recent update. They've been fixed now but I haven't made a new build yet. Perhaps tonight.
[Galaxy S5 Mini Original Android Development] Andrea224:
So, I have to wait a fix for bugged driver, right?
[Galaxy S5 Mini Original Android Development] CurtisMJ:
I just posted build 1.6. It has the fix in it ;)
[Galaxy S5 Mini Original Android Development] Andrea224:
Thanks.
[Galaxy S5 Mini Original Android Development] Abde77:
You will not have a download link for kernel Kitkat?
[Galaxy S5 Mini Original Android Development] Dev!n:
usb otg doesnt works fine. usb mass storage with NTFS filesystem cant read :/
[Galaxy S5 Mini Original Android Development] CurtisMJ:
Samsung moved to a generic exynos kernel when they upgraded to Lollipop which completely broke compatibility with the old dedicated kernel. Maintaining sources for both versions with equivalent features proved to be very difficult and due to lack of time I've decided to only support the version I'm using, sorry.
[Galaxy S5 Mini Original Android Development] CurtisMJ:
So apparently the default build configuration doesn't include NTFS, I'll try to include it on the next update.
[Galaxy S5 Mini Original Android Development] Andrea224:
Hi [MENTION=5278223]CurtisMJ[/MENTION], I have two (at least one) requests for the next update: 1- haptick feedback for the back and recents buttons, 2- no bootloop with Xposed (I tried the latest Xposed by Wanam for Touchwiz 5.1.1 but I get a bootloop on logo screen.) Thanks. Regards.
[Galaxy S5 Mini Original Android Development] CurtisMJ:
Samsung needs to sort out their ROMs, they're just too fragile. I'm running Xposed alright on my side. Could you perhaps try and flash Xposed using the attached recovery?(It's an ODIN file in a zip, not flashable) Otherwise a kernel log would help to debug. If you play it right you can access the last kernel log from the recovery, but we'll see about that.

Haptic feedback on softkeys is usually handled ROM side. There are even Xposed modules for it, but I honestly don't see why doing it kernel side would hurt since I did a pretty similar thing for DT2W anyway. Perhaps I can use the same interface. I'll consider it. ;) Would have to get it done before Monday though...
[Galaxy S5 Mini Original Android Development] Andrea224:
Thanks for your reply. Sorry, but I never gave a kernel log or a log in general because I don't know how to do. However, which recovery is this that you linked me? And what differences it has?
[Galaxy S5 Mini Original Android Development] CurtisMJ:
Linked recovery is a repacked TWRP 2.8. It has the latest SELINUX policies on board.
[Galaxy S5 Mini Original Android Development] Andrea224:
So, with it I can flash Xposed without problems?
[Galaxy S5 Mini Original Android Development] CurtisMJ:
Only one way to find out. It's just the last thing I can think of that may significantly affect the results.
[Galaxy S5 Mini Original Android Development] nico_vo:
I only could install the "touchwiz version" of xposed with philz recovery in the g800f.

I got bootloops if I didn't use it.

The bad thing is that there is hardly any brightness and its really difficult to see even in a dark room, but once installed you can flash back twrp. Maybe this version works, there is only one way to find out ;)

Enviado desde mi SM-G800F mediante Tapatalk
[Galaxy S5 Mini Original Android Development] Andrea224:
Hi [MENTION=5278223]CurtisMJ[/MENTION], thanks for your update, but I don't understand how to enable the haptic feedback.
[Galaxy S5 Mini Original Android Development] CurtisMJ:
You need to use a terminal emulator to execute the command in the second post on this thread as root.
[Galaxy S5 Mini Original Android Development] Andrea224:
Ok, thanks.
[Galaxy S5 Mini Original Android Development] Andrea224:
Why I get this?
[Galaxy S5 Mini Original Android Development] CurtisMJ:
Oh dear. :laugh: I appear to have misspelled "touchkey" in my code. It is missing the "h". So the correct patch is "/sys/class/misc/abov_touckey/vibrate". Sorry about that! :silly:
[Galaxy S5 Mini Original Android Development] Andrea224:
Now it works. Thanks a lot!
[Galaxy S5 Mini Original Android Development] lfom:
Does this work only with your custom kernel? Can one use it with stock kernels as well? Thank you.
[Galaxy S5 Mini Original Android Development] CurtisMJ:
Nope. Custom kernel only, sorry.
[Galaxy S5 Mini Original Android Development] Oleggluk:
Could you change the lower threshold frequency of the processor from 400 to 200 as in other custom kernels? Many people use a custom kernel is not for overclocking. In order to conserve battery power. I think 400 is too much, the smartphone works great with the 200. Thank you. (Google translation)
[Galaxy S5 Mini Original Android Development] Dev!n:
yeah please chane the treshold, dont want to run only in energysavingmode in the stockrom. another question: can i update without flashin from your build before without gettin a bootloop?
[Galaxy S5 Mini Original Android Development] Dev!n:
flashed it now and NTFS doesnt works :/
[Galaxy S5 Mini Original Android Development] CurtisMJ:
The NTFS filesystem is supported but the onboard mount scripts will still expect FAT filesystems. You may need to mount manually or you can use an app like StickMount to do it for you.

https://play.google.com/store/apps/details?id=eu.chainfire.stickmount&hl=en

I don't intend to make any changes to the frequency table, even the 1.5ghz overclock was actually Samsung's code. I fear you may be seeing the lower frequency as a sort of silver bullet though. On stock voltage tables the power saving returns diminish as soon as you go under 600mhz, lowering it any more would just not be useful on this kernel. The custom kernel you speak of has tons of other tweaks in addition to this to make the 200mhz clock actually useful, but it isn't worth the effort here unfortunately as I probably wouldn't get nearly enough stability testing done to release a variant with these tweaks.
[Galaxy S5 Mini Original Android Development] Mrdream94:
Hey, thx for update! Now in synapse master edit. i have some red written like "SLiveLabel has failed" or "ScheckBox has failed" and when i use synapse master edit, the phone crashes..
[Galaxy S5 Mini Original Android Development] CurtisMJ:
You need to install BusyBox

https://play.google.com/store/apps/details?id=stericson.busybox&hl=en
[Galaxy S5 Mini Original Android Development] Mrdream94:
OMG you're right... i forget it! thx very muuuch!!!
[Galaxy S5 Mini Original Android Development] Dev!n:
thank you for your support, your work and your answer. Ive downloaded everything and mounted it succesfull, but im not able to get view on my files in this usb storage i plugged. ive tried different file explorers but no change. could you tell me how did you get it run?

€: oh it works with FX, couldnt find the folder but now i have it. is in the main storage :D thx for everything
[Galaxy S5 Mini Original Android Development] Andrea224:
[MENTION=5278223]CurtisMJ[/MENTION] Hi, I have to reinsert every time the code into the terminal emulator? Because every time I reboot my phone I have to do it.
[Galaxy S5 Mini Original Android Development] CurtisMJ:
Yes. The state of all kernel settings is always reset on boot. You should use a boot script to retain settings across boots. This is commonly done with init.d and you can find many guides on how to write such scripts. Just remember that this kernel no longer has in-built init.d support and instead SuperSU's /su/su.d directory should be used for this purpose(functionality is essentially identical)
[Galaxy S5 Mini Original Android Development] Abde77:
Sorry , http://hpics.li/5f82189

I want to use the profile 3, what should I write? ( Google Translate)
[Galaxy S5 Mini Original Android Development] CurtisMJ:
The command was simply denied. I really have no clue as to why but this could suggest issues in your device's setup. I'd suggest re-rooting.

EDIT:

On second look it seems you're trying modify the zzmoove profile list. This particular file is actually read-only. You should be modifying the "profile" field only.
[Galaxy S5 Mini Original Android Development] Abde77:
http://hpics.li/e0db7cd

In synapse in "profile number" I took several number but I see no difference
[Galaxy S5 Mini Original Android Development] CurtisMJ:
Sorry. This is explained in the second post. You need to restart Synapse to see changes.
[Galaxy S5 Mini Original Android Development] Oleggluk:
Development см13 has reached its limit., global change is not likely to be. How about you do the same - for см13 ? Ready to be a tester. (Google translation)
[Galaxy S5 Mini Original Android Development] CurtisMJ:
At this point there are no operational differences between the CM13 kernel and this one, all that is needed is for the image to be repacked, but please note that Synapse functionality will be lost unless the patch in the source repo is applied to the CM13 ramdisk. I've had hardware failure recently on my main computer, so I won't be able to develop for a while, but you can try to repack it yourself. A tool like this one: http://xdaforums.com/showthread.php?t=1849473 might work (source image would be this kernel and dest image would be CM13) although I'd still recommend using AIK. I probably won't be able to help if you experience problems with this configuration though.

You can obtain your current image by running the below command in a terminal

su -t dd if=/dev/block/mmcblk0p9 of=/sdcard/boot.img

The image for this kernel can be obtained by opening the tar.md5 file with 7Zip(ignore the error)
[Galaxy S5 Mini Original Android Development] Rayancity:
Sorry i'm noob , how to install f2fs?
[Galaxy S5 Mini Original Android Development] Variousthings3251:
Please, stop the capital red letters!!! D:>

Calm down, please.
[Galaxy S5 Mini Original Android Development] tet-bundy:
ur question tells me u don't need it! ;)

Gesendet von meinem ONE E1003 mit Tapatalk
[Galaxy S5 Mini Original Android Development] v0ujiemq:
Is it a known bug, that the phone always lose the wifi password after flashing your rom? I have to setup a new connection after every reboot. If I flash the stock rom again everything is fine.
[Galaxy S5 Mini Original Android Development] tet-bundy:
will we see a marshmallow tw build in case Samsung actually releases m?

thanks anyway.

regards

Gesendet von meinem ONE E1003 mit Tapatalk
[Galaxy S5 Mini Original Android Development] CurtisMJ:
Sorry, haven't logged in for a while.

NO :mad:

Just kidding. Sometimes people need incentive to read, I don't mean to sound angry with anyone. :p

You'll need a recovery with F2FS support to format your device in F2FS. You'll probably lose data, so make sure you have backups.

This one should do:

http://xdaforums.com/galaxy-s5-mini/orig-development/recovery-twrp-3-0-0-t3313775

This is an issue with secure storage. You can remedy it by following the instructions in this post:

http://xdaforums.com/showpost.php?p=65568464&postcount=10

Perhaps. I'm due for an upgrade soon though. The source code is also usually delayed by about a month after the release and I'll probably need some time to port over my own changes. So that might take a while. ;) At least my PC is fixed now...
[Galaxy S5 Mini Original Android Development] tet-bundy:
Well, i'd call that a big AT LEAST :D

thx for reply
[Galaxy S5 Mini Original Android Development] v0ujiemq:
Worked :good:
[Galaxy S5 Mini Original Android Development] arrowbow:
g800f custum kernel

does this work with marshmallow ? or only lollipop atm ?

and do i need twrp 3.0.0 ?

can't flash the zip on twrp 2.8.7.0 keep saying failed

thanks
[Galaxy S5 Mini Original Android Development] CurtisMJ:
The kernel is only designed to work on TouchWiz Lollipop ROMs (no custom ROMs atm sorry). There are no flashable zips on this project. Only the boot.tar.md5 actually contains the kernel image and needs to be flashed with odin.
[Galaxy S5 Mini Original Android Development] arrowbow:
oh k then i will stick atm with rr rom thanks for respons anyway :D
[Galaxy S5 Mini Original Android Development] JeffreyDizzy:
Nice work but i can't install xposed.:confused:
[Galaxy S5 Mini Original Android Development] CurtisMJ:
Shouldn't be anything preventing it. :confused: What happens when you try to install it?
[Galaxy S5 Mini Original Android Development] fuko135:
stability

I tried last available kernel from 2016-06-12 13:27	and stability is terrible. I have to reboot mobile every day. Is there more stable kernel?
[Galaxy S5 Mini Original Android Development] CurtisMJ:
Unfortunately not, unless XDA has archives on the downloads section. Sorry for your troubles. :crying: I never get crashes though, could you perhaps PM me a kernel log from right after you reboot? It will be stored in "/proc/last_kmsg". Perhaps some config is out of whack or something. Heck, sometimes it's just better to go pure stock. There's always bound to be glitches with community builds....
[Galaxy S5 Mini Original Android Development] espamcaca:
Hi guys!

This bootloops in my phone with latest stock ROM for Spain, I had to reinstall 5.1.1 . I tried several times...

Thanks!
[Galaxy S5 Mini Original Android Development] maxthebuilder:
Great kernel. Thanks!

OTG works but is there any way to charge at the same time (with Y OTG cable)?
[Galaxy S5 Mini Original Android Development] maxthebuilder:
Hi,

After I installed this kernel I started getting the "black screen"... Several times a day. The screen is black, power button doesn't work. VolDown-Home-Power works and allows to reboot.

Is this kernel related or something else?

Thanks!
[Galaxy S5 Mini Original Android Development] Andrea224:
Hi [MENTION=5278223]CurtisMJ[/MENTION], there will be other updates in the future?
[Galaxy S5 Mini Original Android Development] CurtisMJ:
Sorry. Been busy lately. For the moment, no. There have been no upstream code updates and Samsung have not updated their own kernel sources. I'll check on the issues mentioned here (sorry again) and maybe do some bug fixes.
[Galaxy S5 Mini Original Android Development] CurtisMJ:
Kernel patch 3.4.112 is affected by the dirty cow vulnerability. Patch 3.4.113 seems to include the fix. I will try to patch and release as soon as possible. Be extra careful in the meantime.
[Galaxy S5 Mini Original Android Development] CurtisMJ:
Just noticed that I forgot to apply the ramdisk patches. This will result in Synapse not working and F2FS support will be limited. Will try and fix the build soon.
[Galaxy S5 Mini Original Android Development] bakmanhans:
[MENTION=5278223]CurtisMJ[/MENTION], any update?

Verstuurd met Tapatalk
[Galaxy S5 Mini Original Android Development] CurtisMJ:
Sorry, was busy with work and forgot. I'll try later today.
[Galaxy S5 Mini Original Android Development] CurtisMJ:
Managed to repack via AIK mobile during a break. You'll need to flash it with an app like Rashr.
[Galaxy S5 Mini Original Android Development] bakmanhans:
Thanks!

So with the official Samsung MM 6.0.1 update coming soon (SM-G800F), how is your update of the kernel and addidtion of extra features (see opening post) still holding?
[Galaxy S5 Mini Original Android Development] CurtisMJ:
Samsung tends to release kernel sources about a month after the OTA(typical). It's possible the Lollipop kernel will continue working, but the last major android update (KK to LL) brought breaking changes which required an update, so we'll see what happens, but it's likely we'll have to wait a bit for custom kernels to catch up when it's released. As far as features, if you see something cool in another kernel, give a shout and I'll look at it (hardware permitting).
[Galaxy S5 Mini Original Android Development] bakmanhans:
So we loose all the tweaks you've setup in this kernel release when updating to official MM? Is kernel being replaced when updating to MM? If so, is the MM kernel a lot more recent than your patched version 3.4.113?
[Galaxy S5 Mini Original Android Development] CurtisMJ:
All tweaks should make it through the update provided they are still compatible.

EDIT:

See what you mean now. Yes. All features will be lost when updating to official MM.
[Galaxy S5 Mini Original Android Development] bakmanhans:
That tells me a kernel is not part of an official update?
[Galaxy S5 Mini Original Android Development] CurtisMJ:
See edit, sorry.
[Galaxy S5 Mini Original Android Development] Knoose:
Hi there,

I love your kernel, it is really working well. One question though, is it still waterproof despite the permanently enabled OTG?

Best,

Knoose