I need to change the stock audio.primary.exynos4.so from /system/lib/hw folder with a modified version, obviously on rooted device and after the user authorize it.
I don't know really how to get the root permission and proceed with the copy (probably using adb shell).
Someone can help me?
Thank you in advance,
Giuseppe
adb remount
Greets!
uniprof said:
I need to change the stock audio.primary.exynos4.so from /system/lib/hw folder with a modified version, obviously on rooted device and after the user authorize it.
I don't know really how to get the root permission and proceed with the copy (probably using adb shell).
Someone can help me?
Thank you in advance,
Giuseppe
Click to expand...
Click to collapse
adb remount
adb push <PATH_TO_MODIFIED_exynos> /system/lib/hw/audio.primary.exynos4
Greets!
Hi mDroidd,
I need to do it from app runtime, and I am using roottools to get the access.
My problem is that I don't know the commands to use to copy the files.
Thank you
Related
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
Hello I was recently trying to push the framework-res.apk (the UAString one) by sangreal06 and after replacing the framework-res.apk (used root explorer) I shut my Xoom off. When I turned it back on it was stuck at the Dual Core Technology image. I found out my computer still recognized the Xoom and adb commands work. I am trying to push through adb the original framework-res.apk to see if that works but, the file system is read only. How do you make the file system read/write? Any help would be appreciated.
TLDR: How do you make the file system read/write?
adb remount
Sparticuz said:
adb remount
Click to expand...
Click to collapse
Feel a little stupid now but thx! Worked perfectly.
Alright so here's my problem: After rooting my phone, I started to play around with a couple of camera apps from different ROMs such as MIUI. Me being an idiot though, deleted the stock Blur camera Apk. Using a system dump of the Atrix, 2 I tried to reinstall it, by placing it in system/app. For some reason. It wouldn't install (show up on my app directory). Anybody have any idea as to why this is happening? Any help would be greatly appreciated, because I really need a camera app.that's supports 1080p video. Thanks in advance!!!
farshad525hou said:
Alright so here's my problem: After rooting my phone, I started to play around with a couple of camera apps from different ROMs such as MIUI. Me being an idiot though, deleted the stock Blur camera Apk. Using a system dump of the Atrix, 2 I tried to reinstall it, by placing it in system/app. For some reason. It wouldn't install (show up on my app directory). Anybody have any idea as to why this is happening? Any help would be greatly appreciated, because I really need a camera app.that's supports 1080p video. Thanks in advance!!!
Click to expand...
Click to collapse
Push the sick app via adb. I read somewhere that with apps such as root explorer it doesn't work for some reason. Hope this helps.
Sent from my MB865 using Tapatalk
Yes, always use adb to push system apps. Root Explorer will not work.
Sent from my mAtrix2!!
For some reason i get permission denied whenever i try to push through adb. How do i get around this?
farshad525hou said:
For some reason i get permission denied whenever i try to push through adb. How do i get around this?
Click to expand...
Click to collapse
To copy anything to /system/app, you need root access.
This will be a 2 step process.
1) push the file from your computer to your phone in a directory that the shell has access to, i.e. /data/local for instance.
2) adb shell into the phone and su, remount /system as rw, then cp the file from /data/local/ to /system/bin
That should elimiate the issue with permission denied, with adb push.
jimbridgman said:
To copy anything to /system/app, you need root access, have you rooted the phone?
If you have rooted the phone, this will be a 2 step process.
1) push the file from your computer to your phone in a directory that the shell has access to, i.e. /data/local for instance.
2) adb shell into the phone and su, remount /system as rw, then cp the file from /data/local/ to /system/bin
That should elimiate the issue with permission denied, with adb push.
Click to expand...
Click to collapse
Yes my phone is rooted. How do I remount /system as rw? Then how do i cp the file? Thanks for your help!
I figured out how to push the file with adb, but the app still does not show up. Any other ideas?
farshad525hou said:
Yes my phone is rooted. How do I remount /system as rw? Then how do i cp the file? Thanks for your help!
Click to expand...
Click to collapse
Ok, run EVERYTHING between Code:, and End code from the command line. Just make sure you are in the directory you saved your backup camera.apk to, from your windows command prompt, before you run the commands below.
Code:
adb push BlurCamera.apk /data/local
adb shell
su
mount -o remount, rw /system
cd /data/local
cp BlurCamera.apk /system/app
chown root /system/app/BlurCamera.apk
chgrp root /system/app/BlurCamera.apk
chmod 644 /system/app/BlurCamera.apk
mount -o remount, ro /system
exit
exit
End code
That should hopefully fix it.
jimbridgman said:
Ok, run EVERYTHING between Code:, and End code from the command line. Just make sure you are in the directory you saved your backup camera.apk to, from your windows command prompt, before you run the commands below.
Code:
adb push BlurCamera.apk /data/local
adb shell
su
mount -o remount, rw /system
cd /data/local
cp BlurCamera.apk /system/app
chown root /system/app/BlurCamera.apk
chgrp root /system/app/BlurCamera.apk
chmod 644 /system/app/BlurCamera.apk
mount -o remount, ro /system
exit
exit
End code
That should hopefully fix it.
Click to expand...
Click to collapse
Sadly this didn't work either. I don't know what I'm doing wrong. Btw, thanks for your help so far!
Quick question....is the blurcamera.odex file still in the system/app. If you have deleted it also you will have to replace it as well.
JRW 28 said:
Quick question....is the blurcamera.odex file still in the system/app. If you have deleted it also you will have to replace it as well.
Click to expand...
Click to collapse
I could only find a deodexed system dump
Here ya go, zip has both camera.apk and odex. Try using file explorer again and make sure it is r/w . Hope it helps
http://db.tt/v0FQKpKr
JRW 28 said:
Here ya go, zip has both camera.apk and odex. Try using file explorer again and make sure it is r/w . Hope it helps
http://db.tt/v0FQKpKr
Click to expand...
Click to collapse
Thanks for the files! But once again sadly the file doesn't appear under my app drawer. I tried using adb and root explorer, with no luck. Is there anything I'm missing? Btw, JRW are those files from the atrix 2?
There both straight off of my phone...that's weird cause I have removed both of them trying out various cameras and never had a problem reinstalling them?
Are you rebooting afterwards?
JRW 28 said:
There both straight off of my phone...that's weird cause I have removed both of them trying out various cameras and never had a problem reinstalling them?
Are you rebooting afterwards?
Click to expand...
Click to collapse
Yeah I am. Can you walk me through what you do when you re install the apps? I am really confused. Is there anything that might be interfering?
Go into file explorer and make sure your system folder is r/w along with both the blurcamera.apk and blurcamera.odex.... then drop both of them into system/app and reboot. Wouldn't think anything else would be interfering?
JRW 28 said:
Go into file explorer and make sure your system folder is r/w along with both the blurcamera.apk and blurcamera.odex.... then drop both of them into system/app and reboot. Wouldn't think anything else would be interfering?
Click to expand...
Click to collapse
How do I make sure that BlurCamera.apk and BlurCamera.odex are both r/w?
Im not sure if it really matters on them but long pressing on either of them in file explorer should bring up the permissions and you can change from there. Do the same on your system folder just to double check that the permissions are correct
JRW 28 said:
Im not sure if it really matters on them but long pressing on either of them in file explorer should bring up the permissions and you can change from there. Do the same on your system folder just to double check that the permissions are correct
Click to expand...
Click to collapse
Yeah still no luck... no idea whats wrong
Try pushing them with ADB .....usually that will take care of it
I am trying to get Chrome to come up in desktop mode permanently on my non-rooted Xperia Tablet Z. Multiple sources tell me that on an un-rooted device I need to use ADB to copy a file containing the line:
chrome --user-agent="Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/22.0.1207.1 Safari/537.1"
to the /data/local directory.
So I dropped that line into a file (called chrome-command-line) on the root of my c: drive and run ADB like so:
c:\Android-SDK\sdk\platform-tools>adb push /chrome-command-line /data/local/chrome-command-line
It immediately fails with the following message:
failed to copy '/chrome-command-line' to '/data/local/chrome-command-line': Permission denied
Any idea how I can perform this ADB copy operation without rooting?
Thanks! (bump)
Bump
Anyone, anyone, Bueller?
maypo said:
Anyone, anyone, Bueller?
Click to expand...
Click to collapse
anyone??? i need answer to this too!!
@maypo @doggmeister
You're getting the Permission Denied error because, very simply, you're not rooted. ADB can't access the /data/local directory without root, and will therefore give an error instead.
I don't know who told you that you can ADB push files to that directory without root, but they are mistaken.
NOOK!E said:
@maypo @doggmeister
You're getting the Permission Denied error because, very simply, you're not rooted. ADB can't access the /data/local directory without root, and will therefore give an error instead.
I don't know who told you that you can ADB push files to that directory without root, but they are mistaken.
Click to expand...
Click to collapse
Several guides online mentions it as a way to get permanent desktop mode in chrome on a non-rooted phone. And I just thinks its bloody mindnumbingly stupid why WE as the users can't decide what a browser should identify as....
Hello, I want to set a custom boot animation, but do not see bootanimation.zip in /system/media, instead I found it in /product/media, can i just place my new bootanimation.zip here and change the permissions? Or is there more I need to do?
Thanks, Ethan.
(PS. Running OP9 rooted with magisk.)
Ethanadams642 said:
Hello, I want to set a custom boot animation, but do not see bootanimation.zip in /system/media, instead I found it in /product/media, can i just place my new bootanimation.zip here and change the permissions? Or is there more I need to do?
Thanks, Ethan.
(PS. Running OP9 rooted with magisk.)
Click to expand...
Click to collapse
Do you have root?
If so, backup the bootanimation.zip and shutdownanimation.zip, either manually with a root explorer capable file manager, or using adb:
Code:
adb devices
adb pull /System/product/media/bootanimation.zip /Path/To?Save/bootanimation.zip
adb pull /System/product/media/shutdownanimation.zip /Path/To/Save/shutdownanimation.zip
Then you can replace the original files with the animations you'd like, I'm sure a quick search of the forums will yield plenty of results. Once you have the replacements, be sure they are named bootanimation.zip and shutdownanimation.zip respectively, and either copy and replace with a root explorer capable file manager or using adb:
Apache config:
adb devices
adb push /Path/To/bootanimation.zip /System/product/media/bootanimation.zip
adb push /Path/To/shutdownanimation.zip /System/product/media/bootanimation.zip
Good luck!
IJoxer said:
Do you have root?
If so, backup the bootanimation.zip and shutdownanimation.zip, either manually with a root explorer capable file manager, or using adb:
Code:
adb devices
adb pull /System/product/media/bootanimation.zip /Path/To?Save/bootanimation.zip
adb pull /System/product/media/shutdownanimation.zip /Path/To/Save/shutdownanimation.zip
Then you can replace the original files with the animations you'd like, I'm sure a quick search of the forums will yield plenty of results. Once you have the replacements, be sure they are named bootanimation.zip and shutdownanimation.zip respectively, and either copy and replace with a root explorer capable file manager or using adb:
Apache config:
adb devices
adb push /Path/To/bootanimation.zip /System/product/media/bootanimation.zip
adb push /Path/To/shutdownanimation.zip /System/product/media/bootanimation.zip
Good luck!
Click to expand...
Click to collapse
I have root, so I’ll just backup and replace the files, thank you for your help!
Ethanadams642 said:
I have root, so I’ll just backup and replace the files, thank you for your help!
Click to expand...
Click to collapse
Sure thing!