Possible to overclock the P8000? - Elephone P8000

pretty much as the title.
i dont like the 1.3ghz clock speed and would like to change it to 1.5, tried SetCPU but it couldnt change anything.
so anyone got a way that works?

For this to work, we would need to compile a new kernel with added frequencies and voltages. But from what I've read this is not so simple on MTK devices.
Skickat från min Elephone P8000 via Tapatalk

Yes, overclocking is pretty hard on MTK kernels. sometimes even when you successfuly up the voltages and clocks and it shows on userspace too (cpu-z etc.) it still works at older freqs under the hood.

pitrus- said:
For this to work, we would need to compile a new kernel with added frequencies and voltages. But from what I've read this is not so simple on MTK devices.
Skickat från min Elephone P8000 via Tapatalk
Click to expand...
Click to collapse
It would be the only way to turn the weak MT6753 into the much more powerful MT6752 (overclocking from 1.3GHz to 1.7Ghz) though... If a kernel dev is ever to concern himself with this device ... it would be very interesting indeed...

Stevethegreat said:
It would be the only way to turn the weak MT6753 into the much more powerful MT6752 (overclocking from 1.3GHz to 1.7Ghz) though... If a kernel dev is ever to concern himself with this device ... it would be very interesting indeed...
Click to expand...
Click to collapse
As far as I can see
#define CPU_DVFS_FREQ0 (1495000) /* KHz */
#define CPU_DVFS_FREQ1 (1300000) /* KHz */
#define CPU_DVFS_FREQ2 (1235000) /* KHz */
#define CPU_DVFS_FREQ3 (1170000) /* KHz */
#define CPU_DVFS_FREQ3_1 (1144000) /* KHz (for 6753 FY)*/
#define CPU_DVFS_FREQ4 (1040000) /* KHz */
#define CPU_DVFS_FREQ5 (819000) /* KHz */
#define CPU_DVFS_FREQ6 (598000) /* KHz */
#define CPU_DVFS_FREQ7 (442000) /* KHz */
#define CPU_DVFS_FREQ8 (299000) /* KHz */
1,5 Ghz shouldn't be a problem. As soon as I get CWM running (it actually already compiles but I'm still facing some issues) I'll start working on CM and on a custom kernel.

BlueFlame4 said:
As far as I can see
#define CPU_DVFS_FREQ0 (1495000) /* KHz */
#define CPU_DVFS_FREQ1 (1300000) /* KHz */
#define CPU_DVFS_FREQ2 (1235000) /* KHz */
#define CPU_DVFS_FREQ3 (1170000) /* KHz */
#define CPU_DVFS_FREQ3_1 (1144000) /* KHz (for 6753 FY)*/
#define CPU_DVFS_FREQ4 (1040000) /* KHz */
#define CPU_DVFS_FREQ5 (819000) /* KHz */
#define CPU_DVFS_FREQ6 (598000) /* KHz */
#define CPU_DVFS_FREQ7 (442000) /* KHz */
#define CPU_DVFS_FREQ8 (299000) /* KHz */
1,5 Ghz shouldn't be a problem. As soon as I get CWM running (it actually already compiles but I'm still facing some issues) I'll start working on CM and on a custom kernel.
Click to expand...
Click to collapse
Great! i follow!
Inviato dal mio ZP998 utilizzando Tapatalk

1.5ghz is, originally, a default frequency already present in kernel which only was cut off by elephone, so it shouldn't be a real problem to re-enable it
viel erfolg, blueflame4

seadersn said:
1.5ghz is, originally, a default frequency already present in kernel which only was cut off by elephone, so it shouldn't be a real problem to re-enable it
viel erfolg, blueflame4
Click to expand...
Click to collapse
Finally!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And you know what? It was just a motherf typo that screwed my Board Config!

yay!! everything working (for recovery), incl. adb support?? nice, just nice respect and thx
ahh, "it are the small things in life"

seadersn said:
yay!! everything working (for recovery), incl. adb support?? nice, just nice respect and thx
ahh, "it are the small things in life"
Click to expand...
Click to collapse
Thanks! ADB works as well as all keys. Mountpoints are not created yet but that's easy to fix.
If everything goes well I'm sure I can release tomorrow!
Luckily the SoC supports fastboot so it's a breeze to test new builds.

BlueFlame4 said:
Thanks! ADB works as well as all keys. Mountpoints are not created yet but that's easy to fix.
If everything goes well I'm sure I can release tomorrow!
Luckily the SoC supports fastboot so it's a breeze to test new builds.
Click to expand...
Click to collapse
Question: wouldn't it have been easier/faster to use the CWM offered on Elephone forums?

