yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 Original Android Development] andip71:
Basically you created a hardswap with that method.

This means, swapping is now also done on the external sd card.

I am not recommending hard swap due to two reasons:

- hardswap on internal memory would be fast enough, but it wears out the memory (swapping is a very IO centric process) and your phone will end up in a brick one day

- hardswap on external sd memory is just not fast enough for a good user experience, regardless whether you bought the fastest sd card or not, there are limitations in the sd card itself as well as the sd card controller in the phone

In short, I would not recommend to use any hard swap but only vnswap and use the external sd card in some other useful way.

Just my opinion...

Andi
[Galaxy S 5 Original Android Development] xtam:
Thanks....but i have some additional question if you would like to answear:

-where is vnswap0 located?

-how its different from hardswap?

isnt this good strategy to have this hardswap and if vnswap or default native swap in android will consume all available resources than android will use this hardswap so better slow swap on extsd than no swap at all?
[Galaxy S 5 Original Android Development] msprenger:
Heute [MENTION=535343]all[/MENTION],

I want to test the beta Versions of the Kernel, but my bl and modem is rather old. Is there a List of flashable versions, if so, plz send me the links. .

LG msprenger
[Galaxy S 5 Original Android Development] andip71:
vnswap is a compressed area in normal phone memory, so it is fast as hell and does not wear out. The compression is what makes the thing useful.

Honestly, I think the strategy is not that good. When hardswap will be used once, it will be used all the time until you reboot the phone. So the phone will get laggy at that time.

I have a very hard but honest opinion on that: If memory becomes an issue, all that vnswap, hardswap stuff does not really cure the problem.

Then it is time to move on to more modern phones with more memory (e.g. the OnePlus 2 has 4 GB memory, then all these tricks are not needed ever).

Andi
[Galaxy S 5 Original Android Development] xtam:
Is there a way to increase vnswap from 1.3 to more?

And will it at least little increase performance? Or there is absolutely no sense to do it?
[Galaxy S 5 Original Android Development] andip71:
You can only increase manually with shell commands.

But with only having 2 GB in mind, I think 1.3 GB leaves you with around 500-600 MB "normal" ram, and that is what you need.

Only running the whole system on minimal real ram and rest as compressed swap memory does not sound a good approach to me.

Andi
[Galaxy S 5 Original Android Development] TchuLo1:
Will You Merge This Fix in The TW Based Kernel ??

Fix: Security flaw CVE-2015-1805 (memory corruption in pipe) fixed
[Galaxy S 5 Original Android Development] andip71:
Yes, it is already merged in (in fact I put it into all my active kernels).

So it will be in the next update of the kernel.

Andi
[Galaxy S 5 Original Android Development] xtam:
Ok....but i had to try it.

Just to be sure...cause what worst could happen? Lag - so i restart and disable this sd card swap...

But...

I dont know what is the real result of following:

i did not turn it off. I leave it just to test.

Moved few big games, apps to sd ext2 = ext4 from app2sd, and with this enabled on app2sd swap partition phone is amazing fast.

Really, it was never so fast as it is now.....

i cant believe it is just placebo effect cause everything run smoother.

Now, i will test it few more days and than disable swap to check if it really is the result of it.

But if it is, i am going to use it. Cause microsd card samsung 64GB is about 40-50USD and if this is the reason of this extreme performance improvement i am going to sacrifice it.

I use some apps which previously took about 15seconds to fully load it content from local sqlite (i am not sure if itss sqlite) database, now its done in 3 seconds.

(previously this app was also on internal phone memory so its not just result of switching slower microsd to faster microsd...and whole phone runs a lot faster, everything, even play store)

----edit---

BTW is there any way to check if this swap space is used or not?

Is there some io monitor?

In Boeffla config i see after restart:

Swap total: 5299MB

Swap used 1103 MB

Swap free 4196MB

from this data i can guess that only vnswap is used..so maybe this speed is illusion only...? I dont know now
[Galaxy S 5 Original Android Development] andip71:
The worst is lag and maybe a random reboot when swap starts to panic.

