FREE Weekly Newsletter for High On Android Users!

Stay ahead of the pack with our newsletter and receive "Video of the Week", get free help from author, get FREE tips/tricks for your phone, stay updated on what's HOT with Android right now. You will also be entered into our Smartphone Giveaways automatically.

Get your dose of High On Android News Today!


*Note - We do not share your e-mail with anyone else. You can unsubscribe any time.
Subscriber Counter

How To Fix Status 7 Error with CWM Recovery on Rooted Android!

Download this video for viewing in HD on your smartphone or computer.
Click Here to Download High-Quality HD video to your Smartphone or Computer.

When installing certain custom ROMs on rooted Android smartphones or tablets, you will encounter “Status 7″ error issues once in awhile with ClockworkMod (CWM) Recovery.

Status 7 error is caused while the ROM’s updater script file checks to see if the phone model of your phone is compatible with the ROM you are installing, called “asserts”.

“Asserts” is a safety mechanism so you don’t accidentally install another phone model ROM on your phone.  E.g. You tried to install Galaxy S2 ROM on a Galaxy S3 and ending up hard-bricking your phone but you got Status 7 error which saved you.

Now, this safety mechanism is great but there are times where even if you have the correct ROM for your phone, you will get Status 7 error.

This is due to an error by the developer of the ROM in the updater script, causing havoc, making people install another custom recovery like TWRP recovery for no reason.

You can fix the issue by installing TWRP recovery but if you need to restore your CWM backups later down the line, you will have to re-install CWM recovery, causing a big hassle.

Also, if you update to the latest CWM Recovery using ROM Manager, usually this problem is fixed.

But what if you did update to the latest CWM Recovery and still happens?  And yes, it does happen even when you update your CWM recovery.

If you simply don’t want to change your recovery (because if it ain’t broke, don’t fix it) or you still get Status 7 error after changing recovery, you can simply edit the updater script yourself to get rid of the asserts.

All you need is a computer and a zipping program! (You might be able to even do it on your Android device with AndroZip and text editor but I haven’t tried yet.)
MAKE SURE THE ROM YOU ARE INSTALLING IS COMPATIBLE WITH YOUR ANDROID DEVICE AS INSTALLING WRONG ROM CAN BRICK YOUR DEVICE!

Before we begin,   e.g. Make sure if you are installing a ROM on AT&T Galaxy S3, the ROM zip file you downloaded is for AT&T Galaxy S3 not for Verizon Galaxy S3.

Step 1. Copy the ROM zip file to your computer and extract it using your favorite unzipping software.

Step 2. Once unzipped, browse to the META-INF/com/google/android directory.   You will find two files called “update-binary” and “updater-script”.

Step 3. Rename “updater-script” to “updater-script.txt” and open with your favorite text file editor.

Step 4. Get rid of the line starting with “assert” to  next semi-colon.  Usually this is the first line or one of the first lines at the top of the text file.

Step 5. Save file.

Step 6. Rename “updater-script.txt” back to “updater-script”.

Step 7. Rezip all the files you’ve unzipped.

Step 8. Copy the new, edited zip file to your phone.

Step 9. Try re-installing ROM, now it should install fine without Status 7 error.

That was easy right?  And you learned a few things about how ROM zip files work, the updater script file you just edited pretty much controls everything that’s installed to your phone.

 

 

HighOnAndroid Facebook Page <--- If you like this post, please Like Our Facebook Page Here, thx!

Want to contact me?
Add me on:
GooglePlus
Facebook
Twitter
Want to stay updated on latest Android news and tips?
Sign up for our High On Android Newsletter here so you don't miss a single tip!

