[Q] Implementing OC/UV in a kernel source - T-Mobile, Samsung Galaxy SIII

As I cannot find any related guide while google-ing, I want to post this question on here for the purpose of learning and probably helping other people.
I've been stalking githubs for a while now and pming recognized developers with barely any helpful responses.
I currently took over a kernel for sgs2 but i want to start from scratch for sgs3
from what i seen in githubs is the /arch/arm/mach-msm/apuclock8960.c need modifying and so does cpufreq.c
[Q1] How to overclock a kernel
what files need to be edited ?
is the cpufreq driver related ?
how to determine which frequencies need higher voltage and how high exactly ?
[Q2] Undervolting
what coding is needed to enable this ?
what files need to be edited ?
is the cpufreq driver related ?
how to determine which frequencies can use lowered voltage and how to calculate them ?
I would be very thankful if any developer could teach me (probably others too) and I will contribute back for sure.

Related

[Q] Where to get good info on features in user ROMs and kernels?

I've been running my CDMA GN unlocked and rooted for a couple weeks now, and I think I'm ready to jump into the world of non-stock ROMs and kernels. Of course, there's quite a few of them, and there's a ton of stuff in their descriptions that might not make a lot of sense. For instance, here's a sampling of various lines from "franco.kernel" that might as well be a foreign language to me:
Compiled with the optimized Mjolnir compiler with special cflags
.config tweaks to improve multitasking, responsiveness, battery etc
dirty_writeback values tweaked
Cgroup: speed up access to cgroupfs mounted entries in /proc/mounts
block: strict rq_affinity
TUN and CIFS modules added to /system/modules
3.2-rc7 RCUtree backport from imoseyon
I/O-less dirty throttling - backport from 3.2
Hotplug cpu1 is implemented somewhere else
Click to expand...
Click to collapse
So...first things first: do I need to understand any of this if I'm a user and not a dev, and if so where do I find it? If not, what are some good metrics to help me determine what ROM is closest to what I want? How will I know whether I need a kernel with a ROM or whether it could break something? Note that I'm not really asking for suggestions on specific ROMs or kernels here, since that's pretty much completely subjective. I'm just looking for resources on how and/or where to best educate myself without coming off as bothersome and clueless to the devs if or when I start asking questions.
You typically don't need to understand anything that you can't understand without looking it up. For you only need to read the things that are in plain english not computer speak. In the rom threads you really only need to find a rom that has features you like. None of the kernels out should break anything, and you should be fine just reading the things in Franco's thread such as "improved colors blah blah" if you do want to know something though feel free to PM me and I will try and help
Sent from my Galaxy Nexus using xda premium

[DEV] How to completely remove Power HAL library

https://android.googlesource.com/device/samsung/tuna/+/095e19a54d217474e14fcdf769a0369ef3f4d30c
Reverse engineer this ?
Don't know if this will work but as far as I know it's not required by Jelly Bean?
Is this a good Idea ?
I am currently testing it. See my CM10 thread for the latest nightly to try this. This should fix all overclocking issues hopefully
Source code:
http://review.cyanogenmod.com/#/c/23076/
very good
Very very very good work guy .....
Why do you want to remove the HAL? As soon as it was fixed we didn't have more problems setting the clocks during screen on/off, so I don't see a reason to remove it and in the end it should cause more problems that its worth.
Steve's comment makes me worried:
Why not just make the code a little smarter and detect this stuff automatically?
Soon we will be using boostpulse in many more places in the framework to improve interactivity in ways that can't be done from the kernel alone.
Click to expand...
Click to collapse
Using boostpulse in the framework is NOT smart at all. I think this stuff should be done in the kernel level only. Other devices have other types of code to boost the frequency when it receives a touch event (all kernel level) instead of merging it to the userspace framework.

Teach me to Android

