[Discussion]DooM Kernel for Z1 - Xperia Z1 General

Hello Everyone. Our great developer @DooMLoRD buddy has done it again.And this time its for the Z1.So on his behalf I am opening this general discussion thread to keep the development thread clutter free. Ask your queries here and they will be answered.

Known issue with overclocking
It has been observed that the overclocking sometimes reverts back automatically to stock settings especially after heavy CPU load and if the device heats up.
I think have found why this happens:
Android OS level
there is a binary called: /system/bin/thermald which writes lower CPU freq values to the CPU sysfs interface if the device starts heating
there is also an app "Overheat Control" which i suspect is doing something similar
Kernel level
there seems to be some sort of fail-safe in place "msm_dcvs" which resets the CPU to 918Mhz or 1026Mhz or 1512Mhz
could also be some other things i am still searching
now there are ways to circumvent these issues but given the risk of the damage associated with overclock for long time i think its in our best interest to not screw with these fail-safes...
most of these will be will be taken care off in future kernel releases

To Do List:
Merge all features from my Xperia Z kernel:
http://forum.xda-developers.com/showthread.php?t=2172888
detailed list:
main kernel
add VDD interface (DONE)
remove CPU auto throttling restrictions
disable CIFS
add GPU O/C (DONE)
add GPU governor
add CPU governors
AVS
I/O schedulers (DONE)
unlock 192MHz frequency
screen gamma control
increase USB OTG voltage (?)
slide2wake
exFAT support
ZRAM
cleancache, frontswap
XZ other compression support (DONE)
mpdecision (?)
ramdisk
add dual recovery CWM + TWRP (DONE)
add init.d support (DONE)
import customizable init.something.rc from /system/etc

so at the moment from your post above are you saying the Z1 does not support exfat out of the box

Geoffxx said:
so at the moment from your post above are you saying the Z1 does not support exfat out of the box
Click to expand...
Click to collapse
Yup
"Thanks button is just to avoid "THANKS" posts in threads. Nothing more than that. Don't ask in signature or post for it and defeat the purpose why it was introduced"

Thanks for that, that explains partly why my Z1 trashed my 64gb SD card that I had working in my XZU the latter fully supports exfat
I guess it is wrong to assume anything when it comes to Sony devices, I had at least expected if the XZU supported exfat that the Z1 would also

Updated the OP
Sent from my GT-I9103 using xda app-developers app

please dont mirror everything from my kernel thread...
just a simple:
"this is a thread to discuss about DooMKernel for Xperia Z1" should do

DooMLoRD said:
please dont mirror everything from my kernel thread...
just a simple:
"this is a thread to discuss about DooMKernel for Xperia Z1" should do
Click to expand...
Click to collapse
Done
Sent from my GT-I9103 using xda app-developers app

Related

[KERNEL][AOSP][EXT4] Kang Bang! 7/12/2011 [BFS/CFS][OC/UV][BFQ]