And then in very rare cases you can have data loss.

You can do the following command in a terminal to find out more:

cat /proc/swaps

If you want to get every little detail:

cat /proc/meminfo

Have fun

Andi
[Galaxy S 5 Original Android Development] MIKEMON:
I tried everything and suits me the system without swap and only vnswap

RAM is expanded hard disk space, which is significantly slower, but also much cheaper. Higher overhead and demands on the system and hardware resources (especially the disk subsystem) are negligible compared to the benefits that the use of virtual memory brings. Virtual memory system allows to effectively use less RAM at a price acceptable performance losses and benefits even in the event that the postponement of memory to disk will not

Every running process has its own memory area, which is accessible only he and no one else.

Hard swap, very not recommended

It is a system slowdown and possible damage

If you are an ordinary user is not need

phone itself is able to end it and manage memory
[Galaxy S 5 Original Android Development] msprenger:
Hey andi,

Flashed version 1.5 beta 1 today on bob7 bl and modem, my rom is based on pofa firmware… it works fine so far without any flaw.. And absolute stable. Will give a feedback after a couple of days…

Lg msprenger
[Galaxy S 5 Original Android Development] andip71:
Kernel update !

Hi all,

quick update to the Samsung LP stock firmware kernel:

Version 1.5-beta2

12.04.2016

Note: Do NOT use this kernel version when you are on an older firmware than XXS1BPC3 !!!

Change: Internal kernel busybox updated to latest version 1.24.2 (self-compiled from sources, www.busybox.net)

Fix: Security flaw CVE-2015-1805 (memory corruption in pipe) fixed

Update: Ramdisk updated to version of firmware G900FXXS1BPCL

Enjoy

Andi
[Galaxy S 5 Original Android Development] Ubimo:
Just FYI, kernel 1.5-beta2 is working with PhoeniX ROM V11 [XXU1BPA2] :)
[Galaxy S 5 Original Android Development] MIKEMON:
Great job as always, thanks for the update
[Galaxy S 5 Original Android Development] ADOMAX:
i have revolution rom v5.3

http://xdaforums.com/galaxy-s5/development/rom-5-1-1-tw-revolution-s5-s6e-note-5-t3235824

android 5.1.1

Can i use Boeffla-Kernel 1.5-beta2?
[Galaxy S 5 Original Android Development] The_Voice_70:
Best Party with 1.5 beta2 on latest BTU. Best at it`s best. Thanks Andi;)

And Guys:

Please ONLY use latest BTU. 1.5 beta2 based on it. Make a clean flash and debloat it for yourself. And use newest Config App. So you`ll have no problems at all.
[Galaxy S 5 Original Android Development] Simone:
Hi, Lord Boeffla.

There is an official MM for TW, now. May we expect a kernel soon? :)
[Galaxy S 5 Original Android Development] andip71:
For g900f? Have not seen anything.

But anyways, first we need the correct sources.

Then don't expect anything very soon, the s5 is only my priority 4 device. And I don't have lots of time these weeks.

Andi
[Galaxy S 5 Original Android Development] MIKEMON:
Yes, but not released for Europe

http://www.sammobile.com/firmwares/database/SM-G900F/
[Galaxy S 5 Original Android Development] sumejorpista:
Version Europe for G900F in one o two weeks soure. Very soon.

Let's wait to count with kernel Boeffla for Android 6.0.1.

Enviado desde mi SM-G900F mediante Tapatalk
[Galaxy S 5 Original Android Development] andip71:
Not before June/July. I am on holidays the full May this year. And I am far away from my development box...

Andi
[Galaxy S 5 Original Android Development] cooperke:
Enjoy your holiday in May. We can wait a little longer.
[Galaxy S 5 Original Android Development] necronihilus:
L speed

Hi

I hope it is not a huge offtop but i would like to know your opinion about the L speed mod

http://xdaforums.com/android/software-hacking/tweak-l-speed-v1-0-02-02-2015-t3020138

