yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] Marcin Zachmacz:
Still only white text colour displayed, even if black is chosen. Xperia Z1C.
[Xposed Framework Modules] Kelsios:
You have to reboot for changes to take effect.
[Xposed Framework Modules] whdeveloper:
On page 20, the last message is from someone running lollipop, so it is confirmed working for 5.0.2

For text color not changing, please read the whole post instead of just the changes, reboot is needed
[Xposed Framework Modules] Marcin Zachmacz:
Yep, reboot did the job. It would be nice to have this information displayed while changing colour.
[Xposed Framework Modules] whdeveloper:
Again, read the post... I have nog implemented this, but maybe will later.

This is not for color setting only but for everything
[Xposed Framework Modules] loqan:
Woot, even reboot didn't solve it here :-\ Nexus 5 Lollipop CM 12
[Xposed Framework Modules] entrysky:
App not working in Android 5.0.2 with Xposed 3 alpha 2

[MENTION=3979906]whdeveloper[/MENTION], i used app of you every day on android 4x but when i update rom to lollipop this not working, please update your app support android 5x. Thanks for very good app :D
[Xposed Framework Modules] loqan:
PS: it did work on Lollipop before o.O
[Xposed Framework Modules] whdeveloper:
Van you guys tell me what is not working? Because you are not very specific...
[Xposed Framework Modules] DallasBelt:
You're right Kelsios. Sorry for that :)
[Xposed Framework Modules] loqan:
Oh yea, the text is still invisible on Lollipop, even when set red and rebooted :)
[Xposed Framework Modules] whdeveloper:
Than I do not think it is the text color (as it is only setting color to textview)

Can you get the password through copy?
[Xposed Framework Modules] loqan:
Yea I can copy the password to clipboard and then paste it anywhere.

Here's a video showing that the font color is changed (just a bit from the completely black), it's rebooted (you gotta trust me :D) and I cannot watch the pass but I can copy it.

https://dl.dropboxusercontent.com/u/59268132/SCR_20150315_212215.mp4

Pardon the background sound, stream is going on.
[Xposed Framework Modules] tobbbie:
I have reverted back to 1.04 again. While layout has improved a little, still major obstacles prevent use:

Active WIFI connection does not deliver password at all. You don't see it on the screen and you cannot copy it. Stored (but not active) connections deliver the information right.

Until 1.04 you get just the password for any connection.

Coloring has no effect, so on my GTab 3 8 which has light color by default, the text is white on dimmed white - barely readable. On my S4 mini it is fine with white on black.

Popup title already tells SSID, why repeat in the text later? If you have a very long SSID, then the table to show the entries in the form below is quite compressed - on my S4 mini it just matches, so not sure what happens for longer entries (SSID or password). Left column longest text is "Key management", right column could be "very,very,very long passphrase so it cannot easily be guessed".

Will it wrap or be truncated?

I am happy with 1.04 - and cannot update until at least 1.) is solved. Also 2.) is important for light theme devices.
[Xposed Framework Modules] whdeveloper:
For point 1, it shows the option to view password and opens dialog with the ssid as title, but only not showing anything in it?

I will change a little thing in code for point 2 if it is still not working, I am not oud of ideas yet

Point 3 is a good idea as there is no need for double information, I will set the multiple line property for longer passwords
[Xposed Framework Modules] tobbbie:
The item for Passwrd is not listed at all, for the active connected entry it lists the lines: SSID, Key management, Group, Auth Alg, Priority. The not connected wifi entries list instead: SSID, Pre Shared Key, Key Management, Priority.

There is something special with my entry however: I have 2 different routers at 2 different locations, but they have the same SSID and password set. They have different MAC addresses obviously. Not sure how this is treated from the DB you are reading - not even sure if this makes a difference
[Xposed Framework Modules] whdeveloper:
So everything is showing on an connected network, except the password? That is weird because on my own phone it works just like it should, connected to the network or not
[Xposed Framework Modules] tobbbie:
It even shows more lines on the connected one (reference is connected one):

SSID, (same)

Pre shared Key (missing)

Key management, (same)

Group, (additional)

Auth Alg, (additional)

Priority. (same)

As the not connected wifi entries list:

SSID,

Pre Shared Key,

Key Management,

Priority.

