yashsingh1/xdaforums huggingface dataset:
[Xperia Z Android Development] 23Six:
I'm getting no such wakelocks and the mod appears to have no effect on battery life.

Granted the more audio played, the more there is to process.

To greatly minimise AudioOut wakelocks turn off touch sounds and vibration.

For mediaserver, delete corrupt music files. No need for .nomedias.
[Xperia Z Android Development] dante501:
Side must be broken download not working no matter if PC or mobile proof right here.

And before you asked. Yes I have no software menu and back buttons on my xperia z. I like to have the full screen real estate not being screwed out of it. How to I navigate? Lmt launcher and full screen toggle are the apps that make it possible. Basically the navigation buttons only pop up if u hit a certain spot on the screen. So meaning it doesn't interfere when playing games or anything. U always have the full screen without having something cut of by the stupid software buttons.
[Xperia Z Android Development] Benjoy Ericsson:
Still waiting for v17 for fixing calling with bluetooth headset
[Xperia Z Android Development] tommybrrr:
Dude, don't get this wrong, but could you please be a bit more detailed about the init.d scripts you include in your MOD(filesystem, memory management, etc.)? For example, your onscreen/offscreen one you force the CPU to max frequency, this could be bad for a overclock enabled kernel (1.94gHz) ...
[Xperia Z Android Development] Benjoy Ericsson:
Could anyone please upload v15? I carelessly deteled v15 in my comp. v16.5 has bug with bluetooth calling so I want to roll back to v15.
[Xperia Z Android Development] Kylez:
me too...need v15....anyone please upload or pm me with the link...thanks
[Xperia Z Android Development] ZeroInfinity:
lucky you, my Media server is always around 20% when playing music and I'm getting like 1% decrease in battery every few mins (Not because of this mod though, ever since I moved onto the new firmware, I've been getting the worst battery life)

v15: http://d-h.st/b3e will not work with new firmware
[Xperia Z Android Development] Ploedman:
So the Mod is not working with Play Music (Google)?
[Xperia Z Android Development] Ergo Proxy:
Yes.. No.. Maybe.. Try it out?
[Xperia Z Android Development] Ploedman:
I did, but I hopped it's a bug why it's not working.
[Xperia Z Android Development] fards:
some of the hacks in the init.d are really pointless and causing the battery drain.
[Xperia Z Android Development] wawyed:
Is it possible to enable clearaudio+ on spotify?
[Xperia Z Android Development] johan8:
v15 is here

http://d-h.st/cD1
[Xperia Z Android Development] ZeroInfinity:
It works, I've been using play music last few weeks and it works good :)

Tell that to Windows X lol, I'm only using his scripts to keep audio skipping at bay

Probably.
[Xperia Z Android Development] timchew:
Flashed v11 with the new firmware and it worked. Louder speaker volume. However, it seems that the speaker is muted for call when I clicked on speaker to allow call on speaker.
[Xperia Z Android Development] brutal_noise:
Mediaserver process is running whenever you're using some kind of media (pics/vids/music). The more you listen to music , the more it will drain. In my case it's using about 70-80% of the battery, however battery drain is about 2-3 percent per hour which is good enough for me(with .434 drain was exactly the same).
[Xperia Z Android Development] eddietah:
Sorry edited by eddietah
[Xperia Z Android Development] tommybrrr:
Yeah, I personally removed all of them, except 99pure.
[Xperia Z Android Development] ZeroInfinity:
And you don't get any audio skipping issues without those scripts?!
[Xperia Z Android Development] tommybrrr:
I use the neutron player, best android audio player, sort of "you have to get used to it" ui, but 64bit audio rendering - no skipping issues - worth a try at least!
[Xperia Z Android Development] ZeroInfinity:
yeah but that's 3rd party player helping out with the audio skipping issue, can you test and see if walkman produces any audio skipping (Remember to use FLAC to test)? I've been getting a few audio skips during somewhere after the 3rd quater of the song lol
[Xperia Z Android Development] doki81:
Hi Zero,

