whats /data/system/checkin.db ? - G1 Android Development

I've looked everywhere, can't find whats it for..

are getting an error with this file when using the SDk, eclipse?

Mine has the following tables if it helps. I've looked at the tables themselves but can't really tell what they're for.
crashes
properties
android_metadata
events
stats
Click to expand...
Click to collapse

This is for checking in with the google/HTC servers and requesting updates.
Do you have the contents of those tables?

Related

[Think Tank] Modifying G1 to enable Navigation - THUNK!

This has been solved! Please see around page 8 of this thread.
esmith972 said:
Here guys, all wrapped up.
Make sure you have CyanogenMod 4.2.3.1, by the way.
1) Unzip zip to desktop
2) Run Part 1.bat
3) When prompted to press any key, do so; the phone will reboot
4) When your phone is running again, run Part 2.bat
5) When prompted to press any key, the installation process is done.
6) Make sure GPS is enabled
7) Open Maps and press OK
8) Press Menu
9) Press Directions
10) Enter an end point
11) Click Go
12) Just under "Show on map", click Navigate.
13) When prompted to install the voice codec, do so.
14) Enjoy.
http://www.mediafire.com/?lioyoy2ydzu
Click to expand...
Click to collapse
If you have no navigation option after the above steps try installing Google Voice from the market:
1wayjonny said:
AWESOME !!! Took another users post to install google voice and BAM the navigation button showed up!!!! Woot!
Click to expand...
Click to collapse
===============================================
This is a continuation of a discussion that started in this thread: http://forum.xda-developers.com/showthread.php?p=4918275
My best guess as to why navigation works in the emulator but not on the phone has to do with what kind of device the Maps application thinks it is running on.
For example, if you start maps and press menu->more->about and look at the "Platform" line, that will be different according to the device (emulator or G1 or other) that you are running on. What we need to change (I think) would be that setting.
According to this link, you can programatically get that string (I'm pretty sure they were talking about that string) through the API. Anyone more familiar with the API know where that string is stored?
Also, any other suggestions as to why it won't work on a real phone may be discussed in this thread.
What does platform say on the emulator? According to the info in that link, it should be null.
Cyanogen 4.3.2.1 Instructions http://forum.xda-developers.com/showpost.php?p=4921092&postcount=196
On my way to verizon to see what I can find out off the droid.... wonder if I can bring my laptop in and plug it up.... lol
[email protected] said:
What does platform say on the emulator? According to the info in that link, it should be null.
Click to expand...
Click to collapse
I fired it up to check. The exact string is "android:unknown-generic-sdk"
followinginsanity said:
On my way to verizon to see what I can find out off the droid.... wonder if I can bring my laptop in and plug it up.... lol
Click to expand...
Click to collapse
You should then just do adb pull /system C: and then bring it here. I'm sure they won't mind you trying to break their system
One thing I noticed is that it repeatedly references epc.tmobile.com as the provider. Let's hope they aren't using that and checking for verizon or this is a fool's quest.
Some interesting things to note:
The Version string of the Maps app is different in the emulator than on the phone as well.
Emulator: "3.2.0 (#3232) Web"
Phone: "3.2.0 (#3232) gmm-google"
Also, there was a blog post put up before 1.5 was released showing a way that you could spoof the ANDROID_ID on the phone by modifying a database (article here). I don't know if this is valid since at the end of the article he stated that they were supposed to fix it with 1.5.
Edit: I may have gotten ahead of myself. The ANDROID_ID string I think is not the correct one that I was looking for. That seems to be unique to the phone and not to the model, maker, whatever.
octobclrnts said:
Some interesting things to note:
The Version string of the Maps app is different in the emulator than on the phone as well.
Emulator: "3.2.0 (#3232) Web"
Phone: "3.2.0 (#3232) gmm-google"
Click to expand...
Click to collapse
Hmm mine actually says "3.2.0 (#3232) gmm-android-tmobile" for the version number... interesting.
[email protected] said:
Hmm mine actually says "3.2.0 (#3232) gmm-android-tmobile" for the version number... interesting.
Click to expand...
Click to collapse
I'm thinking that we're going to need someone to go to a Verizon store and see what the droid says there.
JAguirre1231 said:
I'm thinking that we're going to need someone to go to a Verizon store and see what the droid says there.
Click to expand...
Click to collapse
The question is, even if we knew what the droid said - how can we change our Platform string to match. It's clearly not reading off of the build.prop file (and neither is the device string in the about phone menu).
Maybe it's a database issue (the database gets initialized the first time the phone is booted to the values in the build.prop file?) that just needs to be wiped.
octobclrnts said:
The question is, even if we knew what the droid said - how can we change our Platform string to match. It's clearly not reading off of the build.prop file (and neither is the device string in the about phone menu).
Maybe it's a database issue (the database gets initialized the first time the phone is booted to the values in the build.prop file?) that just needs to be wiped.
Click to expand...
Click to collapse
Yeah, I know where your coming from. However, I think it would be easier if we at least knew what build we were aiming for
JAguirre1231 said:
Yeah, I know where your coming from. However, I think it would be easier if we at least knew what build we were aiming for
Click to expand...
Click to collapse
Well let's see... what do we know so far?
The version string shows up differently on different phones and the emulator shows up with a general one, but all have the same number. So it's probably not that, it seems to be building that from information it gathers elsewhere on the phone.
It's probably not reading which network is being used since that would block the emulator(which isn't running off the verizon network).
The only thing left I can think of immediately is the model string. That would actually make perfect sense, check against the model string to make sure that it's either the emulator or the droid. Otherwise turn off navigation. Changing that would be my first thing to aim for.
[email protected] said:
Well let's see... what do we know so far?
The version string shows up differently on different phones and the emulator shows up with a general one, but all have the same number. So it's probably not that, it seems to be building that from information it gathers elsewhere on the phone.
It's probably not reading which network is being used since that would block the emulator(which isn't running off the verizon network).
The only thing left I can think of immediately is the model string. That would actually make perfect sense, check against the model string to make sure that it's either the emulator or the droid. Otherwise turn off navigation. Changing that would be my first thing to aim for.
Click to expand...
Click to collapse
How tough is that to do?
Just wondering since if easy someone would of tried already.
Coderedpl said:
How tough is that to do?
Just wondering since if easy someone would of tried already.
Click to expand...
Click to collapse
No clue, probably need someone with experience making ROMs for that info. I'm guessing it has to be in some file somewhere. Seems highly unlikely they'd have done something as crazy as building that into the hardware.
Well, I modified cyanogen's build.prop file to include the lines below:
ro.build.id=ECLAIR
ro.build.version.sdk=5
ro.build.version.release=2.0
ro.product.name=sdk
ro.product.device=generic
ro.product.manufacturer=unknown
As well as put the Maps.apk into the system/app folder in his update file. Then I resigned the file, put it on my SD card and wiped my phone. I installed the "new" rom and booted up. The maps app works exactly as it should sans navigation options. The Version string i have now is the "3.2.0 (#3232) gmm-androidd-tmobile" one but the Platform string is unchanged.
I noticed in the "About Phone" menu, the Model Number (T-Mobile G1) was unchanged but the Firmware version said "2.0" and I'm pretty sure it said "1.6" before.
octobclrnts said:
Well, I modified cyanogen's build.prop file to include the lines below:
ro.build.id=ECLAIR
ro.build.version.sdk=5
ro.build.version.release=2.0
ro.product.name=sdk
ro.product.device=generic
ro.product.manufacturer=unknown
As well as put the Maps.apk into the system/app folder in his update file. Then I resigned the file, put it on my SD card and wiped my phone. I installed the "new" rom and booted up. The maps app works exactly as it should sans navigation options. The Version string i have now is the "3.2.0 (#3232) gmm-androidd-tmobile" one but the Platform string is unchanged.
I noticed in the "About Phone" menu, the Model Number (T-Mobile G1) was unchanged but the Firmware version said "2.0" and I'm pretty sure it said "1.6" before.
Click to expand...
Click to collapse
You would be right, cyanogen only makes builds from soure code. And the source code for 2.0 hasn't been released yet. So, obviously we need to have a modified build.prop before we flash a rom, or it won't read it correctly
I was wrong. I had that same modified build.prop on my phone before I wiped, I just hadn't noticed that the firmware version number had changed. Perhaps I didn't modify the right valued to also get the model number to change.
I have decompiled Maps.apk using dedexer 1.7. Here is all the stuff it gave me. I used dexdump last night and it gave me something similar. Im using notepad++ to search through all the files for keywords but I cant find anything interesting. Maybe you can...
http://rapidshare.com/files/305162283/Maps.apk-dedexed.rar.html
staulkor said:
I have decompiled Maps.apk using dedexer 1.7. Here is all the stuff it gave me. I used dexdump last night and it gave me something similar. Im using notepad++ to search through all the files for keywords but I cant find anything interesting. Maybe you can...
http://rapidshare.com/files/305162283/Maps.apk-dedexed.rar.html
Click to expand...
Click to collapse
Cool I'll go through it in a min. and see if I can find anything interesting.
edit: opened it up and there is googlenav stuff com/google
There is also an android folder too. I'm going to look there first
As I'm going through these I found that Google has these things filled with static locations. Haven't found any that seem to lock it down, but that's not to say there aren't any

