yashsingh1/xdaforums huggingface dataset:
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] stratonz:
Really I don't know... I haven't this kind of problem, the only things that don't work well (in Ressurection Remix) are the selinux in-app changer, that doesn't really change the status and carry to a reboot (but you can change it from inside the ROM), and the strange fact that when you change the kernel sometimes you lose GPS, but they reappears after a reboot (often randomly produced by kernel...).

:confused:
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] stratonz:
LINARO 6

Hello,

I've compiled another beta3 build, this time with linaro 6.0 and I've already uploaded in AFH.

If you noticed that there are no relevant differences in versions builded with different compilers I think I'll stop the tests.

Bye!
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] mklmkl:
Well, there must have been a change after 6.0 test3 since that version doesn't show this issue.

Being happy with that version I'll simply continue using it :)

Final thought - I'm using the SELinux-"enforced" mode. Could this choice be relevant for the issue?

Thanks for your kernel!
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] stratonz:
I must honestly say that there's no substantial differences between test3 and the beta3 versions, only renaming and a little variation in pegasus governor that wouldn't be affect the kernel working...

About "permissive" and "enforced" mode I've noticed that there are some random issues (depending on the ROM you're using) concerning SIM recognition and/or GPS, but in my case they resolve themselves with some restarts, or switching between permissive and enforced... Don't ask me why. ;)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Skittles9823:
Okay just reset my NV and I'm still experiencing my bug. I'm sure it's the device itself now. Thanks for the help though.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] DJ aliasz3d:
no problem, sorry to here that :(

g'day to sydney by the way :good:
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] stratonz:
Beta 4 versions

Hello everybody!

I've build some beta4 versions of boeffla-startonz kernel with some (not fundamentals) commits from LineageOS and LordBoeffla. I've also removed the "permissive at boot" parameter cause it gives me issues when I want to move to "application" from inside boeffla configurator. I'll upload them to AFH in a while.

Just a question: has someone problems connecting to pc via usb and switching from charging to mtp mode?

P.S.: thanks to rodman for his latest RR version! :good: I'll try it immediately...
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] rodman01:
You are welcome...waiting for your new kernel to test ;):cowboy:

Hopefully sim detection and gps is also working after a clean flash and with non permissive kernel by default...but will see soon :)

I have no problems, even not with my partly defect USB connector. And its also connecting to my mac. For me everything is good.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Oswald Boelcke:
Negative, no issues to connect to PC via USB and to change from charging to MTP.

Additionally, fully concur to rodman01's statement.

Thanks for your efforts and commitment! Superb job! Well done.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] stratonz:
Thanks rodman. SIM detection and GPS works perfectly, please test to switch selinux from inside boeffla and tell me if you have a reboot (not immediately, a little later...). Instead, maybe my MTP connecting problems depend on the fact that I have a virtual machine installed... I must try on a clean PC.

Your latest rom seems to work well, now I wait a day or two to see how battery drainage goes :fingers-crossed: (but I think it's a problem of all nougat's rom... AICP drainage is as equal as RR's one). Bye!
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] DJ aliasz3d:
[MENTION=5089549]stratonz[/MENTION] hi thanks for the new kernel:good: please see my post here relating to your question about SE Linux. I don't want to double post so here's the link to the post.

https://xdaforums.com/galaxy-s3/dev...n-remix-4-4-2-kitkat-v5-t2704828/post72107807
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] mklmkl:
Don't know which change caused it but with beta4 (uber 6.0 variant) BoefflaConfig is working again on my i9305 :)

Thanks

Klaus
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] rodman01:
Compiled a new beanstalk with your new beta4 uber tc 6 and after clean flash its booting, has sim and gps is working (will be uploaded soon :)). Boefflaconfig shows strickt an selinux switcher in developper settings: enforcing. So I assume: everything works great:good: Thanks for the release.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Oswald Boelcke:
Baseband issue with boeffla-kernel-6.1-boeffla-stratonz-beta4-UBERTC-6.0-LOS14.1-i9305 and boeffla-kernel-6.1-boeffla-stratonz-beta4-UBERTC-4.8-LOS14.1-i9305.

