yashsingh1/xdaforums huggingface dataset:
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Konskl:
Does this kernel support f2fs? Ty in advance.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
Edit: I'm collecting all the battery stuff in one post for easier reference

According to the website linked earlier: http://batteryuniversity.com/learn/article/how_to_prolong_lithium_based_batteries

v	cyc	%	^
4.3	400	100%	400
4.2	800	86%	688
4	1600	72%	1152
3.9	3200	58%	1856

The table above shows the reduction in voltage and the corresponding reduction in usable capacity, but the increase in longevity measured in battery cycles. Under the ^ symbol is the available capacity multiplied by the number of cycles, giving the total useful work the battery could perform in its lifetime. At the lowest charging voltage, you'd get the longest total lifetime, but the battery might not last long enough to get you through the day since you'd only be starting at 58%.

I've done a quick test with my Dash charger to get a baseline against which I can assess the effectiveness of any mods I make:

Here's the code I used on the Nexus S [Ezekeel's BLX] for my own reference: https://github.com/bedalus/marmite/commit/4efaa968373f7b8f2b0de9bf4ed47a83622b8fb3

The function called when the device is plugged in to charge: power_supply_set_voltage_limit

...is on lines: https://github.com/bedalus/oneplus3kernel/blob/testing/drivers/power/qpnp-smbcharger.c#L3315 and https://github.com/bedalus/oneplus3kernel/blob/testing/drivers/power/qpnp-smbcharger.c#L2395

...in which I'll be looking to modify the parameter: int vfloat_mv

In the same code, I also need to look carefully at:

chip->temp_more_cool_rechgvbat=3700; // -3 <= T < 0
chip->temp_more_cool_vbatdel=3980; // -3 <= T < 0
chip->temp_cool_vbatdel=4320; //0 <= T < 5
chip->temp_cool_recharge_vbatdel=4100;
chip->temp_littel_cool_vbatdel=4320; // 5 <= T < 12
chip->temp_littel_cool_recharge_vbatdel=4220;
chip->temp_prenormal_vbatdel=4320; //12 <= T < = 16
chip->temp_prenormal_recharge_vbatdel=4220;
chip->temp_normal_vbatdel=4320; //16<= T < = 45
chip->temp_normal_recharge_vbatdel=4220;
chip->temp_warm_vbatdel = 4080; //45<= T < 53
chip->temp_warm_recharge_vbatdel=4000;

...since this is where the voltage limits are defined for starting and stopping charging at different temperatures:

vbatdel lines are the upper limit (when to stop charging)

recharge_vbatdel are the lower limit (when to start charging)

...which are checked here: https://github.com/bedalus/oneplus3kernel/blob/testing/drivers/power/qpnp-smbcharger.c#L9115 and each of the functions: static int handle_batt_temp_[whatever]

Here's where the float_mv are defined in the device table: https://github.com/bedalus/oneplus3...rm64/boot/dts/15801_DVT/msm8996-mtp.dtsi#L424 (4400 mv)
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
No, and no plans for this yet. I've got nothing against F2FS, I've seen it offer better performance on older NAND technologies but I've not tested it yet.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] saayuj98:
EXT4 is much more stable and widely used. F2FS does have its merits over EXT4. Not saying that it's bad. But in real life usage, I think no one won't notice any big boost or something like that. OnePlus 3 already get R/W speeds due to UFS 2.0, I think OP shouldn't opt for implementing F2FS.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] MRobbo80:
This project looks really exciting, like the devs way of thinking! Downloading now. Thanks bedalus
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Haggster66:
right. Please no experiments or hack-jobs. Earlier this year, some researcher(s) have performed some fuzzing on all of the big Linux filesystems - it took 10 seconds to generate a BUG in F2FS, whereas it took 2 hours(!) for ext4 (which was the best value and therefore indicates that it also is the most robust filesystem).

https://forums.bunsenlabs.org/viewtopic.php?id=1694

It'd be a good idea for a low-cost device with slow flash storage though, as has been mentioned earlier. But not here.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
Great input again, thanks [MENTION=5140079]Haggster66[/MENTION]
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Konskl:
I don't think that support for f2fs will have any side effects in the stability of the kernel. It just gives the userbase a choice. It depends on the users whether to play with it or not. Well at least that's my opinion on it.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] saayuj98:
Implementing that stuff is pain in the a** buddy! Once you implement it, will create some nasty bugs... debugging that also takes precious time. Only a small no. of people might take the decision to use F2FS in the 1st place. Hence, instead of doing that, [MENTION=6295391]bedalus[/MENTION] might look at other useful aspects of kernel to improve it further. I do respect your opinion though.