So as I have more than one WLAN router with same SSID + PW, the database read may be confused and you may need to read elsewhere? Can I PM you my relevant database so you can have a look?
[Xposed Framework Modules] whdeveloper:
I understand the problem and this will go wrong at this moment, but there is not many information to base the difference on
[Xposed Framework Modules] tobbbie:
I checked my "/data/misc/wifi/wpa_supplicant.conf" wich you seem to parse and there is everything where it should be. No sign that I use the same SSID/psk for different routers. Could it be the password having special characters which confuses the parser? I have the following special characters is my psk: +/=!!

The forward slash "/" could be confusing?
[Xposed Framework Modules] whdeveloper:
Hmm I do not think that should be a problem, but I will try it out on my own device to see if I can reproduce the error (and fix it if I can)
[Xposed Framework Modules] whdeveloper:
In this post I have attached an APK with the current version, but with bugfixes, I will upload through Xposed when it is ready and more improvement than it is now (small update)

Set default theme for dialog (theme_holo_dialog)

Fixed an bug that occured when there was a '=' in the password thanks [MENTION=393455]tobbbie[/MENTION]
[Xposed Framework Modules] loqan:
Iam sorry to say but this fc's the whole settings app :-$
[Xposed Framework Modules] vanlong441:
forced closed trying to view passwords
[Xposed Framework Modules] whdeveloper:
Deinstall the other one first (so srttings get reset, the color code has changed, so experimental)
[Xposed Framework Modules] loqan:
Uninstalled, rebooted, instaled, checked in Xposed, color changed, rebooted... still FCs :/
[Xposed Framework Modules] Midomad:
I confirm.
[Xposed Framework Modules] whdeveloper:
Do you have an stacktrace in Xposed log? Or maybe Android logcat?
[Xposed Framework Modules] DaveX2012:
Don't work anymore Resurrection remix 5.0.2
[Xposed Framework Modules] whdeveloper:
What is the last version working for you and what is not working for you?
[Xposed Framework Modules] DaveX2012:
I think current version was working in last I don't know it not working anymore.

Edit

It's working now ☺
[Xposed Framework Modules] DaveX2012:
Don't work again it's show view WiFi password but when I click there nothing happens.

Latest version
[Xposed Framework Modules] whdeveloper:
What do you expect to happen? Your English is somewhat broken...

You see the option for view password? And if you click it, what happens?(root permission, network info/password).
[Xposed Framework Modules] hzr34:
Not work lollipop
[Xposed Framework Modules] whdeveloper:
That is not what it was programmed too, but your post is not very descriptive...

People, if you want me to help you, I need at least something I can work with
[Xposed Framework Modules] DaveX2012:
Can see view password option but when I tap password view option nothing happened. One time it's asked me to allow root permission but not this time. Try to reinstall but still no luck.
[Xposed Framework Modules] whdeveloper:
Do you have the XPosed log file too? Logging should be enabled in the app, and the device restarted, then tapping the view password will generate log messages, please post them here as they probaly point out where it is going wrong
[Xposed Framework Modules] DaveX2012:
Never mind I changed kernel enforcing to permissive and it works but can't see password all it white.
[Xposed Framework Modules] whdeveloper:
Have you tried changing the color and restart?
[Xposed Framework Modules] DaveX2012:
Thanks it's working now ☺
[Xposed Framework Modules] whdeveloper:
Did your logcat showed any stacktraces? As far as I can see in the log, the method to inject the option is executed. It is able to find the menu, but for some reason cant inject the item.

How many and what entries does your settings app show in the context menu?
[Xposed Framework Modules] hzr34:
Here is the screen shot.
[Xposed Framework Modules] whdeveloper:
Can you translate these options?

The code to check if an network is known will check the amount of menu items, in your case 4, the reason why it isn't working is because from AOSP there will be 2 or 3 items when the network is known.
[Xposed Framework Modules] hzr34:
View attachment 3258862

I am using pre rooted stock lollipop rom on my Sony xperia z3.
[Xposed Framework Modules] whdeveloper:
Hmm I will adjust my mod to apply for more than two menu items instead of just two and three
[Xposed Framework Modules] CrackUK:
I have tried this module on the HTC One M8 and while it works on the Google Play Edition ROM, it doesn't work on the stock Sense ROM. I have attached the xposed log and also the wpa_supplicant file.

A few other points I would like to note:

1. When SElinux is set to enforcing, it will not work, the SuperSU request doesn't even show up.

2. In Android 5 (Lollipop) saved wifi networks have been moved to a separate screen accessible by selecting "Saved networks" from the menu in wifi settings. This makes the module only useful for showing the key of the currently connected network, but unable to show the key for any other saved network.

