I'm trying to push the ics tethering fix through adb and it keeps telling me i can't replace the framework-res.apk because its a read only file. could anyone help me with this? Thank you
dgray66 said:
I'm trying to push the ics tethering fix through adb and it keeps telling me i can't replace the framework-res.apk because its a read only file. could anyone help me with this? Thank you
Click to expand...
Click to collapse
You will need root AND busybox for this to work. For some strange reason the stock Android doesn't even have the copy command. Push the file to your sdcard, then in your terminal type the following
"su
mount -w -o remount system /system
cp -f /sdcard/framework-res.apk /system/framework/framework-res.apk
reboot"
Related
i want to create an update.zip i can install via the recovery console.
i have the apk which is
com.lookout.apk
i have created folders system/app
zipped it and signed it but when i try to flash it needs an update .script how do i create an update script to tell the recover console to install the app to system/app
If you have the apk, why not just install it via a file manager (Astro), adb install (adb install <path:\package.apk>), or adb push (adb shell -> mount /system -> exit -> adb push <path:\package.apk> /system/app) in recovery?
Plenty of ways to install without needing a flashable zip if it's just for you.
If you really need a zip, I'd find somebody else's who is doing the same thing and just replace the APKs and resign it.
Just thoughts.
Hi,
I´m kind of in the same situation. I want to install Sim Checker Pro as a system App.
It is currently installed.
The author told me to copy the simchecker15.apk from /data/app/ to the sd card. Then delete the original. Then copy it over to /system/app/ and finally delete the apk on the sdcard.
Code:
adb remount
adb shell cp /data/app/org.ajeje.locservice15.apk /sdcard
adb shell rm /data/app/org.ajeje.locservice15.apk
adb shell cp /sdcard/org.ajeje.locservice15.apk /system/app
adb shell rm /sdcard/org.ajeje.locservice15.apk
Since I´m not able to write to /system unless I mount it in (pauls) recovery mode can anyone tell me how to do this on the Desire exactly.
I get adb working in recovery and can also mount /system but how do I push the files from /data/app/ to sd and from there to /system/app?
Edit: I got it sorted out
it was
Code:
adb shell mount /system
adb shell cp /data/app/org.ajeje.simchecker15.apk /sdcard
adb shell rm /data/app/org.ajeje.simchecker15.apk
adb shell cp /sdcard/org.ajeje.simchecker15.apk /system/app
adb shell rm /sdcard/org.ajeje.lsimchecker15.apk
I just installed the Modaco ROM on my Desire (It is awesome BTW) but i don't like the WaveSecure program and i can't seem to be able to find it in /system/app to remove it!
Is there a way to delete this program off the phone!?
I would like to learn how to do this also
Don't think you can unless you use the online kitchen (I don't like it so removed it from mine)
I believe:
adb remount
adb shell rm /system/app/com.wsandroid.apk
Click to expand...
Click to collapse
Doesn't seem to work mate.
Code:
C:\DevTools\android-sdk-windows\tools>adb remount
remount succeeded
C:\DevTools\android-sdk-windows\tools>adb shell
# rm /system/app/com.wsandroid.apk
rm /system/app/com.wsandroid.apk
rm: can't remove '/system/app/com.wsandroid.apk': Directory not empty
#
plasmafire said:
Doesn't seem to work mate.
Code:
C:\DevTools\android-sdk-windows\tools>adb remount
remount succeeded
C:\DevTools\android-sdk-windows\tools>adb shell
# rm /system/app/com.wsandroid.apk
rm /system/app/com.wsandroid.apk
rm: can't remove '/system/app/com.wsandroid.apk': Directory not empty
#
Click to expand...
Click to collapse
Running as admin?
Same here. Running as admin - nevertheless "Directory not empty"
Edit: solved. Run SUBFS on phone and mounted /system RW. After that tried again in cmd - voila!
Insomnious said:
Same here. Running as admin - nevertheless "Directory not empty"
Edit: solved. Run SUBFS on phone and mounted /system RW. After that tried again in cmd - voila!
Click to expand...
Click to collapse
+1
For noobs like me: It's actually SUFBS, not SUBFS. Google for the apk, install the app, in the menu there's an option "mount /system RW". Activate and then run the adb commands above in a cmd window on your PC. Et voila!
(Just realised this is a Desire thread, this worked for me on my Nexus too)
Hello folks,
I have a Wildfire, running CM7 #36, Jacob's 4.1 Kernel flashed.
Now I wanted to edit the /system/build.prop to get access to further apps (rom manager pro, e.g.).
After remounting system via
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
I wanted to copy/remove or whatever the /system/build.prop, but I only get
# rm /system/build.prop
rm: can't remove '/system/build.prop': Directory not empty
What does this mean? /system/build.prop is surely not a directory (ls -al).
Any help would be appreciated - can't post in the development-forums because of unsufficient number of posts - thanks,
Guntram
Don't remove it...
Pull build.prop using adb, edit and push it back to /system
Sent from my HTC Wildfire using XDA App
Hello Kevin1625,
unfortunately, this gives the same message (which I don't understand anyways?):
Code:
$ adb push build.prop /system
failed to copy 'build.prop' to '/system/build.prop': Directory not empty
Any ideas?
Are you doing this via terminal??
Adb is used on your computer.
Sent from my HTC Wildfire using XDA App
Mount system via recovery.
Open a cmd
cd into your tools folder
adb pull /system/build.prop
Edit it.
adb push build.prop /system/build.prop
adb reboot
I think youre trying to adb shell, there is no need.
Sent from my HTC Wildfire using XDA App
Thanks kevin2516 (what are these numbers for?)!
Seems, that build.prop is somehow blocked, when trying to access it on the running phone.
When I adb push on the mounted /system in recovery, everything seems to work fine.
Except, that I don't get the wanted result (Rom Manager Premium in the market) :-(.
Did you got it running, using SympMarket (which only once gave me >4000 video results - but I'm not able to reproduce ;( )?
If so, do you remember how?
Thanks a lot,
Guntram
thank you so much man! saved my phone after i accidently set PPI to 280 :L
and you should also adb shell chmod 644 /system/build.prop
Device says that system directory can not be accessed when pushing the file
in Terminal emulator I am trying:
su
mount -o rw,remount /system
cp /mnt/sdcard/build.prop /system/
but I get: cp: can't create '/system/build.prop': Out of memory
any help is GREATLY appreciated. Currently build.prop is MISSING in /system/ (i've searched xda and google for the past 2 hours...)
EDIT: I get the same error from adb:
adb remount
adb push build.prop /system/
failed to copy 'build.prop' to '/system//build.prop': Out of memory
side question: what happens when build.prop is missing, and phone reboots...?
try it in recovery
or much simply just reflash the rom..no wipe is necessary.
andQlimax said:
try it in recovery
or much simply just reflash the rom..no wipe is necessary.
Click to expand...
Click to collapse
tnx, will try.
anyone knows what happens if it reboots with empty (or missing) build.prop?
hi everybody
i want to create bach file for move settings.apk to system/app and my adb commands is below :
Code:
adb kill-server
adb start-server
[COLOR="Blue"]adb shell su[/COLOR]
adb shell mount -o remount,rw /system
adb devices
adb root
adb remount
adb push Settings.apk /system/app/
pause
but when i run my bat file in the blue line above ، cycling of coding is stopped !
how to create a bach file to run the above commands respectively ?
If you are on sense lollipop then you also need to specify the settings folder /system/app/ is not enough !
It's in /system/app/Settings/
thank u
but , my android device is KK 4.4.2 and my device is not Htc M8 !!
i want to create a bach file to move settings.apk to /system/apps/ (path is correct) but Unfortunately in the blue line above my commands is stopped !and not going to next line ==> (adb shell mount -o remount,rw /system)
do you know any command to fix this problem ?
gandolf007 said:
thank u
but , my android device is KK 4.4.2 and my device is not Htc M8 !!
i want to create a bach file to move settings.apk to /system/apps/ (path is correct) but Unfortunately in the blue line above my commands is stopped !and not going to next line ==> (adb shell mount -o remount,rw /system)
do you know any command to fix this problem ?
Click to expand...
Click to collapse
Why not push it manually via es file explorer ? And i would suggest to keep your questions in your device specific forum.
gandolf007 said:
my device is not Htc M8 !!
Click to expand...
Click to collapse
Then you should not be posting in this (HTC M8) forum section.