yashsingh1/xdaforums huggingface dataset:
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Hbohd:
5.1 Kernel for Samsung 4.3 !! :good:

Ok guys, here is the newest production of my studio :

5.1beta4 kernel

!

Flash it only on Sammy-based 4.3 !!

Wifi working, selinux disabled. Changelogs here -> click

Installation procedure:

You need root on your device

Download full odin package from sammobile or here.

Install mobile odin and flashkernel apks from this thread --> click (or you can buy mobile odin pro)

Run mobile odin, choose odin package you downloaded

CLEAR recovery, kernel and hidden

Flash

After successful installation my phone booted to Philz, then I flashed supersu from here --> click

[*]Reboot to system now

[*]Run your camera, take a picture

[*]Power off your phone

[*]Boot it to recovery using Vol UP + Power + Home buttons

Flash anything you want (boeffla kernel 5.1beta4 for example :good:)

Steps in bold are for people that came across "camera failed" problem when installing boeffla kernel before running camera with stock kernel. I still don't know where does it come from.

What's more, bug with CPU staying at max frequency when phone connected to pc via usb seems to be gone :good:
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Goldie:
Works great mate and battery is awesome!
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] golf12:
Hey awaiting the Alliance rom with this kernel may I ask will Boeffla config and sound work?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] P$T:
Can you upload odin package with deleted knox feature?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] chaosm:
Where I can download the latest version for 4.1.2 ? Thanks
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] kazoum:
Boeffla Config app v2 works with both boeffla kernel v4 and v5. And the Boeffla Sound is configurable too. The only thing is that Boeffla kernel v5 doesn't let you under/overvolt and under/overclock GPU. The rest is almost the same.

The latest version for 4.1.2 is Boeffla kernel 4.0 stable. You can download it in first post or in this link.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] warboss:
can someone provide the original 4.3 kernel please? i get random fc and reboot with the boeffla beta :(
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] kazoum:
I don't know how to extract the kernel from the whole firmware, but you can always reflash the 4.3 firmware from odin and it will replace Boeffla kernel.

However, you shouldn't be having those issues. Are you using a custom recovery? Try wiping cache and dalvik cache, and then reflash boeffla.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] warboss:
i used philz touch recovery http://d-h.st/users/philz_touch/?fld_id=16050#files

im gonna try to reflash first after wiping ;)

edit: ok did that....after the first reboot i got touchwiz fc instantly ._.

edit2: ok lol i could easily extract the boot.img from the tar.md5 file with winrar xD
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] .NetRolller 3D:
One small bug: the boot animation is delayed by several seconds compared to the boot sound. Funnily, the stock kernel has the opposite issue, i.e. the sound plays late.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Hbohd:
FC's are rather not a kernel problem... What's more, me, Goldie and txr33 didn't report anything like that for some hours of running it on our phones. So I would rather look for culprit somewhere else.

Oh, that's probably because of new handling of bootanimation by boeffla. It had to be done to support custom bootanimations probably. I didn't notice that because I turned off booting sound immediately :p

And to one man asking for odin package without knox bootloader: I will update OP with new installing steps, tips etc.

Here is also a installation procedure:

You need root on your device

Download full odin package from sammobile or here.

Install mobile odin and flashkernel apks from this thread --> click (or you can buy mobile odin pro)

Run mobile odin, choose odin package you downloaded

CLEAR recovery, kernel and hidden

Flash

After successful installation my phone booted to Philz, then I flashed supersu from here --> click

[*]Reboot to system now

[*]Run your camera, take a picture

[*]Power off your phone

[*]Boot it to recovery using Vol UP + Power + Home buttons

Flash anything you want (boeffla kernel 5.1beta4 for example :good:)

Steps in bold are for people that came across 'camera failed' problem when they hadn't run camera with stock kernel before installing boeffla.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] P$T:
Yep, I am asking about odin package without knox things. With this instalation procedure knox bootloader and apps will be insinde, right ?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Hbohd:
Nope, using mobile odin bootloader isn't flashed :) You will keep your old, knox-free one.

