yashsingh1/xdaforums huggingface dataset:
[G2 Q&A, Help & Troubleshooting] bloof:
Cloudyfa kernel is very good, used to run it with cloudyflex. It is a very good balance.

Indeed dorimanx let's you pick more performance if you want it or more battery saving but without giving up performance in my opinion.

I certainly got more SOT/battery with dorimanx than with cloudyfa and i love UI spaniness so with plenty of that.

Added bonus of fast charge, and a lot more including phenomenal idle.

A lot of people find alicard HP the best for battery and with a good governor (ondemandplus, darkness, nightmare) gives great performance too.

I am not trying to convince you, anyone picks the kernel that works for them!

In case of dorimanx it also let's you waste an enormous amount of time tweaking it ;)
[G2 Q&A, Help & Troubleshooting] Jordamo:
Well. I'll continue trying with alucard hp now. And I'll update this post next time. Thanks bro.
[G2 Q&A, Help & Troubleshooting] Alltime000:
[MENTION=5929281]bloof[/MENTION]

CPU power consumption = voltage x frequency x ^ 2 other things

This methodology is less clear yourself you can be more specific instructions not?
[G2 Q&A, Help & Troubleshooting] Ofthecats:
anyone find info on aluvard governor? ive looked a bunch to no avail
[G2 Q&A, Help & Troubleshooting] AnkeshReborn:
OP should be given a PhD for this research,me thinks!

Sent from my Resurrected flo powered by elemental x and kanged by Xposed with power of MultiROM!
[G2 Q&A, Help & Troubleshooting] bloof:
Very hard to find info. Alucard has a thread for his kernel, but not much "easy" info to find.

http://xdaforums.com/showthread.php?t=2590246

https://github.com/Alucard24/Alucard-Kernel-jfltexx/tree/my-tw-4.4/drivers

Go to cpufreq and knock yourself out. I certainly don't have time to go into any of that.

The basics of his 3 governors are:

Alucard: more battery

Darkness/Nightmare: performance
[G2 Q&A, Help & Troubleshooting] bloof:
I have used a LOT of work done by many others. I try to give credit but am not that successful.

I certainly don't deserve as much credit as people think. I did spend a lot of time on this thread and gathering data and info, but all this was built on others' work.

But thanks :)
[G2 Q&A, Help & Troubleshooting] bloof:
I don't understand completely what you are saying, but here are two nice resources for power consumption (there are more):

https://www.qualcomm.com/news/onq/2013/10/25/power-vs-performance-management-cpu

https://www.qualcomm.com/news/onq/2013/09/23/smartphone-battery-life-and-soc-power-benchmarking

P = v^2 x f x c

P= power

v = voltage (can be modified by kernel, but not recommended if you don't know what you're doing)

f = frequency (can be modified by kernel)

c = capacitance (depends on actual physical build of the system)

That's for one cpu. When you add more cpus it should add up easily enough but total power consumption of the phone is not only based on cpus, there is a lot more going on, so actually determining the real TOTAL power consumption is a very different subject, that I will not get into because I don't know. You can google and find links for people doing this (I might have some links in the "further reading" section).
[G2 Q&A, Help & Troubleshooting] AnkeshReborn:
Keep yourselves this way,you rock!

And all the devs who worked upon too!

Sent from my Resurrected flo powered by elemental x and kanged by Xposed with power of MultiROM!
[G2 Q&A, Help & Troubleshooting] Underworled:
I got better bsttery life with Ondemad + fiops + 1.9ghz + westwood in bliss pop
[G2 Q&A, Help & Troubleshooting] bloof:
Thanks for the report. But could you please say "better battery life" compared to what other settings?

You're also missing phone model, kernel and hotplug in your info.
[G2 Q&A, Help & Troubleshooting] Underworled:
D802 + BLACK BIRD kernel . i didnt change alucard hoplug. . for me thats so good.
[G2 Q&A, Help & Troubleshooting] Saber:
Don't worry, I'll find the info if I have time :) (and add it to my website of course)

Update: I've added alucard CPU governor to my website. Don't know about hotplugging code, but if I really have more time, I will look into this.
[G2 Q&A, Help & Troubleshooting] bloof:
:) Something I am VERY interested in is whether Darkness and Nightmare still carry hotplugging in their code since they are based on PegasusQ. And whether Alucard does too.
[G2 Q&A, Help & Troubleshooting] Ofthecats:
im very much uneducated with code, but he did say it was based on ondemand.
[G2 Q&A, Help & Troubleshooting] Jole7:
Hi everyone i need some help. I'm searching for some tunables for performance on Fiops sheduler. Thanks in advance
[G2 Q&A, Help & Troubleshooting] ibrakadabrax87:
The best setting for pure smooth experience?
[G2 Q&A, Help & Troubleshooting] carpon:
first of all thnx for your efforts , this is one of the great topics i've ever see so far

