Related
I have a fault with my tp2 where it won't connect to the PC via USB. I want to put the stock vodafone rom on it as it's going back tomorrow for exchange/repair, but can't find a way to do this that doesn't involve USB. The vodafone ROM download I have is an exe file so I have no nbh file to put on my SD card.
Does anyone have any idea what to do?
use winrar and you can unzip the .exe, or open up the exe and there should be a prompt saying its un-packaging contents (or something along those lines). Then look in the folder where your exe is placed and there should be a folder created and in that folder is the .nbh. Now there will be 3 or so, copy the largest one and rename it to RHODIMG.nbh and put it on the root of your storage device. Then enter bootloader, (hold vol down while device is booting up) and follow the prompt.
by root do you mean program files
1milenia said:
by root do you mean program files
Click to expand...
Click to collapse
Root is the same level in your SD card that your program files and other main folders are at, put the file at the same level as those folders, not in any of them, and that's where it's required to be.
fone_fanatic said:
use winrar and you can unzip the .exe, or open up the exe and there should be a prompt saying its un-packaging contents (or something along those lines). Then look in the folder where your exe is placed and there should be a folder created and in that folder is the .nbh. Now there will be 3 or so, copy the largest one and rename it to RHODIMG.nbh and put it on the root of your storage device. Then enter bootloader, (hold vol down while device is booting up) and follow the prompt.
Click to expand...
Click to collapse
This worked a treat. Thanks very much. I never would have thought of trying to extract an exe file!!
Dear all,
I have problem to manipulate and access to internal storage of my Desire (/system/app and /system/lib/). Even though Root Explorer/ Estrong Explorer/AndExplorer can see the system file but I cannot move/edit/copy/paste files to those above mentioned folders. And the Droid explorer on my PC can also see all files on Desire but not make me copy files into system folder. I'm using root Desire phone with the LeeDroid 1.3a ROM. Newest super permission users 2.2 is also included in this room and the Read/Write permissions have been set for any explorer. Is there any way for me to make PC recognize internal storage as drive (like external SD card) or is there any solution to copy files into system folder on internal storage successfully? Because I would like to install Java for my Desire but ADB and some method require to copy file into internal storage. Pls advise me about installing Java to run MIDlet Java Games and show the way to show the problem of internal storage recognition and root permission. Thanks for all. Hope to hear good news from all of you !!!
You cannot access write in /system whilst the phone is booted. You can only do this via ADB when in recovery.
Regards,
Dave
Well i take it you are trying while the android system is booted.
That won't work, as the phone has nand protection. Instead you should boot into a custom recovery and use "adb push" commands to copy files over.
Hope you can figure it out otherwise ask
edit: too late
mortenmhp said:
Well i take it you are trying while the android system is booted.
That won't work, as the phone has nand protection. Instead you should boot into a custom recovery and use "adb push" commands to copy files over.
Hope you can figure it out otherwise ask
edit: too late
Click to expand...
Click to collapse
Fristly, thanks for all of your advice. But in the recovery mode, PC does not recognize USB toogle connection. So how to activate the ADB sell to make the command input? Pls advise me for more detail.
In fact to me, ADB can recognize my HTC desire in window XP but when my Desire has already booted into main screen. When in recovery mode, ADB cannot detect my HTC desire (adb devices). Pls tell me install ADB driver so that ADB in winXP can detect my Desire even in recovery mode. Thanks.
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.
Using the latest Axiom ROM I ran into a problem where I can't download into the 'Download' folder of the SD card. It's the default location for the stock browser to download into.
I can pick the save location easily with the opera browser, but don't know how with the stock browser.
Anyway it seems that somehow with the last Axiom flash a new folder also named "download" was created on my SD card.
One is spelled 'download' and one is spelled 'Download'. One is empty and one has weird contents that isn't readable by most file file managers. That one is actually my original one.
I can't delete either one, and I can't download programs into 'download' from the stock Browser. (did manage to delete both with Root Explorer, the original remerged, contacts intact, upon a reboot)
So I want to format my SD card partition.
I tried Clockwork partition SD card. and it didn't work.
I tried resetting all user data from within the Android OS and it didn't do anything to the SD card partition either.
I'm looking for the ADB command to do it.
I found a command to do it on the Hero, G2 touch. It's :
First, on your phone, go into Home -> Settings -> SD card & phone storage, then click on "Unmount SD card"
Then, in your shell, do the following.
Code:
adb shell
mkfs.vfat /dev/block//vold/179:1
Looking for a similar command for the Galaxy Nexus. Thanks.
so you cant use root explorer to rename the one folder to match...or delete one?
droidstyle said:
so you cant use root explorer to rename the one folder to match...or delete one?
Click to expand...
Click to collapse
Nope, root explorer shows one empty file, and the original 'download' is shown as a systems file or whatever is designated by a piece of paper with a yellow shield with a star in the lower left corner. But root explorer can't open any of the contents using any of the options from 'Text Viewer' through 'Rar Viewer'.
I just deleted both of those folders using Root Explorer.
But then I still couldn't save from the stock browser. 'Download failed'.
Then I rebooted and the original 'Download' folder was present with all previous contents intact. I was able to successfully download to it.
Which leaves the original question.
How do you format the SD card partition?
If you don't care about your user data you could lock the bootloader and then unlock it again.
go to the android revolution hd thread and look up the "super wipe" scripts. There is a full and lite version. Although it appears the full version is not yet released. The difference is the full version wipes data/media folder(Virtual sd card).
Izord said:
Thanks maybe answer it and move it out of here.
Or just move it out of here so it will be ignored and never answered.
Click to expand...
Click to collapse
Not sure why you are so negative about the Q/A section.. I personally go through it multiple times a day and try to answer everything I can.. if you want to delete it then relock and unlock your boot loader. That would be the easiest.
Sent from my Galaxy Nexus using xda premium
droidstyle said:
go to the android revolution hd thread and look up the "super wipe" scripts. There is a full and lite version. Although it appears the full version is not yet released. The difference is the full version wipes data/media folder(Virtual sd card).
Click to expand...
Click to collapse
Yes as droidstyle said there isn't any SD "partition" in our GN. The /sdcard/ is actually a link to /data/media, means that they are in the same partition and the storage are being shared. So it is not possible to "format" the SD "partition".
Do not try the old methods, it is not a 179:1 device.
sorry to bring up a dead thread, but if i do the lock/unlock trick while running a custom rom, am i going to be able to boot the phone back up? Will i need to have Android SDK ready to go so i can flash CWM and flash a rom?
thanks
the browser is your download problem
YEAH YEAH i know....... not for questions and answers but what can i say im a postaholic (sorry bout that)
This kid cant download because he is using the stock browser.
If he were to use dolphin or maybe even firefox he would be able to download .
Okay im done posting in the wrong place now
sorry just wanted to help:highfive:
XDA RULEZ
I think there is one option in CWM. Format Storage
joshnichols189 said:
Not sure why you are so negative about the Q/A section.. I personally go through it multiple times a day and try to answer everything I can.. if you want to delete it then relock and unlock your boot loader. That would be the easiest.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Easiest procedure, no need to relock/unlock bootloader:
- 'fastboot erase userdata'
the_kwa said:
sorry to bring up a dead thread, but if i do the lock/unlock trick while running a custom rom, am i going to be able to boot the phone back up?
thanks
Click to expand...
Click to collapse
That's kinda obvious, since all you're doing is relocking the bootloader. Even when unlocking, only thing fastboot does is erase userdata and unlocking the bootloader itself. It doesn't touch /system, boot.img (the rom itself).
Izord said:
Using the latest Axiom ROM I ran into a problem where I can't download into the 'Download' folder of the SD card. It's the default location for the stock browser to download into.
I can pick the save location easily with the opera browser, but don't know how with the stock browser.
Anyway it seems that somehow with the last Axiom flash a new folder also named "download" was created on my SD card.
One is spelled 'download' and one is spelled 'Download'. One is empty and one has weird contents that isn't readable by most file file managers. That one is actually my original one.
I can't delete either one, and I can't download programs into 'download' from the stock Browser. (did manage to delete both with Root Explorer, the original remerged, contacts intact, upon a reboot)
So I want to format my SD card partition.
I tried Clockwork partition SD card. and it didn't work.
I tried resetting all user data from within the Android OS and it didn't do anything to the SD card partition either.
I'm looking for the ADB command to do it.
I found a command to do it on the Hero, G2 touch. It's :
First, on your phone, go into Home -> Settings -> SD card & phone storage, then click on "Unmount SD card"
Then, in your shell, do the following.
Code:
adb shell
mkfs.vfat /dev/block//vold/179:1
Looking for a similar command for the Galaxy Nexus. Thanks.
Click to expand...
Click to collapse
sdcard is a virtual card and is located in the data/media folder. You can use something like root explorer and make any necessary changes there and they will be in sdcard.
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.