[Q] Help with handling .apk on computer - General Questions and Answers

i'm very new to modding adroids and all that, i just really need help lol. after i downloaded z4root.1.3.0.apk into my computer, how do i physically move that file into my phone after i already mounted it? Like I know where the file is supposed to download to, but it doesn't show up in that folder, so i can't move it into my phone. i have an htc hero cdma (sprint) and my computer is windows 7

It should be saved in your documents folder, you can download a program called droid explorer which can sideload apk"s to the phone, or if your familliar with adb that also will work. make sure usb debugging is on. Also when you find the z4root.apk you can copy/paste it onto your sd. Obvioisly you have to mount the sd to comp. First
Sent from SGS Captivate CM7 or MIUI using TKGlitch or Escapist
If i helped press thanks button

Put the apk on your SD Card. Enable "install from unknown source" in the settings and use Astro from the market to install.
-- Sent from my phone so typos are inevitable --

Related

Need help backing up data with ADB on my captivate (broken screen)

[resolved]
I have a broken (completely black) screen on my captivate Im trying to back up all my files from the INTERNAL memory. I can't see the screen so obviously I can't mount the phone to view the files on my PC. I have gotten 'pull /system/ /local/' to work however when I try something like 'pull /data/ /local/' it says "pull: building file list... 0 files pulled. 0 files skipped."
Basically, how do I use ADB to get all of my files to my computer? Help is certainly appreciated. After this I will probably reset the phone and then maybe sell it as is. Not too sure.
Question: Do u happen to have any recent clockwork backup and/or tibu backups on ur phone? If either is present u could directly navigate to those folders (in adb) and pull the files u want.
Alternate option: U cud put in an external sd card, and copy the files from internal sd to external sd if u are not comfortable with the pull commands.
diablo009 said:
Question: Do u happen to have any recent clockwork backup and/or tibu backups on ur phone? If either is present u could directly navigate to those folders (in adb) and pull the files u want.
Alternate option: U cud put in an external sd card, and copy the files from internal sd to external sd if u are not comfortable with the pull commands.
Click to expand...
Click to collapse
I do not have any type of backups apps or anything like that on the phone.
I have an external sd card however Im not sure how thats different than using adb to copy the files from the internal memory to my computer. I am fine with using pull but maybe im using the wrong directory name for my personal files?
Have you tried qtadb or droidexplorer. Would be easier imo.
newter55 said:
Have you tried qtadb or droidexplorer. Would be easier imo.
Click to expand...
Click to collapse
That requires a rooted phone right? My phone is currently not rooted and I don't know if I would want to. How come I cant just use the adb pull command on the folder with my data in it?
edit - i might have found a command that works, i will update when finished.
ok this worked for me: 'adb pull / d:\backup\'
thanks everyone for your help.
Yeah. Assumed you were rooted sorry. Just thought that way you could see everything and point and click.
So I have a similar situation to this only I have a phone that isnt rooted and usb debugging isnt enabled. However I know the phone boots on, and I can also get into recovery mode where I am able to ADB to get a basic shell, and see the device but that is about it. I feel that if I could enable usb debugging thru recovery mode I might be able to mount the /sdcard and then pull files from there. anyone got any ideas if I could get a reboot with usb debugging enabled from recovery or maybe just a command that I could use in shell via recovery?? Please Please lol. I have a strong feeling i might have hit a wall.
http://forum.xda-developers.com/showthread.php?t=1164598

Having trouble connecting to PC ( tried 3 differnt USB driver)

