yashsingh1/xdaforums huggingface dataset:
[HTC One X+] maxwen:
actually this stands in the OP for the "noobs" :)

because sometimes certain rom features require

a specific kernel version and this makes it sure that noobs

use "at least" this version.

in general if I release a kernel in the BLADE thread or even here

that is newer then what is in the latest rom it means that you are save

to give it a try on ALL rom versions since this is always incremental
[HTC One X+] nchantmnt:
AW: [ROM] [International] 2013/03/14 AOKP 4.2.2 - 2.0c

What a mess... I just just came home, threw my suitcase into a corner eager to be able to test newest rom and kernel and guess what: my internet provider has some issues in my area resulting in about 5kb/s DL speed...

Will test and provide feedback asap

##### This is a Hoizbrettl. I use it for hauing special deppade Leid!
[HTC One X+] Notechis:
AW: [ROM] [International] 2013/03/14 AOKP 4.2.2 - 2.0c

Hi. I am using that Kernel without an issues since this morning. My ID is 3 ...

Everything is quite smooth and I have much more battery at evening. chapeuau :thumbup:

Is there a fast way to switch languages at keyboard?

Gesendet von meinem HTC One X+ mit Tapatalk 2
[HTC One X+] Mikey F:
ok, my ID is a 3. i installed the latest kernel from goo.im, and it seemed to make the BT glitch mildy better, although with that kernel the music cut out rather than glitched, not as often, but still there. I have just flashed the test kernel 20130315 and will test that, ill also run the adb command as well and see what happens.
[HTC One X+] nchantmnt:
AW: [ROM] [International] 2013/03/14 AOKP 4.2.2 - 2.0c

Downloading right now. For fast language change go to keyboard preferences and untick automatic language. Tick all languages u want to use and you'll get a keyboard like below. Use the globe for changing languages.

##### This is a Hoizbrettl. I use it for hauing special deppade Leid ;)
[HTC One X+] Notechis:
AW: [ROM] [International] 2013/03/14 AOKP 4.2.2 - 2.0c

THX that is what I expected... Doesnt work right now... I ll have to check... where my mistake is...

Gesendet von meinem HTC One X+ mit Tapatalk 2

---------- Post added at 10:07 PM ---------- Previous post was at 10:04 PM ----------

Solved...

Gesendet von meinem HTC One X+ mit Tapatalk 2
[HTC One X+] Mikey F:
so, I havent had a chance to check the BT audio yet, but my backlight buttons dont appear to be lighting up? ive changed the options in device options and no difference?

skype also doesnt seem to be working correctly, calls failing during the ringing stage

edit:

changed back to 20130313 kernel, backlights working again, skype working again, i did however uninstall skype and reinstall, so cant be certain that was kernel related, sorry :/
[HTC One X+] Lloir:
i suggest you test skype with other rom's MIGHT be an app issue
[HTC One X+] maxwen:
Just FYI:

The option in device options is actually just "overruling" any changes

to be made to the sysfs file responsible for button lighting

So if you check it is made sure that they will never light up

and if you uncheck it will become possible again,

But the code responsible for doing the real "work" is not influenced

by this in any way.
[HTC One X+] Mikey F:
as i said, the skype issue was resolved with a reinstall of skype. the backlights are working on 20130313 kernel, but they didnt work on the 20130315 kernel, for me anyway
[HTC One X+] maxwen:
can someone else using the 20130315 test kernel confirm this?

they are working fine for me

Are you using automatic brightness or manual?
[HTC One X+] aardappel12:
Re: [ROM] [International] 2013/03/14 AOKP 4.2.2 - 2.0c

Works fine here!
[HTC One X+] Notechis:
AW: [ROM] [International] 2013/03/14 AOKP 4.2.2 - 2.0c

Perfect,too

Gesendet von meinem HTC One X+ mit Tapatalk 2
[HTC One X+] yel@ch:
nope, does not work

just updated to the kernel from the rom --> with brightnes auto=no backlights --> manual=very low backlights