i'm running dorimanx kernel 9.9 , running recommended setting " Balanced on the battery-side version 1 " with both governor & HP ( alucard ) but my phone won't go on deep sleep ever , any help !؟
[G2 Q&A, Help & Troubleshooting] Zoell79:
Install betterbatterystats or wakelock detector app to find what rogue apps or process that won't let your device go into deepsleep

LG D802 powered by DorimanX kernel
[G2 Q&A, Help & Troubleshooting] bloof:
Try what zoell79 says. You can also boot tk recovery and wipe dalvik+cache, that can clear up some misbehaving apps.
[G2 Q&A, Help & Troubleshooting] Saber:
I've created a CPU governor and I/O scheduler thread in the universal general forum, check out here: http://xdaforums.com/general/general/ref-to-date-guide-cpu-governors-o-t3048957
[G2 Q&A, Help & Troubleshooting] bloof:
Really great thread! If you don't mind i will link it when i have time (not much lately).

However i would recommend you modify the list of "best" governors by removing "performance" governor, it really is not a good governor, it is the most dumb governor (along with conservative), it is useful for testing core stability but should _never_ be used for anything else, it is very bad for the CPUs. Conservative is a bit useless as well, but using it will not be bad for you, i just don't know why anyone would use it.
[G2 Q&A, Help & Troubleshooting] Saber:
That's true. I will need to update it when I have time. Don't know why I've marked it as best.

Update: All updated!
[G2 Q&A, Help & Troubleshooting] musemmai:
Thx very much
[G2 Q&A, Help & Troubleshooting] Harsh.gundecha:
To the OP

Big big thanks to your hardwork as now noobs like me would also be able to tweak with their kernel(s).....
[G2 Q&A, Help & Troubleshooting] MBurns2:
[MENTION=5929281]bloof[/MENTION]

I believe that this is the best guide for kernel tweaking and more !! thanks a lot for the hard work

Now i have some consideration to do.

I had a g2 and now i have the oneplus, i use ak kernel + slim rom, my setup:

-cpu at 1.9 ghz

-gpu powersave at minimum

-touchboost at 833

-conservative governor

-hotplug 2 cores min-4 max, start delay at 433 mhz (msm mp decision)

For my usage (surfing with opera, using app such tapatalk..) this is the best profile.

Some interesting point:

-if i decrease the hotplug to "1 core min and 2 core max", my device consume more battery because it stay more on max freq.

-if i set "1 core min and 4 max" my device consume more than "2 core min and 4 core max", i think that it is related with "start delay at 433 mhz", i think that it is better to leave the second core constantly on rather than turn it on/off every sec.

-if i increase hotplug threshold (so i make my hotplug less aggressive) my device consume more because it use more higher cpu freq

So the profile that i posted up seems the best for me, conservative governor tends to use low cpu freq and "moderate" hotplug allows my device to end task without raising up the cpu.

What do you think ? thanks a lot
[G2 Q&A, Help & Troubleshooting] 1ceb0x:
Conservative is a beast of a governor if you know how to set it up.. Not that useless as you think.
[G2 Q&A, Help & Troubleshooting] bloof:
Can you suggest some setups?

I have had no time in the last 5-6 weeks to update / correct but i will in 1-2 weeks. I have more stuff to add and update, i can update conservative governor too.

Cheers.
[G2 Q&A, Help & Troubleshooting] Stroky:
I would say the Settings from Francos Conserative Governor for the OnePlus!

He changed from Interactive to Conserative
[G2 Q&A, Help & Troubleshooting] 1ceb0x:
exactly. that's the one i was thinking as well!
[G2 Q&A, Help & Troubleshooting] bloof:
Sorry i don't have time to play around with changing my kernel (even it doesn't take long :)), but i am pretty sure the conservative gov in FK is not the basic conservative gov, just has the same name.

The standard "conservative" gov doesn't scale frequencies at all, i am sure that the FK conservative gov scales frequencies!

Trust me, put the MAX freq to 300 MHz and that's the standard conservative governor... Let me know what you think ;)

FK let's you tune gov parameters, there would be none for a standard "conservative" governor.