sure, but it's an stone age old version. it's always good to have options and a choice.
where would we be when there wouldn't be people like him, giving their valuable time for developing new stuff, for others?

Stevethegreat said:
Question: wouldn't it have been easier/faster to use the CWM offered on Elephone forums?
Click to expand...
Click to collapse
My ultimate goal is to compile a fully working CM12.1 from source and in order to do that I have to configure the device tree properly. CWM is more or less just a by-product and not the end result.
BTW feel free to contribute if you have spare time! https://github.com/visi0nary/android_device_alps_k05ts_a

seadersn said:
sure, but it's an stone age old version. it's always good to have options and a choice.
where would we be when there wouldn't be people like him, giving their valuable time for developing new stuff, for others?
Click to expand...
Click to collapse
Yeah I understand that point. I mostly asked of it as a way to save time. Still I'm glad that there are people working on it.
@BlueFlame4 : Thanks for posting the device tree, always useful to have it public so that many can contribute.

Hi, guys!
Any news on this? Could anyone do it?
I was really excited with the possibility of overclocking the P8000, however, I am not familiar on how to develop such things...
Thanks.

Rizera said:
Hi, guys!
Any news on this? Could anyone do it?
I was really excited with the possibility of overclocking the P8000, however, I am not familiar on how to develop such things...
Thanks.
Click to expand...
Click to collapse
I'd call this perfect timing. There are news but not (yet) regarding overclocking. My CM build just compiled without errors. I'm still using the precompiled kernel though and will flash it when I'm home tonight. Don't want to give out ETAs though. So if it boots, I'll make the kernel build from source as well but I don't expect it to boot to be honest since this is the very first build
Edit: Well, it doesn't boot but I have an idea what might be the problem...
Edit2: Okay, I fixed some errors but it still doesn't boot. Gonna look into it within the next days. Good night

Good luck and we'll be following your progress!

charliepie said:
Good luck and we'll be following your progress!
Click to expand...
Click to collapse
Thanks, it's always a pleasure to get feedback!

BlueFlame4 said:
I'd call this perfect timing. There are news but not (yet) regarding overclocking. My CM build just compiled without errors. I'm still using the precompiled kernel though and will flash it when I'm home tonight. Don't want to give out ETAs though. So if it boots, I'll make the kernel build from source as well but I don't expect it to boot to be honest since this is the very first build
Edit: Well, it doesn't boot but I have an idea what might be the problem...
Edit2: Okay, I fixed some errors but it still doesn't boot. Gonna look into it within the next days. Good night
Click to expand...
Click to collapse
Are you able to activate touch at Kernel to use touch recovery? Nice to hear that you are working on cyanogen mod good luck!

mark2410 said:
pretty much as the title.
i dont like the 1.3ghz clock speed and would like to change it to 1.5, tried SetCPU but it couldnt change anything.
so anyone got a way that works?
Click to expand...
Click to collapse
http://forum.xda-developers.com/ele...ernel-visi0narys-kernel-t3226081/post63318857 :highfive:
alfredxyz said:
Are you able to activate touch at Kernel to use touch recovery? Nice to hear that you are working on cyanogen mod good luck!
Click to expand...
Click to collapse
Will have a look at it soon.

Related

