yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] randrew87:
there is now a "Y" cable with which we could perform this function, that some hardware changes in the cable and in certain kernel one could achieve.

the wire would something like this:

http://www.ebay.com/itm/USB-2-0-A-F...Phone_PDA_Cables_Adapters&hash=item33843e6635

these changes would be:

https://sites.google.com/site/sonicboomworld/my-projects/otg-diagrams

and modifications to the kernel are described more or less here:

http://xdaforums.com/galaxy-s3/general/hw-mod-usb-otg-charging-galaxy-s3-t1953061/post33293981

the issue has already been well discussed and successfully treated by the senior member [MENTION=2592315]sonic_boom[/MENTION] for xperia phones in this forum:

http://xdaforums.com/xperia-u/accessories/otg-charging-finally-solved-t1839042

it would be great if we could achieve this in the g2
[G2 Android Development] drakexpl:
I had 18 hours trip with GPS track across country etc, everything working as it should be. BTW. 20d sources released

Wysłane z mojego LG-D802 przy użyciu Tapatalka
[G2 Android Development] dorimanx:
i will be doing mods to STweaks controls, so i will consider your profile move request :)
[G2 Android Development] dorimanx:
In kernel i see the code that responsible for giving power to OTG when connected.

and if connected, function finish the OTG power and exist, and not going to enable also charging code...

so it's has to be changed to support OTG + CHARGE...

about CIFS i read your request... and i need to try to fix that. as it's was working in JB. and now with the FUSE mounting is different.

i will look in to a way to fix, but no ETA...
[G2 Android Development] dorimanx:
all that is nice, but no source code links to any kernel change.

i see that they used a DOCK code trick to have the kernel "THINK" that a docking station is connected.

so code is running checks for resistors and if found then do other type of USB detect and allow charge + otg or usb storage..

thats all good, but its Samsung code that is 100% different from our, and there is NOTHING i can get from there.
[G2 Android Development] dorimanx:
downloading new source! lets see what was broken before :)
[G2 Android Development] randrew87:
maybe this can help?
[G2 Android Development] emil_b:
Thank you. If I'll got some free time (I am very busy right now) I'll try to look in kernel sources too and I can give any help I can. I am HW designer and also software developer and I use almost times the microcontrollers. ARM a one type of microcontroller that I use. Unfortunately I don''t have too much Linux and Android knowledge, but in mean time I'll try to learn.

Because of micro SD card lack on LG G2 I try to find a solution for external storage. One is USB OTG memory, but after I received the Meenova micro SD card reader I was disappointed about power consumption. The card reader itself use 40 mA when idle. Also need to take in account when the OTG device connected the processor stays awake and also use a lot of power. After few test I find that playing music from USB consumes more power than network streaming via Wi-fi. For this will be a good reason to have USB charging while OTG connected.

Also I've try to make a portable solution, for most use in car, using a TPLink MR3020 with OpenWRT with samba server and USB card reader to access my MP3 collection. To be honest, first I've started the router project, but when I tried to connect, I was surprised there is no way to do it... Know with some tricks is possible.
[G2 Android Development] dorimanx:
https://github.com/dorimanx/Doriman...mmit/97dc0fab0701b43cefb12c72a317e8adf1302e23

Need to test that :)
[G2 Android Development] :
Why do people want knock on and knock code at the same time???! Knock your code and phone is on!
[G2 Android Development] Trixanity:
To quickly see what time it is and check notifications. If you have a knock code with 8 taps, it'll get exceedingly difficult to check these things. That's the reason we have the lockscreen in the first place.

Sent from my LG-D802 - Powered by Dorimanx & Pardus (currently testing Bruce' rom)
[G2 Android Development] :
Power button?
[G2 Android Development] Trixanity:
Sure, but what's the point of knock on in the first place then?

Sent from my LG-D802 - Powered by Dorimanx & Pardus (currently testing Bruce' rom)
[G2 Android Development] Tinchoska:
I suggest to ask LG about that, they make things this way.....

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Android Development] dorimanx:
HEY! great news! i have fixed CIFS mounting! :)

from LOG:

//!MY-IP!/ftp on /mnt/cifs type cifs (rw,noatime,nodiratime,sec=ntlm,unc=\!MY-IP!\ftp,username=!MY-USER!,uid=0,noforceuid,gid=0,noforcegid,addr=

!MY-IP!,file_mode=0755,dir_mode=0755,nounix,serverino,rsize=61440,wsize=65536,actimeo=1)

I can see my WIN shared folder in phone :)

Mounted via CIFS Manager

to /mnt/cifs/

and visible in any file manager/music app in phone.

