dimanche 23 février 2014

[GUIDE] Revert from ART to Dalvik if boot fails topic




Today I tried to enable ART on my S3 running Maclaw's CM11. After the phone was shut down, the CM loading circle stayed there forever and the phone didn't boot.

To fix this you can boot the phone into recovery (I'm using CWM) and use ADB to revert the runtime back to Dalvik.

You can use the following instructions or download the attachment and run the batch file. Remember to have your phone booted into recovery, USB drivers installed and USB cable connected before running the file.
  1. Boot to recovery

  2. Open the shell

    Code:


    adb shell


  3. Now, while in the shell, the data filesystem must be mounted. If you want, the partition can be confirmed from the fstab file on root directory

    Code:


    mount /dev/block/mmcblk0p25 /data


  4. Still staying in the shell, use the following command to set Dalvik as the runtime of choice.

    Code:


    setprop persist.sys.dalvik.vm.lib libdvm.so


  5. Now the /data-filesystem can be unmounted using

    Code:


    umount /data


  6. Type exit in the shell to exit ADB shell.
    Reboot the phone and it should get past the loading circle again


If anything goes wrong, I'm not responsible









Aucun commentaire:

Enregistrer un commentaire