Peace;)
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] gleggie:
Is this compatible with OOS or CM?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] robogo1982:
But the userbase already has a choice - install Moxie or any other kernel.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] saayuj98:
OxygenOS only.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] gleggie:
Android File Host says access is denied. Is there a mirror?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Antsu:
I think the link provided by NevaX1 has done when he was logged in to AFH, that's why it's not found.

Here's the link found from [MENTION=6295391]bedalus[/MENTION] post: https://www.androidfilehost.com/?w=files&flid=95099
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] NevaX1:
Updated.

This link is ony for the non-CE builds, take care.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
Maybe in the future, I haven't decided on this one yet, but robogo1982 is right, that if this feature is important to you, then try it out on another kernel. There is no best kernel, just one that most closely matches your needs. Or compile Moxie and add in F2FS yourself, I'll help you if you need support.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Haggster66:
Is there anything else we would need, besides the toolchain and the kernel sources? So we simply add the toolchain to our PATH and/or link /usr/bin/gcc , ld & co. to the versions of the toolchain and then we can compile?

I've read somewhere that android kernel build system doesn't use the .config and that the real config file needs to be specified manually and/or some stuff about having to create an initrd manually as well, before copying the kernel into that, in order to get a flashable .bin-file ...is that true? kindly excuse my ignorance here :P

There seem to be tons of guides on the net, but I find that most of them either miss the point (for some reason almost all of them deal with installing Linux (!) for more than half of the whole tutorial and then don't explain the actual important parts properly). Besides this, they seem to be several years old for the most part.

Anyway, thanks for explaining all this stuff here; we get to have a really good look of how you're approaching the development process!
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
You've pretty much got it. I'm not even using a GNU/Linux distro, I'm on Bash for Windows (although it's getting to the point where I should really make the effort to install a full distro).

I use Linaro's cross-toolchain, unpacked in /opt/ and specify the location in my 'build' script.

The cross-tool isn't all you need. There are some additional libraries and tools required for the build process to run (the package 'build-essential'), and you'll need 'git' and 'zip'. There may also be some other packages I forgot :o

My build script rebuilds the .config file every time. If it didn't, the build would use the existing .config file (assuming a working kernel has already been built, or you pulled it from another working zImage). This .config file can be edited but is considered bad practice as it isn't ordinarily tracked by git, and a 'make clean' operation would wipe it out (and I think possibly any change to any Kconfig file), so any changes in there could be easily be lost.

Pretty much anyone should be able to follow the steps required to build a kernel, but actively developing it also requires a good working knowledge of git, and C even more so. I had to learn git from scratch five years back, but it's not that difficult. However, I've been programming since I was 10 (I started on BASIC on a C64) and after more than 25 years of programming on and off, I still consider C quite challenging!
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Stroky:
I'm very interested in the changes from the pixel phones.

Sounds interesting what Google did there :)
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
I haven't been following that. What changes are you referring to?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Stroky:
Franco did some changes in his kernels.

https://plus.google.com/+FranciscoFranco1990/posts/DCMxsh1ZyHj

On my other phone the nexus 6 it makes really a difference!
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
Ah, I think I found the work he did: https://github.com/franciscofranco/Shamu/commit/2320cb3a1ab4d93366b72ca56841e0c18154329b

The patch doesn't cleanly apply. If the drivers are similar, the patch can probably be ported. Is this to fix some kind of scrolling problem in the Google Plus app?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Stroky:
For me the whole scrolling seems smoother. So the XDA app, Google Plus, Chrome etc.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
Does anyone have an example of an app that scrolls badly when using Moxie? Then I can adapt this patch and judge if it has a positive effect?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Antsu:
[MENTION=6295391]bedalus[/MENTION]

No badly scrolling apps found from my phone :)
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Schrotty35:
Tapatalk
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] MrMeeseeks:
Well it is Tapatalk..... That app used to be good.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
Can anyone else confirm tapatalk?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Stroky:
Tapatalk is always a little bit laggy.

