yashsingh1/xdaforums huggingface dataset:
[Sony Xperia Z Ultra] Godaemon:
Tommy-GeeNexus which hotplug driver do you suggest?

I am currently using Intelliplug with Eco(2) profile.

Another thing regarding performance is the highest frequency. I noticed its limited to 2150 from 2256. Could you please return it to the higher (stock) value?

Suggestion: The idea of CPU OC is not bad if there is a realistic scenario and target frequency like 2360 and 2480 for CPU (most S800 chips have the potential for 2360 and half of them , the best chips can achieve 2480).

For GPU I suggest 2 extra steps (500 & 550). The first is easily achieved.

I would be glad if you release a build with these options. :)
[Sony Xperia Z Ultra] Tommy-Geenexus:
Max freq for the Ultra is 2,15 ghz?

I won't add any type of overclocking, there is a reason the Sony engineers defaulted the current clocks.

I recommend using the balanced profile, if you want eco simply limit max cores to 2 and it will shift to eco profile.
[Sony Xperia Z Ultra] JetskiMark:
This is the last time that I saw dt2w mentioned. I am definitely not asking for an ETA. I am just curious if this will even be a possibility for KitKat.

Or am I missing something? (Quite possible.)

Keep up the good work.
[Sony Xperia Z Ultra] blueether:
the driver for KK is a bit of a dirty hack to get DT2W working, the driver in LP (to me) looks much easier to get a clean interface
[Sony Xperia Z Ultra] Godaemon:
The stock max frequency from Sony for Z Ultra is 2256 not 2150. That's why i found strange that this kernel supports only 2150 and not the correct one. 2150 is for other devices with Snapdragon 800 like the Z1.

Is possible to fix this??
[Sony Xperia Z Ultra] Tommy-Geenexus:
The max freq on my Z U is 2.15 Ghz.

Sony is using the lower binned S800, and so its stated on the white paper.

Are you sure your max freq is > 2.15 Ghz?
[Sony Xperia Z Ultra] E90 Commie:
Time for me to chime in here since I flashed the kernel yesterday.

It's a really great kernel and the UKM/Synapse combo took me by storm, TricksterMod went out the door.;) I also managed to put -20 mV UV in and it works well.

The power consumption is low and I like the ElementalX governor that seems to do its job very well (I enable it through Tasker on a per app basis).

When it comes to clock frequencies: Yes, 2256 MHz is the stock frequency for the Ultra AFAIK and I have used it with different kernels without any problems. The white papers states "2.2 GHz" as the clock frequency (even if it can argued that 2150 can be rounded up as well). If I remember correctly now (it is a while ago), DoomKernel v02 (GPe) is a 2256 MHz kernel.

I would certainly ask for 2256 MHz with Zombie as well if it is possible since it is the nominal frequency for the Ultra and works perfectly well. In fact, my Ultra remains stable up to around 2496 MHz but I fully understand and respect the wishes to not overclock the kernel. The performance is so great already that OC isn't necessary, I dare to say.

The kernel works great with AICP and the performance is smoother than with the CM kernel that ROM ships with as default.

Keep up the good work!
[Sony Xperia Z Ultra] Godaemon:
Put aside anything custom , i am talking about Sony Stock ROM and Kernel :)

I've never noticed anything below than this when is comes to max freq.

[MENTION=1547420]E90 Commie[/MENTION]

I used -50mV at once and worked fine (i also stressed my CPU with some tests to be sure and the stability is 100%). Most chips should be able to be 100% with -50 as a base for your undervolting.

You can then search it further if you want.

Just curious :

Whats your PVS bin number guys?
[Sony Xperia Z Ultra] Tommy-Geenexus:
Can you post your speed bin here please? (/sys/module/clock-krait-8974)

We need the speed bin, only devices with speed bin 1 are clocked at 2.26 Ghz.
[Sony Xperia Z Ultra] Godaemon:
My speed bin is 2 according to synapse and the file above
[Sony Xperia Z Ultra] Tommy-Geenexus:
Thats what i thought.