wait for next release :)
[G2 Android Development] randrew87:
Hi [MENTION=390243]emil_b[/MENTION];

actually i'm uploading the servece manuals for the d800, Vs980 and LS980 to HERE i hope it will be useful for you and [MENTION=2376110]dorimanx[/MENTION].

Regards.
[G2 Android Development] Piotrekk:
Do you have the service manual for the D802?
[G2 Android Development] randrew87:
I just uploaded the manual that the D803 is almost the same as the D802, only lte bands vary.
[G2 Android Development] fleeting_dreams:
I see what you're saying, but having Knock On functionality while Knock Code is enabled can cause trouble. Since Knock Code is a series of taps, any taps made will register as part of the code. If you want a compromise, use a shorter code. Or just hit the power button. Not that hard, you know.
[G2 Android Development] Trixanity:
I'm not using knock code. It's not worth the trade off. I'm merely pointing out the very flawed argument that you and many others present.

Saying use the power button nullifies the knock on function completely and then one might as well remove it. A better idea is to divide the screen between knock code and knock on. Knock on on the top half or top third, rest dedicated to knock code. Not that difficult to come up with ideas. The lockscreen is too important for most people to bypass it completely each and every time.

But all this is completely irrelevant to Dorimanx' kernel development. It's up to LG to improve upon their implementation.

Sent from my LG-D802 - Powered by Dorimanx & Pardus (currently testing Bruce' rom)
[G2 Android Development] fleeting_dreams:
Good point. Maybe it's a hardware limitation since LG would probably have done it. In any case, this is a scenario where you have to balance security and convenience.
[G2 Android Development] demoncamber:
Trickster breaks things with this kernel unfortunately.
[G2 Android Development] fleeting_dreams:
[MENTION=4450292]demoncamber[/MENTION]

You should check out faux123's github. The source codes of his governors have comments that explain what the tunables do.
[G2 Android Development] demoncamber:
That's the info I'm looking for, its been so long since I've gone github digging, I totally forget where the gov info is located.

Sent from my LG-D801
[G2 Android Development] fleeting_dreams:
Go to drivers/cpufreq
[G2 Android Development] emil_b:
That is great! Thank you.
[G2 Android Development] dorimanx:
Well why to got to faux github if i merged all the code, so any info you are looking for is in my branch, any way you will not find a lot of documentation in gov code, best to ask dev or search for info he written for users, as the one with sync freq and optimal freq.

And yes they should be set to 1.4ghz as min..

I will correct tuning in all govs.

Sent from my LG-D802
[G2 Android Development] johnbeetee:
I don't only think you are right, I know you are right :) (....have been doing that all along, when I don't agree with the current tuning...)

The big problem is :

In theory, if a governor has enough parameters (controls), you can tune any of them towards performance or towards battery friendliness (and all steps in between). What to choose? performance people will complain if balance is towards battery and vice versa..

Another problem is the tuning is relative : if I tune the values keeping in mind my max freq. is 2265mhz, I will end up with certain values for example intermediate freq. would be 1700. If anoter person would go and underclock to 1700, without knowing this, he would have an intermediate freq. which is his max.freq. (or higher, in which case it would be equal) : result totally different behaviour of the governor.

Same goes for if I would overclock : I would need another balance.

It would be ideal if governors could be tuned in percentages of the max.freq., but that is not the way it works in most sources (also possible, but a lot would be have to rewritten).

As you can imagine there are so many combinations, this together with so many governors dori provides us with, it would be a great deal of work to keep that up ( with the S2, dori used to have a system in cortexbrain script doing exactly this: changing some parameters of multiple governors depending on active profile, but it's very extensive and hard to maintain ).

So in the end I think it's best for people to do their own tuning, once they have discovered how it works, and find their own balance :) ..
[G2 Android Development] demoncamber:
I was stupid and made the mistake to going back to trickster mod. It seems to corrupt and either misread or set false governor values. Bad news all around.

Kernel tweaker found on play store seems to be reporting everything properly!

Sent from my LG-D801
[G2 Android Development] treebill:
You reported to the developer? Other wise you're just damaging a reputation of an app that is widely used and highly regarded.
[G2 Android Development] demoncamber:
Yes I reported

Sent from my LG-D801
[G2 Android Development] fleeting_dreams:
Yes, I forgot to say that you're github should've been the first stop. Faux's github just came to my mind since he was specifically asking about intelliactive. Anyway, asking the dev is indeed the best way, but in cases where info is nowhere to be found, I find that looking at source codes might give just the info you need.
[G2 Android Development] PAGOT:
Just a question Would this be interesting for us? http://xdaforums.com/showthread.php?t=2768266 or too complicated and no one would like it?
[G2 Android Development] Alexander1988:
It already has swipe to sleep. Look in STweaks under Tweaks. As for gestures I don't think [MENTION=2376110]dorimanx[/MENTION] has the time to implement it. What would be the benefit anyway ?
[G2 Android Development] PAGOT:
I hate swipe to sleep on this phone and have it turned of... many times I shut it off by accident whilst surfing or in a game...

These are wake gestures...

Just an example bought a bag for my bike. It has a see through cover which allows touches. However knock on is not registered. As per phone design the power button s inaccessible for me whilst on bike..

So I was thinking since I can type and swipe on the phone normally in the bag. Maybe s2w would do some trick :)

