yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 Original Android Development] franciscofranco:
I'm looking at that picture's thing being reported. I can reproduce partially on the latest LineageOS release. I haven't made any change to the Camera stack but I'm trying to understand if I made a change that's affecting the camera HAL (at least logcat is showing me a few errors).
[OnePlus 2 Original Android Development] Sam Nakamura:
Seems I get around 5 hours SOT with untweaked FK which is in a normal range for me on my standard setup on official ressurectionremix and with my typical usage pattern, but ey, it's the initial release and I haven't started to play with it yet.. :)

Anyways, a good idle state performance is clearly visible by the flattened out battery statistics graph which is pretty nice.. (I also use franco's recommend naptime application)

But I haven't had time to check thoroughly
[OnePlus 2 Original Android Development] calishooter:
Hello Mr. Franco,

Will you ever make this available for the Verizon Galaxy S5?
[OnePlus 2 Original Android Development] binoysankar:
Hi Franco. I tried changing the headset volume gain to a value of 9. When i pressed ok button phone restarted. Next time i changed the value to 5, this time also the phone got restarted. I am on RR 7.1.1 rom btw.

Binoy
[OnePlus 2 Original Android Development] XavNotFound:
[useless stuff was here]
[OnePlus 2 Original Android Development] Mikeyy233:
Alright so I used the performance profile is it safe performance as the 6p? No over clocking support? Just bought your app BTW (;
[OnePlus 2 Original Android Development] franciscofranco:
No.

Weird. Will look into it.
[OnePlus 2 Original Android Development] Giox92:
On which ROM are you ?
[OnePlus 2 Original Android Development] Mikeyy233:
Is the performance profile working its not working?
[OnePlus 2 Original Android Development] Sam Nakamura:
Latest official RessurectionRemix N

I also edited my original post to make it clearer, even I already mentioned the rom I use just few posts above :)
[OnePlus 2 Original Android Development] franciscofranco:
It's working fine.
[OnePlus 2 Original Android Development] Sam Nakamura:
What performance profile?
[OnePlus 2 Original Android Development] chxei:
these profiles are working fine. its impressive how well phone performes on battery saver profile
[OnePlus 2 Original Android Development] Sam Nakamura:
OK, I haven't purchased the paid kernel manager yet, it's not available with the free updater.. Thanks for clarification, unfortunately I'm out of thanks for today :)

Just bought it :good:
[OnePlus 2 Original Android Development] Abhinai99:
I flashed it on validus it broke my gestures and dt2w so if the above two are priority then dont flash :)
[OnePlus 2 Original Android Development] Sam Nakamura:
Validus is aosp based not lineageOS...

This kernel is not made for this combination, as stated in post one..
[OnePlus 2 Original Android Development] Mikeyy233:
i purchased the kenrel updater asoon the kernel came out.. and Franco no overclocking support? or no plans for it ?
[OnePlus 2 Original Android Development] Abhinai99:
I am aware if it! Just wanted to try lol
[OnePlus 2 Original Android Development] magnamentis:
a little heads up and last OT on the "slow charging front" LOL

https://xdaforums.com/showpost.php?p=72082769&postcount=87

[END OT] Promised ;)

---------- Post added at 01:41 AM ---------- Previous post was at 01:17 AM ----------

that's certainly user space, one or several apps hoggin your batt. i just got 7h 38' with 4% left and perhaps it's also worth to mention that i got rid of thermal throttling entirely for good, no heating issues, an always bright display and as i just found out, charging currents physically measured are

ok too. only thin i use is tasker to manage radios and brightness below 50% battery. above 50% i'm running full brightness at all times. no games and no navigation and not reboots and no installs. these 4 things would cut that 7+ hours almost in half ;)
[OnePlus 2 Original Android Development] :
Yeah, sadly I have used 3.5.8. It was the version of Oxygen I was on before I went to Lineage. Basically I was 3.1.0 with no issues. 3.5.5 with issues, then 3.5.6 and finally 3.5.8 before deciding three months of bad battery was enough and jumping ship to LOS.
[OnePlus 2 Original Android Development] Inkfartman:
Hi ever since updating LOS and reflashing the latest kernel there seems to be an issue with the kernel. When clikcing restore or trying to change cpu power consumption settings it does not let me and no matter what profile I am on only 4 cores are active. I have tried restarting the device and reinstalling the app, this behavior causes noticable slow downs in the system.