Bootloader is flashed using Odin on PC, however still it can be removed from package... I just found this method easier :cool:
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] mindphaser2k9:
djb77 stated that WiFi doesn't work with old bootloader. Does it work for you?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Hbohd:
Didn't I say it HERE ? :p
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] mindphaser2k9:
Really, thanks :good:
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] winxuser:
Even with the new kernel on stock 4.3 battery drain is still pretty quick
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Hbohd:
I have the opposite feelings, like the battery life was improved by Samsung ;)

On the other hand, I have to do some more full-day testing, now it's still to early to deduct anything sensible...
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] raka1:
Same high battery drain using Alliance V2 Rom. 40% within 3 hours and device getting warm.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Goldie:
I disagree. My battery has been waaaay better than 4.1.2 with this kernel
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] raka1:
Battery drain is normal right now with pegasusq Govenor (was zzmove and lulzactive before). Don't know what it was but for now ...ok.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Hbohd:
Please guys, let it run some time on new firmware, enjoy as much as you can and then report anything :) Sometimes phone behaves weirdly after flashing because f.e. media scanner is running in the background or some app is keeping cpu at high freq. Everything is possible, when you have problems just check apps like betterbattery stats or something checking processes running in the background.

In case someone don't read other threads:

Wow, guys ! Another tricky solution found, but still I haven't found the culprit of this misbehaviour of camera on my kernel. You have to backup one file from /data/cfw called SlimISP_XX.bin, where XX differs between phones. Back it up to your external sdcard and when you flash the rom with my kernel, copy it to /data/cfw (which was empty in my case) and camera will work :D

However, I still don't know why it depends on stock kernel :o

Thanks to P$T for pointing this !
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Looki75:
With 5.1b4 on Samsung official rom, using zzmove with batt-extreme: usually everything is fine and fast and snappy.

However time to time, the phone gets awfully laggy until it freezes totally. At this point, sometimes it reboots, sometimes I have to pull out the battery...
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Dr Nicky:
Hbohd, I's probably right under my noise, I'm looking for the document of features/options and what effect each of the toggles have. Can you point me in the right direction please?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Looki75:
http://www.boeffla-kernel.de/index.php/kernel-settings
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Dr Nicky:
Thank you
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] sonic76:
I can confirm this! I've the same problems with this Kernel.

Is there a newer/ fixed/ updated version on the way?

Regards

Sonic76
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Looki75:
After the above happened about 5 times this morning, I remembered that last night I introduced new settings in the xposed module "Per App Hacking".

I deleted these settings and from then, I didn't experience such slugginess/freeze anymore.

However, I need more time using the phone to be sure the issue is gone.

I did notice later during the day however that when installing an app from market and doing something else on the phone at the same time, the phone again feels sluggish and has some micro-freeze. But once the app is installed, everything is back to OK.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] badge2033:
for me it happened when using pegasusqplus

i got all the happy symptoms: slugginesh, freezing, late wakeups at phone calls, and many sods also

it all went away when i switched back to good ol pegasusq
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Hbohd:
Nothing on my side since 2-3 days... Once scrolling and exploring Root Browser was EXTREMELY sluggish but I went back to homescreen and it was ok, really weird. You might try to add +10 to LMK values in misc tab in boeffla config. It may have some influence, however our 2GB of ram shouldn't be gone too fast...

Oh, and pegasusqplus isn't supported THIS much by Andi, it was user request to add it... Zzmoove is the prefered Andi's choice ;)

Now I am awaiting new sources with GPU settings and I will probably try to fix one issue that [MENTION=2667019]oswade[/MENTION] reported...
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] badge2033:
thx for your answer hbohd

however apparently i misexpressed myself

what i wanted to know is anyone having issues with pegasusqplus specifically?

because i read about and it seems perfect (for me at least) so i want to use it as daily driver, but these weird issues force me to stay with pegasusq for now
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] P$T:
[MENTION=4731772]Hbohd[/MENTION]

Could you try to compile next boeffla kernel with Linaro 4.8 toolchain ? It will be add some extra performance to our devices :) I think THIS is newest linaro binaries for now.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Looki75:
UP! 5.1b5 has been uploaded for i9300 about 1h ago!

