yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] MrDarkKV:
Hello all.

As it stands now we've had a major drive failure on one of our storage servers around 6PM GMT, all data on the drive was lost. A backup solution was in place, however it was still in testing and not on a live production.

We're redeploying our data server as we speak and files should become available throughout the weekend as developers reupload their builds. In the coming weeks we'll also be upgrading our drives and switching to a different datacenter. These changes shouldn't effect you.

We're deeply sorry about this and we're taking steps forward to ensure this doesn't happen again.

Feel free to PM me any questions or concerns you may have, we'll be working through the night to resolve this issue.

Thank you, and again, sorry.
[G2 Android Development] marn3us:
Hello everybody, i am running Render's v10 alongside an official CM12 nightly and i am having a weird issue...

Basically i can edit the kernel settings with synapse just fine but then they are lost after a reboot... What can i do in order to make the settings apply on every boot?

Thanks in advance
[G2 Android Development] TDSJR:
After you set them, are you pressing the check mark?
[G2 Android Development] RenderBroken:
Are you installing UKM or any other Synapse stuff afterwards or just my kernel with CM12?
[G2 Android Development] marn3us:
Yes of course :D

The things i have installed are the following: CM12 official, your kernel's V10 and then synapse... Just this :)

The issue is that after i do all my changes in synapse, i hit the check button in the top bar and then reboot the phone and everything saves and runs great, but unfortunately the next time i reboot the changes disappear and i go back to default values :(

Thanks again for the help and sorry for bothering
[G2 Android Development] secret.animal:
If I remember, there was a time pause between when you save and restart. If you restart right away, I believe before 3 minutes. The save doesn't save in case there was a problem. After 3 minutes all is running well, the save becomes permanent.

Correct me if I'm wrong.
[G2 Android Development] :
Believe its 2 minutes, but yeah there is a delay in case of a soft boot loop.

If you're manually restarting in that time, it sees it the same way and invalidates your settings.

[MENTION=5438598]RenderBroken[/MENTION], I've stopped using Synapse and switched over to 3ctoolbox. I like is features a bit more. The only issue I'm having though is that it doesn't recognize the kernel as supporting intelliplug. Since I prefer intelliplug over the msm hotplug, even with the default settings... Could you tell me the proper sysfs entries?

I found this:

intelliplug: /sys/module/intelli_plug/parameters/intelli_plug_active

eco mode: /sys/module/intelli_plug/parameters/eco_mode_active

snake charmer: /sys/kernel/msm_cpufreq_limit/cpufreq_limit

Just wanted to make sure there weren't any other specifically required. Especially since I can't find the

/sys/module/intelli_plug/ path.

*edit*

Disregard, that must have been from an old post... Its /sys/kernel/intelli_plug/ now.
[G2 Android Development] de.er:
Is anyone else having issues with double tap to wake on Render and latest cm12 nightly 03.08? It's not working for me and the option to turn dttw on is gone from the settings...
[G2 Android Development] :
Sounds like a rom issue, not a kernel issue.

I remember at one point someone had posted the sysfs paths to manually turn it on... You could look for those and try that.
[G2 Android Development] Samppaz:
I have a same problem, and update touch firmware on synapse didnt do anythink. I try to restart phone if it could help or not.
[G2 Android Development] de.er:
Restarting the phone didn't help. I even flashed the ROM and kernel again, but that didn't help either.
[G2 Android Development] Samppaz:
Did you do a dirty flash or fresh one. I did dirty flash. And youre right, restarting wont take it back.
[G2 Android Development] de.er:
I did a dirty flash.

Just tried flashing the ROM with stock kernel, but got a lot of FCs, couldn't even get to settings to see if the DTTW option was there at all.... Gotta be a ROM issue...
[G2 Android Development] berryman13:
Baseband or bootloader issue then; Try running AutoRec.
[G2 Android Development] marn3us:
What are the best Governor and Hotplug for good battery life and no lag? :)
[G2 Android Development] wkobaint:
How about intelliactive and intelligent hot plug? I used it on dorimanx and got 4 hours SOT
[G2 Android Development] darknessmessiah:
Got Double tap to wake back after reflashing the ROM without Render Kernel...

With Render I was getting poor GPS performance as well... After the action above, my GPS is working much better.

Hope in the next version, the dev can solve this issues... for now it will have to be CM's Kernel
[G2 Android Development] RenderBroken:
You are correct its a rom issue. They may have changes sysfs paths or somthing. . . Not sure but I will look before release. Also the button in synapse just runs that command. Since ppl could not remember it I made it easier to run.