https://goo.gl/photos/h9q2vhxVXUMC94Jd7

Edit: whenever switching app or loading things all 4 active cores are running at 100% load according to the system monitor
[OnePlus 2 Original Android Development] saurabhp75:
Is OOS 3.5.8 merged in fk
[OnePlus 2 Original Android Development] Sam Nakamura:
Use search or have a look at the changelog...

Both would tell you the answer :)
[OnePlus 2 Original Android Development] franciscofranco:
You're simply thermal throttled, it's not the app's fault. You have something keeping your cores at full blast in the background.
[OnePlus 2 Original Android Development] Inkfartman:
Alright thanks, but why we're the 4 extra cores offline? Normally in even battery saving profile, only two cores are disabled. That's what has me thinking it's a kernel issue.
[OnePlus 2 Original Android Development] aviraxp:
Just to mention. if you still want to build OOS3 kernel, use Google stock GCC which is released before 20140827. That will boot successfully.
[OnePlus 2 Original Android Development] parasthakur37:
Once it starts throttling, the big cores turn off and only small ones work.

Again, not a kernel issue.
[OnePlus 2 Original Android Development] franciscofranco:
That's how thermal throttling works. You're welcome.

I know. I just don't have any intention or motivation to work on outdated OxygenOS :)
[OnePlus 2 Original Android Development] AndroidBeginNinja:
Young Savage why you trappin so hard? Why u gotta 12 car garage?
[OnePlus 2 Original Android Development] franciscofranco:
What? I don't speak that language.
[OnePlus 2 Original Android Development] gps3dx:
[MENTION=3292224]franciscofranco[/MENTION]

care to share with us any your remarks on Qualcomm's EAS ?

Any chance that you plan on adding EAS to your kernel ?

Thanks :)
[OnePlus 2 Original Android Development] franciscofranco:
I have nothing to say. The article is pretty clear. It's a very complicated subject.

No. EAS requires more than just backporting things randomly and it's a waste of time.
[OnePlus 2 Original Android Development] Rebel7022:
Can I servicely with greenify? If not witch ones do you prefer
[OnePlus 2 Original Android Development] gps3dx:
Thanks for the reply. I see... thanks.

hot from the oven... Can you please add the necessary stuff to the kernel so that it can support SDCARDFS ?

( i.e the requirements as describe in the newest magisk module )

much oblige.
[OnePlus 2 Original Android Development] franciscofranco:
Nope. sdcardfs is still in development by the Android Kernel team and it's not ready for production. sdcardfs's only advantage is reduced overhead compared to FUSE when there's system calls to & from the sdcards.
[OnePlus 2 Original Android Development] Rumbledown:
Does this kernel come with support for oneplus' off-screen gestures by default?
[OnePlus 2 Original Android Development] franciscofranco:
Logically...
[OnePlus 2 Original Android Development] anupritaisno1:
From ramdisk/init.supolicy.sh

allow untrusted_app sysfs dir { read write getattr open }

Untrusted apps shouldn't be allowed getattr and write permission to sysfs. You're opening up (theoretical) security holes. Not to mention that even if the write permission is granted, it will still fail without root

Is there a specific​ reason to use write getattr? I think read open is sufficient

Also you messed up the v4a selinux policy patch

Starting from 7.0, audio is handled by audioserver, not mediaserver

So it's not allow mediaserver mediaserver_tmpfs file { read write execute }

It is allow audioserver audioserver_tmpfs file { read write execute }

This is why your v4a patch doesn't work
[OnePlus 2 Original Android Development] ketansharmar:
Viper 4 Android working?

Can i flash it with RR-Rom?
[OnePlus 2 Original Android Development] magnamentis:
both questions have been answered multiple times while V4A even more so in the rom thread.

to stay within the rules of good conduct, answers are yes while with V4A you have to check specifics in the appropriate threads, rom and V4A threads i mean. there are various variants and some behave differently.
[OnePlus 2 Original Android Development] anupritaisno1:
I'm sorry but this is a common misconception

The app you use has no effect whatsoever on whether it will work

And those "patched" v4a zips are not special in any way

Those patched zips just theme the official app and add in a script along with the zip that patches the sepolicy. The app itself does nothing but the script opens the way for the app to work

Also, this is exactly what Franco did but he accidentally included the patch for lollipop. The nougat patches are different

---------- Post added at 18:56 ---------- Previous post was at 18:36 ----------