I´m testing right now the blu spark Kernel and i would say it is smoother, but i can´t measure it.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] demon507:
Google+... I'm using your kernel... I've used every other kernel.. Although the battery life has been short on moxie comparitevely.. But I'm hooked to the smoothness of moxie overall... ????
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Stroky:
For me the battery life on Moxie is by far the best :good:
[Android Q&A, Help & Troubleshooting] vgplayer54:
Hello,

I have a Samsung Galaxy S6 Edge SM-G925W8 and had SuperSU root access and XPosed Framework installed. I am now attempting to remove all of it so that I can pass Google's safetynet helper test. I have tried numerous things, but the safetynet result is always:

SafetyNet Request: Success

Response Validation: Success

CTS Profile Match: False

I first attempted to remove Root by clicking "Completely remove root" within SuperSU. After doing this, Response Validation was false, which, after doing some research, I learned was caused by XPosed Framework. I then boot into TWRP recovery and flash the Xposed uninstaller. This causes my phone to boot loop, forcing me to restore a NAND backup to before I removed anything. I then try to flash the XPosed Uninstaller BEFORE removing root access and it runs successfully. After this, I use SuperSU to completely remove all root, which also runs successfully then give the phone a reboot removing the app entirely. This is when I receive the SafetyNet Helper response above stating CTS Profile match is false. I'm not sure how to fix this error.

Any suggestions would be very appreciated! Thank you

Edit: I have no idea why this thread appeared twice...sorry I can't seem to delete one of them
[Android Q&A, Help & Troubleshooting] vgplayer54:
Er.. Any ideas?
[Android Q&A, Help & Troubleshooting] djdarkknight96:
Is this to play PokemonGo? If so there's a mod with instructions. Unless that's what you're trying to do...you might need to flash factory images if Xposed is stuck. Backup your pictures and stuff and go back to stock then use that mod. It works well but no Xposed which is a good thing IMO!
[Android Q&A, Help & Troubleshooting] vgplayer54:
Hi, thanks so much for replying! Yes..it is for pokemon go. Is the mod you're talking about the Magisk one? If so, that is what I originally wanted to do, but flashing Magisk caused my phone to be stuck in a bootloop and forced me to flash a NAND Backup. This was after first flashing the xposed uninstaller and uninstalling SuperSU. So I gave up on root...truth be told I don't use the root apps too much anyway so it isnt a big loss for me. I'm also already on Stock firmware so I'm not sure why I can't pass the SafetyNet Test. Do I have any other options than wiping my phone clean?
[Android Q&A, Help & Troubleshooting] djdarkknight96:
Well only data will be gone you need a full system wipe....

Or go delete the su files...use file manager to find them but just delete in recovery using TWRP with the location you searched..I don't think you can search in recovery without the terminal but you can do it all in recovery.

or if you completely flash factory image you can just not root

Hope this helps!

#GottaCatchThemAll
[Android Q&A, Help & Troubleshooting] vgplayer54:
Hello, I attempted to use ES File Explorer to search both the system/bin directory and the system/xbin directories. system/bin does not have the "busybox" or "su" files in them, so I assume they were removed when I uninstalled SuperSU. /system/xbin however does have these two files, but I am unable to delete them. I get the error "Cannot delete file". I'm guessing this is because I've already unrooted?

I then opened the terminal in my TWRP Recovery, however when changing directories into the system folder, the terminal shows that it is empty. when using ls -la, only two files are there, both called root and neither can be opened. rm -r /system/xbin/busybox does nothing either, it claims there's no such directory. Any suggestions? or just wipe?
[Xperia Z3 Compact Q&A, Help & Troubleshooting] sydios:
Hi,

since i updated my z3c to MM it shuts down the mobile data and wifi around 10min after the screen goes off. I had this issue with my new z5c also is this a "feature" of MM and if where can i disabled it. When i want to listen to online radio the stream cuts off after this time and only after i activate the screen again it will start then again. Factory reset did't help either.
[Xperia Z3 Compact Q&A, Help & Troubleshooting] almoped:
Maybe it's doze affecting your streaming app. You could try whitelisting it under Settings -> Battery -> ... -> Batteryoptimization.
[Thinkpad Tablet General] xBotti:
Found anythings on internet about this . Nothing about stock rom , odin , other software for recovery .

After root with apk Kingroot , I unistall useless App,then restart my tablet and... bootloop without restarting , it just shows the brand logo for hours .

thanks for help !

yoga 3 yt3-850l
[Thinkpad Tablet General] wpinacz:
I'm searching too for stock 5.1.1 rom for this device. I found rom for YT3-850M (not "L"), installed but only chinese and english language available, wifi and mobile data don't work.

