Using Adb to install default Android apps? - Sony Ericsson XPERIA X10 Mini

Ok so atm i have the default music player, default calendar app working fine, but they were doen using root explorer
i have never used ADB and don't have any idea how to use it, i have the default android apps conversation.apk, phone.apk etc.
i know they may not look 100% etc. but i would like to test and see for my own personal experience thankyou .
or if there are any clones on the market or APK's that will install on the mini pro that would be great also

i installed the orignal Conversations.apk with adb.
windows cmd: adb install c.:\apps\Conversations.apk
it was successfull after testing an other sms app and deleting the original conversations.apk.
before you can use adb, you should activate usb debugging in your phone and establish an usb-connectiong without mounting the sd card

Related

[Q] How Can I install games and apps on x10a using my pc, have no wifie access

I've no wifi or internet access on my phone, wonder how could install using my pc. as using media go and pc companion couldn't add themes, games and apps to my x10a. even couldn't download from sites which they require using android device i've too..
Download the apk to your computer and transfer to your phone and install.
Go to settings, application, tap selection to install from unknown sources ( My fone is in dutch, forgive if the option ain't the same as i written.)
Than open with Astro your wanted app/game. Install with app manager.
Voila, thats all.
If you ain't have Astro.
Search in the forum for ADB, its just a command that can push app trough cable to you phone and install it immediately. If you even can't accomplish that and i suggest you even didn't root your fone now its time to do. I thought it will also install an file explorer *Not sure*.
And if you even don't wanna root your phone, my last suggestion is to prepare your computer/notebook with a Ad-Hoc wifi connection. You will just have to share your internet connection between your Lan and Wifi, set-up an Ad-Hoc network with password. Connect your phone on it, and you have network. Only thing to do in market is download any File-explorer programm. And you can install any downloaded apk that you have put it on your storage card.
GOOD LUCK!
Thanks guys for your support, while searching and searching for way to install apps and games to Android, my x10a I've found a pc software no commands needed to type in console. here it is androidcommander.com I've downloaded and it works for me.

[Q] Application installer missing?

Hi, Ive just updated my mini pro to 2.1 nordic firmware but ive notice the application installer thats suppose to be in the menu has dissapeared.
I just bought the phone so i didnt back up, now i have no means of detecting and installing universalroot/rootexplorer and other apps. Do you guys know where i can download it, i dont know what to do at the moment, ty.
Search on market for apps installer or grab any file manager that you want from market as those usually give you the possibility to install apps from the SD card.
Is there a way to download an app installer application from my computer to my phone or sd card? I cant browse the internet on my phone at the moment, ty.
Attached is an Application Installer that comes with 2.1 fw SG. It will search ur sdcard for all apk files. The other one is Linda Manager, a free file browser and installer.
Edited: I just realised that even if u copy over to ur sdcard, u can't install from 2.1 without an installer or file browser =x.
There is a way around the problem, install the Android SDK and use adb install <package> with your phone connected to your computer with USB.
ehnvis said:
There is a way around the problem, install the Android SDK and use adb install <package> with your phone connected to your computer with USB.
Click to expand...
Click to collapse
You can easily install the app installer from 1.6 on 2.1, it works great and as usual..
Very long searched Application installer(have in old firmware 2.3.3).Really works on 2.3.4.Sony Ericsson XPERIA PLAY.
zanndoth,thank you!
ehnvis said:
There is a way around the problem, install the Android SDK and use adb install <package> with your phone connected to your computer with USB.
Click to expand...
Click to collapse
Or u can use flashtool
Sent from my U20i using XDA Premium App

rooted nook android newbie

how do i add apps like a file browser and b&n nook reader back to a rooted nook? Also, how do i transfer files to it when hooked up to the computer? It's looking for a device driver and without that i cant even add music. any help would be greatly appreciated.
tailleur said:
how do i add apps like a file browser and b&n nook reader back to a rooted nook? Also, how do i transfer files to it when hooked up to the computer? It's looking for a device driver and without that i cant even add music. any help would be greatly appreciated.
Click to expand...
Click to collapse
Okay first off what firmware version do you have on your rooted nook and second of all how did you root your nook? if you used either MonsterRoot or autonooter you should have access to the market if you followed all the steps and can find different versions there like Astro and Root Explorer. There is also the nook app if you changed your launcher. if you didnt then you should be able to just read books through barnes and noble's launcher. second of all you should be able to plug your device into your computer and it should be recognized. rooting your device doesnt ruin your ability to connect and transfer files from your computer to your nook color, it just allows you to do more things with it. fun interesting things!
App Install
First you need to download the apk of the program you want to install, once you have that all you need is the android SDK. As part of the SDK you get the android debug bridge to install an application all you do is:
adb install <path_to_apk>
Installing an Application
You can use adb to copy an application from your development computer and install it on an emulator/device instance. To do so, use the install command. With the command, you must specify the path to the .apk file that you want to install:
adb install <path_to_apk>
For more information about how to create an .apk file that you can install on an emulator/device instance, see Building and Running
Note that, if you are using the Eclipse IDE and have the ADT plugin installed, you do not need to use adb (or aapt) directly to install your application on the emulator/device. Instead, the ADT plugin handles the packaging and installation of the application for you.

[Q] Trying to Restore Apps with Data (.bak) to cm 10.1

Hello;
This was my first time installing a Rom. I was fed up with my phone responding slowly and in time jams.
1-The first thing I did was install cwm recovery v6.0.2.7.
2-Then use the S3 tool kit available in xda to make a backup of all except system apps and internal storage data and it was stored in a .bak file. So that games and other apps keep their info as it is a hassle to start from the beginning.
3-Installed CM 10.1 nightly used in the instructions provided here.
All is okay up to here.
4-Tried to restore apps and app data through S3 tool kit but it won't display the data in the phone. I did enable the usb debugging on the cm10.1 (by pressing 7 times on the build name to enable the developers option and enabling usb debugging). I had the same problem when trying to do the backup in step 2, but it connected through the adb mode. This problem is that when ever I connect a device via usb windows installs the driver so every time I connect my phone windows installs the drivers.
5- When step 4 did not work I tried to restore using Holo Backup but no use no able to connect through to adb mode.
I can access the phone storage but I believe the appropriate drivers are not running when using the restore programs even though they are installed.
So the questions are:
1- Is there a way to fix the connection to be able to use S3 unified tool kit or if any one has dealt with the same problem?
2- Is there a way to restore the .bak file via cwm recovery?
3-For future use; An app or program that can be stored in the phone to avoid the use of a PC. The app or program would back-up contacts, sms text, apps and app data into the virtual sd or cloud to avoid deletion when "wipe data/ factory reset" after installing a rom.
I look forward to your replies.
Thank you.
What drivers do you have? Have you tried Universal Naked Driver? That's the only way I could get adb to work on mine when running CyanogenMod
wststreet said:
What drivers do you have? Have you tried Universal Naked Driver? That's the only way I could get adb to work on mine when running CyanogenMod
Click to expand...
Click to collapse
The image below shows the Drivers I currently have.
I used to have a lot more but a majority of them were copies of the same driver.
I had 2 other Samsung drivers but I also deleted them. According to an article that stated a fix to the problem is to uninstall all usb drivers except mouse and keyboard and reinstall the usb drivers of the device desired, but no success.
sub-80 said:
The image below shows the Drivers I currently have.
I used to have a lot more but a majority of them were copies of the same driver.
I had 2 other Samsung drivers but I also deleted them. According to an article that stated a fix to the problem is to uninstall all usb drivers except mouse and keyboard and reinstall the usb drivers of the device desired, but no success.
Click to expand...
Click to collapse
I tried to install the universal naked driver but no success. I followed the instruction went into the device manager and under the samsung android phone was the samsung android ADB interface which I uninstalled and checked the delete part. The pc requested to restart which I forgot to turn off the the internet which resulted in the driver being installed once it restarted. Tried a second and third time with no internet but when I uninstall and check the delete marker the pc does not ask to reboot. And if I try to update the driver with VND it notifies me that it is up to date.
Any solutions?
sub-80 said:
I tried to install the universal naked driver but no success. I followed the instruction went into the device manager and under the samsung android phone was the samsung android ADB interface which I uninstalled and checked the delete part. The pc requested to restart which I forgot to turn off the the internet which resulted in the driver being installed once it restarted. Tried a second and third time with no internet but when I uninstall and check the delete marker the pc does not ask to reboot. And if I try to update the driver with VND it notifies me that it is up to date.
Any solutions?
Click to expand...
Click to collapse
Tried ADB wifi but no success the pc says that there are no adb devices.
Also tried PDANet+ to install the drivers but software does not see the s3.
s there a way to restore the .bak file via cwm recovery
tried changing the file name by removing the .bak
jje
JJEgan said:
s there a way to restore the .bak file via cwm recovery
tried changing the file name by removing the .bak
jje
Click to expand...
Click to collapse
removed the .bak extension and placed it in the download folder of my virtual sd folder and pressed restore on cwm but nothing happened.
Could be because the backup is password protected?
Also tried to restore the file via titanium backup through the extract simple adb with and without the extension but only says analyzing file and remains that way for hours.

[GUIDE] Send, receive and manage files on your watch from the phone using Bluetooth

Hi everyone, I got my watch 2 days ago and rooted it in the first two hours and since then keept trying different android apps on the watch and since then I managed to find a way to sideload apps without a computer and I am sharing it with you.
Note: This guide assumes you have your watch connected to your phone, your phone connected to the internet, a computer around and adb installed on the computer and some abilities of using adb commands to pull files and installing apk's and some basic linux commands like "cd".
Note 2: Links to the apps are in the 2nd post.
Note 3: List of working apps and tips in 2nd post.
Note 4: Guide to using adb from the phone and connecting the watch to a new device without a format in the 3rd post.
Here are the steps:
Install ASTRO Bluetooth Module on the phone.
Install Bluetooth file transfer on the phone.
Connect the phone to the computer and pull the ASTRO Bluetooth Module apk file from data/app.
Connect the watch to the computer (adb over bluetooth or over USB) and sideload the ASTRO Bluetooth Module you just pulled from your phone.
Open the ASTRO Bluetooth Module app on your watch and tic the OBEX FTP SERVER option.
Open the Bluetooth file transfer app on your phone and switch to the Bloueooth tab (the one with the blue Bluetooth sign).
You will see your G Watch in the Cache list, click on it.
On the list that will open click on "File Transfer Profile (FTP)" and wait for it to connect.
Now the contents of the /sdcard folder of the watch should be shown on the Bluetooth tab.
To send a file switch back to your other tab and long-press on the file you want to send and click upload.
To receive a file from your watch go to the Bluetooth tab and long-press the file you want and click Download.
In the bluetooth tab you can also fully manage your sdcard folder from your watch so you can delete, move and copy any file or folder on your watch,
Enjoy.
Also in case you want to sideload apps to your watch you first need to send them using the method above and then do this:
Install terminal Emulator on your phone and sideload it to your watch the same way you did with ASTRO Bluetooth Module above.
Sideload Minuun keyboard for wear or an other keyboard if you think you can use it.
Optional, usefull only if you have root: Install ES File Explorer on your phone and sideload it to your watch.
To install apps open Terminal Emulator on your watch and go to the folder your apk file is in using the "cd" command and then do: "pm install <appname>.apk" changing <appname> to the name of your apk file.
If you choose to install ES File Explorer you can do that much easyer by enabling root acces in it and the option to automatically install and uninstall apps.
And if you want to uninstall apps directly from your watch do this:
Open Terminal Emulator.
Issue the command: "pm list packages -3" and find the package name of the app you want to uninstall
Issue the command: "pm uninstall <packagenamehere>" replacing <packagenamehere> with the package name of the app you want to uninstall.
NOTE: Uninstalling apps using ES File Explorer does unfortunately not work because it asks if you want to uninstall the app and the buttons are not on the screen so you can't click on the "Yes" option.
Done.
Here you go guys, have fun, hope this helps someone else as much as it does help me, will also try to find a way to connect the watch to the adb daemon on the phone via bluetooth and if I manage to do that I will surely post a guide.
Resources:
Astro Bluetooth Module: https://play.google.com/store/apps/details?id=com.metago.astro.network.bluetooth
Bluetooth File Transfer: https://play.google.com/store/apps/details?id=it.medieval.blueftp
Terminal Emulator: https://play.google.com/store/apps/details?id=jackpal.androidterm
ES File Explorer: https://play.google.com/store/apps/details?id=com.estrongs.android.pop
List of working apps:
-All the ones that the above post tells you to sideload to the watch
-The apps in this thread: http://forum.xda-developers.com/android-wear/general/list-sideloaded-android-wear-apps-t2908106
-MiXplorer-better as a file explorer in my opinion because of the list view, does not have music player and text editor so you still need ES File Explorer for that, also crashes when you exit-link: http://forum.xda-developers.com/showthread.php?t=1523691
Tips:
-If an app you want to sideload uses holo theme it will most probably not work, I think wear has holo removed
Thanks to:
@EpicLPer for creating that thread of sideloaded working apps.
Someone managed to execute adb commands from the phone to the watch, look here:
http://forum.xda-developers.com/android-wear/development/adb-smartphone-to-android-wear-t2987568
Also on this thread someone managed to connect the watch to a different phone without a factory reset on an older android wear version:
http://forum.xda-developers.com/and.../app-reset-wear-client-switch-phones-t3058962
But it's not that easy anymore, that you now need to do is:
First execute the (adb shell "pm clear com.google.android.gms && reboot") command
And then after the reboot execute the (adb shell am start -a android.bluetooth.adapter.action.REQUEST_DISCOVERABLE) command to be able to connect your phone
I have also made shell scripts to do that directly on the watch using terminal emulator and will upload them soon.
Great stuff sir!
crazyeats said:
Great stuff sir!
Click to expand...
Click to collapse
Glad you enjoy it, have now added a list of working apps and tips in the 2nd post, if you test other apps and they work please post them and I will add them.
Solid! Thanks
Great any update then?
johnvuong1999 said:
Great any update then?
Click to expand...
Click to collapse
Sorry I was without a PC for a week and didn't see your message, updates on what are you asking about?
If you are asking about more apps I didn't really get more apps working (android wear is just missing too many things), only some video players but they break the app "Wear Mini Launcher" for some reason, and if you are asking about using adb via bluetooth to debug the watch from the phone that's also something I didn't get working and I did try all the ideas I had.
Root required?
owais113 said:
Root required?
Click to expand...
Click to collapse
If you would have read the whole post you would have seen that it only needs root to install apps using ES File Explorer but unfortunately after the 5.1 update the "pm install" command doesn't seem to work anymore (with or without root) it just gives a "FAILED_INVALID_URI" error.
Other news is that someone on the wear general forum actually managed to run adb over bluetooth so you can now install apps from your phone directly using adb instead (but it does require root on your phone) I will post the link in the 3rd post soon.
Ranomez said:
If you would have read the whole post you would have seen that it only needs root to install apps using ES File Explorer but unfortunately after the 5.1 update the "pm install" command doesn't seem to work anymore (with or without root) it just gives a "FAILED_INVALID_URI" error.
Other news is that someone on the wear general forum actually managed to run adb over bluetooth so you can now install apps from your phone directly using adb instead (but it does require root on your phone) I will post the link in the 3rd post soon.
Click to expand...
Click to collapse
But does the watch need to be rooted or you only need a rooted phone.
owais113 said:
But does the watch need to be rooted or you only need a rooted phone.
Click to expand...
Click to collapse
Do you need root on your watch to execute the "adb install" command command from the PC?

Categories

Resources