Adb - Xperia Play Q&A, Help & Troubleshooting

Please could someone help me in using Adb to allow me to transfer more files on the sd card without root? I don't know how to do it and would appreciate if someone could explain it to me.
Thanks
Sent from my R800i using XDA App

If you open the start menu on your computer and right click computer, click properties you should go to some menu and in the top left it will say device manager I think, then you will go to another menu search for other devices or your phones name which should be something like don't Ericson 4.0.A.2.... etc. Something beginning with 4 and has dots a zero and A. Lol
Sent from my EPIC R800i

XTC_ExQuisite_ said:
If you open the start menu on your computer and right click computer, click properties you should go to some menu and in the top left it will say device manager I think, then you will go to another menu search for other devices or your phones name which should be something like don't Ericson 4.0.A.2.... etc. Something beginning with 4 and has dots a zero and A. Lol
Sent from my EPIC R800i
Click to expand...
Click to collapse
Sorry but that wasn't even relevant.... to use adb you need android sdk.
move apps to sd? command is
adb shell
setinstall location or something like that.
move files to sd is
adb push filename /sdcard
thank me if I helped.
Sent from my R800i using Tapatalk

adb shell
pm setInstallLocation 2
reboot

I would thank, but it seems that I still don't understand. I ain't very deep into Android-know a few basics but I'll need a lot more than that to help me (no offence intended). Thank you
Sent from my R800i using XDA App

download the android sdk or a adb package.
extract/install the package/sdk
download adb via the sdkmanager if using the sdk
then load adb.exe via cmd e.g shift + right click - open command window here.
type 'adb shell'
(make sure usb debuggin is on on the phone and usb plugged in.)
then type 'pm setInstallLocation 2'
then type 'reboot'
then type 'exit'
all without quotes.

Still sounds so complex! Lol, will try though. Thanks
Sent from my R800i using XDA App

KindaUndisputed said:
Still sounds so complex! Lol, will try though. Thanks
Sent from my R800i using XDA App
Click to expand...
Click to collapse
ok well if you think that is complicated i will make it simple.
http://bit.ly/yZzQLJ

Thank you
Sent from my R800i using XDA App

Related

ADB stooped working. fail, please help

mods sorry if i should've posted this in Q&A, if needs to be moved go ahead
anyways adb stopped working for me randomly today for no apparent reason. i rebooted my computer, my phone no result.
so i thought maybe something was wrong with the SDK so i deleted the SDK and reinstalled it with no add-ons and i still cant use adb. then i decided ti install all the addons for the SDK and i cant seem to finger point the issue so i provided a screen-shot of my command prompt error and my tools folder to see if i'm missing anything.
All help appreciated
cd\
cd AndroidSDK\Tools\
adb devices
try those commands in your terminal.
Look in the platform-tools folder.
Sent from my PC36100 using XDA App
david279 said:
Look in the platform-tools folder.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
yeah mine got moved ot the platform-tools folder somehow
Plug phone in to pc with debugging on. Do a windows update
david279 said:
Look in the platform-tools folder.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
dude thank you! it worked

[Q] fastboot on linux (ubuntu)

