I try to create an update script in the update.zip to delete the default ringtone & replace with my own ringtone. But after flashing the update.zip, the stock ringtone doesn't go away. Could anyone give me some hints for me. Thanks!
Followings are the script
delete SYSTEM:media/audio/alarms/*.mp3
delete SYSTEM:media/audio/notifications/*.mp3
delete SYSTEM:media/audio/ringtones/*.mp3
copy_dir PACKAGE:system SYSTEM:
Code:
adb shell cat /tmp/recovery.log
kendong2 said:
Code:
adb shell cat /tmp/recovery.log
Click to expand...
Click to collapse
Here is the log:
Install from sdcard...
Finding update package...
I:Update location: SDCARD:update_signed.zip
Opening update package...
I:Update file path: /sdcard/update_signed.zip
Verifying update package...
I:Verified META-INF/CERT.RSA
I:Verified META-INF/MANIFEST.MF
I:Verified system/media/audio/ringtones/nokia.mp3
I:Verified system/lib/zi/Zi8DatZYP_TW.z8d
I:Verified system/lib/zi/Zi8DatPYS_CN.z8d
I:Verified system/media/audio/ringtones/Donald Duck.mp3
I:Verified system/lib/zi/Zi8DatZYS_TW.z8d
I:Verified system/media/audio/alarms/CanonForestAlarm.mp3
I:Verified system/app/HTC_CIME.apk
I:Verified system/media/audio/ringtones/Mario_Underpath.mp3
I:Verified system/lib/libimezi.so
I:Verified system/lib/zi/Zi8DatZHA_HK.z8d
I:Verified system/media/audio/notifications/Extra life.mp3
I:Verified system/lib/zi/Zi8DatPYP_TW.z8d
I:Verified system/fonts/DroidSansFallback.ttf
I:Verified system/media/audio/ringtones/Beethoven.mp3
I:Verified system/media/audio/ringtones/SADSONG.MP3
I:Verified system/media/audio/ringtones/Canon.mp3
I:Verified system/app/HTC_IME.apk
I:Verified system/media/audio/ringtones/KeroroX5.mp3
I:Verified system/media/audio/notifications/Mario1-1.mp3
I:Verified system/lib/zi/Zi8DatPYS_HK.z8d
I:Verified META-INF/com/google/android/update-script
I:Verified system/lib/zi/Zi8DatZHA_CN.z8d
I:Verified system/media/audio/ringtones/Canon Rock .mp3
I:Verified system/media/audio/ringtones/Laputa.mp3
I:Verified system/media/audio/notifications/Doraimo_Message.mp3
I:Verified system/lib/zi/Zi8DatPYS_TW.z8d
I:Verified system/lib/libpphwr.so
I:Verified system/media/audio/ringtones/KeroroThemeSong.mp3
I:Verified system/media/audio/ringtones/Swallow.mp3
I:Verified system/media/audio/ringtones/Mickey Mouse March.mp3
I:Verified system/lib/zi/Zi8DatPYP_HK.z8d
I:Verified system/lib/libcimet9.so
I:Verified system/lib/zi/Zi8DatZHA_TW.z8d
I:Verified system/app/Clicker.apk
I:Verified system/lib/zi/Zi8DatPYP_CN.z8d
Installing update...
Iarsed META-INF/com/google/android/update-script
calling command delete
Deleting files...
calling command delete
Deleting files...
calling command delete
Deleting files...
calling command copy_dir
Copying files...
minzip: Extracted file "/system/app/Clicker.apk"
minzip: Extracted file "/system/app/HTC_CIME.apk"
minzip: Extracted file "/system/app/HTC_IME.apk"
minzip: Extracted file "/system/fonts/DroidSansFallback.ttf"
minzip: Extracted file "/system/lib/libcimet9.so"
minzip: Extracted file "/system/lib/libimezi.so"
minzip: Extracted file "/system/lib/libpphwr.so"
minzip: Extracted file "/system/lib/zi/Zi8DatPYP_CN.z8d"
minzip: Extracted file "/system/lib/zi/Zi8DatPYP_HK.z8d"
minzip: Extracted file "/system/lib/zi/Zi8DatPYP_TW.z8d"
minzip: Extracted file "/system/lib/zi/Zi8DatPYS_CN.z8d"
minzip: Extracted file "/system/lib/zi/Zi8DatPYS_HK.z8d"
minzip: Extracted file "/system/lib/zi/Zi8DatPYS_TW.z8d"
minzip: Extracted file "/system/lib/zi/Zi8DatZHA_CN.z8d"
minzip: Extracted file "/system/lib/zi/Zi8DatZHA_HK.z8d"
minzip: Extracted file "/system/lib/zi/Zi8DatZHA_TW.z8d"
minzip: Extracted file "/system/lib/zi/Zi8DatZYP_TW.z8d"
minzip: Extracted file "/system/lib/zi/Zi8DatZYS_TW.z8d"
minzip: Extracted file "/system/media/audio/alarms/CanonForestAlarm.mp3"
minzip: Extracted file "/system/media/audio/notifications/Doraimo_Message.mp3"
minzip: Extracted file "/system/media/audio/notifications/Extra life.mp3"
minzip: Extracted file "/system/media/audio/notifications/Mario1-1.mp3"
minzip: Extracted file "/system/media/audio/ringtones/Beethoven.mp3"
minzip: Extracted file "/system/media/audio/ringtones/Canon Rock .mp3"
minzip: Extracted file "/system/media/audio/ringtones/Canon.mp3"
minzip: Extracted file "/system/media/audio/ringtones/Donald Duck.mp3"
minzip: Extracted file "/system/media/audio/ringtones/KeroroThemeSong.mp3"
minzip: Extracted file "/system/media/audio/ringtones/KeroroX5.mp3"
minzip: Extracted file "/system/media/audio/ringtones/Laputa.mp3"
minzip: Extracted file "/system/media/audio/ringtones/Mario_Underpath.mp3"
minzip: Extracted file "/system/media/audio/ringtones/Mickey Mouse March.mp3"
minzip: Extracted file "/system/media/audio/ringtones/SADSONG.MP3"
minzip: Extracted file "/system/media/audio/ringtones/Swallow.mp3"
minzip: Extracted file "/system/media/audio/ringtones/nokia.mp3"
I:Installation complete.
Install from sdcard complete.
But it doesn't contain any error message, I can't find the clue from it.
so you are probably not replacing the default tone...
Related
Hello,
I was trying to make a porting rom from Desire using dsixda Kitchen.
I used the option 19 to make a porting, using another rom ported from desire to desire z as working rom (to get kernel, kernel modules, keyboard and so on..)
Installation is ok but when I try to boot it stuck at HTC logo.
Using logcat or another ADB command I get only:
- exec '/system/bin/sh' failed: No such file or directory (2) -
So I pulled the recovery.log after installing my porting rom:
Code:
Starting recovery on Sun Apr 15 10:37:24 2012
can't open /dev/tty0: No such file or directory
framebuffer: fd 3 (480 x 800)
ClockworkMod Recovery v5.0.2.7
recovery filesystem table
=========================
0 /tmp ramdisk (null) (null)
1 /recovery emmc /dev/block/mmcblk0p21 (null)
2 /boot emmc /dev/block/mmcblk0p22 (null)
3 /cache ext3 /dev/block/mmcblk0p27 (null)
4 /data ext3 /dev/block/mmcblk0p26 (null)
5 /sd-ext ext3 /dev/block/mmcblk1p2 (null)
6 /sdcard vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1
7 /system ext3 /dev/block/mmcblk0p25 (null)
W:Unable to get recovery.fstab info for /datadata during fstab generation!
W:Unable to get recovery.fstab info for /emmc during fstab generation!
I:Completed outputting fstab.
I:Processing arguments.
I:Checking arguments.
I:device_recovery_start()
Command: "/sbin/recovery"
ro.secure=0
ro.allow.mock.location=1
ro.debuggable=1
persist.service.adb.enable=1
ro.build.id=GRI40
ro.build.display.id=GWK74
ro.build.version.incremental=eng.koush.20111028.180155
ro.build.version.sdk=10
ro.build.version.codename=REL
ro.build.version.release=2.3.7
ro.build.date=Fri Oct 28 18:02:25 PDT 2011
ro.build.date.utc=0
ro.build.type=eng
ro.build.user=koush
ro.build.host=Koushik-Lion.local
ro.build.tags=test-keys
ro.product.model=HTC Vision
ro.product.brand=htc_wwe
ro.product.name=htc_vision
ro.product.device=vision
ro.product.board=vision
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=HTC
ro.product.locale.language=hdpi
ro.product.locale.region=
ro.wifi.channels=
ro.board.platform=msm7x30
ro.build.product=vision
ro.build.description=2.42.405.2 CL84109 release-keys
ro.build.fingerprint=htc_wwe/htc_vision/vision:2.3.3/GRI40/84109:user/release-keys
ro.sf.lcd_density=240
debug.fb.rgb565=0
ro.gsm.2nd_data_retry_config=max_retries=3, 2000, 2000, 2000
rild.libpath=/system/lib/librilswitch.so
rilswitch.vendorlibpath=/system/lib/libhtc_ril.so
rilswitch.ganlibpath=/system/lib/libganril.so
ro.ril.enable.a53=1
ro.ril.enable.dtm=0
ro.ril.gprsclass=10
ro.ril.hsdpa.category=10
ro.ril.hsupa.category=6
ro.ril.hsxpa=2
ro.ril.def.agps.feature=1
ro.ril.disable.fd.plmn.prefix=23402,23410,23411
ro.ril.enable.sdr=0
ro.ril.enable.gea3=0
ro.telephony.default_network=0
wifi.interface=eth0
wifi.supplicant_scan_interval=15
mobiledata.interfaces=gannet0,rmnet0,rmnet1,rmnet2
ro.opengles.version=131072
dalvik.vm.heapsize=32m
ro.ril.def.agps.mode=2
ro.ril.disable.power.collapse=1
ro.com.google.clientidbase=android-tmobile-us
ro.com.google.clientidbase.vs=android-hms-tmobile-us
ro.com.google.clientidbase.ms=android-hms-tmobile-us
ro.com.google.locationfeatures=1
ro.com.google.networklocation=1
ro.com.google.gmsversion=2.2_r5
ro.setupwizard.enable_bypass=1
dalvik.vm.lockprof.threshold=500
dalvik.vm.dexopt-flags=m=y
media.a1026.nsForVoiceRec=0
media.a1026.enableA1026=1
htc.audio.alt.enable=0
htc.audio.hac.enable=0
keyguard.no_require_sim=true
ro.rommanager.developerid=cyanogenmod
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.com.android.wifi-watchlist=GoogleGuest
ro.setupwizard.enterprise_mode=1
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=false
ro.config.ringtone=Playa.ogg
ro.config.notification_sound=regulus.ogg
ro.config.alarm_alert=Alarm_Beep_03.ogg
ro.modversion=CyanogenMod-7.1.0-vision-KANG
ro.kernel.android.checkjni=1
ro.setupwizard.mode=OPTIONAL
net.bt.name=Android
net.change=net.bt.name
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.factorytest=0
ro.serialno=SH0B9RT04800
ro.bootmode=recovery
ro.baseband=26.13.04.19_M
ro.carrier=HTC-ITA
ro.bootloader=0.84.2000
ro.hardware=vision
ro.revision=128
init.svc.choice_fn=stopped
init.svc.recovery=running
init.svc.htcbatt=stopped
init.svc.adbd=running
ro.9kramdump=0
I:Checking for extendedcommand...
I:Skipping execution of extendedcommand, file not found...
-- Installing: /sdcard/2.Flashable/vision_signed_041512_121934.zip
Finding update package...
I:Update location: /sdcard/2.Flashable/vision_signed_041512_121934.zip
Opening update package...
Installing update...
mke2fs: can't format mounted filesystem
format: format_ext3_device failed (-1) on /dev/block/mmcblk0p25mount: failed to mount /dev/block/mmcblk0p25 at /system: Device or resource busy
mount: failed to mount /dev/block/mmcblk0p26 at /data: Device or resource busy
minzip: Extracted file "/data/app/com.TEST.android.lvh-1.apk"
minzip: Extracted file "/data/app/com.adobe.flashplayer-1.apk"
minzip: Extracted file "/data/app/com.antutu.CpuMasterFree-1.apk"
minzip: Extracted file "/data/app/com.bigtincan.android.adfree.apk"
minzip: Extracted file "/data/app/com.estrongs.android.pop-1.apk"
minzip: Extracted file "/data/app/com.keramidas.TitaniumBackup-1.apk"
minzip: Extracted file "/data/app/com.koushikdutta.rommanager-1.apk"
minzip: Extracted file "/data/app/placeholder"
minzip: Extracted file "/data/app/ws.plattner.cifsmanager.apk"
minzip: Extracted file "/data/data/com.android.htcprofile/anr_history.txt"
minzip: Extracted file "/data/data/hosts"
minzip: Extracted file "/system/app/AccountSyncManager.apk"
minzip: Extracted file "/system/app/AccountSyncManager.odex"
minzip: Extracted file "/system/app/AppSharing.apk"
...
...
...
...
... (extraction of other /system files..)
...
...
...
minzip: Extracted file "/system/xbin/tcpdump"
minzip: Extracted file "/system/xbin/wireless_modem"
set_perm: chown of /system/etc/bluez to 0 0 failed: No such file or directory
set_perm: chmod of /system/etc/bluez to 775 failed: No such file or directory
set_perm: chown of /system/bin/openvpn to 1000 1000 failed: No such file or directory
set_perm: chmod of /system/bin/openvpn to 755 failed: No such file or directory
set_perm: chown of /system/bin/iproute-script.sh to 1000 1000 failed: No such file or directory
set_perm: chmod of /system/bin/iproute-script.sh to 755 failed: No such file or directory
set_perm: chown of /system/bin/vpnc to 1000 1000 failed: No such file or directory
set_perm: chmod of /system/bin/vpnc to 755 failed: No such file or directory
set_perm: chown of /system/bin/vpnc-script.sh to 1000 1000 failed: No such file or directory
set_perm: chmod of /system/bin/vpnc-script.sh to 755 failed: No such file or directory
set_perm: chown of /data/data/com.android.providers.contacts/files/* to 0 0 failed: No such file or directory
set_perm: chmod of /data/data/com.android.providers.contacts/files/* to 1232 failed: No such file or directory
mke2fs: can't format mounted filesystem
format: format_ext3_device failed (-1) on /dev/block/mmcblk0p27script result was [/data]
Install from sdcard complete.
Formatting /sd-ext...
I:Formatting unknown device.
I:Formatting ext3 device.
warning: 287 blocks unused
I don't like that (NULL) after the block allocation, but this is the first rom cooking and I don't understand if it is normal.
Also there are some errors at the end and at the begin of the installation, but they don't seems to me to be fatal errors..
Someone can help?
I have tryed also to install RCMIX kernel after this rom, that kernel is working with the other rom ported from desire that I'm using as base, working rom, for my porting.
(PS: it is sense 1.9 rom)
maybe I have to change updater script?
There are blocks problems?
I am currently running 4.1.1 takju and I can't update to 4.1.2 and therefore can't update to 4.2 (via OTA).
I tried to do it manually by copying the file to /sdcard but I still get checksum errors.
I thought that I was on stock 4.1.1 so I can't see how this file fails the checksums.
Can I download and replace ApplicationsProvider.apk with the correct checksum from somewhere?
This is the end of the recovery log.
Code:
-- Installing: /sdcard/!ReadyToFlash/06fa1976791d.signed-takju-JZO54K-from-JRO03C.06fa1976.zip
Finding update package...
I:Update location: /sdcard/!ReadyToFlash/06fa1976791d.signed-takju-JZO54K-from-JRO03C.06fa1976.zip
I:using /data/media, no /sdcard found.
Opening update package...
Installing update...
installing samsung updater extensions
mount: failed to mount /dev/block/platform/omap/omap_hsmmc.0/by-name/system at /system: Device or resource busy
Verifying current system...file "/system/app/ApplicationsProvider.apk" doesn't have any of expected sha1 sums; checking cache
failed to stat "/cache/saved.file": No such file or directory
failed to load cache file
script aborted: assert failed: apply_patch_check("/system/app/ApplicationsProvider.apk", "13b2f4b91d21fd67dff3e72f63745255dd4d9c1a", "08db09578758c61cf5c8ec895b1331a5fa4cc349")
assert failed: apply_patch_check("/system/app/ApplicationsProvider.apk", "13b2f4b91d21fd67dff3e72f63745255dd4d9c1a", "08db09578758c61cf5c8ec895b1331a5fa4cc349")
E:Error in /sdcard/!ReadyToFlash/06fa1976791d.signed-takju-JZO54K-from-JRO03C.06fa1976.zip
(Status 7)
Installation aborted.
Got exactly same here.
If you still care, here is how I fixed the problem.
1. Download firmware image: https://developers.google.com/android/nexus/images
2. Follow HOW-TO: Return to stock for ALL Galaxy Nexus phones except step D.10
I was hoping to avoid flashing and just replace the single file and do an OTA update.
I extracted the factory image with 7-Zip and thought I could extract the relevant apk from system.img.
Unfortunately unyaffs kept failing with a stack dump.
Looks like it is backup and reload now
Hello all,
I was testing some nightly builds of cyanogenmod 10, and got to a point where I can no longer install a fully functional ROM. Unfortunately I lost all my backups in a faulty SD card, so I cannot go back now.
I'm trying to install CM9 now from the recovery menu of CWM. I install the CM9 ALPHA9 from the zip file, then I install gapps stripped (this includes all factory resets, wipe all and everything). After that, I reboot the phone, wait a few of minutes (1st reboot) and then I'm immediately presented with the home screen.
The problem here is that the initial setup wizard is not shown. Also the home button is not doing anything, and after I set up my google account, I cannot connect to the play store (server error).
I've been struggling with this for a couple of days already, and from some google searches it seems that the gapps is not properly installed for some reason. I checked the available space in /system partition (using adb shell) and I still have 5MB after installing everything.
Here is the log of the recovery.log file (I see some errors here, but they may be "normal"):
Code:
These are the last lines of the ROM install:
minzip: Extracted file "/system/xbin/su"
about to run program [/tmp/backuptool.sh] with 2 args
find: /tmp/addon.d/: No such file or directory
find: /tmp/addon.d/: No such file or directory
find: /tmp/addon.d/: No such file or directory
cp: can't stat '/tmp/addon.d/*': No such file or directory
package_extract_file: no system/bin/modelid_cfg.sh in package
set_perm: chown of /tmp/modelid_cfg.sh to 0 0 failed: No such file or directory
set_perm: chmod of /tmp/modelid_cfg.sh to 777 failed: No such file or directory
about to run program [/tmp/modelid_cfg.sh] with 2 args
run_program: execv failed: No such file or directory
run_program: child exited with status 1
mtd: successfully wrote block at fffffee000000000
mtd: successfully wrote block at fffffee000040000
mtd: successfully wrote block at fffffee000080000
mtd: successfully wrote block at fffffee0000c0000
mtd: successfully wrote block at fffffee000100000
mtd: successfully wrote block at fffffee000140000
mtd: successfully wrote block at fffffee000180000
mtd: successfully wrote block at fffffee0001c0000
mtd: successfully wrote block at fffffee000200000
mtd: successfully wrote block at fffffee000240000
mtd: successfully wrote block at fffffee000280000
wrote boot partition
script result was [/system]
Install from sdcard complete.
Code:
This is the output of the gapps:
-- Installing: /sdcard/cm9/gapps-cfx-jb-20120815-stripped.zip
mtd: successfully wrote block at c7e0400000000
I:Set boot command "boot-recovery"
Finding update package...
I:Update location: /sdcard/cm9/gapps-cfx-jb-20120815-stripped.zip
Opening update package...
Installing update...
about to run program [/sbin/busybox] with 3 args
Google Apps for Android 4.1.1 - 2012-08-10
minzip: Extracted file "/system/addon.d/70-gapps.sh"
Mounting system...minzip: Extracted file "/system/app/ChromeBookmarksSyncAdapter
.apk"
minzip: Extracted file "/system/app/GoogleBackupTransport.apk"
minzip: Extracted file "/system/app/GoogleCalendarSyncAdapter.apk"
minzip: Extracted file "/system/app/GoogleContactsSyncAdapter.apk"
minzip: Extracted file "/system/app/GoogleEars.apk"
Copying files...minzip: Extracted file "/system/app/GoogleFeedback.apk"
minzip: Extracted file "/system/app/GoogleLoginService.apk"
minzip: Extracted file "/system/app/GoogleNowVoiceSearch.apk"
minzip: Extracted file "/system/app/GooglePartnerSetup.apk"
minzip: Extracted file "/system/app/GoogleServicesFramework.apk"
minzip: Extracted file "/system/app/GoogleVoiceSearch.apk"
minzip: Extracted file "/system/app/MediaUploader.apk"
minzip: Extracted file "/system/app/NetworkLocation.apk"
minzip: Extracted file "/system/app/OneTimeInitializer.apk"
minzip: Extracted file "/system/app/Phonesky.apk"
minzip: Extracted file "/system/app/QuickSearchBox.apk"
minzip: Extracted file "/system/app/SetupWizard.apk"
minzip: Extracted file "/system/app/Talk.apk"
minzip: Extracted file "/system/app/Velvet.apk"
minzip: Extracted file "/system/etc/g.prop"
minzip: Extracted file "/system/etc/permissions/com.google.android.maps.xml"
minzip: Extracted file "/system/etc/permissions/com.google.android.media.effects
.xml"
minzip: Extracted file "/system/etc/permissions/com.google.widevine.software.drm
.xml"
minzip: Extracted file "/system/etc/permissions/features.xml"
minzip: Extracted file "/system/framework/com.google.android.maps.jar"
minzip: Extracted file "/system/framework/com.google.android.media.effects.jar"
minzip: Extracted file "/system/framework/com.google.widevine.software.drm.jar"
minzip: Extracted file "/system/lib/libvoicesearch.so"
minzip: Extracted file "/system/lib/libvorbisencoder.so"
Fixing Permissions...
about to run program [/sbin/busybox] with 3 args
Unmounting system...run_program: child terminated by signal 11
script result was [Installation complete!]
Installation complete!
Install from sdcard complete.
Thanks in advance
Whose build did you try to install? Which gapps package did you flash?
Sent from my bowl of jelly!
vbhtt said:
Whose build did you try to install? Which gapps package did you flash?
Sent from my bowl of jelly!
Click to expand...
Click to collapse
The ROM is: cm-9.1.0-CRYPTOMILK-ALPHA9-marvel.zip. I cannot place the URL here because I do not have permission yet, but its from the main cyanogenmod 9 thread in the development forum.
The gapps is: gapps-cfx-jb-20120815-stripped.zip from from the cyanogenmod 10 thread. But I tried a few more gapps from this site, stripped and complete with no success...
I'm confused. In the 1st post you said you were installing cm10, then you say cm9 . If you are actually installing cm9, it will not work if you flash the jb(cm10) gapps.
Sent from my bowl of jelly!
vbhtt said:
I'm confused. In the 1st post you said you were installing cm10, then you say cm9 . If you are actually installing cm9, it will not work if you flash the jb(cm10) gapps.
Sent from my bowl of jelly!
Click to expand...
Click to collapse
Ok, That was probably a bit confusing, and yes, I was trying to install gapps from CM10 in a CM9 ROM (I see now that this is not a good approach).
But actually that was not the problem.
Now, to clear things up, I downloaded the ROM and gaaps from this thread, the second post.
CyanogenMod10-benjamingwynn-20121029.zip
gapps-cfx-jb-20120815-stripped.zip
The strange thing is that when I'm installing gapps, the progress bar goes up to 80% more or less and then stops and the installation is finished. Then, after the restart, I don't even have the play store icon in the menu.
I think many people have reported this issue with ben's cm10, try another cm10 like oliver's, dudeman's or modpunk's
Sent from my bowl of jelly!
vbhtt said:
I think many people have reported this issue with ben's cm10, try another cm10 like oliver's, dudeman's or modpunk's
Sent from my bowl of jelly!
Click to expand...
Click to collapse
I finally was able to install a working ROM
I used CM10 from modpunk and the gapps lite version from the same thread. It's not the latest version, but it works.
Thanks
I've been having a little problem for which I couldn't fix with 2 hours of work on Atomic GB 7.1 B2 recently.
I keep getting Status 7 error (Set_perm failed, no such file or directory) on the SU binaries when they are clearly there.
I've tried the following.
- Rewriting the entire updater-script
- Changing my SU binary in system/bin
- Adding my binary to /xbin instead and symlinking the other way
- Having both copies of the binary (without symlinking of course) in /bin and /xbin, both give this error.
- Using different SU apps and binaries.
- Even using existing updater-scripts and simple ones.
Script: (Where it gives Status 7)
Code:
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/bin/su");
symlink("/system/bin/su", "/system/xbin/su");
Log:
Code:
minzip: Extracted file "/system/xbin/busybox"
minzip: Extracted file "/system/xbin/daemonsu"
minzip: Extracted file "/system/xbin/dexdump"
minzip: Extracted file "/system/xbin/entro"
minzip: Extracted file "/system/xbin/openvpn"
minzip: Extracted file "/system/xbin/rngd"
minzip: Extracted file "/system/xbin/sqlite3"
minzip: Extracted file "/system/xbin/su"
minzip: Extracted file "/system/xbin/zipalign"
about to run program [/tmp/installbusybox] with 1 args
set_perm: chown of /system/xbin/su to 0 0 failed: No such file or directory
set_perm: chmod of /system/xbin/su to 6755 failed: No such file or directory
script aborted: set_perm: some changes failed
set_perm: some changes failed
E:Error in /sdcard/Extracted/ATGB r3.zip
Edit : I might just aswell release without SU and provide it as another zip for now.
Edit 2 : I fixed it. Turns out the problem was caused somehow by my update-binary.
Request thread lock.
Hi,
today I noticed that there is again an OTA update from 4.3 to 4.4 for the CUOCO 11S US version.
The OTA Update Tool from CUOCO downloaded it without problems, but after TWRP flashing it seems that the described fixes weren't included or the update didn't apply.
I tested this by trying the quick fixes described in the change log, e.g. setting for calculator and qrcode.
Does anyone successful installed this OTA update on his CUOCO 11S US ROM ?
https://onedrive.live.com/redir?res...authkey=!AA4n9ilwV6oagbs&v=3&ithint=photo,jpg
https://www.androidfilehost.com/?fid=24580943222145278
BetaHydri said:
Hi,
today I noticed that there is again an OTA update from 4.3 to 4.4 for the CUOCO 11S US version.
The OTA Update Tool from CUOCO downloaded it without problems, but after TWRP flashing it seems that the described fixes weren't included or the update didn't apply.
I tested this by trying the quick fixes described in the change log, e.g. setting for calculator and qrcode.
Does anyone successful installed this OTA update on his CUOCO 11S US ROM ?
https://onedrive.live.com/redir?res...authkey=!AA4n9ilwV6oagbs&v=3&ithint=photo,jpg
https://www.androidfilehost.com/?fid=24580943222145278
Click to expand...
Click to collapse
Yes, I've installed the ROM 11s Cuoco92, updated to v44 and now both the calculator and code-bar work correctly from quick settings
massymoroboshi said:
Yes, I've installed the ROM 11s Cuoco92, updated to v44 and now both the calculator and code-bar work correctly from quick settings
Click to expand...
Click to collapse
Even with a factory reset on my actual CUOCO92 V4.2 build I'm not able to update to 4.3 and then 4.4 via OTA-Updater.
After installation without errors regarding the TWRP install output my phone ist still on build 4.2. Maybe I have to delete all partitions and do a restore to the factory ROM via TWRP 3.0.2 restore.
Look at my last "last_ota_log". I tried also to install another ZIP here for example SuperSU Beta 2.74 this one also has problems:
.....
I:Set page: 'flash_zip'
Iperation_start: 'Flashing'
Installing zip file '/sdcard/SuperSU-v2.74-2-20160519174328.zip'
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment initialized.
*****************
SuperSU installer
*****************
- Mounting /system, /data and rootfs
mount: mounting /dev/block/mmcblk0p40 on /system failed: Device or resource busy
mount: mounting /dev/block/mmcblk0p47 on /data failed: Device or resource busy
2+0 records in
2+0 records out
2 bytes (2B) copied, 0.002538 seconds, 788B/s
3+0 records in
3+0 records out
3 bytes (3B) copied, 0.000582 seconds, 5.0KB/s
10+0 records in
10+0 records out
10 bytes (10B) copied, 0.000735 seconds, 13.3KB/s
0+0 records in
0+0 records out
0 bytes (0B) copied, 0.002195 seconds, 0B/s
mount: mounting /dev/block/mmcblk0p40 on /system failed: Device or resource busy
mount: mounting /dev/block/bootdevice/by-name/system on /system failed: Device or resource busy
/tmp/updater: line 804: can't create /system/toolbox: Read-only file system
chmod: /system/toolbox: No such file or directory
/tmp/updater: line 839: /system/toolbox: not found
- Extracting files
Archive: /sdcard/SuperSU-v2.74-2-20160519174328.zip
inflating: META-INF/MANIFEST.MF
inflating: META-INF/CERT.SF
inflating: META-INF/CERT.RSA
inflating: META-INF/com/google/android/update-binary
inflating: META-INF/com/google/android/updater-script
inflating: arm/chattr
inflating: arm/chattr.pie
inflating: arm/libsupol.so
inflating: arm/su
inflating: arm/sukernel
inflating: arm/supolicy
inflating: arm64/chromeos/futility
inflating: arm64/libsupol.so
inflating: arm64/su
inflating: arm64/sukernel
inflating: arm64/supolicy
inflating: armv7/chattr.pie
inflating: armv7/libsupol.so
inflating: armv7/su
inflating: armv7/sukernel
inflating: armv7/supolicy
inflating: common/000000deepsleep
inflating: common/99SuperSUDaemon
inflating: common/Superuser.apk
inflating: common/chromeos/kernel.bootloader
inflating: common/chromeos/kernel.config
inflating: common/chromeos/kernel.keyblock
inflating: common/chromeos/kernel_data_key.vbprivk
inflating: common/file_contexts_image
inflating: common/install-recovery.sh
inflating: common/launch_daemonsu.sh
inflating: mips/chattr.pie
inflating: mips/libsupol.so
inflating: mips/su
inflating: mips/sukernel
inflating: mips/supolicy
inflating: mips64/libsupol.so
inflating: mips64/su
inflating: mips64/sukernel
inflating: mips64/supolicy
inflating: x64/libsupol.so
inflating: x64/su
inflating: x64/sukernel
inflating: x64/supolicy
inflating: x86/chattr
inflating: x86/chattr.pie
inflating: x86/libsupol.so
inflating: x86/su
inflating: x86/su.pie
inflating: x86/sukernel
inflating: x86/supolicy
supolicy v2.74 (ndk:arm64-v8a) - Copyright (C) 2014-2016 - Chainfire
Patching policy ...
-permissive:adbd_socket=ok
-permissive:functionfs=ok
-permissive:hci_attach_exec=ok
-permissive:system_server=ok
-permissive:nfc=ok
-permissive:rild_debug_socket=ok
-permissive:file_type=ok
-permissive:exec_type=ok
-permissiveroperty_type=ok
-permissive:surfaceflinger_service=ok
-permissive:binderservicedomain=ok
-permissive:mdns_socket=ok
-permissive:node_type=ok
-permissivelatform_app=ok
-permissive:ram_device=ok
-permissiveort_type=ok
-permissive:rootfs=ok
-permissive:tmpfs=ok
-permissive:usbfs=ok
-permissive:bootanim_exec=ok
-permissive:gpsd_tmpfs=ok
-permissive:installd_exec=ok
-permissive:su_tmpfs=ok
-permissive:untrusted_app_tmpfs=ok
-permissive:cpuctl_device=ok
-permissive:cgroup=ok
-permissive:drmserver_socket=ok
-permissivepp_device=ok
-permissive:wpa_socket=ok
-permissiveroc_net=ok
-permissive:vdc=ok
-permissive:clatd=ok
-permissive:netd=ok
-permissive:sdcardd=ok
-permissive:zygote=ok
-permissive:debuggerd=ok
-permissive:input_device=ok
-permissive:mediaserver_tmpfs=ok
-permissive:sysfs_ksm=ok
-permissive:ueventd_tmpfs=ok
-permissive:download_file=ok
-permissive:mtp=ok
-permissive:backup_data_file=ok
-permissive:servicemanager_tmpfs=ok
-permissive:su_exec=ok
-permissivepp_exec=ok
-permissive:tee_exec=ok
-permissive:vdc_exec=ok
-permissive:wpa_exec=ok
-permissive:dumpstate_tmpfs=ok
-permissive:mqueue=ok
-permissive:mtp_exec=ok
-permissive:system_ndebug_socket=ok
-permissive:tee=ok
-permissive:adb_data_file=ok
-permissive:anr_data_file=ok
-permissive:app_data_file=ok
-permissive:dhcp_data_file=ok
-permissive:logdr_socket=ok
-permissive:logdw_socket=ok
-permissive:net_data_file=ok
-permissive:shell_data_file=ok
-permissive:vpn_data_file=ok
-permissive:adb_keys_file=ok
-permissive:dalvikcache_data_file=ok
-permissive:keystore_tmpfs=ok
-permissive:kernel=ok
-permissive:dhcp_tmpfs=ok
-permissivelatform_app_data_file=ok
-permissive:dhcp=ok
-permissive:mediaserver_service=ok
-permissive:dnsmasq=ok
-permissive:drmserver=ok
-permissive:drmserver_tmpfs=ok
-permissive:keystore=ok
-permissiveroperty_data_file=ok
-permissive:vold_exec=ok
-permissive:adbd=ok
-permissive:dumpstate=ok
-permissive:racoon_exec=ok
-permissive:rild_exec=ok
-permissive:unlabeled=ok
-permissive:bluetooth=ok
-permissive:uncrypt_tmpfs=ok
-permissive:inputflinger=ok
-permissive:dhcp_exec=ok
-permissive:vcs_device=ok
-permissive:gpsd_exec=ok
-permissiveort=ok
-permissive:fuse=ok
-permissive:install_data_file=ok
-permissive:lmkd_exec=ok
-permissive:logd_exec=ok
-permissive:netd_exec=ok
-permissive:asec_image_file=ok
-permissive:recovery=ok
-permissive:radio_tmpfs=ok
-permissive:tee_tmpfs=ok
-permissive:wpa=ok
-permissive:dev_type=ok
-permissive:runas=ok
-permissive:vdc_tmpfs=ok
-permissive:wpa_tmpfs=ok
-permissive:hostapd=ok
-permissive:system_prop=ok
-permissive:vfat=ok
-permissive:fs_type=ok
-permissive:sdcard_external=ok
-permissive:sdcard_internal=ok
-permissive:sdcardd_exec=ok
-permissivewntty_device=ok
-permissive:selinuxfs=ok
-permissive:tty_device=ok
-permissive:tun_device=ok
-permissive:clatd_exec=ok
-permissive:installd_tmpfs=ok
-permissive:uio_device=ok
-permissive:bootanim_tmpfs=ok
-permissive:install_recovery_tmpfs=ok
-permissive:sysinit_exec=ok
-permissive:system_app_service=ok
-permissive:full_device=ok
-permissive:null_device=ok
-permissive:fuse_device=ok
-permissive:usb_device=ok
-permissive:wfd_app=ok
-permissive:camera_device=ok
-permissive:hostapd_exec=ok
-permissive:keystore_exec=ok
-permissive:uncrypt=ok
-permissive:system_app_data_file=ok
-permissive:tee_device=ok
-permissive:uncrypt_exec=ok
-permissive:video_device=ok
-permissive:labeledfs=ok
-permissive:mtp_tmpfs=ok
-permissive:audio_device=ok
-permissive:radio_device=ok
-permissive:nfc_tmpfs=ok
-permissive:userinit_exec=ok
-permissivetmx_device=ok
-permissive:mdnsd_exec=ok
-permissive:system_app_tmpfs=ok
-permissive:bluetooth_data_file=ok
-permissive:usbaccessory_device=ok
-permissive:userinit_data_exec=ok
-permissive:lvm_placeholder=ok
-permissive:rmt_placeholder=ok
-permissive:nfc_prop=ok
-permissive:dex2oat_exec=ok
-permissive:socket_device=ok
-permissive:bluetooth_tmpfs=ok
-permissive:sysfs_lowmemorykiller=ok
-permissive:installd_socket=ok
-permissive:netd_tmpfs=ok
-permissive:servicemanager_exec=ok
-permissiveroc=ok
-permissive:asec_public_file=ok
-permissiveroc_cpuinfo=ok
-permissive:usermodehelper=ok
-permissive:bluetooth_socket=ok
-permissive:installd=ok
-permissive:debug_prop=ok
-permissive:inputflinger_exec=ok
-permissivean_result_prop=ok
-permissive:security_prop=ok
-permissive:zygote_socket=ok
-permissive:system_server_tmpfs=ok
-permissive:bluetooth_prop=ok
-permissive:ctl_rildaemon_prop=ok
-permissive:system_radio_prop=ok
-permissive:contextmount_type=ok
-permissive:lmkd_tmpfs=ok
-permissive:logd_tmpfs=ok
-permissive:uhid_device=ok
-permissive:ctl_dhcp_pan_prop=ok
-permissive:racoon_socket=ok
-permissive:ctl_bootanim_prop=ok
-permissive:wallpaper_file=ok
-permissive:install_recovery=ok
-permissive:net_radio_prop=ok
-permissive:asec_apk_file=ok
-permissive:console_device=ok
-permissive:userinit_prop=ok
-permissive:sensors_device=ok
-permissive:dhcp_prop=ok
-permissive:audio_prop=ok
-permissive:qtaguid_proc=ok
-permissive:ctl_bugreport_prop=ok
-permissive:healthd=ok
-permissive:init=ok
-permissive:sysinit=ok
-permissive:keychain_data_file=ok
-permissive:kmem_device=ok
-permissive:netif_type=ok
-permissive:gps_control=ok
-permissive:logd_prop=ok
-permissive:init_tmpfs=ok
-permissive:surfaceflinger_exec=ok
-permissive:kmsg_device=ok
-permissive:vold_prop=ok
-permissive:data_file_type=ok
-permissive:netif=ok
-permissive:bootanim=ok
-permissive:klog_device=ok
-permissive:zoneinfo_data_file=ok
-permissive:radio=ok
-permissive:inputflinger_service=ok
-permissive:mlstrustedobject=fail
-permissive:debuggerd_tmpfs=ok
-permissive:unconfineddomain=ok
-permissive:fscklogs=ok
-permissive:netd_socket=ok
-permissive:zygote_tmpfs=ok
-permissive:mlstrustedsubject=fail
-permissive:mediaserver=ok
-permissive:mediaserver_exec=ok
-permissive:ctl_fuse_prop=ok
-permissive:drmserver_service=ok
-permissive:mtpd_socket=ok
-permissive:debugfs=ok
-permissive:keystore_service=ok
-permissiveemfs=ok
-permissiveipefs=ok
-permissive:sockfs=ok
-permissive:sysfs=ok
-permissive:logd=ok
-permissivestorefs=ok
-permissive:default_android_service=ok
-permissive:drmserver_exec=ok
-permissive:inotify=ok
-permissive:vold_tmpfs=ok
-permissive:bluetooth_service=ok
-permissive:sysfs_devices_system_cpu=ok
-permissive:debuggerd_exec=ok
-permissive:untrusted_app=ok
-permissive:gps_socket=ok
-permissive:ueventd=ok
-permissive:node=ok
-permissiveroc_sysrq=ok
-permissive:adb_device=ok
-permissive:shared_relro=ok
-permissive:sysfs_type=ok
-permissive:system_data_file=ok
-permissive:alarm_device=ok
-permissive:camera_data_file=ok
-permissive:sysfs_bluetooth_writable=ok
-permissive:ctl_mdnsd_prop=ok
-permissive:hci_attach_tmpfs=ok
-permissive:devpts=ok
-permissive:sysfs_zram=ok
-permissive:audio_firmware_file=ok
-permissiveroc_bluetooth_writable=ok
-permissive:apk_data_file=ok
-permissive:audio_data_file=ok
-permissive:bluetooth_efs_file=ok
-permissive:dm_device=ok
-permissive:drm_data_file=ok
-permissive:gps_data_file=ok
-permissive:media_data_file=ok
-permissive:nfc_data_file=ok
-permissive:radio_data_file=ok
-permissive:tee_data_file=ok
-permissive:wifi_data_file=ok
-permissive:mdnsd_tmpfs=ok
-permissive:system_app=ok
-permissive:dumpstate_socket=ok
-permissive:sdcard_type=ok
-permissive:system_file=ok
-permissive:apk_private_tmp_file=ok
-permissive:hci_attach_dev=ok
-permissive:su=ok
-permissive:racoon_tmpfs=ok
-permissive:apk_tmp_file=ok
-permissiveroc_security=ok
-permissive:system_server_service=ok
-permissive:gps_device=ok
-permissive:gpu_device=ok
-permissive:nfc_service=ok
-permissive:gpsd=ok
-permissive:init_shell=ok
-permissive:mdnsd=ok
-permissive:device=ok
-permissive:system_wpa_socket=ok
-permissive:surfaceflinger=ok
-permissive:sysfs_nfc_power_writable=ok
-permissive:rild_tmpfs=ok
-permissive:isolated_app_tmpfs=ok
-permissive:runas_exec=ok
-permissive:untrusted_app_devpts=ok
-permissive:dex2oat=ok
-permissive:watchdogd=ok
-permissive:bluetoothdomain=ok
-permissive:dnsmasq_exec=ok
-permissive:fwmarkd_socket=ok
-permissive:qtaguid_device=ok
-permissive:inputflinger_tmpfs=ok
-permissive:shell_exec=ok
-permissivepp=ok
-permissive:dumpstate_exec=ok
-permissive:zero_device=ok
-permissive:resourcecache_data_file=ok
-permissive:systemkeys_data_file=ok
-permissive:shared_relro_tmpfs=ok
-permissive:binder_device=ok
-permissiveroperty_socket=ok
-permissive:sdcardd_tmpfs=ok
-permissive:hw_random_device=ok
-permissive:random_device=ok
-permissive:urandom_device=ok
-permissive:watchdog_device=ok
-permissive:ctl_default_prop=ok
-permissive:ctl_dumpstate_prop=ok
-permissive:security_file=ok
-permissive:media_rw_data_file=ok
-permissive:wfd_app_tmpfs=ok
-permissive:default_prop=ok
-permissive:debuggerd_prop=ok
-permissive:shared_relro_file=ok
-permissive:install_recovery_exec=ok
-permissive:coredump_file=ok
-permissive:netdomain=ok
-permissive:appdomain=ok
-permissive:lmkd_socket=ok
-permissive:logd_debug=ok
-permissive:racoon=ok
-permissive:graphics_device=ok
-permissive:serial_device=ok
-permissive:efs_file=ok
-permissiveowerctl_prop=ok
-permissive:rild=ok
-permissive:vold=ok
-permissive:adbtcp_prop=ok
-permissive:iio_device=ok
-permissive:ion_device=ok
-permissive:shell=ok
-permissive:tombstone_data_file=ok
-permissive:radio_service=ok
-permissive:apk_private_data_file=ok
-permissive:mdnsd_socket=ok
-permissive:service_manager_type=ok
-permissive:healthd_service=ok
-permissive:root_block_device=ok
-permissive:cache_backup_file=ok
-permissive:logd_socket=ok
-permissive:hci_attach=ok
-permissive:dalvikcache_profiles_data_file=ok
-permissive:sdcard_posix=ok
-permissive:vold_socket=ok
-permissive:block_device=ok
-permissive:zygote_exec=ok
-permissive:frp_block_device=ok
-permissive:radio_prop=ok
-permissive:loop_device=ok
-permissive:sysfs_writable=ok
-permissiveroperties_device=ok
-permissive:misc_user_data_file=ok
-permissive:surfaceflinger_tmpfs=ok
-permissive:sysfs_ioscheduler=ok
-permissive:lmkd=ok
-permissive:nfc_device=ok
-permissive:servicemanager=ok
-permissive:sysfs_wake_lock=ok
-permissive:dnsproxyd_socket=ok
-permissive:rild_socket=ok
-permissive:shell_prop=ok
-permissive:keystore_data_file=ok
-permissive:ashmem_device=ok
-permissive:isolated_app=ok
-permissive:sysinit_tmpfs=ok
-permissive:shm=ok
-permissivelatform_app_tmpfs=ok
-permissive:rpmsg_device=ok
-permissive:shell_tmpfs=ok
-permissive:cache_file=ok
-permissive:fingerprint_prop=ok
-permissive:mtp_device=ok
-permissive:mtd_device=ok
-permissive:log_device=ok
-permissive:domain=ok
- Success
- System mode
mount: mounting /dev/block/mmcblk0p40 on /system failed: Device or resource busy
mount: mounting /dev/block/bootdevice/by-name/system on /system failed: Device or resource busy
- Disabling OTA survival
chmod: /tmp/supersu/arm64/chattr.pie: No such file or directory
/tmp/updater: line 1382: /tmp/supersu/arm64/chattr.pie: not found
/tmp/updater: line 1382: /tmp/supersu/arm64/chattr.pie: not found
/tmp/updater: line 1382: /tmp/supersu/arm64/chattr.pie: not found
/tmp/updater: line 1382: /tmp/supersu/arm64/chattr.pie: not found
/tmp/updater: line 1382: /tmp/supersu/arm64/chattr.pie: not found
/tmp/updater: line 1382: /tmp/supersu/arm64/chattr.pie: not found
/tmp/updater: line 1382: /tmp/supersu/arm64/chattr.pie: not found
/tmp/updater: line 1382: /tmp/supersu/arm64/chattr.pie: not found
/tmp/updater: line 1382: /tmp/supersu/arm64/chattr.pie: not found
/tmp/updater: line 1382: /tmp/supersu/arm64/chattr.pie: not found
/tmp/updater: line 1382: /tmp/supersu/arm64/chattr.pie: not found
/tmp/updater: line 1382: /tmp/supersu/arm64/chattr.pie: not found
/tmp/updater: line 1382: /tmp/supersu/arm64/chattr.pie: not found
/tmp/updater: line 1382: /tmp/supersu/arm64/chattr.pie: not found
/tmp/updater: line 1382: /tmp/supersu/arm64/chattr.pie: not found
/tmp/updater: line 1382: /tmp/supersu/arm64/chattr.pie: not found
/tmp/updater: line 1382: /tmp/supersu/arm64/chattr.pie: not found
/tmp/updater: line 1382: /tmp/supersu/arm64/chattr.pie: not found
- Removing old files
mv: can't rename '/system/etc/install-recovery.sh': Read-only file system
rm: can't remove '/system/bin/install-recovery.sh': Read-only file system
rm: can't remove '/system/etc/install-recovery.sh': Read-only file system
rm: can't remove '/system/xbin/su': Read-only file system
rm: can't remove '/system/xbin/daemonsu': Read-only file system
rm: can't remove '/system/xbin/sugote': Read-only file system
rm: can't remove '/system/xbin/sugote-mksh': Read-only file system
rm: can't remove '/system/xbin/supolicy': Read-only file system
rm: can't remove '/system/lib64/libsupol.so': Read-only file system
rm: can't remove '/system/etc/.installed_su_daemon': Read-only file system
rm: can't remove '/data/su.img': No such file or directory
rm: can't remove '/cache/su.img': No such file or directory
- Creating space
- Placing files
mkdir: can't create directory '/system/bin/.ext': Read-only file system
chown: /system/bin/.ext: No such file or directory
chown: /system/bin/.ext: No such file or directory
chmod: /system/bin/.ext: No such file or directory
rm: can't remove '/system/bin/.ext/.su': No such file or directory
/tmp/updater: line 1382: can't create /system/bin/.ext/.su: nonexistent directory
chown: /system/bin/.ext/.su: No such file or directory
chown: /system/bin/.ext/.su: No such file or directory
chmod: /system/bin/.ext/.su: No such file or directory
rm: can't remove '/system/xbin/su': Read-only file system
/tmp/updater: line 1382: can't create /system/xbin/su: Read-only file system
chown: /system/xbin/su: Read-only file system
chown: /system/xbin/su: Read-only file system
chmod: /system/xbin/su: Read-only file system
rm: can't remove '/system/xbin/daemonsu': Read-only file system
/tmp/updater: line 1382: can't create /system/xbin/daemonsu: Read-only file system
chown: /system/xbin/daemonsu: Read-only file system
chown: /system/xbin/daemonsu: Read-only file system
chmod: /system/xbin/daemonsu: Read-only file system
rm: can't remove '/system/xbin/sugote': Read-only file system
/tmp/updater: line 1382: can't create /system/xbin/sugote: Read-only file system
chown: /system/xbin/sugote: Read-only file system
chown: /system/xbin/sugote: Read-only file system
chmod: /system/xbin/sugote: Read-only file system
rm: can't remove '/system/xbin/sugote-mksh': Read-only file system
/tmp/updater: line 1382: can't create /system/xbin/sugote-mksh: Read-only file system
chown: /system/xbin/sugote-mksh: Read-only file system
chown: /system/xbin/sugote-mksh: Read-only file system
chmod: /system/xbin/sugote-mksh: Read-only file system
rm: can't remove '/system/xbin/supolicy': Read-only file system
/tmp/updater: line 1382: can't create /system/xbin/supolicy: Read-only file system
chown: /system/xbin/supolicy: Read-only file system
chown: /system/xbin/supolicy: Read-only file system
chmod: /system/xbin/supolicy: Read-only file system
rm: can't remove '/system/lib64/libsupol.so': Read-only file system
/tmp/updater: line 1382: can't create /system/lib64/libsupol.so: Read-only file system
chown: /system/lib64/libsupol.so: Read-only file system
chown: /system/lib64/libsupol.so: Read-only file system
chmod: /system/lib64/libsupol.so: Read-only file system
mkdir: can't create directory '/system/app/SuperSU': Read-only file system
chown: /system/app/SuperSU: No such file or directory
chown: /system/app/SuperSU: No such file or directory
chmod: /system/app/SuperSU: No such file or directory
rm: can't remove '/system/app/SuperSU/SuperSU.apk': No such file or directory
/tmp/updater: line 1382: can't create /system/app/SuperSU/SuperSU.apk: nonexistent directory
chown: /system/app/SuperSU/SuperSU.apk: No such file or directory
chown: /system/app/SuperSU/SuperSU.apk: No such file or directory
chmod: /system/app/SuperSU/SuperSU.apk: No such file or directory
rm: can't remove '/system/etc/install-recovery.sh': Read-only file system
/tmp/updater: line 1382: can't create /system/etc/install-recovery.sh: Read-only file system
chown: /system/etc/install-recovery.sh: Read-only file system
chown: /system/etc/install-recovery.sh: Read-only file system
chmod: /system/etc/install-recovery.sh: Read-only file system
rm: can't remove '/system/bin/app_process': Read-only file system
rm: can't remove '/system/bin/app_process64': Read-only file system
rm: can't remove '/system/etc/init.d/99SuperSUDaemon': No such file or directory
/tmp/updater: line 1382: can't create /system/etc/init.d/99SuperSUDaemon: nonexistent directory
chown: /system/etc/init.d/99SuperSUDaemon: No such file or directory
chown: /system/etc/init.d/99SuperSUDaemon: No such file or directory
chmod: /system/etc/init.d/99SuperSUDaemon: No such file or directory
/tmp/updater: line 1382: can't create /system/etc/.installed_su_daemon: Read-only file system
chown: /system/etc/.installed_su_daemon: Read-only file system
chown: /system/etc/.installed_su_daemon: Read-only file system
chmod: /system/etc/.installed_su_daemon: Read-only file system
- Restoring files
- Post-installation script
rm: can't remove '/system/toybox': No such file or directory
rm: can't remove '/system/toolbox': No such file or directory
- Unmounting /system
umount: can't umount /system: Device or resource busy
- Done !
I:Updater process ended with RC=0
I:Legacy property environment disabled.
Updating partition details...
Iata backup size is 7446MB, free: 28981MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Set page: 'flash_done'
Iperation_end - status=0
I:Set page: 'rebootcheck'
I:Unable to unmount '/system'
I:Unable to unmount '/system'
I:Copying file /cache/recovery/log to /cache/recovery/last_log
Rebooting...
I:InfoManager saving '/data/media/0/TWRP/.twrps'
I:Saved settings file values
Obviously it has something todo with the rw mount permissions of the system partition. It seems that the CUOCOS update script can't overwrite or replace the files:
ui_print("_________________________");
ui_print("LEECO OTA UPDATE CUOCO92");
sleep(5);
ui_print("Preparing update...");
show_progress(1.34,70);
mount("ext4", "EMMC", "/dev/block/bootdevice/by-name/system", "/system");
sleep(4);
ui_print("Patching system...");
package_extract_dir("system", "/system");
sleep(5);
ui_print("Cleaning...");
mount("ext4", "EMMC", "/dev/block/bootdevice/by-name/data", "/data");
delete_recursive("/data/data/com.otaupdater");
delete_recursive("/data/media/0/OTA-Updater");
unmount("/data");
sleep(10);
ui_print("Done");
show_progress(1.34,10);
sleep(5);
run_program("/sbin/reboot");
The script seems to fail during extraction of the package when it tries to replace the several folders under /system/...