Your CPU is clocked at 2.15 Ghz, Sony is indeed using lower binned SOC's.
[Sony Xperia Z Ultra] Godaemon:
I am confused now lol, then why my max freq is 2256 ? It should have been 2150
[Sony Xperia Z Ultra] Tommy-Geenexus:
Your max freq can't be 2.26 Ghz, it isn't present in the kernel source (atleast on cm roms, haven't looked into stock source).
[Sony Xperia Z Ultra] Godaemon:
I have tried Slim, Paranoid, carbon etc plus stock Roms. It was always 2256 with the same voltage applied here for the 2150. Anyway, can i add it now or you need to build another kernel??
[Sony Xperia Z Ultra] blueether:
Yeah the ZU is using the lower bin 800 SoC. 1 and 2 from memory. This is why some ZU will OC to 600 on the GPU and others will stay at 450 I think
[Sony Xperia Z Ultra] Tommy-Geenexus:
No, this is impossible. The frequency is not in the kernel source, your CPU cannot run at 2.26 Ghz.

Also if it has the same voltage as 2.15 Ghz then there's something tricking you.

The Z U uses 0 and 2, 1 is actually the highest and only bin that runs at 2.26 Ghz.

The current Gpu Oc doesn't work anyway, but i saw a implementation on the Nexus 5 which may work here too.
[Sony Xperia Z Ultra] E90 Commie:
Regarding UV: -50 mV is way to aggressive for my device, on some frequencies at least. -20 mV works well but I suspect that there are some frequency that doesn't like it either since I had an unexpected crash yesterday which I suspect is related to my UV. I guess I will sit down one day and simply test all frequencies with StabilityTest and aggressive UV. From my earlier testing, it seems like my device is sensitive for UV around 1.4 GHz.

I am sorry that I haven't been able to check my bin yet but will do, is very busy at work at the moment. I have both a C6802 (one of the very first ones since I bought it on August 1, 2013) and a C6833 (November 2014) which was a very recent one since it had a very recent stock ROM preinstalled. Will check the bin on both of them.

In both cases, 2256 has worked without any problems. No indications of anything negative such as overheat or anything. DoomKernel offer 2256, both the v20 and v02 GPe (which I used with the GPe ROM 4.4.4). Now I am using your kernel with AICP.

Edit: My C6802 has bin 0 when I checked. The C6833 says bin 0 in the same place.

Despite this "setback", I have used 2256 for months without noticing anything abnormal with the device (C6802).
[Sony Xperia Z Ultra] Tommy-Geenexus:
Now after chacking the source it's clear why the max is at 2.26 Ghz.

The speed bin is forced to 1, thus making the device overclockable and bumping the max freq.

This is a dirty hack and i won't add it, it doesn't get you any benefits either way.

Btw at all:

Our touch driver supports glove mode, its just not enabled and exposed, i'll try getting it working too, shouldn't be too much of a problem.
[Sony Xperia Z Ultra] Tommy-Geenexus:
The first Lollipop build is up.

Please report and test how it's going.

I will add features back from KK slowly and also add some requested features, please be patient.

The OP is split now, and KK releases are still present.

Hint: Synapse seems to work ok so far, but could be unstable.
[Sony Xperia Z Ultra] madsponge26:
can i test it?:fingers-crossed:
[Sony Xperia Z Ultra] :
Still need to flash UKM to enable Synapse?

Edit: Flashed UKM. Works.

Not integrated into ramdisk yet, I guess.
[Sony Xperia Z Ultra] Tommy-Geenexus:
Sure, build is up @ the OP.

Yes, i'll add it to the ramdisk soon.
[Sony Xperia Z Ultra] Tommy-Geenexus:
The cyanogen recovery is present.

I will move to a new ramdisk once cm nightlies are starting and tweak it, integrate Synapse and may switch to TWRP.
[Sony Xperia Z Ultra] nedooo:
Thanks a lot, you are first person I saw that recognised Snapdragon 800 - GPU overclocking was only virtual not actual (I mean ramping GPU frequency up for +20% and getting lower fps was just ridiculous) :)

Thanks a lot for time and effort...
[Sony Xperia Z Ultra] Tommy-Geenexus:
The current implementation used in the kernels here is not working.