Please if someone have link for stock Lenovo YT3-850L.

Thanks.
[Thinkpad Tablet General] wpinacz:
If someone is interested in stock ROM for YT3-850L, I've got solution (ROM, drivers, tools), someone helped me unbricking my "L" and I've got what needs.
[Thinkpad Tablet General] Cabubi:
Are you the only one???

Hi, i'm about to madness ... I need to install the stock rom for my 850l . I tried, but no way. The tablet in first place has installed Lenovo drivers an i cant replace its with the qualcomm's ones. If you have the solution PLEASE, help me!!

---------- Post added at 02:11 PM ---------- Previous post was at 02:08 PM ----------

If you can send me the link for the .img files ican, maybe, easily flash in recovery mode ...
[Thinkpad Tablet General] wpinacz:
Read full post here:

https://xdaforums.com/thinkpad-tablet/general/stock-lenovo-yoga-tab-3-yt3-850l-how-t3553994

There's all i know about this device flashing/restoring.
[Samsung Galaxy S7 Edge Questions and Answers] nour almsry:
My phone's model number is SM-G935F i got stuck on the booting screen where is says "samsung galaxy s7 edge" after flashing this rom called renovate (http://xdaforums.com/s7-edge/development/17-03-26-renovate-edge-beta-1-sm-g935f-t3339149) i really need help asap!
[Samsung Galaxy S7 Edge Questions and Answers] sohojmanush:
Download samsung smart switch from samsung website. put the phone into download mode. connect it . Follow steps and click something named as emergency recovery/restore :D go watch a video :P

https://www.youtube.com/watch?v=9QhJngOuLQ4

Hold the power button, volume down and home, will take few seconds
[Samsung Galaxy S7 Edge Questions and Answers] Rebel021:
Boot to TWRP and select Reboot - System
[Samsung Galaxy S7 Edge Questions and Answers] nour almsry:
i did and still stuck :/
[Samsung Galaxy S7 Edge Questions and Answers] sohojmanush:
it wont boot into twrp. either you go through odin route or smart switch route. flashing twrp will get back you twrp. But I prefer start afresh.

Best choice will be use smart switch, then enable developer mode , then unlock boot loader, flash twrp and super user. After that flash a new rom.
[Samsung Galaxy S7 Edge Questions and Answers] nour almsry:
okay will try the smart switch brb
[Samsung Galaxy S7 Edge Questions and Answers] nour almsry:
my device dose not show on smart switch or odin there is something called gadget serial is blocking my device
[Samsung Galaxy S7 Edge Questions and Answers] sohojmanush:
serial number is in the box
[Samsung Galaxy S7 Edge Questions and Answers] nour almsry:
nvm it was the drivers . trying the smart switch now
[Samsung Galaxy S7 Edge Questions and Answers] nour almsry:
it says unsupported device in smart switch. maby we should try the odin route what is that?
[Samsung Galaxy S7 Edge Questions and Answers] sohojmanush:
odin route is much more complex. you need to have clear idea about your phone rom, firmware.. i will not be able to help you in that. Try to reboot your phone again into download mode. then re connect your phone again and after that enter the model number correctly. with the G too. it will ask you the serial number then. it will written as s/n :

watch the video link. that explained it nicely.
[Samsung Galaxy S7 Edge Questions and Answers] sa3d12:
Download your same devcie model and csc firmware on sammobile.com then download the latest odin version and flash the downloaded firmware through odin that's it.

You can find your firmawre build no under about device menu.
[Samsung Galaxy S7 Edge Questions and Answers] nour almsry:
i have some expert with odin i used to to flash roms and jailbreak many devices . and the serial number was a problem with my pc not being able to recognize my device but now it is fixed
[Samsung Galaxy S7 Edge Questions and Answers] sohojmanush:
let us know when its fixed :D
[Samsung Galaxy S7 Edge Questions and Answers] nour almsry:
will try
[XDA Assist] hacxors:
Every time i click on the camera icon, i get a error message "Unfortunately Camera has Stopped". I have already tried clearing the cache and resetting factory settings but does not work.

My Letv is X800 :crying:
[XDA Assist] jackeagle:
Hi,

You have already posted in your device forum hence Thread closed.

jackeagle