[ROM][2.3.7] Androm Aurora B

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Androm Mod is adept the concept of free development, community, distributing custom firmware Android 2.3 (Gingerbread) and 4.0.4 (Ice Cream Sandwich), which is designed to increase performance and reliability over stock Android for your device.
Disclaimer:
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards;
* Third World War, or you getting fired because the alarm app failed. Please;
* Do some research if you have any concerns about features included in this ROM;
* Before flashing it! YOU are choosing to make these modifications, and if;
*
* Do not blame me if your glucose level increase.
Androm Mod is based on the code itself, known as "Aurora" and that CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community.
Click to expand...
Click to collapse
Project:
The 5th generation of the best-known CM7 roms from Brazil are back with full force and with the new interface, after a long time. The new generation of Androm was compiled from official sources, along with the addition of code satisfactory performance B. Aurora, consumption of ram very good, excellent battery life, and a performance and amazing 3D Gl 2.0.
Features:
Source code updated
Scripts in the source code for better battery and ram consumption
MegaBassBeats
SmartCache
Lightweight and functional
Aurora UI updated
Good consumption ram
Good gaming performance
We do not give any support if you:
Not using the stock kernel CyanogenMod
Do not use the default applications system (launcher etc.)
Have installed other mods / Tweaks
Have file system modified
Before posting a problem, you should:
Check out the posts below for a solution / fix;
Read the last 10 pages of this topic for a post with a similar problem;
Flash the rom again, without forgetting the wipes, check if the bug is still there;
If still persists, notify, and stay tuned for future updates on the topic.
Suport blog: http://ultraconnect.blogspot.com.br/2013/01/atualizado-rom-p350-androm-x52-aurora-b.html
Download : X5.4_AuroraB_Final
Gapps : Androm Gapps
Junior, i posted on Ultra and i'm posting here again: Aurora UI is the very same theme as Open Pecan. But themes cannot hide your work, so good job. Sometime i tested Androm 4.2 and battery was worse that CM9. It's better here?
DarkRising said:
Junior, i posted on Ultra and i'm posting here again: Aurora UI is the very same theme as Open Pecan. But themes cannot hide your work, so good job. Sometime i tested Androm 4.2 and battery was worse that CM9. It's better here?
Click to expand...
Click to collapse
Hi man, The open Pecan and Aurora Ui were based in Theme Retro Plus, Yes, it's much better battery perfonce. Thanks!
How much 3d and 2d you get on this rom ?
Sent from my LG-P350 using Tapatalk
good job,this rom is better than cm7 official for gaming but dont beat oxygen
z1k4 said:
How much 3d and 2d you get on this rom ?
Sent from my LG-P350 using Tapatalk
Click to expand...
Click to collapse
I even hit 566 in 2D and 3383 in 3D on normal clock. 245~600 Mhz.
signalfire said:
good job,this rom is better than cm7 official for gaming but dont beat oxygen
Click to expand...
Click to collapse
Thanks friend, it's almost impossible to hit Oxygen in gaming performance. lol
jrgouveia said:
Thanks friend, it's almost impossible to hit Oxygen in gaming performance. lol
Click to expand...
Click to collapse
lol thank you
Bluetooth
Is there a bluetooth fix?
mitchperry said:
Is there a bluetooth fix?
Click to expand...
Click to collapse
The bluetooth is working properly, friend.
jrgouveia said:
The bluetooth is working properly, friend.
Click to expand...
Click to collapse
thanks for rom jrgouveia, this rom is one of best rom i have tried ,smooth,much free ram ,awesome gaming only lose oxygen rom,but have bug is video zoom doent work,notification is hide by background because u make its transparent,finally i think original theme is ugly .
jrgouveia said:
I even hit 566 in 2D and 3383 in 3D on normal clock. 245~600 Mhz.
Click to expand...
Click to collapse
good work but the result you gave is really very funny and horrible thing ever that 3383 in 3d ....... the most users reached over 900 and you reached out my desktop graphics lollllzzzzz ( equaling to my pc or what ? lolzz )
just kidding
venkat kamesh said:
good work but the result you gave is really very funny and horrible thing ever that 3383 in 3d ....... the most users reached over 900 and you reached out my desktop graphics lollllzzzzz ( equaling to my pc or what ? lolzz )
just kidding
Click to expand...
Click to collapse
I used AnTuTu benchmark u.u
venkat kamesh said:
good work but the result you gave is really very funny and horrible thing ever that 3383 in 3d ....... the most users reached over 900 and you reached out my desktop graphics lollllzzzzz ( equaling to my pc or what ? lolzz )
just kidding
Click to expand...
Click to collapse
Nothing proves that better
thats new antutu banchmark...use old antutu benachmark...:::
jrgouveia said:
Nothing proves that better
Click to expand...
Click to collapse
Hey jrgouveia once again thanks for allowing me to port this on htc wildfire.
Here is the link: http://forum.xda-developers.com/showthread.php?t=2118504
AndroidAddiction said:
Hey jrgouveia once again thanks for allowing me to port this on htc wildfire.
Here is the link: http://forum.xda-developers.com/showthread.php?t=2118504
Click to expand...
Click to collapse
Congratulations bro!
maybe u cn add spare parts for resized font...
Sent from my LG-P350 using xda app-developers app