And this module seems can do more with it.

Anyway was just a question and idea. Not even a suggestion.....
[G2 Android Development] garywojdan81:
Care to elaborate?
[G2 Android Development] demoncamber:
Look 8 posts up ^

Sent from my LG-D801
[G2 Android Development] Jostian:
Am on 802 intl but with latest Dori kernel my WiFi connection keeps dropping, anyone else? Thanks
[G2 Android Development] treebill:
Let's be honest guys it hasn't always broken things, it's just this update.

I've spoke to the dev before when I was having problems on cm 11 on my HOX, they were very helpful and even sent me a beta that fixed the issue before it was released.

I'm sure an update will come soon.
[G2 Android Development] Bornin:
Same problem with jogging. I'm wearing my phone in one of those arm-pocket things but I can't turn on my bloody phone to see my stats [emoji13]

Would be a great addition Dorimanx
[G2 Android Development] shaarky:
Without problem for me using 2.8.1 version
[G2 Android Development] Tinchoska:
Me neither

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Android Development] AxelCM1:
With this kernel my phone never off the screen, the screen turns on again instantly after double tap. This happens when I have active knockon. I have the pardus hd rom 7.1. Help please.

Enviado desde mi LG-D802 mediante Tapatalk

---------- Post added at 12:58 PM ---------- Previous post was at 12:53 PM ----------

I solved the problem was CrossBreeder

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Android Development] Mennooo:
So far, so good :)

Skickat från min LG-D802 via Tapatalk
[G2 Android Development] willi_3609:
Everybody. 4.9 is being uploaded.

4.9 is now being uploaded, just as a warning, ITLL BE AWESOME!
[G2 Android Development] johnbeetee:
It's polite to let the dev announce it himself :cool:
[G2 Android Development] x4x3:
Hi.

Here my testing of 4.2

Till now not one reboot or freeze.

Very fluid!

OC 2.8Ghz / governor pegasusq / ROW / intelli hotplug+temp --> quite faster than stock or other kernels (tried pikasek,simple, stock, furnance).

Even as fatst as stock/others running on low freq 2Ghz for battery saving!!!

Fully charged tonight so giving battery infos this day.

Great work dev!!!!!!! [MENTION=2376110]dorimanx[/MENTION]: Would it be possible to implement lower freq. (to 96?) for battery saving? Just as option...
[G2 Android Development] dorimanx:
No 96mhz, tried and its waste of time, not saving any thing, just slowing down too much.

When in deep sleep cpu is sleeping in no freq state. When screen on its almost never use so low freq as its has to jump up to power the gpu and i/o.

So no 96mhz will not be added.

And no OTA will be added.

Just check the thread as all do every day :)

Sent from my LG-D802
[G2 Android Development] iall5tar:
Hiho buds!

Battery life best than ever, all night and just down 1%... Wify on, notifications...

That's all by default, except the Cron tab that I activate it.

Good job [MENTION=2376110]dorimanx[/MENTION]

Also im having sometimes just a Lil lag in lockscreen.

But I guess is cause the deep sleep works so good.... Isn't it?

Cheers!
[G2 Android Development] x4x3:
OK, understand!

Thanx for this great kernel!
[G2 Android Development] dorimanx:
Yep, nothing is free and simple. Harder to wakeup after all stop or supended. Need full cpu power.

But all can be tuned. I will invent some wakeup booster script or kernel mod.

But its will cost battery on wake for 3 sec.

But people will not nag about small lag on wakeup on lockscreen.

Sent from my LG-D802
[G2 Android Development] Hiwa@:
anyway to have +3.0Ghz kernel?

:good:

thanks
[G2 Android Development] iall5tar:
That's would be great!

Btw from my point of view I rather a nice battery life and best performance even if I have sometimes a Lil lag in lockscreen I really don't mind it.

So great Job.

