[Q] Can't push Advancedsettings.xml to XBMC - Fire TV Q&A, Help & Troubleshooting

I've tried following the wiki, but I get an error
Code:
'push' is not recognized as an internal or external command, operable program or batch file
Can anyone help?

TylerDurdenK said:
I've tried following the wiki, but I get an error
Code:
'push' is not recognized as an internal or external command, operable program or batch file
Can anyone help?
Click to expand...
Click to collapse
I dont use the push command too often, I find it easier to use the file manager within xbmc to transfer files like advancedsettings. Even if you had the advancedsetting on your pc or nas you could easily transfer them over with the file manager.

Thanks for the response. Push worked after a reboot and reconnect.

Related

How to move file to SDcard via cmd!!

I'm following this guide on downgrading the DHD from the latest update.
All is well until I get to this step:
Put PD98IMG.zip to your SD card. You can close the cmd.
Click to expand...
Click to collapse
How do I do this? What command is there?
I cannot just drag and drop cause my SD card doesnt show up in the Windows explorer?
momavujisic said:
I'm following this guide on downgrading the DHD from the latest update.
All is well until I get to this step:
How do I do this? What command is there?
I cannot just drag and drop cause my SD card doesnt show up in the Windows explorer?
Click to expand...
Click to collapse
When you are inserting your adb command as the instruction, your device is still connected with CHARGE ONLY mode,
To insert the .zip file, you need to change it DISK DRIVE mode, and your memory drive will be shown,
You can change it by showing your notification bar, or go to setting-connet to pc, and choose DISK DRIVE,
Put the zip in the root directory, and reboot to bootloader, the DHD will now flashing the rom,
Hopes this help,
BR
Or you may be able to do it from command line using adb.
adb push PD98img.zip /sdcard
I'm can't remember though there might be a limit on file size when pushing like that.

[q] error with new kingston 32gb micro sd card

Hello there,
I need help with this error on my DZ:
'unable to install application data on the device. Error: /mnt/sdcard/Tecarta/50.dat_temp (I/O error).'
The application I was trying to launch is the NKJV Bible software.
Thanks for your advice.
So is this a new SD card that you haven't used before now ?
steviewevie said:
So is this a new SD card that you haven't used before now ?
Click to expand...
Click to collapse
Correct, I only received it yesterday, and have spent hours formating and reformating to get rid of the "read only" error, and to copy the contents of the original 8GB that came with phone. But now have this problem.
Thanks.
Can you use it normally otherwise in the phone ? e.g. can you copy files to it within terminal emulator, or push files to it via adb etc ?
steviewevie said:
Can you use it normally otherwise in the phone ? e.g. can you copy files to it within terminal emulator, or push files to it via adb etc ?
Click to expand...
Click to collapse
I have not tried that. All I have used is the windows copy as well as making a .wrar file out of the 8gb contents, and then extracting the .wrar to the 32gb card.
Any suggestions?
YOSEFE said:
I have not tried that. All I have used is the windows copy as well as making a .wrar file out of the 8gb contents, and then extracting the .wrar to the 32gb card.
Any suggestions?
Click to expand...
Click to collapse
I would try to copy some files to it via Terminal Emulator, an "explorer" program or similar - so you can see if the phone just doesn't like the SD card, or whether it's only giving an error when installing an app.
steviewevie said:
I would try to copy some files to it via Terminal Emulator, an "explorer" program or similar - so you can see if the phone just doesn't like the SD card, or whether it's only giving an error when installing an app.
Click to expand...
Click to collapse
I have used the windows explorer to copy files, but what code can I used in terminal emulator to copy say, file "xyz" in the Androidsdk directory /tmp ?
YOSEFE said:
I have used the windows explorer to copy files, but what code can I used in terminal emulator to copy say, file "xyz" in the Androidsdk directory /tmp ?
Click to expand...
Click to collapse
The copy command is "cp", so try something like :
Code:
cp /tmp/xyz /sdcard
If it works ok it should just come back to the command prompt. Also you can do "ls /sdcard" to see everything there, e.g. see if it really did copy it to the SD card.
steviewevie said:
The copy command is "cp", so try something like :
Code:
cp /tmp/xyz /sdcard
If it works ok it should just come back to the command prompt. Also you can do "ls /sdcard" to see everything there, e.g. see if it really did copy it to the SD card.
Click to expand...
Click to collapse
Thanks. I will try it out.
EDIT: Solved. I had to follow advice from somewhere on the web. I had to put the card in a reader on my windows pc. Navigate to "Computer", then right-click drive "H" (that is what the msd card is on my pc), then click "Properties". After that, I selected "Tools", than clicked "Check now", and clicked "start". However, making sure that the first box (automatically fix file system errors) is checked. Leave "scan for and attempt..." unchecked.
Let the pc do its thing, and when it is done, that is it!
But hey, thanks steviewevie for being there and for being prompt to help me and others get our way around Android.

