yashsingh1/xdaforums huggingface dataset:
[Xperia SP Q&A, Help & Troubleshooting] donk165:
For some reason, my phone seems to think that I have headphones connected all the time. If i plug headphones in, I get sound through them, but once I unplug them, it still carries on as if they weren't taken out (Poweramp pauses on headset disconnect - which it isn't), I have tried rebooting and it has had no effect. I'm on Crystal PA, if that helps. I have no idea whats triggered this, Ive been using Poweramp player on all my androids for a long time, I doubt the app is causing it. The speakers are just not switching back on after the headphones have been removed.

Could this be a hardware problem?
[Xperia SP Q&A, Help & Troubleshooting] Bruno_Puzoni:
Probably. Are you using Viper Audio or have the FauxSound app installed? Check those apps.
[Xperia SP Q&A, Help & Troubleshooting] donk165:
Aha, never thought about that, I know Crystal PA has viper installed but Im not using it, I was using MusicFX, Ive switched to viper and installed the viper driver and i got sound out of the speaker for a few seconds then it went back to thinking there's headphones connected. This is such a random problem! I havnt touched any of the audio settings since I installed this rom about 2-3 weeks ago, just left things on default.

I think im going to have to wipe and reinstall a ROM and see if that fixes it, i semi messed up this install by trying out the Supercharger script which seems to have made my UI even more flakey rather than improving it.

I really dislike how every ROM Ive tried out on this phone lasts for a few weeks before it gets glitchy with UI crashes and general slowness. And this is not a dig at the devs at all, its not their fault, there is just something deep in this phone which seems to screw it up. The temptation to drive an axe through this phone is growing! :P
[Xperia SP Q&A, Help & Troubleshooting] donk165:
So I've just gone into recovery, wiped system, factory reset and wiped dalvik cache, installed FXP349 CM11 and the same issue is there, sound just wont stop outputting through the headphones, if I turn the ringer volume up, the phone outputs through the speakers, but if i get a call, the phone ignores the earpiece and automatically uses the headphones port to output (doesnt matter if the headphones are actually plugged in or not). I have to switch to speakerphone to hear what people are saying (it sounds very bad quality).

So i guess this means its a hardware problem, Im going to have to try and open up the phone, see if i can see anything broken in there.

Does anyone have experience with any of this?
[Xperia SP Q&A, Help & Troubleshooting] donk165:
Well this was my first idea, I tried spraying compressed air into the jack hole but nothing came out, I also tried a cotton swab in the hole - again nothing. I cant see anything foreign in the hole, so Im thinking the port itself is broken in someway, outputs fine but the port just isn't detecting me unplugging headphones. Ive looked at a dis-assembly guide but it means taking off bits of protective film which I don't know if you can just stick them back on.

Im going to make a nandroid backup of my phone in its current state on the latest CM build and then try going back to original Sony software with an FTF, just to see being put back to stock state will change anything. (my friend thinks its some kind of low level software problem). I dont have high hopes but its worth a shot.

