Unpacking and repacking .cpio - Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A

I can unpack the ramdisk-recovery.cpio with the ubuntu's archive manager.
But how to repack them ??
Plz help me guys
Sent from my Xperia Mini using xda app-developers app

Try this:
Code:
find . | cpio -o -H newc | gzip > ../newramdisk.cpio.gz

I don't want to pack it as cpio.gz
Only .cpio
Sent from my Xperia Mini using xda app-developers app

Got it
Make the .cpio.gz using above command
And then gzip -d ramdisk.cpio.gz
Mods place close the thread
Sent from my Xperia Mini using xda app-developers app

What can I do if I'm getting this error? :crying:
Code:
cpio: /data: Cannot mkdir: Permission denied
cpio: /default.prop: Cannot open: Permission denied
cpio: /dev: Cannot change mode to rwxr-xr-x: Operation not permitted
cpio: /init: Cannot open: Permission denied
cpio: /init.cm.rc: Cannot open: Permission denied
cpio: /init.goldfish.rc: Cannot open: Permission denied
cpio: /init.huawei.rc: Cannot open: Permission denied
cpio: /init.huawei.usb.rc: Cannot open: Permission denied
cpio: /init.qcom.sh: Cannot open: Permission denied
cpio: /init.rc: Cannot open: Permission denied
cpio: /init.trace.rc: Cannot open: Permission denied
cpio: /init.usb.rc: Cannot open: Permission denied
cpio: /proc: Cannot change mode to rwxr-xr-x: Operation not permitted
cpio: /sbin: Cannot change mode to rwxr-x---: Operation not permitted
cpio: /sbin/adbd: Cannot open: Permission denied
cpio: ../init: Cannot symlink to `/sbin/ueventd': Permission denied
cpio: ../init: Cannot symlink to `/sbin/watchdogd': Permission denied
cpio: /sys: Cannot change mode to rwxr-xr-x: Operation not permitted
cpio: /system: Cannot mkdir: Permission denied
cpio: /ueventd.goldfish.rc: Cannot open: Permission denied
cpio: /ueventd.huawei.rc: Cannot open: Permission denied
cpio: /ueventd.rc: Cannot open: Permission denied