---------- Post added at 11:54 AM ---------- Previous post was at 11:51 AM ----------

could somebody give me some advises how to use the performance tool? what are the different options? what's the recommended setting? would it be possible to add a toggle for quick switchingg?
[HTC One X+] cornedor:
There are no real recommended settings because everyone uses his phone different.

For what would you like to see quick switching? It is already possible to create profiles. To do that you can change some settings, go to the profiles tab, fill in a name and press save. Now you just have to tab on one of the profiles to use that settings.
[HTC One X+] Notechis:
AW: [ROM] [International] 2013/03/14 AOKP 4.2.2 - 2.0c

I use between 1150 - 1400 Smart max Eps Row

Gesendet von meinem HTC One X+ mit Tapatalk 2
[HTC One X+] maxwen:
for automatic brightness:

please check in settings - display - custom light levels

if button backlight is disabled for sensor value

you can change enablement by putting a "0/1" to the buttons value

low backlight is "expected" and intentended to save battery

but we have this sinces "ages" and this is in the rom and not the kernel
[HTC One X+] Mikey F:
ok, I cant comment any further on the backlight issue, as im currently back on 20130313 kernel due to testing the other night and forgetting to go back to newest test kernel. I did what you asked maxwen about running that code in adb, in regard to the audio glitch., doesnt seem to have made much difference for me. it was still pretty bad on my drive in the car yesterday, i stopped and switched to "performance" in performance settings, and that sorted it out for all but 1 minor glitch today. but much better. but, assuming battery will suffer for being on performance?
[HTC One X+] maxwen:
yes :D

use better ondemand then for a2dp
[HTC One X+] Aust S5:
Just to let you know I was having intermittant a2dp streaming issues from 2b and now 2c. Did not appear before these so i guess the min freq are a bit low. Both versions full wipes with the boot img from ROM. Only difference i have is Im using apollo. Tried n7 and vlc but same issues.
[HTC One X+] maxwen:
if you already have them in 2b then its most probably the "a2dp audio quality fix"

can you please try this kernel - I have increased a2dp min frequency

from 204 to 340 there and I am very interessed if this changes anything

http://cyano-rob.tuennerhoff-edv.de/Maxwen/boot-BLADE-42-201303170259.img
[HTC One X+] Aust S5:
Re: [ROM] [International] 2013/03/14 AOKP 4.2.2 - 2.0c

Will do. About to flash kernel but won't be using the a2dp again till tomorrow. Will provide report then if another one hasn't already been dine for you.

Noobs™ click here for help

EDIT:

One other thing I noticed when moving to 2.0b was on my emulated sd card, where the users went to /0/appropriate directory, I now have /0/0/appropriate directory. Any reason for this or is it just a random change in my system and would just cutting and pasting through pc and then fixing permissions sort it out? Doesn't really worry me just something I noticed while flashing 2.0c
[HTC One X+] Mikey F:
Re: [ROM] [International] 2013/03/14 AOKP 4.2.2 - 2.0c

I'll try this when I get home tonight dude, cheers
[HTC One X+] maxwen:
I dont really understand what you mean by that :)
[HTC One X+] aardappel12:
Re: [ROM] [International] 2013/03/14 AOKP 4.2.2 - 2.0c

I'm guessing he meant to say that he now has a /data/media/0/0/

Basically an extra /0 folder I guess
[HTC One X+] Mikey F:
Im about to update to the latest kernel you posted above. but just before hand, i want to add that the music is not only still glitchy when using performance or on demand cpu settings, but its is glitchy when listening through headphones as well as bluetooth, i discovered this driving in my car (i have my phone plugged in via headphone socket)

I am just about to update kernel....

Edit:

ok, so, had the phone playing over a audio cable from headphone socket for an hour or so now after updating to 20130317 kernel, and no problems. think its still on "on demand " though, so, just switched it to smartmax, do i need to reboot when swapping, or is it "on the fly"?
[HTC One X+] Aust S5:
Re: [ROM] [International] 2013/03/14 AOKP 4.2.2 - 2.0c