EDIT: So moving back to full stock Sony software with an FTF of 12.1.A.1.205 firmware has had no effect, this must mean its a hardware issue. :(
[Xperia SP Q&A, Help & Troubleshooting] donk165:
So weirdly today, after plugging my phone into a car aux cable and playing some music through it, it magically fixed itself? it snowed a bit the other night and i got pretty soaked by it cycling to work so I think it could have been moisture in the phone or something, its the only explanation I can think of. Its working again now.
[LG Optimus L90] shinobisoft:
Use this utility at your own risk. By using this application, you agree not to hold ShinobiSoft Software ( me )

and XDA-Developers liable for any issues or damages that may arise as a by-product of it's use.​

Important

This application is intended specifically for the LG L90. It will NOT run on any other device.

This application is NOT intended to run on stock ROMs either, although theoretically it should work.

This application currently only works on KitKat ROMs. Sorry for the inconvenience.
​

This application is a remake of my LG Optimus L90 Utilities script. This application has the same abilities as it's script counterpart, but now with a nice GUI.

This application is a navigation drawer styled application. When first installed and run the navigation drawer is initially open. This only happens on the first run of the app. To access the navigation menu, swipe from the left edge of your screen to the right.

NOTE:

There is an option to flash bootloader patches for D405 and D410 variants. It is currently disabled until I work a couple minor things out with the process. It should be enabled in my next release.

Requirements

KitKat ROM

Your device MUST be rooted

Future versions will also require BusyBox

Permissions

android.permission.ACCESS_SUPERUSER - For root access

android.permission.WRITE_EXTERNAL_STORAGE - For writing to the external sdcard. IE; making backups

android.permission.INTERNET - For the built-in help viewer. The help viewer never goes online but the permission is required by the WebView component

Features

View extensive device information ( WIP )

Basic partition backup ( boot, cache, laf, recovery, system, userdata ).

Flash images ( boot and recovery )

Fastboot Manager - Easily toggle between fastboot mode and software upgrade modes.

QuickButton Manager ( D415 ) - Assign an app to open when the QuickButton is pressed. ( 4.4.2 - 4.4.4 only )

Reboot dialog

Most activities have an "Information" icon that provides additional information about itself.

TODO

Cleanup and add more device information ( WIP )

Add an advanced option to backup ANY partition

Add a reboot widget

Add an About activity. Currently I'm just using a popup dialog to show generic about information.

Ability to flash boot and recovery images that are packaged in flashable zips.

User suggestions

Download

LG L90 Utilities​

Anyone willing to lend a hand to help develop this application further, please let me know via PM, and I'll consider making this a DevDB project as well as sharing my sources on GitHub. I'm slightly hesitant of this mainly because I've spent alot of time developing special classes for this.
[LG Optimus L90] shinobisoft:
Changelog

2015-01-19

0.1.6

Fixed QuickButton Manager nullPointerException

Application base backup folder changed to EXTERNAL_SD/LGL90UTILITIES/<DEVICE_SERIAL>

Add new "Sensors" tab to Device Information

Redesigned how Storage tab information is displayed

Complete code reorganization and cleanup

Removed unused resources

Display tab information rearranged and a little more information is available

Added a menu option for Device Information for quick jumping to a specific tab

2015-01-13

0.1.5 -

Fix for not checking for/creating backup folder if default backup path changed by user

Fix for internal file browser not properly switching between internal and external storage

0.1.4 - Fix where incorrect partitions were getting backed up.

0.1.3 - Fix incorrectly identified internal and external storage

0.1.2 -

Fixed incorrectly identified device ( not actually a problem on my end, but arises from incorrect build.prop values ).

Force portrait mode for main application activity. "Information" activity works in both portrait and landscape modes.

0.1.1 - Attempt to fix where device not correctly identified.

0.1.0 - Initial release
[LG Optimus L90] shinobisoft:
Reserved 2

Reserved
[LG Optimus L90] aerdely:
Will test it out, trying to install but how to exactly if i tap install in root browser i get an error on parsing, do i just copy it to a folder.
[LG Optimus L90] shinobisoft:
That's weird... Are you on stock? I installed it via Es File Explorer with no problems. I should note that this IS NOT intended to run on stock KitKat but on custom ROMs. Although I'm not sure why this wouldn't work on stock...
[LG Optimus L90] aerdely:
Im on the stock modified rom, i believe thats on the d41510c build. Ill try to download again, maybe there was an error with the download.

Update: the error is in the download, on the host it states the apk is about 499kb, when i download i only get about 29kb. Not sure if its the apk its self that is the error or my device yet but tried both aosp and dolphin browser, same result. Also te odd thing is b i th downloads are different one was 29.24kb the other 29.36kb
[LG Optimus L90] shinobisoft:
I uninstalled and just went thru the download via TapaTalk and FireFox. Choose the "Download Now" button and not the "Download" button. After the download finished, tap the notification to install.

And I'm also going to move this app from Dev-Host to my web site.
[LG Optimus L90] aerdely:
Got it to download, used puffin browser, not sure why it wouldnt in aosp or dolphin, also upon opening the app i get an error saying this is or lg optimus l90 and l90 family then states i have the optimus l90 d415 the closes. Tried couple times same thing.

---------- Post added at 07:25 PM ---------- Previous post was at 07:23 PM ----------

Yes was using the download now button, the other one leads to some website but for some reason and maybe its just my device wouldnt work in aosp or dolphin. Still have the error when opening the app though stating its for l90 and l90 family then closes.
[LG Optimus L90] shinobisoft:
That's just strange. You have the same device I have and it installs and runs just fine for me, I'm running CM11 tho... I think your stock ROM may be the issue.
[LG Optimus L90] aerdely:
Also yes just notice it states i have the lge-d415 and not lg-d415 maybe its the rom making recognizing it incorrectly im on jb3p76's stock modified. Although i looked under hardware in settings and says the model is lg-d415.
[LG Optimus L90] shinobisoft:
Try this:

Open Terminal Emulator and type:

getprop ro.product.board

and report back what your result is.

This value is how the app determines if it's installed on the correct device or not. I may need to look in to another method.
[LG Optimus L90] aerdely:
Result came as MSM8226
[LG Optimus L90] shinobisoft:
That's the issue. It should have returned W7.

Try the same "getprop" command but with "ro.board.platform" instead. This should return MSM8226.
[LG Optimus L90] aerdely:
Correct that came back as msm8226
[LG Optimus L90] shinobisoft:
I've added a work-around for this issue. I'll rebuild and re-upload shortly ;)