An root CA app for manual deleting

So here is an app that you can manual modify the Android keystore were the certificate's are and it's on the Android Market.
https://market.android.com/details?id=info.guardianproject.cacert
Sorry for my languae but I must do this quck before something will happen
Thanks for this. I have erased each instance of DigiNotar and Comodo.
Using a rooted Galaxy Tab with Gingerbread and CfRoot kernel.
Can you post a link to the source (since it is open-source)
Not quite sure if this is the same but at least it looks similar to
https://github.com/guardianproject/cacert
Looks good.
Does anyone have a link to which certs are questionable besides the two mentioned?
debernardis said:
DigiNotar and Comodo.
Click to expand...
Click to collapse
Great App!
While deleting certs is quite useful. Would you consider adding function for installing certs as well? There are many uses for that, for instance for people who self sign certificates or for accessing corporate networks that use certs signed by corporate IT CA for instance.
Technomancer said:
While deleting certs is quite useful. Would you consider adding function for installing certs as well? There are many uses for that, for instance for people who self sign certificates or for accessing corporate networks that use certs signed by corporate IT CA for instance.
Click to expand...
Click to collapse
+1
10chare
NLJ said:
Not quite sure if this is the same but at least it looks similar to
https://github.com/guardianproject/cacert
Click to expand...
Click to collapse
Yes that is
BenKranged said:
Does anyone have a link to which certs are questionable besides the two mentioned?
Click to expand...
Click to collapse
...Great app but I don't know which certificates to delete. Any help?
BenKranged said:
...Great app but I don't know which certificates to delete. Any help?
Click to expand...
Click to collapse
Push few seconds on a certificate and then delete it and go to menu and save the keystore

[Q] GUID of MetroTube?

Does anyone know the GUID of MetroTube and if this will be sufficient to add it to a Folders tile?
Thanks
-yes I know it's discontinued, but I still like it best.
at45 said:
Does anyone know the GUID of MetroTube and if this will be sufficient to add it to a Folders tile?
Thanks
-yes I know it's discontinued, but I still like it best.
Click to expand...
Click to collapse
Yeah I have it. Here it is: 8d93224f-2808-e011-9264-00237de2db9e
I don't know if it will work with Folders, but it SHOULD because the GUID is linked to the app when you downloaded it from the Marketplace so give it a shot!
OGCF said:
I don't know if it will work with Folders, but it SHOULD
Click to expand...
Click to collapse
Yeah I thought it should but it doesn't seem to in the restricted mode. Thanks for the info though.

Windows RT Whitelist Flash tool V1.0

Updated! *******02/25/2013*********
Backup feature added
The script will no longer kill active logins and cookies
Hello Everyone,
So I have an RT device and I been looking around the forums and saw a lot of people trying to add websites to the whitelist so they could get there flash sites working and were having issues. I now have created a script that will allow you to add websites and custom white lists without any issues.
Neowin.net article.
http://www.neowin.net/news/windows-rt-flash-player-tool-lets-you-easily-white-list-websites
WPCentral.com article.
http://www.wpcentral.com/windows-rt-flash-player-tool-brings-flash-content-your-surface-browser
betanews.com article.
http://betanews.com/2013/01/14/use-...tool-to-add-more-websites-to-ie10s-whitelist/
redmondpie.com article.
http://www.redmondpie.com/how-to-add-any-site-to-ie10-flash-whitelist-in-windows-rt-the-easy-way/
Download Links below...
http://www.filedropper.com/windowsrtwhitelistflashtoolv16
http://www.sendspace.com/file/yfom9j
http://droidkid.wordpress.com/project-windows-rt-flash-player-tool/
Here is a video on how it works
*******Update!*******
Current Bugs:
Takes about 2 and half minutes for it to add the website you choose to the list, not that big of a deal. However I’m working on fixing it.
Please report any bugs I will attempt to resolve them ASAP.
Thank you guys for all your support, I will update this thread as soon as the new release is available
I almost thought this was the first firmware flash tool haha... Anyway your tool works great thanks!
Bjray said:
I almost thought this was the first firmware flash tool haha... Anyway your tool works great thanks!
Click to expand...
Click to collapse
haha I know, naming the tool was probably the hardest part!
Great tool thanks:good:
Awesome, thanks!
Nice work
Btw I read on neowin about this tool deleting logins etc.
I think it has to delete browsing history or clear the cache in order to work. I dont think it will work without deleting one of those.
Let me know if you find a method to make it work without the need to delete browsing history and then ill add it to the other thread.
Regards
Marvin_S said:
Nice work
Btw I read on neowin about this tool deleting logins etc.
I think it has to delete browsing history or clear the cache in order to work. I dont think it will work without deleting one of those.
Let me know if you find a method to make it work without the need to delete browsing history and then ill add it to the other thread.
Regards
Click to expand...
Click to collapse
Yeah it will delete your stored login information.
I think i can get it to work without deleting the saved password information. I will be working on that this weekend along with a few more tweaks. I really just wanted to get it out there and have more people testing it.
If someone can confirm exactly what needs to be cleared I can adjust the settings in the script. Otherwise I will do my testing and find out.
Works like a charm for me, Asus Vivo tab RT
sergiopi said:
Works like a charm for me, Asus Vivo tab RT
Click to expand...
Click to collapse
No problem glad to know its working well on another device besides the surface
Will not work for me gives me an error saying
duplicate files exists or cannot find file, something along them lines. I have not added any address manually and I restored the default list as shown in the video.
What am I doing wrong?
THEBIG360 said:
Will not work for me gives me an error saying
duplicate files exists or cannot find file, something along them lines. I have not added any address manually and I restored the default list as shown in the video.
What am I doing wrong?
Click to expand...
Click to collapse
Ah can you please open the run command and navigate to %temp% and delete everything within and let me know if it works after that. if it does I can fix this in the next release.
Yep that worked mate thanks, it rakes a while to add my entry but I know you are aware of that's.
Thanks for this tool it is awesome.
THEBIG360 said:
Yep that worked mate thanks, it rakes a while to add my entry but I know you are aware of that's.
Thanks for this tool it is awesome.
Click to expand...
Click to collapse
No problem thanks for clarifying that I have added that to the bug list I will get that sorted out. Let me know if you run into any other issues.
Cheers
Work like a charm
can anyone see how to get slipstreamtv.com to work. I dont know how to find the site for the player
epidemic215 said:
can anyone see how to get slipstreamtv.com to work. I dont know how to find the site for the player
Click to expand...
Click to collapse
I'll look into it tomorrow and I'll reply in the thread
Answer!
epidemic215 said:
can anyone see how to get slipstreamtv.com to work. I dont know how to find the site for the player
Click to expand...
Click to collapse
Hey so I looked into it for you. I got it to work it wasn't to hard. So what is happening is the acutal video is hosted on another site so not only will you need to add slipstreamtv.com you will need to add the site that hosts the actual live TV. Now to find out the website that is hosting it all you have to do on a regular computer that has flash enabled you will need to right click where the video box is and click "settings" then click the little folder icon and it will show you the website where it is getting the stream from. I have posted pictures on how to do it.
However in this case it looks like slipstreamtv.com uses udemy.com but a lot one more website that I found by going through the HTML source of the website. I added the following site and it worked without an issue.
slipstreamtv.com
udemy.com
sawlive.tv
Cheers,
View attachment 1636726
View attachment 1636727
Remember sometimes you may need to look at the HTML code on the source page.
I have a question. Not to complain or anything. Why don't we set the required domain as "debug domain" in registry instead of messing with the white list? In my experience, using debug domain trick is much cleaner and it still allow the while list to get updated by Microsoft.
illidanx said:
I have a question. Not to complain or anything. Why don't we set the required domain as "debug domain" in registry instead of messing with the white list? In my experience, using debug domain trick is much cleaner and it still allow the while list to get updated by Microsoft.
Click to expand...
Click to collapse
Hey, I choose to do it this way because I did not want to add a ton of strings into the Registry. I'd rather play around with the white list then with the registry. I will be updating the custom white list thats within the tool often so that it will be very much up to date as Microsoft and contain custom ones as well.
TheDroidKid said:
Hey so I looked into it for you. I got it to work it wasn't to hard. So what is happening is the acutal video is hosted on another site so not only will you need to add slipstreamtv.com you will need to add the site that hosts the actual live TV. Now to find out the website that is hosting it all you have to do on a regular computer that has flash enabled you will need to right click where the video box is and click "settings" then click the little folder icon and it will show you the website where it is getting the stream from. I have posted pictures on how to do it.
However in this case it looks like slipstreamtv.com uses udemy.com but a lot one more website that I found by going through the HTML source of the website. I added the following site and it worked without an issue.
slipstreamtv.com
udemy.com
sawlive.tv
Cheers,
View attachment 1636726
View attachment 1636727
Remember sometimes you may need to look at the HTML code on the source page.
Click to expand...
Click to collapse
Thanks

Sending data to the MFD

Hey,
Does anybody know how to send data to the MFD (Multi Function Display)? I have a Corsa D. I get a "Welcome!!!" when it starts up.
I've tried decompiling a few apps (MTCCanbus, PCRadio) to see how they do it but it's pretty convoluted since you don't get the original variables and class names when decompiling.
Edit:
Just adding some useful resources to help me in my endeavors.
https://forum.xda-developers.com/showpost.php?p=71324770&postcount=7
https://github.com/xbenjii/mtccanbus-decompiled
I think someone may have done it in the very similar MTCB/C headuntis a few years back. You would also have to know all the code for your car's CAN Bus system as well I think
typos1 said:
I think someone may have done it in the very similar MTCB/C headuntis a few years back. You would also have to know all the code for your car's CAN Bus system as well I think
Click to expand...
Click to collapse
The bluetooth audio player already tells the MFD that it's playing through bluetooth, but I wanted a way to send the actual song/artist info to the MFD.
xbenjii said:
The bluetooth audio player already tells the MFD that it's playing through bluetooth, but I wanted a way to send the actual song/artist info to the MFD.
Click to expand...
Click to collapse
Yes, but my post still applies.
typos1 said:
Yes, but my post still applies.
Click to expand...
Click to collapse
Sorry, my point was that the code exists somewhere on one of the system apps in the rom. I've decompiled a few but couldn't find anything useful. I was just wondering if anyone knew a starting point.
xbenjii said:
Sorry, my point was that the code exists somewhere on one of the system apps in the rom. I've decompiled a few but couldn't find anything useful. I was just wondering if anyone knew a starting point.
Click to expand...
Click to collapse
Yes, it exists, but you need to find it and work out how to make it say what you want, I think it has been done to some extent for VWs, but I cant remember where, so youve got 3 years of MTCB forum to search through including the massive megathread that existed for 18 months before we got our own forum.
https://youtu.be/0sF8DlbRu-g
interesting...
I have a Astra H GTC ... same problem...
kaderekusen said:
https://youtu.be/0sF8DlbRu-g
Click to expand...
Click to collapse
I don't understand what I'm watching here. What does this have to do with the OP?
xbenjiiman said:
I don't understand what I'm watching here. What does this have to do with the OP?
Click to expand...
Click to collapse
Yeah, I dont get it either.
Just what I needed: https://forum.xda-developers.com/showpost.php?p=61202146&postcount=13705
Sure. In MTCMusic, you'd override the SendCanbusinfo(int, int) method in com.microntek.music/MusicActivity to broadcast the com.microntek.canbusdisplay intent action with extra time set to something other than the current playing time.
Of course this would only work for MTCMusic. If you wanted to use a 3rd-party media player, you could construct the same broadcast intent and pass the same info.
Click to expand...
Click to collapse
xbenjiiman said:
Just what I needed: https://forum.xda-developers.com/showpost.php?p=61202146&postcount=13705
Click to expand...
Click to collapse
You got success??
See your picture of the TID saying "capital"...
sousa_2005 said:
You got success??
See your picture of the TID saying "capital"...
Click to expand...
Click to collapse
I've managed to read the data that is being sent, so I'm going to have a play around with it today.
any update?
hello.
i have read and search for hours about "sending data to MFD" but im finaly not found what im lookink for.
my car is a Seat exeo/audi A4 b6
hu is xtrons PB78AA4P (gs) mit @Malaysk Rom android 8
i'am looking for the folders "com.microntek.music/MusicActivity" but i cant find them on my device. (i have searched in every folder)
how can i access this feature?
i want to write a feature to make a "custom welcome message" on the MFD and the next feature is to show the title of the current track is played instead of the playtime.
should i use xposed or make them with an .apk?
Following this.Also the radio RDS station name to be displayed on the MFD will be a great feature.Mine display only the station frequency on MFD display.( VW Passat )

Categories

Resources