3. The "Share" option removed in version 1.0.5 is sorely missed, it made work much easier by simply being able to send the details in 2/3 clicks.
[Xposed Framework Modules] pdppdp:
Works with Motorola Moto G 2014 (XT1068) StockRom.
[Xposed Framework Modules] whdeveloper:
As for point 1, my phone has set SElinux enforcing, but it still works how it should. I think the problem is somewhere else (changing permissions that you haven't given?)

Point 2, I do not have Android 5 on my own phone so it is not easy to develop for the new version

Point 3, share should be easy to get back, the utility still exists so it is not much work
[Xposed Framework Modules] CrackUK:
Did you have a chance to look at my logs? Any idea why the log says "Network was null"?
[Xposed Framework Modules] whdeveloper:
Yes I did take a look on your log files, but everything I know from this is that the contextual menu item is working.

Android has its own log that defaults tot the system.out/err/in and Log class. Logcat will show any exceptions that are not shown here (runtimeexceptions and others. If you could take a look in your logcat and find any stacktrace that has wifikeyview in it (I don't know if you are familiar with logcat and other tools, but if you are rooted you can easiliy download an app that does this)
[Xposed Framework Modules] CrackUK:
Attached logcat output. It seems to me that they don't show anything more than the xposed log.
[Xposed Framework Modules] whdeveloper:
Hmm interesting, what is the last version that did work for you?

It is indeed right that the logcat should show the same info, but it could be that there was an exception, not handled by my code, that was in there (those wont be in the XPosed log
[Xposed Framework Modules] CrackUK:
No version ever worked on HTC Sense ROM
[Xposed Framework Modules] entrysky:
+1
[Xposed Framework Modules] GrayJack:
From some time WiFiKeyView stopped working for me at Android 4.4.2. In the same way I do not expect issues with Android 4.2.

The wpa_supplicant file is not encrypted - I can view it in any text editor.

But when I push "Show password" button it shows an empty window with no text.

According to Xposed logs the module cannot parse a lot of settings but works as usual - the logfile is attached.

I have investigated the problem and found it happens with v.1.0.6 only. v.1.0.5 works well and shows the information correctly (but in slightly grey color, black one would be more visible).

So what is the problem?
[Xposed Framework Modules] Jervisd:
I have 1.0.6 installed on my LG G2 running 4.4.2 and the module works just fine. Have you tried changing the setting for the text color within the module? A
[Xposed Framework Modules] whdeveloper:
I would suggest the same as [MENTION=4285271]Jervisd[/MENTION] :)

The text color is build programmatically and for some reason does not work well with the background color.

And last, you do not have your log file attached to your post (but I do nog think is needed as the problem will most likely be solved now)
[Xposed Framework Modules] GrayJack:
OK, my fault - for some reason the logs were not attached.

And you know what is interesting? The problem is solved in very unusual way: I have changed the text color from black to red - and the text appears as black :)

Anyway, this stuff is working so thanks.

---------- Post added at 04:26 PM ---------- Previous post was at 04:14 PM ----------

And one suggestion for those who cannot use this addon.

Everyone knows WiFi passwords as well as all networks are stored at /data/misc/wifi/wpa_supplicant.conf

I would say the best solution to solve problems when you cannot activate WiFi etc is to manually delete this file as well as wpa_supplicant.bak.conf

But sometimes it is not a best idea for you when you don't want all your stored passwords to be lost.

So try this: normally above mentioned files have a following permissions: "rw-rw---". So you should delete wpa_supplicant.bak.conf and change permissions for wpa_supplicant.conf to "rw-rw-rw-" (you can copy this file also from your backup if you did it as me). Thу WiFi problems should disappear. After a reboot or a few you will find wpa_supplicant.bak.conf with permissions "rw-rw-rw-" and wpa_supplicant.conf with "rw-rw---". You should delete manually wpa_supplicant.bak.conf and after reboot you will obtain a working system with correct files and correct permissions.

At least it works for me. I often make my own wpa_supplicant.conf file combining passwords from my two devices and use this method to integrate them into the system (actually most problematic is 4.4.2, 4.3 doesn't require any dances with permissions at all).

P.S. And please remember custom kernels require ro.securestorage.support=false for correct working with wpa_supplicant.conf even without this addon ;)
[Xposed Framework Modules] HydraS4:
Somewhat off topic but is there any way of disabling the encryption for Samsung phones regarding the wpa_supplicant.conf file?

Thanks
[Xposed Framework Modules] whdeveloper:
I would be interested too, my own Samsung phone is too old to have the encryption I think but it would be grate if we could create an in app option tot disable the encryption
[Xposed Framework Modules] Adam3Sixty:
Slight issue on 5.1.1, lol. However, pressing copy does copy the key and u can paste it somewhere else to view it.

P.S. yes, my wife is called Shillaboobie, long story!!
[Xposed Framework Modules] whdeveloper:
Have ypu tried changing the text color and reboot?
[Xposed Framework Modules] Adam3Sixty:
Yup!

Changed it to 2 different colours (red and blue) and it was originally on black.

Still the same.

Let me know which log is best to post and I will attach it.
[Xposed Framework Modules] whdeveloper:
Xposed log and Android log should show the same information (few exceptions) but the Xposed log is the easiest to get. So it does not really matter which log you will attach as long as you attach one
[Xposed Framework Modules] whdeveloper:
This looks pretty normal... The only error produced is a unknown supplicant key, but those errors will be ignored.

Can you open the shared preferences file from /data/data/com.whd.wifikeyview and verify the chosen color is there after rebooting? If so, I need to look further into this.
[Xposed Framework Modules] Adam3Sixty:
https://www.dropbox.com/s/sgzqk3nvz540no4/com.whd.wifikeyview_preferences.xml?dl=0

There u go.

I'm really not sure what's going on with it, hope this helps.
[Xposed Framework Modules] whdeveloper:
Your color is -1, I do not know why, you may try to edit the XML and try some integers, with a reboot the color should change
[Xposed Framework Modules] Adam3Sixty:
I'm sorry if I sound stupid, but how would I do that?? I've never got into XML editing so have no experience doing it.
[Xposed Framework Modules] whdeveloper:
As I assume you have root, just download a SharedPreferences editor from the play store or somewhere and go to wifikeyview (it only has on pref file), there edit the text color (-1 at your device)

If you do not want to download an app, it is an XML file, a root text editor is enough to change it (also copy to PC and put it back later is possible)

But this is temporary, I need to take a look on this before I can say anything about what could have gone wrong.
[Xposed Framework Modules] Adam3Sixty:
Ok, I did what u said, and got an editor. I saw that it said -1 so I changed it to 1 and then when I went into the app again the colour picker was set to transparent and couldn't be changed.

It then started changing the number to loads of different numbers, all with a - before them.

I uninstalled the module, and reinstalled it just in case it was something to do with s bad install but the same is still happening.

Not sure what else I can do for u now :( everything else is working, so like I said before, i can copy the key and paste it somewhere else to view or send, just can't see it on the screen.
[Xposed Framework Modules] darkrevlis:
The same problem here with my s4 gt-i9505
[Xposed Framework Modules] whdeveloper:
Please wait for the summer vacation(few weeks), I am too busy with my school at this moment
[Xposed Framework Modules] darkrevlis:
Ok you don't worry. Thank for your Hard work.
[Xposed Framework Modules] darkrevlis:
Hello [MENTION=3979906]whdeveloper[/MENTION], any advance or you aren't in summer vacation yet?
[Xposed Framework Modules] whdeveloper:
You are just a few weeks early, 3 to be precise, but it could be possible that I have more time after next week
[Xposed Framework Modules] DrDank:
Just tested on lg optimus g pro e980. - android 4.4.2 kernel. - 3.4.0 (dont know if thats important.) --- works excellent! -- Thank you for sharing!! :)
[Xposed Framework Modules] cbendan:
[MENTION=3979906]whdeveloper[/MENTION]

I'm on Lollipop 5.1.1r4 (Exodus), and I can't see the password even if I change the color. My wife's OPO is on Kitkat 4.4.4 and it happens the same. The password is not visible, only white.

I attach a screenshot.

[IMG="Wifikeyview"]http://xdaforums.com/attachment.php?attachmentid=3383177&d=1435573374[/IMG]
[Xposed Framework Modules] fopoku2k2:
I'm on OPO running cm 12.1. I don't get any pastor or pop up when I select show password. Any help??
[Xposed Framework Modules] Adam3Sixty:
This bug has been around for a while, I first mentioned it back in May....
[Xposed Framework Modules] sever20067:
For 5.0 is planned?
[Xposed Framework Modules] whdeveloper:
It is working for me on 5.0, have you even tried it? If yes, attach logs otherwise I can't help.

I am busy with a experimental update, with some new features, I will release an beta soon (here on the forum with a dirty fix for the password viewing)
[Xposed Framework Modules] hainam990107:
Password is written in code

Why is the password written in some kind of code. Pls fix it. I'm using Samsung Galaxy Note Edge btw
[Xposed Framework Modules] whdeveloper:
Thank you for reading my first post! Really appreciating that...
[Xposed Framework Modules] whdeveloper:
Okay, I have edited some styling to fix the unreadable ShowPassword dialog.

Also this version contains some not completely functions (you can try them through the settings menu), as of this I will not release it yet in the XPosed repo. For the testing of the application I will upload it here for now and when it is confirmed working and additional bugfixes are be done, then it will appear through the XPosed repo
[Xposed Framework Modules] Adam3Sixty:
Just installed the newest version u posted above and I have no ui at all. What do u mean by try them through setting menu?

Can't check if the function is working yet as I'm not at home, but I test as soon as I get in :)

---------- Post added at 06:29 PM ---------- Previous post was at 05:41 PM ----------

View is working ✔

Copy is working ✔

I just have no other options or settings anywhere ☺☺☺☺☺
[Xposed Framework Modules] whdeveloper:
Is the whole settings screen you had earlier not available anymore?
[Xposed Framework Modules] Adam3Sixty:
I have no icon for it in my app drawer, and access thru Xposed Installer says there is no UI for the module.

I do remember the old settings screen, but there is no access to it at all.
[Xposed Framework Modules] whdeveloper:
Whoops, my bad...

I had the action in the intent filter capitalized (shouldn't be), here you have the right version!
[Xposed Framework Modules] Adam3Sixty:
I have the app back now :)

However pressing the "Debug" settings button makes the app crass.

Again, I can't trust f it is working yet as I'm out at work now.
[Xposed Framework Modules] Adam3Sixty:
Everything else is working fine, only the debug glitch for me, and this.....

There is a weird, double window effect, see screenshot.

Also, I know my WiFi key is showing, if u can find where I live, ur welcome to use my WiFi, lmfao ;)
[Xposed Framework Modules] whdeveloper:
Okay, fixed the settings crashes (I am using a new system for settings in this build)