Does it actually work or is it just a bunch of a "placebo" stuff? Have you used it and is it ok to use with the custom kernel like this? Maybe it is not needed at all because Boeffla kernel has all those tweaks already? :D
[Galaxy S 5 Original Android Development] andip71:
Well, it does a lot of things, so when you see performance differences it is for sure no placebo (for being a placebo, too many things are changed).

Whether the changes are good or bad is questionable.

I see already some things which I consider almost placebo like the seeder stuff.

Many other things are rom related, so I would exceed my competencies when I would try to question that.

In the end it comes down to doing a nandroid backup and just trying it.

Personally I am not a big fan of these mods, I believe stock Android is most of the times quite well balanced.

Andi
[Galaxy S 5 Original Android Development] lucadalba:
[MENTION=947981]Lord Boeffla[/MENTION] I have no words.. only THANK YOU!
[Galaxy S 5 Original Android Development] Hbk6699:
There's something wrong with the results thats why its red.
[Galaxy S 5 Original Android Development] andip71:
Not really wrong, Antutu (which is, btw, just a crappy benchmark not saying anything about real life performance) spots the results red because they seem to be too high for the known device (s5).

And this is mainly due to dynamic fsync in my kernel, which boosts the IO rate up significantly. If you disable dynamic fsync, scores should get lower and you would be back in the green area probably.

Just saying from theory.

Andi
[Galaxy S 5 Original Android Development] Hbk6699:
Thank you for the helpful info.
[Galaxy S 5 Original Android Development] leboreiro:
download link please?
[Galaxy S 5 Original Android Development] andip71:
Once reading the OP would give you the download link :p

We are not spoon-feeding here... How can some people be so ignorant???

Andi
[Galaxy S 5 Original Android Development] leboreiro:
15.1 works on 6.0 official g900f?
[Galaxy S 5 Original Android Development] andip71:
No.

There is no 6.0 kernel out yet by me.

No official G900f rom = I cannot start.

Andi
[Galaxy S 5 Original Android Development] leboreiro:
Bro , yes there is official g900f 6.0 rom

http://www.sammobile.com/firmwares/download/69282/G900FXXS1CPC8_G900FSLK1CPB2_SLK/

take a look here!
[Galaxy S 5 Original Android Development] andip71:
Ok. Sorry, was not clear enough.

Need a btu or dbt version of it.

Flashing a Sri Lankian version is not an option for me...

Andi
[Galaxy S 5 Original Android Development] jeno.kereszturi@gmail.com:
Van DBT-es 6.0

xXx No Limits 2.1 G900FXXS1CPC8 DBT-es
[Galaxy S 5 Original Android Development] Benny-Danny:
I'm facing a little issue.... When I was using my i9300 I used boeffla kernel all the time.. but when I changed to my s5 last year, I've keep the stock kernel.

A couple of days ago I flashed the last stock rom 5.0 (from alexdr) and flashed the stable boeffla kernel 1.4.

The problem is, when I'm using the phone and charging at the same time, instead of the battery percentage increase, it slowly decreases. It didn't happen when I was using the stock kernel. Am I missing something it the boeffla app settings?

Thanks in advance!
[Galaxy S 5 Original Android Development] leboreiro:
What's the difference between them?

Enviado desde mi SM-G900F mediante Tapatalk
[Galaxy S 5 Original Android Development] andip71:
BTU is for UK, DBT for Germany.

These are the only two versions I ever use, with BTU very much preferred (as it does not include bloatware).

Andi
[Galaxy S 5 Original Android Development] sumejorpista:
Only have 5 languages Sri Lanka

Enviado desde mi SM-G900F mediante Tapatalk
[Galaxy S 5 Original Android Development] sumejorpista:
Now, I have put this base.

http://www.sammobile.com/firmwares/download/70058/G900FXXU1CPD7_G900FOJV1CPD2_XSG/

Have very much languages.

Go very well.

Lord Boeffla: you has any time for the new kernel before holidays. [emoji2]

Enviado desde mi SM-G900F mediante Tapatalk
[Galaxy S 5 Original Android Development] andip71:
No, I have not.