I would love to include FK in some of this site up, I started but never got the time. There are hotplug settings that would be interesting to play with for example.
[G2 Q&A, Help & Troubleshooting] mannequin:
i'm running stock LP that was recently released for LG G2. on KK, G2 has pretty great sound quality and i never run into trouble with sound reproduction even using the most demanding EQ settings, etc. Google reworked a lot regarding sound for LP and on paper the changes sounded great. in reality, however, things are a little problematic. it looks like any serious sound reproduction on LP (playing music, gaming) requires more than 1 CPU core online or at least more powerful CPU scaling than on KK. just playng some mp3 files results in random, short bursts of garbled / distorted sound with default kernel settings. the issue is more pronounced with apps like Spotify due to more processing power required which system fails to supply. it's not just G2's issue either, there are plenty of reports about it from people running CM12 on various devices, etc.

i'm running stock LG'2 LP kernel (there are no custom kernels for G2's LP as of now and i prefer to stay on stock anyway)

first thing i did was to change the governor from "ondemand" to "interactive" and tweaked some settings:

above_hispeed_delay 15000

go_hispeed_load 70

hispeed_freq 1728000

min_sample_time 60000

target_loads 80

timer_rate 15000

timer_slack 60000

mpdecision ON

it helped, but not much. eventually, the sound starts to choke since mpdecision keeps only 1 core online most of the time (perhaps, qualcomm and LG never finished their LP homework)

the next solution was to run "performance" governor which looks like it solves this issue but not the most graceful option, obviously.

and the last thing i tried was to disable mpdecision completely and switch sched_mc_power_savings to "1"). this makes the whole system very snappy by running all 4 cores constantly online but the effect of such operation in the long run in terms of heat and performance is not known to me.

my question, is there a way to further boost "interactive" governor (or stock "ondemand" for that matter) with it's settings and keep mpdecision ON to possibly run more cores online or scale better when needed (in this case, playing sound) or i'm pretty much stuck with 2 solutions above?
[G2 Q&A, Help & Troubleshooting] Beppemi:
Wow, really nice thread! it explain a lot of things and solve a lot of dubs.

I'll try some governor and i'll give feedback.

Thank you for this good work dude!! :good:
[G2 Q&A, Help & Troubleshooting] Nytronx:
Hello everybody ! :D

I have a kernel problem:

My wireless mouse doesn't work on my lg g2, running cyanogenmod 12.

other wired mouse work work perfectly

It's a logitech mouse with "unifying " receiver. it work well on my sister samsung galaxy s4, but nothing on my lg g2.

I have read here that it might be a kernel problem.

http://xdaforums.com/showthread.php?t=2498024

Do you now what kernel I should flash that support these mouse ? here is my actual kernel ==> 3.4.0-CM+ build02@cyanogenmod #1 Apr 25

I have a lg g2 d802
[G2 Q&A, Help & Troubleshooting] onlh81:
reserved:)

I will be back
[G2 Q&A, Help & Troubleshooting] adnan.catper:
thanks

thanks for this dude...
[G2 Q&A, Help & Troubleshooting] bloof:
I do apologize to everyone for not updating, real life has been crazy for months and i don't have the time...
[G2 Q&A, Help & Troubleshooting] daltonhrrll:
No worries mate there are not important things than XDA lol
[G2 Q&A, Help & Troubleshooting] JoeBear1975:
Thx for an awesome thread & the work put into it. Gr8 job

:thumbup::thumbup::thumbup:

Sent From A N910P With Emotion & OBAR
[G2 Q&A, Help & Troubleshooting] jugoslavpetrovic:
Indeed very needed thread, thanks a lot
[G2 Q&A, Help & Troubleshooting] Diechel:
I think it's normal to reach that temps. Me too.

You can lower temp limit in dorimanx app from 75 to like 72.

Also you can underclock cpu and gpu for example.

Just try
[G2 Q&A, Help & Troubleshooting] Midosiwar:
Thank u so much...i will

I noticed the heating issue just after using AUTOREC cause i came from a stock kitkat

I think what this app does causes damage to the sensors or something else i dont know...am i reasonable on this or not....What do u think my friend
[G2 Q&A, Help & Troubleshooting] Diechel:
I don't think it will damage sensors. Many users have used autorec including me.
[G2 Q&A, Help & Troubleshooting] Midosiwar:
Thank u so much......In your opinion my friend what could be the problem behind heat for example when i open the phone it is already 40 c° degrees, when i use it sometimes temp reaches 50 c° and when i heavy use it temp reaches crazy degrees like 70 to 77/80....Is that a hardware issue or what is it?
[G2 Q&A, Help & Troubleshooting] raptorddd:
how's your weather? is it hot??
[G2 Q&A, Help & Troubleshooting] Midosiwar:
a little bit yes
[G2 Q&A, Help & Troubleshooting] raptorddd:
it feels hotter when in hot weather. so it could be that...maybe reflashing rom. doing a clean installation.. try dorimanx kernel..
[G2 Q&A, Help & Troubleshooting] Midosiwar:
Thank u so much......I will
[G2 Q&A, Help & Troubleshooting] Alphanor:
This post is very useful, thank you!
[Java for Android App Development] drsouly:
Hi,

