yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Original Android Development] delewer:
Guys ! You are too fast for me :D

I'm alway to try to boot kernel by :

"fastboot boot zImage ramdisk.img"

With a lot of result (and a soft brick) :p

But i am not afraid !!

I look for a kexec compil and studies the diff source ^^

Sorry, i can't help for now :)

EDIT

May be nothing but,

in /proc/iomem, we see

kernel code : 00008000-00c7b35f

and

System RAM : 0ff00000-77afffff

so, we logically need 00c7335f space

and a space not in use

but in kernel diff i see :

# MSM8974

zreladdr-$(CONFIG_ARCH_MSM8974)	:= 0x00008000

+ params_phys-$(CONFIG_ARCH_MSM8974)	:= 0x00000100

it's allready in use by host kernel

and

+#define KEXEC_HB_PAGE_ADDR	UL(0x7B00000)

+#define END_MEM	UL(0x7B00000)

you crash the pmu_base <= sorry it's nice no crash here

we need to search a free space in memory...

I don't remember if zreladdr is before or after realloc
[Xperia Z1 Original Android Development] krabappel2548:
Haha, I'm new to kexec too ;)

Anyway yes the problem is the free space.
[Xperia Z1 Original Android Development] delewer:
:)

i think we can try this

change

#define KEXEC_HB_PAGE_ADDR UL(0x7B00000)

#define END_MEM UL(0x7B00000)

by

#define KEXEC_HB_PAGE_ADDR UL(0x8000000)

#define END_MEM UL(0x8000000)

we are after system ram

and let --mem-min=0x85000000 in kexec (or test after with 0x8D000000)...

You know the use of dt.img... bc we don't use with kexec...
[Xperia Z1 Original Android Development] krabappel2548:
dt.img is quite important actually with kernels on S800, but I don't know how it goes with kexec to be honest. Maybe it'll work. I'll see what I can do with this addresses tomorrow, I'm trying to compile AOSP for Z1 at the moment lol :p

Anyway can't wait to have it working :)
[Xperia Z1 Original Android Development] delewer:
Well, i don't anderstand how work "KEXEC_HB_PAGE_MAGIC" in kexec.h

I don't anderstand this value :/

I go to sleep, it is verrrrry late here in Paris :p
[Xperia Z1 Original Android Development] krabappel2548:
I gotta sleep too, also very late in Belgium :p
[Xperia Z1 Original Android Development] Shaky156:
@ delewer did you test the new values?

---------- Post added at 06:42 AM ---------- Previous post was at 06:42 AM ----------

http://xdaforums.com/showthread.php?t=2495152
[Xperia Z1 Original Android Development] DooMLoRD:
The options will be.visible in release 194 of FauxClock app
[Xperia Z1 Original Android Development] Ashray_Vk:
Some of us can't overclock gpu more than 450 Mhz, [MENTION=2784807]DooMLoRD[/MENTION], can you please check into it?
[Xperia Z1 Original Android Development] DooMLoRD:
[MENTION=4919303]Ashray_Vk[/MENTION]

You can't see the 533 MHz bin or does it throttle back to 450 MHz?

Also which app you testing with?
[Xperia Z1 Original Android Development] Toldo:
I'll let myself answer. Pimp My Z1 shows only 450 as max.
[Xperia Z1 Original Android Development] DooMLoRD:
Here is what I see on my Z1
[Xperia Z1 Original Android Development] Ashray_Vk:
It's not visible in pimp my Z1 app. Will check through other apps

Edit: it's the same in other apps too. The max frequency I can see is 450 Mhz. Least is 27Mhz.
[Xperia Z1 Original Android Development] Destroyedbeauty:
There was an similar issue on [MENTION=4752917]Androguide.fr[/MENTION] Pimped Kernel. I don't know if he fixed it or not, PM and see what he say about this..
[Xperia Z1 Original Android Development] Kjaups:
Good and smooth kernel.

When i upgraded to stock .757 i had charging issues.