We can get it working, i saw a working implementation, but i don't see the use of oc'ing at all.
[Sony Xperia Z Ultra] Eddiemc:
Please switch to twrp. Maybe it's just me, but the current cm recovery (the one in cm12) doesn't work well. I can't even flash your kernel;)
[Sony Xperia Z Ultra] Tommy-Geenexus:
Yes will do so. Btw a new cm12 nightly with everything working will be up today, finally.
[Sony Xperia Z Ultra] Berget:
i just flashed cm12, but the cyanogen recovey cant flash gapps....

i have tried to flash TWRP but i cant get it to work start... please help :o
[Sony Xperia Z Ultra] Tommy-Geenexus:
su
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel

[MENTION=535343]all[/MENTION]

Flash the MultiRom TWRP, and you have the newest fully working recovery!
[Sony Xperia Z Ultra] saenz4931:
Where can I get the zip.... Can't find anything on my search button.. Will appreciate it... Thanks in advance
[Sony Xperia Z Ultra] 3ftguru:
Look into Original Android Development. There is the Multirom thread over there
[Sony Xperia Z Ultra] Sm0L:
Hi, is this LP kernel compatible with resurrection remix LP and MultiROM?
[Sony Xperia Z Ultra] Tommy-Geenexus:
Yes and no.
[Sony Xperia Z Ultra] Tommy-Geenexus:
Just finished adding MultiRom and making the modified TWRP boot, so far so good. Also you can use your device as USB Keyboard from now on.
[Sony Xperia Z Ultra] diamantericos:
You mean flash or fastboot?
[Sony Xperia Z Ultra] Tommy-Geenexus:
Fastboot flashes the image.
[Sony Xperia Z Ultra] Aphex13:
I'm not interested in installing a second rom, but I do want a working recovery. Is there a way to just flash the modded recovery, or do we need to follow the entire guide for dual boot? Thanks in advance.
[Sony Xperia Z Ultra] Tommy-Geenexus:
Wait for my new release, then you'll have TWRP working.
[Sony Xperia Z Ultra] Aphex13:
I've never wanted to like a post twice so bad my entire life. Thanks!
[Sony Xperia Z Ultra] Tommy-Geenexus:
Full credits to the guys maintaining AOSP roms together with TWRP, the stock cm boot image fails to load twrp cause of a too small maximum buffer size in the ramdisk.
[Sony Xperia Z Ultra] Tommy-Geenexus:
Hi all,

a new update is up.

Whole bunch of new stuff added (also Kexec), ramdisk now sucessfully boots TWRP.

For installing TWRP refer to the MultiRom thread.

Flash and enjoy!
[Sony Xperia Z Ultra] :
OP points to Zombie-lp-b1.zip

https://www.androidfilehost.com/?fid=95897840722647562
[Sony Xperia Z Ultra] Tommy-Geenexus:
Thanks, fixed.

Hint

: UKM works fine with the new build.

I currently rethink the ramdisk implementation, i believe it's better to keep it seperate.
[Sony Xperia Z Ultra] :
USB Keyboard doesn't work with built in Superuser and needs SuperSU.

This is the app that is needed to use USB keyboard (Probably should be added to OP).

Also, I figured out why Synapse was saying "Boot settings canceled." I had rebooted my phone and then rebooted it again before two minutes was over. Synapse canceled boot every time after that. The way that I fixed it was by simply going into Synapse and clicking "Apply" and not rebooting or shutting down for at least 2 minutes. Just a dumb mistake on my part.

SuperSu wasn't necessary at that time, but now with the USB Keyboard it is.
[Sony Xperia Z Ultra] Tommy-Geenexus:
Yes, i highly recommend using SuperSU to avoid any issues.

I will update the OP later, thanks for the suggestion.
[Sony Xperia Z Ultra] aspiens:
Port Scrubber 5.0 Lolipop Gpe + Zombie LP = bootlop :(
[Sony Xperia Z Ultra] blueether:
Not that likely to have worked, but thanks to testing for us ;)
[Sony Xperia Z Ultra] wtfhax:
[MENTION=5243932]Tommy-Geenexus[/MENTION] any chance the kitkat version gonna have kexec patch? Think some of us like me for example are still sticking on kitkat for now. Thanks! :)
[Sony Xperia Z Ultra] Tommy-Geenexus:
Gpe kernel source is completely different.