June / July is what you should expect.

Note, the S5 is meanwhile only my priority 4 device...

And still, it is not about languages, I only use btu or dbt for good reasons.

Andi
[Galaxy S 5 Original Android Development] tinko975:
cant open download page http://www.boeffla-kernel.de/

Database connection error (2): Could not connect to MySQL.
[Galaxy S 5 Original Android Development] andip71:
I know, my web hoster has big issues with the database servers for the last 2 days. They are working on it.

I put up a static emergency page now, to make at least all download links working again.

Andi
[Galaxy S 5 Original Android Development] xxRockOnxx:
Solved.

I only now get

when executing make -C $(pwd) O=output
[Galaxy S 5 Original Android Development] andip71:
You are not using my defconfig file, which you have to use however.

It is boeffla_defconfig.

Andi
[Galaxy S 5 Original Android Development] leboreiro:
bro on your website there is only 5.0 version kernel ,, there is not for 5.1.1 ? will it work on 5.1 rom ? (port) (norma v3 rom)
[Galaxy S 5 Original Android Development] andip71:
Since when there is a Samsung Stock 5.1.1 firmware available for BTU or DTB?

I have never seen any.

If you refer to CM 5.1.1, you are in the wrong thread.

Andi
[Galaxy S 5 Original Android Development] xxRockOnxx:
Ok now I have a useless zImage file that I don't have any idea what to do with it.

With the help of this thread: http://xdaforums.com/showthread.php?t=2073775

I tried to unpack boot.img from the "Phoenix Kernel (MM/6.0)" and ALEXNDR's DevBase(CPC8), replace the zImage on it from the one that I compiled, repack the img, zip it... Voila! Stuck on android logo. HAHAHAHA.

Sir andip, I tried searching and studying up to my limits but I just don't know what to do next. Can you please help me? I don't ask for noob step-by-step guide tho. Just the general instruction.

[EDIT]

Solved! I got past Android Logo now. I repack the image with '--original' (./repackimg.sh --original).

[EDIT 2]

Looked at Kernel Adiutor, kernel name did not changed, no new governor, and no new io scheduler. I changed the boot-zImage tho. Hmm.

[EDIT 3]

Hmm, using without the '--original' should be the correct one I guess, and I think what causes the problem is repacking it with an incompatible mkbootimg? I have this error:

*** WARNING ****

This image is built using NON-standard mkbootimg!

OFF_KERNEL_ADDR is 0xFE208100

OFF_RAMDISK_ADDR is 0x00200100

OFF_SECOND_ADDR is 0xFF100100

Please modify mkbootimg.c using the above values to build your image.

****************

Any clue?

[EDIT 4]

I saw someone having same error for his Note 3 or Note 10.1 I guess? Whatever... not familiar with them. But I think Note 3 is snapdragon 800... anyway here's the solution for everyone!

from this post right here: http://xdaforums.com/showpost.php?p=52982145&postcount=332

I learned that Snapdragon 800 (or other arm devices? just look on the following link) has a special mkbootimg... it's the mkboot!

http://xdaforums.com/android/software-hacking/development-mkbootimg-tools-t2895954

Just use that like what this post says: http://xdaforums.com/showpost.php?p=46229656&postcount=7

THIS IS AMAZINGGGGGGGGGGGGGGGGGGGGG!!! HAHAHAHAHA

To anyone that find my post err this reply to be useful please hit Thanks so I know that it helped you. I went thru' many sleepless night just to find a solution to each problem I encounter.

And also thanks to sir andip [MENTION=947981]Lord Boeffla[/MENTION] for inspiring me to start making kernel my own :)
[Galaxy S 5 Original Android Development] Borisius:
Can I use this on my galaxy s5 slovakian version
[Galaxy S 5 Original Android Development] andip71:
You have the g900f, for which the kernel is made for.

So the answer is Yes.

Andi
[Galaxy S 5 Original Android Development] cloudx720:
I wish Andi had the 901F feelsbadman ?
[Galaxy S 5 Original Android Development] andip71:
That will not happen. I will never go for Samsung anymore due to known reasons.