Please find details here.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] stratonz:
Hi [MENTION=5072265]alias_ z3d[/MENTION] and [MENTION=7408621]noc.jfcbs[/MENTION],

in my beta3 kernel version I've put a parameter of androidboot on "permissive", to avoid SIM detection issues, but then I realize that this workaround causes troubles (soft reboots) when you switch from a selinux state to another from inside boeffla kernel app (no problems if you use rom configurator, as in the useful suggestion gave by [MENTION=732649]rodman[/MENTION]: https://xdaforums.com/showpost.php?p=72110730&postcount=6453). In beta4 version I have removed this option and my kernel carry on the default configuration of the ROM, and you can switch selinux also by boeffla app without problems.

Cheers! ;)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] DJ aliasz3d:
Thanks heaps :good:

I'm currently out of thanks so I'll have to thank your post later today once restored. Thanks again :highfive:

Edit:flashing now :good:

Edit2: yes after changing to enforcing in configurations it is now mirrored in the boeffla config app. Also no issues now accessing boeffla config (it's not blocked) with enforcing turned on. And sound works in enforcing mode.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] stratonz:
Beta 5 and Beta 6

Hello everybody,

I was searching in AGNi sources some ideas to make our kernel better, when AGNi himself published a post in which he invites to test his mdm_hsic_pm.c to verify if it reduce the homonym wakelock percentage; so I decided to try and I've done this beta5 with two insertion from AGNi kernel:

- AGNi mdm_hsic_pm.c;

- AGNi abb_control (Adaptive Body Bias - something to regulate voltage on low tension chipset, like a modem).

There's also a beta6 version in which I change the canonical Reader/Writer Semaphores RWSEM_GENERIC_SPINLOCK to RWSEM_XCHGADD_ALGORITHM used by AGNi.

I, obviously, still don't know if these changes bring benefits... if you like test kernel and let me know.

Kernels are uploaded in AFH folder as usual, please see first post.

Bye!
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] lolala1:
Caution! Dangerous!

This port best work, i know... But there are some problems...

I flashed RR rom, good worked 1-2 days... After, install this kernel... same time no problem looking. Yesterday, (i replace battery) Network don't detect. Missing network/sim. Maybe, EFS data crash....

Full format, hard/soft reset, Rebuild NV, repair firmware etc. not a solution... I backup EFS (1-2-3 radio etc. with Wanam's app) a long time before (2015) Flashing .img backups with FlashFire. all succes!! this Network/sim back to my phone.

*sorry my lang is bad. :p
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Oswald Boelcke:
This issue is well known and has been lengthly discussed in the RR thread.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] lolala1:
I used LL-MM-N version of RR. I am experiencing this problem for the first time. :confused:
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] MrWasdennnoch:
Other have experienced it as well and shared their experiences in the ROM thread. If you use the search function you fill find several posts discussing this issue.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] lolala1:
I searched RR thread. Same issues looked, i can't find real solution. (Away from the subject matter. lol.:p )
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] stratonz:
I don't know if I've clearly understand your problem and which version of my kernel you have installed (beta3 is permissive on boot, from beta4 they follow the ROM default selinux configuration), but if you have SIM not detect the easiest way to solve the problem is usually going to settings of your ROM (RR, in your case) and change selinux option to "permissive" and reboot. SIM should be working now and, if you want, you can go back to "enforced" mode without loosing SIM again.

This issues happened also with old lineage, RR, AICP etc kernels and it's not depending on the kernel in itself but on the selinux configuration.

Bye! :)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] lolala1:
Hmm. thanks for helpful reply.

i flashed boeffla-kernel-6.1-boeffla-stratonz-beta3-Linaro6-LOS14.1-i9305.recovery.zip version.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Oswald Boelcke:
I intended to test the boeffla-kernel-6.1-boeffla-stratonz-beta5-UBERTC-6.0-LOS14.1. I new SELinus was at strict before booting into TWRP to flash Beta 5. After restart, I immediately realised to have no SIM and baseband being unknown. SELinux was now moderate. Set SELinux to strict, and rebooted to test. Still no SIM and an unknown baseband.

Flashed boeffla-kernel-6.1-boeffla-stratonz-beta4-UBERTC-6.0-LOS14.1. Same result: No SIM, baseband unknown.