A2dp used for approx an hour this morning and zero skips or stops in play so higher freq looks like its fixed the bug. EDITED SEE BELOW

In regards to the extra folder I do seem to have an extra "/o/" in the folder tree

Noobs™ click here for help

EDIT.

Ah seems I spoke to early. The stuttering was there again on the way home from work. Is there any use in doing a full wipe as well to see if that might help or was the kernel edit the best guess at the moment. It is worth noting that I havent changed any governors in performance control app either.
[HTC One X+] maxwen:
screen on or off?
[HTC One X+] shimi_pushka:
Hi

wanna flash back to 4.1

When I type

adb shell

cd /sdcard/0/

I always get an error:

c:\Android>adb shell

~ # ←[6ncd /sdcard/0/

cd /sdcard/0/

/sbin/sh: cd: can't cd to /sdcard/0/

Whats wrong?

I tried to Mount my storage in TWRP but there is no option for that... Can someon please help me.. Just trying now over 5h to put that folder back and remove sdcard0.....
[HTC One X+] aardappel12:
Why don't you just install 4.1.2 and then use rootexplorer or whatsoever and copy everything from the /0 folder over to /sdcard again and then delete the /0 folder?
[HTC One X+] shimi_pushka:
Tried... But failed... Cant copy it.. allways says that its copying.. never stops... Over 1h ...

Thats way I ask..
[HTC One X+] Mikey F:
i can confirmmthat the audio skipping issue is still here, on both BT and headphone jack. i cant confirm for definite that its with screen off, but would guess so as i leave my phone on the shelve out of sight, and it took a good 25-40 mins before it skipped so the screen wouldve gone off by that time. i have tried smartmax, on-demand and performance, all have the glitch.
[HTC One X+] cornedor:
Have you also tried the Audio lag fix switch in the Performance Tool (advanced tab)?
[HTC One X+] aardappel12:
I also noticed the audio lag on whichever governor, and with the fix applied!

It happens very randomly though, usually whenever I start to receive whatsapp msges or whatsoever..
[HTC One X+] maxwen:
then its simply cause by the fact that the freq is limited on screen off

if even the increase to 640Mhz is not enough you can go even higher

if it still bothers you

echo <freq> > /sys/module/cpu_tegra/parameters/suspend_cap_freq
[HTC One X+] Mikey F:
Ok, i have no idea what is causing it, just relaying my experience. I have currently swtched to cm10.1 and have been running that with latest 20130317 kernel and listening for nearly 2 hours without a problem. so, i assume it is something you changed? if you think running you latest cmd in adb shell will resolve it completely, id love to be back on aokp as apart from that issue, it was perfect for me!!

---------- Post added at 10:12 PM ---------- Previous post was at 10:05 PM ----------

edit: ok, scratch that, cm10.1 just had a small skip too :(

---------- Post added at 10:26 PM ---------- Previous post was at 10:12 PM ----------

the last line you gave to input into adb shell is giving an error?

syntax error '>' unexpected ?

ok, i worked it out, removed the <freq> and replaced with "freq" and it looks like it worked ;)
[HTC One X+] Aust S5:
Re: [ROM] [International] 2013/03/14 AOKP 4.2.2 - 2.0c

The skipping is with screen off. I use a Scala rider g9 headset on a motorcycle Helmut

Noobs™ click here for help
[HTC One X+] maxwen:
use this http://xdaforums.com/showpost.php?p=39296933&postcount=895

I would try starting with 640000

In general - an android phone is no ipod :D

the CPU is a shared resource and lags are always possible if

the phone needs to do too much work.

if your player supports increasing its output buffer this

might help to reduce lags
[HTC One X+] Mikey F:
ok, im starting from scratch, what gapps is recommended?
[HTC One X+] n3ocort3x:
http://goo.im/gapps/gapps-jb-20130301-signed.zip
[HTC One X+] Mikey F:
ok, ive done the following:

wiped: cache, dalvik cache, Factory reset, system. reboot recovery

install AOKP-42-20130314 - reboot recovery

install gapps-jb-20130301 - reboot system

go through sign in, cancel automatic apps download. enable adb on phone, open cmd and run adb shell and paste - echo <freq> > /sys/module/cpu_tegra/parameters/suspend_cap_freq

exit then adb -reboot

install google play music, plug in headphones and wait....

something very strange, first time upon opening play music, and pressing volume up, play music crashed, then pressing volume up again, trebuchet crashed, then vol up again, phone hot rebooted. opened play music, press vol up, it works normal, now playing music and waiting...
[HTC One X+] aardappel12:
Re: [ROM] [International] 2013/03/14 AOKP 4.2.2 - 2.0c

Shouldn't the <freq> be replaced by a number? Seeing with the audio fix in the PerformanceTool it's set at 640Mhz, I'd try something a lil bit higher than that
[HTC One X+] Mikey F:
i have just copied what maxwen has said, in reading it, i would imagine this removes all caps with the screen off, im testing this out now , so far 30 mins no glitch
[HTC One X+] maxwen:
Re: [ROM] [International] 2013/03/14 AOKP 4.2.2 - 2.0c

of course :)
[HTC One X+] Mikey F:
oh, i didnt put anything in there lol, which means what, it has done nothing?
[HTC One X+] maxwen:
correct

copy-and-paste shouldnt replace your brain :D

valid values you can use you will find in apps

like cpu spy - but keep in mind that the values must be

in KHz NOT Mhz

all possible values are

475000 640000 760000 910000 1000000 1150000 1300000 1400000 1500000 1600000 1700000

and yes - this means increasing the max freq possible during screen off == suspend

of-course keep in mind that this will cause more battery drain

so maybe make a script to set those only when needed
[HTC One X+] Mikey F:
well, a brain only works if it has the information in the first place!! haha, and mine didnt, so, i had no other available line of thinking.

edit: OK, so i have just set it at 760000, will test this this afternoon and come back with results
[HTC One X+] maxwen:
oh - so your brain needs to be told to do things like breath? :D:D:D

you shoulda take care of you then :p
[HTC One X+] Mikey F:
haha, well, breathing is automatic, learning script writing etc isnt :P

760000 still glitchy, trying 910000
[HTC One X+] flipside101:
Re: [ROM] [International] 2013/03/14 AOKP 4.2.2 - 2.0c

So far I'm having a glitch free world with 910000

Edit I'm also seeing a marked improvement when launching the camera from the lock screen

---------- Post added at 05:20 PM ---------- Previous post was at 05:10 PM ----------

OK scratch that its back and with the screen on. One thing I have noticed is that it seems to kick in when the mobile radio is switching connection type. I'm gonna set to 2g only and see what happens

Edit didn't help I restarted the app I'm using (power amp) and its gone but then I'm also in a more stable reception area now as well
[HTC One X+] Mikey F:
can someone just clarify for me why this is actually happening in the first place? is it the result of you trying to save battery life maxwen? by lowering the voltages i assume. it wasnt present in earlier versions of the rom so, tbh, id be happy to know what the setting were for them earlier versions and go with that, as i really dont care too much about battery, i charge every night nearly anyway
[HTC One X+] maxwen:
Re: [ROM] [International] 2013/03/14 AOKP 4.2.2 - 2.0c

please read again and understand http://xdaforums.com/showthread.php?p=39314702

nothing can give you a 100% lag free audio. That's the way unix and android works

it is a multitasking OS which can preempt the CPU from every process at any time

you can try to reduce the possibility at the price of battery.
[HTC One X+] Mikey F:
i dont understand why this has only just become a problem though. ive had the phone for 2 months now and this has only happened over the last 2 weeks? i understand your comment about multi tasking etc, but, something has changed surely? im not moaning, just want to understand whats going on better.
[HTC One X+] maxwen:
Re: [ROM] [International] 2013/03/14 AOKP 4.2.2 - 2.0c