hi guys, i'm really sorry if this is really simple, but i just cant get my head around it and i've been googling for ages and i just keep getting more and more confused.
i'm basically trying to get fastboot enabled on my ubuntu linux install (11.04). would someone please explain to me in simple terms how to get it installed and running on linux, please? from the start would be great, as i find it harder to carry on half way through something. i appreciate the help. you guys are awesome
As soon as I get on my computer at home, i'll outline the steps and attach fastboot
(gimme an hour)
Update: it's taking me longer to get home than expected... Gimme till about 1pm cst (central standard time)
paxChristos said:
As soon as I get on my computer at home, i'll outline the steps and attach fastboot
(gimme an hour)
Click to expand...
Click to collapse
that would be brilliant!! thank you!!
Fastboot on Linux
I too had issues when I switched from Linux to windows (recently) and here's how I got it (just for documentation)
1) I downloaded android-sdk for linux, did the installs, but lo and behold, there was no fastboot...
2) Searched google for about 45 minutes
3) Finally figured out that HTC had it in their development website
4) Downloaded & chmod'd it so it'd work
5) Figured out that the r800x really can't be unlocked via all my attempts (so far...)
Here's a step by step as to how to get it without my hassle.
1) Attached is fastboot, download it, extract it (you can do this later in terminal if you feel like it, or you can do it now in the file explorer)
2) Open up terminal (if you don't have a shortcut for it, make one, it's the most useful thing in linux. ever.)
3) Type in su, enter your password (if you have it setup) and become root. (Or, you could call sudo whenever it is necessary, it's your preference)
4) goto the folder you downloaded fastboot to in terminal (the default chrome download place is /home/[insert your username here]/Downloads)
5) type in chmod [your preference for setting permissions here] fastboot
6) type in (sudo) cp fastboot /bin/
7) now you can call fastboot from anywhere in the terminal!!
This can also be done with adb
Any questions??
paxChristos said:
I too had issues when I switched from Linux to windows (recently) and here's how I got it (just for documentation)
1) I downloaded android-sdk for linux, did the installs, but lo and behold, there was no fastboot...
2) Searched google for about 45 minutes
3) Finally figured out that HTC had it in their development website
4) Downloaded & chmod'd it so it'd work
5) Figured out that the r800x really can't be unlocked via all my attempts (so far...)
Here's a step by step as to how to get it without my hassle.
1) Attached is fastboot, download it, extract it (you can do this later in terminal if you feel like it, or you can do it now in the file explorer)
2) Open up terminal (if you don't have a shortcut for it, make one, it's the most useful thing in linux. ever.)
3) Type in su, enter your password (if you have it setup) and become root. (Or, you could call sudo whenever it is necessary, it's your preference)
4) goto the folder you downloaded fastboot to in terminal (the default chrome download place is /home/[insert your username here]/Downloads)
5) type in chmod [your preference for setting permissions here] fastboot
6) type in (sudo) cp fastboot /bin/
7) now you can call fastboot from anywhere in the terminal!!
This can also be done with adb
Any questions??
Click to expand...
Click to collapse
^_^ thank you so much!! you have made my life so much easier!! just one question. if all i'm doing is flashing the occasional kernel with fastboot, or pushing/pulling etc with adb, do i still need all the adroid sdk stuff? or can i just delete all the stuff now?
solitarymonkey said:
^_^ thank you so much!! you have made my life so much easier!! just one question. if all i'm doing is flashing the occasional kernel with fastboot, or pushing/pulling etc with adb, do i still need all the adroid sdk stuff? or can i just delete all the stuff now?
Click to expand...
Click to collapse
Honestly, I don't know.
That being said, try copying all the extra stuff from where it is currently to another location, and try running adb and fastboot, if it works, delete the extra stuff, if it doesn't, don't mess with it
i am trying to do this with no luck. any suggestions
Where are you stuck?
Sent from my R800x using XDA App
In the terminal I get to waiting on divice. Can't get past that
Sent from my DROID X2 using xda premium
ninjasailas said:
In the terminal I get to waiting on divice. Can't get past that
Sent from my DROID X2 using xda premium
Click to expand...
Click to collapse
Are you in fastboot mode?? (Blue led on top)
(To get into fastboot mode on the Xperia Play, hold down the search button before and while you plug in the usb cord)
(If you are using a different phone, please google the button combination for fastboot)
I have a Droid x 2 and I have booted into fastboot mode
Sent from my DROID X2 using xda premium
good luck, but your problem is outside my (very limited) experience with devices, sorry.
Sent from my R800x using XDA App
That's ok I know its possable seen lots of dx2 users post there logo.bin files. might have to find a windows box. Also, what command do you recommended to fix permissions for fastboot. I used chmod +x fastboot
Sent from my DROID X2 using xda premium
I use numbers and honestly I do either 777 or 755
droid x2 is motorola, right? Don't you need boot strap or something for motorola?
Sent from my R800x using XDA App
update: check http://www.droidforums.net/forum/motorola-droid-x2/149566-droid-x2-boot-menu-recovery.html and see if that helps
For linux I found I had to add the "-i 0x0fce" before my commands or else Id be left with the waiting for device, try this:
fastboot -i 0x0fce getvar version
Also you may have to make the file:
/etc/udev/rules.d/51-android.rules
With this inside (note that 0fce is the idVendor for SE):
SUBSYSTEM=="usb", SYSFS{idVendor}=="0fce", MODE="0666"
That being said I think this accomplishes the same thing as just putting the -i 0x0fce before your command
I navigated to /etc/udev/rules.d. but I cannot create file.
Sent from my DROID X2 using xda premium
ninjasailas said:
I navigated to /etc/udev/rules.d. but I cannot create file.
Sent from my DROID X2 using xda premium
Click to expand...
Click to collapse
Create it I'm a different folder i.e. documents or downloads, them cp the file over to /etc/udev/
Sent from my R800x using XDA App
I actually created the file I had to use the command gksudo Nautilus. What version of Ubuntu do you have? I am using 11.10
Sent from my DROID X2 using xda premium
11.10, I run everything in terminal with root privileges : p
(don't forget to chmod if you cp!!)
Sent from my R800x using XDA App
What is cp
Oh copy paste?
Sent from my DROID X2 using xda premium

Trying to save internal memory?

What is the best way to keep my internal memory low I am rooted but dont really want to move any stock apps because of future updating?
there is no other way then.Im not sure 100% but if you use Move2SD Enabler you can move the system apps you dont want to SDCard,i am NOT sure if you will still be able to update..
Move apps to sd
Type the following two lines in the terminal window and press Enter after each line:
adb shell
pm setInstallLocation 2
Now on your phone go to Settings->Applications->Manage Applications->All.
Press hardware Menu button and select Sort by Size.
Tap on each app that is taking significant amount of space and tap Move to SD card button. Press hardware Back button and repeat.
(optional) To change the default installation location for new apps back to the internal phone memory, go back to your terminal window and type:
pm setInstallLocation 0
(important) Go to Settings -> Applications -> Development and disable USB debugging. Leaving USB debugging enabled makes your phone vulnerable (e.g. lock pattern can be reset).
Enjoy!
You can buy titanium backup pro, it has a few tricks, and it cleans up daviks cache for extra 50 or so MB, or you can move the entire cache by following a thread in the dev section. I think
Sent from my Xperia Play
jutley said:
Type the following two lines in the terminal window and press Enter after each line:
adb shell
pm setInstallLocation 2
Now on your phone go to Settings->Applications->Manage Applications->All.
Press hardware Menu button and select Sort by Size.
Tap on each app that is taking significant amount of space and tap Move to SD card button. Press hardware Back button and repeat.
(optional) To change the default installation location for new apps back to the internal phone memory, go back to your terminal window and type:
pm setInstallLocation 0
(important) Go to Settings -> Applications -> Development and disable USB debugging. Leaving USB debugging enabled makes your phone vulnerable (e.g. lock pattern can be reset).
Enjoy!
Click to expand...
Click to collapse
Thankyou i will try when i get home later from work
Cat_On_Droid said:
there is no other way then.Im not sure 100% but if you use Move2SD Enabler you can move the system apps you dont want to SDCard,i am NOT sure if you will still be able to update..
Click to expand...
Click to collapse
Thanks i tried that app even so it said that it was not compatible for my phone on the market i got it on, but it does not really let me move any apps from internal i.e sims or flash player etc, thanks anyway
jutley said:
Type the following two lines in the terminal window and press Enter after each line:
adb shell
pm setInstallLocation 2
Now on your phone go to Settings->Applications->Manage Applications->All.
Press hardware Menu button and select Sort by Size.
Tap on each app that is taking significant amount of space and tap Move to SD card button. Press hardware Back button and repeat.
(optional) To change the default installation location for new apps back to the internal phone memory, go back to your terminal window and type:
pm setInstallLocation 0
(important) Go to Settings -> Applications -> Development and disable USB debugging. Leaving USB debugging enabled makes your phone vulnerable (e.g. lock pattern can be reset).
Enjoy!
Click to expand...
Click to collapse
Can we do this on terminal emulator? what are we gonna type exactly?
Has to be done on pc using adb just type as per instructions.
jutley said:
Has to be done on pc using adb just type as per instructions.
Click to expand...
Click to collapse
Anything that can be done in ADB can be done in a terminal emulator. ADB is nothing more than a remote terminal.
Sent from my R800i using Tapatalk
AndroHero said:
Anything that can be done in ADB can be done in a terminal emulator. ADB is nothing more than a remote terminal.
Sent from my R800i using Tapatalk
Click to expand...
Click to collapse
Thankyou so what do i input into terminal?
adb shell
pm setInstallLocation 2
jutley said:
adb shell
pm setInstallLocation 2
Click to expand...
Click to collapse
su
# pm setInstallLocation 2
Sent from my R800i using Tapatalk
jutley said:
adb shell
pm setInstallLocation 2
Click to expand...
Click to collapse
says adb not found?
garner said:
says adb not found?
Click to expand...
Click to collapse
Terminal does not know what android debug bridge is, plus you are already logged into shell.
Sent from my R800i using Tapatalk
you need to have usb debuging on your phone enabled.
AndroHero said:
Terminal does not know what android debug bridge is, plus you are already logged into shell.
Sent from my R800i using Tapatalk
Click to expand...
Click to collapse
Thankyou im great with a nexus one just not xperia yet lol i wanna try cyanogen on xperia but it looks like a right pain to get on lol
garner said:
Thankyou im great with a nexus one just not xperia yet lol i wanna try cyanogen on xperia but it looks like a right pain to get on lol
Click to expand...
Click to collapse
If your using a GSM play it's simple.
1) use flashtool to flash recommended official rom first
2) download CM7
3) flash CM7 kernel from fastboot.
4) boot into recovery and flash rom
Sent from my R800i using Tapatalk
AndroHero said:
If your using a GSM play it's simple.
1) use flashtool to flash recommended official rom first
2) download CM7
3) flash CM7 kernel from fastboot.
4) boot into recovery and flash rom
Sent from my R800i using Tapatalk
Click to expand...
Click to collapse
Thankyou how would i know the difference with CDMA and GSM?
garner said:
Thankyou how would i know the difference with CDMA and GSM?
Click to expand...
Click to collapse
if your phone uses a SIM card it's GSM. Afaik the only CDMA plays out are the verizon ones
Sent from my R800i using Tapatalk
AndroHero said:
if your phone uses a SIM card it's GSM. Afaik the only CDMA plays out are the verizon ones
Sent from my R800i using Tapatalk
Click to expand...
Click to collapse
Its deffo gsm then on step one u say flash official rom, my rom is stock 4.0.A.2.368
is that ok?

