[ NOTE: I reposted this thread here: http://forum.xda-developers.com/showthread.php?p=33711190 where it's more relevant. Please ignore this thread ]
Hello,
I have a bricked phone, these are my steps:
- Installed latest cyanogenmod (9.1) on my Samsung Galaxy S (international version, unlocked).
- New version worked fine!
- Found out I was missing some data so I went back to CWM recovery and did a "backup and restore" > "Restore ALL (Be careful)"
- Got some errors ... decided to go back to cm91
- When I try to reinstall cm91 via CWM I get the following:
Code:
assert failed: getprop("ro.product.device") == "galaxys" || getprop("ro.build.product") == "galaxys" || ... [more similar statements]
E: Error in /mnt/sdcard/cm-9.1.0-galaxysmtd.zip
(Status 7)
Installation aborted
Seems like the "Restore ALL" step messed up with something fundamental... does anyone have a clue in what direction I can go to resolve this? I have been searching frantically for answers but usually a "status 7" is a result from an outdated cwm or such (NOTE: I did manage to successfully install before everything went sour)
Thanks!
Hello guys!!
I need help with my german phone "Mobistel cynus e1".
The main problem is
Code:
in the update.zip file (updater-script) I don't know what to delete from it! Pls can anyone help me? (This is my first post in xda-dev).
Code:
mount("ext4", "EMMC", "/dev/block/mmcblk0p6", "/system");
assert(file_getprop("/system/build.prop", "ro.build.fingerprint") == "Mobistel/Mobistel/Mobistel:4.2.2/JDQ39/1381233679:user/test-keys" ||
file_getprop("/system/build.prop", "ro.build.fingerprint") == "Mobistel/Mobistel/Mobistel:4.2.2/JDQ39/1392255987:user/test-keys");
assert(getprop("ro.product.device") == "Mobistel" ||
getprop("ro.build.product") == "Mobistel");
ui_print("Verifying current system...");
show_progress(0.100000, 0);
assert(apply_patch_check("/system/app/APKInstaller.apk", "8d91ea32d2dde517ba2e012343509b57cf6b45de", "f3d69f2c89adaeb269f9407ebb28fba83e0a0fe0"));
set_progress(0.000059);
assert(apply_patch_check("/system/app/APKInstaller.odex", "3ec9cbbe637db3c672a21da051e4cd28fb9d1754", "507bef62b93d3851cfefafb0d804eff91ab71216"));
set_progress(0.000166);
assert(apply_patch_check("/system/app/AdupsFota.apk", "fdc7e17eea3374149b4bcc68314c5285b992011a", "54f7515f88f6a74f5744342437d6eadd44c3a05a"));
set_progress(0.001372);
assert(apply_patch_check("/system/app/ApplicationGuide.odex", "38e4b7bfc54cdb20231217ae28fdb1797eb98985", "aee5ff57c0e318ac42fba8f5087e0f321dc58bda"));
set_progress(0.001467);
assert(apply_patch_check("/system/app/ApplicationsProvider.apk", "7d8a063160429aed03dedc5456eb8e2cb7b94a34", "75111070391d59bec64c4a0d87f0ad0082b2334c"));
set_progress(0.001583);
assert(apply_patch_check("/system/app/ApplicationsProvider.odex", "051a7d0462195fc972909057ef26b2a0f3aaaef9", "95b6eb74f28ec492d5f2c96be37d81b6d8d14e04"));
set_progress(0.001740);
assert(apply_patch_check("/system/app/BackupRestoreConfirmation.apk", "a10d3ded460bf739e029ab8c427c3d6adaa96334", "5ffbe0493ab62cd1e8f90f65cc2a5438a42e5538"));
set_progress(0.002052);
assert(apply_patch_check("/system/app/BackupRestoreConfirmation.odex", "c46aa2f69ecceb629dfb06bb4d752556fb664f37", "6e6c4839870cf1fb340693ba5f545ef02bf03fcc"));
set_progress(0.002121);
assert(apply_patch_check("/system/app/BasicDreams.apk", "f17f0bab2a8e5afa66b55697ef491c122c4291aa", "523f5f4f4e3457de394ad835602068d4c165cc0a"));
set_progress(0.002238);
assert(apply_patch_check("/system/app/BasicDreams.odex", "f2c424f93207fbad9e99eb51f497a09fe9e8b191", "6df28b135968fbd14cdb25060fd02ba649a22c8d"));
set_progress(0.002353);
assert(apply_patch_check("/system/app/BatteryWarning.apk", "3cc0040b6446004840cfa1d18917a8661d1343b7", "70de144d0b84da012ddad10e31bfde357dab8ed5"));
set_progress(0.002669);
assert(apply_patch_check("/system/app/BatteryWarning.odex", "c08a0e264b3a28c900574bce1185532aab481af8", "2358bb4606b897594be17a6c7cae7e860549d4ad"));
set_progress(0.002728);
assert(apply_patch_check("/system/app/Browser.apk", "103d017d3707465e8d0159500dadde040b458141", "ed0750c9a2f85e470190224f39b341b96088691e"));
set_progress(0.012856);
assert(apply_patch_check("/system/app/Browser.odex", "6fd595bad5d7896f67dcbe58970b95d95845d4c0", "84edd89c4956e604b428bcd417956521a3742249"));
set_progress(0.029913);
assert(apply_patch_check("/system/app/CDS_INFO.odex", "b1de63faa78337139dfde8f26034f99f3e989585", "024f5d271a1e6028cc2e8c2482ac62e9c1ba9eda"));
set_progress(0.030656);
assert(apply_patch_check("/system/app/Calculator.apk", "025b94461ba389f61aa9ebdde8d676b219ed4adb", "14bb8bf19982bc7d8fb3e2ff6eb74f665bd90ad2"));
set_progress(0.031343);
assert(apply_patch_check("/system/app/Calculator.odex", "cc3cafb4144e6b16e9a3434dca0a31e6273b32b2", "d57522bb487021262b9db5849725159b8b2e45f0"));
set_progress(0.043388);
assert(apply_patch_check("/system/app/Calendar.apk", "a171e802486fa52a6c8fc1a20bb14ee7ad939abf", "72ee6f3995b3e0c2e3726950a228446966498551"));
set_progress(0.047195);
assert(apply_patch_check("/system/app/Calendar.odex", "23e7315390897d40250712f22c67f587fb6b2fb0", "98c063f38419c3aedf0bfac411d660524b15967e"));
set_progress(0.055795);
assert(apply_patch_check("/system/app/CalendarImporter.odex", "9c0b55919fcb919b69ce95ebc6bbeefccf7c9601", "9437b4ac5ecd1a98641bccc6441ea48d7781c941"));
set_progress(0.057599);
assert(apply_patch_check("/system/app/CalendarProvider.apk", "e009e5af702ec5c821edc916ea9804b687c32da6", "cbd27f8c1553fb7cc7ac162d233101f9f5b62e09"));
set_progress(0.057852);
assert(apply_patch_check("/system/app/CalendarProvider.odex", "b492e703a2ce1e3c18b6f6c5a1c4a733e859a0bf", "2fc246d8d88f93a3d023f1f74740c40b2da53d68"));
set_progress(0.069117);
assert(apply_patch_check("/system/app/CellConnService.apk", "962f0761cce589861ca2cbeb094fe641cd3f62a8", "393ef21f97a6191e27c0dec139192feffdc59435"));
set_progress(0.069430);
assert(apply_patch_check("/system/app/CellConnService.odex", "5ccadbddb5ff531b030d571fb89af8e54b10cefd", "26d1758cc4a36dc2c93de22ff7e24e5eb9fef233"));
set_progress(0.069779);
assert(apply_patch_check("/system/app/CertInstaller.apk", "42d95c989c80e342ac4914d1265ba6804680c6a4", "7c823dc90ab45542f96489255f6c820d418c0eb3"));
set_progress(0.070131);
assert(apply_patch_check("/system/app/CertInstaller.odex", "480595c2d3f8cc733b96a9ed2f705103f878c321", "6ca7e0e236059956909cebf890034d75143889c8"));
set_progress(0.070388);
assert(apply_patch_check("/system/app/Contacts.apk", "2a4ddc64bf90ea33514f563a692b918f5ed4c9f8", "b91f9eeca592090905573b5d8bb9c017b22ca067"));
set_progress(0.082291);
assert(apply_patch_check("/system/app/Contacts.odex", "342bcc0cd830eb9898faf9a31ed853d1b771da14", "c45df2a4096b393e80769cb06116cbad5dc53f35"));
set_progress(0.107545);
assert(apply_patch_check("/system/app/ContactsProvider.apk", "fc34b4159f319184e9191f4290122c2f703bc474", "ade0279d799e1e74bc9c4f369aa9320d4f32ca0c"));
set_progress(0.107960);
assert(apply_patch_check("/system/app/ContactsProvider.odex", "fec33e5b205b30b11fe61fa36f04d22320f8ba93", "befb4a0d0ff9494611e223f466f801fb14cc4218"));
set_progress(0.122355);
assert(apply_patch_check("/system/app/DataTransfer.odex", "f7b8db584dc291114091872c62539eb8ae63b163", "8f025a8a1f2024bc10aa252d62f21a16c660218a"));
set_progress(0.127334);
assert(apply_patch_check("/system/app/DefaultContainerService.apk", "cb67dacd4a757fe714b04b7052e2f9e2d2cd9569", "4adbdc49a52fa1a339073a54dce1902f9e47bfa9"));
set_progress(0.127370);
assert(apply_patch_check("/system/app/DefaultContainerService.odex", "63f7e54f19b644fce2dcba6844bfb92379e78600", "c7c78d0335c9bda45b7f0b7ecea8fa670d2ccd68"));
set_progress(0.127493);
assert(apply_patch_check("/system/app/DeskClock.odex", "16dd2a1022d718a9f3da1c0c75e22c6e617efcf2", "ee2036e0b7ef6e549a2093d9a68401caa4b46617"));
set_progress(0.132151);
assert(apply_patch_check("/system/app/DownloadProvider.apk", "2a0ee15889eca116d7596a5d295741094e75cb5e", "a02333d51bd9fc0094819bb880fb350c92697bf5"));
set_progress(0.132778);
assert(apply_patch_check("/system/app/DownloadProvider.odex", "25ecab67cc04d984ef0ee826eca62fdab546bff5", "e0fd7f93063693bbdef7de094a59257f16d35789"));
set_progress(0.142979);
assert(apply_patch_check("/system/app/DownloadProviderUi.apk", "a5c5c566a90b9ae24fa0194e8ee5a163776cf6d5", "7fc7a8160d9035b3bf56ac9fffbc0dca6b9ae22e"));
set_progress(0.143735);
assert(apply_patch_check("/system/app/DownloadProviderUi.odex", "7a0b5500a949dd8ff52e9512e261acce3d2eb97a", "8bfb573de92a810b3f7e53f8800c0f9b9565e87c"));
set_progress(0.144172);
assert(apply_patch_check("/system/app/DrmProvider.apk", "77da9c8436868f0432d76332718588fb5d37ff11", "7bf89f58e50e38440d178507f6075a0a994d4348"));
set_progress(0.144254);
assert(apply_patch_check("/system/app/DrmProvider.odex", "bfec78a921264cf0d3c281becb9529dff8a20dcc", "91c703594cfed7714f1152b326333b95cea7f8df"));
set_progress(0.144494);
assert(apply_patch_check("/system/app/Email.odex", "0292c287049dcabc8366dfdbeb021559cf2ece4a", "03ec6d2ebf7f0054e502586c414b80ec64529975"));
set_progress(0.166854);
assert(apply_patch_check("/system/app/EngineerCode.odex", "13c5f87dff8593452e56ba85091c87ae36bb70df", "8349c9eb7c7655f5d59cb21154fcb7e50ca6e19d"));
set_progress(0.167576);
assert(apply_patch_check("/system/app/EngineerMode.odex", "ca463b82c811cf76c96313584c17b95e10cda90d", "17ebb8ef9763c67b8926197a9e918e5be37fe8c6"));
set_progress(0.175668);
assert(apply_patch_check("/system/app/EngineerModeSim.apk", "3262b5c94c97550408f3094134ce1599ac0d5c09", "1860b41b4774de8cb02ec98d80dd8c3c2877a75b"));
set_progress(0.175826);
assert(apply_patch_check("/system/app/EngineerModeSim.odex", "f93d764d7fc3c956a40b6e009b97e0d28373cbc8", "13ee5fca82f74a81adbbbaf7bd76c18d1ea2513d"));
set_progress(0.176376);
assert(apply_patch_check("/system/app/Exchange2.odex", "f11ed6243c4a73da8c88c7652abfa2b98a880e11", "d40596c30482a3de62bfedd48237be591980a339"));
set_progress(0.193531);
assert(apply_patch_check("/system/app/FMRadio.odex", "9a4180b4bd2d9d856ece3418aca50f7c5beaee21", "6d2a35760f411db892ee1e57b370755d395674bd"));
set_progress(0.194550);
assert(apply_patch_check("/system/app/FileManager.apk", "51040738596ad873b00e7751ff32b950777121c3", "1576db2e70fbac3e7c75b6c4c10d85eff4b3494a"));
set_progress(0.195551);
assert(apply_patch_check("/system/app/FileManager.odex", "4abe1b11d8acb561157987eaba5bde375a5f12ab", "94cf03fd7bf846044b32c78198554983a079dbb7"));
set_progress(0.196554);
assert(apply_patch_check("/system/app/FusedLocation.apk", "bd4579c78a3943fbfcfef5816b37236bd82e5340", "a574617ec37590575e0092f5c8f21689cc0b9d96"));
set_progress(0.196574);
assert(apply_patch_check("/system/app/FusedLocation.odex", "e832b990c8735407a18c20f3ff264187f911e2db", "762036df37fe5ba009229159e3eab60e27038aa9"));
set_progress(0.196645);
assert(apply_patch_check("/system/app/Galaxy4.odex", "0d39a4676aec1860cfa61dc7cc831c81868d7bf1", "6fa5ffecd87f87b672a22f23b214330a0a1b03da"));
set_progress(0.196877);
assert(apply_patch_check("/system/app/Gallery2.apk", "3fc2b874d8bbf4c93b74f0946f177384eeeb9fe9", "d2b82fb655128ae4e4baa6351a0cde101e2c7937"));
set_progress(0.225370);
assert(apply_patch_check("/system/app/Gallery2.odex", "5ccb495a21dca7b5a39e362c9eea96fcd82a29f8", "6d50fff23b63a21efd929bfdbf8d35493d10668a"));
set_progress(0.245049);
assert(apply_patch_check("/system/app/HTMLViewer.apk", "826685183b2b8fc7851de1a0e19a166deab59434", "69a9ce803dda3eb464fdd947285595ada0d1f322"));
set_progress(0.245085);
assert(apply_patch_check("/system/app/HTMLViewer.odex", "4c24726015cfd486b1b3ab049a2b0e0f06ef59e6", "25b8f13ca3d4b85c6706f8b2bef3a53c408fbdbb"));
set_progress(0.245130);
assert(apply_patch_check("/system/app/HoloSpiralWallpaper.apk", "9c63c409fead8fcb6d5abfe48876b8772783f2de", "6893fa497c157fce9dc5ffefe240af77e55b5854"));
set_progress(0.245339);
assert(apply_patch_check("/system/app/HoloSpiralWallpaper.odex", "9cd1a5f8999836adc9556008792ae267b1c63016", "b369bd555b2c1ed662c75a9aaa88d2fb4d314ad4"));
set_progress(0.245569);
assert(apply_patch_check("/system/app/KeyChain.apk", "826cdf9a2ff777ebce9631f3957496601a0e425f", "9f721fbc3de9856417c36abe828c0a9e2eac4c79"));
set_progress(0.245744);
assert(apply_patch_check("/system/app/KeyChain.odex", "1933c49145bc42d8a651dc3de8e21513fe3db824", "26215c1b1f13be8a03677a9afa7eb68d3a8ad070"));
set_progress(0.245923);
assert(apply_patch_check("/system/app/LatinIME.apk", "32d9696de577164cb82d868264af69dcd6ad7aaa", "2cf8d98982aab2f60fbb2fd833edc64d4e9080e1"));
set_progress(0.305295);
assert(apply_patch_check("/system/app/LatinIME.odex", "6da15603fc0675ed957465029f0283494ede3222", "a1533c41def85ea3367238df8a3165e29b2d5eaf"));
set_progress(0.312185);
assert(apply_patch_check("/system/app/Launcher2.apk", "0a836b4413b10ae94c1b18ae8ee8041d82c4be82", "5d6fdf996d82ff9680de6b89a3c8c75ca1304eca"));
set_progress(0.409046);
assert(apply_patch_check("/system/app/Launcher2.odex", "beff3921ef1dbf265f2d36f96927933cc9491de4", "629fb849d1f6cd4815a6433af2705e6ed03f30b3"));
set_progress(0.416091);
assert(apply_patch_check("/system/app/LiveWallpapers.apk", "22ef28da8a9e80d1b5f191dd83925bd00945150a", "68074b473cca59fecdd6d1a01b912b9e27cca758"));
set_progress(0.422195);
assert(apply_patch_check("/system/app/LiveWallpapers.odex", "63e7af9bf3c6a841f05a5b7a38706c3f0512a8e7", "c8898308dcc8351123ce0d977f90de731401d204"));
set_progress(0.423664);
assert(apply_patch_check("/system/app/LiveWallpapersPicker.apk", "5c9953a592985b850e72d267b2be1ee365ad0d65", "eaf2ccb28cc9d7dd69c18b4c9db4a30c63d79241"));
set_progress(0.424507);
assert(apply_patch_check("/system/app/LiveWallpapersPicker.odex", "7ea3b696a082b0d9ffdf90012d37358922e8e235", "d8cd4f4f74db51cbd0ed17415b6978d39c7f40a6"));
set_progress(0.424680);
assert(apply_patch_check("/system/app/MTKAndroidSui
Hi, i've an asus zenfone zd551kl (Z00T) , normally i've stock rom rooted and twrp, but yesterday i tested lineage 15.1 , i prefer original so i wanted to reinstall stock rom (i've last and first stock rom zip file in sd card) , but impossible to install in twrp because buid date error
So i'tryed to modify updater script
I remove these first line
(!less_than_int(1510301727, getprop("ro.build.date.utc"))) || abort("Can't install this package (2017年 11月 10日 星期五 16:15:27 CST) over newer build (" + getprop("ro.build.date") + ").");
(greater_than_int(getprop("ro.build.date.utc"), 1461682074)) || abort("Can't install this M package (2017年 11月 10日 星期五 16:15:27 CST) L less than 20160426 build (" + getprop("ro.build.date") + ").");
Click to expand...
Click to collapse
i save, re-zip, and retry.
this time i've a SKU error.. so i delete the line
ui_print("Device image SKU:");
ui_print(getprop("ro.build.asus.sku"));
ui_print("OTA image SKU: WW");
getprop("ro.build.asus.sku") == "WW" || abort("Please use the right SKU for updating...");
Click to expand...
Click to collapse
i save, re-zip, and retry..
this time "updater process ended.. signal 11" an updater script problem.
Someone can help me to fix it please? With no pc i'm on tablet, i put files on phone with otg flash disk
So I got this file from a thread on XDA a few months back. The thread has been closed and the user who modified this zip file it's no longer on here. This file can be flashed successfully on Android 12 to get full read and write permissions. I tried to flash it and TWRP on Android 13 and it failed. Wondering if anybody is able to modify this to work on Android 13?
chairman011 said:
So I got this file from a thread on XDA a few months back. The thread has been closed and the user who modified this zip file it's no longer on here. This file can be flashed successfully on Android 12 to get full read and write permissions. I tried to flash it and TWRP on Android 13 and it failed. Wondering if anybody is able to modify this to work on Android 13?
Click to expand...
Click to collapse
I looked at it for the heck of it not knowing anything about it. It didn't include the system_ext img and sdk check didn't include 33 for Android 13 so I added both:
sdkCheck(){
sdkVersion=`getprop ro.build.version.sdk`
if (( $sdkVersion < 29 )); then
printf "$app: Please install Android 10 or newer and try again\n\n"; exit 1
elif (( $sdkVersion == 29 )); then
android=10
elif (( $sdkVersion == 30 )); then
android=11
elif (( $sdkVersion == 31 )); then
android=12
elif (( $sdkVersion == 32 )); then
android=12
elif (( $sdkVersion == 33 )); then
android=13
else
printf "$app: Your Android version is not supported yet. Abort\n\n"; exit 1
fi
printf "$app: Current Android version: %s\n" $android
}
and example:
if [[ "$imgName" == *"system"* || "$imgName" == *"product"* || "$imgName" == *"system_ext"* || "$imgName" == *"vendor"* ]]; then makeRW $fName;
vol=`tune2fs -l $i 2>/dev/null | grep "volume" | awk '{print $NF}'`
if [[ "$vol" == "/" || "$vol" == "product" || "$vol" == "system_ext" || "$vol" == "vendor" ]];
I personally wouldn't flash this but those are the only type changes I made to this.
Thanks I'll give it a shot I appreciate it
Dang I get this error I might just go back to android 12 til they update this to work properly on 13 thank you for your time and effort
chairman011 said:
Dang I get this error I might just go back to android 12 til they update this to work properly on 13 thank you for your time and effort
Click to expand...
Click to collapse
Probably best. I did read, however, that sometimes you have to change the size in the config.ini in the zip (currently set at "size=20"). It seems to say you don't have enough room on your phone.
Tulsadiver said:
Probably best. I did read, however, that sometimes you have to change the size in the config.ini in the zip (currently set at "size=20"). It seems to say you don't have enough room on your phone.
Click to expand...
Click to collapse