[REQ] Something to view Webview.db passwords on rooted device - Android Software Development

I tried pulling my
Code:
/data/data/com.android.browser/databases/webview.db
and running it through sqlite, but it doesn't work :/
Like this. If anyone thinks there's something dodgy about this, there isn't.

webview.db doesn't show my passwords
I want to view all my saved passwords in Opera Mini for Andorid.
I got the webview.db file in /data/data/com.opera.mini.android/databases/ .
However, after viewing it in SQLite database, it shows no passwords saved (see screenshot). But the username and passwords are there typed on every login pages when I use the browser.
How do I view the passwords?

Related

Fascinate stock email app & attachments

I have found that using the stock email app doesn't allow you to "open" or attach PDF files to emails.
I have three email accounts connected to the stock email app, Exchange, Gmail and Hotmail.
1) If I send an Excel or Word document to any of these accounts I get the option to "save" or "open" the attachment. However, if I send a PDF document to any of these accounts the only option is to the "save" the file. Then I have to go find it using a file manager before I can open it. I have tried Adobe PDF viewer & Thinkfree that comes on the device and neither will allow me to open PDFs in the email app.
2) The stock email application will not allow me to attach any files other than pictures. When I click attach it brings up the file manager (it appears to be the stock "my files" application) which allows me to view the SD card and won't show any other file types other than picture types. I have multiple PDFs on the SD card in various folders and NONE of them show up as being able to be attached to the email.
The weird part is that if I use the "Gmail" email application (the one that only allows gmail accounts) I can open PDFs straight from the Gmail application without saving first. I can also attach any file type using this application.
Does the stock email application suck this bad? My two co-workers with Dincs have no problem doing either of the above things.
I tried Touchdown, Maildroid & K9. They all attach all file types & open files directly from the email.
Does anyone elses mail app exhibit the same behavior as mine? Or did mine get messed up somehow.
The issue actually appears to be related to what program the email app will allow you to use to find attachments.
The stock mail program appears to use My Files, but it only allows you to see picture files. The Gmail program will only use "Gallery" to find attach files if you don't have a file explorer installed.
I have Astro installed and if you use the Gmail program and try to attach something it will ask you if you want to use Astro or the Gallery. I then went and uninstalled Astro and went back to attach a file through the Gmail App and it only allowed me to use the Gallery app to look for attachments.
So the problem actually DOES exist in the Gmail app, but the Gmail app will let you use other file explorers to look for attachments.
I just cant see how that got past whatever process they use in developing their app.... How can you design a mail app that doesn't allow you to attach anything but picture files.... I mean thats just ridiculous.
I would not recommend the Fascinate to be honest just because of this issue. Sure it can be worked around using other email apps and downloading file explorers. Its not that big of a deal if you only use Gmail, but if you heavily use exchange and have to rely on the mail app or a 3rd party mail app it sucks.
I ran into this just last night actually when I tried to open a pdf from an email.
So I emailed samsung to ask if this was intentional or not. They didn't give me a real good answer but here is what they said.
"Thank you for your inquiry. With the SCH-I500 mobile phone, you can only attach picture file types. If you would like to attach other files such as PDF files, you need to download an application through the android market for PDF application."
To me, that sounds like this was intentional and the stock mail app will never have the ability to attach anything other than pictures.
astraelraen said:
So I emailed samsung to ask if this was intentional or not. They didn't give me a real good answer but here is what they said.
"Thank you for your inquiry. With the SCH-I500 mobile phone, you can only attach picture file types. If you would like to attach other files such as PDF files, you need to download an application through the android market for PDF application."
To me, that sounds like this was intentional and the stock mail app will never have the ability to attach anything other than pictures.
Click to expand...
Click to collapse
Out of curiosity, with all the great email apps that you mentioned having tried, why not just use one that does what you need it to do? That's one of the great things about Android: the stock apps are just there to get you started!
Maybe this is a bug due to the DB issues, but whenever I click "Read first unread" for this thread, it takes me here: http://forum.xda-developers.com/showthread.php?p=8315757#post8315757

Passwords unencrypted?!

Hi. i've just found today a file named "accounts.db" stored in /data/system. if i open this file i can see all accounts (names with password) i use on my mobile, like Email or HTC Acc. And they are all (excepted google's account) unencrypted. And even if i delete all my email-accounts, the entry in this file is still present.
so if you lost your mobile, be sure that guy can read your passwords for your email accounts.
My question is: Is it possible to encrypt this file or keep my passwords on an android mobilephone safe...? i know google and its a very suspect OS, but this is.. lousy.
redplate said:
Hi. i've just found today a file named "accounts.db" stored in /data/system. if i open this file i can see all accounts (names with password) i use on my mobile, like Email or HTC Acc. And they are all (excepted google's account) unencrypted.
so if you lost your mobile, be sure that guy can read your passwords for your email accounts.
My question is: Is it possible to encrypt this file or keep my passwords on a android mobilephone safe...? i know google and its an very suspect OS, but this is.. lousy.
Click to expand...
Click to collapse
http://www.androidcentral.com/android-passwords-rooted-clear-text
Only advice I can say is invest in a decent wrist strap, something like what comes with a Wii remote controller
GG Google!
thanks, good to hear its already known. And LOL, i will keep that in mind.. i need to buy a wii-controller now :O

