[HELP] Android OS Database - Android Software/Hacking General [Developers Only]

Hey Guys,
The Sad Story (please don't waste 2 minutes reading this crap)
So for the past 3 days or so I've been trying to acquire the Android OS database. I've looked into a few tools such as Java Eclipse and SQLite Browser for acquiring the database tables via an SQL query. In an effort to achieve the desired goals I borrowed an unrooted Android phone and attempted to root it via the SuperOneClick tool; however, the phone was unsupported / no success.
I took another step forward by following yet another guide; this time, a Samsung-only guide. I'm unable to provide a link to this one as it's on my other computer. Having seen the guide and realising that the phone was also not-supported, and I ran the risk of bricking it. I decided to weigh my options; the risk of bricking the phone would be much time consuming as i'd have to purchase a new phone for the individual and re-add all their information on it - so I digressed.
I have many friends with rooted phones etc but they all don't have full roots so they too are unable to access the /data folder.
I'm aware of the Android SDK and I have it and have worked with it regularly; however, I never attempted to fetch a dump of the tables from the actual OS. I will attempt it but in the mean time, this thread seems like a 'wise' thing to do.
The Problem
I would like a dump file (copy) of the Android OS database that details the structure of the Contacts, Phone and Messaging apps. This information will be used to develop a conceptual and logical database model to aid in the development of an Android Simulation system which I'm building - the likes of which I will gladly post in this thread once it's complete.
Why should you help me
No particular reason at all, but I'm a nice guy, people have email addresses, emotions and Christmas is near.
Thank you for your time.

Thanks to those who at least viewed my thread. Though I didn't receive any responses or advice I was able to get the OS dump files of the databases while collaborating with one of my friends.
I thank you all for your time.

Related

[Q] Another calorie counter app?

Hello to all on this forum.
I have a Flash application that I want to develop into an Android app. I would not require some of the bells and whistles that are currently on the application, but a simple sub-set of how it works now. The flash application can be found here:
FastFood.com/nutrition/
(Hope this URL is allowed here as it will help people understand what I want to do.)
I have all the source files and programming for this and hoped they would be of some help in developing the Android app. But of course, I have no idea if this is any help at all to whoever develops the app for me.
Anyway, before trying to source a developer to do this for me, I thought I should ask a few questions to see if this is even something practical. So I hope some of you can give me some guidance regarding my questions.
1) Are most applications stand alone in the mobile phone, or is it common for some of these apps to access the network to get the necessary data required to operate? My purpose requires a database that is currently 14 megs, and must be accessible to the app, although only small portions of it are needed at any one time.
2) Are there varying systems within the Android family, or versions of the operating system that need to be accounted for?
3) Are there good reasons to develop for both Android and iPhone together? I mean from a cost to develop point of view? Or would it likely be just as effective to develop for Android, then move on to iPhone, or others, as is appropriate?
4) I am guessing that if you have looked at the flash version of our Calorie Counter, you could probably give an educated guess as to what it might cost to replicate a scaled down version for Android. So please, take a stab at it if you can.
Thanks

How should I start? Android dev.

First, I know there are some other topics out there asking the same exact thing, but I think my situation is kinda different.
So, want to learn how to develop for Android. Building custom ROMs, Android apps, tweaks, etc. But my actual knowledge is only user lever. I only know what a android user should know (flash ROMs, root, etc). Zero dev knowledge. Nothing.
I want to know with what should I start to learn to do Android dev. Nothing like: 1 hour and you're the best dev out there. I know it takes time. But I want to focus on Android.
So, what do you have to say?
In very general terms it would be to pick one of your favorite roms for your phone, pull it apart and then put it back together until you understand what is going on.
In more "specific" (though this is frankly scratching the surface) terms, you would first spend hours finding out how to back up your phone including the AAA key, the meid and so forth as well as other software compatible with your phone to restore it. As frankly since you're likely using your phone to test, you'll have more than one occasion it will be soft bricked.
Thereafter you would learn more in regards to development tools, in specific over at developer.android.com. Read the dev guide and so on.
Third, decide how you want to implement a unix/linux test environment, unless you're already on linux.
And forth you'd look at your favorite rom developer's build from their development site (the name of the domain escapes me) pull it apart and try to analyze the details.
Last but not least you'd FOLLOW new developments with android and the phone as well as learn to adjust to any new firmware that comes out from the manufacturer.
I'm in the process of learning how to develop myself but I've already discovered a lot more with the phone's underlying structure. That said, a lot of the answers are found in bits and pieces on this forum. But when you start to learn and ask specific questions like "what partition is the system mounted on for a Samsung Galaxy Ace" you'll begin to understand the file structure and then underlying software involved.
This was very helpful. I'm glad to see there are helpful people here that aren't going to talk down to a "new user" and I was also wondering how I could view files on windows 7. For example the structure of apk files or any of the others that say no program found to open this file
For example I want to begin by changing the boot screen from the solar flare looking Android boot screen to scrolling tiles or something of the sort then back can some explain that and I'm sure I can gain quite an understanding on the process that way
Sent from my SGH-I777 using xda premium
If you want to do programming you should start with the Android SDK: http://developer.android.com/sdk/index.html
An apk file is actually a zip file.
If you want to get an idea of all the stuff that is in there, just rename it to .zip and open with your favorite utility.
The contents of this archive file are also in binary form and compressed.
To get down to the lowest level you need to use something like apktool: http://code.google.com/p/android-apktool/
Much obliged I'll do that. Any Intel on boot.img
Sent from my SGH-I777 using xda premium

[Q] Total NOOB needs some help :)

Hi all,
My name is Fabian, and I have a strong background in C. (Done a CS course in C).
I want to do an Android app for my final project(nothing too fancy or complicated but I have to at least have some interface ) and I'm a little stuck with how to proceed from here.
I watched the Java essential course on Lynda and I did understand a little the difference between C in Java, however I don't know how to proceed from here to actual Android development.
If anyone can recommend me finding a crash course, a book or any other resource that could get me up and running as soon as possible, I would really appreciate it.
I don't mind spending money on it.
Thanks in advance.
Fabian
fabiansc said:
Hi all,
My name is Fabian, and I have a strong background in C. (Done a CS course in C).
I want to do an Android app for my final project(nothing too fancy or complicated but I have to at least have some interface ) and I'm a little stuck with how to proceed from here.
I watched the Java essential course on Lynda and I did understand a little the difference between C in Java, however I don't know how to proceed from here to actual Android development.
If anyone can recommend me finding a crash course, a book or any other resource that could get me up and running as soon as possible, I would really appreciate it.
I don't mind spending money on it.
Thanks in advance.
Fabian
Click to expand...
Click to collapse
A great resource for Android development is the official Android training documentation from Google, as well as these tutorials. Let me know if you still have questions I'll be happy to help.
thanks little question regrading databases
shimp208 said:
A great resource for Android development is the official Android training documentation from Google, as well as these tutorials. Let me know if you still have questions I'll be happy to help.
Click to expand...
Click to collapse
Hi,
Thanks for your help I learned a lot and I'm already planning my app
I just have one question that could really help.
I want to make an app where people on different devices can interact and send each other tasks. I guess I need a kind of SQL server that supports Android, right? Is there a better or at least more economic way to do it if I will have around 1000 users where each one can add people to send tasks to?
Many thanks,
Fabian
And one more question
Is there any way to do a phone number authentication (like Whatsapp) instead of user name and password which I think is a little to tedious for my planned app ?
Thanks in advance
Hola, for the task sending. Would you like to make all task public? Or should you send it like a message?
But when i need access to a server, i use php scripts. But we can take that later, when you have answered my last question
For the phone number authentication, you have to have a online database, with all phone numbers. User inserts their phone number, the first time they starts the app. Then you can retrieve it from the database. But we can also take that later.
I´m glad if i helped.
(Sorry for my bad english.. )
Hola
Well I want it to be like a manager that gives a task to his employee. I want the task to be between them and only they can close it.
Likewise, it would be a problem if I make a simple phone number insertion if there's no validation. I was thinking about a number verification (like whatsapp) to prevent other people from accessing the tasks.
Do you think it's possible or should I go with username and password?
Thanks
fabiansc said:
Hi,
Thanks for your help I learned a lot and I'm already planning my app
I just have one question that could really help.
I want to make an app where people on different devices can interact and send each other tasks. I guess I need a kind of SQL server that supports Android, right? Is there a better or at least more economic way to do it if I will have around 1000 users where each one can add people to send tasks to?
Many thanks,
Fabian
Click to expand...
Click to collapse
I am using OpenShift - https://www.openshift.com/developers - which is a open source cloud architecture in that they offer packages like NodeJS and DB's. They allow you to have 'gears' which I guess is their name for services running on their cloud. The free account has 3 gears.
I currently only have a NodeJS server running to deliver files however (as far as I understand it) you can have MySQL and others as a backend. I would think that whatever devices you develop on would simply log into the DB and look up messages/tasks etc. I would also think that your app could insert those things. The best part is it is free until you reach Enterprise level or so. I would check it out since free is good. Offhand, I do not know what DB's Android supports via java but MySQL is probably one of them.
Just some info for you to examine.
Good luck
Hola, of course its possible! But maybe Username and Password is easiest.
You can use e-mail validation.
I actually worked on a application, there store products in databases. So i have tried it before. Ask if you are confused
And Sum1nil, sqlite is implemented in android, so for local database, use sqlite.
But for online database access, i use php