Forum Moderator
[JAMin, XDA Neo, S200 ROM Development] 2PShakur:
Hello, i flashed my s200 with WM6, everything went well, but when i start my phone i get a white screen after showing the HTC logo, and i only ear i beep and nothing appens, can someone help me please? and i cant do the downgrade because it gives me an error connection...im using windows vista...thanks for any help
[JAMin, XDA Neo, S200 ROM Development] ycimpir:
battery..

are you sure that is your battery full ?
[JAMin, XDA Neo, S200 ROM Development] 2PShakur:
Yes its full
[JAMin, XDA Neo, S200 ROM Development] Spacekeez:
hi 2PShakur, try to put phone in bootloader, and flash to WM5 aku 2.2. try using win xp.

read section RECOVERING FROM ERROR IN STEP 8 WM5->WM6 in http://xdaforums.com/showthread.php?t=310452
[Galaxy Note5 Q&A, Help & Troubleshooting] Madric:
Hello,

My note 5 fell in water and luckily only my upper microphone was damaged, so I was wondering if there is a way to force my phone to use the bottom mic in loud-speaker phone calls and videos..

Thanks in advance!
[Note 7 Questions & Answers] curtjacobs1:
Has anyone found a short adapter/cable that does OTG? I have a Seidio Surface and the USB-C to 3.0 adapter from Samsung will not plug in with the case on. I don't want to take the case off every time I need to connect a thumb drive. Thanks.
[Note 7 Questions & Answers] harveydent:
Use the USB-C to microUSB adapter and the use a regular microUSB OTG?
[Note 7 Questions & Answers] maximus96:
here one, https://www.amazon.com/Anker-Conver...UTF8&qid=1474587433&sr=8-5&keywords=usb+c+otg
[Samsung Galaxy S7 Questions and Answers] farik:
i dont know if im the only one but since i change to pixel launcher my phone is flying, the games are more fluid, and my batery life have improve
[Samsung Galaxy S7 Questions and Answers] TehPirate_:
What is this pixel launcher you speak of? Did I miss something?
[Samsung Galaxy S7 Questions and Answers] luki2411:
Its launcher from android n
[Samsung Galaxy S7 Questions and Answers] gsmyth:
http://www.androidpolice.com/2016/09/12/download-new-rebadged-pixel-launcher/

Or you can install nova launcher and customise to the same style.
[Android Apps and Games] vgplayer54:
Hello,

I have a Samsung Galaxy S6 Edge SM-G925W8 and had SuperSU root access and XPosed Framework installed. I am now attempting to remove all of it so that I can pass Google's safetynet helper test. I have tried numerous things, but the safetynet result is always:

SafetyNet Request: Success

Response Validation: Success

CTS Profile Match: False

I first attempted to remove Root by clicking "Completely remove root" within SuperSU. After doing this, Response Validation was false, which, after doing some research, I learned was caused by XPosed Framework. I then boot into TWRP recovery and flash the Xposed uninstaller. This causes my phone to boot loop, forcing me to restore a NAND backup to before I removed anything. I then try to flash the XPosed Uninstaller BEFORE removing root access and it runs successfully. After this, I use SuperSU to completely remove all root, which also runs successfully then give the phone a reboot removing the app entirely. This is when I receive the SafetyNet Helper response above stating CTS Profile match is false. I'm not sure how to fix this error.

Any suggestions would be very appreciated! Thank you

Edit: I'm not sure why there are two identical threads of this, sorry. I can't seem to delete one of them.
[Android Apps and Games] Heisenberg:
Duplicate of this thread:

http://xdaforums.com/android/help/how-completely-remove-root-xposed-to-t3466295

Thread closed
[Nexus 6P Q&A, Help & Troubleshooting] HimeNoHogosha:
I just received the OTA upgrade to 7.0 and installed it. Now every time I want to use the phone I need to wait 5-10 seconds for the screen to turn on. This happens both after I press the power button or if I use the fingerprint reader. I've tried clearing the cache partition but that did not help. I've found a couple reddit threads from earlier this month but nobody seems to have a solution.
[Nexus 6P Q&A, Help & Troubleshooting] gthing:
I had this same problem. I tried a bunch of things but ended up doing a clean wipe. It's working great now. Sorry I don't have better news.
[Nexus 6P Q&A, Help & Troubleshooting] HimeNoHogosha:
That's unfortunate. Is a 'clean wipe' the same thing as choosing a 'factory data reset' from the backup & reset menu?