Hello,
after I did a remount I of my filesystem I may have used a wrong command and not all files path are correctly set again.
Can anybody share a screenshot of the root folder or compare it with mine?
Thanks!
twinkybot said:
Hello,
after I did a remount I of my filesystem I may have used a wrong command and not all files path are correctly set again.
Can anybody share a screenshot of the root folder or compare it with mine?
Thanks!
Click to expand...
Click to collapse
here
Thanks!
Cheers.
Related
I'm currently trying to browse through the files on the G1 and I go into astro and go into the data folder and there should be a hidden folder called app-private right under that folder but I cant see it, is there a special command I should be putting into a terminal emulator or something to see the hidden folders?
Any help is greatly appreciated.
Edit: Forgot to mention that I should have the root access, I did follow all steps in rooting the g1 so that I'd be able to put themes on it.
I dont thing you can see the content of data/app and data/app-private using astro, you can see it once you back it up to your sd
I don't think Astro can do it. You can browse normally via the terminal as root using ls.
derfolo said:
I don't think Astro can do it. You can browse normally via the terminal as root using ls.
Click to expand...
Click to collapse
I'm not familiar with any of the commands so would you be able to tell me which commands to use to browse through folders and copy documents or point me in the dirrection of where to look for those commands?
mappydamouse said:
I'm not familiar with any of the commands so would you be able to tell me which commands to use to browse through folders and copy documents or point me in the dirrection of where to look for those commands?
Click to expand...
Click to collapse
search for linux commands:
ls -l /data
is a good place to start .. but if you're not familiar with the commands i would recommend becoming familiar with file structures first .. you can "ls -l" anything you want
ls -l /data/app
ls -l /data/app-private
just for starters .. other commands are there .. most of what works on linux will work on the G1 .. JF has provided busybox commands as well which further simplify the Terminal
Ok thank you for the help I was using cd and ls to move through and look at files but as I'm more familiar with windows commands and not at all with linux anymore I couldn't figure out the copy and paste commands.
mappydamouse said:
Ok thank you for the help I was using cd and ls to move through and look at files but as I'm more familiar with windows commands and not at all with linux anymore I couldn't figure out the copy and paste commands.
Click to expand...
Click to collapse
in that case .. if you ARE familiar with the file structure and C:\> then try this:
http://www.yolinux.com/TUTORIALS/unix_for_dos_users.html
LucidREM said:
in that case .. if you ARE familiar with the file structure and C:\> then try this:
http://www.yolinux.com/TUTORIALS/unix_for_dos_users.html
Click to expand...
Click to collapse
Sweetness, this helps out a hell of alot, thank you very much.
Dear all members,
I have tried many file explorers like Astro & EStrong but there is no way I can copy file to the phone system directory.
I understand that I will need to modify the permission so that I can copy file to the file system but how do I do that?
I really appreciate your kind advice, thanks.
A possible workaround if it is a contact list is that you on your computer could try to import the phone directory to Google Contacts and sync it over to your phone.
Ludolf71 said:
A possible workaround if it is a contact list is that you on your computer could try to import the phone directory to Google Contacts and sync it over to your phone.
Click to expand...
Click to collapse
Brother, thanks for your reply.
I was trying to copy the modified version of the YouTube.apk to the phone directory but I cannot do it so checking anyone know to get around it?
chongbh said:
Dear all members,
I have tried many file explorers like Astro & EStrong but there is no way I can copy file to the phone system directory.
I understand that I will need to modify the permission so that I can copy file to the file system but how do I do that?
I really appreciate your kind advice, thanks.
Click to expand...
Click to collapse
Root explorer
No need to move it manually I guess. Mount your SD-card, transfer the file to your phone and download Apps Installer or similar to install the application. If that don't work, you can move files with adb.
thor2002ro said:
you need adb....
and do this...
Code:
adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
adb push YouTube.apk /sdcard/YouTube.apk
adb shell dd if=/sdcard/YouTube.apk of=/system/app/YouTube.apk
adb shell rm /sdcard/YouTube.apk
adb shell reboot
Click to expand...
Click to collapse
From the other thread you asked in - forum.xda-developers.com
Ludolf71 said:
No need to move it manually I guess. Mount your SD-card, transfer the file to your phone and download Apps Installer or similar to install the application. If that don't work, you can move files with adb.
Click to expand...
Click to collapse
Hi, I try to find adb in the marketplace but cannot find.
Any kind advice from fellow members, thanks.
chongbh said:
Hi, I try to find adb in the marketplace but cannot find.
Any kind advice from fellow members, thanks.
Click to expand...
Click to collapse
I am saying this again in this thread. Root Explorer
also adb is not a application you can download from market. You have to download the android sdk and set up environmental variables.
Is your dev Rooted???
you will need android SDK and follow the directions given above by XperiaX10iUser
to know more about SDK and to download SDK go here
Anybody know how to change the destination folder when installing the modified apk?
wileout said:
Anybody know how to change the destination folder when installing the modified apk?
Click to expand...
Click to collapse
What do you mean exactly?
Are you installing using a flashable zip or the application?
A flashable zip is the easiest way so you can edit the installer script to place it in whatever directory you wish.
I never use the apk tools themselves for installing.
You can also boot to recovery and mount system.
Then from terminal, EX:
Code:
adb push MyCoolMod.apk /system/app
Let me know if that helps, or if you need more info, or are deadset on using that app to install and we can go from there.
santod040 said:
What do you mean exactly?
Are you installing using a flashable zip or the application?
A flashable zip is the easiest way so you can edit the installer script to place it in whatever directory you wish.
I never use the apk tools themselves for installing.
You can also boot to recovery and mount system.
Then from terminal, EX:
Code:
adb push MyCoolMod.apk /system/app
Let me know if that helps, or if you need more info, or are deadset on using that app to install and we can go from there.
Click to expand...
Click to collapse
I was trying to use the tool to push iy becaude i cant get adb to push it at all...but the tool keeps trying to push it to data/app or something like that and i need it to go to system/priv-app
ok tried adb pushing it again and no go even doing it with your command. any ideas?
wileout said:
ok tried adb pushing it again and no go even doing it with your command. any ideas?
Click to expand...
Click to collapse
My bad, forgot a slash, try it again.
Code:
adb push MyCoolMod.apk /system/priv-app/
santod040 said:
My bad, forgot a slash, try it again.
Code:
adb push MyCoolMod.apk /system/priv-app/
Click to expand...
Click to collapse
I did that man it just restarts adb like i put in a bad command or it says cannot stat blah blah blah file or directory not found
Ive had tigerstown tryin to help me out too and he has no idea whats going on
well got adb to push it but I lost my clock widget all together lol
wileout said:
well got adb to push it but I lost my clock widget all together lol
Click to expand...
Click to collapse
Using stock data cable? Had that be a problem on other devices when pushing files.
Sent from my HTC6525LVW using Tapatalk
wileout said:
well got adb to push it but I lost my clock widget all together lol
Click to expand...
Click to collapse
You need to do:
adb remount /system rw
adb push test.apk /system/priv-app
jsaxon2 said:
You need to do:
adb remount /system rw
adb push test.apk /system/priv-app
Click to expand...
Click to collapse
Do i replace test with the name of the file?
wileout said:
Do i replace test with the name of the file?
Click to expand...
Click to collapse
Yes sir.
You also need to have the file in your adb directory and start the command prompt from there.
There are other ways to do it, but this should work for you.
jsaxon2 said:
Yes sir.
You also need to have the file in your adb directory and start the command prompt from there.
There are other ways to do it, but this should work for you.
Click to expand...
Click to collapse
I got the widget back by going into the priv-app folder and clicking it and installing it but now it force closes so im assuming its something on my end with how it was signed and stuff
wileout said:
I got the widget back by going into the priv-app folder and clicking it and installing it but now it force closes so im assuming its something on my end with how it was signed and stuff
Click to expand...
Click to collapse
After you push to the /system/priv-app folder, did you reboot? That should have installed it for you. Might also be a permissions problem. Make sure the permissions on your file are the same as the permissions on the rest of the files in that folder.
jsaxon2 said:
After you push to the /system/priv-app folder, did you reboot? That should have installed it for you. Might also be a permissions problem. Make sure the permissions on your file are the same as the permissions on the rest of the files in that folder.
Click to expand...
Click to collapse
Ok ill try that...thanks for your help ill report back
jsaxon2 said:
After you push to the /system/priv-app folder, did you reboot? That should have installed it for you. Might also be a permissions problem. Make sure the permissions on your file are the same as the permissions on the rest of the files in that folder.
Click to expand...
Click to collapse
Tried that and im still getting force closes so its something on my end im assuming
Hey folks, Jared here. Just working on a video for the XDA YouTube channel.
I'm trying to figure out how to adb push and pull files to the micro sd card on the S7.
/sdcard/ only sends the file to the internal, not external.
Any thoughts on what the correct path would be?
Needing help on this asap...I'll give you a shout out in the video if you have the correct answer!
Cheers,
Jared
TheSmokingAndroid said:
Hey folks, Jared here. Just working on a video for the XDA YouTube channel.
I'm trying to figure out how to adb push and pull files to the micro sd card on the S7.
Jared
Click to expand...
Click to collapse
Just tested pushing a file to my S7 sdcard with this command and it worked for me just fine adb push C:\SamsungS5\Contacts.vcf /sdcard/ the SamsungS5 is my old phones folder on my PC
ag4751 said:
Just tested pushing a file to my S7 sdcard with this command and it worked for me just fine adb push C:\SamsungS5\Contacts.vcf /sdcard/ the SamsungS5 is my old phones folder on my PC
Click to expand...
Click to collapse
Thanks man. Unfortunately, the S6 and S7 both use UFS 2.0. Since then, I believe samsung has changed how external storage is accessed by the user and device.
I tried your command, just incase, but it didn't work =(
TheSmokingAndroid said:
Thanks man. Unfortunately, the S6 and S7 both use UFS 2.0. Since then, I believe samsung has changed how external storage is accessed by the user and device.
I tried your command, just incase, but it didn't work =(
Click to expand...
Click to collapse
Don't know if you have sorted this out yet but now I have a little more time I have looked into this.
The sdcard on the system is showing as an identifier of numbers and letters under the system storage I don't know if they are all the same, probably not mine is storage/7E53-1B03
I used the command below to push a png called Version.png to this location and it appears to work properly, the png appeared on the external sdcard not the system storage
You can find the sdcard identifier using a file explorer like Root Explorer, ES File Explorer
From ES File Explorer tap Menu>Device>storage then you should see a folder identified by numbers and letters tap it to check that it shows exactly what is actually on your sdcard, if it does this is the sdcard path
From Root Explorer tap Menu>Home>Storage then look for the folder identified as numbers and letters as mentioned above
To push a file to the sdcard use adb push (folder location > files name and type) then /storage/ (folder identified exactly as it is as it is case sensative) /
Command tested were these
Command done from a different folder to where the file is located on the computer folder location and file name adb push C:\SamsungS7\Version.png /storage/7E53-1B03/
Command done from within the folder the file was located in on the computer adb push Version.png /storage/7E53-1B03/
Attached a a couple of screen clips, hope this works for you
Genius! Makes perfect sense.
I've already done the video, but I'm glad this was solved for future purposes and other people looking for the answer.
Thanks!
I need to know the right settings on my files.
Forgot to check what read and write the files have
So if someone can check in the "root" directory and then the "system" folder and "watermark" folder "wm" folder and what read and write permissions the zip files have
zimmen said:
I need to know the right settings on my files.
Forgot to check what read and write the files have
So if someone can check in the "root" directory and then the "system" folder and "watermark" folder "wm" folder and what read and write permissions the zip files have
Click to expand...
Click to collapse
It'll be 0644
agraceful said:
It'll be 0644
Click to expand...
Click to collapse
Super thnx!