The S5 and S3 are the last suported devices and I am looking forward to stop this one day.

Andi
[Galaxy S 5 Original Android Development] suprovsky:
What are you going to use now?

Wysłane z mojego SM-G900F przy użyciu Tapatalka
[Galaxy S 5 Original Android Development] Hawaiihemd:
I think Andi's signature says it all ;)
[Galaxy S 5 Original Android Development] MIKEMON:
Samsung phone I will not buy

rebranding is the change of life
[Galaxy S 5 Original Android Development] mudmaster:
:confused:Hi

Installed the latest Boeffla Kernel on 900F with Phoenix V11.0

However the downloaded Boeffla Config 2 app is not installing. The APK install starts and then ends with "X App not installed".

The install from any source is ticked and OK.

Any ideas

---------- Post added at 06:25 PM ---------- Previous post was at 06:05 PM ----------

I agree Andi.

For me a closed body design like Apple is a big no from S6 onwards. I like the G5 modular approach, but that phone is plain ugly.

So I don't know which direction I will take. Hope to be on one that you have builds for :)
[Galaxy S 5 Original Android Development] andip71:
Can be two reasons:

1) bad download -> redownload again

2) wrong permissions on internal sd memory (this is quite common these days somehow) -> put the apk to /data and install from there

Andi
[Galaxy S 5 Original Android Development] andip71:
Hi guys.

Time to say goodbye now for 3 weeks.

I am shortly departing to sunny Florida for my annual holidays.

This means:

I will read the forum but most likely not answer or only answer delayed.

There will be absolutely no kernel updates until I return

If things break in the meantime, they break - no way out :)

Have a goooood time!

Andi
[Galaxy S 5 Original Android Development] lucadalba:
Take your time :)

You have done enought for us.

It's time to relax[emoji6]

Have a good time[emoji4]
[Galaxy S 5 Original Android Development] cooperke:
Enjoy your holiday
[Galaxy S 5 Original Android Development] Crussader:
I sense Samsung MM BTU ROM release just when Lord goes to vacation :laugh:

btw, enjoy ;)
[Galaxy S 5 Original Android Development] andip71:
Likely. They will release the stuff on all fronts, hehe.

That is why I go on holidays in the end - to make them releasing the things finally. To speed them up :D

Andi
[Galaxy S 5 Original Android Development] MIKEMON:
Enjoy
[Galaxy S 5 Original Android Development] Dor71:
New MM stock ROM available:

G900FXXU1CPDF

PDA: G900FXXU1CPDF

CSC: G900FDTM1CPD4 (Germany -T-mobile)

CHANGELIST: 7182592

BUILD DATE: 21.04.2016

(Android security patch level: 01.05.2016)
[Galaxy S 5 Original Android Development] cbomb101:
Hope this comes on mm. Its my favorite kernel from 5.0. Enjoy your break man. Will use a alternative till yours is out.
[Galaxy S 5 Original Android Development] andip71:
At least I plan to work on a kernel after I am back.

But can be June / July before I have something.

Let's see.

Andi
[Galaxy S 5 Original Android Development] Crussader:
hahaha

BTU is out:

G900FXXU1CPE1

;)
[Galaxy S 5 Original Android Development] andip71:
Good I am still on vacation and do not yet bother about it [emoji1]

Andi
[Galaxy S 5 Original Android Development] MIKEMON:
Only accessory

1.5 beta 2 works great on the new LP 5.0 BPE3
[Galaxy S 5 Original Android Development] Simone:
Hi Lord Boeffla, can we expect you in the Samsung S7 Edge any time soon? [emoji1]
[Galaxy S 5 Original Android Development] Crussader:
Read the thread.... he's not going anywhere near Samsung in the future
[Galaxy S 5 Original Android Development] andip71:
1000000% no.

Will never give Samsung any more cent of my money.

Andi
[Galaxy S 5 Original Android Development] Simone:
What will be your next phone of choice? [emoji24]
[Galaxy S 5 Original Android Development] andip71:
99% it will be the OnePlus 3.