I'll post later some Ss from my battery life.
[G2 Android Development] paryav:
Yes StickMount work well.

Mount exfat 8Gb success.

It mount's as bonus my 64GB NTFS flash drive. Wtithout stickmount i can't correct mount 64Gb flash with NTFS. 32Gb can.
[G2 Android Development] iall5tar:
My battery life with 4.2 first cycle.
[G2 Android Development] alienware231788:
Omg!!!

What setting you use to get that?

What rom you use?
[G2 Android Development] iall5tar:
all by default.

i just activate Cron tab.

im on CloudyStock 2.0

my model is 802.

That´s all.
[G2 Android Development] alienware231788:
What rom you use?

I never get 6 hour higher..

Are you charge you phone through your day?

And what mod are you use to change layout and colour?
[G2 Android Development] iall5tar:
i think all of this is an *OT

Srry buds.

*CloudyStock 2.0 (802)

*i didnt charge the phone through day just at night.

*im using Tweaksbox from [MENTION=4699410]P_Toti[/MENTION] and also tinted status bar module.
[G2 Android Development] alienware231788:
I'm using CloudyStock 2.0

My phone d802

And i use dorimanx v 4.2

Just I'm wondering why i don't get your results battary life..?

Thanks for your reply my friend
[G2 Android Development] iall5tar:
Anytime bud! ;)

try to charge at full.

And when your battery is full leave it 30min and then unplug it.

Srry cause i dunno why, how i get this awesome battery life.
[G2 Android Development] dorimanx:
secret is that every phone / battery are different!

some get high quality and some get low quality :( as seller want to get more money and order GRADE B/C models of the same device...

it's something that you cant detect.

so no need to be surprised. also it's very depending on location and range to provider antenna! as far you are more power is used to hold your link!

and if you have LTE (4g) working but you little far from source, your phone drain crazy amount of power before decide to switch to lower H connection.
[G2 Android Development] Led Zeppelin:
Cloudy Flex 2.1 + Dorimanx 4.2

Best battery life for me, thanks... No freeze,no random reboot, no lag...
[G2 Android Development] SynnyG:
Hi [MENTION=2376110]dorimanx[/MENTION], I've noticed that the gpu governor is msm_adreno_tz (or something like that). Since I'm on KK and on your kernel, I've little lags in game, not horrible, but still. I think it's related to the governor (correct me if I'm wrong ! ). It's a bettery friendly governor or something like that ?

Also in FauxClock app I can't change this governor, that's normal ?
[G2 Android Development] Jodelaplaya:
Very good battery life (80% 4g/ 20%wifi ; a lot of chrome, facebook, sms and games). I did 7h sot with cloudystock 2.0 (stock setttings 4.2) but i had some lags (lockscreen,minion rush).

Keep it your hard work m8!
[G2 Android Development] d_Schizzo:
Thanks, i just wanted to write the same!!:good:
[G2 Android Development] Headstrike85:
Flashed 4.9, seems to working fine ;)
[G2 Android Development] dorimanx:
News Update!

01/06/14

Kernel 4.9

*Big update to Intelligent Thermal control! now it's can go up to 80C

and still be stable. but default set to 75C

*Enabled NET WESTWOOD + HTCP + BIC + CUBIC congestion controls

default is set as CUBIC as was in all older kernels.

Read GOOGLE for what is it, and what is the difference.

*Updated All CPU Govs with fixed code in functions + a lot of tuning.

*Updated CORE code from main line.

*Improved Fast Charge code. now will charge fast!

also when using Intelligent Thermal driver.

*Fixes for LINARO 4.8 builder.

*Disabled some more DEBUG code that drained battery and performance!

*Merged BT code updates.

*Merged new updates for Touch CPU Boost code!

*Merged updates to MMC code.

*Merged HUGE update to GPU driver from Nexus 5 KK source!

Now we can select 4 different GPU Govs and tune them via STweaks!

New TAB = GPU CORE! have fun with it.

*Huge update to MSM HOTPLUG, now it's responsive and powerful as never before.

*Big update to Intelli HotPlug, very smart and responsive!

*Many updates to Alucard HotPlug very smart and responsive!

*Merged special control for msm-adreno-tz GPU Gov by Faux123!

Allow to control the Gov even more! see STweaks.

*Merged sound code updates.

*Merged Mem code updates.

*Merged better WIFI power management.

*Merged updates to camera driver.

*Fixed CIFS mounting!

*Merged code that MAY allow using OTG + Charger! but need to test it.

it's OFF by default. PM me for instructions if you have cable.

*Tuned all profiles and set to RESET them on first boot! to add new controls.

Have fun with this new monster!

for this release many Devs contributed!

@myflyxi @faux123 @alucard_24

@neobuddy89

So thanks to all DEVS for sharing there ideas for free :)