i know this is a kinda unusual question, but is there any way to capture > manipulate > output the screen in real time? Are there any APIs providing something similar and is the device hardware capable of doing so?

Thanks alot for your input
[Java for Android App Development] Ecrou:
Did you try with ADB? (it may not work depending on hardware)

adb screenrecord
[General Questions and Answers] smirkings:
Had rooted tablet awhile ago using aicjofs root tool. http://xdaforums.com/showthread.php?t=2207499

I recently had numerous freezes while using my nabi xd, so did a factory reset.

Everything came back fine, but very shortly after I started having freezing problems again.

Turning on the tablet now freezes at the nabi logo, no rotation.

I can access the boot loader, but none of the commands work. Starting recovery freezes at the teamwin screen.

I have tried hooking up the tablet to the computer, and the only time it will actually connect is while it is

stuck on the teamwin screen.

I can go into the fastboot protocol menu, but the second I hook up my tablet to my computer it freezes. Trying to access fastboot while connected freezes.

I can access tablet via adb, but fastboot will not show device.

Adb reboot commands do not work.

I have tried to push the twrp recovery.img over to the tablet to see if it will rewrite the recovery image and

give me access to twrp, but thats not working.

I found the stock boot and system backups from twrp, but have no idea if I can do anything with them

since I can't get twrp to load.

ATM I am going to try a complete battery drain and see what happens.

If anyone has any suggestions I would be very greatful.
[General Questions and Answers] aicjofs:
I'm not really sure with all the lockups, it almost sounds like a hardware issue. I don't think we have ever got a blob for the bootloader in an OTA to try reflashing the bootloader(assuming we could even get a connection), nvflash needs a SBK for the XD and we don't have that either(although I haven't put loads of effort in to nvflash on the XD).

So when you have ADB access what does that mean exactly? At the teamwin screen ADB is up but all commands don't work? Or just the reboot commands don't work? Does "adb shell" work? The way you are describing it doesn't sound promising.
[General Questions and Answers] smirkings:
I can push files to the tablet, and adb shell does come up. Having trouble finding suggestions of what to do through adb though. You seem to be the only person that has done work on the nabi xd. Have tried to flash_image with the twrp recovery.img.
[General Questions and Answers] aicjofs:
Did it successfully flash the image?

I'm kind of at a loss with all the freezing at different parts, including when it was in Android. That sounds like nothing I have heard on any of the other Nabi devices. You could try pulling the recovery log and see if it says anything that might give a clue. It's under something like

/cache/recovery/log

/cache/recovery/last_log

/tmp/recovery.log

Maybe it's two different types of freezing. Couldn't it be the USB cable causing the fastboot issues? I know that's a Fuhu specific plug type, but does any evidence point to it being the culprit? I'm trying to break it down to the simplest level and fastboot/bootloader is about as simple as it gets. Only using a few MB of flash and code at that point. Fastboot does weird stuff I have seen when a cable is bad. Does the driver look installed in device manager?
[General Questions and Answers] smirkings:
Recovery.log

Starting TWRP 2.4.4.0 on Fri Feb 20 22:26:54 2015

I:=> hardware id from cpuinfo: 'NABI2_XD'

I:=> serial from cpuinfo: '0f41000001000000'

BOARD_HAS_NO_REAL_SDCARD

:= true

I:Internal path defined: '/data/media'

I:External path defined: '/external_sdcard'

I:Mount: Unable to find partition for path '/data'

RECOVERY_SDCARD_ON_DATA

:= true

TW_NO_USB_STORAGE := true

Starting the UI...Pixel format: 1366x768 @ 16bpp

Pixel format: BGR_565

framebuffer: fd 3 (1366 x 768)

=> Linking mtab

=> Processing recovery.fstab

I:Processing '/recovery'

I:Processing '/boot'

I:Processing '/system'

I:Processing '/cache'

I:Processing '/misc'

I:Processing '/staging'

I:Processing '/data'
[General Questions and Answers] aicjofs:
Did you ever encrypt the tablet?

There are things to try via ADB, but TWRP providing a minimal ADB is the only thing left. If we kill that and fastboot isn't working, then it is bricked.

You could try and format the data partition in ADB shell. That won't hurt anything at this point, maybe a corrupt data is hanging it somehow.