Now flashed the RR built-in kernel (boeffla-kernel-6.1-boeffla-stratonz-beta3-Linaro6-LOS14.1), and gratefully SIM and baseband are back. Both were back by simply flashing the Beta 3 i.e. no requirement for me to restore my Nandroid-backup. SELinux always remained at moderate.

I apologise but I urgently require my SIM to be available in order to receive and to make calls; therefore, I'm unable to support any further testing of Beta 5 or 6.

AMENDMENT (2016-05-05): @stratonz - My wife's i9305 and mine have nearly (~95%) the same system configuration, Boeffla Control settings incl. governor, governor profile, frequencies etc. are exactly the same, just our application suite slightly differs. However, her kernel is the boeffla-kernel-6.1-boeffla-stratonz-beta4-UBERTC-6.0-LOS14.1, and as you see in the attached screenshot that I just added, her device has a recognised SIM and a known baseband with this kernel, different to my experiences I described above. For completeness and to allow for comparison, I also added a BBS idle dump of each phone (the one of her phone starts with "VS", the one of mine with "RS"). I believe it's a pretty difference betwenn 2.1%/h and 1.3%/h, and I've to dig further into that. Might be the different kernel but also that she's synchronising her contacts and calendar entries with her email server via CardDAV and CalDAV, while I only synchronise with my notebook via MPE.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] exxxistent:
Thanks for boeffla

can someone help me choose? ---- UBERTC-6.0 / google-4.8 / LxSM-6.0
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] DJ aliasz3d:
I find sometimes system sounds (touch) don't work on the version in my screenshot with SE Linux status set to enforcing.

EDIT: for some reason i tried to connect the phone to my windows 10 and my Linux laptop and it works for charging but not MTP. I'm using a new usb cable and have tried several, i even tried enabling UMS mode in boeffla config app, toggling usb debugging but no luck. Is happening on the RR boeffla build and the one in my screen shot. Anyone had this and solved it? please let me know :good:

EDIT 2: with todays update of RR its now working on the built in "lite version" of boeffla.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] stratonz:
Hello, I upload a beta7 version in which I have removed the Adaptive Body Bias, cause it's not really working in my configurations. The msic etc etc .c file is the new lineage "official" provided by AGNi, and which is the same I've tested before. Substantially this is a "cleaner" version, nothing new compared to 6.

Inviato dal mio GT-I9305 utilizzando Tapatalk
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Oswald Boelcke:
I gave the beta7 a try for 24 hours, and I'm pretty happy. Nothing to report, and I guess that's always good.

Attached a from my point of view pretty decent BBS idle dump. "mdm_hsic_pm0" at 0.7%, "PowerManagerService.WakeLocks" at 0.2%.

However, I apologise for now leaving beta7 as I want to test @rodman01's RR-N-v5.8.3-20170512-i9305-Official-HWC with its built-in kernel.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] dawidd6:
The "mdnie sharpness tweak" isn't set permamently. After device wakeup it's gone. Also the switch in boeffla config should be the opposite. It's a very useful feature for me, would be great if it would work.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] stratonz:
I've also this issue, but it's very hard to understand why it happens, cause the sources and the defconfig of rodman inbuild kernel are the same of mine... :confused:

By the way, I've noticed that when I make a clear installation usb in MTP mode works, then I restore all my apps and the problem reappears. I don't know if the issue could be caused by an app...
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] DJ aliasz3d:
Thanks for letting me know :good:
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] stratonz:
Beta8 version

Hi!

I've uploaded a beta8 version with cleaned sources and defconfig.

So I have removed AGNi ABB Control and RWSEM_XCHGADD_ALGORITHM coming back to Boeffla defaults, cause I've had problem in implementation without noticeable results.

AGNi mdm_hsic_pm0 is now part of official lineageOS sources, so it's in!

I've tested USB connection to a PC and now it seems to me that MTP mode is working ("seems" cause I've problem with

cable/miniUSB port of my i9305..:( )
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Glenn2:
I will try the new beta8 kernel. I've tried beta6 and beta7 with LineageOS, no problems yet, no mdm_hdic_pm0 wakelock. I also saw the fix is in the LineageOS kernel, but I only used that for a few hours because it kept rebooting.