[Q] synchronization with my own cloud

I'm trying to add a synchronization function to my app which will work like this :
I want it to be login free, so no new account will be needed.
The data will be assigned to the user's google account on which he's logged in.
On server side, there will be a mySQL database wich will hold the user's data.
I didn't find a useful tutorial. This one uses some weird servlet or whatever, and the official google tut is very briefly explained.
Could anyone help me ?
halp meh plz
I was also trying to find a tutorial for something like this a while ago. Theres not much out there. Seems need to know how to write your own server side code to handle the synchronising and then communicate with the app through https or whatever.
Well, that doesn't help me very much. I know php/mySQL as well. I could imagine synchronization through xml - like implementing a function that would create an xml file from my database, upload it to the server and parse it/put it my online database.
This would be useful, if I only wanted to be able to modify data on one end - the phone - but then it wouldn't be called syncing, rather backup.
Or maybe I could request a similar xml file from the server. I think it should be possible to send some kind of query from the device to the server which would call a function that creates an xml file from database entries and then download the created file, parse it, compare with the device's database and update the database if some file was updated (it's 'last edited' time was changed).
So on each sync cycle I would first get the server-side xml file, update the local DB, then create the xml file from local DB, send it to the server and update the online DB. Only files with newer "last edited" time would be updated.
What do you think ?
Who the hell if not you, guys, can help me ?
bumpity bump

Saving bookmarks

Good evening all.
I have a problem which is doing my head in and would be extremely grateful for your advice.
I have made different folders for my bookmarks and like to save them in specific folders. I can't, however, find a way of doing that when I save one - each time the bookmark is saved in the root folder. I have tried to move the bookmarks later after saving and I can't even do that. In frustration I actually logged in to my mobile account on my desktop and sorted out the bookmarks that way (I have 2 accounts - one for laptop and the other for my mobile/tablet) but surely there must be an easier way!
What browser?
You can move to a different folder in the stock browser by long pressing a bookmark and edit.
Our you on about something else?
Assuming you are talking about Internet bookmarks.
That is why I like Firefox for my web browser. I can use the Firefox sync to keep all my bookmarks synced between my devices and keep them organized in the folders I choose.
Thanks Irish Sid and Donec.
I am definitely talking about the stock browser. I have tried to edit the bookmarks but I just don't get any options of moving them to another folder. It will allow me to click on the 'location' link but when I go there, the only folder I see is the 'Home' folder.
I am very confused!!

Setting up Sync for FBReader

No longer working as of May 30, 2020--for a fix, see: https://forum.xda-developers.com/nook-touch/general/nst-g-fbreader-personal-catalog-sync-t4110171
FBReader (even the version made specifically for the NST) is supposed to have the capability to sync reading positions, bookmarks, etc., across devices. This is done by giving the FBReader servers permission to write/modify files in a folder on your Google Drive. We may debate the wisdom of giving the app limited access to your Google Drive, or we may just call it "whatever" and plan to have a Google account just for this one thing (my idea) and hope for the best. In all the time FBReader has been around I've never heard of any shenanigans. Just sayin...
So, the issue is with trying to log in to a Google account from the browser. I'm using Opera Mobile and at one time I was able to sign in on the Google home page. I can still sign in and out, but only with the original account I used I've checked for "less secure sign-in methods", etc., but no amount of fiddling seems to make any difference. Google says the password is "incorrect" for every account but that one I started with long ago. The passwords are correct, of course, it's just Google being Google.
What to do?
Whilst fooling with this recently, it occurred to me to try a trick I've used before: install the app on my little rooted KitKat device, set up the sync account, then copy out any relevant database files and configuration files. These files I then copy to the NST, overwriting what is there.
It took a bit of cleaning up because the directory structure in KitKat is different from that on the NST and there are some complaints from the app when you first start, but you just need to slowly clean up all the directory references in Settings and then it starts to work
A summary
0. You need another rooted device on which the FBReader app (attached below) will install and run.
1. Install FBReader on both your NST/G and the second device.
2. Go to books.fbreader.org and set up your Network Library (you pick the Google account (Google Drive) to use).
3. On the non-NST device, open FBReader and access "Network Library". This will take you to the browser to sign in to whatever Google account you have chosen.
4. Exit FBReader.
5. With a root file explorer, navigate to /data/data/org.geometerplus.zlibrary.ui.android. There are three folders in the directory. Copy all the db files from "databases" and from "shared_prefs" copy fbreader.auth.xml
6. Move these files to the NST/G and copy them into the same directories, overwriting the ones present.
7. With WiFi on, open FBReader on the NST/G. You will be challenged with an error if the path for cached files cannot be resolved. Tap on the folder option and navigate to select /sdcard/Books/.FBReader. This gets you past the first hurdle.
8. Tap at the bottom of the opening screen and select "Network Library". If things have gone sort of right up to this point you will see your Google account email under "FBReader book network".
9. Go back to the beginning and tap at the bottom to select More...Settings. Clean up the directories information as needed. Set up Synchronization (you can work on other stuff later).
10. Access Network Library again and try tapping on "FBReader book network". If you put any books into your account back in step 2, you can download one.
That's it! Of course, sync is limited by the fact that you have to be connected to WiFi, at least at the beginning and end of reading (may take little bit of time...not sure).

Categories

Resources