Thanks ;)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] ShonkUK:
1.4 Volts default for 1600mhz is a bit ott isnt it

I Set 1.288 for 1600mhz + 15000mhz and -50 for everything else

and did extensive stability tests and its fine on my cpu

didnt even bother trying any lower

so its well worth testing your device

Maybe 1.35 would be more in order for 1600 default

Edit: 1.238 is also stable at 1600 on mine..
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] basvanasperdt:
I've just flashed your latest kernel on stock 4.3 [MENTION=4731772]Hbohd[/MENTION]. Used all of your previous projects on 4.1.2, thanks for all your work mate!!

First I checked the camera.. no problems at all :D everything works fine.

I am using the battery saving presets, and I will report back to everyone about battery life with this kernel.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Hbohd:
Okay, especially for you I will compile the next version (approaching in 1-2 hours) with this toolchain. However, I don't think I will find any improvement, more of placebo... Still, worth a try :good:

Yeah, thanks! Fortunately, Andi uploaded sources immediately too! New beta is comiiiing :D

Can you tell me what's your 'ASV level' in the overview tab in boeffla config? :)

That's kind to read such posts ! I think everyone need some kindness from time to time, it motivates me to do sth :victory:

Syncing my repo with the newest changes and will try to compile using provided by P$T toolchain..
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] basvanasperdt:
[MENTION=4731772]Hbohd[/MENTION] Haha you're welcome man, keep up the good work! So far I'm very happy with the latest kernel, but will have to use it for a longer period of time to say something about battery.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] ShonkUK:
ASV Level 3
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] P$T:
Thanks! I think new linaro have little deeper optimizer improvements. Someone compile CM for nexus 4 with linaro 4.7 and 4.8 toolchain: LINK. There was also compiled stock cm11 kernel for sgs1 which use linaro 4.8 toolchain, and people report better benchmark results than the same kernel compiled from google toolchain LINK.

I believe that this is not a placebo, but I have it test myself :P
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Hbohd:
I've really tried to use 4.8 linaro, however I couldn't solve errors that appeared during compiling (which I was foreseeing before). If any i9300 dev uses this toolchain just point me to his/her github and I will check what I can do...

Some news now! I've been writing my own bash building script for few hours and had some fun learning new things and how it works... Now it's ready to use and it even built something for you and me! :D Here comes the 5.1beta5 with GPU settings ! It's even faster than it was before (is it possible?!) :good:

Changelog as always here -> click

Oh, [MENTION=2667019]oswade[/MENTION], please download and check whether your problem is fixed now.. I used info provided by you in boeffla thread ;)

I think it's high time to compile OMNI kernel (and cm11 probably too), but... tomorrow! Now it's 2 o'clock and it's deep night, time to relax a little :)

Report any bugs, errors, as always :o
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Hbohd:
Hey guys, I have also a question for you all.

Anyone that haven't got any problems with camera using kernel ported by me, can you tell me the XX from /data/cfw/SlimISP_XX.bin file? It's important probably to solve this one puzzle... But I ask only people that f.e. flash rom, then my kernel (without booting it) and then reboot and their camera works.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] P$T:
You mean this one kernel is still compiled on google toolchain ?

Tomorrow I take some research about this and if I found someone using newest linaro I'll let you know.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] ShonkUK:
I ended up using the ASV Level 11 voltages on my ASV Level 3 with just 1600 and 1500 changed

I have heard that there's no point overclocking the gpu past 533 as it will just get throttled due to heat

and its preferable to undervolt the gpu to minimize throttling

Here's my settings for people to try

seems fine atm and have run a pile of stability tests

ASV LEVEL 3 DEFAULT

200 Mhz 900, 300 Mhz 900, 400 Mhz 925, 500 Mhz 938, 600 Mhz 963, 700 Mhz 975, 800 Mhz 1000, 900 Mhz 1050

1000 Mhz 1088, 1100 Mhz, 1138, 1200 Mhz 1188, 1300 Mhz 1238, 1400 Mhz 1288, 1500 Mhz 1350, 1600 Mhz 1400