Hmm, i'll see.

I don't have the Kitkat stuff on my pc anymore, but i'll see if i can sync the repo and build KitKat once again ;)
[Sony Xperia Z Ultra] wtfhax:
Thanks for the effort! Lollipop isn't as great as i thought it will be without xposed. ;)
[Sony Xperia Z Ultra] Unknown_2517:
[MENTION=5243932]Tommy-Geenexus[/MENTION]

my battery life is great after using your Zombie Kernel with Resurrection Remix v5.3.1.

I think the result is not so bad for a two year Z ultra Phone.
[Sony Xperia Z Ultra] Tommy-Geenexus:
The next kernel build will fix an issue i came across esp. on CM based roms.

It all started on cm11 when i regularly faced ghost touches.

I found that it is related to the glove mode, and i hoped the new touch driver would fix this.

Well, it didn't. So i did.

I said once i would bring in glove mode, but after removing it and fixing the touch driver there are finally no more ghost touches (glove mode never worked anyway).
[Sony Xperia Z Ultra] Tommy-Geenexus:
New build is up!

A new freshly compiled build is up, it includes tons of backports and updates.

This build probably doesn't support MultiRom TWRP, i'm still waiting for my pull request to get merged on cm git.

Note: it only works on CM nightlies 28.01 or newer.

Flash the newest UKM for full control (and disable cpuboost when using mpdecision to save some juice!)
[Sony Xperia Z Ultra] Godaemon:
Thx Tommy!! Any chance for a KK updated version??? :D
[Sony Xperia Z Ultra] Tommy-Geenexus:
I would love to build, but i'm lacking a fast net connection and time ( i am forced to tether wifi from my phone :().

If anyone wants to build feel free to share it here then!
[Sony Xperia Z Ultra] veskostoev:
Will work with Resurrection Remix v5.3.2 yes? Thank you.
[Sony Xperia Z Ultra] Tommy-Geenexus:
Yes. But there may be sone network issues due to ramdisk updates by cm today. Test it and report back ;)
[Sony Xperia Z Ultra] Triflot:
Thanks for your continual support, Tommy! Works well!

The newest version doesn't support MultiROM TWRP, like you said. However, I don't think CM accepts pull requests through GitHub; you should use its Gerrit system. That said, there have been a few similar commits before which were abandoned, so not sure how interested they are in this solution...
[Sony Xperia Z Ultra] Tommy-Geenexus:
Thanks, i don't look at gerrit very often.

I may contact a rom developer then to build a rom with the fix included, this will be the only workaround afaik.
[Sony Xperia Z Ultra] wtfhax:
Built one from your kk git source. Anyone else want to test it? Currently i'm down with high fever gonna rest a while.

Edit: Wifi fail to start
[Sony Xperia Z Ultra] veskostoev:
Works no problems and Synapse too.Thank you.
[Sony Xperia Z Ultra] diamantericos:
No issues with network on lollipop ?
[Sony Xperia Z Ultra] Saatvik Shukla:
Lollipop Kernel you said? :cyclops:

Let me flash it then :D

[MENTION=5243932]Tommy-Geenexus[/MENTION] :highfive:
[Sony Xperia Z Ultra] Tommy-Geenexus:
Go ahead, you won't regret it ;)
[Sony Xperia Z Ultra] veskostoev:
No problems for the moment Wifi and LTE are good same speeds no disconections today.
[Sony Xperia Z Ultra] cerebralplaya74:
will this work on ZU GPE running CM12?
[Sony Xperia Z Ultra] Tommy-Geenexus:
I honestly can't tell you.

I am not aware in what the gpe really differs, i think only some partition stuff.

For safety reasons i would say no, but if anyone has more knowledge about the diffs then please enlighten me.
[Sony Xperia Z Ultra] diamantericos:
Damn hard choice i can't stand the network issues but I do like twrp cm recovery sucks rocks . did anyone see if the Bluetooth issues was resolved with this kernel
[Sony Xperia Z Ultra] alia5:
[MENTION=3534362]blueether[/MENTION] i think can tell more about this, am I right?
[Sony Xperia Z Ultra] Hilmhaz:
Tried it on C8602 with unofficial Carbon build 30, had no trouble booting primary and secondary rom :good:, but WiFi fail to start