My kernel has no bearing on GPS at all nor does any kernel for that matter. But I am glad its working better for you regardless. for DT2W, like I said above, must have changed something rom side that i will have to makeup for.
[G2 Android Development] RenderBroken:
Regarding this, I would say stock settings would be the best for battery and no lag.

Interactive that is tuned properly and msm_hotplug seem to be the best I have used. I have added the newly remade Bricked Hotplug which is just a revamp of msm_mpdecision from ShowP and it gives the users different options too. I think it can be used to get a really battery conscious hotplug while maintaining performance.
[G2 Android Development] reemar:
[MENTION=5438598]RenderBroken[/MENTION] knock knock stop working after cm12 update..
[G2 Android Development] RenderBroken:
Thanks, it has been reported already though lol. Still appreciate the effort though!
[G2 Android Development] marn3us:
Thanks a lot for the answer! :)

I have two quick questions:

1) the "interactive" governor in your kernel is the stock lg one or the updated one?

2) i found intelliactive to be very good with MSM_Hotplug, ia interactive even better for battery life?
[G2 Android Development] :
I doubt they changed a sysfs path. There's typically a file that you need in the rom build tree that sets various flags for the settings. I'm willing to bet that someone rebased something and forgot to change that file...

Usually it's in : overlay/frameworks/base/core/res/res/values/config.xml

But I can't manage to find a good example that has the double tap to wake flag set.

For instance this flag gives the rom the Proximity check option before powering on. (taken for the bliss G2 common repo)

<!-- Enable the option to check proximity sensor when deciding whether to
turn the screen on
NOTE ! - Enable for devices that have a fast response proximity sensor
-->
<bool name="config_proximityCheckOnWake">true</bool>
<integer name="config_proximityCheckTimeout">400</integer>

The dtw options would be similar, I just cant find it readily. The issue is that if the proper flag is missing... It won't even display a spot to toggle the option.
[G2 Android Development] RenderBroken:
The interactive i use is CAF based and I use optimized settings for it. Also no, Intelliactive would eat your battery but give you a smoother experience.

Great explanation!
[G2 Android Development] Kockainside:
Guys does the 0310 or the next one fixes the knockknock problem with custom kernel?

I dont want to start the backup-install-try and revevert back to cloudyg 2.2 procedure again :/

Thanks for the answer.
[G2 Android Development] berryman13:
I've found the best governer BE SIDES stock interactive (which you shouldn't touch) for both battery and smoothness, to be smartmax, then optimax or intellimm/intelliactive
[G2 Android Development] de.er:
For me it doesn't.
[G2 Android Development] :
[MENTION=5438598]RenderBroken[/MENTION]

just saw micromod link to this from blastagator's thread....

apparently the source for VS980 LP sources are out. http://xdaforums.com/showpost.php?p=59131826&postcount=935 it's just not publicly listed anywhere, even though it exists on the servers...

just a heads up if you weren't aware.

I wouldn't use the rom code (just in case it cant be re-rooted)... but the kernel code might help fix/diagnose things.
[G2 Android Development] MBurns2:
Sorry but where can i find the version with bricked hotplug?ty
[G2 Android Development] niko2931:
Yea in my opinion and experience Smartmax is really really good! ;)
[G2 Android Development] :
Isn't the stock msm hotplug replaced with bricked in all of the builds? I thought it was... if so, it's the default hotplug.
[G2 Android Development] RenderBroken:
Thanks! Realy this is just as good as f320 source except the source for VS980 has commits history. Still, I am really waiting for D 800 or D802 before I start really working on LP kernel.

Its not released yet. It will be in R11!
[G2 Android Development] Kockainside:
*deleted*
[G2 Android Development] Kockainside:
Double2wake FIX

http://xdaforums.com/showpost.php?p=56948464&postcount=73

Works well with cm12 rom.

[MENTION=3157339]rfunderburk39[/MENTION] thank you a lot!
[G2 Android Development] RenderBroken:
What ever it is, it needs a decryption key.
[G2 Android Development] Kockainside:
I am so sorry, i am corrected the link.

anyway here is it: http://xdaforums.com/showpost.php?p=56948464&postcount=73
[G2 Android Development] fix-this!:
i sent you a PM render. if you can get back to me whenever, thanks.
[G2 Android Development] TaRsY:
D801 is here!
[G2 Android Development] OverClockeD_GR:
i used r10 for first time in validus rom and i had screen flickering.. got scared and went back to blackbird and all fine now... first time i see this. anyone ever had it ?i may give one more try just to be sure it happens with r10 only..
[G2 Android Development] marn3us:
Hi, thanks for the fix but i can't manage to copy the "0" file over to etc/init.d :(