マスター!どのようにコーディングを教え!
So since i couldent find any guides that actualy helped me to do with C, Linux,Android, android kernels , kernel modifying CODING IN C or anything like such... i then decided ill make a thread
Almost all devs i know are strapped for time or just dont have a XS anymore if not that they just ignore me :crying:
So this was originaly posted by our Well known RaymanFX and it seems his questions are exactly what i want to ask
[Q1] How to overclock a kernel
which files are needed -> kernel source
what files need to be edited ?
is the cpufreq driver related ?
how to determine which frequencies need higher voltage and how high exactly ?
[Q2] Undervolting
which files are needed -> kernel source ..
what files need to be edited
is the cpufreq driver related
how to determine which frequencies can use lowered voltage and how to calculate them ?
#ifdef not RaymanFX's Questions
[Q3] how to overlock your GPU
which files are neeeded
what files need to be edited
what determines your GPU voltages/clocks
how to determine what your hardware can handle
[Q4] how to add features like fastcharge
What files i need
what files need to be edited
where are great places to learn about sutch things
[Q5 Addapting
adding features from other kernels may work but if they dont then how will i addapt them to work (wide horizon to cover but lets use display drivers for an example)
if not adding features, lets say Porting 4.4 from Sony Xperia ZU (which is a nightmare for devs (or so says one of the many gods of developing we know as letama) couldent we just use most of the coding for the drivers which was officialy release by sony?
(in short, could we use drivers from our (SXS(L)4.1.2 to port 4.4 from ZU)
If we were to use drivers from official firmware to use on a unofficial firmware, what would we have to do for them to actualy work with the firmware that we are porting
#endif
- i know some tiny bits of this already from playing around with ForzaFerrarileo and DooMLorD's Kernel Source (only enough to fix the smallest of problems)
Envious_Data said:
マスター!どのようにコーディングを教え!
So since i couldent find any guides that actualy helped me to do with C, Linux,Android, android kernels , kernel modifying CODING IN C or anything like such... i then decided ill make a thread
Almost all devs i know are strapped for time or just dont have a XS anymore if not that they just ignore me :crying:
So this was originaly posted by our Well known RaymanFX and it seems his questions are exactly what i want to ask
[Q1] How to overclock a kernel
which files are needed -> kernel source
what files need to be edited ?
is the cpufreq driver related ?
how to determine which frequencies need higher voltage and how high exactly ?
[Q2] Undervolting
which files are needed -> kernel source ..
what files need to be edited
is the cpufreq driver related
how to determine which frequencies can use lowered voltage and how to calculate them ?
#ifdef not RaymanFX's Questions
[Q3] how to overlock your GPU
which files are neeeded
what files need to be edited
what determines your GPU voltages/clocks
how to determine what your hardware can handle
[Q4] how to add features like fastcharge
What files i need
what files need to be edited
where are great places to learn about sutch things
[Q5 Addapting
adding features from other kernels may work but if they dont then how will i addapt them to work (wide horizon to cover but lets use display drivers for an example)
if not adding features, lets say Porting 4.4 from Sony Xperia ZU (which is a nightmare for devs (or so says one of the many gods of developing we know as letama) couldent we just use most of the coding for the drivers which was officialy release by sony?
(in short, could we use drivers from our (SXS(L)4.1.2 to port 4.4 from ZU)
If we were to use drivers from official firmware to use on a unofficial firmware, what would we have to do for them to actualy work with the firmware that we are porting
#endif
- i know some tiny bits of this already from playing around with ForzaFerrarileo and DooMLorD's Kernel Source (only enough to fix the smallest of problems)
Click to expand...
Click to collapse
Cannot answer all of your questions but i'll try to answer as many as i currently know
Every device is specific but some parts are same..For example i'll take Xperia S as an example..
Q1..
For overclocking you need. acpuclock-8x60.c for xperia S. You will find it under kernel/arch/arm/mach-msm/
You will find a few lines defined under the structure struct clkctl_acpu_speed
so lets say you wish to add frequency 1782000...
based on the pattern add:{ {1, 1}, 1782000, ACPU_SCPLL, 0, 0, 1, 0x21, L2(22), 1325000, 0x03006000},(you will recognize the pattern from the lines in the file itself.
that is just an example of changes to one line. There are many more to edit. A good place to start would be to study someone else's OC kernel's features. You can study his/her github source to see the changes added for overclocking.
is the cpufreq driver related??: Didnt understand your question. technically you can add OC to any device. Only point is if the board gets heated up badly, it will shut down. Not burn itself to death. So there is a limit to how much u can overclock a processor..Try increasing step by step and then test. If board gets heated up to the point of shutdown, you will know ur processor's limit.
higher frequencies would require a higher voltage if performance is concerned. One suggestion here is to to give a 25 V increase per line of freq you add. What you might be asking is undervolting. What if your cpu is running at a higher freq and if u give it less voltage.right? In such scenarios your phone will be at a medium state. Where it is giving a minor compromise in performance to save battery. Giving high voltage with high freq will give you the best performance but at the cost of your battery.
Q2] three files(xperia s)
avs.h,board_semc_fuji.c
vreg-fuji_nozomi.c all under mach-msm folder
which freq and use less voltage...any freq can use less voltage. you give it less voltage and cpu wont perform as well as it would if you give it more voltage. udervolting is added so that you can have a minor compromise in performance to save ur battery. Eg: you are OCing your device at 1.8 Ghz. now you give it 1.3 V...It is running very very fast with a lot of battery drain. Now you undervolt it. you give it 0.8 V..Processor doesn't run as fast as 1.8 GHZ should run but still faster than normal but your battery is preserved.
Q3] I have forgotten totally,sorry. But i had studied Doomlord's kernel sources to find out about GPU. It would be a good place for you to start as well
Q4 and Q5] I have vague knowledge about these so wont be able to help you much. By porting do you mean porting some kernel modules from a different device to your kernel??
ty, i cant realy work off of a notepad for ever
ill look into playing with things more
i know what to do for porting lets say 4.4 from the default device but not how
Sent from my LT26i using XDA Premium 4 mobile app
Envious_Data said:
ty, i cant realy work off of a notepad for ever
ill look into playing with things more
i know what to do for porting lets say 4.4 from the default device but not how
Sent from my LT26i using XDA Premium 4 mobile app
Click to expand...
Click to collapse
haha..true..Try installing virtualbox and install ubuntu...you'll learn way faster how a linux kernel based OS just like android works...
Dark Wraith said:
haha..true..Try installing virtualbox and install ubuntu...you'll learn way faster how a linux kernel based OS just like android works...
Click to expand...
Click to collapse
i allready have ubuntu
not virtualbox
i have been playing with kernels and compiling, i am able to get around some issues
same goes with my aosp 4.4 build, it boots but crashes when certain graphic modes are needed (aka openGL based games)
takes on avarage about 32hours to compile on a normal day (if im lucky 17hours)
Sent from my LT26i using XDA Premium 4 mobile app
Envious_Data said:
i allready have ubuntu
not virtualbox
i have been playing with kernels and compiling, i am able to get around some issues
same goes with my aosp 4.4 build, it boots but crashes when certain graphic modes are needed (aka openGL based games)
takes on avarage about 32hours to compile on a normal day (if im lucky 17hours)
Sent from my LT26i using XDA Premium 4 mobile app
Click to expand...
Click to collapse
hehe...takes me 2days and crashes half the time.....(on a 512 mb ram stupid laptop)
Dark Wraith said:
hehe...takes me 2days and crashes half the time.....(on a 512 mb ram stupid laptop)
Click to expand...
Click to collapse
i got 4gb but my harddrive slows down and then it just starts messsing up
got a bug where mount ntfs starts generating errors and causes its self to use 99% of my cpu
so compiling can take estimated upto a week
also a laptop
Sent from my Xperia S using XDA Premium 4 mobile app

[KERNEL][BETA/TEST][CM12][1/12/15] E980 Kernel+ V0.8.1

E980 Kernel+​
***I am not responsible for you bricking your device or causing any other unwanted outcomes to your device. Be careful and smart. If you don't know what you're doing you probably shouldn't be flashing this.***
This is the E980 Kernel+​The end goal here is to have a kernel with more features and potentially much better battery life. I can only guarantee it will work on E980, not sure if it will work on other devices. I also do not know what ROMs it will work on. That is up to you to share. Rule of thumb is, if it's CyanogenMod, it'll work.
Suported Devices:
E980
E988
***If you are interested in building your ROM with my kernel, you have my permission to do so. However, if you could just let me know, that'd be nice. Also a credit would be appreciated but is not necessary either.***
DOWNLOAD​[11/12/14]: E980Kernel+V0.7.3.4: http://goo.gl/yMqgrP
[11/12/14]: E980Kernel+V0.7.3.3: http://goo.gl/eUfbQY
[10/11/14] E980Kernel+V0.6: http://goo.gl/XvQg7Z
[9/29/14] E980Kernel+V0.5: http://goo.gl/tJ9JGs
[9/23/14] E980Kernel+V0.4: http://goo.gl/cxphLB
[9/15/14] E980Kernel+V0.3.1: http://goo.gl/vtmnRR
Original Kernel: https://drive.google.com/file/d/0BxhkPfIzMhriQ0pqdGN0TnFDb2c/edit?usp=sharing
CHANGES​[11/12/14] V0.7.3.4:
Removed Undervolting
Removed GPU Tweaks
No more (or at least a lot less) random reboots
[11/12/14] V0.7.3.3:
Added Intelli-Plug V3.8
Added Intelli-Thermal
Added Undervolting
Tweaked GPU a little (more to come later)
Updated Intellidemand to V5
***If you are experiencing reboots upon setting CPU governors, set the voltage higher on your CPU thru Trickster or similar Kernel Settings App!***
[10/11/14] V0.6:
Compiled with Linaro (Should notice some minor performance improvements)
Other minor changes
[9/29/14] V0.5:
Added I/O Schedulers:
SIO, VR, Zen
Fixed Faux
Updated Faux Drivers to V3
[9/23/14] V0.4:
Removed Governors:
SmartassV2, Hyper (Only in config, they are still in source)
Added Faux Sound Controls (Thanks to Faux123 for his work)
Updated to CM11 Nightly 9/23/14 boot.img
[9/15/14] V0.3.1:
Added Governors
Dancedance, Intellidemand, SmartassV2, Hyper. (Hyper seems to be buggy, same with SmartassV2)
Added TCP Congestion Control
Westwood, Highspeed, Hybla, Htcp, Vegas, Veno, Scalable, Lp, Yeah, Illinois.
Flashing Instructions:​Make sure you use Mack's TWRP or Gummy CWM.
Flash a supported ROM
Flash E980 Kernel+
Wipe Cache & Dalvik
I highly suggest you are rooted and busybox'd.
Note: If flashing fails and you are on a CM11 ROM, you may want to try flashing original kernel or earlier version before reflashing your ROM or clean installing.
To-Do List:
-Faux Sound - Done.
-Governors/IO schedulers - Done.
-More TCP congestion controllers - Done.
-Replacement for Qualcomm's MP-Decision (Intelli-Plug) - Done.
-Support for actual GPU underclocking (Maybe save battery since it always runs at top freq when it doesn't have to.) - In the works.
-Support for undervolting - Removed for now.
-Lower clock speeds than 384 MHz
-Higher clock speeds than 1728 MHz
-Intelli-Thermal - Done.
-Fast Charge - Soon.
-Battery Life eXtender - Soon.
-Knock On/DT2W (May not add due to battery drain issue that comes with)
-Keyboard USB support
-Linaro Performance Toolchain - Done.
-Support for F240 - In the works.
-Anything else?
***Make note I do not know if I can implement all of these but I will try my best***
Source: https://github.com/Snepsts/kernel_e980
Toolchain: https://github.com/Snepsts/linaro4.7gcc
HOW TO BUILD​
At this point if anybody wants to try out the kernel before I make releases, you are free to compile it yourself. I would like to ask that you do not share compilations just because I like to track how many people download and use the kernel through my goo.gl links and the afh download counter. I don't like it when people rehost my kernel since it gives me misguided numbers on how many people are following my work. It's just personal though, I'm not going to stop you. I just like it because it gives me an idea of how many people are using my work and kind of makes me want to keep working on it since I know how many people still use it.
Anyways, I'll leave instructions to compile right here:
This is assuming you're using a Linux distro (VM or not, has to be 64-bit) Pretty much everybody recommends Ubuntu, and that's fine, but if you want my suggestion Mint runs like a dream. Anyways to building!
You'll need to get the required packages. I forget these off the top of my head, but they're something like this:
Code:
sudo apt-get install -y build-essential kernel-package libncurses5-dev bzip2 abootimg
There might be more, idk. This should get you through the build. Let me know if there's anything else.
Next we'll make a directory and grab the sources.
Go to your main directory to store the android folder in (for tidiness sake), if you have a preference you can do this differently. If you're not sure what you're doing here, just go from where you are (should be your main dir):
Code:
mkdir android
cd ~/android
git clone https://github.com/Snepsts/kernel_e980.git
This might take a while... when it's done you should have a folder called "kernel_e980" in your android directory.
While we're downloading, go get the latest M build or the latest nightly of CyanogenMod: https://download.cyanogenmod.org/?device=e980
This will be useful later.
Now we go grab a toolchain. My favorite is this one: http://www.mediafire.com/?x7lgbeprpg8gn choose the cortex A-15 one. Untar it and move the folder wherever you like. I suggest the android folder to follow the rest of the guide.
Code:
cd ~/Downloads
tar -xvf arm-cortex_a15-linux-gnueabihf-linaro_4.7.4-2014.06-build_2014_09_13.tar.xz
Now move this folder through the GUI (Graphical User Interface), much easier than more commands imo.
Now rename the folder toolchain, just because it's easier.
Now we're ready to build. The username is whatever your Linux username is.
Code:
cd ~/android/kernel_e980
export ARCH=arm
export CROSS_COMPILE=/home/username/android/toolchain/bin/arm-cortex_A15-linux-gnueabihf-
make cyanogenmod_e980_defconfig
All ready to go
One last thing, before you make it, if you are a little more advanced and need to toggle something or do anything else, use:
Code:
make menuconfig
You probably don't need that.
The # means the amount of cores in your computer's processor +1. For example, my Linux virtual machine has 4 cores allocated to it, so I assign it -j5. Now to make the kernel:
Code:
make -j#
And watch the words flyyyyy.
If anything fails, double check you didn't mess up. Also, the current Github build is never guaranteed to succeed.
Once the build is completed, you should see something like:
zImage is created!
Or something. Now go to your Downloads and get the boot.img out of the CyanogenMod build whatever way you wish to.
We'll leave it in the Downloads folder for the sake of the guide:
Code:
cd ~/Downloads
abootimg -x boot.img
Now you should have a zImage, intrid.img, and a bootimg.cfg. Ignore the zImage, move the intrid.img and bootimg.cfg to the ~/android/kernel_e980/arch/arm/boot folder.
Now we finish the kernel:
Code:
cd ~/android/kernel_e980/arch/arm/boot
abootimg --create boot.img -f bootimg.cfg -k zImage -r intrid.img
Done! Your kernel will be the boot.img file.
Replace a current kernel.zip's boot.img with this one, you can use any of the E980Kernel+ .zip folders for this. Just remove the boot.img in that one then put yours in it. I always upload my kernel to Gdrive and then download it to my phone to flash. But whatever you wanna do from here is fine.
And now you have the latest version of E980Kernel+ Unofficial. Yay you!
Click to expand...
Click to collapse
XDA:DevDB Information
E980 Kernel+, Kernel for the LG Optimus G Pro
Contributors
Snepsts
Source Code: https://github.com/Snepsts/kernel_e980
Kernel Special Features: Faux Sound, CPU Governors, TCP Congestion Controllers, I/O Schedulers, Intelli-Plug/Intelli-Thermal
Version Information
Status: Beta
Current Stable Version: V0.7.3.4
Stable Release Date: 2014-11-12
Current Beta Version: V0.8.1 TEST
Beta Release Date: 2015-1-12
Created 2014-10-19
Last Updated 2015-1-12
About E980 Kernel+
In this post we will go over some of the things in this kernel and shed some light on what they do... Let me know if you have any information to contribute or anything else
Intelli-Plug
Intelli-Plug is developed and updated by Faux123.
Intelli-Plug is a hot plug replacement for Qualcomm's proprietary MP-Decision. MP-Decision essentially decides the final factor on clock speeds, when cores go offline, how long they go offline, and they generally manage your CPU. There is a lot of discussion over whether or not Qualcomm's solution to hot plugging is efficient or not. Intelli-Plug is an open-source and updated version of MP-Decision in which anybody can contribute to and improve. It uses different methods for arguably better performance and better battery life. The current version used is optimized for MSM-8960 chipsets (like ours). It is updated and even offers convenient profiles to optimize battery life, performance, balance the two, or do a little between each option. Some of the profiles allow an eco-mode like experience. Eco-mode is a depreciated feature of Intelli-Plug that turned a quad-core processor into a dual-core, effectively optimizing the processor to run like a dual-core and save more battery power. In order to toggle the profiles option without paying 5 dollars for the Faux Clock app, you may use a root explorer (like ES File Explorer), go to sys/module/intelli-plug/parameters/nr_run_profile_sel and input a number anywhere between 0-5.
I prefer this option ON and do not currently have a profile preference. In my experience it improves the overall device (performance/battery life) with no noticeable drawbacks.
Intelli-Thermal
Intelli-Thermal is developed and updated by Faux123.
Intelli-Thermal is a thermal replacement to Qualcomm's proprietary thermal solutions. It is open-source and anybody can contribute to it. It has optimized thermal performance and is arguably more efficient than stock thermal settings. In addition to being an open-source and updated module, Intelli-Thermal offers customization such as: personal selection of cores to throttle at a self-determined value, and a similar selection for cores to offline (minus core 0, since it must be online at all times). Intelli-Thermal allows you to set your own rules (do not set the limit too high) and thermal values are in Celsius.
I prefer this option ON, and set Frequency Throttle Limit to 70 C, Core Offline Limit to 65 C, enable all cores for Frequency Throttling Cores, and enable Cores 2 & 3 for Offline Cores. Rarely do I ever experience heat, and if so it is very minimal. The device may lag or get hot depending on your settings, so please be careful or mindful of what you set. This works better on some ROMs than others.
*** Personal Note: These two are of my favorites because they are optimized and make for a better experience with little to no performance drops. This is just my preference, and it can be chosen to follow as a guideline by your discretion. ***
Multi-Core Power Saving
This is a normal kernel feature.
Multi-Core Power Saving is a basic feature that, depending on the profile selection, groups tasks to a certain amount of cores. 0 is off, so the device runs as normal. 1 is on, and will try to group tasks into single cores or multiple cores at lower frequencies to save power, but will not force it. 2 is aggressive, and depending on the user, may find that this causes a little more lag as the phone really hates using any extra CPU juice for anything, processes may be clustered and slowed down from this, but battery life is also the best at 2.
I prefer this option set to 1, as it has no noticeable lag and seems to still optimize the battery a little more. This option varies from user to user.
Faux Sound Control
Faux Sound Control is developed and updated by Faux123.
Faux Sound Control is a custom feature that enables sound manipulation on the kernel level. This feature will allow you to modify the gain (Make sound louder at the potential cost of music quality or lower for ear protection) and other various settings from a kernel level. This is completely user preference and will vary from user to user.
Intelli-Demand CPU Governor
Intelli-Demand CPU Governor is yet another feature developed and updated by Faux123.
Intelli-Demand means Intelligent On Demand. On Demand is a kernel CPU Governor that comes as the stock setting for most phones. But it tends to be a little less than optimized and such results in sub-par battery life. Intelli-Demand is a tweaked version by Faux that will allow for similar performance and better battery life. It is also popular for gaming as when the GPU 3D load gets heavy it will perform like On Demand as not to interfere with game loads.
This is my current preferred CPU Gov as it has never given me problems and works like a charm.
I/O Scheduling
I/O Schedulers are different ways of controlling the input/output stream of information in with the memory of a phone. These generally do not vary too much in performance or battery-life but everybody seems to have a preferred one. I don't have a favorite and switch between noop, row, and zen from time to time again.
My only preferred setting here is setting the read-ahead buffer to 4096, as it increases speed and performance without any real hit to the battery.
TCP Congestion Control
I am not very well versed in TCP protocol or anything in the sort, but this basically controls how your phone interacts with Wifi/Data packets.
My preference (and, from what I've read, the general consensus) points to the Westwood TCP Congestion Controller. Never had any problems with it, too lazy to benchmark them.
I will add more later, and as I add features to the kernel, I will add explanations! Also, I plan on buying the Faux Clock app soon simply to figure out which profile is which (since the information is nowhere to be found) and then I'll return it and report the numbers back here. Also, whenever Cyanogen decides we're ready for CM12 official, the kernel will be ready for CM12 too. Please bear in mind that I hate updating and am not one with the Github (nor do I have time to learn about Github). Cheers! :good:
GOOD JOB:good::good::good:
And a little cpu overclock like 2ghz plzzzz ^^
Is it possible that you can create a kernel for F240?
Name... Hmmm
2SHAYNEZ
MitoTakatori said:
Is it possible that you can create a kernel for F240?
Click to expand...
Click to collapse
Hmmm... You posted the kernel for F240 to be compatible with E980 CM11 ROMs... right? If you can give me source for that I can try and add the same things to it as I am the e980. But I am by no means a dev or anything.
Snepsts said:
Hmmm... You posted the kernel for F240 to be compatible with E980 CM11 ROMs... right? If you can give me source for that I can try and add the same things to it as I am the e980. But I am by no means a dev or anything.
Click to expand...
Click to collapse
Nice. I will check the source then pinpoint it to you. Thanks in advance.
MitoTakatori said:
Nice. I will check the source then pinpoint it to you. Thanks in advance.
Click to expand...
Click to collapse
I hope I am able to deliver a kernel to you. By the way, what is the difference between F240 and E980/E988? I know E988 is international. Is F240 Viet or something? And what are hardware differences?
Snepsts said:
I hope I am able to deliver a kernel to you. By the way, what is the difference between F240 and E980/E988? I know E988 is international. Is F240 Viet or something? And what are hardware differences?
Click to expand...
Click to collapse
That's a good question... But u did build this on vmware? What steps did u take?
Snepsts said:
I hope I am able to deliver a kernel to you. By the way, what is the difference between F240 and E980/E988? I know E988 is international. Is F240 Viet or something? And what are hardware differences?
Click to expand...
Click to collapse
F240 is korean. I really don't know the exact difference between the E98x variants and the F240x. Maybe some kernel thingy.
bountyman334 said:
That's a good question... But u did build this on vmware? What steps did u take?
Click to expand...
Click to collapse
Yes. VMware using Linux Mint 64-bit. My main machine is a Windows 7 with AMD FX-6350 (3.9 GHz) and 8 GB of RAM.
Here, read the guide mukwing gave me in this thread: http://forum.xda-developers.com/optimus-g-pro/general/making-cm11-0-kernel-e980-t2870820
That should be everything you need. Props to him he knows what he's doing!
MitoTakatori said:
F240 is korean. I really don't know the exact difference between the E98x variants and the F240x. Maybe some kernel thingy.
Click to expand...
Click to collapse
I do believe there are some slight hardware differences which is what I read. I'm guessing the kernel you posted tells it to emulate an e980 somehow with the hardware. Maybe do something a little different to behave like e980. I don't really know though, that's just my guess. But yes I'll totally give it a shot if you can give me source.
Name it "Spartan" kernel or "Taco" kernel ?
2SHAYNEZ
shayneflashindaily said:
Name it "Spartan" kernel or "Taco" kernel ?
2SHAYNEZ
Click to expand...
Click to collapse
Is the Taco kernel a reference to the flashaholic thread?
I like Spartan kernel though...
I was thinking of something like the "Ignis" kernel. Ignis is Latin for flame. Or maybe "Phoenix" kernel.
Knock on/double tap to wake please
Just tried to add some governors. Picked them right off of another kernel... I also copied and pasted the kconfig, makefile, and cpufreq.h files hoping that it would be the same... didn't work. Haha, guess I'll try typing in the config stuff myself and see where that gets me.
Adding features is the most headache things haha.
The commits from other device's kernel always not so compatible with e980 kernel.
Even commits from similar device's kernel like oppo n1 or G Pad 8.3 i still can't sucessfully incorporate them.
Without knowledge of programming, hard to find out what's wrong in the code.......
BTW, i have compiled a TWRP which can mount/read/write to F2FS formatted sdcard. But it lack the ability to format the sdcard to F2FS, need to do it in linux.(i am not sharing it because it still have chance of recovery bootloop)
mukwing said:
Adding features is the most headache things haha.
The commits from other device's kernel always not so compatible with e980 kernel.
Even commits from similar device's kernel like oppo n1 or G Pad 8.3 i still can't sucessfully incorporate them.
Without knowledge of programming, hard to find out what's wrong in the code.......
BTW, i have compiled a TWRP which can mount/read/write to F2FS formatted sdcard. But it lack the ability to format the sdcard to F2FS, need to do it in linux.(i am not sharing it because it still have chance of recovery bootloop)
Click to expand...
Click to collapse
Wow really? Damn I would have thought for sure HTC One kernels would have some similarity (Since we have identical processors).
Guess I'm learning C. I've actually made sense out of some of the programming already, but it's gonna be a ***** to get working. Thanks for the info though.
Good if you know programming language!
Waiting your kernel
But i will stay with stock lg for a while, haha.
Running this with acid and its running great, lost 2% between 11pm-6 in deepsleep:beer:
Sent from my LG-E980 using XDA Free mobile app
Snepsts said:
Is the Taco kernel a reference to the flashaholic thread?
I like Spartan kernel though...
I was thinking of something like the "Ignis" kernel. Ignis is Latin for flame. Or maybe "Phoenix" kernel.
Click to expand...
Click to collapse
Lol love tacos .... How about "La flama Blanca" The white flame lol .. Jk
2SHAYNEZ

Sched 2?

I think somebody in another thread mentioned that there was an alternative to the sched governor which I think was called sched 2.. Could someone who uses this profile (please correct me if I got the name wrong) let me know how this profile differs from sched and what kernel offers it?
I believe the name is Schedutil, and there is some discussion in THIS thread I believe.
You might be right but I'm reluctant to use this kernel since the dev says he is an amateur and gives the names of the custom profiles he created but doesn't say what any of them are supposed to do. I was hoping the alternative governor was available on a different kernel than this one. I should probably read through the thread. Maybe there is more info there. Thanks for replying.

Categories

Resources