[ROM][4.2.2] CyanogenMod 10.1 for GT-I8190 [2013-10-06]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
For your information
CyanogenMod is a free, community built, aftermarket firmware distribution of Android 4.2 (Jelly Bean), which is designed to increase performance and reliability over stock Android for your device.
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
This is developed for the GSM 8GB version of Samsung Galaxy S3 Mini (GT-I8190), and tested when running I8190XXAMA2 baseband.
I'll only support this model since it's the only one I own, if someone wants to attempt to port this ROM to his model feel free to take my tree as base, but don't expect support from me.
I'll never recommend this rom for daily use, you'll use it at your own risk. I do this because I love to learn lots of things about Android.
Reporting Bugs
If you want to report bugs please read THIS HOWTO first. Please try to provide logs if you see errors (logcat and dmesg). If you don't know how to do that check google or ask people here to help you. Don't contact me directly.
Enabling logcat Logging (Windows HOWTO: How to logcat like a Pro!)
adb shell dmesg
How to use strace?
Download
You are storing very sensitive information on your phone. You always have to be careful what ROMs you flash and whom you trust. If you don't trust me then don't use my ROM or compile it from source by yourself.
You can download the ROM here.
If you are going to host my ROM somewhere else, please let me know that on this thread or over PM, so I can add the link here also
This ROM is not meant for daily use!
Credits
- diego-ch, because he was the guy I worked together when nobody still develops for this device
- TeamCanjica members.
- marcin and maclaw, for HW Accec and MTP
- benjamingwynn & dudeman1996, for help me on my first steps.
- gladiac (modpunk), for teach me the right way of develop something.
- xd.bx, for the awesome fixes for recovery
- helicopter88, asturel and bytecode for been the first ones on listen my firsts fights with code.
Most Annoying Bugs
1 - RIL, most of people didn't have problems anymore, but some have issues (like me) and couldn't find some network operators.
2 - Low quality on Youtube video playback, I suppose it's just the multiple color conversions we had to do.
Changelog
2013-10-06
- Fixed offline charging.
- Deleted smartassv2 governor.
- Cannot mute microphone on phone app fixed. (Thanks Robert!)
2013-09-28
- Fixed Wifi thetering.
- Fixed video playback hangs.
- No tearing noticeable, set refresh rate to 65.
- Removed LUX Settings.
- Added missing equalizer config to stop logcat complains.
- Added missing stagefright soft audio libs.
- Possible fix for:
1) Low volume on incoming calls.
2) Wifi direct connection (P2P).
2013-09-05
- Testing fixes for:
a) Low volume from speaker on incoming calls.
b) Bluetooth A2DP and thetering.
c) Latest Youtube app issue with blackscreen.
- Building libasound from samsung released sources.
2013-08-25
- Fixed CPU stuck issues at max freq
- Fixed GPS.
- Major clean-up of blobs and unused services on ramdisk
- Compiled OMX core from source
- Enabled LUX values editing.
- Added smartassv2 governor.
2013-08-01
- Improved screen tearing issues.
- Clean-up of duplicated services and kill logspam from ramdisk.
- Build b2r2 lib from source.
- Delete useless blobs
- Set interactive as default governor.
2013-07-29
- First release
Most repeated questions
Where can I get Google Apps?
Here you can choose the correct ones depending of the android version:
http://wiki.cyanogenmod.org/w/Gapps
Where is your source?
https://github.com/OliverG96?tab=repositories
Wooow works exelent !!!!
Sent from my GT-I8190 using xda premium
Really?
Sir_gpm said:
Really?
Click to expand...
Click to collapse
What do you mean?
Enviado desde mi GT-I8190 usando Tapatalk 2
Yes, rom for 98% daily use !!!
Sent from my GT-I8190 using xda premium
Currently my internet provider is down, so how's everything? battery life etc?
Was asking to kanjac. 98%
Enviado desde mi GT-I8190 usando Tapatalk 2
Great! Is camera recording working on this?
Enviado do meu Transformer Pad TF300T
joelalmeidaptg said:
Great! Is camera recording working on this?
Enviado do meu Transformer Pad TF300T
Click to expand...
Click to collapse
Yes it is. And playback is fine. I just flashed 10 minutes ago, so i can't write much. The only thing that bothers me is the flickering.
EDIT1: sometimes when i click on camera icon i get a grey screen followed by a error message. But if i try again everything is fine.
EDIT2: Thanks for your work OliverG96
kanjac said:
Yes, rom for 98% daily use !!!
Sent from my GT-I8190 using xda premium
Click to expand...
Click to collapse
And what bothers on 2% LOL
Sent from my GT-I8190 using Tapatalk 2
Will try IT thuis afternoon....
Can't wait
Verstuurd van mijn GT-I8190 met Tapatalk
So far I am happy with the ROM. I have played a few missions of GTA: Vice city, a bit laggy sometimes but playable. I haven't tested the GPS yet.
Good stuff Mr Oliver
False postive?
@OliverG96: Avast detects the settings.apk of this ROM as Trojan OBAD-D!
dollyaja said:
And what bothers on 2% LOL
Sent from my GT-I8190 using Tapatalk 2
Click to expand...
Click to collapse
Flickering
Sent from my GT-I8190 using xda premium
Swift2603 said:
@OliverG96: Avast detects the settings.apk of this ROM as Trojan OBAD-D!
Click to expand...
Click to collapse
Im not sure, but is cm sending anonymous data? Mybe its a Trojan because of this?
Sent from my GT-I8190 using xda app-developers app
I allowed every CM in the past to send these anonymous reports. None was ever reported by Avast. I am a bit unsure about this, but I also trust in Oliver to not spread malware on purpose.
Swift2603 said:
I allowed every CM in the past to send these anonymous reports. None was ever reported by Avast. I am a bit unsure about this, but I also trust in Oliver to not spread malware on purpose.
Click to expand...
Click to collapse
Hm, key. So i think i wait until Oliver answers Maybe its just wrong by avast Hopefully
I tried maclaw rom and there is not any flickering. Oliver fix )))
Sent from my GT-I8190 using xda premium

