I installed 2.3 to my phone.
The cust.img contain a lot of unneeded apks. (The cust.img is a disk image file.)
How to extract cust.img and delete a file in that?
The cust.img mounted to /cust folder as "read only" by init.rc (init.rc automatically generated on boot)
ufukyayla said:
i installed 2.3 to my phone.
The cust.img contain a lot of unneeded apk.
How to extract cust.img and delete a file in that?
The cust.img mounted to /cust folder as as read only by init.rc (init.rc automatically generated on boot)
Click to expand...
Click to collapse
Is cust.img or cust_data.img? See on /cust_backup/image/cust...
This is cust.img in image folder. (When pink screen mode)
ufukyayla said:
This is cust.img in image folder. (When pink screen mode)
Click to expand...
Click to collapse
I never change or delete anything on that place (when pink screen mode). I make all on /cust_backup/image/recovery.img or /cust... don't remember all.
Is from here that at each restarting or rebooting is loaded the bootloader (pink screen).
I deleted in this place all Carrier data /cust_backup/image/cust... something.
But take care, that /image/ is backed also on ROM Backups. If you delete the /cust... like I made, and if one day you made a ROM Restore made before, the /cust... return to same place. You must delete this after each ROM Restore.
For all restores I have, I made: Rom Restore-> delete /cust... (carrier data) -> new Rom backup.
..................................
EDIT: I made all this because I'm rooted and whit Root Explorer.
I dont want to delete cust.img.
The cust.img is a disk image file.
I want to delete a file in disk image that contained in cust.img.
The cust.img mounted to /cust folder as read only on boot.
i delete all boot files.
I delete all of boot files in this folder.When i open phone i faced blue screen. can someone zip all files in this folder and upload for me. Otherwise i have to send my phone to technical service.
I fixed it.
I deleted all unneeded apks (stock apps) that stored in cust.img
My method;
1. On Slitaz Linux 3.0
2. Open terminal
3. Copy cust.img from phone to /home folder
4. mkdir tmp
5. mount cust.img /home/tmp
6. cd /home/tmp/hw/default/app
7. Delete apk files what you don't want
8. umount tmp
9. Copy cust.img from /home folder to phone
It is for who don't have linux;
http://www.multiupload.com/EKPGJ7EUGO
This is "cleared" cust.img. That contains only these apks;
BeyondTheSkyTheme.apk
Calendar.apk
CalendarProvider.apk
DeskClock.apk
ToolBox.apk
modify init.rc
Code:
mount vfat /dev/block/mmcblk0p1 /.cust_backup ro wait
mount ext3 [email protected]_backup/image/cust.img /cust ro
to
Code:
mount vfat /dev/block/mmcblk0p1 /.cust_backup rw wait
mount ext3 [email protected]_backup/image/cust.img /cust rw
then you could delete any files in cust.img..(/cust in phone)
genokolar said:
modify init.rc
Code:
mount vfat /dev/block/mmcblk0p1 /.cust_backup ro wait
mount ext3 [email protected]_backup/image/cust.img /cust ro
to
Code:
mount vfat /dev/block/mmcblk0p1 /.cust_backup rw wait
mount ext3 [email protected]_backup/image/cust.img /cust rw
then you could delete any files in cust.img..(/cust in phone)
Click to expand...
Click to collapse
The init.rc automatically generating on boot.
Changes lost when you reboot your phone.
The init.rc is in your boot.img, which you could edit with a tool like abootimg, but you'd need Linux to modify that, anyway.
qwerty12 said:
The init.rc is in your boot.img, which you could edit with a tool like abootimg, but you'd need Linux to modify that, anyway.
Click to expand...
Click to collapse
But, it is very hard to do.
abootimg -x boot.img
rename initrd.img to initrd.gz
gunzip initrd.gz
extract initrc using cpio
edit init.rc
recompess
regzip
update bootimg
...
...
etc. etc.
do you know easy way?
ufukyayla said:
But, it is very hard to do.
abootimg -x boot.img
rename initrd.img to initrd.gz
gunzip initrd.gz
extract initrc using cpio
edit init.rc
recompess
regzip
update bootimg
...
...
etc. etc.
do you know easy way?
Click to expand...
Click to collapse
Combine the commands together; create scripts or add aliases to your .bashrc
Do "abootimg -x boot.img && mkdir newramdisk && cd newramdisk && zcat ../initrd.img | cpio -i --no-absolute-filenames" and you're in the folder with the extracted initrd.
When you're done editing, run "find . -print | cpio -o -H newc | gzip -n -9 > ../initrd.img" followed by "cd .. ; abootimg -u boot.img -r initrd.img" and you're done
thanks a lot. i'll try this.
Is there any other way without Linux to remove a .apk from cust.img?
Yes, look at the page 1
I deleted app, but size boot.img has not changed. How to reduce size boot.img?
Moved To General
As the OP contains no development, as such this does not belong here
Hi,
2nd time trying to root but still some message about can't reate, start and failed to copy. Full results below also. I've use the files and methods heree:
http://forum.xda-developers.com/showpost.php?p=48709232&postcount=869
http://forum.xda-developers.com/newreply.php?do=newreply&noquote=1&p=45693809&nocache=1
Mounting system, pushing su binary and installing SuperSu...
2244 KB/s (1085140 bytes in 0.472s)
cp: can't create '/system/xbin/busybox': Read-only file system
failed to copy 'su' to '/system/xbin/daemonsu': Read-only file system
cp: can't stat '/system/xbin/daemonsu': No such file or directory
failed to copy 'install-recovery.sh' to '/system/etc/install-recovery.sh': Read-
only file system
failed to copy 'Superuser.apk' to '/system/app/Superuser.apk': Read-only file sy
stem
Unable to open /system/xbin/su: No such file or directory
Rebooting Phone.
***************************************************
***************************************************
You should hopefully now be fully rooted!!
Wait for your device to reboot and continue
with ioroot script to backup EFS...
***************************************************
***************************************************
/sdcard/modemst1.img: cannot open for write: Read-only file system
/sdcard/modemst2.img: cannot open for write: Read-only file system
remote object '/sdcard/modemst1.img' does not exist
remote object '/sdcard/modemst2.img' does not exist
++++++++++++++++++++++++++++++++++++++++FULL RESULT START+++++++++++++++++++++++++++
======adbd is already running as root
uid=0(root) gid=0(root) context=u:r:shell:s0
If you do NOT see uid=0(root) gid=0(root) above then
it is likely your device firmware is not supported or
USB mode was not toggled properly. You can try to
run the script again.
Press CTRL+c to stop this script...
If you DO see uid=0(root) gid=0(root) mentioned above...
CONGRATS.. Rooted ADB is now confirmed.
You will have a rooted ADB shell but no apps on the
phone will
'be' is not recognized as an internal or external command,
operable program or batch file.
PRESS ENTER to continue with full root.
PLEASE NOTE!
Continuing with full root can trip LG's rootchecker.
This means your phone will show ROOTED in Download mode.
You can remove root flag by flashing stock firmware...
.bin .tot or .kdz
If you do not want to possibly invalidate your warranty
press CTRL+c to stop this script...
*******************************************************
Press any key to continue . . .
Mounting system, pushing su binary and installing SuperSu...
2244 KB/s (1085140 bytes in 0.472s)
cp: can't create '/system/xbin/busybox': Read-only file system
failed to copy 'su' to '/system/xbin/daemonsu': Read-only file system
cp: can't stat '/system/xbin/daemonsu': No such file or directory
failed to copy 'install-recovery.sh' to '/system/etc/install-recovery.sh': Read-
only file system
failed to copy 'Superuser.apk' to '/system/app/Superuser.apk': Read-only file sy
stem
Unable to open /system/xbin/su: No such file or directory
Rebooting Phone.
***************************************************
***************************************************
You should hopefully now be fully rooted!!
Wait for your device to reboot and continue
with ioroot script to backup EFS...
***************************************************
***************************************************
/sdcard/modemst1.img: cannot open for write: Read-only file system
/sdcard/modemst2.img: cannot open for write: Read-only file system
remote object '/sdcard/modemst1.img' does not exist
remote object '/sdcard/modemst2.img' does not exist
***************************************************
***************************************************
EFS partitions now in ioroot folder on computer...
They are named modemst1.img and modemst2.img
They will come in handy in case of an emergency.
Store them somewhere you won't lose them.
IOroot is now complete.
***************************************************
***************************************************
Press any key to continue . . .
++++++++++++++++++++++FULL RESULT END++++++++++++++++++++
Same problem here, no solution yet.
LG G2 root
Hello guys,
is there any solution for this? I have same issue
Thank you
Hi I followed the method here: http://forum.xda-developers.com/showpost.php?p=48709232 and http://forum.xda-developers.com/showthread.php?p=45692679#post45692679
Unfortunately, the automatic rooting is not working, its say something see AUTOROOT MESSAGE BELOW . So I took the manual method but on Step 12:
12: adb shell "sync;mount -o remount,ro /system"
It says mount: Device or resource busy
So what should I do? Thanks
====AUTOROOT MESSAGE =======================================================================
Mounting system, pushing su binary and installing SuperSu...
2244 KB/s (1085140 bytes in 0.472s)
cp: can't create '/system/xbin/busybox': Read-only file system
failed to copy 'su' to '/system/xbin/daemonsu': Read-only file system
cp: can't stat '/system/xbin/daemonsu': No such file or directory
failed to copy 'install-recovery.sh' to '/system/etc/install-recovery.sh': Read-
only file system
failed to copy 'Superuser.apk' to '/system/app/Superuser.apk': Read-only file sy
stem
Unable to open /system/xbin/su: No such file or directory
Rebooting Phone.
***************************************************
***************************************************
You should hopefully now be fully rooted!!
Wait for your device to reboot and continue
with ioroot script to backup EFS...
***************************************************
***************************************************
/sdcard/modemst1.img: cannot open for write: Read-only file system
/sdcard/modemst2.img: cannot open for write: Read-only file system
remote object '/sdcard/modemst1.img' does not exist
remote object '/sdcard/modemst2.img' does not exist
I tried to install Busybox by switching adb to root and then running the install script, but despite the remount working, the install fails with "read only file system".
Code:
[email protected] ~/bulk/downloads/busybox-android-master $ adb root
[email protected] ~/bulk/downloads/busybox-android-master $ ./android-install.sh
remount succeeded
/dev/block/platform/sdhci-tegra.3/by-name/APP /system ext4 rw,seclabel,noatime,data=ordered 0 0
7022 KB/s (1937480 bytes in 0.269s)
8 KB/s (374 bytes in 0.044s)
su
/system/xbin/busybox ash /sdcard/android-remote-install.sh
rm /sdcard/android-remote-install.sh
sync
exit
exit
[email protected]:/ # su
/system/xbin/busybox ash /sdcard/android-remote-install.sh
rm /sdcard/android-remote-install.sh
sync
exit
exit
/system/xbin/busybox ash /sdcard/android-remote-install.sh
rm /sdcard/android-remote-install.sh
sync
exit
exit
[email protected]:/ # /system/xbin/busybox ash /sdcard/android-remote-install.sh
ln: /system/bin/[: Read-only file system
ln: /system/bin/[[: Read-only file system
ln: /system/bin/acpid: Read-only file system
ln: /system/bin/add-shell: Read-only file system
ln: /system/bin/addgroup: Read-only file system
ln: /system/bin/adduser: Read-only file system
ln: /system/bin/adjtimex: Read-only file system
ln: /system/bin/ar: Read-only file system
ln: /system/bin/arp: Read-only file system
ln: /system/bin/arping: Read-only file system
ln: /system/bin/ash: Read-only file system
ln: /system/bin/awk: Read-only file system
ln: /system/bin/base64: Read-only file system
ln: /system/bin/basename: Read-only file system
ln: /system/bin/bash: Read-only file system
ln: /system/bin/beep: Read-only file system
rm: can't remove '/system/bin/blkid': Read-only file system
ln: /system/bin/blkid: File exists
ln: /system/bin/blockdev: Read-only file system
ln: /system/bin/bootchartd: Read-only file system
ln: /system/bin/brctl: Read-only file system
ln: /system/bin/bunzip2: Read-only file system
ln: /system/bin/bzcat: Read-only file system
ln: /system/bin/bzip2: Read-only file system
ln: /system/bin/cal: Read-only file system
rm: can't remove '/system/bin/cat': Read-only file system
ln: /system/bin/cat: File exists
ln: /system/bin/catv: Read-only file system
ln: /system/bin/chat: Read-only file system
ln: /system/bin/chattr: Read-only file system
ln: /system/bin/chgrp: Read-only file system
rm: can't remove '/system/bin/chmod': Read-only file system
ln: /system/bin/chmod: File exists
rm: can't remove '/system/bin/chown': Read-only file system
ln: /system/bin/chown: File exists
ln: /system/bin/chpasswd: Read-only file system
ln: /system/bin/chpst: Read-only file system
ln: /system/bin/chroot: Read-only file system
ln: /system/bin/chrt: Read-only file system
ln: /system/bin/chvt: Read-only file system
ln: /system/bin/cksum: Read-only file system
rm: can't remove '/system/bin/clear': Read-only file system
ln: /system/bin/clear: File exists
rm: can't remove '/system/bin/cmp': Read-only file system
ln: /system/bin/cmp: File exists
ln: /system/bin/comm: Read-only file system
rm: can't remove '/system/bin/cp': Read-only file system
ln: /system/bin/cp: File exists
ln: /system/bin/cpio: Read-only file system
ln: /system/bin/crond: Read-only file system
ln: /system/bin/crontab: Read-only file system
ln: /system/bin/cryptpw: Read-only file system
ln: /system/bin/cttyhack: Read-only file system
ln: /system/bin/cut: Read-only file system
rm: can't remove '/system/bin/date': Read-only file system
ln: /system/bin/date: File exists
ln: /system/bin/dc: Read-only file system
rm: can't remove '/system/bin/dd': Read-only file system
ln: /system/bin/dd: File exists
ln: /system/bin/deallocvt: Read-only file system
ln: /system/bin/delgroup: Read-only file system
ln: /system/bin/deluser: Read-only file system
ln: /system/bin/depmod: Read-only file system
ln: /system/bin/devmem: Read-only file system
rm: can't remove '/system/bin/df': Read-only file system
ln: /system/bin/df: File exists
ln: /system/bin/dhcprelay: Read-only file system
ln: /system/bin/diff: Read-only file system
ln: /system/bin/dirname: Read-only file system
rm: can't remove '/system/bin/dmesg': Read-only file system
ln: /system/bin/dmesg: File exists
ln: /system/bin/dnsd: Read-only file system
ln: /system/bin/dnsdomainname: Read-only file system
ln: /system/bin/dos2unix: Read-only file system
rm: can't remove '/system/bin/du': Read-only file system
ln: /system/bin/du: File exists
ln: /system/bin/dumpkmap: Read-only file system
ln: /system/bin/dumpleases: Read-only file system
ln: /system/bin/echo: Read-only file system
ln: /system/bin/ed: Read-only file system
ln: /system/bin/egrep: Read-only file system
ln: /system/bin/eject: Read-only file system
ln: /system/bin/env: Read-only file system
ln: /system/bin/envdir: Read-only file system
ln: /system/bin/envuidgid: Read-only file system
ln: /system/bin/ether-wake: Read-only file system
ln: /system/bin/expand: Read-only file system
ln: /system/bin/expr: Read-only file system
ln: /system/bin/fakeidentd: Read-only file system
ln: /system/bin/false: Read-only file system
ln: /system/bin/fbset: Read-only file system
ln: /system/bin/fbsplash: Read-only file system
ln: /system/bin/fdflush: Read-only file system
ln: /system/bin/fdformat: Read-only file system
ln: /system/bin/fdisk: Read-only file system
ln: /system/bin/fgconsole: Read-only file system
ln: /system/bin/fgrep: Read-only file system
ln: /system/bin/find: Read-only file system
ln: /system/bin/findfs: Read-only file system
ln: /system/bin/flock: Read-only file system
ln: /system/bin/fold: Read-only file system
ln: /system/bin/free: Read-only file system
ln: /system/bin/freeramdisk: Read-only file system
ln: /system/bin/fsck: Read-only file system
ln: /system/bin/fsck.minix: Read-only file system
ln: /system/bin/fstrim: Read-only file system
ln: /system/bin/fsync: Read-only file system
ln: /system/bin/ftpd: Read-only file system
ln: /system/bin/ftpget: Read-only file system
ln: /system/bin/ftpput: Read-only file system
ln: /system/bin/fuser: Read-only file system
ln: /system/bin/getopt: Read-only file system
ln: /system/bin/getty: Read-only file system
rm: can't remove '/system/bin/grep': Read-only file system
ln: /system/bin/grep: File exists
ln: /system/bin/groups: Read-only file system
ln: /system/bin/gunzip: Read-only file system
rm: can't remove '/system/bin/gzip': Read-only file system
ln: /system/bin/gzip: File exists
ln: /system/bin/halt: Read-only file system
rm: can't remove '/system/bin/hd': Read-only file system
ln: /system/bin/hd: File exists
ln: /system/bin/hdparm: Read-only file system
ln: /system/bin/head: Read-only file system
ln: /system/bin/hexdump: Read-only file system
ln: /system/bin/hostid: Read-only file system
ln: /system/bin/hostname: Read-only file system
ln: /system/bin/httpd: Read-only file system
ln: /system/bin/hwclock: Read-only file system
rm: can't remove '/system/bin/id': Read-only file system
ln: /system/bin/id: File exists
rm: can't remove '/system/bin/ifconfig': Read-only file system
ln: /system/bin/ifconfig: File exists
ln: /system/bin/ifdown: Read-only file system
ln: /system/bin/ifenslave: Read-only file system
ln: /system/bin/ifplugd: Read-only file system
ln: /system/bin/ifup: Read-only file system
ln: /system/bin/inetd: Read-only file system
ln: /system/bin/init: Read-only file system
rm: can't remove '/system/bin/insmod': Read-only file system
ln: /system/bin/insmod: File exists
ln: /system/bin/install: Read-only file system
rm: can't remove '/system/bin/ionice': Read-only file system
ln: /system/bin/ionice: File exists
ln: /system/bin/iostat: Read-only file system
rm: can't remove '/system/bin/ip': Read-only file system
ln: /system/bin/ip: File exists
ln: /system/bin/ipaddr: Read-only file system
ln: /system/bin/ipcalc: Read-only file system
ln: /system/bin/ipcrm: Read-only file system
ln: /system/bin/ipcs: Read-only file system
ln: /system/bin/iplink: Read-only file system
ln: /system/bin/iproute: Read-only file system
ln: /system/bin/iprule: Read-only file system
ln: /system/bin/iptunnel: Read-only file system
ln: /system/bin/kbd_mode: Read-only file system
rm: can't remove '/system/bin/kill': Read-only file system
ln: /system/bin/kill: File exists
ln: /system/bin/killall: Read-only file system
ln: /system/bin/killall5: Read-only file system
ln: /system/bin/klogd: Read-only file system
ln: /system/bin/last: Read-only file system
ln: /system/bin/less: Read-only file system
ln: /system/bin/linux32: Read-only file system
ln: /system/bin/linux64: Read-only file system
ln: /system/bin/linuxrc: Read-only file system
rm: can't remove '/system/bin/ln': Read-only file system
ln: /system/bin/ln: File exists
ln: /system/bin/loadfont: Read-only file system
ln: /system/bin/loadkmap: Read-only file system
ln: /system/bin/logger: Read-only file system
ln: /system/bin/login: Read-only file system
ln: /system/bin/logname: Read-only file system
ln: /system/bin/logread: Read-only file system
ln: /system/bin/losetup: Read-only file system
ln: /system/bin/lpd: Read-only file system
ln: /system/bin/lpq: Read-only file system
ln: /system/bin/lpr: Read-only file system
rm: can't remove '/system/bin/ls': Read-only file system
ln: /system/bin/ls: File exists
ln: /system/bin/lsattr: Read-only file system
rm: can't remove '/system/bin/lsmod': Read-only file system
ln: /system/bin/lsmod: File exists
rm: can't remove '/system/bin/lsof': Read-only file system
ln: /system/bin/lsof: File exists
ln: /system/bin/lspci: Read-only file system
ln: /system/bin/lsusb: Read-only file system
ln: /system/bin/lzcat: Read-only file system
ln: /system/bin/lzma: Read-only file system
ln: /system/bin/lzop: Read-only file system
ln: /system/bin/lzopcat: Read-only file system
ln: /system/bin/makedevs: Read-only file system
ln: /system/bin/makemime: Read-only file system
ln: /system/bin/man: Read-only file system
ln: /system/bin/md5sum: Read-only file system
ln: /system/bin/mdev: Read-only file system
ln: /system/bin/mesg: Read-only file system
ln: /system/bin/microcom: Read-only file system
rm: can't remove '/system/bin/mkdir': Read-only file system
ln: /system/bin/mkdir: File exists
ln: /system/bin/mkdosfs: Read-only file system
ln: /system/bin/mke2fs: Read-only file system
ln: /system/bin/mkfifo: Read-only file system
ln: /system/bin/mkfs.ext2: Read-only file system
ln: /system/bin/mkfs.minix: Read-only file system
ln: /system/bin/mkfs.vfat: Read-only file system
rm: can't remove '/system/bin/mknod': Read-only file system
ln: /system/bin/mknod: File exists
ln: /system/bin/mkpasswd: Read-only file system
rm: can't remove '/system/bin/mkswap': Read-only file system
ln: /system/bin/mkswap: File exists
ln: /system/bin/mktemp: Read-only file system
ln: /system/bin/modinfo: Read-only file system
ln: /system/bin/modprobe: Read-only file system
ln: /system/bin/more: Read-only file system
rm: can't remove '/system/bin/mount': Read-only file system
ln: /system/bin/mount: File exists
ln: /system/bin/mountpoint: Read-only file system
ln: /system/bin/mpstat: Read-only file system
ln: /system/bin/mt: Read-only file system
rm: can't remove '/system/bin/mv': Read-only file system
ln: /system/bin/mv: File exists
ln: /system/bin/nameif: Read-only file system
ln: /system/bin/nbd-client: Read-only file system
ln: /system/bin/nc: Read-only file system
rm: can't remove '/system/bin/netstat': Read-only file system
ln: /system/bin/netstat: File exists
ln: /system/bin/nice: Read-only file system
ln: /system/bin/nmeter: Read-only file system
rm: can't remove '/system/bin/nohup': Read-only file system
ln: /system/bin/nohup: File exists
ln: /system/bin/nslookup: Read-only file system
ln: /system/bin/ntpd: Read-only file system
ln: /system/bin/od: Read-only file system
ln: /system/bin/openvt: Read-only file system
ln: /system/bin/passwd: Read-only file system
ln: /system/bin/patch: Read-only file system
ln: /system/bin/pgrep: Read-only file system
ln: /system/bin/pidof: Read-only file system
rm: can't remove '/system/bin/ping': Read-only file system
ln: /system/bin/ping: File exists
rm: can't remove '/system/bin/ping6': Read-only file system
ln: /system/bin/ping6: File exists
ln: /system/bin/pipe_progress: Read-only file system
ln: /system/bin/pivot_root: Read-only file system
ln: /system/bin/pkill: Read-only file system
ln: /system/bin/pmap: Read-only file system
ln: /system/bin/popmaildir: Read-only file system
ln: /system/bin/poweroff: Read-only file system
ln: /system/bin/powertop: Read-only file system
rm: can't remove '/system/bin/printenv': Read-only file system
ln: /system/bin/printenv: File exists
ln: /system/bin/printf: Read-only file system
rm: can't remove '/system/bin/ps': Read-only file system
ln: /system/bin/ps: File exists
ln: /system/bin/pscan: Read-only file system
ln: /system/bin/pstree: Read-only file system
ln: /system/bin/pwd: Read-only file system
ln: /system/bin/pwdx: Read-only file system
ln: /system/bin/raidautorun: Read-only file system
ln: /system/bin/rdate: Read-only file system
ln: /system/bin/rdev: Read-only file system
ln: /system/bin/readahead: Read-only file system
rm: can't remove '/system/bin/readlink': Read-only file system
ln: /system/bin/readlink: File exists
ln: /system/bin/readprofile: Read-only file system
ln: /system/bin/realpath: Read-only file system
ln: /system/bin/reformime: Read-only file system
ln: /system/bin/remove-shell: Read-only file system
rm: can't remove '/system/bin/renice': Read-only file system
ln: /system/bin/renice: File exists
ln: /system/bin/reset: Read-only file system
ln: /system/bin/resize: Read-only file system
ln: /system/bin/rev: Read-only file system
ln: /system/bin/rfkill: Read-only file system
rm: can't remove '/system/bin/rm': Read-only file system
ln: /system/bin/rm: File exists
rm: can't remove '/system/bin/rmdir': Read-only file system
ln: /system/bin/rmdir: File exists
rm: can't remove '/system/bin/rmmod': Read-only file system
ln: /system/bin/rmmod: File exists
rm: can't remove '/system/bin/route': Read-only file system
ln: /system/bin/route: File exists
ln: /system/bin/rpm: Read-only file system
ln: /system/bin/rpm2cpio: Read-only file system
ln: /system/bin/rtcwake: Read-only file system
ln: /system/bin/run-parts: Read-only file system
ln: /system/bin/runlevel: Read-only file system
ln: /system/bin/runsv: Read-only file system
ln: /system/bin/runsvdir: Read-only file system
ln: /system/bin/rx: Read-only file system
ln: /system/bin/script: Read-only file system
ln: /system/bin/scriptreplay: Read-only file system
ln: /system/bin/sed: Read-only file system
ln: /system/bin/sendmail: Read-only file system
ln: /system/bin/seq: Read-only file system
ln: /system/bin/setarch: Read-only file system
ln: /system/bin/setconsole: Read-only file system
ln: /system/bin/setfont: Read-only file system
ln: /system/bin/setkeycodes: Read-only file system
ln: /system/bin/setlogcons: Read-only file system
ln: /system/bin/setserial: Read-only file system
ln: /system/bin/setsid: Read-only file system
ln: /system/bin/setuidgid: Read-only file system
rm: can't remove '/system/bin/sh': Read-only file system
ln: /system/bin/sh: File exists
ln: /system/bin/sha1sum: Read-only file system
ln: /system/bin/sha256sum: Read-only file system
ln: /system/bin/sha3sum: Read-only file system
ln: /system/bin/sha512sum: Read-only file system
ln: /system/bin/showkey: Read-only file system
ln: /system/bin/slattach: Read-only file system
rm: can't remove '/system/bin/sleep': Read-only file system
ln: /system/bin/sleep: File exists
ln: /system/bin/smemcap: Read-only file system
ln: /system/bin/softlimit: Read-only file system
ln: /system/bin/sort: Read-only file system
ln: /system/bin/split: Read-only file system
ln: /system/bin/start-stop-daemon: Read-only file system
ln: /system/bin/stat: Read-only file system
ln: /system/bin/strings: Read-only file system
ln: /system/bin/stty: Read-only file system
ln: /system/bin/sulogin: Read-only file system
ln: /system/bin/sum: Read-only file system
ln: /system/bin/sv: Read-only file system
ln: /system/bin/svlogd: Read-only file system
rm: can't remove '/system/bin/swapoff': Read-only file system
ln: /system/bin/swapoff: File exists
rm: can't remove '/system/bin/swapon': Read-only file system
ln: /system/bin/swapon: File exists
ln: /system/bin/switch_root: Read-only file system
rm: can't remove '/system/bin/sync': Read-only file system
ln: /system/bin/sync: File exists
ln: /system/bin/sysctl: Read-only file system
ln: /system/bin/syslogd: Read-only file system
ln: /system/bin/tac: Read-only file system
ln: /system/bin/tail: Read-only file system
ln: /system/bin/tar: Read-only file system
ln: /system/bin/tcpsvd: Read-only file system
ln: /system/bin/tee: Read-only file system
ln: /system/bin/telnet: Read-only file system
ln: /system/bin/telnetd: Read-only file system
ln: /system/bin/test: Read-only file system
ln: /system/bin/tftp: Read-only file system
ln: /system/bin/tftpd: Read-only file system
ln: /system/bin/time: Read-only file system
ln: /system/bin/timeout: Read-only file system
rm: can't remove '/system/bin/top': Read-only file system
ln: /system/bin/top: File exists
rm: can't remove '/system/bin/touch': Read-only file system
ln: /system/bin/touch: File exists
ln: /system/bin/tr: Read-only file system
ln: /system/bin/traceroute: Read-only file system
ln: /system/bin/traceroute6: Read-only file system
ln: /system/bin/true: Read-only file system
ln: /system/bin/tty: Read-only file system
ln: /system/bin/ttysize: Read-only file system
ln: /system/bin/tunctl: Read-only file system
ln: /system/bin/tune2fs: Read-only file system
ln: /system/bin/udhcpc: Read-only file system
ln: /system/bin/udhcpd: Read-only file system
ln: /system/bin/udpsvd: Read-only file system
rm: can't remove '/system/bin/umount': Read-only file system
ln: /system/bin/umount: File exists
ln: /system/bin/uname: Read-only file system
ln: /system/bin/uncompress: Read-only file system
ln: /system/bin/unexpand: Read-only file system
ln: /system/bin/uniq: Read-only file system
ln: /system/bin/unix2dos: Read-only file system
ln: /system/bin/unlzma: Read-only file system
ln: /system/bin/unlzop: Read-only file system
ln: /system/bin/unxz: Read-only file system
ln: /system/bin/unzip: Read-only file system
rm: can't remove '/system/bin/uptime': Read-only file system
ln: /system/bin/uptime: File exists
ln: /system/bin/users: Read-only file system
ln: /system/bin/usleep: Read-only file system
ln: /system/bin/uudecode: Read-only file system
ln: /system/bin/uuencode: Read-only file system
ln: /system/bin/vconfig: Read-only file system
ln: /system/bin/vi: Read-only file system
ln: /system/bin/vlock: Read-only file system
ln: /system/bin/volname: Read-only file system
ln: /system/bin/wall: Read-only file system
ln: /system/bin/watch: Read-only file system
ln: /system/bin/watchdog: Read-only file system
ln: /system/bin/wc: Read-only file system
ln: /system/bin/wget: Read-only file system
ln: /system/bin/which: Read-only file system
ln: /system/bin/who: Read-only file system
ln: /system/bin/whoami: Read-only file system
ln: /system/bin/whois: Read-only file system
ln: /system/bin/xargs: Read-only file system
ln: /system/bin/xz: Read-only file system
ln: /system/bin/xzcat: Read-only file system
ln: /system/bin/yes: Read-only file system
ln: /system/bin/zcat: Read-only file system
ln: /system/bin/zcip: Read-only file system
1|[email protected]:/ # rm /sdcard/android-remote-install.sh
[email protected]:/ # sync
[email protected]:/ # exit
[email protected]:/ # exit
Newbie question... How do you install busybox on the device? It doesn't show up in the play store. I'm on the stock rom.
EDIT: had to cross-compile from source on a linux box.
You should be able to sideload Busybox if you can get it on another Android device.
I'm using sideloaded BusyBox On Rails app. You can remove the app after Busybox is installed.
Hello guys, Here I bring a guide for setting up stock dump folder, which could be used to extract propietary from stock firmware.
**IMPORTANT!! THIS GUIDE IS TARGET TO MAPLE WHICH DOESN'T HAVE SEPARATE VENDOR PARTITION
For XZ1/XZ1C and all newer phones which comes with Android 8+ need to unsin, mount & copy vendor at same time.
OK, let's start
1.Download the latest stock firmware by using [TOOL] XperiFirm ~ Xperia Firmware Downloader [v5.4.0]
2. UnSin System and Kernel sin files from stock firmware.
Code:
./path/to/unsin /path/to/Kernel*.sin
./path/to/unsin /path/to/System*sin
Then you will get Kernel image and System ext4 file. In case your UnSin doesn't have execute permission, run chmod +x /path/to/unsin
3.Unpack the Kernel image by using AIK Android Image Kitchen
/path/to/AIK-Linux/unpackimg.sh /path/to/kernel*.img
You will get a ramdisk folder for your stock dump, which would be the root of your dump folder.
4.Change the ramdisk folder owner to yourself
chown -R $USER:$USER ramdisk
5, Mount the System image on somewhere, (e.g. /mnt/system) and change its owner to yourself
Code:
sudo mkdir /mnt/system
sudo mount -o loop /path/to/system*.ext4 /mnt/system/
sudo chown -R $USER:$USER /mnt/system
6, Copy system to your ramdisk folder
cp -r /mnt/system/* /path/to/ramdisk/system/
Then you are ready to extract vendor from stock now, just run the extract script in your device tree and you're all done:
/path/to/extract-files.sh /path/to/ramdisk
ENJOY!!!
Give me like if it helped to you