previously on v14 or v15, i remember you did mentioned you going to make a mod (preset file) for power amp.

will you implement it in upcoming version?
[Xperia Z Android Development] ZeroInfinity:
Maybe, I'm off PowerAmp again since I'm not used to it's GUI.

Could you send me your data folder in /data/data/com.maxmpz.audioplayer ? :)
[Xperia Z Android Development] cuongking:
can me flash for CM 10.1 rom ???
[Xperia Z Android Development] ZeroInfinity:
Can you read the OP???
[Xperia Z Android Development] doki81:
Pmed you :)
[Xperia Z Android Development] cuongking:
sory my bad English, but i flash it in CM 10.1 but i don't see PureX in settings - sound
[Xperia Z Android Development] ZeroInfinity:
Obviously because there isn't a setting for it!

Does AOSP Have Walkman? NO.

Does AOSP Have Walkman sound Enhancements? NO.

some of the things might not work on AOSP but don't tell me to fix it, read note 2 in the first post
[Xperia Z Android Development] ZeroInfinity:
Been a week now, v17 is almost done ;)

Brought back HTC's audio libraries (I missed them sooo much!) so much wider soundstage and more realistic surround sound when you choose Surround Sound (VPT) in Sound Enhancements! :D Yup, good 'old HTC audio :p

v17 will be using HTC One's soundfx libraries from the latest base. I will give a full changelog in a few days (No ETA)

Edit: no more skipping! I will now test 11.6MHz audio now and see if this works without skipping!
[Xperia Z Android Development] lethalfriend:
Will eagerly wait for the next update ;)
[Xperia Z Android Development] Benjoy Ericsson:
Will v17 fix buetooth calling bug?
[Xperia Z Android Development] ZeroInfinity:
It SHOULD be fixed