All the file managers i have tried (solid, root browser, fx and also TWRP) do not let me copy it or they give errors... Any help? :)

Also: [MENTION=5438598]RenderBroken[/MENTION] i used the "update display firmware" tool from synapse but it doesn't work on my official cm12 nightly unfortunately
[G2 Android Development] dev>null:
Root browser does it for sure! Are you rooted? Did you allow SU access ? Or, in TWRP did you mount all ?

[IMG="mount"]http://www.kephost.com/images4/2013/3/18/a1_2013_3_18_x1bq9vd22f.jpg[/IMG]
[G2 Android Development] marn3us:
I am rooted of course (i have cm12) and root browser was granted su access, but it did not work (it said "copied 0" but in reality it did not copy it)...

If i go to twrp file manager and open the /etc folder, it does not show any element inside it :(

Also if i go to twrp and go to "mount" i see "system" is not mounted but after i check it as well and reboot, system is not anymore mounted...

The weird thing is that until today i never had dt2w issue
[G2 Android Development] berryman13:
I'll make you a flushable zip

You need to copy it to /system/etc/init.d and chmod... Also, system is by default always unmounted in recovery unless you manually do it.
[G2 Android Development] marn3us:
Thanks for the flashable zip! :)

Also i know how i need to copy it there, but all the methods i have tried do not work...
[G2 Android Development] ars0n:
Could you post up the flashable zip for others (like me?) please =D
[G2 Android Development] gnam:
+1
[G2 Android Development] berryman13:
d2tw_fix_g2.zip

https://docs.google.com/file/d/0B4dyCdCSgnyBbVZQUlVfbkQ0alU/edit?usp=docslist_api

Just flash in recovery.

I tested, DT2W works on AICP now.

Please thank me.
[G2 Android Development] RenderBroken:


Don't believe it has anything to do with my kernel or it would happen to more if not all ppl. If you find anymore info though, please share. Thanks!
[G2 Android Development] marn3us:
Works fantastic here on cm12, thanks a lot!! Thanks button totally earned! :)
[G2 Android Development] phoenix_rizzen:
Running R10 with Validus 2015-02-11 without any screen flickering issues. GPU clocked down to 389 MHz and CPUs clocked down to 1.7 GHz and 1.9 GHz.

D803.
[G2 Android Development] berryman13:
Yeah guys if you have ANY double tap to wake issues flash my zip, it's a perfect fix that restores usability.
[G2 Android Development] jeffrey.phil@gmail.com:
Double tap 2 wake not working in last 3 cm12 nightlies. Kindly update.
[G2 Android Development] robogo1982:
A flashable zip fix is literally one page back.
[G2 Android Development] berryman13:
Render I'm doing some kernel work for the D800 and LOVE your kernel, but will not be basing mine on it because then there would be no work to do...

Do you have a consolidated patchset for f2fs support? Like, I have a kernel building that is for cm12/aosp just no f2fs support, and I'm DYING to add it. So far I've found these:

https://github.com/torvalds/linux/tree/v3.10/fs/f2fs -> official linux 3.10 f2fs folder (not a patchset, no easy way for me to cherry pick it)

and that being said...https://github.com/torvalds/linux/commit/942d33da999b86821c9aee9615fcb81207ee04c7

Here's the commit for the official linux kernel, 3.10 again but I don't know if I can just rip it out and apply it to my own. Help?
[G2 Android Development] L0nelyE4rth:
Can I use another tuner such as Trickster , Faux123 or Kernel Adiutor on R10 ?
[G2 Android Development] :
You can always use a different tuner.
[G2 Android Development] berryman13:
Yes.

Use Syanpse is my suggestion, but if you prefer another one then make sure its the only one enabled.
[G2 Android Development] L0nelyE4rth:
I type that because some features don't have in tuner.

Sorry for my bad English
[G2 Android Development] RenderBroken:
I will get right on that lol.

Not really, the trick i use when I want to update a certain "thing" is I would go to their Github source like so:

https://github.com/RenderBroken/msm8974_G2_render_kernel/commits/r11-test2-brickedhp/fs/f2fs

I navigate directly to the folder and I look at history. This shows everything that I have done to get that folder to the state it is in now. That would be the easiest way to update f2fs. Also keep me updated on your progress and let me know if you need anything.