Kernel memory mapping for more user available RAM?

Hi,
first, I know that RAM is separated to several parts, one for Android OS + apps and other for low level hardware, RIL, GPU, hardware acceleration, camera etc. No need for that kind of answers here, thank you
So, I know that on some kernels (on other devices) there is way to map more RAM to user by reducing GPU RAM, freeing some memory banks from camera etc.
In that case it is possible to have more available RAM for user and applications in trade for possible HD video stutter, worse 3D performanse and/or no HD video recording. Also, it doesn't mean that only GPU RAM banks can be decreased, maybe something other can be modified to free more RAM.
For example, HTC Sensation ROM has that kernel with more RAM but no FullHD recording.
Similar thing is with Optimus 2x ROM that gives 64MB of RAM more than stock values.
Xperia Ray (with ICS kernel in this case) also has 15 MB of RAM more than usual. Not a big improvement but still it is possible.
There are numberous cases with such modifications and tweaks (from Galaxy W, Galaxy S Plus, to Motorola Atrix, Galaxy S and so on...)
Our Xperias have 1GB of RAM from which 685MB is available on JB ROMs (on @letama 's 4.3 ROM is 622MB), where with 3.0 kernel some ROMs have 715MB of user available RAM.) From one older (ICS for Xperia 2011), but still relevant Xperia blog entry there is one quote that somewhat explains one bit of that:
Increased RAM usage
In general, it can be said that the RAM is the working memory in the phone, used by running processes in contrast to the flash memory, which is mainly used to store things. As you might understand, this is a simplified explanation and might not be entirely true in all cases. However, it can serve as a help to understand the difference between the RAM and the flash memory of the phone. To see how much RAM is currently used, go to Applications in the Settings app of your Xperia™ phone.
Now, let’s look at how the RAM is used. Out of our 512MB RAM, about a third is used for functions that require a dedicated memory slot to operate fast enough. For example, this is the case for certain multimedia functions. The remaining space, which is at least 340MB, is reserved for the Linux user space, as required in the Android Compatibility Definition Document (CDD). Within the Linux user space, functions like the activity manager and Home screen app are running.
Click to expand...
Click to collapse
Also relevant:
Hardware acceleration means that the GPU is used to render graphics, which enables a smooth user interface. However, it also results in at need to load additional graphic libraries for certain apps, which makes them use even more RAM.
Click to expand...
Click to collapse
Additional info
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Because on CM based ROMs there is no Bravia Engine, some specific Walkman album and/or video features and big chunk of users (like myself) don't need fastest 3D performance nor 1080p (which is still lagging, well until .96 source code arrives. Minding that, is it possible that in .200 builds wrong memory mapping led to FullHD stutter?) but additional RAM would be precious for multitasking and having more apps open at the same time.
Unfortunately I am out of luck regarding some tutorials or explanation how to set up kernel and tweak its memory map (because I lack of Android development knoledge) but I hope someone out there like letama, RaymanFX, DoomLord etc. can help. It doesn't meant that they must do it but maybe give us "noobs" some directions how can we start and try to do it ourselves.
Sorry for long post, I didn't want it to became "another RAM thread" because it isn't. The more explanation provided the less confusion is present Thank you for reading it until end
Regards,
switzerland92
First of all - good topic
It's obvious there is a way to increase available RAM if you look OS version on one device with same hardware but just different OS.
In Gingerbread, ICS and then in JB.
If you just compare 211 and 96 firmware there's big change.
HD video (1080p) recording is great..
So I guess it's RAM mapping which should fix in custom ROM's
But for me it's not so important how many RAM I have free, I want my RAM to be occupied and fully working to get best performance.
But in some ROMs we could see 70MB of RAM free and terrible performances.
To close this - I think Sony did a great job with 96 firmware and that's good.
Only question stays for custom ROMs
It's question for developers who really built ROMs from the beginning and do everything alone.
We have few great guys here but I doubt they will join this conversation
Sent from my LT26i using Tapatalk 4
Maybe our master @letama knows something. Really interesting topic.
Gesendet von meinem LT26i mit Tapatalk 4
Well, I don't have all the answers for this, but let me give you some hints:
In recent kernels (JB), memory allocation is handled by ion. ion is managing pools that are dedicated to specific tasks. Memory dedicated to each pool is defined by kernel, in board file for our XS (arch/arm/mach-msm/board-semc_fuji.c)
Here is what I have for mine:
#define MSM_ION_HOLE_SIZE SZ_128K /* (128KB) */
#define MSM_MM_FW_SIZE (0x200000 - MSM_ION_HOLE_SIZE) /*(2MB-128KB)*/
#define MSM_ION_MM_SIZE 0x3E00000 /* (62MB) */
#define MSM_ION_MFC_SIZE SZ_8K
#define MSM_ION_SF_SIZE 0x9000000 /* 112MB -> 144MB */
#define MSM_ION_CAMERA_SIZE 0x7000000 /* 80MB -> 112MB */
#define MSM_ION_WB_SIZE 0xC00000 /* 12MB */
#define MSM_ION_QSECOM_SIZE 0x300000 /* (3MB) */
...
Which are sony JB values except for SF and CAMERA that I had to increase for 3.4 (new drivers, consuming a bit more).
This is where you can play to try to get more free ram, but it will be difficult without impairing a function.
Regarding the 1080p issue, this has nothing to do with ram. With my same kernel and same memory allocation, issue is fixed with new sony camera blobs.
Thank you for your answer, it really helped me a lot
Is there any article or explanation for e.g. that is MSM_ION_SF_SIZE etc.? I realized for some stuff from context but most of that is unknown.
switzerland92 said:
Thank you for your answer, it really helped me a lot
Is there any article or explanation for e.g. that is MSM_ION_SF_SIZE etc.? I realized for some stuff from context but most of that is unknown.
Click to expand...
Click to collapse
SF is Surface Flinger, display driver...
letama said:
Well, I don't have all the answers for this, but let me give you some hints:
In recent kernels (JB), memory allocation is handled by ion. ion is managing pools that are dedicated to specific tasks. Memory dedicated to each pool is defined by kernel, in board file for our XS (arch/arm/mach-msm/board-semc_fuji.c)
Here is what I have for mine:
#define MSM_ION_HOLE_SIZE SZ_128K /* (128KB) */
#define MSM_MM_FW_SIZE (0x200000 - MSM_ION_HOLE_SIZE) /*(2MB-128KB)*/
#define MSM_ION_MM_SIZE 0x3E00000 /* (62MB) */
#define MSM_ION_MFC_SIZE SZ_8K
#define MSM_ION_SF_SIZE 0x9000000 /* 112MB -> 144MB */
#define MSM_ION_CAMERA_SIZE 0x7000000 /* 80MB -> 112MB */
#define MSM_ION_WB_SIZE 0xC00000 /* 12MB */
#define MSM_ION_QSECOM_SIZE 0x300000 /* (3MB) */
...
Which are sony JB values except for SF and CAMERA that I had to increase for 3.4 (new drivers, consuming a bit more).
This is where you can play to try to get more free ram, but it will be difficult without impairing a function.
Regarding the 1080p issue, this has nothing to do with ram. With my same kernel and same memory allocation, issue is fixed with new sony camera blobs.
Click to expand...
Click to collapse
Nice hex seems alot of bytes. Btw. How do I increase the bytes? Of those.. Because its hex
Sent from my LT26ii using xda app-developers app
I use native Windows calculator, when you set it on "programmer" than you can convert units (HEX, OCT, DEC, BIN).

[KERNEL][CM13][3.18.43] mKernel R1 made by msdx321

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Changelog:
R1-HOTFIX:
- Fix speakers problem
Click to expand...
Click to collapse
Intro:
Brings useful features in and focus on optimation
Click to expand...
Click to collapse
Disclaimer
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Click to expand...
Click to collapse
Feature:
- Add elementx gov
- Add zen, fiops and sio gov
- Add KCAL control
- Add Fsync switch
- Enable all TCP algorithms
- Use -Ofast instead -O2 for compile
- Use Linaro's toolchain
- Latest linux branch fully merged 3.18.43
- OC the freq from 1.3/1.8 to 1.6/2.15 for standard edition, GPU as well
- Disable Software CRC
- Use LZ4 for zswap and zram
Click to expand...
Click to collapse
Bugs:
- All bugs offical CM has
Click to expand...
Click to collapse
TODO:
- Fully merge Linaro's branch ( might not)
- OC CPU and GPU by using freq & volt tables from Snapdragon 821 ( depend on yours opinions)
- More useful CPU govs such as nightmare
- Adreno boost
Click to expand...
Click to collapse
Source Codes:
https://github.com/msdx321/android_kernel_xiaomi_msm8996
Download Link:
https://drive.google.com/open?id=0B4WteYtIGVuCNHQ5bEFhcEN2cDQ
Credits:
- Cherry picked most things from the OP3's elementalx kernel
Click to expand...
Click to collapse
Oh Thank You
Perfect!!
Hey i'm. Trying your kernel out but please address battery's drain and I can't seem to set the clock speed in kernel auditor it always reverts back
gowtham300 said:
Hey i'm. Trying your kernel out but please address battery's drain and I can't seem to set the clock speed in kernel auditor it always reverts back
Click to expand...
Click to collapse
About battery's drain...Since I haven't modify the code too much, I should be almost the same as the stock kernel.
About freq reverting, seems like there is something locked your freq. For example, have you opened the power saving feature or something like that?
coderstory said:
About battery's drain...Since I haven't modify the code too much, I should be almost the same as the stock kernel.
About freq reverting, seems like there is something locked your freq. For example, have you opened the power saving feature or something like that?
Click to expand...
Click to collapse
No this issue is also prevalent in 32gb mi5 on the other 2 kernels also
coderstory said:
About battery's drain...Since I haven't modify the code too much, I should be almost the same as the stock kernel.
About freq reverting, seems like there is something locked your freq. For example, have you opened the power saving feature or something like that?
Click to expand...
Click to collapse
I found ElementalX governor had/caused problems when I used it on my Kernel. The root of the issue causing speeds to revert was the CPU tables starting at line #46 weren't quite right.
Harrynowl said:
I found ElementalX governor had/caused problems when I used it on my Kernel. The root of the issue causing speeds to revert was the CPU tables starting at line #46 weren't quite right.
Click to expand...
Click to collapse
Thx, dude. Can't fully test the kernel since I don't have a actual phone and some one ask me to do this kernel. By the way, your way to overclock the kernel is quite unstable. No not just cherry-pick the commit from flar2 or use freq & volt table from snapdragon 821
Harrynowl said:
I found ElementalX governor had/caused problems when I used it on my Kernel. The root of the issue causing speeds to revert was the CPU tables starting at line #46 weren't quite right.
Click to expand...
Click to collapse
Well, the freq in freq table acts as CPUFREQ_RELATION_H. So I don't think there is a serious problem in ElementalX governor
When will we get 821 speeds @Codestory
Is possible that WiFi strength crabs m became better with custom kernel? Or the mi5 really have WiFi hardware issues?
Thanks for your share m8. this aims to be good!!
Sent from my MI 5 using Tapatalk
Is there will be development going? Im searching kernel for my clean Cm install I really want OC thanks
fuxmen said:
Is there will be development going? Im searching kernel for my clean Cm install I really want OC thanks
Click to expand...
Click to collapse
Yeah
"- OC CPU and GPU by using freq & volt tables from Snapdragon 821 ( depend on yours opinions)"
So, except for gpu and cpu OC, the only difference with snap821 are the volt tables? Could you explain more @coderstory ? Thank you
Any way tô build a Kernel for MIUI base?
Does this works on latest cm13 nightly?
dkmsn8 said:
Does this works on latest cm13 nightly?
Click to expand...
Click to collapse
I think he stopped doing the development of the kernel, nothing new at all... Better wait for harry or simply use the original kernel in CM13
otonieru said:
I think he stopped doing the development of the kernel, nothing new at all... Better wait for harry or simply use the original kernel in CM13
Click to expand...
Click to collapse
Yeah I'll wait

[KERNEL][N][H815-H811][CM/AOSP] Llama Sweet Kernel

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Llama Sweet For AOSP​
Code:
/* *** Disclaimer
*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards, thermonuclear war,
* or you getting fired because the alarm app failed. Please do some research
* if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
* BOOM goes the Dynamite
*/
Rules
1. if you have any issue do some research before posting
2. I want Respect, No troll and limited off-topic
Bunch of new governor like Barry_Allen, Lion Heart, Impulse, zzmoove ...*
Improved Interractive
Powersuspend
Dynamic FSync
Sound Control
Frandom
* Boot into Recovery
* (Recommended) Make a complete backup of entire rom
* Flash boot.img (zip will come later) corresponding to your variant (teasing)
* Reboot
http://host.erwanleboucher.fr/
I would like to thanks every developer that help me RenderBroken, REV3NT3CH, Lord Boeffla , Dorimanx, Neobuddy89, Savoca, Faux123, and Many More!
And of course every user that enjoy this kernel and every donators
XDA:DevDB Information
[KERNEL][N][H815-H811][CM/AOSP] Llama Sweet Kernel, Kernel for the LG G4
Contributors
genesixxbf3
Source Code: https://github.com/genesixx/LlamaSweet-msm8992
Kernel Special Features:
Version Information
Status: Stable
Created 2017-02-11
Last Updated 2017-02-11
Reserved
Reserved
If you want to have the lastest file available easy. You can download my app !!
https://play.google.com/store/apps/details?id=com.genesixx.host
thanks!! for Lineage 14.1 kernel R7.2N is correct and is the last?
I just wanna ask. Whats more efficient, 2 cores on high freq or 4 cores online? Is it possible to have an option to only open 2 little cores and 2 big? Big thanks for your work.
japoco_poz14 said:
thanks!! for Lineage 14.1 kernel R7.2N is correct and is the last?
Click to expand...
Click to collapse
yep and yep
tachiquan3 said:
I just wanna ask. Whats more efficient, 2 cores on high freq or 4 cores online? Is it possible to have an option to only open 2 little cores and 2 big? Big thanks for your work.
Click to expand...
Click to collapse
i think the more efficient is using one of the integrated hotplug that should play with bigs
Uhm i think that doesnt answer my question. I hope there would be differrent options between big and little. I am already using its hotplug anyway.
tachiquan3 said:
Uhm i think that doesnt answer my question. I hope there would be differrent options between big and little. I am already using its hotplug anyway.
Click to expand...
Click to collapse
check on the tweak thread on general then
@genesixxbf3: is it possible to integrate a priority of wifis with different bands but same SSID?
I have several APs wich broadcasting 2,4 Ghz wifi & 5ghz wifi at the same SSID.
On AOSP/Linage based roms when conneted to the wifi it always takes the 5ghz band.
With stock rom it always uses the 2,4 Ghz band.
This is a known issue of LG based roms. On older AOSP roms there was a setting under wifi to prefer 5ghz.
this is gone on MM & N now but it works as it should.
I often want to go with stock rom because of camera (...) but cant because of this issue.
Can you please take a quick look into kernel if it maybe supports it and just need a wpa_supplicant change in rom?
Would be nice to hear your thoughts as a kernel developer.
thx a lot
pOpY
popy2006 said:
@genesixxbf3: is it possible to integrate a priority of wifis with different bands but same SSID?
I have several APs wich broadcasting 2,4 Ghz wifi & 5ghz wifi at the same SSID.
On AOSP/Linage based roms when conneted to the wifi it always takes the 5ghz band.
With stock rom it always uses the 2,4 Ghz band.
This is a known issue of LG based roms. On older AOSP roms there was a setting under wifi to prefer 5ghz.
this is gone on MM & N now but it works as it should.
I often want to go with stock rom because of camera (...) but cant because of this issue.
Can you please take a quick look into kernel if it maybe supports it and just need a wpa_supplicant change in rom?
Would be nice to hear your thoughts as a kernel developer.
thx a lot
pOpY
Click to expand...
Click to collapse
Afaik it's rom side
genesixxbf3 said:
Afaik it's rom side
Click to expand...
Click to collapse
thx for the hint.
<OT>
Is it possible to mod (maybe wpa_supplicant) of the rom to get the results ill need?
Can you please point me in the right direction? All play store apps i have tried havent solved the issue for me.
</OT>
thx
pOpY
Which app should i use to configure this kernel?
waseemmayaa said:
Which app should i use to configure this kernel?
Click to expand...
Click to collapse
Kernel Adiutor
welder73 said:
Kernel Adiutor
Click to expand...
Click to collapse
Ok thanks, could you tell me how to configure it for better life? Sorry for this noob questions.
waseemmayaa said:
Ok thanks, could you tell me how to configure it for better life? Sorry for this noob questions.
Click to expand...
Click to collapse
Try this:
Big cores governor-zzmove
Little cores governor-alucard
Cpu boost-disabled for all cores
Msm hotplug-ON
Gpu Adreno idler-ON
waseemmayaa said:
Which app should i use to configure this kernel?
Click to expand...
Click to collapse
better yet search for kernel auditour mod. use that one.
welder73 said:
Try this:
Big cores governor-zzmove
Little cores governor-alucard
Cpu boost-disabled for all cores
Msm hotplug-ON
Gpu Adreno idler-ON
Click to expand...
Click to collapse
Thank you so much for helping out, gonna use this setting and will tell you in a day.
popy2006 said:
thx for the hint.
<OT>
Is it possible to mod (maybe wpa_supplicant) of the rom to get the results ill need?
Can you please point me in the right direction? All play store apps i have tried havent solved the issue for me.
</OT>
thx
pOpY
Click to expand...
Click to collapse
/system/etc/wifi
but genesix is right. thats something that comes from the java code from LG. we can't change the behavior of the wifi reciever by modifying a .conf setting file.
to change a setting and see that setting actually take action there must be a code behind to recieve that setting.
so every phone is different, don't google search and use another phone settings.
Quick question. Does your kernel have loop device support?

Categories

Resources