yashsingh1/xdaforums huggingface dataset:
[Verizon Samsung Galaxy S 4] ejaytt:
Still having this problem :( Have tried those terminal commands, pumping air through the speaker and have confirmed that it does work with the output of the raw_data. What is the minimum/default value of the output? The lowest score I'm about to achieve is 64 and highest of 255 when my finger is placed over the sensor.

I know nothing about how the sensor works but could it be that 64 is higher than the value needed to switch the screen back on?

It's really frustrating as it makes it difficult to end calls (have to hit the home button and then notifications and hang up on the current call... which sometimes not always works) and impossible to press numbers during a call.
[Verizon Samsung Galaxy S 4] chillware:
My low is at 23-25 when uncovered in a bright room. covered it's 255.. sounds like you may still have some dust or something in there?
[Verizon Samsung Galaxy S 4] Pay919:
How do you see the values?
[Verizon Samsung Galaxy S 4] ejaytt:
Oh great! Thanks for checking that. I got my bike pump and blew some air through the earpiece and got the value down to 51. I suspect it could go further if you're reading 23 but it's down low enough that it's functioning correctly in calls =)

So it's not CGM at all, and after some googling appears as though it's a well known issue with S4s

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

If you're able to get into the shell on the phone, either through terminal or through SSH, type this command in (not sure but maybe you might also need busybox and root for 'cat' to work).

cat /sys/devices/virtual/sensors/proximity_sensor/raw_data

It will output the value of what the sensor is reading
[Verizon Samsung Galaxy S 4] Pay919:
Awesome thanks!

So like you, my lowest score was 64 and covered it was 255. Is there a way to set the threshold at a higher value like 150?

Edit: Okay, so I don't have compressed air on me so just by blowing and squeezing on the area I was able to change the values a little. The screen stays on during calls when the value reads 59 or below, but not at 60.

So the threshold is at 60...
[Verizon Samsung Galaxy S 4] chillware:
I'm having to blow air into my phone a couple of times a week now, the issue keeps coming back.. blow some air then it's fixed for awhile.. anyone try taking the phone apart to clean yet?
[Verizon Samsung Galaxy S 4] Neffy27:
Just to give an update to this post. I have a Verizon Samsung Galaxy S4 (SCH-I545) running Cyanogenmod Android 4.3.1.

This method did work for me and wanted to say thanks to all those involved in finding/providing a solution. Touch Wiz Rom or Touch Wiz based Rom or hidden menu NOT needed.

I retyped the method for even more clarity below (from Reddit & XDA). You do need root and highly recommend using SSHDroid to SSH to your device for use of an actual keyboard vice Terminal app:

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

So to calibrate it manually.

1. In the terminal type:

cd /sys/devices/virtual/sensors/proximity_sensor/

2. Next type while your finger is over the sensor : cat state

Mine returned 87

3. Next type while your finger is away from the sensor (Blank Value): cat state

Mine returned 154

(Steps 2 & 3 just test to see if the sensor is working properly, values should be different. Also do NOT use my values, you have to determine yours)

4. Next Read the Actual Configuration (Actual Sensor Offset, Cancellation Threshold): cat prox_cal

Mine returned 0, 60, 45.

(you only need the 1st value which is 0 in my case)

5. Next Calculate your sensor value: (Actual Sensor Offset) + (Blank Value) = (New Offset)

So mine was 87 + 0 = 87

6. Next Convert the (New Offset) to HEX

Just Google "# to hex", I got "0x57"

Finally write the changes to the sensor via these commands:

# echo -en $ '\x57' > /efs/prox_cal

then

# chown system:system /efs/prox_cal

# chmod 644 /efs/prox_cal

# sync

# Reboot

Just a disclaimer to cover myself, I am not responsible if you brick your device. Highly unlikely, but glad to finally have this solution.
[Verizon Samsung Galaxy S 4] Neffy27:
I flashed the Lollipop ROM by Danvdh and the method above stopped working for me.

For those still having the proximity sensor issue (screen stays black during calls), highly recommend this app on the playstore: S4 Sensors [Requires ROOT!] by DaGentooBoy

Took two calibrations for me. Its $1.99 though. You do have that 15 min to refund but I like supporting the Devs of the apps/ROMs I benefit from.
[Sony Xperia T, TL, TX, V] emuX:
Hi all.

I have used a MHL cable with my Xperia T ever since I got it.

With the original firmware, it would work fine with a basic HDMI cable and pretty much any TV with a HDMI input.

I've just been on holiday for 2 wks and discovered on day 2 that the latest firmware had a different MHL driver that requires HDCP. Apart from needing a newer spec cable, I also need a TV which supports HDCP - which the one at the holiday home didn't. My 5 year old was not impressed with not being able to watch any of his films for 2 wks!

So, anyone know of a way of getting back to a state where MHL is more user friendly? (Without having to rip back to earlier firmware.)

Seems mad Sony would force the feature since a lot of TVs don't support HDCP.
[Sony Xperia T, TL, TX, V] emuX:
After no responses and my own continuing investigations I've solved my own problem and thought I'd post the outcome in case anybody else has a similar issue...

The MHL functionality works fine if both the TV and the cable are pre-HDCP. The problem I must've actually had was that the TV was HDCP compliant but my cable isn't HDMI v1.3+ (so didn't support HDCP.)

Basically, the solution to the problem I was experiencing is to use a HDCP compliant cable in all cases. That way it'll work on HDCP compliant and older spec TVs regardless. My confusion was caused by the message the phone prompted, which said the TV had to support HDCP - when in fact it did and the cable was the problem!
[General Topics] vada:
where can i find a software that will allow you to create folders for SMSs?
[General Topics] David Young:
Creating Folder for SMS's

You can do this using "Messaging"

"TOOLS"

"MANAGE FOLDERS"

"New Folder"

create as many as you need, you can call them whatever you wish.

then when you need to,

move the message to the required folder using

Tap & Hold - Move to,

and select the folder you want to put the message into.

Bear in mind that these folders will disappear if you carry out a Hard Reset, and you will need to re-create them
[HTC One X+] tombriden:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

AOSP+ 0.8 - Android 4.3

AOSP+ is a collaboration ROM from myself and Lloir. Lloir enjoys using pure vanilla AOSP whereas I have always enjoyed the features from CM or AOKP. After trying out AOSP I was impressed with its speed and smoothness and found I actually only missed a few small things from those other ROMs so decided to port over just those features. The result: AOSP+

For all the changes over AOSP, see the second post.

All code that is not built directly from the google repositories can be found on github here https://github.com/AospPlus/

3rd party apps included in the ROM:

Superuser by Koush

LockClock from CM - much as Lloir hates it, i quite like it so it's gone in :)

Torch from CM

ShareLogs from cornedor - we will provide NO support unless the logs from this app are included with your post!

We welcome suggestions of other things people like from other ROMs that you want included but we want to try and keep all changes as light as possible to stay as close to AOSP as we can. Also, feel free to add your own features and make pull requests to our repos to have them included.

Kernel

Source: https://github.com/AospPlus/android_kernel_htc_enrc2b-BLADE

The boot.img in the ROM is the BLADE kernel. This contains ramdisk changes required for 4.3 so must be flashed.

Downloads

ROM

GAPPS

Installation

Extract boot.img from ROM zip and install from bootloader

fastboot flash boot boot.img

A factory reset and system wipe is always recommended (use Titanium to backup/restore your apps and data) but may not be required. If you have issues, please try and recreate them after a factory reset/system wipe before reporting them.

Install ROM and GAPPS from recovery

Wipe cache/dalvik

Reboot.

Thanks to...

[MENTION=1660234]Lloir[/MENTION] for working with me to get 4.3 working

[MENTION=4683552]maxwen[/MENTION] for his BLADE kernel

[MENTION=244331]corne[/MENTION] for his ShareLogs tool

CyanogenMod Team

XDA:DevDB Information

AOSP+ 4.3, a ROM for the HTC One X+

Contributors

tombriden, Lloir

ROM OS Version: 4.3.x Jellybean

Based On: AOSP

Version Information

Status: Testing

Created 2013-09-16

Last Updated 2013-10-28
[HTC One X+] tombriden:
Everything seems to be working except for...

Known Issues

Camera only at 5MP

MHL

SELinux is disabled

HD videos don't work

Video recording now works but freezes when you press stop

Some issues with calls over BT

Changelog

2013-10-28 - 0.9.0 - Experimental

Updated audio blobs to official enrc2b JB 4.2 blobs!!! (huge thanks to Thömy in the endeavoru forums for this one)

Back to a stock based kernel to work with new audio blobs, all BLADE features are now missing

Removed Advanced Settings menu as none of them are applicable to the current kernel

2013-10-14 - 0.8.9

Updated to AOSP 4.3.1_r1 (JLS36I)

Reverted KSM changes to see if that was the cause of random reboots

2013-09-20 - 0.8.8

Re-added T-Mobile theme engine

Re-added overlay to disable Nfc by default

Fixed bluetooth

Updated sources to AOSP 4.3_r3.1

No more Superuser countdown

2013-09-17 - 0.8.7

Fixed superuser daemon not starting from ramdisk

Enable KSM

Updated AOSP sources to 4.3_r3 (JLS36C)

2013-09-14 - 0.8.6

Fixed double tap home

Synced device tree with cm

2013-09-04 - 0.8.5

All other 4.2.2 libs that can be updated, now have been updated.

Synced up with the CM device repos to make my life easier when working on both

Fix for hardware decoding/encoding video (so HD videos and camcorder work (though now a different issue with recording))

SELinux now on in permissive mode

Fix audioflinger crash on receipt of notifications

2013-08-26 - 0.8.4

Update to android-4.3_r2.2 (JSS15Q)

Updated a whole bunch of blobs from 4.2.2 OTA

2013-08-19 - 0.8.3

Only override the picture-size-values if the string is actually broken (fixes issue with front camera resolutions also being overridden and so causing it to crash)

fix ramdisk issue that cause Torch to FC

2013-08-18 - 0.8.2

Modified camera wrapper to return picture-size-values from previous vendor lib as new one is >256 chars

2013-08-18 - 0.8.1

Back to using BLADE rom; still too early days for mine :)

Re-added Advanced Settings to control BLADE options

2013-08-17 - 0.8

New kernel based closely on HTC stock

Updated camera proprietary libs from latest HTC 4.2.2 dump

Option to map double-press on home

Existing AOSP+ features rebased on Android 4.3

Volume wake option

Disable safe headset warning

Hardware keys remapping option

Improved display of metadata on lock screen music widget

Green LED at 100% when charging, not 90

Reboot option

Swapped round the Wifi QuickTile press/longpress functionality (ie press to enable/disable, long press to go to settings)

Rearranged of the quick tiles to what I think is a better layout, with radio/network icons grouped together, ending with Airplane mode that disables them all

Integration of SuperUser into Settings
[HTC One X+] tombriden:
FAQ

Titanium Backup won't restore/backup apks

Open Preferences

Select Backup folder location

Press back until you get back to /

Select /sdcard

Press use current folder

Select 'No' when asked to move backup files
[HTC One X+] Lloir:
\o/ i suppose i better sort out PaP soon
[HTC One X+] Ranomez:
Am I stupid or what, cause I see the EndeavorUParts.apk in the zip but no Advanced settings in the settings?
[HTC One X+] tombriden:
Oh yeh, I forgot to exclude it from the build. Normally you'd get to if from Settings but as the ROM doesn't come with BLADE it'd only confuse things to have it there as none of the options would work
[HTC One X+] Ranomez:
Does the kernel have S2W support so I can activate it from an app on the market, and also should I flash the blade patched kernel after I flash the rom, cause I flashed it before and ended up with no signal at all, and then flashed the included kernel and everything works?
[HTC One X+] tombriden:
No this doesn't have s2w, and i just realised that the script to copy the BLADE modules is in the ramdisk so won't be there once you've repacked it. What you can do though, is download this https://github.com/AospPlus/android.../aosp-plus_4.2.2-r1.1/scripts/01-module-check

then push to init.d while in recovery and make it executable

adb reboot recovery
adb shell mount /system
adb push 01-module-check /system/etc/init.d/
adb shell chmod 755 /system/etc/init.d/01-module-check

then flash blade and hopefully it'll work :)

failing that, it might be worth giving an existing blade-42 a try; i know it didn't work on open master (pre 4.3) but i don't think i've tried it on 4.3 itself
[HTC One X+] ForceField:
Hi,

I just installed this ROM but I am having no sound

Is there a way to fix it?
[HTC One X+] tombriden:
Hmm, audio's working here; can you just try reflashing the kernel followed by

fastboot erase cache
[HTC One X+] Ranomez:
In a call I get no sound if I try to switch to speackers, only normal calls working, also Viper4Android doesen't want to install the driver and gives an error asking if I am rooted and having busybox, installed busybox installer from sterycson from the play store and it says just Busybox installed and where it is, no version, Installing fails.....any help, allready reflashed the rom so thats not the problem?

EDIT: also included Camera app can only go to 5MP, and Focal can go to 6
[HTC One X+] ForceField:
Hi,Yes I just tried but the sound is still not working
[HTC One X+] tombriden:
Ok, can you guy's flash this for me please:

It's a 43 build of [MENTION=4683552]maxwen[/MENTION]s BLADE kernel, compiled inline using his source here (as always, huge thanks to him for his work on it)

Hopefully that'll sort the audio issues and i'll take a look at the Camera next
[HTC One X+] ForceField:
I just flashed another ROM.

OK,I will reflash AOSP+ and the new kernel and report back

---------- Post added at 09:58 AM ---------- Previous post was at 09:44 AM ----------

Ok,I Reflashed ASOP+ with the new kernel

Sound is Working but Wifi is broken
[HTC One X+] tombriden:
Ok, i kind of expected that :) but now i know the audio is fixed i can do a new build. Thanks for testing