[Q] LG G3 Lollipop - No Internal SD Card?

I have a strange problem and I haven't been able to find a resolution online. I'm hoping someone smarter than me can offer a solution.
I have an AT&T LG G3 (LG-D850). When I got it, it had stock KK. I rooted it with Bump and everything was cool. I stayed with stock.
Last night I upgraded it to Lollipop using the stock, bump'd LG-D850 20F Lollipop 5.0.1 ROM from autoprime. I didn't run into any problems with the install. The phone appeared to be working fine.
However, today I'm having trouble with the internal storage. When I try to download a file from the internet, it's failing. In the stock browser, it just fails. Downloads says "<Unknown> Failed." In Firefox, it tells me "Cannot download file because SD card is in use." In Chrome, it tells me "No SD card."
I'm also not able to move files to or from internal storage. I can cut, copy, and paste files from one folder on my external card to another on my external. However, I can't cut, copy, or paste files from one folder in my internal storage to another folder in my internal or external storage. I've tried both the stock file explorer as well as FX.
I tried the SDFix app from NewApp on the off chance that it would help (I read somewhere it would also work on L), but it had no effect.
I can still download apps from the Play store and install them. However, if I create a new file in QuickOffice, I can't save it ("Failed to save document.") I can navigate to root and copy/cut/paste files from the data/app folder to my external card and other folders. I think the issue is the system/sdcard folder. The owner/group on the folder is root and read, write, and exec are all checked.
Does anyone know what the permissions on that folder should be? Or if that's really my problem at all?
Thanks.
kragar00 said:
I have a strange problem and I haven't been able to find a resolution online. I'm hoping someone smarter than me can offer a solution.
I have an AT&T LG G3 (LG-D850). When I got it, it had stock KK. I rooted it with Bump and everything was cool. I stayed with stock.
Last night I upgraded it to Lollipop using the stock, bump'd LG-D850 20F Lollipop 5.0.1 ROM from autoprime. I didn't run into any problems with the install. The phone appeared to be working fine.
However, today I'm having trouble with the internal storage. When I try to download a file from the internet, it's failing. In the stock browser, it just fails. Downloads says "<Unknown> Failed." In Firefox, it tells me "Cannot download file because SD card is in use." In Chrome, it tells me "No SD card."
I'm also not able to move files to or from internal storage. I can cut, copy, and paste files from one folder on my external card to another on my external. However, I can't cut, copy, or paste files from one folder in my internal storage to another folder in my internal or external storage. I've tried both the stock file explorer as well as FX.
I tried the SDFix app from NewApp on the off chance that it would help (I read somewhere it would also work on L), but it had no effect.
I can still download apps from the Play store and install them. However, if I create a new file in QuickOffice, I can't save it ("Failed to save document.") I can navigate to root and copy/cut/paste files from the data/app folder to my external card and other folders. I think the issue is the system/sdcard folder. The owner/group on the folder is root and read, write, and exec are all checked.
Does anyone know what the permissions on that folder should be? Or if that's really my problem at all?
Thanks.
Click to expand...
Click to collapse
set up adb then typ this commands
Code:
adb shell
su
restorecon -v -R /data/media
@suljo94 Awesome! That fixed it! :good:
Googleing restorecon brought up a whole bunch of hits about this problem along with this solution. Too bad I couldn't find the answer unless I already knew the answer
this should be added to the autoprime thread or on the q&a for all variants.
Is there anyway to fix internal sdcard? i get bricket on a F460K and cant install .zip files in recovery philz, when i choose zip from/sdcard resolves "Couldn't open directory" and "ni files found" but i can put files in "sdcard" via adb =/, anyone know a way to fix it?. thanks!.
@bolillo It's in the main thread now, first post. It looks like it was added on 3/19.
kragar00 said:
@bolillo It's in the main thread now, first post. It looks like it was added on 3/19.
Click to expand...
Click to collapse
Ooooo well sorry jajaja first thing that popped up in google was this lol
Sent from my LG-D850 using XDA Free mobile app
@mafury did you try the solution @Sulijo94 posted? That fixed my problem.
Can you install via adb?
kragar00 said:
@mafury did you try the solution @Sulijo94 posted? That fixed my problem.
Can you install via adb?
Click to expand...
Click to collapse
Can't run this command on adb shell =(.
mafury said:
Can't run this command on adb shell =(.
Click to expand...
Click to collapse
Did you try from a terminal emulator on phone?
Sent from my LG-D850 using XDA Free mobile app
No, the phone bricked, i recover delete all user data and use kdz with LG Flash tools2014.
I'm failing at this error
suljo94 said:
set up adb then typ this commands
Code:
adb shell
su
restorecon -v -R /data/media
Click to expand...
Click to collapse
I get this error. Please can somebody help?
tauseefalik said:
I get this error. Please can somebody help?
Click to expand...
Click to collapse
format your internal sd (you will lose everything not on externl sd card,apps data)
suljo94 said:
format your internal sd (you will lose everything not on externl sd card,apps data)
Click to expand...
Click to collapse
I tried using this command instead an it worked for me.
"adb shell
su
restorecon -FR /data/media/0"
P.S i'm using no SD Card
Would this work for media (ie. mp3)?
I can't seem to find a fix.. All my music doesn't show in any music app and can't find a solution.. Already checked for .nomedia files, cleared media storage and forced a rescan for media and and formatted internal and external SD cards... No luck.
Thanks
Sent from my LG-D852 using XDA Free mobile app
Very good!!!
suljo94 said:
set up adb then typ this commands
Code:
adb shell
su
restorecon -v -R /data/media
Click to expand...
Click to collapse
Fantastic!! I had the same problem with my LG G3 D850. I installed the stock rom from the TWRP recovery and was with this same problem. After performing this process my problem was solved !! But the pictures of the Camera application are not saved in the internal memory. What should I do to fix this??
kragar00 said:
I have a strange problem and I haven't been able to find a resolution online. I'm hoping someone smarter than me can offer a solution.
I have an AT&T LG G3 (LG-D850). When I got it, it had stock KK. I rooted it with Bump and everything was cool. I stayed with stock.
Last night I upgraded it to Lollipop using the stock, bump'd LG-D850 20F Lollipop 5.0.1 ROM from autoprime. I didn't run into any problems with the install. The phone appeared to be working fine.
However, today I'm having trouble with the internal storage. When I try to download a file from the internet, it's failing. In the stock browser, it just fails. Downloads says "<Unknown> Failed." In Firefox, it tells me "Cannot download file because SD card is in use." In Chrome, it tells me "No SD card."
I'm also not able to move files to or from internal storage. I can cut, copy, and paste files from one folder on my external card to another on my external. However, I can't cut, copy, or paste files from one folder in my internal storage to another folder in my internal or external storage. I've tried both the stock file explorer as well as FX.
I tried the SDFix app from NewApp on the off chance that it would help (I read somewhere it would also work on L), but it had no effect.
I can still download apps from the Play store and install them. However, if I create a new file in QuickOffice, I can't save it ("Failed to save document.") I can navigate to root and copy/cut/paste files from the data/app folder to my external card and other folders. I think the issue is the system/sdcard folder. The owner/group on the folder is root and read, write, and exec are all checked.
Does anyone know what the permissions on that folder should be? Or if that's really my problem at all?
Thanks.
Click to expand...
Click to collapse
Not working. I connected my phone,they can't find it in when i type adb devices. + can't download anything from internet,only from google play.
P760x said:
Not working. I connected my phone,they can't find it in when i type adb devices. + can't download anything from internet,only from google play.
Click to expand...
Click to collapse
@P760x when you type adb devices, what do you get? If it doesn't list any devices you probably need to reinstall the phone drivers on your computer. If it does list your phone, then there's something else wrong.
kragar00 said:
@P760x when you type adb devices, what do you get? If it doesn't list any devices you probably need to reinstall the phone drivers on your computer. If it does list your phone, then there's something else wrong.
Click to expand...
Click to collapse
(i'm getting nothing)That's the whole point. My pc searches and founds my device. It perfectly worked on 4.1x JB, it founds instantly.
For some reason,when i connect my phone into mtp (Files transfer to pc) mode my pc can't find any items in phone,so does extraction applications in my phone,it's just all empty, even though i have gApps,custom kdz.
I tried with terminal emulator (android version) - it says permission denied,so i think that requires root? I would get instantly but i can't transfer or download anything to my phone...?
P760x said:
(i'm getting nothing)That's the whole point. My pc searches and founds my device. It perfectly worked on 4.1x JB, it founds instantly.
For some reason,when i connect my phone into mtp (Files transfer to pc) mode my pc can't find any items in phone,so does extraction applications in my phone,it's just all empty, even though i have gApps,custom kdz.
I tried with terminal emulator (android version) - it says permission denied,so i think that requires root? I would get instantly but i can't transfer or download anything to my phone...?
Click to expand...
Click to collapse
@P760x I noticed that I can't connect my phone in MTP mode unless developer options are on and USB debugging is on. I didn't have that problem on KK, only Lollipop.
If adb devices still doesn't list your phone after that, manually download and reinstall the phone drivers from LG. I've had multiple occasions when Windows eats those drivers, so that's the first place to start.
Hopefully that helps.

advanced question - internal and external file transfers

I have a rooted 5x nougat with twrp recovery and stock rom. When I attempt to copy my TWRP backup to my computer via MTP file transfer, I cannot. Same with my titanium backup folder. I also tried to move my TWRP backup to my DCIM folder such that I could try PTP file transfer but that didn't work either.
Indeed, i cannot even transfer files within my own phone's file directory. I'm using root Explorer. I've toggled and made the file system read-write. I tried to change file folder permissions, and that failed.
Any advice Xda family? I have the proper drives installed.
Apologies in advance if my verbiage isn't accurate technically. I'm pretty good with android but by no means an expert.
Mario
File Transfers
I'm not really sure as to why you'd have problems moving files within your phones internal storage, however I do have a solution (work around, really) to your MTP problem, as long as you have ADB working.
I also never got MTP working so I just use a file manager to check the path to the folder I want from my phone to my computer, and then use the command:
Code:
adb pull /path/to/folder/on/phone /path/to/destination/on/computer
And if I want to put something from my computer on my phone, I do the opposite command:
Code:
adb push /path/to/file/on/computer /path/to/destination/on/phone
Additionally, if you really need to move files around on your phone, you can use:
Code:
adb shell
su
mv /path/to/file /path/to/destination
Hope that helps!
Thanks. It does help and I have adb. I'll try that method. I'm not sure why I'm having that issue either.

Question Can't Transfer Files via PC

Trying to copy files from my old phone to this new Mi 11 via PC, and it's like the PC doesn't have write access to the phone despite it being in USB File Transfer mode. If I try to copy files or create new ones like a test.txt file, it won't actually write anything. It's happened from both a Windows 10 and an Arch Linux computer so it seems to be isolated to the phone. I've tried toggling the USB File Transfer mode off and on but it didn't have any effect.
Can anyone advise how to fix this?
Is "USB File Transfer" MTP?
Have you tried just using adb push file somewhere
Are you trying to copy to /sdcard or are you trying to write to /data/data to restore app data?
It ended up working for no apparent reason, I'm not sure what happened or what fixed it, but it seems to be working now /shrug

Categories

Resources