After installing Doomkernel V15 to my Z1, charging works and battery drain is smaller in sleep.
[Xperia Z1 Original Android Development] :
Same here
[Xperia Z1 Original Android Development] mikailmohammed:
what are some safe settings to set for fast charge guys? I have a USB 3.0 and well the wall charger.
[Xperia Z1 Original Android Development] :
Check this
[Xperia Z1 Original Android Development] mikailmohammed:
Ok so anyone getting small UI lags when leaving apps doing small multitasking?
[Xperia Z1 Original Android Development] Destroyedbeauty:
Nope, nothing at all. Have you tried anyone of those "Sleeper Disabling Scripts" that improves overall UI response and interactivity?
[Xperia Z1 Original Android Development] mikailmohammed:
Nope just on Romaur V7 using this kernel with intellidemand and row scheduler.

On Adv. stock i get none of these issues so i dont know why this kernel doesn't agree with my phone at times.
[Xperia Z1 Original Android Development] Destroyedbeauty:
Perhaps some kernel modifications for conserving battery juice as much as possible?
[Xperia Z1 Original Android Development] mikailmohammed:
Hmm i have everything on stock. I have only changed the I/O and governor. Will look into it some more.
[Xperia Z1 Original Android Development] Ashray_Vk:
With doomkernel v15 without OC. (Quite close to doomlords old score :P)

Anyways, this kernel seems fine but I cannot gpu oc after 450 Mhz at all.
[Xperia Z1 Original Android Development] Toldo:
How can you get a score that high? I mean it doesn't really matter for me but it's weird seeing People with similar setup with a score of that size. I get like 33k's...

Tapnięte z Xperii Z1
[Xperia Z1 Original Android Development] -Happy Feet-:
I have GPS Lags with the latest kernel the GPS accuracy is not so good. Atm is sunny here and I'm outdoor and stay at the same place.

Is t possible to record the screen with the z1...i tried some Apps at the Playstore but no one would work.
[Xperia Z1 Original Android Development] tcchuin:
Intelliplug doesn't seem to be present on latest kernel, is it normal?
[Xperia Z1 Original Android Development] Destroyedbeauty:
Intelliplug is not working as for now, it requires custom WLAN modules!
[Xperia Z1 Original Android Development] :
Custom WLAN modules... That's gonna be a problem...
[Xperia Z1 Original Android Development] Destroyedbeauty:
[MENTION=2784807]DooMLoRD[/MENTION] will find them when he finds them, shortly explained! :)
[Xperia Z1 Original Android Development] pemell:
[MENTION=2784807]DooMLoRD[/MENTION] I'm using the port to ZU, but I would like to give some feedback anyway. I've enabled zram and it's working great. I thought my phone couldn't get any faster but now it's really flying.

My settings:

#!/system/bin/sh

echo 1 > /sys/block/zram0/reset

echo 1073741824 > /sys/block/zram0/disksize

mkswap /dev/block/zram0

swapon /dev/block/zram0
[Xperia Z1 Original Android Development] :
I know. But isn't custom WLAN modules hard to make/find.
[Xperia Z1 Original Android Development] MooNiSLe:
GPU Overclocking

It seems that the GPU Overclocking function can not work properly. Test with 533MHz and 450MHz, got totally the same results in Epic Citadel. Modified the max_gpuclk in kgsl-3d0 also max_freq, min_freq in devfreq and force the GPU runs on the highest clock by change the governor to performance and min_pwrlevel to 0.

Hope this problem can be fixed :)

P.S. Once got the same problem when using Carbon Kernel with GPU Overclocking, only the clock changes but no performance gain. More stranger, overclock the GPU in Carbon Kernel will bring slight stuttering to the system UI, all the animation effects become laggy. No such problem in DooMKerneL btw :)

Finally, when the problem solved, can we got 600MHz slot in the future? I'm totally a benchmarker no matter on mobile or computer :)

[MENTION=2784807]DooMLoRD[/MENTION]
[Xperia Z1 Original Android Development] raziel123:
Do we even need Zram with a 2Gb phone? :confused:

also does it really make difference in performance, considering the above?
[Xperia Z1 Original Android Development] pemell:
Nah surely you don't need it. But you could still use it. It's faster then swap so could potentially boost performance.

