yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Q&A, Help & Troubleshooting] GiwrgosP-:
I used to have sony devices so i new how to flash roms on such phones pretty well. Now i moved to nexus 5. I need somebody to help me install twrp recovery and a good kernel (i found elementalx) for lollipop. Also i got a question.. If i get bored or need the warranty in order to get back to full stock will i just have to flash the factory image with the instructions google give us? Also if i flash the custom recovery will i have to reflash the rom?(by unlocking bootloader do i lose my data?
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Everything is in the first link of my signature. Everything.
[Nexus 5 Q&A, Help & Troubleshooting] GiwrgosP-:
I downloaded twrp 2.8.5.2 is it stable or i should use another version? Thanks
[Nexus 5 Q&A, Help & Troubleshooting] GiwrgosP-:
Hey will i have to pay my apps again after flashing gapps on my new rom?
[Nexus 5 Q&A, Help & Troubleshooting] Ben36:
I think currently 2.8.5.0 is better

No, as long as your Google account logged in is the same
[8125, K-JAM, P4300, MDA Vario General] gayjam:
Hi there;

I've had my K-Jam for about a year now, purchased used.

IPL 2.16

SPL 2.16

GSM 02.07.10

OS 2.16.9.1

I would like to completely wipe / re-install everything on this phone. What is the best way to proceed?

I would like the phone to be feature rich, but also quick.

It is def sim unlocked, I'm not sure about CID lock though.

Thanks!
[8125, K-JAM, P4300, MDA Vario General] gayjam:
Also, I'd love to run WM6, but don't want to suffer poor performance.
[8125, K-JAM, P4300, MDA Vario General] mfrazzz:
First, take a backup of where you are so you can get back to this point if you don't like where you end up ;) Just use something like spb backup or similar. ALso you may want to put PIM Backup on your phone now and get a good backup of your stuff that way. Then you can restore onto WM6 with this same program (you can NOT restore from spb backup (or similar tools) from wm5 to wm6, or really from one rom to another rom for that matter due to conflicts with the registry, differences in teh PIM database, etc).

Second: Read and follow this thread for flashing and pointers to CID Unlocking your device (if you aren't sure, then just do it so you are sure ;))

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

Third: Decide what custom rom you want to move to. If you want WM6, then currently I'd recommend XPlore 1.1 (Fast and stable). (NBD gets good remarks, and the current Faria Vanilla WM6 Beta I'm running is excellent, but not available yet). Also the Faria WM6 "the real thing" is supposed to be good and comes with lots of stuff built in (XPlore is a vanilla/clean rom so you add what you want).

If you want a good WM5 that is stable and loaded then try Faria AKU 3.3 or the Molski/Faria AKU 3.3 Crossbow themed one.

REmember that with most custom roms (Faria ones tend to be the exception) you will not have GPRS setup when you flash it, so you need to get those settings from your carrier. Same with MMS. Most carrier support sites provides cabs or instructions on how to setup GRPS and MMS.

Good luck and have fun!
[8125, K-JAM, P4300, MDA Vario General] gayjam:
Thanks for the reply, very helpful.

Will I notice any performance differences running WM6 Vs. WM5 ?

Also, what are the recommendations on upgrading the Radio ROM?

Thanks!
[8125, K-JAM, P4300, MDA Vario General] mfrazzz:
Overall I find WM6 faster and more responsive than WM5. But then I'm also running the phone overclocked more with BatteryStatus, so maybe that would have lessened the difference I saw (had I ran BatteryStatus on WM5).

Good question. It seems with WM6 there are issues with some carriers and the radios. I'm on Cingular and find that I can't use any of the radios above 2.19 TMo UK one on the ftp site here. The newer radios cause me to miss calls and sms. Others on T-Mobile (US and Europe) are running the newer radios (2.61, 2.69) and having no issues. But overall most seem to agree 2.19 is the most reliable (but not the best at signal performance :()

A few people have had so much problems with WM6 and radios they've went back to Wm5 due to it. For me on 2.19, I have had no missed calls or SMS so I'm fine with that setup (and I get good reception at my house and even in some spotty areas its not much different than when I had the stock Cingular 2.25 rom and radio). Overall I'm happy with WM6 and don't have a reason to move back to WM5.
[8125, K-JAM, P4300, MDA Vario General] gayjam:
Thanks again for a great reply.

I'm in the process of getting some back-up software on there... I've downloaded PPCPimBackupV1.5 and SPB Backup...

Then I'll do the CID unlock to double check.

Then I plan on trying XPlore 1.1.

Thanks again
[8125, K-JAM, P4300, MDA Vario General] gayjam:
Awesome, I just finished flashing XPlore 1.1 thanks for all your help!

Now to load it up with all my apps again.

What's the best way to get GPRS / etc. settings for my provider?
[8125, K-JAM, P4300, MDA Vario General] mfrazzz:
Glad it worked for you. Welcome to the addiction of flashing ;)

For Cingular they have a website with support information and it has all the settings to setup GPRS and MMS. Look at your provider's website for similar.
[8125, K-JAM, P4300, MDA Vario General] calouro:
Try this, unzip it, copy the cab to your device and run it.
[8125, K-JAM, P4300, MDA Vario General] Tynkrrbell:
auto config

doesn't seem to work on my phone: I installed the CAB, run it, I check the box, but there are no carriers listed in the drop down and when I click OK in the top right corner, it just closes the window.

Any thoughts? This could be a handy tool... if it worked.
[Android Q&A, Help & Troubleshooting] cheabkunthea:
I have published an app to Play Store. Few users feedback me they had downloaded and installed successfully but when they click icon from drawer, it said "Application not installed". Please help me how to fix this bug!
[G2 Q&A, Help & Troubleshooting] bloof:
TCP NET CONGESTION​

A very quick description of some TCP net congestion algorithms and especially how to find out which one works for you.

TCP Congestion Avoidance Algorithms:

You can find more detailed descriptions here for example, or here.

(Credits: richteralan, other linked in his/her post)

Tahoe:

Limits unknown packets being received. Limits the congestion window, and reset itself to a slow-start state.

Reno:

Basically the same as Taho, but.. if 3 of the same packets are received, it will halve the window, instead of reducing it to one MSS. It changes the slow start threshold equal to that of the congestion window.

Vegas:

One of the smoothest (next to cubic), it increases the timeout delay for packets, which allows more to be received, but at a higher rate. It also has set timeouts, which helps with speed because it's constantly being refreshed.

Hybla:

Penalizes connections that use satellite radio. Not usually used with phones.

Cubic:

One of the best, most recommended TCP options available. Less aggressive, Inflects the windows prior to the event. Used in Linux.

Westwood:

A newer version of Reno, and another commonly used one. It controls parameters better, helping out streaming and overall quality of browsing the internet. One of the most 'fair' algorithms out there, and is one of the most efficient algorithms to date."

**********************************************************************************************************************************************************

**********************************************************************************************************************************************************

WHICH ONE TO USE?

It all depends on your local network situation. It might vary from your home to your local jail or work place.

Only one way to find out: test your internet speeds.

Credits: Dorimanx:

"you need to run net speed tests with each protocol at least 3 times to compare the average, and use best performing protocol for YOUR network."

Don't be surprised if you end up using CUBIC or WESTWOOD.
[G2 Q&A, Help & Troubleshooting] bloof:
BENCHMARKS​

Please don't. Nobody intelligent gives a crap.

"Benchmarking:

The next possible answer for measuring CPU speed and overall system performance is benchmarking.

Unfortunately, benchmarks are necessarily flawed. A benchmark can only prove how quickly a system runs the benchmark. A benchmark cannot show how quickly a system will run a user’s mix of applications in the real world."

(http://www.tech-faq.com/cpu-speed.html)

"With that said, synthetic benchmarks by definition are not real-world applications and they can be misleading and abused. It is ideal to test applications that represent end user experience".

(qualcomm.com/power-versus-performance-management-cpu)

Benchmarks have their uses in comparative studies under same conditions, but they will not tell you anything about how to setup your governors/hotplugs/frequencies.

Example of the proper use of a benchmarking tool (antutu, and you won't see a single score): http://www.bu.edu/peaclab/files/2014/06/Cotler-RISE-Poster.pdf

The best end-user experience benchmark is yourself. If you can't tell the difference in day to day use then why bother with more battery consumption?

If you want to test the thermal engines, undervolting reliability (please don't undervolt), use something like "stability test". You won't get a score to post on facebook but you will actually learn something useful.

******************************************************************************************************************************************************

******************************************************************************************************************************************************

If you insist:

Settings for facebook-friendly benchmark scores:

1. your thermal engine is your worst friend. Disable it/increase limit and destroy your cpus, or (SERIOUSLY) run your benchmark with the phone in the freezer/fridge (leave it there a couple minutes before starting, maybe use a ziplock bag so it doesn't get wet). BUT DON'T FORGET TO NOT BLAME ME FOR ANYTHING THAT HAPPENS TO YOUR PHONE.

Note: I never ran my phone in freezer, but have done many times in the fridge when doing TWRP backups or flashing ROMs to speed up the process and avoid overheating/pixel destruction.

2. set a hotplug with ALL CORES ONLINE all the time. Like "4 cores min".

3. set the governors to "performance", this usually sets the cpus at their max frequencies forever.

4. set the max frequency to the highest possible frequency.

5. don't forget the GPU, this is a big score for antutu and others. Set min GPU to the max possible allowable for your kernel and the max GPU to the max possible.

6. DON'T kill all the tasks before you start a test, the phone will be busy restarting them. If you want to kill tasks, then please do but then wait a few minutes before doing your test. Same if you reboot, wait several minutes after reboot to start your test.

7. And then don't forget to

NOT BLAME ME

.
[G2 Q&A, Help & Troubleshooting] bloof:
COOL TOOL custom labels GPU freq, CPU temp, CPU 1/2/3 on/off state​

I have put in one place three custom labels that are often asked for but answers are spread through several posts. I hope this will help future people find everything in one place.

I did NOT do these myself, just reporting them here. Credit goes to the people who created cool tool and

App: cool tool from play store

Quick tutorial: you need to go to Labels -> Fine tuning (at the bottom) -> Click on Custom label -> enter settings as shown below

You can modify the prefix and postfix as you like.

************************************************** ********

1. GPU freq

Prefix: GPU:

Postfix: MHz

Path: sys/devices/fdb00000.qcom,kgsl-3d0/kgsl/kgsl-3d0/gpuclk

Regex: (\d+)\d{6}

Replacement pattern: $1

************************************************** ********

2. CPU temperature:

Prefix: T:

Postfix: *degrees symbol* C (or just "C")

DORIMANX KERNEL on LG G2: Path: /sys/class/thermal/thermal_zone5/temp

BOEFFLA KERNEL on OPO: Path: /sys/class/thermal/thermal_zone2/temp

Regex: (\d+)\d{3}

Replacement pattern: $1

NOTE: zone5 is global temperature tested by driver. zone0 is cpu0.

************************************************** ********

3. CPU 1/2/3 on/off state

Unfortunately it is not possible yet to display CPU1/2/3 freq. What can be done is to display a "0" or "1" state which corresponds to "OFF" and "ON".

Prefix: CPU1:

Postfix:

Path: /sys/devices/system/cpu/cpu1/online

Regex:

Replacement pattern: $1

NOTE: replace "1" in prefix and path to "2" or "3" for CPUs 2 and 3.

************************************************** ********

keywords for search results:

cool tool, cooltool, GPU freq frequency, CPU temp temperature, CPU online state on off, custom labels
[G2 Q&A, Help & Troubleshooting] Tinchoska:
Awesome dude!!!!!! Can I suggest something? Alucard hotplug and Ondemand plus gov is more battery friendly than Alucard/Alucard...
[G2 Q&A, Help & Troubleshooting] tehbigbug:
[MENTION=5929281]bloof[/MENTION]

Check out the post linked in my signature. I'm sure there are a few things there that you could add to post #5. :)
[G2 Q&A, Help & Troubleshooting] d00lz:
[MENTION=5929281]bloof[/MENTION]

May I add a very helpful link, Android Kernel-Governors, Modules, I/O Schedulers. It has heaps of detailed, in-depth information about Kernel-Governors, Modules and I/O Schedulers from a very Beginner-Friendly point of view :).
[G2 Q&A, Help & Troubleshooting] bloof:
OK, I am done for now, first draft of this thread is UP. Please provide comments/feedbacks/additional knowledge.

have fun :)
[G2 Q&A, Help & Troubleshooting] Saber:
Hi there,

I'm gsstudios and I'm the creator of the android modders guide website (androidmodguide.blogspot.com). Please mention my name in the OP. This isn't a fake message that I've sent, as I have referenced on my website that it was created by myself. :D

Thanks, gsstudios
[G2 Q&A, Help & Troubleshooting] bloof:
DONE :) and thanks for that guide, the most up to date I found. When creating this thread I checked so many sites and links I ultimately lost track and gave up on re-opening every link.

I'm glad you mention it and happy to give credit of course, it needs to go where it is due.
[G2 Q&A, Help & Troubleshooting] iall5tar:
Well done buddy!

Appreciate your effort to make this thread awesome!

This is a must read for everyone!

Hats off!
[G2 Q&A, Help & Troubleshooting] 60nine:
this shoud be stickied - well done [MENTION=5929281]bloof[/MENTION] ...
[G2 Q&A, Help & Troubleshooting] SREEPRAJAY:
great work my friend.

STICKIED this thread.... could be of great help a good support to many users

keep it up..but no need to keep the thread restricted to only one kernel... it could be general info on the whole subject.

THANKS for the work

sreeprajay
[G2 Q&A, Help & Troubleshooting] dodgebizkit:
Thanks for a great guide ????
[G2 Q&A, Help & Troubleshooting] prboy1969:
Nice write up :good: :good: :good:
[G2 Q&A, Help & Troubleshooting] Haldi4803:
Congrats on being mentioned on the Portal :)

Nice Thread. You've sure written a lot!

May i ask how you measure the power / battery drain of your phone?
[G2 Q&A, Help & Troubleshooting] TabletConnect:
Nice post. Finally some info on Alucard. There's very limited info on that.
[G2 Q&A, Help & Troubleshooting] or965:
Excellent explanation

WOW ,very good information ,before I read this I test a lot of governors and hotplugs to see what gives the best performance and I end up using Intelimm and Alucard HP ,now I am sure I choose the correct ones :)