Just informing :)
[Sony Xperia Z Ultra] blueether:
It wont kill the device, the only issue on KK tended to be wifi - so I'd say give it a shot, just have you current kernel ready to flash back or better yet just hot boot this boot.img
[Sony Xperia Z Ultra] wtfhax:
My c6802 died. Micro USB port is fried probably too much plug in and out. Can't do testing anymore until i get it fixed.
[Sony Xperia Z Ultra] shaolin95:
Guys I am running [ROM] [Unofficial] [V9]Dirty Unicorns 5.0.2 {Togari} which I need to flash the CM kernel image which has a CM Recovery in which I cannot find any option to flash this. IS there any way to flash this kernel with Flash Tool?

Thanks!
[Sony Xperia Z Ultra] :
The way I do it is to fastboot boot a boot.img with a working recovery. After you execute the fastboot boot command your phone will boot. When you see a purple LED, press the up volume key.

I have attached the boot.img that I use along with a batch file that will execute

fastboot boot boot.img

for you if you're running Windows. Just extract both files to the same folder and run the batch file.
[Sony Xperia Z Ultra] shaolin95:
Ok so I was able to flash it but now I get the Sony logo and then it just restarts again to the Sony logo and automatically opens Recovery after that.

Somehow my phone is not taking this kernel well with the current ROM :/
[Sony Xperia Z Ultra] Tommy-Geenexus:
Guys,

I am currently very busy with exams, meaning that i only have time to work on the kernel on weekends from now on for the next 1-2 months.

I'll try to keep up with cm merges and continue to release builds, the next release is scheduled this weekend.
[Sony Xperia Z Ultra] 3ftguru:
WiFi doesn't work when I flash this on a couple of ROMs. When I flash back the ROM, WiFi got restored. Thanks for your efforts. Hope it gets resolved in time for the next release.
[Sony Xperia Z Ultra] Tommy-Geenexus:
[MENTION=1245967]3ftguru[/MENTION]

Don't flash this on recent cm builds yet.

Wifi driver needs an update first!

Will be included in the next version.
[Sony Xperia Z Ultra] Godaemon:
I know that most of you are interested in LP but some of us still use KK.

I would like to make a public request since Tommy is really busy with real life and more focused on LP builds.

Can anyone make a new KK build and add CPU/GPU OC options???

Dont touch anything else just a working implementation of the above :D
[Sony Xperia Z Ultra] Tommy-Geenexus:
Hi,

i made a small test build with oc for lollipop. It's present but not enabled in the kernel source.

The first testing showed no gains that would be benefical, though it may require further voltage tweaking.

But in the end there is a reason only speed bin 1 gains benefits when overclocked, like other devices show.
[Sony Xperia Z Ultra] MusterMaxMueller:
need help building bootable lollipop kernel

[MENTION=5243932]Tommy-Geenexus[/MENTION]

hi,

im having problem building a bootable lollipop kernel:

http://xdaforums.com/xperia-z-ultra/help/make-bootable-lollipop-kernel-t3022639

For your kernel i had to change a line in defconfig (CONFIG_THERMAL_MONITOR=y) otherwise kernel wont compile.

Also tried to compile your kernel with -Os with no difference (made clean build). As i mentioned in the other thread if i compile your kernel its about 3mb bigger :eek:

Im pretty desperat because i have no idea how to fix it or how to get logs.

maybe you can help?
[Sony Xperia Z Ultra] Tommy-Geenexus:
Whats the commandline you used to assemble zImage and ramdisk?

Which defconfig did you use? (togari_lp_defconfig)
[Sony Xperia Z Ultra] MusterMaxMueller:
thanks for reply,

i used lp_togari_defconfig but as i mentioned i had to adjust it.

but i had the same problems with cm kernel where i used cm_rhine_togari_row_defconfig

i just used "mka bootimage" for kernel or "mka liquid" to make whole rom. for kitkat that worked fine.