I reckon you know some about it but for everyone else, read up about it before enabling it.
[Xperia Z1 Original Android Development] Destroyedbeauty:
No idea. Only thing I know is that it takes hell of a time to find the proper ones for the specific model that requires them. That's why it took so long to get Intelliplug (=including ECO-Mode) hotplug driver to work on the original Z..
[Xperia Z1 Original Android Development] pemell:
Are you guys having problems changing gpu governor to simple_ondemand? My device force reboots when I try to set it. No issue with other governors. Please try it.
[Xperia Z1 Original Android Development] algarues:
I just wanted to let you know that if I flashed the kernel on the latest nut rom via recovery WiFi would not work

If I flashed it via fastboot everything works fine
[Xperia Z1 Original Android Development] HellRoot:
Finally flashed the kernel... Can anyone provide some good hints..with good performance, battery life.. And best app for kernel control?
[Xperia Z1 Original Android Development] Destroyedbeauty:
Check my post #1179 on page 118 for getting an good and balanced performance & battery friendly set-up, use Pimp My Z1 app for this! :)
[Xperia Z1 Original Android Development] HellRoot:
Thanks I will try it out :)
[Xperia Z1 Original Android Development] Destroyedbeauty:
Check the download link at the end of that post! :) :good:
[Xperia Z1 Original Android Development] HellRoot:
Yup.. Seems like a good app also... Nice to be able to control the camera mic gain...That mic is useless hehe :)
[Xperia Z1 Original Android Development] cCclown:
[MENTION=2784807]DooMLoRD[/MENTION]:

Any news on on screen gamma control support ?

Now that we have LCD color control, it would be great to have this option.
[Xperia Z1 Original Android Development] cyrom:
It seems pimp my z1 doesn't save any configurations I make. Keeps on returning to maximum=nan minimum=1190 etc. Gonna relock my bl now.
[Xperia Z1 Original Android Development] Destroyedbeauty:
It saves all of them, trust me. Install CPU Spy Plus app and check allowed frequencies (MIN & MAX) ones..
[Xperia Z1 Original Android Development] [Fenix]:
Thanks for this (also the settings for color calibration) but sometimes I see some lag (ui, multitasking)

However, really great job with this kernel dev! It's really awesome, lot of features and improvements [emoji106]

Inviato dal mio C6903 utilizzando Tapatalk
[Xperia Z1 Original Android Development] raziel123:
Switch to interactive or lagfree

I haven't seen any lag on those governors

Regards

---------- Post added at 11:13 PM ---------- Previous post was at 11:03 PM ----------

GPU governors aren't enabled yet, if I am not mistaken, apart from the stock one.

Hopefully Doomlord will sort this out in the future.

Regqrds
[Xperia Z1 Original Android Development] Destroyedbeauty:
They seems to be enabled for me, have changed to the msm_cpufreq GPU governor and everything seems to be rockstable here.. Not even going / changing back to the stock GPU governor!
[Xperia Z1 Original Android Development] cyrom:
Thanks mate. After few a few setups and restarts, it managed to save the settings. Btw thanks for your color settings and everything.
[Xperia Z1 Original Android Development] raziel123:
They are? :confused:

I tried Simple GPU governorand it froze the phone ...

perhaps only some of them are enabled,

is there any explanation of the GPU governors?

regards
[Xperia Z1 Original Android Development] DooMLoRD:
Ok so did some reading up, the project butter implementation is basically a jump in the minimum frequency to 1.19 Ghz when you touch the screen... Mpdecision will boost this minimum frequency... You can actually see this happening... Start any live could frequency control app (like fauxclock) don't touch the screen, then touch screen in blank space, you will see the minimum frequencyjump to 1.19 Ghz...

Will try and implement some tweakibility for this parameter...
[Xperia Z1 Original Android Development] Destroyedbeauty:
You're welcome! :)

I've not tried any of the others, except msm_cpu which spends more time at the lower frequencies, seems like this one likes the 200 Mhz frequency best. Try it.
[Xperia Z1 Original Android Development] DooMLoRD:
Here are screenshots supporting the above...

