How to access the internal storage of my Desire - Desire General

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.

Related

[Q] A2SD+ Forcing to system memory

hi im using LeeDrOiD_V2.1a_A2SD , is there any way to force apps to be run from the system memory instead of the sdcard, as far as i can tell it automatically goes to the sdcard?
would prefer to use the system memory for security software such as wavesecure?
thanks
John
Yes to run it from the system partition so it can not be removed the regular way, you just have to move the apk file from /sd-ext/app/ to /system/app/
This can be done using adb commands when in recovery or by applying the s-off hack and use an app like root explorer.
thanks
the apk file was in the folder /system/sd/app
and root explorer let me enable r/w access in it, without enabling s-off
i'm hoping i did it right
:-0
thanks again
John
Well you might be able to do it this way without s-off but it is not actually on the system partition. It depends on what Rom you are using.
But are you able to uninstall it using the settings menu?
it still gives me the option to uninstall yes, but at this point i just wanted to get it running off the phones memory, rather than off the sd card
thanks
John
ok it turns out root explorer didn't copy them over, so i copied them over with adb commands , and wavesecure doesn't show up as uninstallable
ta
John
jcat00uk said:
ok it turns out root explorer didn't copy them over, so i copied them over with adb commands , and wavesecure doesn't show up as uninstallable
ta
John
Click to expand...
Click to collapse
yeah, most of the programs out there (like root explorer) won't throw out an error if they can'y mount it as R/W... because HTC was clever enough to hide that it can't be mounted RW without S-off

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] How to acces phone instead of SD card storage?

Hi guys.
I wonder how I can access the phone storage space through windows explorer, I only seem to be able to get access to the SD card when I plug the usb in?
(running CM7)
I don't think its possible. To access phone storage space use ADB. If you are familiar with linux commands, use ADB and enter ADB shell. From here you can play by all linux rules and by obtaining su, you can pretty much do anything
why don't you try dropbox?
I remember there is kind of root explorer for windows. I can't locate it now but you may do a search for it.
Nietzschean said:
Hi guys.
I wonder how I can access the phone storage space through windows explorer, I only seem to be able to get access to the SD card when I plug the usb in?
(running CM7)
Click to expand...
Click to collapse
I think you can through ADB,
adb shell
su
cd sdcard
ls
now you can see your files in your SDcard...
if I have misunderstanded youe meaning????
I'm a chinese vegetablebird....and my english is very.....
maybe he wants to have the access to the phone memory through usb?
He can now view and edit files on his sdcard.
I can put mp3's on my sd card, I don't know how to store them on my phone
Nietzschean said:
I can put mp3's on my sd card, I don't know how to store them on my phone
Click to expand...
Click to collapse
If your phone is rooted you can copy files from the memory card to the phone's memory with a file explorer which has root privileges (Root Explorer, Yaffs Explorer, etc.). But I think it doesn't make any sense, because if you want to listen to those mp3 songs, your music player doesn't have direct access to phone's memory.
I prefer ADB shell or Terminal Emulator just because it's funner that way but the obviously easier route is to use a file explorer with root privelages. I like to feel like a geek and do it the hard way
I just don't get what the point is of having 1.5gb of storage space on the phone if you can't acces it?
Try droidexplorer , search for it ..
The point of 1.5GB phone storage is for you to install apps from the martket or other side loading apps. Accessing to SDcard for other media contents is more likely logical indeed.
But if you want to put mp3 into your phone internal storage, then this is another not so logic as you can have it in your SDcard with still the phone apps can access it rather easily.
However... if you have a short mp3 ringtones and want them to be in the phone internal storage. This one is considered making sense. Well you can do it by using root explorer to copy/move your mp3 ringtones to your phone internal storage.
Steps required:
1) rooted defy
2) root explorer installed and working properly
3) have your ringtones ready in your SDcard.
4) launch root explorer and make sure you're under read/write full access
5) copy/move your ringtones to system/media/... ringtones,notifications,alarms (depending which of your choice) and give them access right as per the default tones settings.
6) You need to delete internal sound .db in data/data/com.android.provider.media/databases.
7) exit and restart your phone. This restart required for the phone to recreate the database you deleted to the latest updated one according to the intenal storage contents.
8) Check your phone ringtones in settings for the existance of your newly installed ringtones..
Note: And of course you can still access your phone internal storage thru your root explorer app. It's more like it practical than for you to find a PC and get adb shell to gain access to your phone internal storage.

[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.

Categories

Resources