[Q] Vold.fstab cannot pull with adb - Galaxy Tab Q&A, Help & Troubleshooting

sorry,
kind of a dumb question,
I'm trying to pull the vold.fstab file using adb, but no luck
since my P100 table has internal sd card damaged
My tablet is not rooted, have it in stock
does it need to be rooted before I can pull the file?
thanks a lot for the help
dg

to pull (read) should not need root.
adb pull /system/etc/vold.fstab
or
adb pull /etc/vold.fstab
what output did you get?

file not found
thanks for the help

Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Thanks ✟
Moving to Q&A

then it means the file really isn't there?
how about
adb shell
#ls /system/etc
(do you see the file you want)
#ls /etc/
is it there?

searched but no luck
Hi,
this is what I found out
I searched and inside the system dir there is no etc dir
there is an etc dir at the same level as system
I did #ls to etc but no vold.fstab
I only found a recovery.fstab
and a .fstab
so not sure what could be going on?
I think all these file come with the Kernell should I load a new kernel?
thanks
dg

Related

Terminal Emulator Commands Help

Hello all I was wondering if anyone might be able to help me with something. I have Haykuro's Rosie Rom and I moved a couple widgets from system/sd to data/app and it is now showing that I have two of each widget I moved. i basically want to look in data/app and system/sd to see where it's coming from. Can anyone tell me what commands to enter into Terminal Emulator to see in those folders? I googled it and got a bunch of stuff on Linux commands but I could not locate anything specific to what I need to do with the G1.
Thanks for any support anyone can provide.
I believe that it is
ls -l /
Then the destination of the folder
So for sd card it is /sdcard/ etc....
Thank you so much. That helped me look into system. So now my next question for anyone that knows, when I moved the HTC widgets from /system/sd/app_s to /data/app (I am trying to speed up Rosie) it automatically linked it into /system/sd/app. Is there a way to stop the link, just for those .apks so they will in fact go to /data/app.
Hopefully I havent been confusing with that question.

Nothing in system/sd

I have OI file manager and I go into the system/sd folder and i dont see anything. But when i install a new app, i do notice that my ex3 partition available space changes. So it seems that the apps are installing on the ex3, but why dont i see anything in the system/sd folder?
Also, how can i copy files from my sd onto my system/sd folder? Do I have to adb it?
Thanks guys.
I know this is one of my first posts but I have been lurking these forums for a loooong time.
You will not see anything in system/sd unless you have root access. You can either use SU File Browser if you want a GUI for browsing, or just open the terminal and enter
$ su
# cd /system/sd
# ls
I try not to go into detail on anything that can be used for warez, so let me just state that you can either use SU File Browser, or the terminal (with root access) to copy to system/sd. Remember to mount /system as read-write.
snyper2k2 said:
I have OI file manager and I go into the system/sd folder and i dont see anything. But when i install a new app, i do notice that my ex3 partition available space changes. So it seems that the apps are installing on the ex3, but why dont i see anything in the system/sd folder?
Also, how can i copy files from my sd onto my system/sd folder? Do I have to adb it?
Thanks guys.
I know this is one of my first posts but I have been lurking these forums for a loooong time.
Click to expand...
Click to collapse
Get a file manager with root access.
SU File Browser & Terminal
http://forum.xda-developers.com/showthread.php?p=4126161
I really like this one.
Will get that, thanks guys. Appreciate the help.

How to put ringonte (.mp3) into phone memory?