Here we go guys, new version of my BFS AOSP kernel (sense to come)
Been working hard on this kernel for quite some time, and Birdman helped out drastically (even though he broke stuff )
Big thanks to: Birdman, Slayher, Captainkrtek, Imoseyon (for the 2.6.35 port), Jake Day, Pershoot, and plenty of others I can't remember right now.
KangBang 0.8
Kanged workqueue 2.6.36.1 backport from Imoseyon
Kanged 3.0rc6 cpufreq/cpuidle backport from Imoseyon
Couple other adjustments
Added new CPU governor: LagFree. This new governor is based on conservative, and tweaked to lower the cpu frequency on suspend, and keep it over a minium value
during phone operation. This governor added some nice tweaks to be added to other governors, looking in to that.
Swap cache dropped more agressively via ck1 patch
More compiler optimizations
Decrease default dirty ratio via ck3 patch
Enable swaptoken only when swap is full via ck3 patch
Wifi voltage lowered
2.6.39 Conservative governor backported
Call Recording support added
2.6.39 bcm4329 (wifi) driver backported
Mecha: Add gan sound device.
Mecha: Allow varying of button backlight levels.
Mecha: Allow disabling of the back mic.
Mecha: Add gan sound device
Mecha: wifi: Improve BT-coex in A2DP mode
KangBang 0.7:
Added SmartAss back
Ondemand and interactive have sleep profiles again
Sound fix from birdman included
SLQB Memory Allocator re-added
KangBang 0.6:
Re-based to Ace kernel source, so I lost some of my changes for now (until i'm not so lazy and fix them)
There are a LOT of changes/additions.
Theres a new RCU boost, which is proving to be nice so far.
Changed the memory allocator to SLUB until I get SLQB ported in
As of right now, theres no auto sleep profile in ondemand/interactive. Both of these governors still need adjustments.
The clock frequencies are the default CM frequencies. Their table is populated correctly, and currently, I'm adding frequencies back in one at a time to make sure it will boot. This will take a while... bare with me guys
Lowered RR_Interval to 6 to increase latency. Might drop it to 4
Neon and VFP optimizations
OnDemand governor Threshold adjustments
CONFIG_HZ=300 instead of 100
Add Tiny Preempt RCU
RCU Boost Prio set to 50, Delay set to 300 (still playing with these)
Sound tweaks credit to CodeAurora/Birdman
GPU Memory allocation raised
Numerous fixes from CM kernel source
KangBang 0.5:
Reverted the GPU/Camera memory allocation adjustment, as it screwed up the camera.
Reverted to my old config file, as the extra slim one broke certain apps
Stabilized voltages
KangBang 0.4:
Full wifi/settings/MMS/etc. fix credit to beavis9k!!
Added V/R I/O Scheduler (still using BFQ as default for now)
BT Audio volume raised (Credit to Slayher)
Prevent memory leak on hotplug (thx Pershoot)
GPU/Camera memory allocations raised
Cleaned up my defconfig even more. This kernel is tiny, tinier than ever before. The actual kernel zImage is 1.9mb as opposed to the 2.2 it was before. This will allow a performance increase, as there is less the kernel is trying to crank out.
Initial release, 0.3:
Feature packed for the first release.
2.6.35.13 (latest upstream linux kernel)
System/Data/Cache mounted EXT4
Numerous EXT4 file system tweaks
Overclock up to 1.8 Ghz
Undervolted for battery life/stability
BFS v404 (HUGE performance increase from the v3xx BFS series)
Tiny RCU
SLQB Memory Allocator
BFQ v2rc1 I/O Scheduler (much nicer than the original BFQ)
Kernel speed defaulted to 1024, stock tbolt speed
OnDemand governor backported from 2.6.39, with sleep/wake code (kanged from Imoseyon's OnDemandX, thanks Imoseyon!)
Wifi driver updated to latest AOSP driver
AOSP-style BT driver (kanged from Slayher's kernel source, thanks Slayher!)
MULTIPLE fixes pulled in from CyanogenMod MSM7x30 kernel source (time compensation, ashmem flush, wifi n support, CPU-supported unaligned access, compensation for rounding on odd-frequency clocksources, etc.)
Interactive governor with sleep/wake code (kanged from interactiveX, thanks Imoseyon!)
Numerous BFS tweaks for better performance, and better support for android.
SD Card read-ahead buffer increased
FS read-ahead buffer increased
Some other things I probably can't remember right now (I should take better notes, I'll add more as I remember)
Whew. Pretty hefty initial release.
Secondly, I comply with GPL. Here is my source code. Feel free to kang away, just credit me, at least in your source if not anywhere else
http://bit.ly/lSXnZx
Now to the goodies:
Download link:
BFS:
http://bit.ly/nHxIV1
CFS:
not yet updated
Broken list in 2nd post, To Do List with it.
For the latest news/updates, or just to show some love, follow me on twitter! @Drod2169
If you like my work, please consider helping support my red bull addiction!
http://bit.ly/k5swff
Broken:
Car dock.
To Do List:
Sense/GB Sense/AOSP specific defconfigs
Add Simple I/O scheduler. V/R is already in, just not built with the kernel.
Add extra frequencies one at a time to make sure it will boot (WIP)
Looks like I have a new kernal to try out
Do I overclock the same way I overclock on IMO
Sent from my ThunderBolt using XDA App
dc iz 2 legit said:
Looks like I have a new kernal to try out
Sent from my ThunderBolt using XDA App
Click to expand...
Click to collapse
Post back your experiences, please
It's been an openish beta on twitter for a while, but this release version has quite a few nice additions.
I will bang this kang and let you know what's goodies.
Looking forward to the sense version - unless of course the cell standby battery drain issue is no longer there on CM7 using this kernel.
Big thanks to: Birdman, Slayher, Captainkrtek, Imoseyon (for the 2.6.35 port), Jake Day, and plenty of others I can't remember right now.
Click to expand...
Click to collapse
-.- ..........
Installed came from dream kernal...so far so good has alot of overclock options I'm on stock speeds right now right of the bat I notice its charging really quickly, no apps uninstalled yet
Edit: wifi connected right away but right when I turned it of had 3g
green but no data did reboot with wifi off and fixed
Edit: battery is really good on this kernal I'm getting 10min per percentage on medium to heavy use
Sent from my ThunderBolt using XDA App
FINALLY, about dam time!!
Will report back!!
Awesome work, cant wait for a sense version!
Berzerker7 said:
-.- ..........
Click to expand...
Click to collapse
Jake's been a big help and support to me in my kernel work. He taught me a lot when I first got started, and he's been nothing short of a great guy. While you have your opinions, I will continue to respect the man. Please don't clutter the thread with this talk.
Wow man running super fast, wasn't planning on leaving stock, but this has surpassed my expectations. Thanks a lot!
Sent from my ThunderBolt using XDA App
Downloaded, will try later or tomorrow and post back.
Thanks for your hard work!
Data seems to be a little flakey. Performance is smooth, will report back on WiFi and battery life
Sent from my ThunderBolt using XDA App
Derrtydozen said:
Data seems to be a little flakey. Performance is smooth, will report back on WiFi and battery life
Sent from my ThunderBolt using XDA App
Click to expand...
Click to collapse
From what I can tell, data handoff seems to be A LOT LESS flaky than on other kernels. Battery life will the true test for me.
Unrelated but related: Anyone have LPP FC upon EVERY reboot now? Works fine after it has been restarted.
I have experienced this across kernels/voltages/governors/CPU freq.
Awesome, just loaded it up.
Preferred tweak method......CM settings, setcpu, does it have speedtweak?
Thanks!!!!
Sent from my ThunderBolt using XDA Premium App
So does wifi not work at all with this kernal?
Bimmer323 said:
Awesome, just loaded it up.
Preferred tweak method......CM settings, setcpu, does it have speedtweak?
Thanks!!!!
Sent from my ThunderBolt using XDA Premium App
Click to expand...
Click to collapse
it does not.
I run ondemand governor, at min: 230mhz, max: 1024mhz (stock settings)
iastonish said:
So does wifi not work at all with this kernal?
Click to expand...
Click to collapse
been told by numerous people it works flawlessy. if you have issues, try flashing imoseyon's fixwifi zip from his kernel thread
I stand corrected, data is working fine, WiFi is working fine, battery seems good. The true test for battery will be tomorrow for work
Sent from my ThunderBolt using XDA App

[DEV][WIP][KERNEL-PATCH][MSM7x30/8x55 GPU OVERCLOCKING][2d-core done][3d-core][v0.7]

Finally after someone pm'd me I looked back into GPU Overclocking.
New thread created issues with old thread OP permissions (people seem to be asking the same questions over and over again all information will be kept in OP & DO READ THE THREAD, repetitive questions will now be ignored)
Benefits:
Smoother UI
Handle 2d & 3d core GPU intensive applications & games
Currently only 2D core has been overclocked working on 3D core OC
2D-core original value - 192mhz OC to 245mhz DONE achieved 25% performance boost grp_2d_clk outputs 245760000hz
3D-core original value - 245mhz OC to 300+mhz WIP hoping to achieve 40-50% performance boost
2D-core OC only Download: Coming soon...
Download Links for other devices coming soon...
Works for all HTC Sense/Cm9/Cm10 kernels (Just ask a kernel developer for your device to implement the source code)
Note: Don't have internet on PC so providing 3 main files that need replaced for 2D-core OC to work
Download link to source code: http://d-h.st/wbH
3D-CORE OC TESTS Download: Coming soon...
Do check under sys/kernel/debug/htc_clock/clks/ look for file with all clocks & look for GRP_clks (Graphics clock)
OK so basically today I've been thinking and I've come to the conclusion that I will release the 2D-core OC patch As Soon As Possible, 3D-core Core OC is NOT Impossible but for now I'll give it a break, I will attempt 3D-core OC If/When I can get a hold of a msm7x30/msm8x55 device, as it will make it much easier for both me & users.
So for now you can enjoy the 50mhz increase/bump up, perf boost 25% in 2D-core (will increase performance in both 2D/3D intensive appications as 2D-core is used for 3D AFAIK and increase User Interface performance (Note: This will not take a hit on battery life)), I will also release a couple of fixes on patchas kernel that shouldnt be there/set etc.
(Theres a device available in my area for roughly £90, if anyone wants to contribute towards getting that device or can donate a device , more than welcome and shoot me a PM so I can list you here.)
(This isnt a promise of 3D-Overclock if you donate, if you donate please do so expecting nothing I will only attempt 3D-overclock)
Working device list - all kernel 3.0+ msm7x30/msm8x55 soc devices.
Main thread is in Desire HD Android Development section: http://forum.xda-developers.com/show....php?t=2368497
Thanks for your efforts.
I'm trying to follow the link to your Desire thread and it seems it's broken.
Nevermind, found it: LINK
I think a kernel dev from the droid incredible 2 has a 3d gpu overclock in a kernel but I didn't use it in mine because I worry about the heat output being overclocked combined with that.
Sent from my ADR6400L using Tapatalk 2
disconnecktie said:
I think a kernel dev from the droid incredible 2 has a 3d gpu overclock in a kernel but I didn't use it in mine because I worry about the heat output being overclocked combined with that.
Sent from my ADR6400L using Tapatalk 2
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2372291
you must be referring to this...
Someone already showed me the commits
no one has managed gpu overclocking at all on any msm7x30/msm8x55 platform/soc devices
I saw it someone's git when I was building my kernel. I couldn't find useful posts about kernel stuff so I just looked for git accounts that were from similar devices.
Sent from my ADR6400L using Tapatalk 2
Probably Kangaroo Kernel based off of Beast Mode.
Oh ya that's the one. Been a while since i looked.
Sent from my ADR6400L using Tapatalk 2
Shaky156 said:
OK so basically today I've been thinking and I've come to the conclusion that I will release the 2D-core OC patch As Soon As Possible, 3D-core Core OC is NOT Impossible but for now I'll give it a break, I will attempt 3D-core OC If/When I can get a hold of a msm7x30/msm8x55 device, as it will make it much easier for both me & users.
So for now you can enjoy the 50mhz increase/bump up, perf boost 25% in 2D-core (will increase performance in both 2D/3D intensive appications as 2D-core is used for 3D AFAIK and increase User Interface performance (Note: This will not take a hit on battery life)), I will also release a couple of fixes on patchas kernel that shouldnt be there/set etc.
(Theres a device available in my area for roughly £90, if anyone wants to contribute towards getting that device or can donate a device , more than welcome and shoot me a PM so I can list you here.)
(This isnt a promise of 3D-Overclock if you donate, if you donate please do so expecting nothing I will only attempt 3D-overclock)
Working device list - all kernel 3.0+ msm7x30/msm8x55 soc devices.
Main thread is in Desire HD Android Development section: http://forum.xda-developers.com/show....php?t=2368497
Click to expand...
Click to collapse
I have an Inc2 id be willing to test on if you'd like...
Sent from my Maserati using XDA Premium
Everyone has been modifying the kernel graphics software layer platform data with values that dont make sense and are impossible more above with values that dont exist within thw graphics table anywayx
3d oc is abit more difficult
Devs + testers join IRC will make life easier
Irc freenode #s1gpuoc
I wouldn't recommend replacing those files in any current kernel directly. Since there is no github to see what the actual changes are isolated from the file, it's hard to say if all the changes made are compatible. Some of them were unnecessary, and simply added credits to a line that was unchanged (most likely because it has been updated since the original writing of the files).
https://github.com/StarKissed/stark...mmit/dc381024f122a114b770076e2992cd5097f5c47c <- The specific changes required
twistedumbrella said:
Does this include a sysfs interface to throttle the overclock?
https://github.com/StarKissed/stark...mmit/618b9e076f7b2c0a8f9f0c5733f61d4ef27261c0
Click to expand...
Click to collapse
There isnt any need for a sys fs at the moment due to the way qualcomm have made their msm7x30
Shaky156 said:
There isnt any need for a sys fs at the moment due to the way qualcomm have made their msm7x30
Click to expand...
Click to collapse
Any time values that aren't stock are being forced, it's good to have the option to turn it off but in this case it's only forcing stock values to persist so it doesn't really matter.
Sent from my Galaxy Nexus using Tapatalk 2
Okay after looking @ GPU Overclock for 2 weeks, This is the news on GPU OC for MSM8x55/MSM7x30 socs.
My findings...
2D-core OC from 192mhz to 245mhz successful.
3D-core OC will not happen without me obtaining the datasheet (which is proprietary)
The clocks are protected, via Ownership/Permissions, and maybe an RCU/MPU
No Overclocking the CPU does NOT Overclock the GPU, thats the worst thing I've heard in my life lol.
The lowest the GPU can hit is 192mhz or lpxo freq
Bus is not overclockable, it always is 192mhz
EBI_2D_clk will and has always been 0mhz
Modifying kgsl platform data and/or the graphics table with random values or even calculated values from correct pll freqs will NOT OC the gpu
it's ashame the GPU clocks are protected.
IF anyone is looking to continuing this project and is on the right track you're more than welcome to get in contact with me, especially if you have the msm7x30 datasheet.
The QSD8x50 soc is more open than this soc, so I'm doing a few tests on the HD2

[The off topic thread] for Z3 users

Here you can talk about just anything you want, the only thing you need to keep in mind is to follow the xda rules.
(Since we got such a thread in my recent xda phone forum, I thought about making it here too)
I'm starting this off with my current configuration.
I'm using cm12 official
M5 kernel v4
Intellimm governor
Fiops scheduler
GPU max Freq 27mhz (doesn't even cause much of a lag lol)
I use my phone mostly for messaging, I didn't play any game on it so far (maybe it's time?! Lol)
BTW my previous device was Samsung galaxy s4 mini
What's your current configuration guys?
Aronuser said:
I'm starting this off with my current configuration.
I'm using cm12 official
M5 kernel v4
Intellimm governor
Fiops scheduler
GPU max Freq 27mhz (doesn't even cause much of a lag lol)
I use my phone mostly for messaging, I didn't play any game on it so far (maybe it's time?! Lol)
BTW my previous device was Samsung galaxy s4 mini
What's your current configuration guys?
Click to expand...
Click to collapse
Can't seem to install cm12 on my Z3..
Would you consider posting a step by step guide?
It's unlocked running rooted stock and dual-recovery..
Aronuser said:
Here you can talk about just anything you want, the only thing you need to keep in mind is to follow the xda rules.
Click to expand...
Click to collapse
Yes, please remember the xda rules found in the link at the bottom of every page on xda, especially rule 15. There is an off-topic chat in the android general section. Please use that.
Thread closed

ROMs and Kernels, which are you running and why?

What's YOUR Set-Up?
Hello everyone, like most people here on XDA, I enjoy switching between ROMs and Kernels while keeping an eye out for a daily driver that I like best. If you have any other ROM/Kernel combinations that you enjoy and think others might also enjoy, please feel free to share them here and explain why it's awesome!
:laugh: :good: ​
This thread is for the Nexus 6P only
Currently I'm running:
Device: Nexus 6P - 32 GB - Aluminum (If you're curious )
ROM: Chroma (11/22) latest with SElinux Enforcing
Kernel: ElementalX (0.08) latest [SElinux Enforcing option ticked.]
Small Cluster - 1555 MHz (stock)
Large Cluster - 2054 MHz (Max)
Govenor - ElementalX
Min. CPU Frequency - 600 MHz
Max. CPU Frequency - 1824 MHz
GPU: Max = 600 MHz / Min = 180 MHz / Governor = msm-adreno-tz <------------- Anyone recommend a different governor? One for performance and the other interactive?
Color Setting Recommendations? (ElementalX App Only)
I/O Scheduler - FiOPS <----------------------- Anyone recommend a different I/O? BatterySaver/Performance/Interactive?
I'm also curious about the color fixes that Kernels purport to solve (washed out blacks? other issues?) and how to apply these fixes if someone can point me in the right direction or provide their own instructions and values for the color options (Everywhere I look just says tune to your liking but I need somewhere to start, and frankly, I don't know where to start)
I'm really enjoying this ROM/Kernel combo but I am having Battery Drain to the likes I've never seen before, which is probably my fault.
I'll attach logs from BetteryBatteryStats as well as the Battery Stats from Stock 6 or so hours after the posting of this thread (for accuracy).
Any 'Standard' or 'Conventional' logs needed to convey insightful information? for BBS or for anything else? Let me know.
Please let me know if you need any other information and perhaps how I can retrieve it for you (kinda noobish, but not extremely bad lol)
I'm certain it's a user issue but I don't know how to find and correct the issues myself, so any help would be greatly appreciated.
I'm running Chroma ROM for some of the simple customizations and its speed (I don't care about Layers [probably cuz I don't know how to use them]).
I'm running ElementalX simply for the Overclock/Underclock CPU options and the advanced color control (once I learn how to use it) but I don't care about any of the gestures, sweep2sleep,
NTFS r/w and exFAT support (no clue what this is), and Option to disable fsync (don't know what this is/does)
Lastly, what I'm looking for out of a ROM/Kernel combo is great battery life and great performance, with some fun features but definitely minimal. So if feel your setup matches these wants, and you don't mind sharing it here with me, as well as others who may be looking for a similar setup, please do so!
I, as well as most others on this forum, would also be happy to help troubleshoot any problems you may be experiencing with your ROM/Kernel combo to the best of our abilities but we cannot guarantee that we will be able to fix your phone and the responsibility of the device lies with you, the user.
Stock rooted rocks for the first 3 months until development picks up, kernel developers make enough changes and rom developers fully implement most features into their roms.
Enjoying Stock Rooted smoothness... for now!
No need to create multiple threads on exact same thing.
http://forum.xda-developers.com/nexus-6p/general/roms-kernels-running-t3257280/post64009263
Please stick to one thread.
Thanks! Thread closed.
Darth
Forum Moderator

Kernel for LL with OC support

As every MM rom is plagued with countless bugs, I don't see it very logical to stop LL development when everything related to MM isn't even working properly. What's even worse about that is that, some nice features (like OC) have emerged not a long ago, and there's no dev working anymore to bring them back to LL. Personally I refuse to use any MM rom due to the endless bugs and overall slowness.
What I'm trying to do is to build a kernel with basic custom features (faux audio, msm hotplug (or any other hotplug), intelliactive (or any other custom governor), usb keyboard, gpu OC and mainly cpu OC, which I was able to accomplish). However, using github, and all the coding stuff is really a pain. I know that I'm gonna face a lot of problems since I'm not even a dev, I just started this 3 days ago and the only knowledge I have is basically nothing. But, it'd be great if someone could help me, both for the good of the users and to speed up the development of this.
I'll be doing some research to make this go further, and, if I ever make a stable build, I'll be making a thread in the respective development section.
What I've done so far:
- Build it successfully without major errors
- Add cpu OC support (Thank you @zakee94 and @h2o64 for the commits)
To-do list:
- Fix no media playback (If someone could tell me if this is general and it's not just me, it would be nice)
- Add MSM Hotplug... or any other hotplug
- Add intelliactive governor... since I want this kernel to be perfomance-driven, this governor is so damnly good over any other gov.
- Add gpu OC and simple_ondemand as its governor.
- Add faux's sound control
- Add usb keyboard/mouse support
- Learn to use github, inb4 sorry for not posting source code
Consider me a beginner. I need your help, experienced guys.
P.S: If you try the test build, please be aware that this is a super-extremely-alpha version. It's intended only for feedbacks, so don't forget to backup your current kernel.

Categories

Resources