I've had no issues with MTP mode - if you mean connecting phone to PC (after selecting to transfer files in the notification). Of course there is the crashing MTP host issue, and maybe that interferes with it? I have disabled the MTP host app as I don't need it and the FC annoyed me (I'm not going to plug a digital camera into my phone or anything) so maybe that's why I don't have any issues. Worth a try?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Glenn2:
If you like the oversharpened look, set:

Sharpness tweak status = off

MDNIE overwrite = on

MDNIE mode = 0

MDNIE scenario = 5

Personally I don't like it, and it is the Samsung default, so that it is why the tweak DISABLES the sharpening. So the sharpness tweak switch is working correctly with respect to on/off.

NB: there is something in all CM kernels that turns off the sharpening anyway when using mode 0/scenario 0 (the default) when you turn the screen off then on again. That is why I suggest to force scenario 5 if you want it sharpened permanently.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] dawidd6:
Many thanks. I'll definitely give it a try. The sharpness is the main reason why i stick with my nameless based cm12.1. Maybe i could now fully switch to latest rom, because of your advice. Thanks again.

Also i've thought to compile myself lineage kernel with mdnie files taken from nameless. But as long as default kernel is causing reboots it's not worth it.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] stratonz:
New beta8b and beta9 version of Boeffla-Stratonz Kernel

Hi everybody,

happy to hear that Glenn2 and some others have not problems with connecting the phone to PC in MTP mode, but the problem that, for example, I (and [MENTION=5072265]alias_ z3d[/MENTION], I think it's the same...) have is the strange disappearing of the "N" icon when I try to switch from recharge to MTP mode... The icon is not a big problem, but the fact is the phone doesn't connect to pc for transfer files! Until beta5 version, MTP mode works, then I've tried to implement some AGNi peculiarities to boeffla kernel, but apart the mdm_hsic_p0 version of AGNi that worked flawlessly, the rest of attempts gave me a lot of problem...:crying:

So I've cleaned the defconfig and sources and now I upload a beta8b and a beta9 version of kernel, please, if you're interested, test if the problem persists.

Bye!
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] DJ aliasz3d:
Thanks stratonz I'll try later today :good:

And yes I face the exact issues that you described with changing from charging to mtp.

Edit: still can't connect on beta9 I can charge but upon switching to mtp the N disappeared and could not connect to PC. I tried changing to USB debugging always notify but no luck. Might be related but Bluetooth file transfers also fail half way from device to PC but not from PC to device. It works on RR stock kernel though.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Glenn2:
Where is the N icon you are talking about?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] stratonz:
High left... It's an icon that appears when you connect phone to PC via USB.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] djthorne:
All working fine - can switch from charging to MTP and back, with the icon remaining. Beta9 with latest HWC RR.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Schwester_Gabi:
i was on AICP 7.1.1 from last year. there i had installed the boeffla kernel 5.1 or 6.0. i dont know exactly. now i has cleaned my phone and have fresh installed newest AICP 7.1.2 and testet the last 4 kernels from here. but phone doesent boot. it stucks at the AICP logo and hangs on. whit stock kernel it boots perfect. does anybody know why its not working ? AICP is based on LOS 14.1. where is the difference between AICP and RR so the kernel dont work ? thanks for help and for working on kernel for the good old S3 LTE.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Glenn2:
I don't have this and have never seen it. I am using LineageOS though, not RR. Maybe it is an RR-specific thing!
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Oswald Boelcke:
Here're a few screenshots; probably really only available on RR...
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Glenn2:
I think you maybe have 'Android debugging' (ADB) enabled.

If I enable that I get an icon in the status bar for it.

It's not an N though, it's a circle that looks like a disk platter. The N is probably an RR refinement.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Oswald Boelcke:
Affirm. Android debugging is enabled.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Oswald Boelcke:
Remark to Beta8 (boeffla-kernel-6.1-boeffla-stratonz-beta8-UBERTC-6.0-LOS14.1-i9305.recovery.zi): As soon as I flash this kernel, I'm losing the SIM and baseband is unknown.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] public3n3my:
Ubertc beta 7 n 8, i lost my signal guite often..
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Glenn2:
Using the latest version with latest Lineage OS, no issues apart from a wakelock. Not the usual one, but PowerManagerSevice.wakelocks stuck a couple of times. Have to reboot. Had this on the previous version too. It may have always been there but masked by mdm_hsic_pm0 (or have the same cause).