then you need to help me

go back kernel versions and check if anything changes from that

if not do the same for roms
[HTC One X+] Mikey F:
I will happily do this for you, i will start tomorrow, going back kernels one at a time, if that bares no fruit then ill do roms like you say. i know this probably isnt a major issue for others, but as i said before, i listen to a lot of music through my phone, so for me, id like to help getting to the bottom of it :D :D
[HTC One X+] maxwen:
Re: [ROM] [International] 2013/03/14 AOKP 4.2.2 - 2.0c

just try to use a comparable setup.

So install they same apps and the same settings. Also try to minimize the number of apps installed in general that makes it also easier for you to switch roms.

Kernel versions should be compatible in general for all rom versions if you dont need special features. just make sure you use the same kernel settings like governors
[HTC One X+] flipside101:
Re: [ROM] [International] 2013/03/14 AOKP 4.2.2 - 2.0c

@maxwen yes I understand nothings perfect but this isn't a simple audio glitch for me this is over Bluetooth and the audio pulses in and out and can go on for 10- 15 seconds ,stop and then start again.

I'm not ding any sort of UV etc etc I am using the latest kernel/build etc.

Will drop back a few kernels and see if that helps but my posts earlier where an attempt to help with other factors that may be influencing the problem.
[HTC One X+] maxwen:
Re: [ROM] [International] 2013/03/14 AOKP 4.2.2 - 2.0c

go back two rom versions to test?

before 3.3
[HTC One X+] Aust S5:
Re: [ROM] [International] 2013/03/14 AOKP 4.2.2 - 2.0c

On a different side of the problem, is it possible its being caused when another BT device is near and checking if they can pair. I don't know if its just me but only seems to happen to me when in or around other vehicles on the road? Unfortunately I'm unable to log this while riding a bike and I only have the one a2dp capable headset. Just thinking of other possible causes so ignore if I'm way off.

Noobs™ click here for help
[HTC One X+] Mikey F:
as i said, for me it happens over the headphone jack as well, not just BT, so this means its definitely not to do with outside influence, for me anyway. Good thinking though
[HTC One X+] Aust S5:
Re: [ROM] [International] 2013/03/14 AOKP 4.2.2 - 2.0c

Fair enough. I haven't had it happen while using headphones yet. Guess that rules that out then.

Noobs™ click here for help
[HTC One X+] maxwen:
ok - I just used A2DP over my car stereo

tried ogg, mp3 and flac

governor smartmax_eps

and even with 204000 as the A2DP min frequency

NOT A SINGLE LAG in 1 hour - of course with screen off

allthough I would accept lags too somtimes

but whats important to note here

I am very very very keen to have a clean rom

so I dont use ANY ****ty apps that do syncing or some

strange background processing aside from the "standard" things

So for me this issue is closed here :)

BTW:lags are possible on screen on and off but that is logical since there is a peak in requested CPU resources here
[HTC One X+] cornedor:
Same here. Yesterday I had a single crack in my music. Using spotify and pretty low on battery so 1000 MHz and smartmax_eps. Was the first time I heard it.
[HTC One X+] Mikey F:
i wont bother you with it anymore unless i find something. im going to wipe my phone again, use latest rom and latest kernel, only install whatsap and google play, and test. i have been experiencing 2 or 3 major glitches per 1-2 hours of listening the last week or so. which for me is annoying. a quad core phone with 1gb of ram should be able to play music without a hitch, syncing or no syncing, so i refuse to currently believe the phones hardware is a limitation for this. I have had a htc desire, a samsung phone 4 years ago (forget the model) both of which played music via BT and headphone for hours without glitching and whilst syncing, connected to wifi etc. before i moved to the aosp roms in this forum i used the stock sense OS on the phone for over a week and had no issues there either. this is a recent occurance for me and thats why, in my head at least, something is causing it.

but,i understand its not a priority and will therefore leave it. if i find anything when testing the kernels/roms ill let you know.
[HTC One X+] maxwen:
on screen off you have only a single core available
[HTC One X+] Mikey F:
ok, i didnt know that, thank you.