As above. Anyone knows?
bryant_16 said:
As above. Anyone knows?
Click to expand...
Click to collapse
put it in the media>ringtone folder.
bryant_16 said:
As above. Anyone knows?
Click to expand...
Click to collapse
Ok... I'll bite. Ringdroid from the market. Any other answer will take some info.
As in, the ringroid will put the ringtones in the sd card memory not the phone memory, i tried copy paste over but fail.
To place them into the phone memory you will need to either copy them using the terminal or push them through adb.
using adb, place the file(s) in your tools folder
Code:
adb push filename.mp3 /system/media/audio/ringtones
In the terminal, if you place them in the root of your sdcard
Code:
cp /sdcard/filename.mp3 /system/media/audio/ringtones
I am not sure if you need to remount or not to push/copy into the folder or not.
It says read-only file system as the error.
jairomeo said:
To place them into the phone memory you will need to either copy them using the terminal or push them through adb.
using adb, place the file(s) in your tools folder
Code:
adb push filename.mp3 /system/media/audio/ringtones
Click to expand...
Click to collapse
Try:
Code:
adb remount
That should fix the "read only" problem.
i'm not using adb... I'm using the second method which is in the terminal.
Do yourself a favor and go get Root Explorer from the market. It lets you move any file to anywhere.
Move your files to /system/media/audio/ringtones and remember to check to see if the files that are there are .ogg or .mp3. If they are .ogg just rename your files after you move them.
What you mean I have to rename the files after i move them?
What's the exact application name? I tried searching on market but could not find any.
bryant_16 said:
What's the exact application name? I tried searching on market but could not find any.
Click to expand...
Click to collapse
I like SUFBS but ES (or estrong) file explorer is good also. SUFBS cost a buck or 2 but I think it is worth it. Either way your phone needs to be rooted for this. You do have root right?
Yeah, phone is rooted. I tried ES Strong Explorer but cannot work, it says something about permission or something like that..
bryant_16 said:
What you mean I have to rename the files after i move them?
Click to expand...
Click to collapse
I'm not sure if it's a "hero thing" but sometimes the file extensions in the ringtones folder are not .mp3. They are .ogg. If you look into the folder and see .ogg files just change the extension and you'll be all good.
As for the apps. Look for "Root Explorer". I believe there are both free and paid options. The paid one isn't very much $$ so, considering how much easier it makes things, give up the loot and support a dev.
I tried searching under market, but cant find it..
id use terminal with cmds, would be a tad faster and a bit more reliable, in my opinion, but as of searching on your behalf i have found root explorer a paid version and estrongs free version by searching "root" while in the market. estrongs sounds unstable. If your going to pay for a good file explorer get SU file manager&terminal. (and...SAA?ror)
How do I use terminals? I tried but that say permission thingy..
Did you mount the system?
OK dude. If you're rooted I assume you have somebody's recovery. Boot to recovery and go into console (Alt+x). Now do this.
<enter>
mount /system <enter> (maybe mount /system/media if just /system doesn't work)
mount /sdcard <enter>
cp /sdcard/yourfolder/yourringtone.mp3 /system/media/audio/ringtones <enter>
reboot
You should be good to go.
Can I do that in terminal? As in one of the application in my HTC Dream?

Can separate apps be moved between SD and system?

I was wondering something, and couldn't find it through search.
If I run into performance issues with certain apps, can I move just those apps back to the system, or would I have to move all of the apps from the SD back to the system?
johnequickiii said:
I was wondering something, and couldn't find it through search.
If I run into performance issues with certain apps, can I move just those apps back to the system, or would I have to move all of the apps from the SD back to the system?
Click to expand...
Click to collapse
The way a symlink works (apps2sd) you would have to move the whole application folder back.
If you are having performance issues, invest in a class 6 card. Which is supposedly faster than the internal storage.
ok Thanks for the info. ^^
Actually, that depends on what ROM you are running. With DarchDroid 2.6.2, I know for certain (cause I did it this morning) that you can choose where you want an app installed. You go into manage applications, click on the app you want to move, and scroll down a bit. You will come to a box that has info about how much memeory the app is taking up and were it is stored. There is also a button that says "move". Clicking takes the app from were it is (either internal storage, or sd storage) and moves it to the other. I don't know if any other roms have this option.
Is it possible to put an app into the main system app folder? Those apps aren't moved to the SD card.
centran said:
Is it possible to put an app into the main system app folder? Those apps aren't moved to the SD card.
Click to expand...
Click to collapse
Not sure if this answers your question exactly, but you can install apps into your /system/app folder by using adb.
Open a Windows command prompt, navigate to your android-sdk-windows/tools folder, then use the 'adb push' command:
Code:
adb push Filename.apk /system/app
chromiumleaf said:
Not sure if this answers your question exactly, but you can install apps into your /system/app folder by using adb.
Open a Windows command prompt, navigate to your android-sdk-windows/tools folder, then use the 'adb push' command:
Code:
adb push Filename.apk /system/app
Click to expand...
Click to collapse
Keep in mind when you do this, you will have to also uninstall it the same way.
/system/app/ is internal storage
/data/app/ is external storage
you can do a ls in the directory to see where it actually is
the move command would be
Code:
mv /system/app/<name of apk> /system/sd/app/<name of apk>
or
Code:
mv /system/app/<name of apk> /data/app/<name of apk>
as the symlinks should put it to /system/sd/app
nfinitefx45 said:
/system/app/ is internal storage
/data/app/ is external storage
you can do a ls in the directory to see where it actually is
the move command would be
Code:
mv /system/app/<name of apk> /system/sd/app/<name of apk>
or
Code:
mv /system/app/<name of apk> /data/app/<name of apk>
as the symlinks should put it to /system/sd/app
Click to expand...
Click to collapse
If I do that second move command, does that put it on my hard drive in the android-sdk-windows\tools\ folder? Or, does it put it on the sd card? Sorry, I'm a newb.
I want to copy my htclockscreen.apk file to the android-sdk-windows\tools\ folder on my C:\ drive so I can open it up and make changes to the png files that create the slide bar on the lock screen... see my post on creating a custom lock screen under Q & A. Newb restrictions won't let me post the link yet.
Thanks!
mbuchholz said:
If I do that second move command, does that put it on my hard drive in the android-sdk-windows\tools\ folder? Or, does it put it on the sd card? Sorry, I'm a newb.
I want to copy my htclockscreen.apk file to the android-sdk-windows\tools\ folder on my C:\ drive so I can open it up and make changes to the png files that create the slide bar on the lock screen... see my post on creating a custom lock screen under Q & A. Newb restrictions won't let me post the link yet.
Thanks!
Click to expand...
Click to collapse
the command you want is
Code:
adb pull /system/app/HtcLockScreen.apk
that will copy it out of /system/app and put it in your tools folder.
linux is case-sensitive and i don't know the exact capitalization.
thedudejdog said:
the command you want is
Code:
adb pull /system/app/HtcLockScreen.apk
that will copy it out of /system/app and put it in your tools folder.
linux is case-sensitive and i don't know the exact capitalization.
Click to expand...
Click to collapse
Awesome! Thank you for that.
Perhaps you could take a look at my other post and tell me how to replace the .pdf images with new ones and then load it back onto the phone?
mbuchholz said:
Awesome! Thank you for that.
Perhaps you could take a look at my other post and tell me how to replace the .pdf images with new ones and then load it back onto the phone?
Click to expand...
Click to collapse
haha...no sorry i don't know anything about signing apps. but i can pull and push stuff to and from my phone like nobody's business
lol - thanks anyway. Perhaps someone will see and be able to help me out. You at least got me started!
-mb

Lost wifi, can someone post the contents of /persist folder?

Folks: my wifi got broken when I move to Lollipop with my /data partition intact. It looks like its specific to /persist folder. Can someone please ZIP up the contents of the persist folder and post here? I will be very thankful!
You will need to use either root explorer or use 'adb shell'.
devsk said:
Folks: my wifi got broken when I move to Lollipop with my /data partition intact. It looks like its specific to /persist folder. Can someone please ZIP up the contents of the persist folder and post here? I will be very thankful!
You will need to use either root explorer or use 'adb shell'.
Click to expand...
Click to collapse
Here it is: d- h.st/Qrl
(Please remove spaces from link, i am not allowed to post links right now)

Categories

Resources