One is with Mpdecision turned off and other with it turned on... (no pun intended ;) )
[Xperia Z1 Original Android Development] tcchuin:
Disabling this will sort of make intelliplug less necessary! :D
[Xperia Z1 Original Android Development] HellRoot:
Remember to set on boot :)
[Xperia Z1 Original Android Development] raziel123:
thanks mate, will try,

Is there a way of setting the intellithermal management in Pimp my Z1?

wakelocks doing my head in (taking a toll on battery life) on the fauxclock app, waiting for an update to resolve the issue,
[Xperia Z1 Original Android Development] BaCKo85:
i have a problem with the last version . i am with ihackers 4.1 and doomkernel v15 . sometimes the phone turn off ...:rolleyes:
[Xperia Z1 Original Android Development] Destroyedbeauty:
Nope, we'll have to wait on the ETA .194 update of FauxClock app before we can install it again w/o getting those nasty wakelocks..

[MENTION=4752917]Androguide.fr[/MENTION] maybe adds Intellithermal controller to Pimp My Z1 app once he enables it in his Pimped Kernel.
[Xperia Z1 Original Android Development] cowen1000:
Quick question,

Is the radio/ baseband part of the kernel or the rom, or is it seperate from both? The reason i ask is that i am on criskelo 5.3.(kitkat) and doom 14 kernel but i random signal drops/ no signal etc and have read it could be down to the radio/ baseband and to flash a different one.

Thanks
[Xperia Z1 Original Android Development] nxkr:
I have flashed it on . 757 how can i access all the features you mentioned and other thing.. And why cant i take a ny pictures with the camera anybody else facing this issue on 757 (even b4 flahsing doom kernel)
[Xperia Z1 Original Android Development] Androguide.fr:
This also happens with intelli_plug, I have witnessed it in fauxclock just now.

In my experience it also happens on its own without touching the screen from time to time.

For the simple_ondemand GPU governor freezing the device, you need this commit: https://github.com/PimpedKernel/and...mmit/af76d45cd6f0f5a8e103923a98759500dc178224
[Xperia Z1 Original Android Development] HellRoot:
Did your camera work before the flashing of this kernel?

I use pimp my z1 to control kernel.. As I asked yesterday about the same :) works great
[Xperia Z1 Original Android Development] pranii23:
Gamma Control

[MENTION=2784807]DooMLoRD[/MENTION]

Any idea of implementing the Gamma Control ?
[Xperia Z1 Original Android Development] ffp.:
[MENTION=2784807]DooMLoRD[/MENTION], could you make it compatible with C6943 with mobile tv model, please?
[Xperia Z1 Original Android Development] Random Username:
[MENTION=2784807]DooMLoRD[/MENTION], sorry to be annoying, but could we get Doomkernel for the Z1 Compact anytime soon? Would be very nice :D
[Xperia Z1 Original Android Development] Paradelle:
[MENTION=2784807]DooMLoRD[/MENTION]

This kernel rocks.

That is all.
[Xperia Z1 Original Android Development] Juzman:
Kernel is running great.

Intelliactive / deadline @ 300-1500

Will the kernel ever support intelliplug by faux?
[Xperia Z1 Original Android Development] Destroyedbeauty:
When DooMLoRD finds custom PRONTO / PRIMA (?) WLAN modules..
[Xperia Z1 Original Android Development] :
I think you guys should stop doing @ doom lord too much. It would be bugging him.
[Xperia Z1 Original Android Development] Klaus N.:
Well, I'm on stock 757 deodexed now, and wow :D

[MENTION=2784807]DooMLoRD[/MENTION]

Thanks for your great kernel!
[Xperia Z1 Original Android Development] DooMLoRD:
Thanks! Will check the patch later...

Searching for compatible code...

Is that the Brazilian model?

I don't have that device so won't be developing for it...

(y)

not unless we can have custom wlan working on custom kernel...

;)

Enjoy!!!
[Xperia Z1 Original Android Development] xPoiled:
Hey doom,can you somehow make DT2W work on xzu?with such a gigantic device,dt2w will be of great help to us xzu owners.thanks!
[Xperia Z1 Original Android Development] ffp.:
Yes
[Xperia Z1 Original Android Development] raziel123:
fauxclock