Swiped from my Super fast XPERIA Z C6603 powered by EXCELSUS Z ROM
[Xperia Z Android Development] charmidz:
Can someone give me the numbers equalizer purexbeat, purexpsychorealism and purexhiclarity, I changed it and now want to return to the default configuration :( [MENTION=4388232]ZeroInfinity[/MENTION]: Bro

Please! Help me
[Xperia Z Android Development] ZeroInfinity:
Reflash the whole mod lol it's not hard

EDIT: New Changelog for v17:

No exact ETA but will release sometime this week.
[Xperia Z Android Development] ST4YSTR0NG:
Dam I love it! So much better.

Edit: Not long after I flashed the mod, I finally got .253 ota -.- and trying to install it now.

I tried flashing the stock patch and it didnt work, so I suppose it doesnt fully revert whats changed?
[Xperia Z Android Development] SaGaR_:
I don't know where you have seen a stock patch....as there isn't one..

The one in the first post is a "stock VOLUME patch"

So only the volume will go stock

Verstuurd van mijn C6603
[Xperia Z Android Development] doki81:
will V17 support for poweramp?:D
[Xperia Z Android Development] ST4YSTR0NG:
Yes I meant the stock VOLUME patch.
[Xperia Z Android Development] fer2503:
There is a problem. When reboot the Phone the equalizer set user defined 1 automatically
[Xperia Z Android Development] ZeroInfinity:
Been reported for ages now, still trying hard to fix it but can't find any solution for it, I know it's something to do with the permissions

Swiped from my Super fast XPERIA Z C6603 powered by EXCELSUS Z ROM
[Xperia Z Android Development] glukasil:
cpu clocking problems

hi guys....please build a patch to return sound to stock..... firmware 253.....doomlord kernel........your patch messes with cpu min and max speed..........please check doomlord v7 kernel topic.......

---------- Post added at 11:36 AM ---------- Previous post was at 11:29 AM ----------

@users having the "CPU jumping 1.9GHz" issues

the kernel will ALWAYS boot at max CPU clock of 1.5GHz...

one user contacted me over p.m. that he observed the issue to occur when he flash the "PureXAudio" mod by [MENTION=4388232]ZeroInfinity[/MENTION] ... i investigated the update.zip and this is what i found:

check out the file: /system/etc/init.d/S99xperia_screenstate_scaling

Code:

.

.

.

# ==============================================================

# ==============================================================

# beginning of the screenstate-scaling loop

# ==============================================================

# ==============================================================

min_freq=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq`;

max_freq=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq`;

.

.

.

AWAKE=`cat /sys/power/wait_for_fb_wake`;

if [ $AWAKE = "awake" ]; then

# ==============================================================

# limiting the max/min frequencies

# ==============================================================

# =========

# set maximum & minimum frequency to 1000 & 200 MHz (1 GHz)

# =========

echo $min_freq > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq;

echo $max_freq > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq;

.

.

.

i pitty the users who blindly flash such files...

the author of this "MOD"/script doesnt know that its not a good idea to pull highest possible frequency from kernel cpuinfo_max_freq and then apply it to current scaling policy scaling_max_freq...

here is an explanation of what is wrong:

this stupid script checks what is the maximum supported CPU frequency:

Code:

max_freq=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq`;

(which on my kernel is 1.9GHz)

and then when the screen is awake it changes ur current CPU scaling profile MAX frequency to that value:

Code:

echo $max_freq > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq;

(which overrides the default policy of 1.5GHz set by my kernel)

so now ur current CPU scaling policy becomes: Min: 192MHz & Max: 1.9GHz!

as i have been saying again and again if u keep flashing such stupid/copy-pasted scripts then dont blame me if ur device heats up/bricks...

now i dont know which other "mods"/scripts are floating around in custom ROMs... but i advice users to find such scripts/mods in /system/etc/init.d folder and DELETE THEM!

P.S.: what is a CPU scaling script doing in a AUDIO mod?
[Xperia Z Android Development] FSN:
Interesting fact. Sadly I don't know enough of all those things to research more, so I wait for a statement of the developer :)
[Xperia Z Android Development] ZeroInfinity:
in case you don't know, I'm only using fidelity scripts by Windows X to stop audio skipping...

Already fixed ages ago, just haven't had the time to release it a update, I will do it this week

I have cleaned up the scripts and only left the useful lines and I/O tweaks to still stop audio skipping from happening

Swiped from my Super fast XPERIA Z C6603 powered by EXCELSUS Z ROM
[Xperia Z Android Development] wawyed:
You should at least try to understand what are you copying pasting before adding it to your own mod. Imho.

No offense.
[Xperia Z Android Development] ZeroInfinity:
v17 release changelog, will be releasing in a few hours...
[Xperia Z Android Development] defsix:
Did you resolve the "CPU jumping 1.9GHz" issues that Doomlord was talking about ?
[Xperia Z Android Development] ZeroInfinity:
What does this tell you?

"-Cleaned up init.d scripts (Should increase battery life and fix some bugs)"

EDIT: v17 is out...

If you are having audio skipping issues, make sure that you exclude: Walkman (If you have 2 Walkman apps, select the second one), PureXAudio Engine and MusicFX in STAMINA Mode so that the phone will not try and make it inactive.
[Xperia Z Android Development] kompisPL:
I want to update from this v16.5 to v17 do i need wipe dalvik after, or just install and restart phone?
[Xperia Z Android Development] ZeroInfinity:
install and reboot
[Xperia Z Android Development] defsix:
Sorry, i didn't see that before I posted. Do I need to re apply stock volume patch too?

Sent from my Brain via my Keyboard on my Xperia Z
[Xperia Z Android Development] ZeroInfinity:
if you want stock volume patch then sure lol
[Xperia Z Android Development] doki81:
flashed v17 and finally no more cpu spike issues..walkman seem to back on performance with v17...on v16.5 i have to use back poweramp..

thx Zero!!
[Xperia Z Android Development] Kelvin0007:
Hi I'm in 253 with mod V15 can I just flash this over or I need to start over stock? Just wanna be sure. Thanks this great mod zero!
[Xperia Z Android Development] ZeroInfinity:
if you are on v15, I recommend you flash v16, 16.5 then v17. This is to make sure the files I removed from v16/16.5 are also removed on your phone.
[Xperia Z Android Development] Kelvin0007:
Thanks I will do that :)
[Xperia Z Android Development] cfbruck:
Hi, it looks great, but how do I uninstall it if i do dont like it? Do i need to wipe and reflash the rom I'm using? Is there some way to turn it on and off? With audio stuff you usually want to compare back and forth a bit.
[Xperia Z Android Development] Kelvin0007:
Oh couldnt find the mods files in first post, can someone please share them V16 and V16.5?
[Xperia Z Android Development] ZeroInfinity:
Hmmm well... uhhh

Maybe read the OP first????????????? :rolleyes:

Read/Search before asking... always...

Now, READ the OP first to get all the information... I didn't make the OP so that no one could read it...

[MENTION=2100419]Kelvin0007[/MENTION] http://d-h.st/fdE and http://d-h.st/TSi
[Xperia Z Android Development] cfbruck:
Ok, thanks, I'll improve my reading skills :)
[Xperia Z Android Development] fer2503:
sorry zeroinfinity...why you decrease xloud volume?...i thing that was perfect in v16 :D
[Xperia Z Android Development] ethan3686:
Can i flash the EXTRA VOLUME BOOST mod with this?
[Xperia Z Android Development] ZeroInfinity:
Google voice tone sound effect had crackles on the 1st ringtone volume step so that made me feel like it was too loud still...

Sure but don't complain if you break your speakers or hear distortions

Swiped from my Super fast XPERIA Z C6603 powered by EXCELSUS Z ROM
[Xperia Z Android Development] JPWOA:
How is battery life with V17? Anyone with high MediaServer?
[Xperia Z Android Development] ZeroInfinity:
Media Server is still high for me but not affect battery life that much. I'm more worried about the screen battery drain over Media server tbh...
[Xperia Z Android Development] ethan3686:
Cannot flash v17..failed..says cant open zip
[Xperia Z Android Development] ZeroInfinity:
Probably bad download, download again and see if it works, I'm pretty sure there isn't anything wrong with the mod

Swiped from my Super fast XPERIA Z C6603 powered by EXCELSUS Z ROM
[Xperia Z Android Development] Thidge:
Still had problem with Bluetooth as before with this version no sound on call in my car
[Xperia Z Android Development] ethan3686:
Ok it wasnt happening thru twrp..tried with cwm and voila! Dont know why?
[Xperia Z Android Development] ZeroInfinity:
Still? I'll look into it later. It is hard for me to fix because I never use Bluetooth so I can't test...

I'll probably just release a Bluetooth fix back in the early releases of PXA where it restores audio_policy.conf back to stock but also means the sampling rate will be stock too.

Bluetooth has a lot of limitations and you can't really make Bluetooth audio super great as you could with wired headphones.

Swiped from my Super fast XPERIA Z C6603 powered by EXCELSUS Z ROM
[Xperia Z Android Development] fulltimepanda:
Just on using PXA with AOSP/4.2.2 based roms, I've tried to use it with the main few that are out now (aokp/carbon/PAC/cm10.1) and it sort of works. After installing a ported version of walkman with sound effects manager and you can hear it but audio skips, you can stop the skipping temporarily by swapping audio players but comes back after a few songs. I suspect it's something to do with 4.2.2 as I've tried a few different ports of walkman with SEM.

Just going to have to make do with the volume boost in the mean time :crying:
[Xperia Z Android Development] doki81:
are you using the universal version aka PXA Lite?
[Xperia Z Android Development] fulltimepanda:
The full version.
[Xperia Z Android Development] meghanath reddy:
Can I instal this in carbon rom
[Xperia Z Android Development] ZeroInfinity:
Can you try before asking? Like I clearly stated in the Op? :rolleyes:
[Xperia Z Android Development] meghanath reddy:
It's working good

But in some cases it's getting stopped
[Xperia Z Android Development] ZeroInfinity:
Guys, I'm gonna work on PowerAmp stuff now :D If I can, I will release my custom (More advanced due to Poweramp's precise band frequencies) PureX Presets (PureXPsychoRealism will be first though, HiClarity and Beats will have to come later)

Stereo X makes my head feel a bit weird for some reason but I can't stop having enough of that effect! >.< (Reminds me or SRS Enhancement back in my EVO 3D on Sense 3.0)

So yeah, I'll be doing more stuff with PowerAmp in the next version ;)
[Xperia Z Android Development] Dsteppa:
That's great news!

If you're able to let the music sound similar as with the WALKMAN app, then I'll switch immediately! The only reason why I kept using WALKMAN is because of your app, in my opinion WALKMAN isn't advanced enough, you can do way more with PowerAmp when it comes to settings etc.
[Xperia Z Android Development] fer2503:
V17 it's very good but i think that the speaker volume Could be a Little louder, not lower in v16.5,but between v16.5 and V17 and became perfect for the future version :D
[Xperia Z Android Development] ZeroInfinity:
Sure thing, I guess a little won't hurt :)
[Xperia Z Android Development] nikc0069:
Zero, seriously good work here :) Ever need a tester in Hove give me a shout ;)
[Xperia Z Android Development] fer2503:
perfect! :D
[Xperia Z Android Development] keroic:
Thanks ZeroInfinity providing us a great sound experience.

But, I would like to know are there a guide that I want to make a version upgrade which the Xperia Z already installed Purexaudio (e.g. v16 to v17), as I tried to do install from external sd card for the newest release, I always get the bootloop stuck at the Sony Logo. Would you mind provide us the good practice for the version upgrade of Purexaudio.

Thanks a lot.
[Xperia Z Android Development] eddietah:
PureXAudio v17 + ExtraSoundMod = :good:
[Xperia Z Android Development] ZeroInfinity:
If you have v16 and want to upgrade to v17, you need to update to v16.5 and then v17

Link to v16.5: http://d-h.st/fdE

That's why people should update whenever I update the soundmod or else you will have to go though a process or installing all the other updates you have missed out.

There isn't much point for instructions, just flash the new version over the previous version, wipe dalvik cache and done! there isn't any bootloops or problems at all if you flashed it this way (Like most of us here have done)
[Xperia Z Android Development] keroic:
Thank you so much, ZeroInfinity!

Let's have an another try by following the instuction!!;)
[Xperia Z Android Development] SaGaR_:
Do you have to do that beginning from v1 or what? :o

Verstuurd van mijn C6603
[Xperia Z Android Development] eddietah:
I just update my sony xperia z firmware:4.1.2 Build:10.1.1.A.434 from v11 to v17 reboot then flash EXTRA VOLUME BOOST reboot and everything is working fine for me :good:

The only time that I got bootloop is that I install bass booster from playstore but after I uninstall it everything is back to normal lol ;)
[Xperia Z Android Development] ZeroInfinity:
Then don't report any bugs, say hello to left over files from v11...

From where your previous version was up until the latest version.
[Xperia Z Android Development] eddietah:
So you are telling me that in order to update to v17 without any bugs.

I have to go thru one by one update that is from v11 to v12 to v13 to v14 to v15 to v16 to v16.5 then to v17 :eek:
[Xperia Z Android Development] SaGaR_:
And say I have stock audio so no PXA at all?

Verstuurd van mijn C6603
[Xperia Z Android Development] ZeroInfinity:
If you have no PXA and just stock audio, you may just install v17

Lol read back a few posts, I already said this before...
[Xperia Z Android Development] jvs60:
So if I'm starting fresh with no previous versions can i just install v17?
[Xperia Z Android Development] Benjoy Ericsson:
Yes, you can flash v17 if starting from a fresh stock rom.

---------------------------------------

I'm still waiting for a higher ver which will fix bluetooth calling bug.
[Xperia Z Android Development] bouod:
install PXA17 and S-Force on stock 253

delete everything in init.d except these lines from 99pure

mount -t debugfs debugfs /sys/kernel/debug
#Mount system for alsa config
mount -o rw,remount /system
#Full Access To ALSA
chmod 777 /dev/snd/*;
chown 0.0 /dev/snd/*;
#Using ALSA Drivers
export AUDIODRIVER=alsa;
setprop AUDIODRIVER alsa;
setprop ro.sound.driver alsa;
mount -o ro,remount /system
#ExtraProperties
setprop persist.audio.fluence.mode broadside;
setprop audio.converter.samplerate.preferred libsamplerate;
setprop audio.converter.samplerate.libsamplerate.quality zero_order;
setprop default.pcm.rate_converter samplerate_zero_order;
setprop ro.qc.sdk.audio.ssr true;
setprop ro.qc.sdk.audio.fluencetype fluencepro;
setprop af.resampler.quality 255;
setprop ro.somc.sforce.supported true
# alsa: suspend/wakeup ALSA devices
echo "89alsa"
case "$1" in
hibernate|suspend)
;;
thaw|resume)
aplay -d 1 /dev/zero
;;
*) exit $NA
;;
esac
chmod 666 /dev/snd/*
echo "alsa enabled."

delete com.sonyericsson.audioeffect.odex and semc_audioeffectif.odex then wipe dalvik/cache

to get rid of android upgrading message caused by S-Force

every thing is working fine

no skipping on flac

car Bluetooth call sound is there

thanks for your hard work
[Xperia Z Android Development] ZeroInfinity:
Bluetooth works? I though someone said it didn't work a while ago on v17...
[Xperia Z Android Development] bouod:
yes, bluetooth call sound works fine in my car.
[Xperia Z Android Development] dyepnoodle:
Zero, im on RomAur v4.2 and doomkernel v7 is it ok to flash this mod or do i have to remove some tweaks on init.d? Can i justa flash ver 17 without going to 16 and 16.5? Thanks!
[Xperia Z Android Development] Benjoy Ericsson:
If so, could you update a small update (maybe v17.5) which fix bluetooth call?
[Xperia Z Android Development] olafs93:
Jusr flash V17 it will work :)
[Xperia Z Android Development] fulltimepanda:
Also again on running this with AOSP/CM 4.2.2 based roms, it doesn't seem to be related to sony's sound enhancements, skipping still occurs if you use other equalisers.
[Xperia Z Android Development] ZeroInfinity:
Whatever version you were on, flash all the new updates until you are on the latest one to get rid of all those files which were deleted in the versions you missed out on. (e.g if you are on v14, you need to flash v15, 16, 16.5 and 17 to get all the updates you missed out.)

If you are on STOCK audio, then just flash v17

I'm confused... someone a few posts ago just told me bt call works on v17...

That's probably related to the ROM because most of the users don't get this anymore :)
[Xperia Z Android Development] eddietah:
So if I were to flash back to v11 from v17 then I have to flash v16.5, v16, v15, v14, v13, v12 then finally v11 is it :confused:

I can't flash to v11 straight away from v17 is it :confused:
[Xperia Z Android Development] ZeroInfinity:
if you want to downgrade, wipe system, reinstall rom and then flash v11.

Only if you are upgrading, you have to flash the versions you missed out. So next time if you want to upgrade from v11, you must again flash v12, v13, v14 etc until you are on the newest version
[Xperia Z Android Development] eddietah:
So troublesome :eek:

What I did to flash back to v11 from v17 was reboot recovery using XZRecovery first wipe Cache then wipe Dalvik Cache then flash v11 reboot then flash EXTRA VOLUME BOOST reboot and everything seem to work as normal and the sound listening thru speaker is loud and also thru headphone is awesome :good:
[Xperia Z Android Development] ZeroInfinity:
Yeah but by doing so, you still have some parts of v17 because just flashing an old version over does not remove any new files in v17...

Nevermind, if you want to install it that way, that's fine by me.