OP download link updated. Sorry, it's still on Dev-Host.
[LG Optimus L90] aerdely:
Also i edited my build.prop with the value you gave me for ro.product.board to w7, the app works correctly now. Ehen you upload the new apk, i can change it back to msm8226 to see if it work on that as well.
[LG Optimus L90] shinobisoft:
I didn't suggest editing build.prop because that can be erroneous at times and as an app user you shouldn't need to edit your device to make an app work.

And the new build is uploaded already ;)
[LG Optimus L90] aerdely:
Sorry was just trying to help but downloaded the new apk build, get same error with the MSM8226 value in the build.prop the apk build i downloaded is 0.1.1, same result.
[LG Optimus L90] shinobisoft:
Sorry, I didn't test it myself before uploading... I now have the same issue... Back shortly with a fix...
[LG Optimus L90] shinobisoft:
Fixed and uploaded again. I did test before uploading this time, LOL. See the OP :D
[LG Optimus L90] aerdely:
Does work now, thanks for the hard work you put in to it. Did notice though not sure if it was supposed to be it reads user data /data, internal storage /sdcard, and external storage as the same. Shows external storage as /storage/emulated/0, wanted to let you know in case it affects other features.
[LG Optimus L90] shinobisoft:
Internal storage and userdata are technically one in the same. Is the external storage showing the correct size? It's possible the symlinks are messed up on your modified stock ROM. External storage is NOT emulated... I'm using the commonly used API, Environment.getExternalStorageDirectory().getAbsolutePath() , to find the external sdcard...

And yes, that will affect operation of my app as all backups are saved to the external sdcard...
[LG Optimus L90] aerdely:
Yes noticed the affect on backups, was able to backup boot, laf, and recovery quickly but since it reads the internal and external storage as being 3gb didnt want to attemp back up of system or data partitions. I have a 32gb sdcard installed. So isnt showing the correct size but probably like you said because of the stock rom.

Other than that every thing else works perfect.
[LG Optimus L90] shinobisoft:
I'm looking in to an alternate solution to detecting the external sdcard right now ;)
[LG Optimus L90] shinobisoft:
Ok. Fixed again. See the OP for download, post #2 for change log ;)
[LG Optimus L90] aerdely:
Ok yes, reads external sdcard correct now, great work every thing else works perfect.

---------- Post added at 10:36 PM ---------- Previous post was at 10:21 PM ----------

Noticed when attempting to back up to external sdcard it wont let you, you can go and change the path to internal storage but if you tap the buton to go to external sdcard nothing changes and stays on internal storage, its set to external sdcard by default but wont actually let you backup there for some reason, only to internal storage.

---------- Post added at 10:52 PM ---------- Previous post was at 10:36 PM ----------