This kernel is for lineageos. I'm really sorry if you read my post, saw some alien language you had no idea of and panicked that v4a would stop working

That post was written in the context of the kernel being used on lineageos and not to mention that this kernel was never made for RR

The answer here is no even when RR comes with an sepolicy patch already in the kernel and anykernel doesn't touch this while installing the kernel. The reason for no is that v4a will not process anything until deep buffer is removed

And I guess I created more confusion over here. Basically no matter what kernel you use on RR, the sepolicy patch is always there but deep buffer would prevent v4a from working regardless. That means if v4a wont work on RR, it isn't Franco's problem or fault. It's not the ROM developer's or the v4a app's fault either

The issue becomes more serious on lineage than on RR. Lineage has deep buffer as well as it lacks the sepolicy patches for v4a to work. The problem will be seen only on lineageos and not RR (see below for explaination)

Also the logic "RR is based on lineageos so it's the same and this kernel will work" has to stop. RR is based on lineageos but RR is NOT LineageOS. RR just started from a common lineage base, they don't take entire code from lineage after that (except a few things). You have to understand that RR and lineage are vastly different. Not in the UI but in the code as well. No kernel developer can guarantee full support for this. Lineage and RR follow different development philosophies
[OnePlus 2 Original Android Development] anupritaisno1:
Please check that the feature exists before you make a request

Oneplus 2 already has sdcardfs. It is enabled as well

Don't believe me? Check the screenshot
[OnePlus 2 Original Android Development] gps3dx:
if you read the sdcardfs magisk module post you could see that it is kernel-based dependent mostly and NOT phone-type/name/model etc...

that being said... franco already replied... so NO need to reply to my post.
[OnePlus 2 Original Android Development] anupritaisno1:
Whoa. Easy there please. I was just trying to help out

Anyways sdcardfs is enabled in the kernel and device tree for oneplus
[OnePlus 2 Original Android Development] Napster1994:
is R7 kernel compatible with lineage os?
[OnePlus 2 Original Android Development] chetan_1215:
Yep it is
[OnePlus 2 Original Android Development] franciscofranco:
Thanks about the V4A policy tip!

I need write policy to write to the files from untrusted apps, mine for example.

**** me, it's literally written in the thread title.
[OnePlus 2 Original Android Development] anupritaisno1:
Yeah that makes sense. Oops :D
[OnePlus 2 Original Android Development] Exanies:
Can i use this kernel with latest RR 5.8.3?
[OnePlus 2 Original Android Development] magnamentis:
yes but please, next time type 5.8.3 into your xda or google search field and you know, first read, then search and only then ask, generel rule of thumb how to use this forum
[OnePlus 2 Original Android Development] anupritaisno1:
RR is NOT lineageos
[OnePlus 2 Original Android Development] magnamentis:
better say nothing instead of:

a) mislieading info because while it's true it's based on LOS and it's not the point, the question was if it works and it does, period.

b) just adding confusion after the question was already answered and you do not know because you obviously never tried to install this

. kernel on RR 5.3.8 while i and many others have it up and running, hence let those answer who tried and either failed or succeeded. this

. is not a chat-room where it's about everyone just chiming in to have something said as well.
[OnePlus 2 Original Android Development] JuanMnz93:
Hi! I want to know if someone has seen something like this or this is only happening to me.

If I try to charge my phone under 15% it charges rapidly but when it is at 30% it start charging slowly.
[OnePlus 2 Original Android Development] Sam Nakamura:
Charging speed and values are depending on various factors, it's absolutely normal to have fluctuations as long as the overall charging time is below 2 hours you have nothing to worry...
[OnePlus 2 Original Android Development] hurrykaneftw:
Adding to what [MENTION=7125933]Sam Nakamura[/MENTION] said.

It's been discussed in detail in many threads that if u want to check what & how much ur battery is using, u shudnt rely on software values (only).

Buy an external device (amperometer or such) & then check.

Don't dwnld such apps ( so many screenshots of this "Ampere" app already) & give urself unnecessary tension mate.

:)
[OnePlus 2 Original Android Development] Sam Nakamura:
Guys, just a quick note about twrp 3.1.1 being pushed just yet, using latest recovery is always a good thing and avoids issues with the rom you flash, so update time today... :o

https://eu.dl.twrp.me/oneplus2/twrp-3.1.1-0-oneplus2.img.html

Nice weekend