ASV LEVEL 11 DEFAULT

200 Mhz 863, 300 Mhz 863, 400 Mhz 888, 500 Mhz 900, 600 Mhz 925, 700 Mhz 938, 800 Mhz 950, 900 Mhz 975

1000 Mhz 1013, 1100 Mhz, 1063, 1200 Mhz 1113, 1300 Mhz 1175, 1400 Mhz 1213, 1500 Mhz 1250, 1600 Mhz 1313

CPU Now

200 Mhz 863, 300 Mhz 863, 400 Mhz 888, 500 Mhz 900, 600 Mhz 925, 700 Mhz 938, 800 Mhz 950, 900 Mhz 975

1000 Mhz 1013, 1100 Mhz, 1063, 1200 Mhz 1113, 1300 Mhz 1175, 1400 Mhz 1213, 1500 Mhz 1238, 1600 Mhz 1238

GPU Was

160 Mhz 950, 266 Mhz 975, 350 Mhz 1050, 444 Mhz 1100, 533 Mhz 1150

GPU Now

160 Mhz 925, 266 Mhz 950, 350 Mhz 975, 444 Mhz 1000, 533 Mhz 1025
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Cowboy88:
[MENTION=3725242]ShonkUK[/MENTION]

What is that for?

How to update?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Hbohd:
Oh, it's for people that like to undervolt their phones ;) I am personally not into it, setting 'undervolt medium or light' is maximum I set.

Every voltage may be changed within boeffla config app. However undervolting may cause instability problems, freezing etc. Bear it in mind!
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] ShonkUK:
Im not really into it either but didnt like the idea of 1.4v at 1.6ghz as thats a lot of volts for a 32nm chip

once i looked into the voltages i decided to try the higher binned chip voltages

Then ran into a gpu thread on about throttling due to heat from the gpu

and decided to test stability undervolting that while i was there
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] mindphaser2k9:
Unfortunately my phone almost hanged with the new kernel 5.1beta5 two times. Flashed again beta4, works good. Maybe I need to reset some settings in Boeffla Config before flashing?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] oswade:
No good brother. I appreciate the effort in trying though!

Don't worry about it :)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] basvanasperdt:
Flashed beta5 this morning. Had 2 freezes yesterday evening (on beta 4) and one this morning (on beta 5). I was thinking it could have been caused by undervolting of the cpu. Tried, but this wasn't the issue.

About the data/cfw... my folder is empty. I use official 4.3 rom, flashed using PC Odin. First used stock kernel, afterwards I switched to your kernel
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Hbohd:
I personally haven't got any freezes, however it might be due to constant flashing by me...

Could you guys post here your full configuration? Or just tap "Create debug info file" under "Action" in top right of boeffla config and send me a file ;)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] mindphaser2k9:
Here it is
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] basvanasperdt:
Here is mine

After the freeze, my phone reboots. I am also trying some different settings along the way
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Looki75:
I had again freezes with beta 5... 2 times in 6hrs of use.

Also, I noticed a very strange behavior. Sometimes the cpu stays "blocked" on a specific state.

For example: all 4 cores at 1.6GHz.

Or: 1 core at 1GHz and 3 others inactive.

Or... Etc... Could be all variants.

The common symptom is that cpu stays in a fixed configurarion as far as nb of cores and frequencies are concerned...

The cpu load % keeps fluctuating.

I checked the above with Android Tuner Pro. (note: I just use it for monitoring purposes, it doesn't change freq or gov or anything).

I witnessed this strange behavior 3 times from this morning.

My feeling is that when we have a total freeze, it is the cpu which is blocked in a very low state (like "all 4 cores at 200MHz" or "all 4 cores deep sleep"... ).

I thought it could come from the multicore powersave which was set to aggressive. But same issues with "on" and "off"...

For now, I am back to stock kernel.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] sonic76:
I can confirm looki's expiriences, i have lot freezes and so on,

sad for me but i have to go back to stock kernel!

regards