50 Responses to How To Fix Status 7 Error with CWM Recovery on Rooted Android!

  1. Julio (mexico) says:

    Shostock3 rom I use and would like to have another different rom with these steps and could have AOKP without any problem? need android 4.2.2

  2. tarush (india) says:

    i was not able to avoid the status 7 error. it showed up again. i was downloading pacman rom for galaxy s3. please help.

  3. tarush (india) says:

    i did the same thing but it did not work please help me i cant change my rom now.
    :(

  4. Pingback: [GUIDA] Creazione di una ROM - metodo semplice - Pagina 6 - Forum Android Italiano

  5. Victoria says:

    My phone doestnt have a ROM or OS software let alone a filemanager and i want to put it on there. I bought it from china an unlocked galaxy s3 i9300..what do i do???

  6. Matrox says:

    Tried it several times and still didn’t work. I was trying to install it on SGH-T999. Gave up and went with a different ROM

  7. Alex says:

    nothing, same shit..

  8. jonathan says:

    hello friend, I have a samsung captivate running CM9 and I happen to aokp_captivatemtd_jb_milestone-1 (1), I get the error (status 7).
    Try this in your video tutorial and fails to add. txt file then I could edit the file with notepad, but reinstall gave aborted mistake.
    I appreciate your help

  9. pip says:

    I’ve watched all your videos for my HTC One X. And I still get this error.

    I’ve flashed a few Samsung devices, but this HTC seems difficult.

  10. Cmba Tamu says:

    Hi friend.I have samsung galaxy y duos.I have installed ics rom but it stucked.I tried to install its old rom but it says installation abortion.what can i do.plz… help

  11. yash sehgal says:

    Thanks for posting this wonderful tutorial.It worked well and I was able to install Pandroid Rom on my S3 without having to change recovery :)

  12. Pingback: [HELP MODDING GT-I9505] Thread su aiuti e malfunzionamenti relativi a modding GS4 - Pagina 132 - Forum Android Italiano

  13. leardas says:

    my updater-script looks nothing like yours

    ui_print(“Installing Google Apps for Android 4.2.2..”);
    ui_print(” “);
    ui_print(“Mounting system…”);
    run_program(“/sbin/busybox”, “mount”, “/system”);
    show_progress(1, 15);
    delete(“/system/app/Provision.apk”,”/system/app/QuickSearchBox.apk”,”/system/app/SetupWizard.apk”,”/system/app/Velvet.apk”,”/system/app/Vending.apk”,”/system/app/BrowserProviderProxy.apk”,”/system/app/PartnerBookmarksProvider.apk”,”/system/app/Gmail2.apk”,”/system/app/GoogleEars.apk”);
    ui_print(“Copying files…”);
    package_extract_dir(“system”, “/system”);
    set_perm(0, 0, 0755, “/system/addon.d/70-gapps.sh”);
    package_extract_dir(“optional”, “/tmp”);
    package_extract_file(“install-optional.sh”, “/tmp/install-optional.sh”);
    set_perm(0, 0, 0777, “/tmp/install-optional.sh”);
    run_program(“/tmp/install-optional.sh”, “”);
    show_progress(1, 15);
    ui_print(“Fixing Permissions…”);
    set_perm_recursive(0, 0, 0755, 0644, “/system/app”);
    ui_print(“Unmounting system…”);
    run_program(“/sbin/busybox”, “umount”, “/system”);
    ui_print(“Installation complete!”);

  14. Maji says:

    Ok that got rid of the status 7 error but now I keep receiving a status 4 error. WTDN?

  15. loopingz says:

    How do I copy my modified rom if my phone cant boot anymore?

  16. huzaifa says:

    flash stock rom first and then flash custom rom it worked for me

  17. aman says:

    guys every time you edit that updater script do it with notepad and i m sure i will work…:)

  18. Ruben Diaz says:

    So, technically i can use this to install an i9100 file on my i777?

    • Max Lee says:

      thats not the intended purpose as u can hard brick phones but it is safe to flash i9100 roms on i717. this is to fix developers error when wrong asserts are put on the rom.

  19. Ruben Diaz says:

    Makes sense… Thanks a lot

  20. steve says:

    thanks. worked for me.

  21. Torklan says:

    Nice guide. A tiny problem though; my Stock ROM only includes the following:
    - – - – -
    boot.bin
    cache.img
    factoryfs.img
    hidden.img
    modem.bin
    param.lfs
    Sbl.bin
    zImage
    - – - – -

    Any way to get this one working?

  22. Kasper says:

    cant get the updater-skript to go back just as a file , how do i solve this ? when i enter .txt i cant go back to being just a file :/

    • Andrey says:

      open the file location in windows explorer, on the toolbar open Tools>Folder options…>View then disable “Hide extensions for known file types”.

  23. Andrew says:

    Hey Max,

    Thanks for keep us all high on android! I am trying this method with the Resurrection Remix 4.0.5 and I am getting no where. Error 6 or it just aborts instullation. I’ve tried several zipping programs and text editors.. Any Ideas? Does anyone have a link to RR 4.0.5 i777 ready to go download?

    Thanks,
    A

  24. Jim W says:

    You didn’t say anything about how to work around the e-signature verification, which fails now that the updater-script file has been modified. There is no way I can find to disable the verification when side-loading the update, so the verification fails and the installation is again, aborted.

    • Joop deBruin says:

      Good point. Also some of these scripts have many asserts (ahem, Nexus 7) and this HowTo isn’t specific enough to guide users through.

      It needs to be updated for many devices.

      Actually TWRP is so much better than Clockwork, I prefer to help people change over to TWRP as it is a better long term cure.

  25. Didie Ahmad says:

    assert(getprop(“ro.product.device”) == “trebon” || getprop(“ro.build.product”) == “trebon” || getprop(“ro.product.board”) == “GT-S7500″ || getprop(“ro.product.model”) == “GT-S7500″);
    ui_print(“——————————–”);
    ui_print(“——————————–”);
    ui_print(“——-INSPIRATION_ROM_V17——”);
    ui_print(“——–TOUCHWIZ_EDITION——–”);
    ui_print(“—————By—————”);
    ui_print(“———–KK9999GADA———–”);
    ui_print(“——————————–”);
    ui_print(“——————————–”);

    #Format_system
    ui_print(“Unmounting Partitions”);
    show_progress(0.1, 0);
    unmount(“/system”);
    unmount(“/cache”);
    unmount(“/data”);
    show_progress(0.1, 1);

    show_progress(0.1, 2);
    ui_print(“Formatting System”);
    format(“ext4″, “EMMC”, “/dev/block/mmcblk0p16″);
    mount(“ext4″, “EMMC”, “/dev/block/mmcblk0p16″, “/system”);
    format(“ext4″, “EMMC”, “/dev/block/mmcblk0p17″);
    mount(“ext4″, “EMMC”, “/dev/block/mmcblk0p17″, “/cache”);
    format(“ext4″, “EMMC”, “/dev/block/mmcblk0p18″);
    mount(“ext4″, “EMMC”, “/dev/block/mmcblk0p18″, “/data”);

    ui_print(“Installing System”);
    show_progress(0.1, 3);
    #Install_system
    package_extract_dir(“system”, “/system”);
    package_extract_dir(“data”, “/data”);
    ui_print(“Installed System”);
    show_progress(0.1, 4);

    ui_print(“Symlinking”);
    show_progress(0.1, 5);
    #Symlink
    symlink(“/system/media/bootsamsungloop.qmg”, “/system/media/bootsamsung.qmg”);
    symlink(“toolbox”, “/system/bin/cat”, “/system/bin/chmod”, “/system/bin/chown”, “/system/bin/cmp”, “/system/bin/date”, “/system/bin/dd”,
    “/system/bin/df”, “/system/bin/dmesg”, “/system/bin/getevent”, “/system/bin/getprop”, “/system/bin/hd”, “/system/bin/id”,
    “/system/bin/ifconfig”, “/system/bin/iftop”, “/system/bin/insmod”, “/system/bin/ioctl”, “/system/bin/ionice”, “/system/bin/kill”,
    “/system/bin/ln”, “/system/bin/log”, “/system/bin/ls”, “/system/bin/lsmod”, “/system/bin/mkdir”, “/system/bin/mount”,
    “/system/bin/mv”, “/system/bin/nandread”, “/system/bin/netstat”, “/system/bin/newfs_msdos”, “/system/bin/notify”,
    “/system/bin/printenv”, “/system/bin/ps”, “/system/bin/reboot”, “/system/bin/renice”, “/system/bin/rm”, “/system/bin/rmdir”,
    “/system/bin/rmmod”, “/system/bin/route”, “/system/bin/schedtop”, “/system/bin/sendevent”, “/system/bin/setconsole”,
    “/system/bin/setprop”, “/system/bin/sleep”, “/system/bin/smd”, “/system/bin/start”, “/system/bin/stop”, “/system/bin/sync”,
    “/system/bin/top”, “/system/bin/umount”, “/system/bin/vmstat”, “/system/bin/watchprops”, “/system/bin/wipe”);
    symlink(“busybox”, “/system/xbin/[” , “/system/xbin/[[” , “/system/xbin/dc” , “/system/xbin/dd” , “/system/xbin/cp” , “/system/xbin/df” ,
    “/system/xbin/ed” , “/system/xbin/du” , “/system/xbin/id” , “/system/xbin/ip” , “/system/xbin/ln” , “/system/xbin/ls” , “/system/xbin/mv” ,
    “/system/xbin/od” , “/system/xbin/ps” , “/system/xbin/rm” , “/system/xbin/sh” , “/system/xbin/tr” , “/system/xbin/vi” , “/system/xbin/wc” ,
    “/system/xbin/arp” , “/system/xbin/ash” , “/system/xbin/awk” , “/system/xbin/cal” , “/system/xbin/cat” , “/system/xbin/cmp” , “/system/xbin/cut” ,
    “/system/xbin/env” , “/system/xbin/pwd” , “/system/xbin/sed” , “/system/xbin/seq” , “/system/xbin/tac” , “/system/xbin/tar” , “/system/xbin/tee” ,
    “/system/xbin/top” , “/system/xbin/tty” , “/system/xbin/yes” , “/system/xbin/catv” , “/system/xbin/date” , “/system/xbin/cpio” , “/system/xbin/diff” ,
    “/system/xbin/echo” , “/system/xbin/dnsd” , “/system/xbin/find” , “/system/xbin/expr” , “/system/xbin/fold” , “/system/xbin/free” , “/system/xbin/head” ,
    “/system/xbin/grep” , “/system/xbin/gzip” , “/system/xbin/kill” , “/system/xbin/less” , “/system/xbin/lzop” , “/system/xbin/more” , “/system/xbin/nice” ,
    “/system/xbin/ntpd” , “/system/xbin/ping” , “/system/xbin/rdev” , “/system/xbin/tail” , “/system/xbin/sort” , “/system/xbin/test” , “/system/xbin/tftp” ,
    “/system/xbin/stat” , “/system/xbin/time” , “/system/xbin/stty” , “/system/xbin/sync” , “/system/xbin/true” , “/system/xbin/uniq” , “/system/xbin/wget” ,
    “/system/xbin/zcat” , “/system/xbin/uudecode” , “/system/xbin/dos2unix” , “/system/xbin/uuencode” , “/system/xbin/dirname” , “/system/xbin/killall” ,
    “/system/xbin/unix2dos” , “/system/xbin/brctl” , “/system/xbin/chgrp” , “/system/xbin/chmod” , “/system/xbin/chown” , “/system/xbin/clear” ,
    “/system/xbin/cksum” , “/system/xbin/bzcat” , “/system/xbin/bzip2″ , “/system/xbin/dmesg” , “/system/xbin/egrep” , “/system/xbin/false” ,
    “/system/xbin/fdisk” , “/system/xbin/fgrep” , “/system/xbin/fuser” , “/system/xbin/lsmod” , “/system/xbin/lspci” , “/system/xbin/lsusb” ,
    “/system/xbin/mkdir” , “/system/xbin/mknod” , “/system/xbin/mount” , “/system/xbin/nohup” , “/system/xbin/patch” , “/system/xbin/pgrep” ,
    “/system/xbin/pidof” , “/system/xbin/pkill” , “/system/xbin/reset” , “/system/xbin/rmdir” , “/system/xbin/rmmod” , “/system/xbin/route” ,
    “/system/xbin/sleep” , “/system/xbin/split” , “/system/xbin/touch” , “/system/xbin/uname” , “/system/xbin/unzip” , “/system/xbin/watch” ,
    “/system/xbin/which” , “/system/xbin/xargs” , “/system/xbin/freeramdisk” , “/system/xbin/sha1sum” , “/system/xbin/traceroute” ,
    “/system/xbin/modprobe” , “/system/xbin/losetup” , “/system/xbin/killall5″ , “/system/xbin/strings” , “/system/xbin/chroot” ,
    “/system/xbin/mkfs.ext2″ , “/system/xbin/depmod” , “/system/xbin/devmem” , “/system/xbin/swapoff” , “/system/xbin/lzopcat” ,
    “/system/xbin/getopt” , “/system/xbin/mountpoint” , “/system/xbin/netstat” , “/system/xbin/gunzip” , “/system/xbin/insmod” ,
    “/system/xbin/length” , “/system/xbin/md5sum” , “/system/xbin/sha256sum” , “/system/xbin/mke2fs” , “/system/xbin/mkfifo” ,
    “/system/xbin/mktemp” , “/system/xbin/mkswap” , “/system/xbin/tune2fs” , “/system/xbin/ifconfig” , “/system/xbin/nslookup” ,
    “/system/xbin/sha512sum” , “/system/xbin/printf” , “/system/xbin/renice” , “/system/xbin/hexdump” , “/system/xbin/setsid” ,
    “/system/xbin/telnet” , “/system/xbin/swapon” , “/system/xbin/sysctl” , “/system/xbin/umount” , “/system/xbin/unlzop” ,
    “/system/xbin/uptime” , “/system/xbin/usleep” , “/system/xbin/whoami” , “/system/xbin/printenv” , “/system/xbin/run-parts” ,
    “/system/xbin/bbconfig” , “/system/xbin/readlink” , “/system/xbin/install” , “/system/xbin/basename” , “/system/xbin/realpath” ,
    “/system/xbin/bunzip2″);
    symlink(“/system/xbin/su”, “/system/bin/su”);
    symlink(“/system/bin/dumpstate”, “/system/bin/dumpmesg”);
    symlink(“/system/bin/debuggerd”, “/system/bin/csview”);

    show_progress(0.1, 6);
    ui_print(“Setting Permissions”);
    #Set_permissions
    set_perm_recursive(0, 0, 0755, 0644, “/system”);
    set_perm_recursive(0, 2000, 0755, 0755, “/system/bin”);
    set_perm_recursive(0, 0, 0755, 0755, “/system/etc”);
    set_perm_recursive(1002, 1002, 0755, 0440, “/system/etc/bluetooth”);
    set_perm_recursive(0, 2000, 0755, 0755, “/system/xbin”);
    set_perm_recursive(0, 0, 0755, 0755, “/system/usr”);
    set_perm(0, 2000, 0755, “/system/etc/bluetooth”);
    set_perm(0, 3003, 02755, “/system/bin/netcfg”);
    set_perm(0, 3004, 02755, “/system/bin/ping”);
    set_perm(1002, 1002, 0440, “/system/etc/dbus.conf”);
    set_perm(1014, 2000, 0550, “/system/etc/dhcpcd/dhcpcd-run-hooks”);
    set_perm(0, 2000, 0550, “/system/etc/init.goldfish.sh”);
    set_perm(0, 0, 06755, “/system/xbin/su”);
    set_perm_recursive(0, 0, 0755, 0644, “/system/lib/modules”);
    set_perm(0, 2000, 0755, “/system/bin/mm-audio-acdb-test”);
    set_perm(0, 2000, 0755, “/system/bin/mm-audio-alsa-test”);
    set_perm(0, 2000, 0755, “/system/bin/mm-venc-omx-test720p”);
    set_perm(0, 2000, 0755, “/system/bin/mm-video-encdrv-test”);
    set_perm (0, 0, 0755, “/data/tune2fs”);
    set_perm (0, 0, 0755, “/data/journaldisable”);
    set_perm(0, 0, 0644, “/system/etc/hosts”);
    set_perm_recursive(0, 0, 0755, 0644, “/system/lib/modules”);
    set_perm(0, 0, 04755, “/system/xbin/bash”);
    set_perm_recursive(0, 2000, 0755, 0750, “/system/etc/init.d”);
    set_perm(0, 1000, 0755, “/system/xbin/busybox”);
    set_perm(0, 0, 0777, “/system/bin/.ext”);
    set_perm(0, 0, 06755, “/system/bin/.ext/.su”);
    set_perm(0, 0, 06755, “/system/xbin/su”);
    set_perm(0, 0, 0644, “/system/app/Superuser.apk”);
    set_perm(0, 2000, 0755, “/system/bin/snd”);
    set_perm(0, 2000, 0755, “/system/bin/snd8k”);
    set_perm(0, 2000, 0755, “/system/bin/sound”);
    set_perm(0, 2000, 0755, “/system/bin/sound8x60″);
    set_perm(0, 2000, 0755, “/system/bin/basimage_gec.bin”);
    set_perm(0, 2000, 0755, “/system/bin/basimage_gec_x.bin”);
    set_perm(0, 2000, 0755, “/system/bin/basimage_ibeats.bin”);
    set_perm(0, 2000, 0755, “/system/bin/basimage_ibeats_solo.bin”);
    set_perm(0, 2000, 0755, “/system/bin/basimage_ibeats_solo_x.bin”);
    set_perm(0, 2000, 0755, “/system/bin/basimage_ibeats_x.bin”);
    set_perm(0, 2000, 0755, “/system/bin/dynimage_gec.bin”);
    set_perm(0, 2000, 0755, “/system/bin/dynimage_gec_x.bin”);
    set_perm(0, 2000, 0755, “/system/bin/dynimage_ibeats.bin”);
    set_perm(0, 2000, 0755, “/system/bin/dynimage_ibeats_solo.bin”);
    set_perm(0, 2000, 0755, “/system/bin/dynimage_ibeats_solo_x.bin”);
    set_perm(0, 2000, 0755, “/system/bin/dynimage_ibeats_x.bin”);
    set_perm(0, 2000, 0755, “/system/bin/peqimage_gec.bin”);
    set_perm(0, 2000, 0755, “/system/bin/peqimage_gec_x.bin”);
    set_perm(0, 2000, 0755, “/system/bin/peqimage_ibeats.bin”);
    set_perm(0, 2000, 0755, “/system/bin/peqimage_ibeats_solo.bin”);
    set_perm(0, 2000, 0755, “/system/bin/peqimage_ibeats_solo_x.bin”);
    set_perm(0, 2000, 0755, “/system/bin/ peqimage_ibeats_x.bin”);
    set_perm(0, 1000, 0755, “/system/etc/basimage_gec.bin”);
    set_perm(0, 1000, 0755, “/system/etc/basimage_gec_x.bin”);
    set_perm(0, 1000, 0755, “/system/etc/basimage_ibeats.bin”);
    set_perm(0, 1000, 0755, “/system/etc/basimage_ibeats_solo.bin”);
    set_perm(0, 1000, 0755, “/system/etc/basimage_ibeats_solo_x.bin”);
    set_perm(0, 1000, 0755, “/system/etc/basimage_ibeats_x.bin”);
    set_perm(0, 1000, 0755, “/system/etc/dynimage_gec.bin”);
    set_perm(0, 1000, 0755, “/system/etc/dynimage_gec_x.bin”);
    set_perm(0, 1000, 0755, “/system/etc/dynimage_ibeats.bin”);
    set_perm(0, 1000, 0755, “/system/etc/dynimage_ibeats_solo.bin”);
    set_perm(0, 1000, 0755, “/system/etc/dynimage_ibeats_solo_x.bin”);
    set_perm(0, 1000, 0755, “/system/etc/dynimage_ibeats_x.bin”);
    set_perm(0, 1000, 0755, “/system/etc/peqimage_gec.bin”);
    set_perm(0, 1000, 0755, “/system/etc/peqimage_gec_x.bin”);
    set_perm(0, 1000, 0755, “/system/etc/peqimage_ibeats.bin”);
    set_perm(0, 1000, 0755, “/system/etc/peqimage_ibeats_solo.bin”);
    set_perm(0, 1000, 0755, “/system/etc/peqimage_ibeats_solo_x.bin”);
    set_perm(0, 1000, 0755, “/system/etc/peqimage_ibeats_x.bin”);
    set_perm(0, 1000, 0755, “/system/lib/soundfx/libaudiopreprocessing.so”);
    set_perm(0, 1000, 0755, “/system/lib/soundfx/libbeatsbass.so”);
    set_perm(0, 1000, 0755, “/system/lib/soundfx/libbundlewrapper.so”);
    set_perm(0, 1000, 0755, “/system/lib/soundfx/libreverbwrapper.so”);
    set_perm(0, 1000, 0755, “/system/lib/soundfx/libsrsfx.so”);
    set_perm(0, 1000, 0755, “/system/lib/soundfx/libsrstb.so”);
    set_perm(0, 1000, 0755, “/system/lib/soundfx/libvisualizer.so”);
    set_perm(0, 1000, 0755, “/system/lib/soundfx/libvptwrapper.so”);

    show_progress(0.1, 10);
    show_progress(0.2, 0);
    ui_print(“Installing Kernel”);
    run_program(“/sbin/busybox”, “sh”, “/data/journaldisable”);
    assert(package_extract_file(“boot.img”, “/tmp/boot.img”),
    write_raw_image(“/tmp/boot.img”, “/dev/block/mmcblk0p8″),
    delete(“/tmp/boot.img”));
    show_progress(0.2, 5);
    ui_print(“Finalising Rom Installation”);
    ui_print(“Fixing Permissions”);
    set_perm(0, 0, 0777, “/tmp/fix_permissions”);
    run_program(“/tmp/fix_permissions”);
    delete(“/tmp/tmp/fix_permissions”);

    ui_print(“Unmounting Partitions”);
    #Finish_installation
    show_progress(0.2, 10);
    unmount(“/system”);
    unmount(“/data”);

    ui_print(“——————————–”);
    ui_print(“——————————–”);
    ui_print(“——Flashed Successfully——”);
    ui_print(“——Reboot Your Phone Now—–”);
    ui_print(“————–Enjoy————-”);
    ui_print(“——————————–”);
    ui_print(“——————————–”);

    Hi , what about this ?

  26. Chase C. says:

    Worked! Thanks, really helped

  27. Pingback: [MOD]Sprint to Virgin Mobile LTE/MMS FIX [WIP][CM/AOSP/TW] (Update 10-14) - Page 7 - Android Forums

  28. Stenly says:

    THX a lot! it helps me exactly how you wrote it :)

    ZOPO C2 – MIUI rom

  29. Pingback: How do I install Android 4.4 on a rooted Nexus 10 Using Android 4.2.2.... - Android Forums

  30. beni says:

    good tutor.. thxs a lot :)

  31. Pingback: Sony Ericsson Xperia ray & CM: Status 7 error | Ta2i4's Blog

  32. Pingback: Google Nexus Forum - Nexus 4, Nexus 5, Nexus 7, Nexus 10

  33. Sohil Memon says:

    Worked for me thanks alot man!

  34. SMcool says:

    Great tip! Now my problem is solved!

  35. Pingback: [Team Canjica] CyanogenMod 10.2 - Pagina 93 - Forum Android Italiano

  36. kenny says:

    well i removed the two assets from the pac rom on my galaxy s3 and all I get is an installation abort. help please?

  37. Reda says:

    Thank you, it work’s !!!

  38. Pranav says:

    Instead of going for all the complicated procedures…simply replace your clockworkmod recovery with twrp recovery. Even i was facing the same issue for weeks…this worked for me.

  39. chaincux says:

    thank you so much! I reinstalled the recovery and it works! XD
    you’re awesome

  40. robijas says:

    Hi i am noob whit all this.phone is Samsung galaxy s3 runing on CM11 KITKAT.Ewerything worked perfectly fine for a 4 month. Now it went in bootload on its own and stay there.I can go into recovery but fail to recognize sdcard, error to mount.Is it there way to fix this.Also when I try to flash from external card got status 7 error.It is t mobile s3 t999 phone .Any guide ,suggestion will help. Thanks

  41. raja ahmad says:

    PLEASE FIX IT….
    I USE GALAXY YOUNG(S5360)

    ui_print(“Installing JELLYBLAST V3…”);
    ui_print(” “);
    show_progress(0.1, 0);
    mount(“rfs”, “EMMC”, “/dev/block/stl19″, “/system”);
    delete_recursive(“/system”);
    package_extract_file(“check_data_app”, “/tmp/check_data_app”);
    set_perm(0, 0, 0777, “/tmp/check_data_app”);
    package_extract_dir(“system”, “/system”);
    ui_print(“Installing System Files”);
    set_perm_recursive(1000, 1000, 0771, 0644, “/data/app”);
    package_extract_dir(“system”, “/system”);
    symlink(“dumpstate”, “/system/bin/dumpcrash”);
    symlink(“toolbox”, “/system/bin/cat”);
    symlink(“toolbox”, “/system/bin/chmod”);
    symlink(“toolbox”, “/system/bin/chown”);
    symlink(“toolbox”, “/system/bin/cmp”);
    symlink(“toolbox”, “/system/bin/date”);
    symlink(“toolbox”, “/system/bin/dd”);
    symlink(“toolbox”, “/system/bin/df”);
    symlink(“toolbox”, “/system/bin/dmesg”);
    symlink(“toolbox”, “/system/bin/getevent”);
    symlink(“toolbox”, “/system/bin/getprop”);
    symlink(“toolbox”, “/system/bin/hd”);
    symlink(“toolbox”, “/system/bin/id”);
    symlink(“toolbox”, “/system/bin/ifconfig”);
    symlink(“toolbox”, “/system/bin/iftop”);
    symlink(“toolbox”, “/system/bin/insmod”);
    symlink(“toolbox”, “/system/bin/ioctl”);
    symlink(“toolbox”, “/system/bin/ionice”);
    symlink(“toolbox”, “/system/bin/kill”);
    symlink(“toolbox”, “/system/bin/ln”);
    symlink(“toolbox”, “/system/bin/log”);
    symlink(“toolbox”, “/system/bin/ls”);
    symlink(“toolbox”, “/system/bin/lsmod”);
    symlink(“toolbox”, “/system/bin/lsof”);
    symlink(“toolbox”, “/system/bin/mkdir”);
    symlink(“toolbox”, “/system/bin/mount”);
    symlink(“toolbox”, “/system/bin/mv”);
    symlink(“toolbox”, “/system/bin/nandread”);
    symlink(“toolbox”, “/system/bin/netstat”);
    symlink(“toolbox”, “/system/bin/newfs_msdos”);
    symlink(“toolbox”, “/system/bin/notify”);
    symlink(“toolbox”, “/system/bin/printenv”);
    symlink(“toolbox”, “/system/bin/ps”);
    symlink(“toolbox”, “/system/bin/reboot”);
    symlink(“toolbox”, “/system/bin/renice”);
    symlink(“toolbox”, “/system/bin/rm”);
    symlink(“toolbox”, “/system/bin/rmdir”);
    symlink(“toolbox”, “/system/bin/rmmod”);
    symlink(“toolbox”, “/system/bin/route”);
    symlink(“toolbox”, “/system/bin/schedtop”);
    symlink(“toolbox”, “/system/bin/sendevent”);
    symlink(“toolbox”, “/system/bin/setconsole”);
    symlink(“toolbox”, “/system/bin/setprop”);
    symlink(“toolbox”, “/system/bin/sleep”);
    symlink(“toolbox”, “/system/bin/smd”);
    symlink(“toolbox”, “/system/bin/start”);
    symlink(“toolbox”, “/system/bin/stop”);
    symlink(“toolbox”, “/system/bin/sync”);
    symlink(“toolbox”, “/system/bin/top”);
    symlink(“toolbox”, “/system/bin/umount”);
    symlink(“toolbox”, “/system/bin/uptime”);
    symlink(“toolbox”, “/system/bin/vmstat”);
    symlink(“toolbox”, “/system/bin/watchprops”);
    symlink(“toolbox”, “/system/bin/wipe”);
    set_perm_recursive(0, 0, 0755, 0644, “/system”);
    set_perm_recursive(0, 0, 0777, 0777, “/system/etc/init.d”);
    set_perm_recursive(0, 2000, 0755, 0755, “/system/bin”);
    set_perm(0, 3003, 06755, “/system/bin/ip”);
    set_perm(0, 3003, 02750, “/system/bin/netcfg”);
    set_perm(0, 3004, 02755, “/system/bin/ping”);
    set_perm(0, 2000, 06750, “/system/bin/run-as”);
    set_perm_recursive(1002, 1002, 0755, 0440, “/system/etc/bluetooth”);
    set_perm(0, 0, 0755, “/system/etc/bluetooth”);
    set_perm(1000, 1000, 0640, “/system/etc/bluetooth/auto_pairing.conf”);
    set_perm(3002, 3002, 0444, “/system/etc/bluetooth/blacklist.conf”);
    set_perm(1002, 1002, 0440, “/system/etc/dbus.conf”);
    set_perm(1014, 2000, 0550, “/system/etc/dhcpcd/dhcpcd-run-hooks”);
    set_perm(0, 2000, 0550, “/system/etc/init.goldfish.sh”);
    set_perm(0, 0, 04755, “/system/bin/bash”);
    symlink(“/system/bin/bash”, “/system/bin/sh”);
    show_progress(0.1, 10);
    set_perm(0, 0, 0777, “/system/bin/a2sd”);
    set_perm(0, 0, 0777, “/system/etc/init.d/00banner”);
    set_perm(0, 0, 0777, “/system/etc/init.d/01sysctl”);
    set_perm(0, 0, 0777, “/system/etc/init.d/02firstboot”);
    set_perm(0, 0, 0777, “/system/etc/init.d/04apps2sd”);
    set_perm(0, 0, 0777, “/system/etc/init.d/99complete”);
    set_perm(0, 0, 0777, “/system/bin/launcha2sd”);
    set_perm(0, 0, 0777, “/system/bin/starta2sd”);
    set_perm(0, 0, 0777, “/system/bin/jita2sd”);
    set_perm(0, 0, 0777, “/system/bin/chka2sd”);
    set_perm(0, 0, 0777, “/system/bin/zipalign”);
    set_perm(0, 0, 0777, “/system/bin/sysinit”);
    set_perm(0, 0, 0777, “/system/bin/busybox.a2sd”);
    set_perm(0, 0, 0644, “/system/bin/apps2sd.hlp”);
    set_perm(0, 0, 0777, “/system/xbin/a2sd”);
    set_perm(0, 0, 0777, “/system/bin/dtinstall”);
    set_perm(0, 0, 04755, “/system/xbin/nano”);
    set_perm(0, 0, 04755, “/system/xbin/sysrw”);
    set_perm(0, 0, 04755, “/system/xbin/sysro”);
    set_perm(0, 0, 06755, “/system/bin/su”);
    set_perm (0, 0, 0777, “/system/bin/a2sd”);
    set_perm (0, 0, 0777, “/system/etc/init.d/99complete”);
    set_perm (0, 0, 0777, “/system/bin/launcha2sd”);
    set_perm (0, 0, 0777, “/system/bin/starta2sd”);
    set_perm (0, 0, 0777, “/system/bin/chka2sd”);
    set_perm (0, 0, 0777, “/system/bin/zipalign”);
    set_perm (0, 0, 0777, “/system/bin/sysinit”);
    set_perm (0, 0, 0777, “/system/bin/bash”);
    set_perm (0, 0, 0777, “/system/bin/busybox.a2sd”);
    set_perm (0, 0, 0644, “/system/bin/apps2sd.hlp”);
    set_perm (0, 0, 0777, “/system/bin/dtinstall”);
    set_perm (0, 0, 0777, “/data/dtinstall.launch”);
    set_perm (0, 0, 0777, “/system/bin/e2fsck”);
    set_perm (0, 0, 0777, “/system/bin/tune2fs”);
    set_perm (0, 0, 0777, “/system/etc/init.d/dtapp”);
    set_perm (0, 0, 0777, “/system/bin/fix_permissions”);
    symlink(“/system/bin/su”, “/system/xbin/su”);
    set_perm_recursive(0, 0, 0755, 0555, “/system/etc/ppp”);
    set_perm_recursive(0, 2000, 0755, 0755, “/system/xbin”);
    set_perm(0, 1000, 0755, “/system/xbin/busybox”);
    symlink(“/system/xbin/busybox”, “/system/bin/busybox”);
    package_extract_file(“installbusybox”, “/tmp/installbusybox”);
    set_perm(0, 0, 0777, “/tmp/installbusybox”);
    run_program(“/tmp/installbusybox”);
    ui_print(“|======================|”);
    ui_print(“| Preparing Kernel … |”);
    ui_print(“|======================|”);
    ui_print(“Installing Kernel…”);
    ui_print(“Please wait”);
    ui_print(” “);
    mount(“rfs”, “EMMC”, “/dev/block/stl9″, “/system”);
    show_progress(0.100000, 0);
    package_extract_dir(“system”, “/system”);
    set_perm_recursive(0, 0, 0777, 0777, “/system/etc/init.d”);

    # copying files in ramdisk
    package_extract_file(“bmlunlock”, “bmlunlock”);
    package_extract_file(“boot.img”, “boot.img”);
    set_perm(0, 0, 0755, “bmlunlock”);

    # mounting the sdcard
    mount(“vfat”, “/dev/block/mmcblk0p1″, “/sdcard”, “rw”);

    ui_print(“finalizing”);

    # flashing
    run_program(“bmlunlock”);
    run_program(“/system/bin/dd”, “if=boot.img”, “of=/dev/block/bml7″);
    show_progress(0.2, 10);
    show_progress(0.100000, 0);
    ui_print(” “);
    ui_print(“Installation Completed!!!!”);
    ui_print(” “);
    ui_print(“Enjoy…”);
    ui_print(” “);
    unmount(“/system”);
    ui_print(“Done.”);
    ui_print(“by “);
    ui_print(“AvijitGhosh82 “);
    ui_print(“@xda “);

    unmount(“/system”);

  42. Illuminati says:

    So I was having this problem endlessly on my Galaxy Nexus (toro), the only way I was able to solve it was to fastboot load twrp then the ROM installed no problem. Many headaches with CWM

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Related News and Resources