Also happens when on cm11, restored a backup of your cm11 I had see if any issues persist with an actual ROM, can't exactly change between, external and internal storage, external is still selected by default but have to choose an internal storage folder to actually backup to.
[LG Optimus L90] shinobisoft:
I'm looking in to that right now. Changing folders with the built-in file browser works for me but I've found another problem that I didn't notice prior to releasing the app... Some of the partition backups are coming from the wrong partitions. :confused: Not sure how as all information is read directly from the device...
[LG Optimus L90] shinobisoft:
Do you have or are you using the external sd patch? By default, since KitKat was released, sdcard access is limited to read-only.

If not, you'll need Xposed Framework installer along with a module named "KitKat SD Card Full Access". Another module I'm also using is called "HandleExternalStorage".

That still doesn't solve the problem of not being able to switch the internal file browser from external to internal storage, tho it works just fine for me...
[LG Optimus L90] aerdely:
OK, I was able to backup laf, recovery, and boot. Laf was the right size as mines not zero'd out, not exactly sure about recovery back up or boot. I did flash a different recovery.IMG, I was on twrp and flashed, philz touch, that worked then switched back to twrp, which all worked fine as I was able to restore my backup of cm11. Through twrp. Haven't attempted any backup of system or data partitions, internal storage is to small to backup to and can't select external storage but even on cm11 it reads it as a 32gb sdcard in the information section.

Also that build.prop error must have just been in that modified stock ROM, now that I'm on cm11 it reads the board as w7 again.
[LG Optimus L90] shinobisoft:
boot should be 22 MB and recovery should be 22 MB.
[LG Optimus L90] shinobisoft:
I just attempted a backup of boot and recovery but got backups of boot and cache :confused:
[LG Optimus L90] aerdely:
Ok, those were correctvthen because the backup total for all three came to 66mb. I can backup to external sdcard on cm11, as its selected by default if I select something to backup to it now let's me, couldn't do that in the stock ROM, if I selected a partition I actually had to select internal storage fold when on stock, although if you try to switch between external and internal storage in the browser nothing changes but the icon of external and internal. Ok, didn't actually notice on my end as all I looked at were the file sizes so but all three came out to be about 66mb, not actually sure what three were backed because of that then.
[LG Optimus L90] shinobisoft:
There are some common folders that you'll find on both internal and external storage. Browse each one of them to be sure.

I've fixed the issue I encountered as well. So, gimme a few to rebuild, upload, and update the OP and changelog.
[LG Optimus L90] shinobisoft:
Ok. One more fix applied, built, and uploaded. Also the OP has been updated and the changelog information in post #2. :D

So, we know that this kind of works on stock. I may look a little deeper in to this, but that also means that I'll have to go back to stock on my device... Crap... LOL
[LG Optimus L90] aerdely:
You don't have to, I have a backup. Stock for me is no problem, I'll download and check it out while I'm on cm11. I was on stock for video play back so was preferring that at the moment any way.

---------- Post added at 11:39 PM ---------- Previous post was at 11:26 PM ----------

Well while I'm still on cm11, I still get the issue of not being able to change between external and internal storage with the built in browser, external is selected by default so it will let me backup there, or I can chose an internal storage folder but can't switch back, the internal and external icon changes in the file browser but actually stay on internal only even though the info section is reading the sdcard size correctly. I think its reading my partitions correctly, shows laf as 22mb, boot as 22mb, recovery 22mb, cache as 900mb, data as 4gb and system as 2gb.
[LG Optimus L90] shinobisoft:
Those sizes are correct. I don't understand the file browser issue tho because I CAN switch between internal/external storage. Could be something in my code for the file browser although I'm guessing you're using my CM11 ROM so you shouldn't be having this issue. But I will most definitely look in to it ASAP.

EDIT:

Well it seems even tho I can change between internal and external storage, it won't make any backups to internal storage but the application reports success. I think I know what the problem is. I'm either checking for existence of the backup folder too early in the activity or I'm not checking for the existence of or creating the backup folder when it get's changed.
[LG Optimus L90] aerdely:
Ok, just trying to help out, flashing and every thing else works great though and yes at the moment I'm on cm11.
[LG Optimus L90] shinobisoft:
Oh, you're good bro. I thank you for your time and helping me iron out the bugs.
[LG Optimus L90] aerdely:
Your welcome, any time.
[LG Optimus L90] shinobisoft:
I believe I've figured out both issues. Download link updated once more in the OP as well as updating the changelog information in post #2.
[LG Optimus L90] aerdely:
Yes it actually changes between internal and external storage but they're swapped, showing internal as external storage and external as internal storage.
[LG Optimus L90] shinobisoft:
Are you sure? The reason I ask is "External Storage" should be displayed when browsing internal storage and "Internal Storage" should be displayed when browsing external storage. The very first item, when in the root of internal or external storage, is a "toggle" to jump to the other type of storage. So it should be displaying the opposite name of the medium you are actually browsing.
[LG Optimus L90] aerdely:
Ok, got you, thought the icon was displaying what i was currently on then yes it is working correctly. I did attempt to make a backup of all partition i got an error when it did the userdata, going to attempt that again, seperatly from the others although the file size was the same in both the backup and what your internal browser was reading it as.
[LG Optimus L90] shinobisoft:
Currently, this app shouldn't be used as a method of making regular backups with and it's not intended for that purpose. However the ability is there if someone so chooses to use it. I have been looking in to doing some kind of CWM compatible backups. But that ability will have to wait til a later date.
[LG Optimus L90] aerdely:
Ok, every thing seems to be working good though.

---------- Post added at 01:25 AM ---------- Previous post was at 01:22 AM ----------

Thanks or the work you put in to it alot of us will find it useful.
[LG Optimus L90] aerdely:
One last thing notice, also this is not much of an issue but flashing a recovery from external sdcard doesn't work, either in cm11 or modified stock, you can copy the recovery.img to internal storage and flash, that work but actual flash from external storage has an issue, it'll say superuser privileges granted but then just goes back to choose image option with out flashing. May also affect when flashing a boot.img
[LG Optimus L90] shinobisoft:
Hmm. I haven't tried flashing since updating the app yesterday. Ill look in to it tonight after work.
[LG Optimus L90] aerdely:
Update: found out its not so much the external sd, if the file is on the root of the external sd, it will flash the recovery, only when its in a folder on the sdcard does it have an issue.
[LG Optimus L90] shinobisoft:
That's strange. I've not had any issues flashing images from any folder. But, that was also before the updates I made yesterday. I just got in from work. Gotta relax for a few then I'll look in to this issue. ;)

EDIT:

So I just flashed 2 recoveries that were 4 or 5 folders deep on my external sdcard with no issues. Obviously I booted to each recovery after flashing. So I'm not sure where to look for the issue you're experiencing. BTW, I've enabled some fairly extensive logging to this application. So pulling a logcat may help ;)
[LG Optimus L90] aerdely:
Yea im wondering if some of these issues are just related to my device, i have flash many different roms testing them out but currently i keep my receoveries in a folder 3 deep, try to keep things organized download alot of stuff pertaining to rooting. Just earlier downloaded resurrection remix just to check it out, bootlooped though. Not that much of an issue any way flashing still works, will try a couple things see if i could figure it out. I have flashed with flashify leaving the rcovery file in its current old so not exactly sure either, maybe i just missed something.

Update: problem solved, had some thing to do with where all my roms, recoveries, etc were stored.
[LG Optimus L90] ardentis:
Hi. I have the logcat for the issue I was talking about in the CM 12 thread. Sorry for getting off topic.
[LG Optimus L90] shinobisoft:
Was the crash something my app did or is it related to the app pinning you were speaking of?
[LG Optimus L90] shinobisoft:
can't view the logcat til tomorrow.
[LG Optimus L90] ardentis:
It was your app. Opening Quick Button editor would crash the entire app everytime. This issue could also be from CM 12
[LG Optimus L90] shinobisoft:
I was able to view the logcat on my phone with ES File Explorer with 7zip plugin. I found the problem. I'll have a fix posted sometime tomorrow evening.