/sbin/mke2fs -t ext4 -b 4096 /dev/block/platform/sdhci-tegra.3/by-name/UDA

and

/sbin/e2fsck -y /dev/block/platform/sdhci-tegra.3/by-name/UDA

If you eventually throw in the towel the last resort would be to try and dd a recovery to the recovery partition. Let me know if you want to try that.
[General Questions and Answers] smirkings:
Think I'm down to the last resort. I'll give it a shot.
[General Questions and Answers] aicjofs:
Did you format data?

Download this TWRP http://xdaforums.com/attachment.php?attachmentid=3171414&d=1424242604 and extract to your adb directory

adb push twrp-recovery.img /cache/recovery/recovery.img

adb shell "dd if=/cache/recovery/recovery.img of=/dev/block/platform/sdhci-tegra.3/by-name/SOS"

adb shell "umount /data"

adb shell "umount /sdcard"

adb shell "/sbin/mke2fs -t ext4 -b 4096 /dev/block/platform/sdhci-tegra.3/by-name/UDA"

adb shell "/sbin/e2fsck -y /dev/block/platform/sdhci-tegra.3/by-name/UDA"

Even if this doesn't work I wouldn't toss it in the trash just yet, the other Nabi devices have gotten an upgrade, if the XD ever get's a bootloader update it might be possible to put a new bootloader if it's somehow corrupt. Your issue does sound like a hardware issue though.
[General Questions and Answers] smirkings:
format /data didn't seem to do anything

format /cache caused the stuck twrp screen to flash once

A lot of commands return /sbin/sh *****: not found

Attached a picture.

"UDA is apparently in use by the system; will not make a filesystem here!"
[General Questions and Answers] aicjofs:
It umount not unmount. no 'n'

Also you need to umount /sdcard too
[Nexus 7 Q&A, Help & Troubleshooting] seferkilic:
Hi All,

My Nexus 7 2013 (2th Gen) was not charge anymore and I searched know issues and I found cause of charging issue is sub board. I read my exist board part number and it was 60NK0080. In asusparts.eu this board not selling anymore and there is note for this item like USE 90NK0080-R11000. (asusparts.eu/en/Asus-60NK0080-SU1020) I bought 90NK0080 (asusparts.eu/en/Asus-90NK0080-R11000) and replaced board successful. As I guess, problem was in this board and my tablet charging properly. But now my tablet touchscreen does not work anymore.

Ok, there was a warning on board page like *** IMPORTANT *** Please note that this part may have to be calibrated to work with your unit. To do this you will have to send your tablet to an Asus *** IMPORTANT ***

I don't know what is means of calibration but before send to asus service is there anyone out there offer somethings different ?

I'm planing upgrade my tablet to android 5.0.2 , may be this can solve touchscreen problem.

Regards

Sefer
[Nexus 7 Q&A, Help & Troubleshooting] Cyberthief2010:
I saw this on YouTube when I was looking for something to fix mine. It said something about the charging board being a version 1.3 and he had bought a version 1.4 and he had a touch screen issue. When he replaced the board with the old one the problem was fixed. he fixed it by using a wireless charger but he lost the ability to connect it to a PC. This is where I saw the video. YouTube video #jkaDHSS-Jtc Hope it helps. I can't seen to be able to post actuall links to the video but I think if you add this to any other video you can find it. The video is called "Nexus 7 2013 2nd gen charge port replacement issue" and it was made by some dude named Miguel Chavez. Good luck.
[Nexus 7 Q&A, Help & Troubleshooting] seferkilic:
Hi Chavez,

My old and new board version is same ; 1.4 Also board part numbers is same ; 60nk0080-su1020. I re-plug in old board and as you say, touchscreen start to work , I upgrade my tablet to Andorid 5.0.2, this also not help. :rolleyes:
[Nexus 7 Q&A, Help & Troubleshooting] leoetlino:
I'm also having the same issue, USB port broken.

I am also looking to buy a replacement USB board, but all posts I saw on the Internet were about having touchscreen issues after replacing the board… And considering the board isn't that cheap (€50), I think I'm not going to replace it if I'm not sure it will work.

Just a quick question, was the second row the same on your two boards?

For example, here on the image, the second row is ME571K N41.
[Nexus 7 Q&A, Help & Troubleshooting] leoetlino:
Another question. Is the revision number on the other side the same?
[Nexus 7 Q&A, Help & Troubleshooting] seferkilic:
Yes, revision number is same : 1.4
[Nexus 7 Q&A, Help & Troubleshooting] seferkilic:
I contacted local Asus Service, they are charging more than 100€ for only board calibration. Unfortunately board change is not make sense anymore for me :crying: