Noobs guide to signing an APK with a Private Key - Android Themes

Noobs guide to signing an APK with a Private Key
Credit:
Tommytomatoe - For walking me through the setup/process/commands.
What you'll need to sign an APK.
SDK found here>> Java SDK
*For most users the java_ee_sdk-6u3-jdk7-windows.exe will be the one selected.
*After Install, restart your PC.
Next, open your command prompt
Type: cd C:\Program Files\Java\jre1.6.0_07\bin
*It highly likely, the jre1.6.... will be different. If it's close, then select it. I prefer to type cd c:\pro(pressing tab will automatically complete/find the remaining part of the directory)
If you're on Windows 7, the correct path is
Code:
c:\program files\Java\jdk1.7.0_01\bin
Creating your Private Key
Make sure you're in the directory stated above. We will now create a signed key. Below is an example of what we're going to do. I'll break it down in noob terms after.
Code:
keytool -genkey -v -keystore $KEYSTORE -alias $ALIAS -keyalg RSA -keysize 2048 -validity 10000
skin.keystore meaning
The part of the command that contains your information will be skin.keystore and 12215. The "skin" part of skin.keystore is your release key name. I named my skin because this key will be for all the Skins I upload to the market.
[Q] Do I need to have .keystore after my key name?
[A] Yes. It must look like: skin.keystore otherwise the command will not be complete.
12215 meaning
This is like a second password. Remember this, because it will be referenced when signing an APK. I used 12215. You can use johnsmith or anything else.
keytool -genkey -v -keystore skin.keystore -alias 12215 -keyalg RSA -keysize 2048 -validity 10000
Code:
keytool -genkey -v -keystore SAMPLE.keystore -alias SAMPLE -keyalg RSA -keysize 2048 -validity 10000
In the above my key is called "SAMPLE.keystore". Its alias (kind of like an additional password) is "SAMPLE". After you hit enter it will prompt for password. When you type it won't show up on screen (to protect your password)
Click to expand...
Click to collapse
-Tommytomatoe
Here is an example of the above:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Keep in mind, if you don't remember your alias you won't be able to use your key
Click to expand...
Click to collapse
-Tommytomatoe
**IMPORTANT
After you press enter to create the key, it will prompt you for a password. The program mask your password so others won't see it. So when you type it will appear as if no password is being entered.
Your key is stored in the directory you created it in. You won't need to find the file when signing an APK, because it's stored for you already. I'll go into detail of how to access your password in the next step.
How to sign an APK with the Private Key you created.
Anytime you sign an APK, you'll need to open command prompt then type:
Code:
cd c:\Program Files\Java\jdk1.6.0_26\bin
*Keep in mind your jdk1.6.0... might be different than the above.
The following is an example of what you'll copy and paste into command prompt.
Code:
jarsigner -verbose -keystore skin.keystore -signedjar DRAG-DROP-RENAME-APK-NAME DRAG-DROP alias
In the above example, "DRAG-DROP-RENAME-APK-NAME" is telling you to drag your APK into the command prompt and to rename it. Example below.
You can see below my command prompt after I dragged and dropped my apk into cmd. I also deleted "DRAG-DROP alias" from the command line to make it easier to see the changes I'm doing.
After you drag and drop, rename your apk to "New-NOVSKIN1.apk", shown below.
Below you'll see, after I renamed the apk, I dragged and dropped the same apk from above into the command directory again. This time, we're not going to rename it. Instead, after you drop it a second time into command prompt, we're going to type our alias at the end. Pictured below:
**NOTE
The reason we drag and drop is to SAVE TIME. Tommytomatoe showed me this shortcut and it saves a ton of time from having to type everything out.
After entering this command, and executing it, the apk will now be signed. Congrats!

Do you still have the example pictures? This tutorial would help me no end but I'm struggling to make sense of it without any examples!! (newbie, I know!)

ffdiablos said:
Do you still have the example pictures? This tutorial would help me no end but I'm struggling to make sense of it without any examples!! (newbie, I know!)
Click to expand...
Click to collapse
Sure bro. My old server went down so I'll need to reload them again. I'll get to it when I can. You can always pm me for help.
Sent from my ADR6425LVW using xda premium

That's great news, thanks for your help. I'm starting to find there are some very helpful people on this site!

I don't seem to be able to drag and drop the .apk into CMD. Not sure if I'm doing anything wrong. I'm running windows 7 if that helps at all. Other than that it was a very clear and helpful tutorial. Just stuck there...ya, i know, im a newb XD
Thanks
~Vrawr
Edit:I followed everything spot on up to that point. And as I drag the .apk into CMD there's the plus sign by the mouse to show that it can be added, but once I release it into CMD, it doesn't appear...hence my problem

rawrv42 said:
I don't seem to be able to drag and drop the .apk into CMD. Not sure if I'm doing anything wrong. I'm running windows 7 if that helps at all. Other than that it was a very clear and helpful tutorial. Just stuck there...ya, i know, im a newb XD
Thanks
~Vrawr
Edit:I followed everything spot on up to that point. And as I drag the .apk into CMD there's the plus sign by the mouse to show that it can be added, but once I release it into CMD, it doesn't appear...hence my problem
Click to expand...
Click to collapse
I haven't a clue why that's happening. Maybe you don't have the latest jdk or sdk installed. I'm also running Windows Seven.
Sent from my ADR6425LVW using xda premium

raider3bravo said:
I haven't a clue why that's happening. Maybe you don't have the latest jdk or sdk installed. I'm also running Windows Seven.
Sent from my ADR6425LVW using xda premium
Click to expand...
Click to collapse
I made sure I had the latest JDK installed several times. As for the SDK I downloaded the one you provided, the Java SDK. I am probably just going to redownload everything.
Thanks for your time,
Vrawr

okay, so i redownloaded everything and tried all over again. (i still couldnt drag in the app so i typed the directory in manually) and even with hours of effort, i ended with the message:
Error: Could not find or load main class sun.security.tools.Jarsigner
CMD doesnt close or anything, just that error appears...
Any ideas?
Thanks,
~Vrawr

rawrv42 said:
okay, so i redownloaded everything and tried all over again. (i still couldnt drag in the app so i typed the directory in manually) and even with hours of effort, i ended with the message:
Error: Could not find or load main class sun.security.tools.Jarsigner
CMD doesnt close or anything, just that error appears...
Any ideas?
Thanks,
~Vrawr
Click to expand...
Click to collapse
That's complicated. I wish I knew an answer but I know enough to make me dangerous.

Thanks Raider, I had no idea about signing with private keys. Is this why certain Market Apps can't be decompiled?
Swyped from my Epic 4g Touch

I'm guessing certain apk's need a specific com.htc.resources.apk and framework-res.apk to be decompiled. For example, I can't decompile apk's/skins for Sense 3.5 without first having those apk's that signar needs to decompile. I hope that makes sense. Nice works on your themes. Check out my latest thread on my modified skin. It's the first of it's kind and was just released 5 minutes ago. No joke.
http://forum.xda-developers.com/showthread.php?t=1471529

raider3bravo said:
I'm guessing certain apk's need a specific com.htc.resources.apk and framework-res.apk to be decompiled. For example, I can't decompile apk's/skins for Sense 3.5 without first having those apk's that signar needs to decompile. I hope that makes sense. Nice works on your themes. Check out my latest thread on my modified skin. It's the first of it's kind and was just released 5 minutes ago. No joke.
http://forum.xda-developers.com/showthread.php?t=1471529
Click to expand...
Click to collapse
Whoa man that is nice! I couldn't figure out how to get to the clock tabs, but I see you're hacking away at it lol
Awesome Work!
Swyped from my Epic 4g Touch

mpitcher225 said:
Whoa man that is nice! I couldn't figure out how to get to the clock tabs, but I see you're hacking away at it lol
Awesome Work!
Swyped from my Epic 4g Touch
Click to expand...
Click to collapse
Thanks man. All you need to do is modify
0x00000bfd.dat.png
0x0000197f.dat.png
These are found in the m10 file inside the asset folder of your skin. Hope that helps and thanks.

raider3bravo said:
Thanks man. All you need to do is modify
0x00000bfd.dat.png
0x0000197f.dat.png
These are found in the m10 file inside the asset folder of your skin. Hope that helps and thanks.
Click to expand...
Click to collapse
On 3.5? I did everything on my 2.1 & 3.0 skins and they work right. It's the 3.5 skins I don't know how to do
Swyped from my Epic 4g Touch

mpitcher225 said:
On 3.5? I did everything on my 2.1 & 3.0 skins and they work right. It's the 3.5 skins I don't know how to do
Swyped from my Epic 4g Touch
Click to expand...
Click to collapse
That's easy. Just use an m10 file from Sense 3.0 and place it in a sense 3.5 asset folder. PM me and I'll send you my gmail for chat.
Sent from my ADR6425LVW using xda premium

lol thanks for the heads up.
I didn't realize there were apps on the market that signed .apk on the phone. I did just that, signed with an app on the market on my phone. Worked like a charm. So many hours of my life wasted hahaha
Thanks again,
~Vrawr

rawrv42 said:
lol thanks for the heads up.
I didn't realize there were apps on the market that signed .apk on the phone. I did just that, signed with an app on the market on my phone. Worked like a charm. So many hours of my life wasted hahaha
Thanks again,
~Vrawr
Click to expand...
Click to collapse
Ya but doesn't it just test sign it by using that market application. I don't think it actually uses a private key to sign it. This thread is for signing with a private key not signing using a test key.
Sent from my ADR6425LVW using xda premium

Signed and zipaligned my apk succesfully using this method but I keep getting this error when I try to upload to Google Play: "Google Play does not accept apks signed with certificates issued by Android team. Create a new certificate that is valid for at least 50 years.".
I'm lost....

12MaNy said:
Signed and zipaligned my apk succesfully using this method but I keep getting this error when I try to upload to Google Play: "Google Play does not accept apks signed with certificates issued by Android team. Create a new certificate that is valid for at least 50 years.".
I'm lost....
Click to expand...
Click to collapse
50 years? That's funny if you ask me.

SevereDeceit said:
50 years? That's funny if you ask me.
Click to expand...
Click to collapse
Yeah, it used to be 25 years....and I thought that was ridiculous. Kind of a bummer. I'd like to use this method to sign/zipalign because IMO, its easier than exporting with Eclipse.

Related

Is there any program the power offs phone when activated

Like title says, are there any programs out there that when put on main screen all you have to do is press it like the rest and it powers off the phone? And one that resets it?
Thanks
You would need root access for that to work. But I'm sure it's possible.
Yeah, you could use gscript and just make a simple bash script to do this.
breaultm said:
Yeah, you could use gscript and just make a simple bash script to do this.
Click to expand...
Click to collapse
Ok 1st really on here who isn't rooted?
Ok to what you said... Huh? You lost me at use... Sorry i know cars not programing
imbonez9 said:
Ok 1st really on here who isn't rooted?
Ok to what you said... Huh? You lost me at use... Sorry i know cars not programing
Click to expand...
Click to collapse
if you have root you just need a script that runs
reboot -p
make sure you give it su permissions
tubaking182 said:
if you have root you just need a script that runs
reboot -p
make sure you give it su permissions
Click to expand...
Click to collapse
And that will make it so i could have an icon on "home screen" that when pressed would reboot or power off?
http://forum.xda-developers.com/showthread.php?t=488928
http://forum.xda-developers.com/showthread.php?t=486486
Here is the thread for G-Script. I haven't used it yet, but I have seen people use icons on their homescreen that will auto reboot their phone.
You'll have to long press on homescreen and add s shortcut then gscript then the script, but yes it will allow that
Along with the gscript method there is a program called Root Booter. With it you can reboot normally, into recovery or into the bootloader. Not sure about just powering off though. Everything I know reboots the phone, although I am sure a script could be written for that.
here you go, i have included a file, just change .zip to .apk and it should install. i will throw it on the market in a few
this took 10 seconds to write(it took longer to load eclipse than it did to actually write this app)
tubaking182 said:
here you go, i have included a file, just change .zip to .apk and it should install. i will throw it on the market in a few
this took 10 seconds to write(it took longer to load eclipse than it did to actually write this app)
Click to expand...
Click to collapse
Hey thanks. Do you mind emailing me what script was said? This way i can learn.
I already have two books being sent to me on programing with Android so i can stop asking all these questions. Once again thank you
imbonez9 said:
Hey thanks. Do you mind emailing me what script was said? This way i can learn.
I already have two books being sent to me on programing with Android so i can stop asking all these questions. Once again thank you
Click to expand...
Click to collapse
all i did was open up eclipse and start a new android project, under the onCreate portion(the only thing there outside of the imports) i just threw in
Code:
try {
Runtime.getRuntime().exec("su");
Runtime.getRuntime().exec("reboot -p");
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
everything from the "try" down is what i added. it's a really simple app, but it works. and since it is such a small script it doesn't ask permission from superuser so there's no chance of it breaking due to that stupid app(the new superuser broke my last app) glad i could help

Confirmed working hulu on captivate! Now works through reboot... Now flash 11.1

I've edited this post way too much and now it's a mess, sorry. There are 2 methods that can be used to install the modified Flash that tricks Hulu into thinking our phones are computers running Windows. Depending on your ROM, one or the other may be easier. Please see the ps/pps at the bottom.
I was helping my cousin setup his new Evo and it seems that some of their ROMs include a working Hulu. It turns out that it's easy to fix, just swap a single file and change your UA string. Here are the steps I followed to get Hulu to work on my Captivate running Cognition 2.3b6. I don't see why it wouldn't work for anyone running Froyo/GB. I'm currently using this with Apex 7.
You need two files, a Hulu.apk that seems to simply launch the stock Browser preconfigured with the desktop settings and an edited Flash library file the attached flash apk. As an alternative to the Hulu.apk you can also use Dolphin or any browser that you can configure with a desktop UA string. In fact, that may be preferable, but this way is fewer steps
Instructions
Method 1, replace the library file
Update Flash to current Market version (11.1.111.5)
Extract libflashplayer.so from libflashplayer.so.zip attached to this post
Copy libflashplayer.so to /sdcard
Copy libflashplayer.so from /sdcard to /data/data/com.adobe.flashplayer/lib using root explorer, adb, or a terminal. I recommend making an extra copy of the modified libflashplayer.so in case it's replaced on reboot.
Make sure the permissions for libflashplayer.so are rwxr-xr-x (chmod 755).
Method 2, replace the app
Update Flash to current Market version (11.1.111.5)
Copy the attached file com.adobe.flashplayer-1.apk to /sdcard
Copy com.adobe.flashplayer-1.apk from /sdcard to /data/app using root explorer, adb, or a terminal. I recommend backing up the old com.adobe.flashplayer-1.apk (rename to com.adobe.flashplayer-1.apk.bak or something) before copying the new file. If your current file doesn't have the -1 then you can just leave that part out...
Make sure the permissions for com.adobe.flashplayer-1.apk are rw-r--r-- (chmod 644 or User=Read/Write, Group and Others=Read in Root Explorer).
Reboot the phone so the new flashplayer will be installed
Install the Hulu.apk linked above
Run the new Hulu program
See if you can load a video. You can get better quality by following a link to the full Hulu site.
Notes
If you have an issue with slowed-down audio ("demon voices"), try another ROM (like Paragon or Apex) or the stagefright from this thread in the Infuse 4G. Be careful with this, I haven't tested it and, while someone reported success with it, someone got boot loops after flashing it.
I've had the best luck using the full site, full screen at the 288p setting. Framerate isn't great on the higher quality settings with my setup.
The Hulu program doesn't always exit properly. To make it stop playing you can open Browser and load a page, that seems to interrupt Hulu.
If it doesn't look like anything is happening, try zooming in and out. Once the video starts playing you should be able to see it normally.
Be patient while it's loading. Try not to click on the window while it's showing ads.
If the video isn't loading when using a regular browser, try clicking the arrow next to "Share this video".
I was going to test these instructions again, but I don't have time right now. I think these are the steps that worked for me Good luck!
ps. I followed GGXtreme's lead and created an apk that'll keep it working through reboots. The instructions now reflect this.
I've left the old instructions (the ones with the line through them) here in case anyone prefers to do it that way, but I'll probably remove them once people indicate the apk is working for them. I plan to update the apk when there's a new Market version of flash.
pps. I'm not sure which is the easiest way anymore, there are too many differences between ROMs. I've added just the modified .so file zipped up as an attachment. If swapping the apk doesn't work, try using the original directions after unzipping the .so file. Please note that the zip is just a compressed file, it can't be flashed in CWM. For what's it's worth, the lib file isn't being replaced on reboot on my current ROM (Apex 9).
hmmmm, worked until i rebooted my phone.
Gonna try copying the libflashplayer.so and doing the chmod again.
kinda worked so far.
gerbig said:
I was helping my cousin setup his new Evo and it seems that some of their ROMs include a working Hulu. It turns out that it's easy to fix, just swap a single file and change your UA string. Here are the steps I followed to get Hulu to work on my Captivate running Cognition 2.3b6. I don't see why it wouldn't work for anyone running Froyo.
You need two files, a Hulu.apk that seems to simply launch the stock Browser preconfigured with the desktop settings and an edited Flash library file. As an alternative to the Hulu.apk you can also use Dolphin or any browser that you can configure with a desktop UA string. In fact, that may be preferable, but this way is fewer steps
Instructions
Update Flash to current Market version (10.1.95.2). I'm not sure if you need to uninstall your current Flash or not, but I removed mine.
Extract libflashplayer.so from the Flash library file zip linked above
Copy libflashplayer.so to /sdcard
Copy libflashplayer.so from /sdcard to
/data/data/com.adobe.flashplayer/lib using root explorer, adb, or a terminal and make sure the permissions for libflashplayer.so is rwxr-xr-x (chmod 755). I recommend backing up the old libflashplayer.so (rename to libflashplayer.so.bak or something) before copying the new file.
Install the Hulu.apk linked above
Run the new Hulu program
See if you can load a video. You can get better quality by following a link to the full Hulu site.
Notes
I've had the best luck using the full site, full screen at the 288p setting. Framerate isn't great on the higher quality settings with my setup.
The Hulu program doesn't always exit properly. To make it stop playing you can open Browser and load a page, that seems to interrupt Hulu.
If it doesn't look like anything is happening, try zooming in and out. Once the video starts playing you should be able to see it normally.
Be patient while it's loading. Try not to click on the window while it's showing ads.
If the video isn't loading when using a regular browser, try clicking the arrow next to "Share this video".
I was going to test these instructions again, but I don't have time right now. I think these are the steps that worked for me Good luck!
Click to expand...
Click to collapse
thanks trying now.
So, i got it to load the first 5 seconds or so of the video through the hulu app. Then it kicks you out. no fc. just kicks you back to the home screen. I was using Axuara b4. Gonna try this next with di11igafs 1.0 rom
maybe you could share what rom you were using to get this accomplished on. that might help with being able to recreate this
CONFIRMED!!!!!!!!!!!!!!
Confirmed working, plus pic of the new Simpsons episode!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
WOOT!
so, I am running Di11igaf's Rom ver 1.0 with setiron 1.4.2 1200 kernel.
I couldn't get it to work on Axuara beta4, or beta5 rom. sorry all, maybe someone else can figure it out.
but works!
Followed the directions above and got it to work for me on Cognadian Bacon B4. I had to change the settings to the 288p for it to work. It kept freezing up until I changed it.
Cog'd Perception or Cog'd 2.3b6 depending on my need for flash addiction
holy crap! def gonna do this now!
okay, so ran into a snag. but working it out with di11igaf's help
it seems on reboot that the libflashplayer.so the modified version gets copied over by something back to the original.
So, trying to work out an init.c script or something to rewrite the file, and chmod it back to where it needs to be.
I will probably post a new thread when I have it working correctly.
Thank you for trying this out guys.
works!, but same problem when I reboot
Do you need a hulu plus account for this?
Sent from my SAMSUNG-SGH-I897 using XDA App
Why not just download Dolphin HD, and change the user agent to Desktop? Does this offer some features that wouldn't.
veener79 said:
Do you need a hulu plus account for this?
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
noope, sure don't.
I am getting closer to having this work after reboot. Im playing with baking in the hulu app into a rom so I can use the pm uninstall/install shell commands to remove and reinstall app every start up.
its much closer than a couple days ago
lionheartck said:
Why not just download Dolphin HD, and change the user agent to Desktop? Does this offer some features that wouldn't.
Click to expand...
Click to collapse
the dolphin hd browser will work only after you move the hex edited libflashplayer.so. At that point hulu checks the flash version and it reports back desktop, as well as the UA string in the browser should work as well.
it has to be the combination of the both of them
Ah, I think its built into my Tom, and I took it for granted that it would work for everyone.
Sent from my captivate lodged in my anus using the XDA app.
Just want to say that this works great! Thanks !
Works great! This is epic !
Sent from my SAMSUNG-SGH-I897 using XDA App
On mine the voice is garbled like slow motion, but the other sounds come through no idea why......
Confirmed works but...
I didn't have to download the Flash to current Market version (10.1.106.15). My Captivate with Cognition 2.3b8 and 2.2 firmware was already flash ready.
I was able to shell into phone: note: after adb shell and at $ prompt, when you type "su" at the shell prompt, you need to look at your phone (popup asking for permission) - click allow and your good to go.
Once in, I cd to /sdcard and found the libflashplayer.so I placed there earlier.
I renamed old file /data/data/com.adobe.flashplayer/lib/libflashplayer.so to libflashplayer.so.bak as noted in the instructions with this command - mv /data/data/com.adobe.flashplayer/lib/libflashplayer.so /data/data/com.adobe.flashplayer/lib/libflashplayer.so.bak
Problem: After changing the old files name, I could not move the new file with the following command: mv /sdcard/libflashplayer.so /data/data/com.adobe.flashplayer/lib
I received cross-devise link error. This may be a permission error, don't know.
I could not move the file no matter what I did.
Solution: I shelled into Captivate as su, chmod 777 /data/data/com.adobe.flashplayer/lib directory(this will prevent the following push command below from being denied because of permissions)
On your PC, put the libflashplayer.so file where your adb executable resides.
Then: from the same folder enter - adb push libflashplayer.so /data/data/com.adobe.flashplayer/lib
This pushes the file where you need it
Once file is confirmed in place, I- chmod 755 /data/data/com.adobe.flashplayer/lib to revert directory permissions to original
You may have to (chown system libflashplayer.so) because the file once pushed shows owned by shell vs system.
In summary: I only had to put one file on my Captivate, the libflashplayer.so at the top of this thread . I used Dolphin HD and set agent to PC.
It works.
Note: In first trials I had to click the arrow next to "Share this video".
I read the only way to set resolution to 288 is create an account and set your settings within your Hulu accnt. That way when you login from your Droid optimum settings are already set.
Cheers
Does it work after reboot? Also sometimes it didn't play for me just commercial after commercial after commercial but never the show
slider2828 said:
Does it work after reboot? Also sometimes it didn't play for me just commercial after commercial after commercial but never the show
Click to expand...
Click to collapse
No it does not - I tried to chmod 555 the libflashplayer.so to prevent writable and left the owner and group as shell. The OS still overwrites it every time upon reboot.
I don't reboot that often but if I were to go on a trip I could survive several days or more without a reboot. This would be enough justification to push the flash file and benefit from it for the time being.
I think I'll install a shell program on the droid and leave a backup of the file in the /data/data/com.adobe.flashplayer/lib folder. That way I can shell in right from the droid and mv libflashplayer.so.bak libflashplayer.so
This way I can reboot and run the droid shell program and arrow up to get the last command. Just thinking out loud. Cheers
Update: A simple terminal emulator and a backup of the libflashplayer.so solution above worked. I rebooted, used the terminal emulator to go to the directory and overwrote libflashplayer.so with my backup file. Done -
It works and everything I need for Hulu is on my droid no matter how many times I reboot.
The emulator I chose was free from market named Android Terminal Emulator by Jack Palevich. It's quite clean.

Honeycomb + market

Hey everyone, I've been following the Honeycomb developments on the nook, but havent posted yet. I just got my nook this weekend and immediately installed deeper blue's Honeycomb ROM on the SD card without rooting my nook.
It is great and he deserves all the praise in the world, but unfortunately does not have a ton of use to me without being able to download items from the market.
I'm not very experienced in programing in general or using the android sdk or adb.
I tried installing the market using the instructions in the following places:
w w w.addictivetips.com/mobile/what-is-adb-and-how-to-install-it-android/
w w w.addictivetips.com/mobile/install-android-3-0-honeycomb-and-market-on-nook-color/
After 2+ hours of frustration, I was finally able to get my device recognized in the command prompt using "adb devices" or something like that.
However, when I copied and pasted the commands, the command prompt text just scrolled and then the command prompt closed all together.
Alas, there was no market on my honeycombed nook.
Any ideas where I could have been going wrong?
I could really use an extremely basic step-by-step here.
Unfortunately, I wont be able to test anything until I get home from work later tonight.
Thanks in advance for any ideas or tips.
http://forum.xda-developers.com/showthread.php?t=937752
forsaken82 said:
http://forum.xda-developers.com/showthread.php?t=937752
Click to expand...
Click to collapse
I saw that, but didnt know if it was the same thing I was looking for. I dont remember if I tried it or not.
Is it just as simple as it sounds? What directory exactly do I extract it in? The platform-tools folder?
Then just double click that one file and it should automatically install the market on my device?
Are there any prereqs? Like I said in my original post, I THINK i got my device recognized in the command prompt, as it gave me a serial number in the response.
Sorry for the noob questions, but I am truly unexperienced.
Yup. It makes the files pushable. From there just copy paste his code
Sent from the honeynook pad
n4m347yp3 said:
Yup. It makes the files pushable. From there just copy paste his code
Sent from the honeynook pad
Click to expand...
Click to collapse
Im actually typing from my honeynook now.
The script worked like a charm and i now have gmail, market, etc.
Thanks everyone!
pman555 said:
Hey everyone, I've been following the Honeycomb developments on the nook, but havent posted yet. I just got my nook this weekend and immediately installed deeper blue's Honeycomb ROM on the SD card without rooting my nook.
It is great and he deserves all the praise in the world, but unfortunately does not have a ton of use to me without being able to download items from the market.
I'm not very experienced in programing in general or using the android sdk or adb.
I tried installing the market using the instructions in the following places:
w w w.addictivetips.com/mobile/what-is-adb-and-how-to-install-it-android/
w w w.addictivetips.com/mobile/install-android-3-0-honeycomb-and-market-on-nook-color/
After 2+ hours of frustration, I was finally able to get my device recognized in the command prompt using "adb devices" or something like that.
However, when I copied and pasted the commands, the command prompt text just scrolled and then the command prompt closed all together.
Alas, there was no market on my honeycombed nook.
Any ideas where I could have been going wrong?
I could really use an extremely basic step-by-step here.
Unfortunately, I wont be able to test anything until I get home from work later tonight.
Thanks in advance for any ideas or tips.
Click to expand...
Click to collapse
Hello,
I am the Mobile Technology Editor at AddictiveTips and both the guides that you quoted here were written by my writers and heavily edited by me. The issue lied in you not following one crucial step of the ADB guide - it seems you didn't add the tools and platform-tools folders of your SDK installation to your computer's PATH variable as outlined in that guide.
Doing that basically makes things a lot easier as you don't have to copy files for any such hacks or tricks into the tools or platform-tools folder of ADB and it keeps those folders clean, containing only the default tools files. It also eliminates the risk of you deleting any of those essential files when you are done with your customization and delete the files that you pasted there earlier.
The script you used was awesome as well...jleecong has done an excellent job at putting it together and I will update my guide to include it. Just like you, I've also got to thank forsaken82 for bringing it to my attention as while the guide I featured does install Market, enabling you to install the rest yourself...this one installs some other useful apps for you directly too. =)
HQRaja said:
Hello,
I am the Mobile Technology Editor at AddictiveTips and both the guides that you quoted here were written by my writers and heavily edited by me. The issue lied in you not following one crucial step of the ADB guide - it seems you didn't add the tools and platform-tools folders of your SDK installation to your computer's PATH variable as outlined in that guide.
Doing that basically makes things a lot easier as you don't have to copy files for any such hacks or tricks into the tools or platform-tools folder of ADB and it keeps those folders clean, containing only the default tools files and eliminates the risk of you deleting any of those essential files when you are done with your customization and delete the files that you pasted there earlier.
Click to expand...
Click to collapse
Thank you for your reply, but I have already figured everything out using a script.
I actually did add the tools and platform-tools folders to the PATH variable though.
Either way, the issue has been resolved.
pman555 said:
Thank you for your reply, but I have already figured everything out using a script.
I actually did add the tools and platform-tools folders to the PATH variable though.
Either way, the issue has been resolved.
Click to expand...
Click to collapse
It should definitely work if you added those folders to the PATH variable correctly - it has been tested by many users to work successfully. I am now curious on what sort of error you received but most likely you wouldn't have saved the output from those commands. In any case, as long as you got it working, it's all good. =)
EDIT: Just out of curiosity...did you copy and paste the commands there all together or did you enter them one by one?

[MOD] BUNKER BUSTER DTR [Updated: 15Oct2011]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Designed and developed around sino8r's method amongst other knock offs of the same.
See Post 2 for important info on DTR's and my advice on using them. See Post 3 for DTR downloads. See Post 4 for the Instructions and tools you need to make your own DTR!
Click to expand...
Click to collapse
CHANGE LOG:
Code:
[B]15Oct2011:[/B]
Added DTR for CM Nightly 226
[B]11Oct2011:[/B]
Added CM 7.1, Inc GB OTA, Hybrid Speed, Base 3D, Desired Inc and OMGB
[B]29Sep2011:[/B]
Added instructions and files for creating a DTR
Bunker Buster DTR Info​
Please note that this method will break Mobile Networks in the settings menu. You will still be able to kill Data with a widget or other method though. There is a supposed fix for this and I'll try to research it and implement an update as soon as I can. Maybe, lol
Click to expand...
Click to collapse
1. What does this do?
This modifies the services.jar file located in system/framework, that allows you to have an un-throttled data access. You don't have to worry about modifying anything yourself.
2. Will this make my Data faster?
In some cases, YES. This has NO effect on actual phone signal. This only takes the throttle off, so you can download, or play games and not have to worry about it hitting a certain peak and lagging from that point on.
3. If I flash this, will it break my phone?
Sort-of. This will cause Force Closes when you try to select Mobile Network in Settings. Thats the only thing you should notice. I'm working on a work around for this. For now you can still kill Data with a widget or any other sort-of alternative way you want to. This should not physically harm your phone though.
4. Will this work on any ROM?
Yes. This is not based off a particular ROM, and can be used with ANY HTC Droid Incredible ROM. ALTHOUGH If you're Dev has made changes to the services.jar file, this could wipe those changes out. If you are unsure, ask your dev. In any case you may send me your services.jar and I will look at it for you.
5. Do I have to be rooted?
Yes. In order to be able to flash this, you are going to need to have root with CWM3.X Recovery. This uses edify scripting.
6. Does this effect data cap?
No, this mod only effects throttling. You may still be charged data cap overage even if your using this mod.
7. My personal favorite: Does it work or is it placebo?
I have used this several times. For me it does seem to work. I do not have internet at my house and so I have to tether with my phone. I use about 4-12GB of Data a month. Netflix, Xbox Live, Roming, music and everything else. While using this my Data moves as normal. Without this mod my Data usually only crawls. So if you ask me Yes it does work.
IMPORTANT ADVICE ON USING A DTR​
Through my own personal use of DTR's, I have found that the best time to flash a DTR is right after you do a fresh install of your Rom.
Here is what I normally do:
1. Place my Rom on my SD Card along with my DTR.
2. Reboot into CWM Recovery.
3. Wipe everything that is supposed to be wiped.
4. Flash my Rom.
5. REBOOT THE PHONE.
6. QUICKLY set up my phone.
This part is important!!!
7. Go into Settings/Wireless & networks/Mobile Networks.
8. I usually set my data to always connected and data roaming on. You can do whatever you need to right here. But keep in mind once you flash the DTR you will not be able to access this menu! Thats why its important to do it now!
9. Reboot into CWM Recovery.
10. Flash the DTR and reboot the phone.
Rule of thumb is to do all of this as quickly as possible. The reason why is because as soon as you boot your phone, your phone will start syncing. Its syncing your contacts and other stuff as well. Some of that other stuff also includes where you are on your usage of your data plan. If it detects that you are over limit it will then activate the throttle process. A little more on this. This DTR does not actually REMOVE the throttle per say. It simply removes the files that the phone system uses to BUILD the throttle. Without the needed throttle files the phone won't be able to set up the throttle which in turn means you will be running at full network data speed. Now do you see why this is important to do this quickly?
So basically lets say, if you've been running a Rom for a few days and then you decide to flash a DTR...expecially if you've noticed your data slowing down, it's already to late. You might as well do a FULL wipe and follow my instructions above. Its the only way to regain your full Data speed again.
Hopefully this sheds a little light on how the phone side throttle works as well as the DTR.
NOTE: As much as I hate to say it, a DTR can never be able to stop a network side throttle. A DTR is only good for stopping the phone side throttle!
Bunker Buster DTR Downloads
-CyanogenMod-
CM 7.1 Download Here
Click to expand...
Click to collapse
CM NIghtly 226 Download Here
Click to expand...
Click to collapse
-Incredible GB OTA based Roms-
Official Incredible GB OTA Download Here
Click to expand...
Click to collapse
-Stang Roms-
Hybrid Speed V7 Download Here
Bass 3D Download Here
Desired Inc HD 3D Download Here
Click to expand...
Click to collapse
-R2DoesInc Roms-
OMGB 1.2.2: Download Here
Click to expand...
Click to collapse
Bunker Buster DTR DIY​
Hey guys, I made a complete package of everything you need to make your own DTR's. This one zip that I provide below contains everything that you need for both Windows and Linux. This way you don't have to go looking for everything you need everywhere.
First, download this zip and place it on your Desktop for now:
Bunker_Buster_DTR.zip
Next lets make sure your computer is set up and ready to make the DTR.
Unzip the Bunker_Buster_DTR.zip and have a look at its contents. You should see four folders and one zip file.
The names of the four folders and the one zip file are:
Linux smali 1.2.7
Linux smali 1.2.8
Windows smali 1.2.7
Windows smali 1.2.8
wildstang83_DTR_Flasher.zip
Do you see all of these? Good, lets continue with setting up your computer!
First decide what version you want to use. smali 1.2.7 is obviously older but I've never had an issue with it, so I would recommend using it. The smali 1.2.8 is newer and you shouldn't have issues making a DTR with it, but as a Dev I have personally ran into situations doing other things building Roms where it didn't work properly for me so I had to fall back on 1.2.7. Just tossing that out there...
Obviously if your on Windows you'll want to use the Windows version and visa versa for Linux.
Once you made your choice, open up your C:\ Drive. On Linux you would use your Home folder.
Open the folder of whatever version of smali you will be using. Inside that folder you will see two folders. One called smali and the other called baksmali. Drag those two folders into your C:\ Drive for Windows or home folder for Linux.
There, set up complete. Wasn't that easy?
Your now ready to make DTR's!
Next, find the Rom you want to make a DTR for.
NOTE: I use 7Zip for everything I do so I'll use it for the following instructions. For Linux, the default zip application is fine. It doesn't hurt to have the 7Zip add on for it though
Once you have the Rom just place it on your Desktop. Right click it and choose 7Zip/Open Archive. Linux: Just double click the Rom. I suppose you could do the same in Windows if 7Zip is set as your default .zip program
You will see a folder called system. Open that folder and you will see another folder called framework. Open that folder as well. Look for a file called services.jar. Just simply drag and drop that file to your Desktop. You can go ahead and close that Rom zip.
Now, do the same thing for that services.jar file. Just open archive it and look for a file called classes.dex. Is your C:\ Drive still open? Good! open that baksmali folder. Drag and drop that classes.dex file into the baksmali folder. Do you see that file in the baksmali folder called Decompile? Good, double click that.
NOTE: In the Linux version only, you may have to right click that Decompile file and set the permissions to allow to run as a program!
In the event that my Decompile file isn't working for you, you can manually run these commands;
For Windows:
Code:
cd C:\baksmali [Press the enter/return key]
java -Xmx512M -jar baksmali.jar -o classes/ classes.dex [Press the enter/return key]
For Linux:
Code:
cd ~/baksmali [Press the enter/return key]
java -Xmx512M -jar baksmali.jar -o classes/ classes.dex [Press the enter/return key]
If all has went well, there will be a new folder in the baksmali folder called classes. Open that folder all the way up like this: classes\com\android\server. Inside that server folder scroll all the way down and look for the 7 files that start with Throttle. Delete those 7 files. MAKE SURE YOU ONLY DELETE THOSE SEVEN THROTTLE FILES! Next back all the way out to that baksmali folder again. Now drag that classes folder into the smali folder. This is where we recompile the classes folder into the new classes.dex. So guess what we do now! Thats right, double click that Compile file!
NOTE: In Linux you may have to right click that Compile file and set the permissions to allow to run as a program!
In the event that my Compile file isn't working for you, you can manually run these commands;
For Windows:
Code:
cd C:\smali [Press the enter/return key]
java -Xmx512M -jar smali.jar -o classes.dex classes/ [Press the enter/return key]
For Linux:
Code:
cd ~/smali [Press the enter/return key]
java -Xmx512M -jar smali.jar -o classes.dex classes/ [Press the enter/return key]
If all has went well, there will be a new file in that smali folder called classes.dex. Is your services.jar still open? Cool just drag and drop the new classes.dex into your services.jar, over writing the old classes.dex.
Good job! All the hard stuff is done. Now all that is left to do is get your new throttle remover onto your phone. That's where that super awesome wildstang83_DTR_Flasher.zip comes in. Just open that zip up to system/framework and drop in your new services.jar. Drop that flasher zip on your SD Card, reboot into Clockwork Mod Recovery and flash just like a Rom. Reboot your phone when that's done. Enjoy your new found ability of avoiding that mean throttle!
wildstang83 said:
★BUNKER BUSTER REVERSER★​
Coming Soon!
Click to expand...
Click to collapse
Cool thanks, wow did you reset your page? was going to check and see response on a DTR removel to stock and everything is gone.lol
rlacrossjr said:
Cool thanks, wow did you reset your page? was going to check and see response on a DTR removel to stock and everything is gone.lol
Click to expand...
Click to collapse
Yea, I'm trying to get geared up for the dtr removers, so I kinda had to expand. The only way that I could do that was to move to a new thread and capture a couple of replies after so I could.
Once I get my post situated I'll start getting up the removers.
Don't know if this will help you with CM Nightly DTR/removal. I used from this site until I went to gingersense/MIUI. http://driphter.com/index.php?topic=3736.0
Also not to big of a deal but wanted to download your DTR for MIUI, but the way they are listed the XDA app will not let you click and download.
rlacrossjr said:
Don't know if this will help you with CM Nightly DTR/removal. I used from this site until I went to gingersense/MIUI. http://driphter.com/index.php?topic=3736.0
Also not to big of a deal but wanted to download your DTR for MIUI, but the way they are listed the XDA app will not let you click and download.
Click to expand...
Click to collapse
Um... I don't know about that. I just tested it and works for me on xda premium.
Sent from my ADR6300 using XDA Premium App
EDIT: just tested it again. Heres what i had to do to get it to download. Click DOWNLOAD HERE on my thread, it opens the browser, then use the optical joystick to click the link. I couldnt get it to work by pressing it with my finger. Hope that makes since.
Also I am familiar with thebroken. he is one of my inspirations for this project as well.
Must be cause I'm on free version.did hold press oj control nothing
Sent from my ADR6300 using XDA App
rlacrossjr said:
Must be cause I'm on free version.did hold press oj control nothing
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
Oh wow it is. I just tested again and in the free version it does block links. That's crazy.
Sent from my Optimized Inc using XDA App
Any chance of getting the latest MIUI DTR out? Going to sit on that update until I can get your patch
Thanks!
grimez said:
Any chance of getting the latest MIUI DTR out? Going to sit on that update until I can get your patch
Thanks!
Click to expand...
Click to collapse
MIUI 1.6.17 is ready!
Hey people, I may be slowing down just a little on ★BUNKER BUSTER DTR★
I'll still be pushing out updates so don't worry though. I'm just picking up on a new project with a friend of mine, newtoroot. If my new project goes well and I'm sure it will... I want to say a HUUUUGE thank you to newtoroot for taking the time to work with me and to break down the instructions I need Barney style, lol. Seriously people, this guy is awesome. The best. Go check his stuff out when you get a chance.
Hey Wild whats going on bro, cant wait to play with your new joint venture!! In the mean time quick question... Does the new Uber kingdom RLS0.5 use the same DTR as all the others or am i going to have to wait for a release of a new one ?
Thanks
o0 DIDDY 0o said:
Hey Wild whats going on bro, cant wait to play with your new joint venture!! In the mean time quick question... Does the new Uber kingdom RLS0.5 use the same DTR as all the others or am i going to have to wait for a release of a new one ?
Thanks
Click to expand...
Click to collapse
Hey Diddy, were still good on uber.
Yea can't wait to see the damn thing boot myself. Working with newtoroot and joelz to get the issues fixed. So I'm sure with there help my new "v i s i o n" will be great. Those guys have been awesome with helping me out so far.
wildstang83 said:
Hey Diddy, were still good on uber.
Yea can't wait to see the damn thing boot myself. Working with newtoroot and joelz to get the issues fixed. So I'm sure with there help my new "v i s i o n" will be great. Those guys have been awesome with helping me out so far.
Click to expand...
Click to collapse
Thats awesome! Its those 2 I keep switching between. Top notch work in my opinion, you couldn't find better teachers. Good luck, let me know if there is anything i can help you out with!
o0 DIDDY 0o said:
Thats awesome! Its those 2 I keep switching between. Top notch work in my opinion, you couldn't find better teachers. Good luck, let me know if there is anything i can help you out with!
Click to expand...
Click to collapse
Might let you test if you want. I finally got boot this morning at 1:47am. I have a couple more issues to get worked out before that though.
wildstang83 said:
Might let you test if you want. I finally got boot this morning at 1:47am. I have a couple more issues to get worked out before that though.
Click to expand...
Click to collapse
Yea, no problem. I could give it a test drive for ya and report back any issues i may encounter. lmk
SkyRaider4.1 added!
Upgraded to 1.6.17 last night, I'll upgrade this tonight.