Well that's tough then. That's why I use Synapse because I can add support for features that no other app can. So to answer your question, if you want to have the ability to manipulate all features of this kernel then Synapse is the only app.
[G2 Android Development] L0nelyE4rth:
Thanks to answer me. I totally know about it.

Sorry for my bad English
[G2 Android Development] :
One thing to do, is like render said... find a repo that has it and look at their history.

Render's has a bunch of commits for F2FS

However, the LG-Devs repo only has 3 commits so it will be a lot easier to cherry-pick in .

The LG-Devs repo is simply merging from kernel.org here

Hope that helps.
[G2 Android Development] RenderBroken:
Great find!

So the big push to release R11 is tomorrow. I plan on updating Ramdisk and Synapse tomorrow morning and releasing the same day. Everything else test fine so tat should be all that is needed.
[G2 Android Development] L0nelyE4rth:
It's great news today for me :3
[G2 Android Development] [RU]PsiX[RU]:
F320

Where you plannig fix WiFi and deep sleep for F320x models?! It's very important for us.

Deep Sleep fix in my subscribe

And WiFi fix in CM12 for Korean model Rom
[G2 Android Development] rmsinaga:
[MENTION=5438598]RenderBroken[/MENTION]

Since I use AICP nightly 20150310 onwards, dt2w button/feature disappeared from Settings>Display.

Asked on their G+ forum, they said it is due to custom kernel installed.

Here is the info of my phone:

- Model: D802

- ROM: AICP nightly 20150312

- Kernel: Render R10

- Recovery: TWRP 2.8.5.1

- Data/cache partition converted to f2fs

Any clue for me to solve this?

Thank you very much.
[G2 Android Development] Voltaine:
Use this until it's fixed

http://xdaforums.com/showthread.php?p=59399593

2 pages back....
[G2 Android Development] rmsinaga:
I tried that, stuck on LG logo for a long time. I had to force reboot to recovery mode. Perhaps it's because of the partition type f2fs
[G2 Android Development] Unn113:
They already answered you, use stock kernel. Custom kernels aren't supported.

Unn.
[G2 Android Development] RenderBroken:
Maybe not today but that will be the next thing I focus on so I may just hold off build R11 for F320 till its fixed. I may try to get a test build out though. Just have to see how well things go. I have looked at source that has it kinda fixed and its a little difficult to discern the changes that were made. The commits are not very clean. Still I am thankful to the guy for at least committing his changes. without them it would have been near impossible.

Well the only thing that makes sense to me is that Ramdisk just needs to be updated. Nothing should have changed kernel side for DT2W.
[G2 Android Development] ars0n:
So anxious!!!!
[G2 Android Development] berryman13:
I've already released an init.d script that solved dt2w. Just get your permissions right.
[G2 Android Development] :
[MENTION=5438598]RenderBroken[/MENTION],

Ive got a potential issue/upgrade request , if you dont mind.

In your source you have intelliplug as 5.0 in the version for the main file. However faux123 isn't even up to that in his nexus5 tree (same chipset as us) and he also moved the module out of the chipset tree into modules a good few versions ago.

I think this may be some of what's causing apps other than Synapse from determining that your kernel supports intelliplug (3c toolbox for instance).

I tried pulling his changes over but ended up getting conflicts from a caf commit that added an extern bool wakeup_boost value he uses the same name in his newer versions, but had it as something other than bool.

Sorry to be vague but I'm on my phone instead of computer right now.

Not really sure but I think this may change the sysfs path from /sys/kernel to /sys/module causing the incompatability.
[G2 Android Development] 5nickers:
cool! where can i get it?
[G2 Android Development] RenderBroken:
I use a modified version of intelliplug from neobuddy89. The reason I do so is because I have a multi hotplug environment, I wanted the boost function to rely on cpu boost and not each have their own boost ability that just steps on each other's toes. The means that my code remains cleaner for as blog as I have multiple hotplug. If I were to just use a single one then it would not be as big of a deal. So if it's an issue for you then it may be better to just remove all the different hotplug I added and add in pure intelliplug. Also I don't remember, but you may need to add in powersuspend if I haven't already. I primarily use lcd notify and that's another reason I use a modified hotplug. They all use lcd notify.

Edit:

All my hotplug are modified, even the new one that will be appearing in r11. They are all kinda unified in a way to share certain resources. The new hotplug driver called bricked hotplug is a modified version of msm_mpdecision. If I added in mpdec untouched, it would have its own boost function which would clash with cpu boost and could cause other issues. This modified version has that built in boost removed to avoid any conflicts. Same thing I was talking about with intelliplug.
[G2 Android Development] berryman13:
Render, here's what I've decided to use to implement f2fs. Thoughts?

---------- Post added at 03:37 AM ---------- Previous post was at 03:21 AM ----------

https://github.com/Metallice/android_kernel_grouper/commit/5a1316961d2b3ffe75056161718b3de36e3bc734

(forgot url in last post lol)
[G2 Android Development] RenderBroken:
It looks a bit dated, there have been many updates in the past year.
[G2 Android Development] berryman13:
True that. Do you have a hangouts render? I want to chat with you but wouldn't want to be a bother, mines berryman13@gmail.com if you want to talk about my coming kernel!

I'm pretty sure I'll just try and follow the way you did it.
[G2 Android Development] :
Keep in mind to... Most of the stuff that's been linked so far is specific to the kernel. You need to modify the ramdisk as well to detect and /or mount the f2fs partitions.
[G2 Android Development] RenderBroken:
I am currently testing R11. So far everything is good. Also I think I will be stepping away from a built in Synapse Support Option and will start recommending UKM of which my Synapse Code is based on. I think [MENTION=5658634]apb_axel[/MENTION] is doing a rocking job with the project and I would rather contribute code changes to that project than to my own. If you have not seen what will be included with R11, lets just say ALOT. It is a major update. I am excited to see how well it runs out in the wild! lol Just thought I would check in and let you guys know whats up.
[G2 Android Development] marchino123:
Can you give me a test version?
[G2 Android Development] reemar:
sorry for being rude, but, r11 should be more battery friendly or not?
[G2 Android Development] RenderBroken:
If I need another tester I will let you know. Thanks.

Should be more battery friendly but I have not had an issue with battery before so I don't think it will be any real big difference in battery life.
[G2 Android Development] nfin1te:
Cant wait :)

Also, battery for me is fine aswell, usually 85-90% deep sleep.
[G2 Android Development] TaRsY:
At the same place F5 replacement buttons for sale.
[G2 Android Development] duki994:
If you need tester I volunteer. Just call.

If you need help with code (or code you suspect might be problematic) or if you are tired I'll help too :)

Just ask if you need.

Does R11 include serious kernel core updates like mutex lock code, irq code etc?
[G2 Android Development] ars0n:
ill take 2.. lol
[G2 Android Development] RenderBroken:
yes. R11 has a metric f ton of updates. I am even playing with the idea of using a different Sound Control Driver from Franco. Not sure though. I may wait til later. So far test are good. If everything is still confirmed good by tomorrow morning, I will build for all.
[G2 Android Development] berryman13:
.

Don't worry. I'm setting up my github repositories as we speak. My carnal will be based upon blackbirds, but with many cherry pics from render. If you check Blackbird, the recent commit history, like, today, he added f2fs support. the latest build out her brother uses till February 9th, but as I said, I'm setting up my repositories and will be building "Swift Kernel" (name not finalized, open to suggestions...) as soon as possible. I will start with D800 and work my way up, but probably will hold off until render pushes R11 before I even consider releasing.

Anyways, that's right and thread.

Hey dude, I really thank it's a good idea to drop synapse support and replace it with UKM. This has never happened to me before but the last time I flashed your kernel and the rest of my zips, UKM to take precedence over render kernel in Synapse, which was welcomed. I was having uci issues with busybox prior to that and love this kern with UKM. Render, please allow me to take you up on the offer of talking to each other about my kernel, I have much to share.

---------- Post added at 05:06 AM ---------- Previous post was at 05:05 AM ----------

Dude your self control is unreal.... I'd have blown my top off if I read that.

Should be more battery friendly but I have not had an issue with battery before so I don't think it will be any real big difference in battery life.

Don't worry about it dude. UKM is taking over with regards to Synapse and it runs better than it ever has, R11 can't come soon enough
[G2 Android Development] mrSpinx:
hi, I have done some tests to see how to solve the problem of d2tw and I found that this command just resolve the problem.

echo "1" > /sys/devices/virtual/input/lge_touch/touch_gesture

If you don't like the flashable zip posted before, just create a small tast in tasker.
[G2 Android Development] :
*edit*

Disregard, didn't realize the sysfs entry was different. Same path though. *shrugs*
[G2 Android Development] albertorodast2007:
F5 f5 f5 f5 f5