im in the process of testing kernels, using latest kernel and latest rom and latest gapps i had 3 glitches in 2 hours, plus google play crash when pressing volume up, trebuchet crash, then hot reboot. strange :/

using 20130301 kernel atm. no crashes, and no glitches 45 mins in
[HTC One X+] maxwen:
does this one has BFQ as default I/O scheduler?

maybe thats the culperit then

so you may try a newer kernel and switch from ROW to BFQ

and see if it changes anything
[HTC One X+] PippoX3:
I never see before a presence, patience, constance and help like this from Maxwen! :good:

Thanks Maxwen!

All contributions are fully deserved!

:victory:
[HTC One X+] tombriden:
Mikey F, are you using some kind of ad blocker? I've been having these audio glitches too and tried all sorts of frequency combinations with no luck. I just did a logcat as soon as i had a glitch and it's full of

W/GoogleAnalyticsTracker( 8888): Problem with socket or streams.
W/GoogleAnalyticsTracker( 8888): java.net.ConnectException: failed to connect to www.google-analytics.com/127.0.0.1 (port 80): connect failed: ECONNREFUSED (Connection refused)
W/GoogleAnalyticsTracker( 8888):	at libcore.io.IoBridge.connect(IoBridge.java:114)
W/GoogleAnalyticsTracker( 8888):	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192)
W/GoogleAnalyticsTracker( 8888):	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:459)
W/GoogleAnalyticsTracker( 8888):	at java.net.Socket.connect(Socket.java:842)
W/GoogleAnalyticsTracker( 8888):	at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:119)
W/GoogleAnalyticsTracker( 8888):	at com.google.android.apps.analytics.PipelinedRequester.maybeOpenConnection(Unknown Source)
W/GoogleAnalyticsTracker( 8888):	at com.google.android.apps.analytics.PipelinedRequester.addRequest(Unknown Source)
W/GoogleAnalyticsTracker( 8888):	at com.google.android.apps.analytics.NetworkDispatcher$DispatcherThread$AsyncDispatchTask.dispatchSomePendingHits(Unknown Source)
W/GoogleAnalyticsTracker( 8888):	at com.google.android.apps.analytics.NetworkDispatcher$DispatcherThread$AsyncDispatchTask.run(Unknown Source)
W/GoogleAnalyticsTracker( 8888):	at android.os.Handler.handleCallback(Handler.java:725)
W/GoogleAnalyticsTracker( 8888):	at android.os.Handler.dispatchMessage(Handler.java:92)
W/GoogleAnalyticsTracker( 8888):	at android.os.Looper.loop(Looper.java:137)
W/GoogleAnalyticsTracker( 8888):	at android.os.HandlerThread.run(HandlerThread.java:60)
W/GoogleAnalyticsTracker( 8888): Caused by: libcore.io.ErrnoException: connect failed: ECONNREFUSED (Connection refused)
W/GoogleAnalyticsTracker( 8888):	at libcore.io.Posix.connect(Native Method)
W/GoogleAnalyticsTracker( 8888):	at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:85)
W/GoogleAnalyticsTracker( 8888):	at libcore.io.IoBridge.connectErrno(IoBridge.java:127)
W/GoogleAnalyticsTracker( 8888):	at libcore.io.IoBridge.connect(IoBridge.java:112)
W/GoogleAnalyticsTracker( 8888):	... 12 more

Turning off AdAway has stopped this exception and i'm so far running glitch free...
[HTC One X+] Mikey F:
Hi tbriden

im not using any adblocker i know of, and there isnt one included in the rom i dont think. i have tried running logcat whilst listening to music, but havent caught a glitch yet, im home quite a bit today so will try and see if anything shows up. thanks for the input :D.

Maxwen, yes, this has got bfq as the scheduler, however, i did still have a couple of minor (but less) glitches after posting that last message, probably an hour and a quarter in maybe.