Fauxclock app updated, I think the Wakelock issue is fixed. Also Gpu controls available
[Xperia Z1 Original Android Development] shaolin95:
:good: Sweet!
[Xperia Z1 Original Android Development] omegahanggara:
1.9.5? Nope.
[Xperia Z1 Original Android Development] Achu Gowda:
[MENTION=2784807]DooMLoRD[/MENTION]..can u tell me which is best governor and i/o scheduler ..?
[Xperia Z1 Original Android Development] poo-tang:
1.9.6 Yes :)
[Xperia Z1 Original Android Development] shaolin95:
If there was one BEST for all then there will only be ONE choice for governor and one for i/o ;)

Depends of what you want from your phone.
[Xperia Z1 Original Android Development] Achu Gowda:
i want performance n battery both balanced..
[Xperia Z1 Original Android Development] omegahanggara:
Reboot phone and just got an update from Playstore.

Confirmed, 1.9.6 works
[Xperia Z1 Original Android Development] DooMLoRD:
DooMKernel v16 released!

changelog

added msm_sleeper driver! this is basically a kernel level screen off frequency setting driver (thanks to [MENTION=4684315]flar2[/MENTION] ) {here is how to activate it}

added new I/O schedulers:

BFQ

ZEN

VR

fixed GPU governor - simple_ondemand crash (thanks to [MENTION=4152171]myfluxi[/MENTION] )

added optimized memory read/write drivers

download links at first post!

Please do consider donating if you like my work! I am raising funds to get the Xperia Z2 !

please keep the advanced stock kernel recovery package on sdcard to avoid bootloops!

please keep sending in your feedback it helps me improve my kernel! constructive feedback is ALWAYS welcome!

regards,

DooMLoRD
[Xperia Z1 Original Android Development] DooMLoRD:
msm_sleeper driver!

this should restrict the screen off max CPU frequency to 729MHz

its disabled by default...

the interface to control this is located at:

/sys/devices/system/cpu/cpu0/cpufreq/screen_off_max

to enable this driver execute the following command:

echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/screen_off_max

regards,

DooMLoRD
[Xperia Z1 Original Android Development] Destroyedbeauty:
This driver doesn't stop the device from entering deep sleep, right? *confused*
[Xperia Z1 Original Android Development] ekanix20:
No only sets the max CPU frequency when the screen is off. Deep sleep is not affected.
[Xperia Z1 Original Android Development] LLars_PL:
Thanks! But won`t it be to aggresive with 729mhz max?

I mean i know it will save quit of nice battery probably but I am asking because of Audio playback.

Poweramp with Viper4android with Highest quality settings(requires minimum dualcore) uses probably much of cpu while playback.

Won`t it stop audio from playback after screen off?

What is a typical cpu usage while this kind of usage? How could i get this cpu usage infos while screenoff?

I know it might be a stupid question since te requirements of v4a, but maybe the audio would playback and i could save some battery with this driver :)

Thanks!
[Xperia Z1 Original Android Development] omegahanggara:
Get re-boot because of cpubw_whmon GPU Governor

I got reboot if I set GPU Governor to cpubw_hwmon. I tried to pull last_kmsg to read the last log before my phone get re-booted, but last_kmsg doesn't exist.
[Xperia Z1 Original Android Development] DooMLoRD:
hey I just added the driver for testing... not even sure if its working a 100%... lets test it out!... if possible I will try and create an interface so that users can set the desired freq for screen-off...

thanks for reporting this! i can confirm that the issue is re-producible... i will try and find a fix!

keep sending in your feedback!
[Xperia Z1 Original Android Development] Destroyedbeauty:
Will make some testing by doing some screen-off activities (phone calls, file transfers).. Posting CPU Spy screenshot tonight!
[Xperia Z1 Original Android Development] Jay794:
I was just about to come on here and complain that version 14 came with a,lot of random reports, hopefully version 16 has fixed that
[Xperia Z1 Original Android Development] nxkr:
When ever i updated my phone to 757 camera still not working guys need help with this.. It boots ok but whenever i hit the capture button flash get stuck and no image is saved.. What to do
[Xperia Z1 Original Android Development] :
It's working for me
[Xperia Z1 Original Android Development] lil-diabo:
Is anyone getting random reboots with v16?