[Q] Convert contacts2.db to .vcf

Hi, I was using CM7 and yesterday morning when I woke up, it was stuck in bootloop at startup screen. I took a nandroid backup and cleared factory data options and installed new CM7.1 version (clearing cache or dalvik cache or reinstalling CM7 didnt help, hence had to clear factory data)
Now I have already used unyaffs to get the extracted contact2.db and contacts2.db-shm and contacts2.db-wal files... however pasting them in the com.android.providers.contacts\databases folder (using root explorer) gives me only 11 contacts instead of the 300+ it is supposed to have
I opened the contacts2.db file in notepad and I can see references to names and numbers in whatever sqlite format it is supposed to be... so my simple question now is.. is there any way to get the .db file to .vcf format or any other format usable by my phone ?
P.S. - No I did not use the google syncing feature or kies backup
Guys, some help on this... still without my contacts here..!
I cant post external links so google "convert contacts2.db to vcard", the first result will be this thread, the next three are the answer you're looking for.
Right... thanks! Unfortunately, the 3 links are for a ruby script and I have no experience with ruby... is that the only way ?
Put your contacts2.db into the same folder as contacts2-to-vcard.rb
install ruby, open command prompt and execute these lines
Code:
gem install sqlite3
gem install vpim
(path to contacts2-to-vcard.rb)/contacts2-to-vcard.rb > contacts.vcf
if you get this error
contacts2-to-vcard.rb:43:in `+': can't convert NoMethodError into String (TypeError)
open the .rb file in a text editor, go to line 43 and change it to
$stderr.print ""
I ran into this when I used it. after you edit the file run it again and you should have your .vcf file sitting in the same folder as the script file and contacts2.db
Seriouslybored said:
Put your contacts2.db into the same folder as contacts2-to-vcard.rb
install ruby, open command prompt and execute these lines
Code:
gem install sqlite3
gem install vpim
(path to contacts2-to-vcard.rb)/contacts2-to-vcard.rb > contacts.vcf
if you get this error
contacts2-to-vcard.rb:43:in `+': can't convert NoMethodError into String (TypeError)
open the .rb file in a text editor, go to line 43 and change it to
$stderr.print ""
I ran into this when I used it. after you edit the file run it again and you should have your .vcf file sitting in the same folder as the script file and contacts2.db
Click to expand...
Click to collapse
After some serious research on the web you are my true and only hero.
Sort of....
The only thing is, I don't get the vcard file. I just get the cmd flashing real quick listing my contacts. There is no way for me trying to time my screenshot button and get all my contacts. Screenshot: i.imgur.com/oXCye.jpg
I'm really new to this kind of thing.... I just put Cyanogenmod on my phone and damn god do I regret it. I have no idea what I'm doing. My backup didn't backup so now I'm just gonna have to live with myself. But I kinda do wanna have my contacts back. And I'm really proud of myself getting this cmd thingy flash before my eyes
anyways... what's next?
Thanks in advance
E: Ok Guys.... Problem solved.
If you open the File with Ruby CUI it will just flash real quick, but if you open it in cmd the list will just show and it won't disappear.
Then the > contacts.vcf part behind it and done.
Now I understand what I did and I fully understand you comment, and I feel stupid.
Thanks again
Hi!
My problem is almost the same. I have a HTC Desire and yesterday went to wrong. The problem is: boot loop. I couldn't solve it, but I need my contacts and the only thing what I could do to get Contacts2.db file. Can you help me what should I do! Or is it possible to convert this file into a .vcf file?
Thank You!
n00b!
m7o said:
The only thing is, I don't get the vcard file. I just get the cmd flashing real quick listing my contacts. There is no way for me trying to time my screenshot button and get all my contacts. Screenshot: i.imgur.com/oXCye.jpg
Click to expand...
Click to collapse
LMAO n00b Try running "cmd" in Windows, and read about the http://en.wikipedia.org/wiki/Command_Prompt
m7o said:
I'm really new to this kind of thing.... I just put Cyanogenmod on my phone and damn god do I regret it. I have no idea what I'm doing.
Click to expand...
Click to collapse
Don't mean to be mean, but if you haven't heard of the command prompt, perhaps installing a custom *Linux*-based ROM on your phone isn't the thing to do for you, until you learn the ropes a bit.
I managed to run the script, it also produces some output BUT I for every contact I keep getting the same error message :
Code:
Adding address failed: undefined method `to_str' for ["", "", nil, "", "", "", ""]:Array
Did anybody else get this message, too ?
Any idea what to do about this ?
Thanks !
Finally...
m7o said:
After some serious research on the web you are my true and only hero.
Sort of....
The only thing is, I don't get the vcard file. I just get the cmd flashing real quick listing my contacts. There is no way for me trying to time my screenshot button and get all my contacts. Screenshot: i.imgur.com/oXCye.jpg
I'm really new to this kind of thing.... I just put Cyanogenmod on my phone and damn god do I regret it. I have no idea what I'm doing. My backup didn't backup so now I'm just gonna have to live with myself. But I kinda do wanna have my contacts back. And I'm really proud of myself getting this cmd thingy flash before my eyes
anyways... what's next?
Thanks in advance
E: Ok Guys.... Problem solved.
If you open the File with Ruby CUI it will just flash real quick, but if you open it in cmd the list will just show and it won't disappear.
Then the > contacts.vcf part behind it and done.
Now I understand what I did and I fully understand you comment, and I feel stupid.
Thanks again
Click to expand...
Click to collapse
Finally, after searching high and low for this conversion, I'm able to get all my contacts back. Pain in the ass trying all sorts of method usuing the app but none of them work appropriately. Thanks for sharing guys!
P/S: editing the line 43 will help to eliminate the error.
ssyap said:
Finally, after searching high and low for this conversion, I'm able to get all my contacts back. Pain in the ass trying all sorts of method usuing the app but none of them work appropriately. Thanks for sharing guys!
P/S: editing the line 43 will help to eliminate the error.
Click to expand...
Click to collapse
Found this thread when searching for a way to convert a .db to a .vcf or any other way to import my .db contacts to my phone. I had performed a contacts backup using Huwaei All Backup, then rooted my phone and installed a custom rom, of course, not thinking that I was getting rid of probably the only backup/restore app that uses that filetype.
My solution was fairly simple. I found the All Backup apk but it of course wouldn't install on the phone, so I installed Bluestacks android emulator on the pc and was able to install All Backup on that. I then had to install dropbox on Bluestacks to allow me to move my .db to the virtual sd card, fired up All backup, performed a restore using my .db, then on Bluestacks used an app called Go Contacts to backup all contacts, which created a .vcf file, which I copied over to dropbox, copied over to my phones sd card, and used Go Contacts to restore.
More complicated than it should have been? Yes.
From now on, my contacts can stay synced with Gmail.
But overall the process took about 10 min including all the installs and whatnot, which isn't so bad considering I figured I was going to have to manually input my contacts one by one.
Hopefully someone looking to import a .db file into their phone's contacts will find this 'method' useful.
infolent utorgfu
hey, someone have the script contacts2-to-vcard.rb ? i can't find it online i have no android phone, but still have my contacts2.db that i want to convert to vcard thanks much :good:
no ?
turlulu said:
no ?
Click to expand...
Click to collapse
nope, sorry, maybe someone else got it
Sent from my GT-I9000 using xda premium
m7o said:
After some serious research on the web you are my true and only hero.
Sort of....
The only thing is, I don't get the vcard file. I just get the cmd flashing real quick listing my contacts. There is no way for me trying to time my screenshot button and get all my contacts. Screenshot: i.imgur.com/oXCye.jpg
I'm really new to this kind of thing.... I just put Cyanogenmod on my phone and damn god do I regret it. I have no idea what I'm doing. My backup didn't backup so now I'm just gonna have to live with myself. But I kinda do wanna have my contacts back. And I'm really proud of myself getting this cmd thingy flash before my eyes
anyways... what's next?
Thanks in advance
E: Ok Guys.... Problem solved.
If you open the File with Ruby CUI it will just flash real quick, but if you open it in cmd the list will just show and it won't disappear.
Then the > contacts.vcf part behind it and done.
Now I understand what I did and I fully understand you comment, and I feel stupid.
Thanks again
Click to expand...
Click to collapse
Do you think there is a way to run that script under Windows XP environment? I have sqlite3.exe for windows and I am downloading Ruby for windows ...
I really need that conversion, and I have no linux machine with me ...
I0ve tryed to run in the phone, this and other scripts but they do not work ...
I wonder to can run it on windows ...
---------- Post added at 10:17 AM ---------- Previous post was at 10:05 AM ----------
Or if somebody can convert my contacts2.db for me I will apprecciate a lot. I can send it by email. I have to realize a recovery of contacts but I have no UNIX system and no sqlite skills ...
Thank you in advance for the help.
SeaFargo said:
I really need that conversion, and I have no linux machine with me ...
Click to expand...
Click to collapse
you can download a linux live CD, to run on windows ( when it gets too difficult to achive ob windows) and this might help explained here
Check this out!You , YES! you are an " Android ". Not your phone but U.
You Must watch this documentary concerning your privacy Terms & Conditions we had agreed to, by using a PC or Smartphone
How to say Thank you? If you find any post helpful on XDA, please click on the Thanks button
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If you are using XDA App or Tapatalk, long press on the post and select :good: Thanks Its easier to give "Feedback" in this manner than make an additional post.​
xsenman said:
you can download a linux live CD, to run on windows ( when it gets too difficult to achive ob windows) and this might help explained here
Check this out!You , YES! you are an " Android ". Not your phone but U.
You Must watch this documentary concerning your privacy Terms & Conditions we had agreed to, by using a PC or Smartphone
How to say Thank you? If you find any post helpful on XDA, please click on the Thanks button
If you are using XDA App or Tapatalk, long press on the post and select :good: Thanks Its easier to give "Feedback" in this manner than make an additional post.​
Click to expand...
Click to collapse
I've already tryed it with Knoppix, but seems that some dependencied for running both sh and ruby scripts are missing, and the wifi card is not recognized to can download it ... ...
help me get contacts.vcf from contacts2.db
m7o said:
After some serious research on the web you are my true and only hero.
Sort of....
The only thing is, I don't get the vcard file. I just get the cmd flashing real quick listing my contacts. There is no way for me trying to time my screenshot button and get all my contacts. Screenshot: i.imgur.com/oXCye.jpg
I'm really new to this kind of thing.... I just put Cyanogenmod on my phone and damn god do I regret it. I have no idea what I'm doing. My backup didn't backup so now I'm just gonna have to live with myself. But I kinda do wanna have my contacts back. And I'm really proud of myself getting this cmd thingy flash before my eyes
anyways... what's next?
Thanks in advance
E: Ok Guys.... Problem solved.
If you open the File with Ruby CUI it will just flash real quick, but if you open it in cmd the list will just show and it won't disappear.
Then the > contacts.vcf part behind it and done.
Now I understand what I did and I fully understand you comment, and I feel stupid.
Thanks again
Click to expand...
Click to collapse
guys I have the same problem with my contacts. I have the contacts2.db file and wants to convert it into .vcf file. I don't know anything about ruby or commands related to it. If you guys are successful in getting the contacts.vcf file from contacts2.db please help me also... I can email you my contacts2.db file and you do me a favour and convert it back into contacts.vcf file.... Reply me with your email address and I will send you the file.... Thaks a lot
anyone mind to post the rb file? i cant find the script anywhere. ergent plz.
Maybe a little late...
xange said:
anyone mind to post the rb file? i cant find the script anywhere. ergent plz.
Click to expand...
Click to collapse
Hi I found this. I think its a German site, but it has a like to get the RB file.
I'm a new member so cannot post links. Try this goo.gl/lXwH3Y

Categories

Resources