No bootloader anymore

Hey guys,when I flashed cm9 primou the second time there isn't bootloader anymore also its very slow this time but the first time I installed it it was really really fast but now the important why isn't there bootloader anymore??its booting to recovery quickly without bootloader
Sent from my One V using xda premium
Let your rom boot. Connect the phone to your computer. In your computer go into command line. Then in command line navigate to the folder where the adb.exe is stored. If you have adb.exe in C:\android then you will type "cd C:\android". Then type "adb reboot bootloader". Type without quotation marks. This is the most reliable way how to boot into bootloader. You should have known this by now if you seriously want to be a developer.
You can also create a .bat file to execute the script. To do this create a text file and type there first line: "adb kill-server second" line: "adb reboot bootloader". Without quotiation marks of course. Then save the text file. Then make sure you can see the known extensions in windows and change the extension of the file to .bat. Put the file in the folder with adb and you only need to double click it to reboot into bootloader. You can create a shortcut to the file that you can put into your desktop.
Thank you but it worked this time
Sent from my One V using xda premium
There are others less experienced who may not know this.
donhashem.dh said:
Thank you but it worked this time I don't know why also why were u telling me that s*** cd and navigate to were you put the adb???? Dude when I was 12 I used to know these stuff
Sent from my One V using xda premium
Click to expand...
Click to collapse
stop lying and be honest!
if you knew how to reboot to bootloader using ADB you have done that instead of opening an useless thread like this!
1ceb0x said:
stop lying and be honest!
if you knew how to reboot to bootloader using ADB you have done that instead of opening an useless thread like this!
Click to expand...
Click to collapse
+ 1
Sent from my HTC One V
You both didn't get me I mean that when I wanna use cmd where I have to navigate to and all that stuff
Sent from my HTC One V using xda premium
hlavicka82 said:
You can also create a .bat file to execute the script. To do this create a text file and type there first line: "adb kill-server second" line: "adb reboot bootloader".
Click to expand...
Click to collapse
Just for curiosity, what does adb kill-server second do/mean? I mean, can't only adb reboot bootloader do ??
Sent from my HTC One V using xda app-developers app
Look dude I'm sorry for being rude but I was a little angry for what was happening to my phone.please accept my apology
Sent from my HTC One V using xda premium
soham_sss said:
Just for curiosity, what does adb kill-server second do/mean? I mean, can't only adb reboot bootloader do ??
Sent from my HTC One V using xda app-developers app
Click to expand...
Click to collapse
That will kill the first server IF you have one opened, in order to let the new one to work (the one to reboot bootloader). It is a safe state to say the least because if you have one adb shell opened and you want to run the .bat that will open another shell, it won't work. And that's why you need the adb kill-server second .
donhashem.dh said:
Look dude I'm sorry for being rude but I was a little angry for what was happening to my phone.please accept my apology
Sent from my HTC One V using xda premium
Click to expand...
Click to collapse
Apologies accepted.
donhashem.dh said:
Look dude I'm sorry for being rude but I was a little angry for what was happening to my phone.please accept my apology
Sent from my HTC One V using xda premium
Click to expand...
Click to collapse
Its OK...everyone is learning...accept someone's advice in a good way instead of replying...I knew this when I was 12
Sent from my One V using XDA
"XDA IS a place to come to learn and share your knowledge.
If you are not here for those reasons then you are here for the wrong ones" - zelendel
1ceb0x said:
That will kill the first server IF you have one opened, in order to let the new one to work (the one to reboot bootloader). It is a safe state to say the least because if you have one adb shell opened and you want to run the .bat that will open another shell, it won't work. And that's why you need the adb kill-server second .
Apologies accepted.
Click to expand...
Click to collapse
Adb kill server second kills the first one?? Funny
Sent from my One V using xda premium