Also, is there a way to make selinux default to permissive? By the time the kernel app has toggled it off, my phone's already tried and failed to start the V4A (Viper4Android) driver. I didn't have this issue with AGNi because it defaulted to permissive.

Is there a build.prop edit or something I can do. Or maybe setenforce in an init.d script would do it in time?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Oswald Boelcke:
I always have trouble with kernels when SELinux default is strict.

And I'm now back to boeffla-kernel-6.1-boeffla-stratonz-beta3-Linaro6-LOS14.1-i9305 on both devices as nearly all later ones gave me trouble in SIM recognition and with unknown baseband. And actually, Beta3-Linaro6 is working excellently at least for me.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Glenn2:
Using an init.d script didn't work.

However, I just installed an old apk I had lying around called SELinux Mode Changer.

That seems to get in and do its thing before Viper4Android loads. Problem solved!
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] erosco:
I am in a similar boat.. I think beta3 is the best of the bunch so far.. although I get reboots occasionally (normally when coming back to a known wifi signal/reconnecting).

Cheers
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] DJ aliasz3d:
Does VIPER4Android work for you in enforcing mode? I lose system ui touch sounds in enforcing with and without viper. [MENTION=431247]erosco[/MENTION] I found beta 3 extremely stable it's the first one I tried and I have no issues on that one with ubertc.

OT [MENTION=7408621]noc.jfcbs[/MENTION]

Thanks for your screenshot I now know what those notification icons are in you status bar I've downloaded both at firewall and network log and their good :good:
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] erosco:
Thanks.. [MENTION=5089549]stratonz[/MENTION] I am thinking an ideal kernel might be beta3 based with agni's ril changes? Maybe that would stop the reboots and make it perfect in my eyes. What are your thoughts? Maybe too much has changed for you since beta3..

Regards

erosco
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] stratonz:
Hi [MENTION=431247]erosco[/MENTION],

I've tried to rebuild a kernel based on beta3 defconfig, but it presents the same problems of the later kernels, cause I think they depends on the agni's ril changes. For example, the introduction of agni's mdm_hsic_pm0.c in lineage and boeffla souces have reduced wakelock, but it makes the modem losing connection quite often (expecially on LTE/4G). I'm looking for some solutions, but I'm quite busy now...

Thanks for your feedback. :good:
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] erosco:
Totally understand. Thanks for replying.

Cheers

erosco
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] stratonz:
Hi [MENTION=5072265]alias_ z3d[/MENTION],

I think I've realized that the problem of USB switching MTP/charge modes (and relative icon) depends on "Ignore unstable power" in Boeffla config app: infact, I noticed that the issue exist if you've it set to ON, meanwhile when I switch it OFF the problem disappear. Please test if it works for you. It'll be useful to verify if the i9300 version has the same problem, but I'm busy at the moment.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Glenn2:
Hmmm... I've never had this problem even once and I always switch on ignore unstable power (because my wireless charger pad doesn't work otherwise, it drops down to 100ma).

I had funny 'select sim' messages, no sim detected, random reboots and all these issues when using RR, but since using LineageOS (official weekly) and the last few versions of Boeffla I've had none of this at all. A couple of PowerManagerSevice.wakelocks over the ten days I've used are the only black marks against it so far. I've not noticed "the modem losing connection quite often". Maybe it happened and I just didn't notice.

EDIT: this is all with SELinux permissive.

---------- Post added at 11:23 AM ---------- Previous post was at 11:18 AM ----------

Maybe the USB controller in the PC is objecting to the current draw and shutting down the connection?

Try lowering the USB current in the Boeflla app (leaving unstable power on) and see if that also cures the issue.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Glenn2:
I turn the UI touch sounds off as soon as I install a ROM. :D

I've seen people are using V4A in enforcing mode with SuperSU (you have to install a script somewhere).