hi i want to delete Mobidiv and swype keyboard but there is no .apk and .odex name in system/app
any body know where is this file ?
s27moto said:
hi i want to delete Mobidiv and swype keyboard but there is no .apk and .odex name in system/app
any body know where is this file ?
Click to expand...
Click to collapse
Remount /flex partition as r/w using adb. Use these commands in cmd :
Code:
adb shell
Code:
su
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock14 /flex
Now use root explorer and delete the apk's from the /flex/app folder. Then wipe dalvik-cache in CWM Recovery.
rootdefyxt320 said:
Remount /flex partition as r/w using adb. Use these commands in cmd :
Code:
adb shell
Code:
su
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock14 /flex
Now use root explorer and delete the apk's from the /flex/app folder. Then wipe dalvik-cache in CWM Recovery.
Click to expand...
Click to collapse
thanks men it's done :good:
waiting for your Custom ROMS for XT320
rootdefyxt320 said:
Remount /flex partition as r/w using adb. Use these commands in cmd :
Code:
adb shell
Code:
su
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock14 /flex
Now use root explorer and delete the apk's from the /flex/app folder. Then wipe dalvik-cache in CWM Recovery.
Click to expand...
Click to collapse
in this folder only can see apk where is odex file ???
s27moto said:
in this folder only can see apk where is odex file ???
Click to expand...
Click to collapse
/Flex is deodexed. There is no odex file in /fex.
Related
i get an error when try adb push a recovery file to my sdcard and ideas?
Need to give it a file name at the location you're moving it to I believe.
Example: adb push foo.txt /sdcard/foo.txt
ok thanx, how do i delete a file off the phone? when i install a custom recovery and reboot it goes back too stock recovery so i need to delete /system/etc/install-recovery.sh file, but need to know how
corolla90 said:
ok thanx, how do i delete a file off the phone? when i install a custom recovery and reboot it goes back too stock recovery so i need to delete /system/etc/install-recovery.sh file, but need to know how
Click to expand...
Click to collapse
enter this into command prompt or terminal
Code:
adb shell
su
mount -o remount,rw -t yaffs2 /dev/mtdblock3 /system
rm /system/etc/install-recovery.sh
How can I change -r rights into -rw rights for my system. I only have -rw rights for my SD-card now. I want it to for my intern system so I can change some apks
I use AstroFile manager
ARC is rooted, Busybox/Titanium back-up installed en worked well.
Kind regards
Vintiem
Buy root-explorer from market.
Sent from my LT15i using XDA Premium App
I don't have a credit card so Rootexplorer isn't an option unfortunately.
No other way/free app that can give the -rw rights I need?
Kind regards,
Vintiem
The command for setting rw rights to /system is:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock0 /system
I use ADB but if you're not comfortable with command lines you could use a Terminal app on the phone to run the command and then use a file manager for the file operations.
Got -rw rights. Thanks
get ''super manager'' from the market, it works like file explorer but its free.
Vintiem said:
Got -rw rights. Thanks
Click to expand...
Click to collapse
I believe 'adb remount' works as well
Terminal emulator should also be possible, but you've got to have busybox installed than.
mount -o rw,remount -t yaffs2 /dev/block/mtdblock0 /system
Oh, wait, that was mentioned before
get yaffs explorer from the market its free and better then root explorer
Thijs96 said:
I believe 'adb remount' works as well
Click to expand...
Click to collapse
no it does not because the default.prop has not been edited as it is part of the boot.img...
Hello,
Has anyone gotten adb remount to work? I always get
remount failed: operation not permitted
Click to expand...
Click to collapse
I've also tried
Code:
mount -o remount,rw /dev/block/mmcblk0p4 /system
both from adb and in the terminal emulator but I get the same response
Trying to push anything to /system just results in
failed to copy '<file>' to '/system/<path>': Read-only file system
Click to expand...
Click to collapse
Any ideas?
Root?
You are rooted right? and didn't forget to "su" before those shell commands? because the shell command works fine for me, I remount system and changed the fonts
apparently I was just making it more complicated than it needs to be. You don't need to specify the mount point. Just use
mount -o remount,rw /system
I am trying to move the vending.apk into system/app from the command line.
I was going to use ES File manager. However, when I try to do 'root explorer' it fails. I do still believe I have a working root because SU works from the adb shell..
Here is what is driving me crazy, I can't seem to move or copy the file from the adb shell after I root and mount the folder as read/write.
I run these commands to set permissions and mount it read/write.
SU
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
However after running SU it returns 'cp not found' when I try to run cp to copy the file. Example...
# cp /mnt/sdcard/Vending.apk /sytem/appVending.apk
cp: not found
If I try to move it, it returns this error.
# mv /mnt/sdcard/Vending.apk /system/app/Vending.apk
failed on '/mnt/sdcard/Vending.apk' - Cross-device link
Is there something else I need to do to move or copy after running SU?
You would first have to fix the mount command because it's not a yaffs2 filesystem, and it's not /dev/block/mtdblock3. The correct command should be "mount -o remount,rw -t ext4 /dev/block/mmcblk0p9". Then try to copy it over to /system/app.
If it still fails, you can adb push it to /system/app after having mounted the partition in read/write.
i just moved it with explorer myself
Try to rename it from .apk to .jpg and copy it with ES File Manager. If it's successful rename it back to .apk after it's in /system/app.
I am trying to create an overlay folder under /system/vendor so that I can throw a layers apk there to hide the nav bar. I am currently using the build.prop method which doesn't work nicely with the Now on Tap action of Swipe Navigation which is what I am ultimately trying to fix.
I tried using Solid Explorer to simply create the new directory like I did previously in 7.0 and 6.x but was unable to do so (action failed). I decided to try using the terminal and create the folder and move files from there but got the message that the system was read-only. I then attempted to mount system a few different ways all of which failed. I did use su before entering these commands.
Code:
angler:/system/vendor $ mkdir overlay
mkdir: 'overlay': Read-only file system
angler:/system/vendor $ mount -o rw,remount,rw /system
mount: '/dev/block/platform/soc.0/f9824900.sdhci/by-name/system' not user mountable in fstab
angler:/system/vendor $ /system/bin/mount -o rw,remount,rw /system /system
mount: '/system' not in /proc/mounts
angler:/system/vendor $ /system/bin/mount /system
mount: bad /etc/fstab: No such file or directory
Googling around didn't yield much in the way of solutions other than these different methods of mounting system. Am I just unable to mount system as rw in 7.1.1 currently, and if so, is there another way to accomplish what I want?
I'm trying to find thread I read this from, so if I find it I'll post link to it. When I was on early 7 previews that was set up with systemless root I went into twrp and then went to terminal and typed the following, touch su. When your in terminal cd to both bin and xbin and type command "touch su" without quotes. Then reboot and you should be able to use something like es file explorer to get into and write in /system. Hope that helps.
Found it, look to post = 15
http://forum.xda-developers.com/nexus-6p/help/es-file-explorer-doesnt-understand-t3242775
Unfortunately that did not end up working for me, thanks for looking up the link for me though!
On Nougat the rw mount command should be typed like this:
mount -o rw,remount /system
then for touch:
touch sbin/su
Thank you blitz for clarifying.
Hmm... it seems like the mount worked but the touch did not. I ended up using just "touch su" but ran into a different error with mkdir. I think I may just be out of luck for now. Thank you both for your help!
Code:
~ # mount -o rw,remount /system
~ # cd /system/bin
/system/bin # touch sbin/su
touch: sbin/su: No such file or directory
/system/bin # touch su
/system/bin # cd /system/xbin
/system/xbin # touch su
/system/xbin # cd /system/vendor
/vendor # mkdir overlay
mkdir: cannot create directory 'overlay': No space left on device
AbuShabanov said:
Hmm... it seems like the mount worked but the touch did not. I ended up using just "touch su" but ran into a different error with mkdir. I think I may just be out of luck for now. Thank you both for your help!
Code:
~ # mount -o rw,remount /system
~ # cd /system/bin
/system/bin # touch sbin/su
touch: sbin/su: No such file or directory
/system/bin # touch su
/system/bin # cd /system/xbin
/system/xbin # touch su
/system/xbin # cd /system/vendor
/vendor # mkdir overlay
mkdir: cannot create directory 'overlay': No space left on device
Click to expand...
Click to collapse
I'm not sure what you're trying to accomplish but still:
The touch sbin/su means creating an empty file called su in the sbin subdirectory under the current directory. So if there is no subdir named sbin under /system/bin, then it's not going to work
Secondly, you should know about the ls command: ls -la lists the files in the current directory, and remember than in unix and linux terminology, a directory is also a file so you'll also see directories (including current "." and parent "..")
Third, you should know about the df command which shows filesystem disk space usage. df -h will show you how much free space you have an all of your filesystems, including system.
Last, with great power comes great responsibilities. Running the wrong command as root will easily make your system unusable.
I have substratum installed and inside /system/vendor there is a link (again a file) called overlay which links to directory /system/overlay where apks are.
rchtk said:
I'm not sure what you're trying to accomplish
Click to expand...
Click to collapse
I am trying to create an overlay folder under /system/vendor so that I can throw a layers apk there to hide the nav bar.
rchtk said:
I have substratum installed and inside /system/vendor there is a link (again a file) called overlay which links to directory /system/overlay where apks are.
Click to expand...
Click to collapse
Are you on the 7.1.1 (NPF10C)? If so it sounds like you have accomplished what I am trying to do. I'm only familiar with the basic unix commands as I haven't actively used it in about 5 years. Would you mind sharing how to create the link to /system/overlay from /system/vendor, or does Substratum take care of that? Offhand it sounds like a symbolic link but my terminology is pretty rusty.
AbuShabanov said:
I am trying to create an overlay folder under /system/vendor so that I can throw a layers apk there to hide the nav bar.
Are you on the 7.1.1 (NPF10C)? If so it sounds like you have accomplished what I am trying to do. I'm only familiar with the basic unix commands as I haven't actively used it in about 5 years. Would you mind sharing how to create the link to /system/overlay from /system/vendor, or does Substratum take care of that? Offhand it sounds like a symbolic link but my terminology is pretty rusty.
Click to expand...
Click to collapse
Yes 7.1.1.
Substratum created the overlay directory and the link to it.
Manually that would be:
mount -o rw,remount -t auto /vendor
mount -o rw,remount -t auto /system
mkdir /system/overlay
cd /system/vendor
ln -s /system/overlay
mount -o ro,remount -t auto /vendor
mount -o ro,remount -t auto /system
But links do take a very small amount of bytes (roughly name and target) so for that, you'll need some space in your vendor partition (no space left on /vendor). check with "df".
I have 3.8MB free (that's an original vendor + overlay link)
rchtk said:
mount -o rw,remount -t auto /vendor
mount -o rw,remount -t auto /system
mkdir /system/overlay
cd /system/vendor
ln -s /system/overlay
mount -o ro,remount -t auto /vendor
mount -o ro,remount -t auto /system
Click to expand...
Click to collapse
Well, this works and I was able to mount system and vendor, create the link, move the apk file, etc but it appears that the apk itself is not working on NPF10C. Thank you for your help and the refresher on the unix commands!