Andi
[Galaxy S 5 Original Android Development] suprovsky:
Why it will be OP3?

Wysłane z mojego SM-G900F przy użyciu Tapatalka
[Galaxy S 5 Original Android Development] MysteryIII:
It is the most developer friendly phone you can think of. As developer he is (a little) more interested in this part than in hardware specification. And you could say Samsung is probably the most unfriendly for developer as it has many changes compared to Stock Android without proper documentation for most parts. Most modder for our phone must work with reverse engineering to get us extra features and settings.

For me, I love most of the changes Samsung made, but I can truly understand why developer hate working with it. So I'm extremely grateful for all their work.
[Galaxy S 5 Original Android Development] andip71:
Because I hate knox, flash counters, e-fuses, everything Samsung puts in to make development hard / impossible.

And I like phones where the vendor is interested in a development community. And I like phones which do not lose warranty when you eg root it. Many reasons... Of course also the price is superb.

Andi
[Galaxy S 5 Original Android Development] Ubimo:
Can we expect a Samsung stock MM kernel for the G900F?
[Galaxy S 5 Original Android Development] andip71:
Can happen, yes.

But not soon and only if Samsung side not put new barriers and hurdles in.

Andi
[Galaxy S 5 Original Android Development] daniel.mota:
Some of us are eagerly waiting for it (at least, I am) :o
[Galaxy S 5 Original Android Development] andip71:
I know many are waiting for that.

Will not be before June/July - if it is possible at all and I find enough time.

Andi
[Galaxy S 5 Original Android Development] Simone:
I can't live without Boeffla on Marshmallow [emoji24]
[Galaxy S 5 Original Android Development] The_Voice_70:
Check Boeffla with MM Bootloader / Modem on CM13. It rocks like hell. I know that a lot of people would marry Andi to get Stock Kernel on 6.0.1. ;))) If it happen .. then ir happen. If not than not. Be easy guys. Samsung does a lot of crazy things on 6.0.1. ;)
[Galaxy S 5 Original Android Development] suprovsky:
Is it only in stock Samsung Firmware?

Wysłane z mojego SM-G900F przy użyciu Tapatalka
[Galaxy S 5 Original Android Development] The_Voice_70:
Jep. In Stock. My way was : Loading latest BTU Stock 6.0.1. Then extract Bootloader / Modem with Flashfire. This file flash with Odin under AP in CM13. And voila: you`ll have MM BTU Bootloader / Modem on CM13.

Stock 6.0.1 is not my thing without Boeffla. In Stock 6.0.1 you have to Swich Off "Security Lines Update" under "Security Settings". If not : Samsung put a "silent update" on your phone which kills root and TWRP under Stock. You`ll have to reflash CF Auto Root and TWRP again. Then it works. But: it`s a "crap move" from Samsung;)
[Galaxy S 5 Original Android Development] suprovsky:
What are advantages of using updated modem/firmware? I saw that people had some problems with stock MM.

Wysłane z mojego SM-G900F przy użyciu Tapatalka
[Galaxy S 5 Original Android Development] Mar-cel:
Can u please upload BTU modem and Bootloader and send me ?

Gesendet von meinem SM-G900F mit Tapatalk
[Galaxy S 5 Original Android Development] The_Voice_70:
With Flahfire it works only on the device you made it. That`s the problem;)
[Galaxy S 5 Original Android Development] suprovsky:
But firmware and modem can be flashed by Odin after extracting from stock ROM, am I wrong?

Wysłane z mojego SM-G900F przy użyciu Tapatalka
[Galaxy S 5 Original Android Development] The_Voice_70:
Yes, that`s right. That`s possible with odin.
[Galaxy S 5 Original Android Development] MysteryIII:
I don't expect too much, but just thought I give it a shot:

I was asking here if it is possible to add UMS support for the S5.The answer was that the UMS Gadget must be rewritten or a new one added. Are you capable/willing to do so? Or is it impossible?