so i need to add ramdisk manually? like it is mentioned here: http://developer.sonymobile.com/kno...-rebuild-kernels-for-flagship-xperia-devices/ ?

./mkqcdtbootimg --kernel $(KERNEL_SRC_PATH)/arch/arm/boot/zImage --ramdisk ramdisk.cpio.gz --base 0x00000000 --ramdisk_offset 0x02000000 --tags_offset 0x01E00000 --pagesize 2048 --cmdline "androidboot.hardware=qcom user_debug=31 maxcpus=2 msm_rtb.filter=0x3F ehci-hcd.park=3 msm_rtb.enable=0 lpj=192598 dwc3.maximum_speed=high dwc3_msm.prop_chg_detect=Y" --dt_dir $(KERNEL_SRC_PATH)/arch/arm/boot/ -o boot.img

i thought its already done by the build script because i get following output in console when i build:

zcat /home/llan/liquid/out/target/product/togari/ramdisk.img > /home/llan/liquid/out/target/product/togari/ramdisk.cpio

and

Made DT image: /home/llan/liquid/out/target/product/togari/dt.img

----- Making recovery image ------

Copying baseline ramdisk...

Modifying ramdisk contents...

----- Making uncompressed recovery ramdisk ------

/home/llan/liquid/out/host/linux-x86/bin/mkbootfs /home/llan/liquid/out/target/product/togari/recovery/root > /home/llan/liquid/out/target/product/togari/ramdisk-recovery.cpio

Target boot image: /home/llan/liquid/out/target/product/togari/boot.img

Made boot image: /home/llan/liquid/out/target/product/togari/boot.img

so its only making ramdisk but not packing it?

thanks in advance
[Sony Xperia Z Ultra] Tommy-Geenexus:
No, it seems to work fine.

Can you share the compiler warning while compiling the kernel?

I don't experience it.

Have you made any changes to the kernel compression?

Because using LZO or LZ4 prevents kernel boot.
[Verizon Motorola Droid Turbo Q&A, Help & Troublesh] mattlach:
Hey all,

Is this possible with the Droid Turbo?

I'm used to plugging my phones in via USB, and having the file system mount as a mass storage device, allowing me to move files to and from my phone easily.

When I plug in the Droid Turbo, I have two choices, either MTP, which just brings up an installer of some sort, or camera mode, which only allows me access to pictures and videos.

Now granted, all of my past Android phones have been running third party images (mostly Cyanogenmod) and maybe this is the reason for the difference (though I thought I had file system access with stock image in the past, but maybe I am misremembering)

Any thoughts on anything I can do to get complete file system access?
[Verizon Motorola Droid Turbo Q&A, Help & Troublesh] fatasian:
Works for me. ES file manager does too.
[Verizon Motorola Droid Turbo Q&A, Help & Troublesh] mattlach:
I have file system access from the phone using ES no problem, and can mount usb storage using one of those adapters.

I'm talking about access to the phones file system from the computer using USB.

Worked perfectly on my old phone, doesn't with the Turbo.
[Verizon Motorola Droid Turbo Q&A, Help & Troublesh] fatasian:
OIC, not that I know of.
[Verizon Motorola Droid Turbo Q&A, Help & Troublesh] PerCompLLC:
Sounds like it might be a driver issue. I plugged my phone into my computer (Windows 7) shortly after I got home with the turbo and moved a bunch of backed up files onto the turbo without any issues at all.
[Verizon Motorola Droid Turbo Q&A, Help & Troublesh] mattlach:
Hmm. Could be. I'm on a Linux desktop, but have never had this problem before...
[Verizon Motorola Droid Turbo Q&A, Help & Troublesh] PerCompLLC:
Understood. Hardware manufacturers modify drivers so frequently though that that is probably the issue. Can't say that I've attempted to connect to my linux box yet...
[Verizon Motorola Droid Turbo Q&A, Help & Troublesh] mattlach:
I know. Never understood the need for specialized drivers when they could just mount as a standard USB Mass Srorage device and be compatible with everything out of the box

But I guess that would just make too much sense...
[Verizon Motorola Droid Turbo Q&A, Help & Troublesh] Steve One:
Has anyone tried a otg with it yet