[Q] Zte Midnight (Android 2.3.7)

I purchased some androids from Straight Talk last week as a way to learn and break into the scene of linux/droid programming. I am finding it difficult to find the information I need as I constantly receive the 927 error from google when I try to load an app and have been forced to go to the url's of the actual "apk" files to install apps. Upon doing so I began receiving the low-space errors that android systems are apparently famous for.
My main question here is, how might I utilize the space of my 4gb sd-card that came with the devices I ordered to give the device more space to work with ( maybe by formatting the card to ext4/droid specifications ) and is that possible ? Or would I have to root my device in order to have it run from the sd-card?
I searched using keywords in this forum but could not find anything related directly to this situation I am facing and wanted to make sure I asked if there are certain phrazes or key words I need to be researching to learn more about this?
Please help, as I feel like I am drowning in the inability to assimilate what info is available here.

New Android Phone User . . .

I just got my first Android phone; Samsung Galaxy S7 Edge. Needless to say, I have a lot to learn.
I have a Toshiba laptop with an Intel Core i7 & 8GB memory running Windows 7 Ultimate 64-bit.
1st Question: What directories can I import JPGs (for Wallpaper) and MP3s (Music) into for use?
2nd Question: What software should I use on my PC to better communicate and interact with the S7 Edge?
3rd Question: What posts on this Forum should I read to quickly enhance my learning curve?
Thanks!
1st question: Any. The phone work like a flash drive when connect to computer and will detect on it own where you store your images and music.
2nd question: Because of 1st question answer, I don't think you need any. But if you want, there's samsung smart switch which can backup&restore data and recover your phone software if something have gone wrong.
3rd question: I will let others answer this.
Sent from my SM-G935F using Tapatalk
Welcome to XDA and to the world of Android.
To further elaborate on your second question, depending on what you mean by "communicate and interact" there are a few things you may want to install on your computer (I do all the below and my computer is much weaker than urs).
For example if you want to send commands to ur device from computer then you can install adb on your device. This is particularly useful for certain apps that require special permissions that can only be granted through adb. You can also do other things with it such as change permissions - for example refuse background processes for some apps as shown in this guide here (guide also shows how to install adb) https://www.xda-developers.com/freeze-app-background-processes-without-root-android-nougat/ .
If you are interested in mods which you may find alot of people on this forum are, then you may consider downloading Odin for PC which will allow you to install a custom recovery (as well as other things) which will in turn help you make many mods to ur device. Guide to installing custom recovery: https://forum.xda-developers.com/s7...overy-official-twrp-hero2lte-3-0-0-0-t3334084 .
With custom recovery, you can "root" the device - allowing higher permissions than before and therefore more possibilities for customisation and function for apps. Custom recovery can also allow you to "flash" (install) a new ROM (OS), or flash other mods that you will see in the forums.
Question 3
I think my previous answer overlapped with this a bit. I reckon XDA is challenging place to start learning about the basics of android if this were your first device. It is messy and full of people who know the basics and are trying do go above and beyond the limitations of the Android market. If you want to learn through XDA, I recommend you look up the "questions and answers" or "guides, news and discussion" sections. Otherwise a quick google should answer most queeries regarding the basics of the android as you discover more about your device. If not, we are (friendly and) always here to answer questions (as long as you post in the right sections).
I hope this isnt too basic for you. I thought it be better if I start simple to ensure understanding. Any queeries or comments, feel free to post.
BudParker - XDA said:
I just got my first Android phone; Samsung Galaxy S7 Edge. Needless to say, I have a lot to learn.
I have a Toshiba laptop with an Intel Core i7 & 8GB memory running Windows 7 Ultimate 64-bit.
1st Question: What directories can I import JPGs (for Wallpaper) and MP3s (Music) into for use?
2nd Question: What software should I use on my PC to better communicate and interact with the S7 Edge?
3rd Question: What posts on this Forum should I read to quickly enhance my learning curve?
Thanks!
Click to expand...
Click to collapse
1. It's best to keep a clean folder structure within your device. On Samsung devices, Music is stored under internal memory/Music or external SD card/Music. I'd advise importing Wallpapers and the like to the "Pictures" Folder in either of the storage options.
2. No Software needed. Your Android Phone will work like a USB-Flash drive. Once connected to a PC or MAC, you File Explorer or Finder will show you the internal folders and files of your phone and you can just start drag&drop actions.
3. Hardest to answer....Just start reading. How I did it when I first came here:
- Start with the Forum Rules.
- Write down words I don't know/understand and research these words.
- Endless reading.
- Start asking questions.
- Endless reading (When it pays off, you won't notice. However, you'll notice when you didn't read and end up bricking your device.)
- Start testing on my own device.
- Answer questions.
Hope it helps =) Welcome to XDA!
nitrous² said:
1. It's best to keep a clean folder structure within your device. On Samsung devices, Music is stored under internal memory/Music or external SD card/Music. I'd advise importing Wallpapers and the like to the "Pictures" Folder in either of the storage options.
2. No Software needed. Your Android Phone will work like a USB-Flash drive. Once connected to a PC or MAC, you File Explorer or Finder will show you the internal folders and files of your phone and you can just start drag&drop actions.
3. Hardest to answer....Just start reading. How I did it when I first came here:
- Start with the Forum Rules.
- Write down words I don't know/understand and research these words.
- Endless reading.
- Start asking questions.
- Endless reading (When it pays off, you won't notice. However, you'll notice when you didn't read and end up bricking your device.)
- Start testing on my own device.
- Answer questions.
Hope it helps =) Welcome to XDA!
Click to expand...
Click to collapse
Thanks, my friend. Your reply is much appreciated.
Eggleston11 said:
Welcome to XDA and to the world of Android.
To further elaborate on your second question, depending on what you mean by "communicate and interact" there are a few things you may want to install on your computer (I do all the below and my computer is much weaker than urs).
For example if you want to send commands to ur device from computer then you can install adb on your device. This is particularly useful for certain apps that require special permissions that can only be granted through adb. You can also do other things with it such as change permissions - for example refuse background processes for some apps as shown in this guide here (guide also shows how to install adb) https://www.xda-developers.com/freeze-app-background-processes-without-root-android-nougat/ .
If you are interested in mods which you may find alot of people on this forum are, then you may consider downloading Odin for PC which will allow you to install a custom recovery (as well as other things) which will in turn help you make many mods to ur device. Guide to installing custom recovery: https://forum.xda-developers.com/s7...overy-official-twrp-hero2lte-3-0-0-0-t3334084 .
With custom recovery, you can "root" the device - allowing higher permissions than before and therefore more possibilities for customisation and function for apps. Custom recovery can also allow you to "flash" (install) a new ROM (OS), or flash other mods that you will see in the forums.
Question 3
I think my previous answer overlapped with this a bit. I reckon XDA is challenging place to start learning about the basics of android if this were your first device. It is messy and full of people who know the basics and are trying do go above and beyond the limitations of the Android market. If you want to learn through XDA, I recommend you look up the "questions and answers" or "guides, news and discussion" sections. Otherwise a quick google should answer most queeries regarding the basics of the android as you discover more about your device. If not, we are (friendly and) always here to answer questions (as long as you post in the right sections).
I hope this isnt too basic for you. I thought it be better if I start simple to ensure understanding. Any queeries or comments, feel free to post.
Click to expand...
Click to collapse
I appreciate your comments and helpful attitude! I'll follow your advice.

Categories

Resources