I can't explain the double window effect, so this needs some time but is not on my priority list

I have found some more bugs myself so I need some time for a new version
[Xposed Framework Modules] Adam3Sixty:
No problem, glad I can be a help to test things :) right now it does what it is meant to do so I am happy. Thank u :)
[Xposed Framework Modules] Pootcha:
Can you check this?

The password is some kind of codes

ex. "85f80b241c6c85890fbdbb122af2e38e"

That's not the wifi password. How to fix this? Thanks in advance.

Im using Samsung s4 SHV-E300L.
[Xposed Framework Modules] thereeladrian:
working on my Galaxy S4, but it's hard to read the password. Even though I changed text color to black on the app settings, it keeps showing white text and since I'm on lollipop (white theme) It's almost impossible to read the text.
[Xposed Framework Modules] whdeveloper:
I am aware of the problem, but am not able to fix it yet. Although the color is not needed anymore in the new version.

I just need to fix one last issue (the same problem as the color), but as I said I am not able to fix it yet.

The new version will also support Android 5 and will add a feature to see the password in the network info and edit dialogs (these features give the compatibility with Android 5)
[Xposed Framework Modules] Adam3Sixty:
Looking forward to the update :) this is one of my main modules.
[Xposed Framework Modules] toxoviper:
I only see the wifi password in code. It's not the correct password. It's a long pre-shared key... Any fix for this? Thanks!
[Xposed Framework Modules] whdeveloper:
[MENTION=6919020]toxoviper[/MENTION]

Do you have an network with both password and psk? That will explain the wrong behaviour, but it should still show them both.

Or is psk unreadable and encrypted like the Samsung devices?
[Xposed Framework Modules] whdeveloper:
Okay, I think I am ready to try a new version:)

For people with the unreadable show password screen, I hope it is working now, otherwise try the extra option for the info dialog, this will show the password or psk in the info dialog (both info and edit dialogs).

TODO:

Create an option toggle for the context menu item (ShowPassword screen).

Craete an option toggle for log modes. (Current debug log is not implemented anymore)
[Xposed Framework Modules] mithun632:
Micromax A109