Intelimm is so good governor, all runs smooth ,Alucard HP is the best hotplug ,it gives you a good battery life without compromise the performance .(I am also using sio I/O ,it gives good performance and battery life and it very stable ,zen is good also and gives more performance with a Slightly cost on battery life but its less stable ).
[G2 Q&A, Help & Troubleshooting] Tinchoska:
I think that perfect combo is Alucard hp with ondemandplus.... About I/0, what you think about flops?
[G2 Q&A, Help & Troubleshooting] bloof:
COMPLETE RE-WRITE OF POST 4, RE-WRITE OF POST 3 IN PROGRESS

New material, new just about everything.

If you read them before, come back in1-3 hours to re-read the updates, it is worth it.
[G2 Q&A, Help & Troubleshooting] ramabg:
Do we need high frequency CPU ?

In the current state of the Android apps or games, is there any circumstance that high speed CPU like 2,2 GHz will significantly affect user experience ? What frequency do you think that will give us enough "convenience experience" ?
[G2 Q&A, Help & Troubleshooting] bloof:
First of all thanks for letting me know it was mentioned in the Portal... Didn't know :) (I usually use the app on my phone).

I just discovered your thread, which I have now mentioned somewhere (I can't keep track of my post numbers).

I did not use any measuring/benchmarking techniques. I don't have time, this thread took me 4 days and I should be working instead...

I just started running some quick tests on Vellamo because I like the very quick graphics they make and the quickness of the Single Core test. I find the graphical representations very easy to follow and a nice aide to understanding.

Your thread certainly had a lot more advanced technique for studying governors and hotplugs.

Love the trepnprofiler power drain app (if that's what you used to get cpu state per core!). I have access denied at qualcomm, coul dyou send me the file if it is free?

I personally ranked a lot of what I did from user feedbacks on their settings as well. It is so dependent on what you do with your phone... I also realized that there really aren't many surprises: a governor created for battery will be good for that and one created for performance will be good for that, and if you can't tell the difference in daily use and battery drain then it doesn't matter :)
[G2 Q&A, Help & Troubleshooting] bloof:
I am currently running with 1,497 MHz max on all 4 cores, with a performance governor (zzmove performance) and a good hotplug (zzmove native default).

on my LG G2 I use Darkness on all 4 cores and 1.7 MHz max (sometimes 2.3 on core 0 and another governor, but doesn't really matter) with a battery hotplug (alucard).

So no, I don't think you need those high frequencies. But it really depends on what you like. If you underclock and you have problems (phone wake up takes a while, animations are stuttering, etc) then increase frequency.
[G2 Q&A, Help & Troubleshooting] bloof:
if you are following this, just to let you know:

COMPLETE RE-WRITES OF POSTS 4 and 5, NEW POST 6 with new visuals, new material in post 3.
[G2 Q&A, Help & Troubleshooting] vPro97:
Holy smokes, bloof! That's some insane work right there! No wonder you hit the "Thanks"-jackpot!

I've always had this in mind - I even made a thread called "Guide to kernels and everything", but it never went much further than that. Thanks for this masterpiece, it was much needed and I'm sure people using other phones will benefit from this as well since it contains awesome discoveries. You taught me something (yet again) today :)
[G2 Q&A, Help & Troubleshooting] Saber:
You can update this info now. (Check my website, I've added a better description now) :)
[G2 Q&A, Help & Troubleshooting] bloof:
updated post 5 with dorimax governor pictures.
[G2 Q&A, Help & Troubleshooting] bloof:
updated post 6 with NEW comparison of 2 cores high freq vs 4 cores low freq.
[G2 Q&A, Help & Troubleshooting] Luzard:
the best thread i've ever read about these kind of things, just did read page 1 and im able to experiment my own settings now :)

big thanks to bloof!
[G2 Q&A, Help & Troubleshooting] Jole7:
Amazing thread Man thanks a lot!!!
[G2 Q&A, Help & Troubleshooting] AnkeshReborn:
Such theory,much wau

You've wrote a research bro!

Appreciate your work very very much,all things off!
[G2 Q&A, Help & Troubleshooting] raulx222:
Great and wide guide! And well explained!

[MENTION=6387591]d00lz[/MENTION]

Your guide could save people from bricking their phones :D

You also could add download links for bootloaders of other G2 models :)
[G2 Q&A, Help & Troubleshooting] Closed Force:
Since you asked for feedback, gotta inform you that i'm currently testing one extreme profile and it is acting pretty good for me so far.

Msm hp, 4cores boost, half time (500ms)

4cores ondemand, 1.7 1.2 1.2 1.2

4cores Touchboost 1.4, max duration
[G2 Q&A, Help & Troubleshooting] Jordamo:
How is your battery life? I'm on cloudy g2 2.2 with all 4 cores in 1.7ghz with darkness governor and MSM hp. It seems to be a little battery drainer for me.
[G2 Q&A, Help & Troubleshooting] Closed Force:
So far best i ever had. I'll see with next cycles...
[G2 Q&A, Help & Troubleshooting] TabletConnect:
[MENTION=5929281]bloof[/MENTION] I currently used Dorimanx's kernal. Your posts are great and provided a lot of information as I want to learn about governors and hotplug.

One thing that you did briefly mentioned but want your thoughts on is having different governors for each core. I see people doing different combinations (for example, ondemand on CPU0 & CPU2 and alucard on CPU1 & CPU3. I have mine setup as CPU0: Alucard; CPU1: Alucard; CPU2: Ondemand; CPU3: Ondemand plus have Alucard hotplug.

How does having different governors for each core make a difference? Does it make a difference? Is it best to use one governor for all 4 cores?

Thank you!
[G2 Q&A, Help & Troubleshooting] bloof:
Thanks for reporting. How does it compare to what you were running before?

My "test" setup is more for performance with some battery saving, i just want to find from tests if you can save some battery without sacrificing performance.

But if it creates good battery profiles then that's good too :)
[G2 Q&A, Help & Troubleshooting] bloof:
I am also finding MSM HP is quite draining.

Try with Intelligent HP or even alucard HP.

How's performance (smoothness, lag) and battery?
[G2 Q&A, Help & Troubleshooting] bloof:
The HPs use different cores, for example alucard seems to always go to core1 first then the others. Intelligent HP too. MSM HP seems to go to other cores first.

So if you want to try different governors for different cores make sure you set up according to your HP.

I have seen 2 types of multigov setups:

1. Aggressive gov on core0 (and sometimes core1 too) + less aggressive govs on cores 2/3. I think this is for better UI (less lag, etc).

2. Battery friendly govs on cores 0/1 and more aggressive govs on cores 2/3, with a battery HP (alucard). This is for battery saving with the cpus going to lower freq for quick small tasks and adding more cores which jump quickly to high freq for heavy tasks and finishing them more quickly.

Not sure if they make all that difference. But i personally would not use alucard on all govs for example, i prefer core0 to respond quickly.

I used to use option 1 (intelliactive on core 0 at 1.9 or 2.3 and darkness on cores 1-3 at 1.5). With alucard. I want responsiveness above all else. But i don't see much difference if I switch core0 to Darkness or another quick jumping governor.

Now i am playing around with different settings but since i have 2 phones i don't have that much time to really check.
[G2 Q&A, Help & Troubleshooting] ANKIT RAWAT:
You deserve PHD buddy! nice
[G2 Q&A, Help & Troubleshooting] bloof:
Small update: added some text in post 4 for dorimanx intelligent HP.

Changed done recommendations to try intelligent HP as an alternative to MSM if there is too much battery drain.
[G2 Q&A, Help & Troubleshooting] Jordamo:
I've changed Hp to intelligent and govs to ondemand x2 and alucard x2. Touch boots 2 cores and hp boots dual core too. I don't see the difference.

I think in cloudy stock kernel i had better performance and better battery life. I have been trying differents setups but i don't find the best for me. A little laggy sometimes with more power saving stuffs and a little battery drainer with more performance.