Edit: careful, twrp 3.1.1 seems not be 100% backwards compatible on official LineageOs and based on that roms, but only few are affected, remember to get a working backup before doing a flash of a rom, it might end with error 7
[OnePlus 2 Original Android Development] magnamentis:
hehe... happens so rarely that we disagree LOL, you certainly find my related post in the rom thread and of course it depends but those who rely on flash and forget should wait a week, but it's all said there. the reason why i posted this at all is that probably zero people have or had TWRP related problems as per today but the moment everyone starts to flash lates TWRP i swear that threads start to be bombarded with all kinds of new issues that finally are TWRP related. hence i find it not a good recommendation from a recognized user because to many noobs will jump on the band wagon and end up in helpless trouble.

i'd gladly hear what you think about this point of view, perhaps it's me who can learn something today. enjoy the weekend my friend

cheers
[OnePlus 2 Original Android Development] Sam Nakamura:
See for further information, it seems less a issue of twrp but of a specific build... As I couldn't verify (neither caf nor lineageOS branches) this issues on other builds than the known rom my recommendation goes unedited, which is reasonable IMHO, disagreeing is growing my friend :)

https://xdaforums.com/oneplus-2/development/rom-resurrection-remix-5-8-0-t3518903/post72369644

Edit: if you follow up on this conversation you'll see the complexity of this issue, did edit my posts regarding
[OnePlus 2 Original Android Development] magnamentis:
yeah, i follow up and see what you mean while according to my point it's not about what's the culprit but the general risk ( almost standard ) of initial incompatibilities after new major twrp releases and the issues, no matter who/what is guilty, will happen much more sparsely if people without above average skills or time wait a few days ( a week ) to wait and see. i'm fully aware that you and i have no issues and either flash back and/or provide logs but as we know that's the exception, not the rule LOL ;);););)

however, things apparently are clear now and will be resolved either way within the said few days, all good, enjoy the beer, i'll do the same and prost :) :good: :highfive:
[OnePlus 2 Original Android Development] Sam Nakamura:
The thing is we all tend to forget that we're in development form which brings certain expectations to the users here, also to the flash & forget guys, which is, besides giving proper logs with a bug report, to expect errors and flaws, even a recognized member can't give guarantees, it's in everyone's own responsibility to get proper backups and being aware of ways out if you stuck somewhere or at least to know where to read and ask to overcome issues, furthermore its just an error 7 which isn't absolutely not a critical problem, all "old" DU or AICP builds are unaffected only official lineageOS older than the twrp sources are affected, latest lineageOS for example isn't...

This minimizes the effects drastically as most people do not flash stoneage builds, that's why this issue goes largely unreported, I guess, unofficial RR is a specific situation as the newest build is unfortunately to "old" for twrp but this issue was made absolutely clear on this thread, just let me mention in addition that there was never a question of guilt, it's just part of troubleshooting to get an idea where issue actually arise from, anyways I'm sure you're absolutely aware of this but none the less I wanted to make this clear and pronounce that every constructive criticism is appreciated, especially from you wise (young) man.. :highfive: damn, we're all here to learn & grow..

Edit: let's enjoy the last hours of this week's beerdays :) maybe one day we'll "prost" together.. lol
[OnePlus 2 Original Android Development] magnamentis:
yep, that's how i see things as well :)

young LOL thanks for the compliment, just cut my beard because my "young" wife complained that it's too grey and makes me look older LOL

however, sure about the beer, munich is quite often on my route when i drive from andalucia to prague where i spent 12 years and visit old friends qute frequently, cheers :cool:
[OnePlus 2 Original Android Development] parasthakur37:
Bump
[OnePlus 2 Original Android Development] Sam Nakamura:
Please don't post unless "bumps", it won't speed up the development process at all and could be understood as ETA, which isn't anything appreciated around here... Thanks for understanding :good:
[OnePlus 2 Original Android Development] chetan_1215:
Hey there, can you include spectrum support in your kernel with profiles in it, in the next update? :)
[OnePlus 2 Original Android Development] ehsaan149:
Hi All,

I am facing battery drain and High Heating issues when I am using XOS 7

Just wanted to know if using franco-r7 version on XOS 7 (AOSP + CAF based ROM) will resolve my issues ?

I know in the description it is clearly mentioned supported only for LineageOS based ROM, but still curious to know.

Thanks in Advance !!

Keep up the Good Work :)
[OnePlus 2 Original Android Development] Sam Nakamura:
Backup your current boot partition in twrp and try yourself, no one really can say without testing it...