if you want wifi back you can do: adb shell su -c 'insmod /lib/modules/bcmdhd.ko'
[HTC One X+] ForceField:
Ok thanks I will try this command.:) Really liked the speed of this ROM.It's a Porsche compared to others :p
[HTC One X+] tombriden:
0.8.1 uploaded with built-in BLADE kernel and EndeavoruParts accessible from Settings -> Advanced

Camera still at 5MP though :/
[HTC One X+] Ranomez:
Perhaps using an other camer app would let us use the 8MP, because Focal lets us use 6MP?

Anyway your rom is great, close to perfection for me, the only thing missing would be any kind of lockscreen shortcuts but that's only me and I wanna say your rom is great.
[HTC One X+] tombriden:
Thanks :)

Other camera apps will have the same issue. It's down to the new camera libraries from the 4.2.2 dump returning a 302character string for the supported picture sizes but they get read into a 256 string buffer thus cutting off all the higher resolutions :\

I've put a fix into our camera wrapper so it just returns the same supported resolutions as the previous library did. It's uploaded in a new ROM, 0.8.2 but the only file changed is camera.tegra.so so if you don't want to reflash, extract it from system/lib/hw and push in recovery with

adb shell mount /system/
adb push camera.tegra.so /system/lib/hw/
adb shell chmod 644 /system/lib/hw/camera.tegra.so
[HTC One X+] Ranomez:
Thank you, and thanks god I don't need to reflash, cause I started flashing 8.1 at my previows comment and just finished seting up all my things (xposed, touchwiz, playstation certs, viper4android and some others) and really don't want to flash again, lol.
[HTC One X+] :
I just installed this ROM and it is really fast. Thank you for this awesome experience. :good::laugh:
[HTC One X+] el-Loko:
just installed and realy fast!!!