Flashed it last night using TWRP and since then I have had 3 random reboots.

I can't get a last_kmsg as it doesn't exist either

I've reverted back to v15 for now

Using the wheatley governor @ 1.9 Ghz and the msm_adreno-tz GPU governor at 320Mhz
[Xperia Z1 Original Android Development] :
No reboots for me. Flashed via CWM.
[Xperia Z1 Original Android Development] lil-diabo:
Could I ask you what settings / governor you're using?
[Xperia Z1 Original Android Development] :
That's all
[Xperia Z1 Original Android Development] Toldo:
V16 with intellidemand and normal using during easter (few calls, some emails, a little gaming), no reboots for me, good battery also, more than 3 days uptime. For everyday use, it's like 2 days uptime.
[Xperia Z1 Original Android Development] BlackSoulxxx:
Have anyone have problem with GPU Overclock frequency? It's seem that I can't push the GPU freq to 533 MHz coz 450 Mhz is the maximum freq on my phone. Using iHacker 4.1 + DooMKernel v15 and using FauxClock v1.9.5 and Pimp my Z1 ( I didnt know the version number but it's the lastest version). Have anyone success in pushing the GPU freq?:silly::silly:

BTW my Antutu X score is 33k. Or just me install lot of apps or by the kernel it self :confused::confused:

P/S: Will try using V16 and update FauxClock to 1.9.6 to see if it fix the problem :eek::eek::eek:
[Xperia Z1 Original Android Development] LLars_PL:
Hi DooM! :)

Here some feedback from the driver :)

I executed the code in terminal emulator.

On the interface code it says permission denied. (i typed in su first to get root permissions)

in second code (to enable it) it seems to be fine.

The audio is not stopping it seems to be a good frequency (if even working) -->

On Cpu Spy i can see how long the device was at 729Mhz --> looked after 5 min of hearing musik with screen off/ driver enabled -->

like +1 min only on 729 mhz (seems like the rest on higher ones but not sure because 652 became some time too ;).

Edit!

-Made screenshot from cpu spy

-Let the musik play for 10 minutes

-Again made screenshot

-Compared --> no frequency above 729 gained time! :D --> The most time the device was working on 300Mhz :o *shocked*

What i noticed is slow wake up. If i turn my screen on & quick swype to unlock --> it takes some more time to load :)

So thats all :) Hope this infos are usefull :) Thanks

Tested using C6903 CriskeloRom V 5.3 UB DooMkernel v16.
[Xperia Z1 Original Android Development] DooMLoRD:
[MENTION=4694028]LLars_PL[/MENTION]

Thanks for feedback... The max CPU clock should be locked at 729 MHz... The CPU is free to take clocks in between... This should help overheating while charging too...
[Xperia Z1 Original Android Development] omegahanggara:
Sir [MENTION=2784807]DooMLoRD[/MENTION], I wonder why we can't find last_kmsg?
[Xperia Z1 Original Android Development] Klaus N.:
Sorry, if I'm wrong here:

I'm on stock 757, ub, deodexed, with DooMKernel v.16. Now I've got the known problem, that user-apps normaly can't r/w on ext. sd since 4.4.2. I've already changed the download direction/folder of Firefox to /sdcard1/download (this worked with RomAur 7.0). What I have to do, that it works?

Thanks in advance!
[Xperia Z1 Original Android Development] poo-tang:
Just add the ability to write to external on 4.4.2 and won't have any issues :) - https://play.google.com/store/apps/details?id=nextapp.sdfix
[Xperia Z1 Original Android Development] omegahanggara:
Root your phone first, then do this

http://xdaforums.com/showthread.php?t=2687966
[Xperia Z1 Original Android Development] Nonda95:
I think that max cpu clock should be higher than now, because when I'm listening to music it sometimes freeze ;)

Wysłane z mojego C6903 przy użyciu Tapatalka
[Xperia Z1 Original Android Development] Klaus N.:
@poo-tang

@omegahanggara

Thanks for your reply, now it works :)
[Xperia Z1 Original Android Development] Roughnecks:
Solved