Update:
Stock update.zip needed!!
or, does those mod update.zip helps too ?
I've had trouble connecting this SGS4G to my PC.
I got it used, the previous owner fomated the SD card.
Is there any files comes with the stock SD card that affects the connection?
I tried hard and soft reset, still the PC said can't recognize it.
I even hand pick the USB driver in update driver option.
It says "Device cannot start (code 10)" something like that
Any advise will be appreicated!
Look for drivers only maybe different bit than your pc
Try just the sd.card in your.computer
Usb.debuging
Sent from my SGH-T959V using XDA Premium App
patpat09 said:
I've had trouble connecting this SGS4G to my PC.
I got it used, the previous owner fomated the SD card.
Is there any files comes with the stock SD card that affects the connection?
I tried hard and soft reset, still the PC said can't recognize it.
I even hand pick the USB driver in update driver option.
It says "Device cannot start (code 10)" something like that
Any advise will be appreicated!
Click to expand...
Click to collapse
Did you install the drivers found on the "how to root galaxy s4g and deleting fota files" thread in the development forum?
Sent from my SGH-T959V using Tapatalk
One thing you might try, if you haven't yet is a different (original) usb cable. I had this problem and realized I was using a moto usb cable. Just a thought.
golmar88 said:
One thing you might try, if you haven't yet is a different (original) usb cable. I had this problem and realized I was using a moto usb cable. Just a thought.
Click to expand...
Click to collapse
This happened to me also, with a kodak cable.
Sent from my SGH-T959V using Tapatalk
golmar88 said:
One thing you might try, if you haven't yet is a different (original) usb cable. I had this problem and realized I was using a moto usb cable. Just a thought.
Click to expand...
Click to collapse
+2 I had this issue before.
Thankyou for all the answers, I've used 3 different drivers, 1 from Kies, 1 from that Noob root guide, and one from somewhere i forgot.
I also used 3 different micro usb cable, HTC, MOTO, and samsung.
I went to Tmobile, plug in one of their sgs4g in my laptop, works perfectly, so not my laptop and not my cable.
Then i tested, my phone is not rooted yet with root checker, when I install superuser, it gave me an error msg saying that su binary file has a problem, It disappear before i write it down. and it said it copied that su binary on my sd card and tell me to reboot into recovery mode and install it.
I dont know how, and i guess that means a hard reset? I used that vol up+down and power buttom.Then I clicked reinstall packages, big discovery!
I found out that "E;/fail to open.mnt/internal_d/update.zip(No such file or direstory)
Man.... somehow that update.zip isn't there!!!
Anyone could point me to a place to download it? or simple upload me or send one to me email [email protected]
Again thank you for all the comments!
patpat09 said:
Update:
Stock update.zip needed!!
or, does those mod update.zip helps too ?
I've had trouble connecting this SGS4G to my PC.
I got it used, the previous owner fomated the SD card.
Is there any files comes with the stock SD card that affects the connection?
I tried hard and soft reset, still the PC said can't recognize it.
I even hand pick the USB driver in update driver option.
It says "Device cannot start (code 10)" something like that
Any advise will be appreicated!
Click to expand...
Click to collapse
Have you installed the driver's from Samsung yet?
Additionally, when you plug the USB cord in, what happens on your phone? Do icon's show up, up top? Nothing happens?
Have you tried to go into Settings>Applications>Development and made sure USB Debugging is on?
Now if you have tried a standard SGS4G from the TMO Store on your laptop and it worked, you might have gotten a bad deal buying that one used. Something might be jacked up on it.
Additionally, if it's unmodified which it sounds like it is,
Just go to Settings>Privacy>Factory Data Reset.
That will put you back to the original state.
joedeveloper said:
Have you installed the driver's from Samsung yet?
Additionally, when you plug the USB cord in, what happens on your phone? Do icon's show up, up top? Nothing happens?
Have you tried to go into Settings>Applications>Development and made sure USB Debugging is on?
Now if you have tried a standard SGS4G from the TMO Store on your laptop and it worked, you might have gotten a bad deal buying that one used. Something might be jacked up on it.
Additionally, if it's unmodified which it sounds like it is,
Just go to Settings>Privacy>Factory Data Reset.
That will put you back to the original state.
Click to expand...
Click to collapse
No icon show up.
Something is missing from the phone, i did the factory reset both soft and reinstall package in Recovery/ delete all user data, still no help.
When i use root checker, it tells me there is no su binary in system/bin
Superuser created one for me to the SD card, but es file explorer wont copy it into system/bin for me, and in recovery mode, it just say no update.zip exist in internal SD
patpat09 said:
No icon show up.
Something is missing from the phone, i did the factory reset both soft and reinstall package in Recovery/ delete all user data, still no help.
When i use root checker, it tells me there is no su binary in system/bin
Superuser created one for me to the SD card, but es file explorer wont copy it into system/bin for me, and in recovery mode, it just say no update.zip exist in internal SD
Click to expand...
Click to collapse
I'm not sure what would have been deleted off the phone to prevent the USB from working on your computer. Either way, you're kinda out of luck if it won't even connect to the computer.
Only other solution would be to download the stock ROM in the form of update.zip from your phones web browser, save to SD, then reboot into recovery and choose the second option.
The reason why update.zip is missing is because you haven't put it on your SD card. You typically download any zipped ROM, rename it to update.zip and then put it in the root of your SD.
Since you can't connect to the computer you'd have to download from a browser.
joedeveloper said:
I'm not sure what would have been deleted off the phone to prevent the USB from working on your computer. Either way, you're kinda out of luck if it won't even connect to the computer.
Only other solution would be to download the stock ROM in the form of update.zip from your phones web browser, save to SD, then reboot into recovery and choose the second option.
The reason why update.zip is missing is because you haven't put it on your SD card. You typically download any zipped ROM, rename it to update.zip and then put it in the root of your SD.
Since you can't connect to the computer you'd have to download from a browser.
Click to expand...
Click to collapse
Very usefull Info!!
I'm downloading that Stock DEODEXED KC1 now. But it's in Mc5
So, i just zip it right?
Luckily I could still take the sd card out and use a card reader to load stuff on it.
Mainly i want the connection to the pc for rooting.
Moreover, the Root checker says i already have Busybox installed, does it mean, the previous owner might have tried to or did rooted, but unroot it ?
That one doesnt work, so I tried another one which it states its completely stock (T959VUVKC1-REV00-ALL-low-CL933594.tar)
But still both turns out "E: signature verification failed"
any idea?