Mlopik said:
What can I do if I'm getting this error? :crying:
Code:
cpio: /data: Cannot mkdir: Permission denied
cpio: /default.prop: Cannot open: Permission denied
cpio: /dev: Cannot change mode to rwxr-xr-x: Operation not permitted
cpio: /init: Cannot open: Permission denied
cpio: /init.cm.rc: Cannot open: Permission denied
cpio: /init.goldfish.rc: Cannot open: Permission denied
cpio: /init.huawei.rc: Cannot open: Permission denied
cpio: /init.huawei.usb.rc: Cannot open: Permission denied
cpio: /init.qcom.sh: Cannot open: Permission denied
cpio: /init.rc: Cannot open: Permission denied
cpio: /init.trace.rc: Cannot open: Permission denied
cpio: /init.usb.rc: Cannot open: Permission denied
cpio: /proc: Cannot change mode to rwxr-xr-x: Operation not permitted
cpio: /sbin: Cannot change mode to rwxr-x---: Operation not permitted
cpio: /sbin/adbd: Cannot open: Permission denied
cpio: ../init: Cannot symlink to `/sbin/ueventd': Permission denied
cpio: ../init: Cannot symlink to `/sbin/watchdogd': Permission denied
cpio: /sys: Cannot change mode to rwxr-xr-x: Operation not permitted
cpio: /system: Cannot mkdir: Permission denied
cpio: /ueventd.goldfish.rc: Cannot open: Permission denied
cpio: /ueventd.huawei.rc: Cannot open: Permission denied
cpio: /ueventd.rc: Cannot open: Permission denied
Click to expand...
Click to collapse
You need to do this on a filesystem that supports symlinks (eg: FAT32 won't work, but NTFS and ext2/3/4 are okay)
---------- Post added at 11:04 AM ---------- Previous post was at 11:01 AM ----------
singh_dd93 said:
I don't want to pack it as cpio.gz
Only .cpio
Sent from my Xperia Mini using xda app-developers app
Click to expand...
Click to collapse
Just do
Code:
find . | cpio -o > ramdisk.cpio

You need to do this on a filesystem that supports symlinks (eg: FAT32 won't work, but NTFS and ext2/3/4 are okay)
Click to expand...
Click to collapse
A really good point! I was stuck for a day and you let me go, man!

Related

[Q] Will Photon AIO root work with US cellular electrify?

Tried the AIO root for the electrify on us celluar. got this:
* daemon not running. starting it now *
* daemon started successfully *
Getting temp root
RE-boot-en
Hackin Things
cannot create /data/local.prop: permission denied
cannot create /data/local.prop: permission denied
cannot create /data/local.prop: permission denied
cannot create /data/local.prop: permission denied
cannot create /data/local.prop: permission denied
cannot create /data/local.prop: permission denied
cannot create /data/local.prop: permission denied
cannot create /data/local.prop: permission denied
cannot create /data/local.prop: permission denied
cannot create /data/local.prop: permission denied
deleting all yo ****
remount failed: Operation not permitted
77 KB/s (4292 bytes in 0.054s)
Copying files onto phone...
failed to copy 'su' to '/system/xbin/su': Read-only file system
failed to copy 'Superuser.apk' to '/system/app/Superuser.apk': Read-only file sy
stem
failed to copy 'busybox' to '/system/xbin/busybox': Read-only file system
failed to copy 'remount' to '/system/xbin/remount': Read-only file system
Setting permissions...
Unable to chmod /system/xbin/busybox: No such file or directory
Unable to chmod /system/xbin/remount: No such file or directory
Unable to chmod /system/xbin/su: No such file or directory
Unable to chmod /system/xbin/su: No such file or directory
link failed Read-only file system
Installing busybox...
/system/xbin/busybox: not found
Cleaning up files...
"You should have root!"
Press any key to continue . . .
Any suggestions?
Thanks in advance
There are problems with the AIO for Electrify running 2.3.5. The "Photon Torpedo" method should work, though. (If you're comfortable with ADB shell, I would recommend using that instead of a terminal emulator on your phone.)
Wow just a newb. that looks pretty complex. May need to wait it out unless someone else can suggest something more my cup of tea.
thank you for you response. I may end up trying it.
Regards,
CTB

[QUESTION] Rooting a read-only device.

Hello Guys!
This is my first post on the forum, I will try to make myself as clear as possible. I have got a LG Optimus L5 (known as Swift L5), which I am trying to root. But there is a problem. I have been doing a bit of research, and I have found out that the Optiums L series are read only (the internal storage). And because they are read-only, I cant push the files onto the device, in other words I cant root the device! This is really freaking me out a bit. I hope You guys can help me solve my problem. Best regards
Please help guys
Again the problem was not looking for specific device forum.
However, here's your answer
http://forum.xda-developers.com/showthread.php?t=2098550
Hi!
Thanks for replying to my thread. I have already followed that tutorial, and all I get is a message: failed to copy blablabla device is read-only.
petergood said:
Hi!
Thanks for replying to my thread. I have already followed that tutorial, and all I get is a message: failed to copy blablabla device is read-only.
Click to expand...
Click to collapse
Ok. I read the tutorial and there is no file to be pushed in /system partition. What are you basically trying to do?
Sent from my GT-S5830i using xda app-developers app
Well, basicly I wan`t to root my phone
petergood said:
Well, basicly I wan`t to root my phone
Click to expand...
Click to collapse
You aren't understanding me. I didn't see ANYTHING in guide that was to be pushed in any partition that returns with read only error.
I was asking that what you were trying to push when you got that error. I know that you're trying to root. Tell me what I need to know to solve your problem
I suggest you to read the guide again thoroughly and then tell me WHERE you are getting error.
I get the error, when I start root.bat:
Code:
DON'T TOUCH THE DEVICE OR UNPLUG WHILE ROOTING!
PUSH FILES
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
failed to copy 'busybox' to '/data/local/busybox': Permission denied
failed to copy 'su' to '/data/local/su': Permission denied
failed to copy 'Superuser.apk' to '/data/local/Superuser.apk': Permission denied
Unable to chmod /data/local/busybox: No such file or directory
Unable to chmod /data/local/su: No such file or directory
Unable to chmod /data/local/Superuser.apk: No such file or directory
failed on '/data/local/tmp' - Permission denied
link failed File exists
mount: Operation not permitted
mount: Operation not permitted
/system/bin/sh: can't create /system/xbin/busybox: Read-only file system
Unable to chmod /system/xbin/busybox: No such file or directory
/system/bin/sh: /system/xbin/busybox: not found
/system/bin/sh: busybox: not found
/system/bin/sh: busybox: not found
Unable to chown /system/xbin/su: No such file or directory
Unable to chmod /system/xbin/su: No such file or directory
Unable to chmod /system/app/Superuser.apk: No such file or directory
rm failed for /data/local.prop, No such file or directory
rm failed for /data/local/tmp, Permission denied
failed on '/data/local/tmp.bak' - No such file or directory
You will notice, that I get Read-only file system and permission denied errors, as well as No such file or directory. Does that mean, that my rooting package is corrupt?
petergood said:
I get the error, when I start root.bat:
Code:
DON'T TOUCH THE DEVICE OR UNPLUG WHILE ROOTING!
PUSH FILES
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
failed to copy 'busybox' to '/data/local/busybox': Permission denied
failed to copy 'su' to '/data/local/su': Permission denied
failed to copy 'Superuser.apk' to '/data/local/Superuser.apk': Permission denied
Unable to chmod /data/local/busybox: No such file or directory
Unable to chmod /data/local/su: No such file or directory
Unable to chmod /data/local/Superuser.apk: No such file or directory
failed on '/data/local/tmp' - Permission denied
link failed File exists
mount: Operation not permitted
mount: Operation not permitted
/system/bin/sh: can't create /system/xbin/busybox: Read-only file system
Unable to chmod /system/xbin/busybox: No such file or directory
/system/bin/sh: /system/xbin/busybox: not found
/system/bin/sh: busybox: not found
/system/bin/sh: busybox: not found
Unable to chown /system/xbin/su: No such file or directory
Unable to chmod /system/xbin/su: No such file or directory
Unable to chmod /system/app/Superuser.apk: No such file or directory
rm failed for /data/local.prop, No such file or directory
rm failed for /data/local/tmp, Permission denied
failed on '/data/local/tmp.bak' - No such file or directory
You will notice, that I get Read-only file system and permission denied errors, as well as No such file or directory. Does that mean, that my rooting package is corrupt?
Click to expand...
Click to collapse
My best bet would be to post in the thread I gave you. They know more than me about your device
Sent from my GT-S5830i using xda app-developers app

[Guide][Xperia P]Unpack/Pack xperia P kernel.elf

Hello all,
I wanted to edit bootlogo of my Xperia P. So I searched and found This Guide.
But my xperia P refused to boot with the new kernel. So I searched more and finally succeded.
So I thought of sharing this here if any one need this again.
Note: None of these tools are my creation, I just collected and packed them together.
Note: this will only work in linux.
Steps:
1. download and extract the attachment in a folder.
2. Put kernel.elf in the same folder.
3. Now run 1_extract.sh to extract the kernel and ramdisk
4. You'll find ramdisk Contents in ramdisk_content folder
5. You may follow This guide and tool to edit logo.rle
6. Now run 2_repack.sh to repack ramdisk and kernel. You'll get new_kernel.elf in the same folder.
7. If you have fastboot set up, you may run flash.sh to flash the kernel in your phone.
8. That's all.
I've tested this under ubuntu 13.04 x86. Please let me know if this works or not for you.
Thank you.
Credits:
1. Atarii for the original Guide
2. CNexus for redirecting me to elftool and for repack_ramdisk script
3. srl3gx for elftool
4. championswimmer for this useful tip
I think you sent the message to the wrong person
Enviado do meu GT-I9505 utilizando Tapatalk 4
chumbawamba said:
I think you sent the message to the wrong person
Enviado do meu GT-I9505 utilizando Tapatalk 4
Click to expand...
Click to collapse
sorry I don't understand what you meant.
can you make the same tool for xperia u
tks
sharonliu said:
can you make the same tool for xperia u
tks
Click to expand...
Click to collapse
I didn't make any of the tools.
If xperia U kernels are also in .elf format, then it should work as well. (open the zip file and see if there's an kernel.elf file.)
Seems I did something wrong?
I followed the instructions in this post using Crunchbang Linux on a virtual machine and I got the new .elf file (I was editing the bootsplash)
When I flash it, the phone doesn't boot.
I noticed that my RLE file was much larger at 112kB compared to the original one of size 7kB.
Is there a size limit? I also noticed that there was some output from the terminal during the unpack that looks like errors.
Code:
[email protected]:/media/sf_VBox-Shared/rle_editor# ./1_extract.sh
Unpacking elf file.....
Found 3 parts in elf image
Writing header....
Done...
flag : 0
offset : 4096
size : 5399496
kernel found at offset 4096 with size 5399496
flag : 2147483648
offset : 5403592
size : 4772735
ramdisk found at offset 5403592 with size 4772735
flag : 536870912
offset : 10176327
size : 332
cmdline found at offset 10176327 with size 332
mkdir: cannot create directory `ramdisk_content': File exists
cpio: /res/autoroot/busybox: Cannot symlink to `res/autoroot/sh': Read-only file system
cpio: busybox: Cannot symlink to `sbin/ash': Read-only file system
cpio: busybox: Cannot symlink to `sbin/awk': Read-only file system
cpio: busybox: Cannot symlink to `sbin/basename': Read-only file system
cpio: busybox: Cannot symlink to `sbin/bbconfig': Read-only file system
cpio: busybox: Cannot symlink to `sbin/blkid': Read-only file system
cpio: busybox: Cannot symlink to `sbin/bunzip2': Read-only file system
cpio: recovery: Cannot symlink to `sbin/busybox': Read-only file system
cpio: busybox: Cannot symlink to `sbin/bzcat': Read-only file system
cpio: busybox: Cannot symlink to `sbin/bzip2': Read-only file system
cpio: busybox: Cannot symlink to `sbin/cal': Read-only file system
cpio: busybox: Cannot symlink to `sbin/cat': Read-only file system
cpio: busybox: Cannot symlink to `sbin/catv': Read-only file system
cpio: busybox: Cannot symlink to `sbin/chattr': Read-only file system
cpio: busybox: Cannot symlink to `sbin/chgrp': Read-only file system
cpio: busybox: Cannot symlink to `sbin/chmod': Read-only file system
cpio: busybox: Cannot symlink to `sbin/chown': Read-only file system
cpio: busybox: Cannot symlink to `sbin/chroot': Read-only file system
cpio: busybox: Cannot symlink to `sbin/cksum': Read-only file system
cpio: busybox: Cannot symlink to `sbin/clear': Read-only file system
cpio: busybox: Cannot symlink to `sbin/cmp': Read-only file system
cpio: busybox: Cannot symlink to `sbin/cp': Read-only file system
cpio: busybox: Cannot symlink to `sbin/cpio': Read-only file system
cpio: busybox: Cannot symlink to `sbin/cut': Read-only file system
cpio: busybox: Cannot symlink to `sbin/date': Read-only file system
cpio: busybox: Cannot symlink to `sbin/dc': Read-only file system
cpio: busybox: Cannot symlink to `sbin/dd': Read-only file system
cpio: recovery: Cannot symlink to `sbin/dedupe': Read-only file system
cpio: busybox: Cannot symlink to `sbin/depmod': Read-only file system
cpio: busybox: Cannot symlink to `sbin/devmem': Read-only file system
cpio: busybox: Cannot symlink to `sbin/df': Read-only file system
cpio: busybox: Cannot symlink to `sbin/diff': Read-only file system
cpio: busybox: Cannot symlink to `sbin/dirname': Read-only file system
cpio: busybox: Cannot symlink to `sbin/dmesg': Read-only file system
cpio: busybox: Cannot symlink to `sbin/dos2unix': Read-only file system
cpio: busybox: Cannot symlink to `sbin/du': Read-only file system
cpio: recovery: Cannot symlink to `sbin/dump_image': Read-only file system
cpio: busybox: Cannot symlink to `sbin/echo': Read-only file system
cpio: recovery: Cannot symlink to `sbin/edify': Read-only file system
cpio: busybox: Cannot symlink to `sbin/egrep': Read-only file system
cpio: busybox: Cannot symlink to `sbin/env': Read-only file system
cpio: recovery: Cannot symlink to `sbin/erase_image': Read-only file system
cpio: busybox: Cannot symlink to `sbin/expand': Read-only file system
cpio: busybox: Cannot symlink to `sbin/expr': Read-only file system
cpio: busybox: Cannot symlink to `sbin/false': Read-only file system
cpio: busybox: Cannot symlink to `sbin/fdisk': Read-only file system
cpio: busybox: Cannot symlink to `sbin/fgrep': Read-only file system
cpio: busybox: Cannot symlink to `sbin/find': Read-only file system
cpio: recovery: Cannot symlink to `sbin/flash_image': Read-only file system
cpio: busybox: Cannot symlink to `sbin/fold': Read-only file system
cpio: busybox: Cannot symlink to `sbin/free': Read-only file system
cpio: busybox: Cannot symlink to `sbin/freeramdisk': Read-only file system
cpio: busybox: Cannot symlink to `sbin/fuser': Read-only file system
cpio: busybox: Cannot symlink to `sbin/getopt': Read-only file system
cpio: /system/bin/grabramdump: Cannot symlink to `sbin/grabramdump': Read-only file system
cpio: busybox: Cannot symlink to `sbin/grep': Read-only file system
cpio: busybox: Cannot symlink to `sbin/groups': Read-only file system
cpio: busybox: Cannot symlink to `sbin/gunzip': Read-only file system
cpio: busybox: Cannot symlink to `sbin/gzip': Read-only file system
cpio: busybox: Cannot symlink to `sbin/head': Read-only file system
cpio: busybox: Cannot symlink to `sbin/hexdump': Read-only file system
cpio: busybox: Cannot symlink to `sbin/id': Read-only file system
cpio: busybox: Cannot symlink to `sbin/insmod': Read-only file system
cpio: busybox: Cannot symlink to `sbin/install': Read-only file system
cpio: busybox: Cannot symlink to `sbin/kill': Read-only file system
cpio: busybox: Cannot symlink to `sbin/killall': Read-only file system
cpio: busybox: Cannot symlink to `sbin/killall5': Read-only file system
cpio: busybox: Cannot symlink to `sbin/length': Read-only file system
cpio: busybox: Cannot symlink to `sbin/less': Read-only file system
cpio: busybox: Cannot symlink to `sbin/ln': Read-only file system
cpio: busybox: Cannot symlink to `sbin/losetup': Read-only file system
cpio: busybox: Cannot symlink to `sbin/ls': Read-only file system
cpio: busybox: Cannot symlink to `sbin/lsattr': Read-only file system
cpio: busybox: Cannot symlink to `sbin/lsmod': Read-only file system
cpio: busybox: Cannot symlink to `sbin/lspci': Read-only file system
cpio: busybox: Cannot symlink to `sbin/lsusb': Read-only file system
cpio: busybox: Cannot symlink to `sbin/lzcat': Read-only file system
cpio: busybox: Cannot symlink to `sbin/lzop': Read-only file system
cpio: busybox: Cannot symlink to `sbin/lzopcat': Read-only file system
cpio: busybox: Cannot symlink to `sbin/makedevs': Read-only file system
cpio: busybox: Cannot symlink to `sbin/md5sum': Read-only file system
cpio: recovery: Cannot symlink to `sbin/minizip': Read-only file system
cpio: busybox: Cannot symlink to `sbin/mkdir': Read-only file system
cpio: busybox: Cannot symlink to `sbin/mkfifo': Read-only file system
cpio: busybox: Cannot symlink to `sbin/mkfs.ext2': Read-only file system
cpio: busybox: Cannot symlink to `sbin/mknod': Read-only file system
cpio: busybox: Cannot symlink to `sbin/mkswap': Read-only file system
cpio: busybox: Cannot symlink to `sbin/mktemp': Read-only file system
cpio: recovery: Cannot symlink to `sbin/mkyaffs2image': Read-only file system
cpio: busybox: Cannot symlink to `sbin/modinfo': Read-only file system
cpio: busybox: Cannot symlink to `sbin/modprobe': Read-only file system
cpio: busybox: Cannot symlink to `sbin/more': Read-only file system
cpio: busybox: Cannot symlink to `sbin/mount': Read-only file system
cpio: busybox: Cannot symlink to `sbin/mountpoint': Read-only file system
cpio: busybox: Cannot symlink to `sbin/mv': Read-only file system
cpio: busybox: Cannot symlink to `sbin/nanddump': Read-only file system
cpio: recovery: Cannot symlink to `sbin/nandroid': Read-only file system
cpio: busybox: Cannot symlink to `sbin/nandwrite': Read-only file system
cpio: busybox: Cannot symlink to `sbin/nice': Read-only file system
cpio: busybox: Cannot symlink to `sbin/nohup': Read-only file system
cpio: busybox: Cannot symlink to `sbin/od': Read-only file system
cpio: busybox: Cannot symlink to `sbin/patch': Read-only file system
cpio: busybox: Cannot symlink to `sbin/pgrep': Read-only file system
cpio: busybox: Cannot symlink to `sbin/pidof': Read-only file system
cpio: busybox: Cannot symlink to `sbin/pkill': Read-only file system
cpio: busybox: Cannot symlink to `sbin/printenv': Read-only file system
cpio: busybox: Cannot symlink to `sbin/printf': Read-only file system
cpio: busybox: Cannot symlink to `sbin/ps': Read-only file system
cpio: busybox: Cannot symlink to `sbin/pstree': Read-only file system
cpio: busybox: Cannot symlink to `sbin/pwd': Read-only file system
cpio: busybox: Cannot symlink to `sbin/rdev': Read-only file system
cpio: busybox: Cannot symlink to `sbin/readlink': Read-only file system
cpio: busybox: Cannot symlink to `sbin/realpath': Read-only file system
cpio: recovery: Cannot symlink to `sbin/reboot': Read-only file system
cpio: busybox: Cannot symlink to `sbin/renice': Read-only file system
cpio: busybox: Cannot symlink to `sbin/reset': Read-only file system
cpio: busybox: Cannot symlink to `sbin/resize': Read-only file system
cpio: busybox: Cannot symlink to `sbin/rev': Read-only file system
cpio: busybox: Cannot symlink to `sbin/rm': Read-only file system
cpio: busybox: Cannot symlink to `sbin/rmdir': Read-only file system
cpio: busybox: Cannot symlink to `sbin/rmmod': Read-only file system
cpio: busybox: Cannot symlink to `sbin/run-parts': Read-only file system
cpio: busybox: Cannot symlink to `sbin/sed': Read-only file system
cpio: busybox: Cannot symlink to `sbin/seq': Read-only file system
cpio: busybox: Cannot symlink to `sbin/setconsole': Read-only file system
cpio: recovery: Cannot symlink to `sbin/setprop': Read-only file system
cpio: busybox: Cannot symlink to `sbin/setserial': Read-only file system
cpio: busybox: Cannot symlink to `sbin/setsid': Read-only file system
cpio: busybox: Cannot symlink to `sbin/sh': Read-only file system
cpio: busybox: Cannot symlink to `sbin/sha1sum': Read-only file system
cpio: busybox: Cannot symlink to `sbin/sha256sum': Read-only file system
cpio: busybox: Cannot symlink to `sbin/sha512sum': Read-only file system
cpio: busybox: Cannot symlink to `sbin/sleep': Read-only file system
cpio: busybox: Cannot symlink to `sbin/sort': Read-only file system
cpio: busybox: Cannot symlink to `sbin/split': Read-only file system
cpio: busybox: Cannot symlink to `sbin/stat': Read-only file system
cpio: busybox: Cannot symlink to `sbin/strings': Read-only file system
cpio: busybox: Cannot symlink to `sbin/stty': Read-only file system
cpio: busybox: Cannot symlink to `sbin/swapoff': Read-only file system
cpio: busybox: Cannot symlink to `sbin/swapon': Read-only file system
cpio: busybox: Cannot symlink to `sbin/sync': Read-only file system
cpio: busybox: Cannot symlink to `sbin/sysctl': Read-only file system
cpio: busybox: Cannot symlink to `sbin/tac': Read-only file system
cpio: busybox: Cannot symlink to `sbin/tail': Read-only file system
cpio: busybox: Cannot symlink to `sbin/tar': Read-only file system
cpio: busybox: Cannot symlink to `sbin/tee': Read-only file system
cpio: busybox: Cannot symlink to `sbin/test': Read-only file system
cpio: busybox: Cannot symlink to `sbin/time': Read-only file system
cpio: busybox: Cannot symlink to `sbin/top': Read-only file system
cpio: busybox: Cannot symlink to `sbin/touch': Read-only file system
cpio: busybox: Cannot symlink to `sbin/tr': Read-only file system
cpio: busybox: Cannot symlink to `sbin/true': Read-only file system
cpio: busybox: Cannot symlink to `sbin/ttysize': Read-only file system
cpio: ../init: Cannot symlink to `sbin/ueventd': Read-only file system
cpio: busybox: Cannot symlink to `sbin/umount': Read-only file system
cpio: busybox: Cannot symlink to `sbin/uname': Read-only file system
cpio: busybox: Cannot symlink to `sbin/unexpand': Read-only file system
cpio: busybox: Cannot symlink to `sbin/uniq': Read-only file system
cpio: busybox: Cannot symlink to `sbin/unix2dos': Read-only file system
cpio: busybox: Cannot symlink to `sbin/unlzma': Read-only file system
cpio: busybox: Cannot symlink to `sbin/unlzop': Read-only file system
cpio: busybox: Cannot symlink to `sbin/unxz': Read-only file system
cpio: recovery: Cannot symlink to `sbin/unyaffs': Read-only file system
cpio: busybox: Cannot symlink to `sbin/unzip': Read-only file system
cpio: busybox: Cannot symlink to `sbin/uptime': Read-only file system
cpio: busybox: Cannot symlink to `sbin/usleep': Read-only file system
cpio: busybox: Cannot symlink to `sbin/uudecode': Read-only file system
cpio: busybox: Cannot symlink to `sbin/uuencode': Read-only file system
cpio: recovery: Cannot symlink to `sbin/volume': Read-only file system
cpio: busybox: Cannot symlink to `sbin/watch': Read-only file system
cpio: busybox: Cannot symlink to `sbin/wc': Read-only file system
cpio: busybox: Cannot symlink to `sbin/which': Read-only file system
cpio: busybox: Cannot symlink to `sbin/whoami': Read-only file system
cpio: busybox: Cannot symlink to `sbin/xargs': Read-only file system
cpio: busybox: Cannot symlink to `sbin/xzcat': Read-only file system
cpio: busybox: Cannot symlink to `sbin/yes': Read-only file system
cpio: busybox: Cannot symlink to `sbin/zcat': Read-only file system
16566 blocks
[email protected]:/media/sf_VBox-Shared/rle_editor#
I'm new to linux so I'm not quite sure what that means. But could that be why?

[Q] permission problem on 6 files in extract-files.sh

Running extract-files.sh to get proprietary files. All is good apart from the following files
failed to copy '/system/etc/firmware/wcnss.b00' to '../../../vendor/Samsung/express/proprietary/wcnss.b00': Permission denied
failed to copy '/system/etc/firmware/wcnss.b01' to '../../../vendor/Samsung/express/proprietary/wcnss.b01': Permission denied
failed to copy '/system/etc/firmware/wcnss.b02' to '../../../vendor/Samsung/express/proprietary/wcnss.b02': Permission denied
failed to copy '/system/etc/firmware/wcnss.b04' to '../../../vendor/Samsung/express/proprietary/wcnss.b04': Permission denied
failed to copy '/system/etc/firmware/wcnss.b05' to '../../../vendor/Samsung/express/proprietary/wcnss.b05': Permission denied
failed to copy '/system/etc/firmware/wcnss.mdt' to '../../../vendor/Samsung/express/proprietary/wcnss.mdt': Permission denied
Tried running the script as root - no difference. Using Rom Lite Toolbox and the Root Browser they are listed as rwxrwxrwx 0777
Tried running CHMOD -R 777 across the directory and an individual file. Get told it is a read only.
Any ideas?
Bazzan

Unable to delete old TWRP backup as root

Hi
Code:
[email protected]_mecdug:/storage/emulated/0/TWRP # ls -las
total 12
-rw-rw---- root sdcard_rw 956 2017-12-30 14:59 .twrps
drwxrwx--x root sdcard_rw 2017-12-28 16:17 2015-04-12--20-30-48_LRX22G_release-keys
drwxrwx--x root sdcard_rw 2017-12-30 14:23 BACKUPS
m -rf 2015-04-12--20-30-48_LRX22G_release-keys/ <
rm: data.ext4.win.md5: Permission denied
rm: system.ext4.win.md5: Permission denied
rm: boot.emmc.win: Permission denied
rm: data.info: Permission denied
rm: boot.emmc.win.md5: Permission denied
rm: recovery.log: Permission denied
rm: data.ext4.win: Permission denied
rm: system.ext4.win: Permission denied
rm: system.info: Permission denied
1|[email protected]_mecdug:/storage/emulated/0/TWRP # lsattr
lsattr: reading ./BACKUPS: Inappropriate ioctl for device
lsattr: reading ./2015-04-12--20-30-48_LRX22G_release-keys: Inappropriate ioctl for device
WTF?
Try
sudo m -rf 2015-04-12--20-30-48_LRX22G_release-keys/
Or may be these files is locked by other process

Categories

Resources