If you're unsatisfied you can restore your original boot (kernel) partition...

Actually the right way to this issue would be to check where your drain is coming from, apps like better battery stats, wakelock detector, etc would tell, this approach to the issue is just a guessing without knowing the root of your problem..
[OnePlus 2 Original Android Development] ehsaan149:
Hi Sam,

Thanks for the reply and for the suggestions too :)

Will definitely try with one of the apps you mentioned to dig the root cause. Also will try with Franco kernel to see if it supports or not.
[OnePlus 2 Original Android Development] anupritaisno1:
Xos uses a kernel directly from oos instead of the common LineageOS source

The fact that this kernel even boots on xos is a good thing

But this kernel won't work fine on xos. Xos is based on oxygenos kernel source and not lineage

---------- Post added at 19:15 ---------- Previous post was at 19:14 ----------

Kernels with spectrum support already exist

Moreover I'm working on an experimental spectrum injector that can inject spectrum support into any kernel
[OnePlus 2 Original Android Development] rousea:
Gestures

Hi

I wanted to update my OnePlus 2 to Lineage. All of the official nightly releases fail to install, with Error 7 or Error 6. However, fk-r7-anykernel2.zip does install, for which I am grateful. I am very impressed with it, and I'm glad I changed from the stock OS.

However, one minor problem is that the Settings/Gestures option is different from the stock OS. I am used to drawing a O on the screen to open the camera and a V to switch on the torch. These options are now missing. Is that common with Lineage, or just with your version?

Another minor issue is that the phone ringtone selection doesn't include mp4 files, so I can't select the ringtone I previously used. Again, is that common the Lineage or just to your version?

ADDENDUM

I have since realised an error in the above. The OS I was able to install was lineage-14.1-20170213-microg-oms-oneplus2.zip, to which I overlaid fk-r7-anykernel2.zip. I therefore suspect that the issues I describe are not related to fk-r7-anykernel2.zip. However, I would appreciate any feedback that might be relevant
[OnePlus 2 Original Android Development] Sam Nakamura:
What recovery you're using? Latest is twrp 3.1.1...

Seems like a problem with an outdated recovery issue to me

Also you might want to find a more suitable thread for your questions as you don't have a issue with this kernel but with the OS itself...

Maybe that's a good place to discuss your topic:

https://xdaforums.com/oneplus-2/help/qa-noob-friendly-qa-help-thread-t3146584

or official lineageOS thread:

https://xdaforums.com/oneplus-2/development/rom-lineageos-14-x-oneplus2-android-7-x-t3613470
[OnePlus 2 Original Android Development] roog:
Quick questions.

I'm on latest LOS nightly with OP-stock kernel can i dirty flash this kernel?

Is root needed?
[OnePlus 2 Original Android Development] Sam Nakamura:
Yeah, it's compatible to latest lineageOS and doesn't need root, only if you want to change the default settings root is needed.

Remember to backup boot in twrp before flashing this kernel, so you can easily return to the stock kernel in case you wish...
[OnePlus 2 Original Android Development] roog:
Got it working, thanks for the help.

Now let's see what this kernel does.
[OnePlus 2 Original Android Development] SANDEEPTMG77:
use latest recovery 3.1.1
[OnePlus 2 Original Android Development] Shanmukh1608:
Has Franco forgotten about the OnePlus 2? ?
[OnePlus 2 Original Android Development] magnamentis:
why, what do you want or need ? if it's all perfect what else would you expect, a new version number just for the sake of it ?

there is not one single bug and not one single missing feature that he has not told us it won't happen, hence no updates needed, while of course i dunno what's in the kitchen but generally the question is superfluous and can be even slightly offensive (hidden complaint with this exact wording)

just wait and enjoy or search something new, it comes when it comes, perhaps never if there is no need.
[OnePlus 2 Original Android Development] Shanmukh1608:
It's been around two months since a release. I assumed there's been new stuff in LOS since then that requires an update to the kernel, thereby warranting an update.

I am, however, not an expert. Maybe I'm wrong. If yes, then please tell me, and I'll go ahead and flash FK right now.
[OnePlus 2 Original Android Development] aviraxp:
Franco has not updated all his kernels even just sync with Google code release or others. I assume he has something busy in his real life.
[OnePlus 2 Original Android Development] muralidharpattar7:
I have flashed Franco Kernel but still getting this error.