first impressions:

- cant adjust the toggles (maybe didnt find the option)

- no filemanager (would be nice to have one at start)
[HTC One X+] sorceforge:
As you can see in the OP of previous version, the main point of this rom would be maintaining the intact AOSP stock rom as far as possible.

I sugfest you to wait until the proper CM10.2 release which is coming soon.
[HTC One X+] Ferrum Master:
Only thing that I found that Earspeaker has very limited frequency bandwidth on CM/AOSP... Lower end around 300-200Hz is absent. So the sound is very thin and irritating.
[HTC One X+] el-Loko:
thanx, but as you can read in the op:

"We welcome suggestions of other things people like from other ROMs that you want included ..."

i cant change for example build.prop with total commander (yes, it has su-rights). it cant remount the system-folder with w/r...
[HTC One X+] tombriden:
Bah, my fix for rear camera resolutions broke the front camera! Here's a new version of the wrapper that now works for both. Extract the attached and push it from recovery with

adb shell mount /system
adb push camera.tegra.so /system/lib/hw
adb shell chmod 644 /system/lib/hw/camera.tegra.so

I'm going to build 0.8.3 now with the fix but am doing a clean build so it won't be up for a couple hours
[HTC One X+] tombriden:
I use ES explorer and it has no issues with mounting system r/w. We use koush's Superuser and the total commander changelog says:

Support for root functions on Android 4.3 (mounting /system needs SuperSU, doesn't currently work with Superuser)

As for the suggestions, you can definitely ask but it doesn't mean we'll say yes ;)

I guess you mean the settings to rearrange the quick settings tiles? This actually requires a fair amount of changes to the framework and not something i've really used in other ROMs so I wouldn't expect to see that anytime soon if at all

as for having a file manager pre-installed, if that's something you need then it might be worth making a flashable zip to install it after you flash the rom (or add one to your gapps zip).
[HTC One X+] el-Loko:
of course :cyclops:

option to reboot into recovery/bootloader is also a nice thing.
[HTC One X+] Ranomez:
Install xposed framework and some modules to get what you want (XblastTools and GravityBox have the advanced reboot menu options, I am using those, Xprivacy and App Settings module), or you could add the reboot options into the menu by yourself, but I'm not gonna explain how (mostly cause I was doing that on android 2.2-2.3 and don't even remember how).

Also everyone else sorry for the off-topic.
[HTC One X+] tombriden:
0.8.3 Now up with latest camera fix and also a fix for the torch app that was previously crashing
[HTC One X+] Ranomez:
Are those the only things changed, cause I still don't want to reflash, is the torch fix related only to the torch app, so I should be able to just replace the torch app and get the fix?
[HTC One X+] tombriden:
for the torch fix, you just need to flash the boot.img
[HTC One X+] nespid:
Hello. Did I dream it up or did Lloir say in the PaP thread you guys would be supporting both X+ variants? :D
[HTC One X+] Lloir:
Not now no as i want nothing to do with the ATT version, you ATT users are starting to piss me off with this constant asking
[HTC One X+] KaiUno:
Neither Plex nor Youtube are able to show videos. Hope that's not just me...
[HTC One X+] Lloir:
Logcat read the op on how to
[HTC One X+] KaiUno:
Here you go.