Pushing ROM using ADB! Help!

Alright so I was an idiot and wiped data and internal storage...I figured I could just mount the phone like I could my Thunderbolt, but apparently not. I have adb installed and currently been going to platform-tools folder and opening command window...type adb devices and it shows my device in recovery...which is good. However as soon as I try to do "adb push C:\android-sdk-windows\platform-tools\baldwinguy77_toro_aosp_011913-120824-signed.zip" and it doesn't do anything and just scrolls through all the available commands you can do...I have tried multiple variations of that and nothing seems to work. Help me please, as I need my phone working and I have been trying to figure this out for about an hour now.
CC268 said:
Alright so I was an idiot and wiped data and internal storage...I figured I could just mount the phone like I could my Thunderbolt, but apparently not. I have adb installed and currently been going to platform-tools folder and opening command window...type adb devices and it shows my device in recovery...which is good. However as soon as I try to do "adb push C:\android-sdk-windows\platform-tools\baldwinguy77_toro_aosp_011913-120824-signed.zip" and it doesn't do anything and just scrolls through all the available commands you can do...I have tried multiple variations of that and nothing seems to work. Help me please, as I need my phone working and I have been trying to figure this out for about an hour now.
Click to expand...
Click to collapse
Use side load.
Cwm : reboot recovery > install zip from side load.
In adb > using the side load command ( refer syntax on phone screen, when pH is in side load mode.)
Press thanks if helped
Sent from my Galaxy Nexus using xda app-developers app
Ashwa said:
Use side load.
Cwm : reboot recovery > install zip from side load.
In adb > using the side load command ( refer syntax on phone screen, when pH is in side load mode.)
Press thanks if helped
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
I am using TWRP btw...how do I use sideload?? I see it in TWRP...but do I open command prompt and do something special??
EDIT: Ahh...finally figured it out and it installed the ROM! Thanks
CC268 said:
Alright so I was an idiot and wiped data and internal storage...I figured I could just mount the phone like I could my Thunderbolt, but apparently not. I have adb installed and currently been going to platform-tools folder and opening command window...type adb devices and it shows my device in recovery...which is good. However as soon as I try to do "adb push C:\android-sdk-windows\platform-tools\baldwinguy77_toro_aosp_011913-120824-signed.zip" and it doesn't do anything and just scrolls through all the available commands you can do...I have tried multiple variations of that and nothing seems to work. Help me please, as I need my phone working and I have been trying to figure this out for about an hour now.
Click to expand...
Click to collapse
cd C:\android-sdk-windows\platform-tools\
adb push baldwinguy77_toro_aosp_011913-120824-signed.zip /sdcard/
You didn't specify the destination.
Sent from my i9250
Ashwa said:
Use side load.
Cwm : reboot recovery > install zip from side load.
In adb > using the side load command ( refer syntax on phone screen, when pH is in side load mode.)
Press thanks if helped
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
bk201doesntexist said:
cd C:\android-sdk-windows\platform-tools\
adb push baldwinguy77_toro_aosp_011913-120824-signed.zip /sdcard/
You didn't specify the destination.
Sent from my i9250
Click to expand...
Click to collapse
But why put /sdcard on the end if there is no sdcard?? By the way I got it to work but didnt put the sdcard on the end
CC268 said:
But why put /sdcard on the end if there is no sdcard??
Click to expand...
Click to collapse
.... Please do some research.
CC268 said:
By the way I got it to work but didnt put the sdcard on the end
Click to expand...
Click to collapse
Through adb? I find that hard to believe, unless you specified another destination.
Sent from my i9250

Categories

Resources