and helped me to build new version.

As far as i know ONLY D802 + F320* supporting the KNOCK CODE!

So there is no point to build kernel with KNOCK CODE in touch screen!

it's not working any way, as ROM dont use kernel interface to activate it.

Use the NO KNOCK code build for models without official ROM support.
[G2 Android Development] pendroz:
Big Thanks Dream Team :good:

[MENTION=2376110]dorimanx[/MENTION] [MENTION=4152171]myfluxi[/MENTION] [MENTION=3332811]faux123[/MENTION] [MENTION=4899086]alucard_24[/MENTION]

[MENTION=3795148]neobuddy89[/MENTION]
[G2 Android Development] iko11:
Flashed 4.9 working good for now thanks !

Edit: It charges really fast

LG-D802 cihazımdan Tapatalk kullanılarak gönderildi
[G2 Android Development] :
Thanks for the update :)
[G2 Android Development] atxhardrocker23:
Charging Quick up by 20 in about ten mins
[G2 Android Development] iko11:
Deleted
[G2 Android Development] masterchif92:
Thx. Dori stock setting + stock rom

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] willi_3609:
Sorry about that Dori

I was just excited, because these kernels are top of the line, performance and battery life at the same time.
[G2 Android Development] Velogr1992:
oh god another awesome release.....

soooo many features to play with !

Thanks!
[G2 Android Development] Robshr:
Great work love the GPU control added the only other thing I like to see added to stweaks is CPU governor tweaks it would end having to use any other CPU manager like android tuner I like to use interactive governor and tweak it for better performance hopefully you'll be able to add that in your next version cause I find tweaking it in any other app the settings just don't like to stick anyways great work and thanks for all your hard work out it does not go unnoticed
[G2 Android Development] r03ter:
[MENTION=2376110]dorimanx[/MENTION] That's Awesome maaan... I really liked the new changes especially the GPU control ... Running very smooth till now and hopefull will stay :P

Thanks for your efforts

r03ter - LG F320S
[G2 Android Development] dorimanx:
Yes its nice, maybe one day i will show you hotplug controls :) that will be LONG new tab :)

Just some things must be hiden from global public, its just too delicate.

Sent from my LG-D802
[G2 Android Development] dorimanx:
Best use android tuner or setcpu for gov mods.

Its complicated to add controls for all govs in stweaks, for i will not do it.

Sent from my LG-D802
[G2 Android Development] cdfreak:
Thx [MENTION=2376110]dorimanx[/MENTION] for this great birthday present going to flash this monster when aim [MENTION=313982]home[/MENTION]!

LG2 powered with Dornimanx
[G2 Android Development] cynikalJ:
Has anyone else tried this kernel with xdabbebs ROM? Everyone i flash it, it gets to upgrading apps box and bootloops every time...
[G2 Android Development] Manbot27:
Touch performance is greatly improved and snappier, just have to see what effect if any it will have on battery life.
[G2 Android Development] 37_:
my D800 has JDI panel, what to do? I always end up with white lines after turning screen off, please help

solved: I used LittleKernelFlasher to solve this issue
[G2 Android Development] fleeting_dreams:
Use the Little Kernel Flasher tool by [MENTION=3279781]bender_007[/MENTION]
[G2 Android Development] tholmes8291:
Not compatible

VS980
[G2 Android Development] victorevo:
Fast Charge

Thank you so much!,Now my phone is charging very fast again! :)
[G2 Android Development] Schrotty35:
I have scroll issus in facebook and tapatalk but only with stock based rom and your kernel. With aosp rom i dont have this problem.

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] II_DiE_4:
Do you see how many options you have in Stweaks app? Go to profile tab and click on performance or extreme performance and try again.
[G2 Android Development] princenoob:
increase the touchboost frequency in STweaks. I'm at 1.5ghz
[G2 Android Development] Lycanlk:
I've noticed the same lag screen scrolling effect on FB. I have done so many tweaks with STewaks but nothing changed so far. I have never tried any other ROMs except stock V20B/V20D. Anyway Thanks for the effort giving us great kernels.
[G2 Android Development] g.paganini:
No lags here , on default battery profile and latest Cloudy Pro .

Nice work Dori , as always !
[G2 Android Development] BLiNKT:
All work fine on CloudyStock 2.2 I think that this version better than any other version now fast charge working fine thank you dorimanx ;)
[G2 Android Development] je2854:
Won't boot on xdadebs stock

Written so fly like a G2