[q] how to load a .apk file on sc using pc

needed some help with a guide on how to use my pc to access the system folder in order to install a APK app. file. any help is greatly appreciated.
Just put the apk on the sd card, make sure that you have allow unknown sources checked under menu>applications, then use file manager or whatever one you use to find it, tap on it and tap install.
If you specifically need the /system folder, you can't access it directly. Copy it to your SD card, then move it to your /system folder using Root Explorer or something else that will let you access it in Read/Write mode.
Thanks for the help, its appreciated
Sent from my SCH-I510 using XDA App

[Q] Urgent - need help with an issue on my xoom.

Previously I was using cm9, after that I upgraded to cm10. I wiped data, wiped cache in cwm recovery.
After that, I tried xfering some files over to my tab, it looked like this
i. imgur.com/T3LAU.png
From this picture, it can be seen that my internal memory has files and is not empty
yet when I enter the folder
i. imgur.com/Mn7lR.png
Completely empty, cant be seen.
Even after trying to copy and paste files in, only the new files appear, can no longer find my old files.
Can anybody help me? same thing for the SD card. SD card only detected when I removed and plugged in with external usb card reader to my pc.
(I can't post images yet, hopefully someone with >10 posts can hotlink it for me).
Really urgent because I have to use it for my lecture notes in school.
If you want a workaround on this issue, you can use a cloud storage app. For example, dropbox (go to my signature and click the dropbox logo) can allow you to transfer files without even plugging your Xoom into your computer
Managed to solve the issue by doing a complete memory wipe on my internal hard disk but backing up important files before hand w dropbox as the files are still accessible with astro.
No idea how this happened though.
It's called MTP. Hahahaha in other words windows sucks.
Really what happens is the file list directory isn't updated so it doesn't show up on explorer. I don't even use explorer, I just use ADB push or pull.

Confused about (internal) storage

Hello,
I am little confused about phones storage. Hope someone can help me.
OK, When I first configured my phone I installed TitaniumBackup and restored all my apps and data from my former phone HTC Sensation. Then I copied Sensations SD Card data to Nexus' internal storage via Windows. For example also the folder "WhatsApp".
When I connect the phone to my PC I can see its internal storage. In the folder "WhatsApp/Database" I can find some files like "msgstore-2014-01-17.1.db.crypt" or "msgstore-2014-01-16.1.db.crypt".
Now I open ES FileExplorer, go to device/sdcard: there I can see mainly the same folders I copied from Sensation to Nexus. WhatsApp is also there. When I look inside I can't find any files like "msgstore-2014-01-17.1.db.crypt" I see on "internal storage" via PC. but I see others like "msgstore-2014-01-24.1.db.crypt". What?! I don't understand that.
OK, next Test: Via PC I copy a file named 123test.txt to the Whatsapp Folder. Again I look via ES FileExplorer on the phone, what happens. Ola, I can see 123test.txt in device/sdcard. But not e.g. "msgstore-2014-01-17.1.db.crypt". Aha... strange.
And while writing this question I had to copy the filename of "msgstore-2014-01-17.1.db.crypt" from Windows explorer to paste it here. And now I can see also "msgstore-2014-01-17.1.db.crypt" in device/sdcard on my phone, but not the ohers like "msgstore-2014-01-16.1.db.crypt". I touch a file in Windows Explorer on "internal storage" and after that it's copied to device/sdcard?
This can't be normal?! That's zero transparent... and weird...
Can someone please clear it up for me?!
THANKS!
dbsoundz said:
Hello,
I am little confused about phones storage. Hope someone can help me.
OK, When I first configured my phone I installed TitaniumBackup and restored all my apps and data from my former phone HTC Sensation. Then I copied Sensations SD Card data to Nexus' internal storage via Windows. For example also the folder "WhatsApp".
When I connect the phone to my PC I can see its internal storage. In the folder "WhatsApp/Database" I can find some files like "msgstore-2014-01-17.1.db.crypt" or "msgstore-2014-01-16.1.db.crypt".
Now I open ES FileExplorer, go to device/sdcard: there I can see mainly the same folders I copied from Sensation to Nexus. WhatsApp is also there. When I look inside I can't find any files like "msgstore-2014-01-17.1.db.crypt" I see on "internal storage" via PC. but I see others like "msgstore-2014-01-24.1.db.crypt". What?! I don't understand that.
OK, next Test: Via PC I copy a file named 123test.txt to the Whatsapp Folder. Again I look via ES FileExplorer on the phone, what happens. Ola, I can see 123test.txt in device/sdcard. But not e.g. "msgstore-2014-01-17.1.db.crypt". Aha... strange.
And while writing this question I had to copy the filename of "msgstore-2014-01-17.1.db.crypt" from Windows explorer to paste it here. And now I can see also "msgstore-2014-01-17.1.db.crypt" in device/sdcard on my phone, but not the ohers like "msgstore-2014-01-16.1.db.crypt". I touch a file in Windows Explorer on "internal storage" and after that it's copied to device/sdcard?
This can't be normal?! That's zero transparent... and weird...
Can someone please clear it up for me?!
THANKS!
Click to expand...
Click to collapse
Maybe it's because I haven't finished my coffee yet, but I reread your post a few times and only sort of understand what you are trying to figure out...
Since the Nexus doesn't have external storage, then the Internal Storage you see in Windows is /sdcard. It sounds like maybe either the database files from your Sensation might not have transferred over to the Nexus correctly, or the older file maybe was rewritten with the version of the app on the Nexus? Or if it just doesn't show up when you copy the file to the phone while it is still plugged in, then it might not show up in a file manager on the phone until you unplug it and then the phone rescans the media to sync the contents so file managers can display everything. This is common behavior with the MTP set up. Let me know if I am not on the right path with the info and I'll see if I can help clarify more.
es0tericcha0s said:
Maybe it's because I haven't finished my coffee yet, but I reread your post a few times and only sort of understand what you are trying to figure out...
Since the Nexus doesn't have external storage, then the Internal Storage you see in Windows is /sdcard. It sounds like maybe either the database files from your Sensation might not have transferred over to the Nexus correctly, or the older file maybe was rewritten with the version of the app on the Nexus? Or if it just doesn't show up when you copy the file to the phone while it is still plugged in, then it might not show up in a file manager on the phone until you unplug it and then the phone rescans the media to sync the contents so file managers can display everything. This is common behavior with the MTP set up. Let me know if I am not on the right path with the info and I'll see if I can help clarify more.
Click to expand...
Click to collapse
Hello es0tericcha0s,
what I do not understand is: Why do I see on my PC other files then on my phone?
Why I looked at that: On phones with SD Card I backuped all my SD Card before ROM changes. Then I just copy my backup back to SD Card. But now I am not sure what to backup. If I backup my internal storage via PC I have definitily not the current data in it!
I don't understand that behaviour?!
dbsoundz said:
Hello es0tericcha0s,
what I do not understand is: Why do I see on my PC other files then on my phone?
Why I looked at that: On phones with SD Card I backuped all my SD Card before ROM changes. Then I just copy my backup back to SD Card. But now I am not sure what to backup. If I backup my internal storage via PC I have definitily not the current data in it!
I don't understand that behaviour?!
Click to expand...
Click to collapse
I'd have to go with good old buggy MTP. I've seen lots of these 'ghost files' in Windows explorer with my previous phone (GNEX). If both file manager apps and for instance adb shell do not show files that Windows explorer via MTP does show, you can safely assume Windows explorer is wrong.
Tip: for a more secure data transfer, copy your /sdcard content from your PC to the N5 using the adb push command. I believe there are even GUIs for adb nowadays if you don't like working on the command line.
Guys... I still do not understand that thing...
I installed CM11. Copied via Windows Explorer my Titanium Backup folder to internal storage. Nothing else. Then I restored WhatsApp to see what happens. Everything worked fine. Whatsapp is OK but has no media file I sent or received. OK, I can copy them from my backup to internal memory. BUT I CAN'T SEE ANY WHATSAPP FOLDER in my Windows Explorer. But in my phone file explorer I can see it!
This can't be normal!
How does one can make a consistent backup of it's phone with that behaviour?!
EDIT: After I rebooted the phone I can also see the WhatsApp folder in Windows... :/
Like I said: MTP is buggy. For reliable file transfers via usb use adb push and pull commands.
Sent from my Nexus 5 using Tapatalk
This is sooo strange...
I made a TWRP backup. Then I used adb pull /sdcard/ /sdcardbackup to copy my storage with my TWRP backup to PC. But I can't find the backup on my PC after adb finished the copy job. Where is it? I searched with the explorer on the phone:
/sdcard/ -> I am redirected to /storage/emulated/legacy - this view is identical with my backup on pc
/storage/sdcard0/ -> I am redirected to /storage/emulated/legacy - same as above
/storage/emulated/ -> There are folders 0, legacy and TWRP and there I found my backup.
Shouldn't I find TWRP backups on my sdcard, storage, emultade, legacy or I don't know how the place is called?!
OK, I try to copy thios TWRP backup to my PC:
- via PC: I can't, because I see only the "internal storage"
via adb: I can't, too: E:\Nexus 5\android-sdk-windows\platform-tools>adb pull /storage/emulated/TWRP /TWRPbackup DOES NOT WORK
BUUHUUUUUUUUUU unbelievable
How do you check where your data is? I don't...
You used a relative path for the destination folder, meaning that folder was created on the location where your adb executable is. Look for it there or use an absolute path for your destination folder.
Sent from my Nexus 5 using Tapatalk
You're supposed to adb pull from /sdcard not /storage
If you didn't change directory (cd) in cmd / terminal, then your pulled data is in the directory that opens by default in cmd. Open cmd to see what path you let it default to. Often c:\users\username
Don't forget if you're in windows, you need to
adb pull /sdcard/source \destination
And linux
adb pull /sdcard/source /destination
Sent from my Nexus 5 using Tapatalk
dbsoundz said:
This is sooo strange...
via adb: I can't, too: E:\Nexus 5\android-sdk-windows\platform-tools>adb pull /storage/emulated/TWRP /TWRPbackup DOES NOT WORK
.
Click to expand...
Click to collapse
Hello,
copy command should be ok. hoever. Why is TWRP backup saved to location /storage/emulated/TWRP, not on "internal memory"?
Really guys... this can't be normal. is there something wrong with my phone or ROM?!
dbsoundz said:
Hello,
copy command should be ok. hoever. Why is TWRP backup saved to location /storage/emulated/TWRP, not on "internal memory"?
Really guys... this can't be normal. is there something wrong with my phone or ROM?!
Click to expand...
Click to collapse
No, it's something wrong with you. I'd be easier to copy the backup to the phone memory visible to a PC using a root explorer and then copy it to the PC that way if you can't get adb working

Categories

Resources