sonic76
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Hbohd:
Firstly, please try without any undervolting... Just to exclude it from the list of culprits. Then, I had forgotten to tell you that debug file should be done after this random reboot, therefore I want to ask if you created it after random reboot or in other circumstances?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Hbohd:
Hmm.. I haven't seen such behaviour on my side, really :mad: It's hard to do anything when this problem doesn't touch me. What can I say... Maybe it's a process keeping your cores at max freq? Or mediascanner stopped at some file? (it's known to do it often) Additionally, I would recommend debloating your rom completely, in few days I might share my bloatware cleaning script :good:

However, I will still monitor if this behaviour appears on my phone. Using PerfMon for this :)

Another update on camera firmware issue (i think that the last one). I found out that people with ZD and GD will have camera working always. Why? Because these files are packed within kernel (zImage exactly) and ONLY THESE two are provided by Samsung in their opensource release... Interesting, isn't it? For example, I have GH version, which I may add to zImage manually, however adding more of them breaks the size limit for boot partition, so it's impossible to have all these versions together. However, stock kernel somehow has them, don't know how because zImages aren't extractable :eek:

Thus, we has to live with this bug unless Samsung do something about it or someone else proves me that I'm wrong :o
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] pkrstr:
my zd camera isn't working...
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Hbohd:
Are you completely sure? When you dial *#34971539# and check version of camera/phone fw you have ZD at the start?

And your camera doesn't work showing "camera failed" ?

Because then it's something completely illogical...
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Looki75:
Nope, it cannot be any of the reasons you listed:

* I completely un-bloat my ROM

* The exact same config with stock kernel is rock solid

* Mediascanner is fine

PLUS

: as I wrote in my initial post,

it is not

just "all cores at 1.6GHz".

I could see also by my eyes a blockage on "1 core at 1GHz and 3 others inactive" and blockage on different configurations...

And again: my analysis is that when the phone totally freezes, it is because CPU is blocked in a very low configuration, eg: "1 core at 200MHz and 3 others inactive"...

If you don't experience freezes and reboots, it's probably because you don't have any "CPU blockage", that's why you don't see this behavior!

Comments?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] liesen:
I have ZD and i have no problems with my camera. I come from alliance Rom 1.3 and i update to alliance Rom 2.0 without wipe and stock kernel

Gesendet von meinem GT-I9305 mit Tapatalk
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Hbohd:
Please read a little [MENTION=689061]liesen[/MENTION], it should touch ppl that full wiped, then flashed any sammy rom + my kernel and after this they rebooted and launched camera :p
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] JohnSpawnVFX:
Well, don't know if it was related with that but, ever since I installed AllianceRom with this kernel, I've had horrible battery discharge. Yet, on the kernel's last update, it went back to normal.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Hbohd:
It might be reboot-related :) Believe or not, but reboot can make wonders in battery life. Not always of course :p
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] ShonkUK:
with beta5 if you roll back to stock kernel it results in a failed boot

beta4 back to stock kernel is fine

I had to flash my complete rom with beta 4 back to the phone

booted fine then back to stock kernel

Just tested it on two seperate s3 lte's

if anyone else try's this it may be worth rolling back to beta 4 before stock kernel
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Hbohd:
Wow, then something is wrong :?

Kernel doesn't add anything to the ROM that might cause it not booting later with another kernel :o

I also added info about camera bug to the 2nd post --> click
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] ShonkUK:
it did it earlier with mine

I was flashing back to stock kernel to use triangle away

then my son's that was still on 4.1.2

I directly flashed my rom with 4.3 and beta 4 kernel

then flashed beta 5

to see if triangle away works with beta 5 (it dont)

then flashed stock kernel = failed boot

I have just flashed the complete rom with beta 4 back on

and its booted up fine

Just about to flash stock kernel

btw his phone has ZD camera the camera worked first time with beta 4 and beta 5 kernel

it hasnt run stock kernel yet

mine is GD also fine
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Hbohd:
Just tried from beta5 to stock kernel - phone doesn't boot. I've reflashed beta5 and it booted. Interesting finding, thanks for it. However, shame on me, I don't now what is it caused by :o

I need to investigate kernel changes now..