Youtube or Plex don't crash. They just pop up a window stating to try again.
[HTC One X+] Ranomez:
Is it normal that torch turns off when the screen turns off?
[HTC One X+] Ranomez:
Just nvm, 100% my fault, used the gravitybox torch toggle, will report this to the right thread....
[HTC One X+] Lloir:
i've semi-fixed SELinux so expect to see SE in this rom soon.

when it is merged in, DO NOT hit the SElinux button (nor will i tell you where it is)
[HTC One X+] Maryna:
Thank You! :)
[HTC One X+] PippoX3:
Hi, I'm trying this rom...Sorry for the stupid quest: Into options I can't found advanced options (or something like) to customize general interface (like lockscreen for ex.). Is it normal?

In my case don't receveive data (right APN), and video don't record (neither 720p or 1080p).

Thanks for your hard work. ;)
[HTC One X+] ForceField:
Yes,this is an AOSP Rom with some features.It's a work in progress

You can check what is Added in the OP.

It is not loaded like CM or AOKP but it's veeeryyyyyy Fast :D
[HTC One X+] maxwen:
Nice work guys! :)
[HTC One X+] ForceField:
You bet that I can find this button :p

Thank you Lloir
[HTC One X+] Calsonic-Orbit:
Can you implement fast unlock if correct pin is entered.

There is an issue with Bluetooth.

The phone reconnects every 2 minutes to the speakerphone in my car.
[HTC One X+] KaiUno:
Yeah, I have some Bluetooth issues as well. It connects to my car perfectly and audio works like a charm. The hands free however goes completely nuts when I receive a call. Static all the way.
[HTC One X+] Lloir:
Yet no logcats... Remember 4.3 is new
[HTC One X+] Calsonic-Orbit:
I will create a log this afternoon for the BT issue.

Sended a link to you.
[HTC One X+] tombriden:
Rom updated

2013-08-26 - 0.8.4

Update to android-4.3_r2.2 (JSS15Q)

Updated a whole bunch of blobs from 4.2.2 OTA

Still no HD videos in YouTube or video recording; hopefully i'll get some time this week to look into those

Also, i don't have any bluetooth devices to look into those issues so really can't do anything without logcats and kernel logs. Just run ShareLogs as soon after the issue as you can and attach to your post.
[HTC One X+] sorceforge:
To begin with, I would re-quote what Lloir already said;

OK, then, what I want to say is; if you search the whole board, you would notice there is an AT&T version of 4.2.2 version of Paranoid Android rom. That would work.
[HTC One X+] tombriden:
sorry, i missed out 'advanced settings' for kernel options. re-uploading now.

edit: and done.
[HTC One X+] Notechis:
I just installed this Version to improve the development. I can look HD YouTube videos but only via browser, so I think the YouTube app is wrong.... I have no Bluetooth issues but will upload a logcat in a few minutes. Just in case of... I don't know

Gesendet von meinem One X+ mit Tapatalk 4
[HTC One X+] kelleci:
Hi

I get black screen after answering phone.Here is my share log i hope it helps to development.

Best regards.
[HTC One X+] Ranomez:
First problem with this rom, close to 20 mins in the middle of a call and the phone just rebooted without any reason, not hot no nothing, just rebooted, to tell you the truth this is the first call I was in for longer than 10 mins, but.....anyway are logs usefull now after the reboot?
[HTC One X+] tombriden:
It'll be too late now for sure. If there's a random reboot, run sharelogs as soon as possible to get the kernel logs before the crash as the logcat will only have info for the current boot. I'm about to upload a new build that fixes some audio issues around receiving notifications, it may have been related to that?