Motorola Defy Mini XT320 all-in-one script

How do you find the one click script?


  • Total voters
    23
Search This thread

rootdefyxt320

Senior Member
Oct 4, 2012
488
440
Sydney, NSW
Motorola Defy Mini XT320/XT321 all-in-one script/utility

I've ported mattlgroff's DROIDRAZR all-in-one Script to the Motorola Defy Mini XT320/XT321. This will make life easier and it will do it for you.
Make sure you have fastboot mode if not please refer to this guide for fastboot but there is a fastboot checker in option 6 but it won't install fastboot for you.
Link: http://forum.xda-developers.com/showpost.php?p=36199694&postcount=3

Options available:

1. Root your Motorola Defy Mini XT320/XT321
2. Install 2nd-init/TWRP Recovery
3. Overclock installation
4. Unroot Device
5. Wipe Data/Factory Reset
6. Fastboot checker.
7. Exit Utility

Instructions:

NEW PACKAGE & instructions
1. Download the EXE file at http://www.mediafire.com/?c81fnrtrki65e9i
2. Double click on the exe.
3. Choose an option by entering a number from 1 to 7

OLD PACKAGE & instructions
1. Download package at [REMOVED OLD LINK]
Please Download the fixed package at http://www.mediafire.com/?krxtemrthsz5ier
EXE Version: http://www.mediafire.com/?0kwmx4whjj1ua8c
2. Extract the zip file making sure all the files are in the same place.
3. Click on the batch file named 'DefyMiniUtility.bat'
4. Choose an option by entering a number from 1 to 7.

Credits to:
- Bernd.Defy for overclock module and Guitwo2 for init.d script
- Guitwo2 and jkkk88 for TWRP and aweosomeabhjeet for 2nd-init
- DoOMLoRD for unroot script
- Mattlgroff for the original DROID RAZR all-in-one script

If anyone knows if I missed a member for the credits, please PM me. Thanks
Make sure press thanks if it works :D

Guys please don't repost it as your own work, otherwise I'll report it and you will get banned from XDA.

NOTE: If you have previously used the old EXE to install TWRP then please remove the old folders by using these instructions using cmd before using updated exe to install TWRP;

1.
Code:
adb shell

2.
Code:
su

3.
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock11 /system

4.
Code:
rm -R /system/bootmenu

Then use the updated exe to install TWRP.

NOTE: If you don't like TWRP, you can download Guitwo2's Permanent CWM at http://forum.xda-developers.com/attachment.php?attachmentid=1875373&d=1365682716
Temporary CWM Recovery: http://forum.xda-developers.com/attachment.php?attachmentid=1875299&d=1365680458
2nd-init does NOT work in CWM Recovery

Thanks to @Guitwo2 for CWM Recovery.

Instructions on how to install Permanent CWM Recovery:

1. Make sure stericson-busybox is installed
2. Put XT320_bootmenuV2.zip in the root of your sdcard
3. Reboot into fastboot mode by typing this command in cmd:
Code:
adb reboot bootloader
4. Then type this command in cmd:
Code:
fastboot boot recovery.img
5. Then use volume keys to navigate and power button to select option. Select install zip from sdcard, then select XT320_bootmenuV2.zip and select yes to install the zip file
6. Then reboot device by selecting reboot device now.

CWM 6 has a bug where it asks you to 'disable recovery flash' when you select reboot system now make sure you select NO or you will soft brick your device.

Changelog:

-v2 No need to mount /sdcard in CWM Recovery. Fixed TWRP installation issues.
-v2.0.1 Released an .exe version of script, to simplify installation
-v2.0.1.1 Fixed bootmenu.zip
 

Attachments

  • Fixed_Script.zip
    2.5 KB · Views: 1,138
Last edited:

fca.sjc

Member
Jun 26, 2012
19
2
Thank you

The root process worked for me. Now i can install link2sd and set up a swap partition.
I cant install TWRP and i think the reason is that the bat was having some problem to send that bootmenu.tar file to my sd card. I tried to send that file myself before starting the entire process and it didnt worked.
I took a picture of the error i'm getting . Thank you again, i was really mad about that low internal space xD
 

Attachments

  • error.jpg
    error.jpg
    96.2 KB · Views: 893

rootdefyxt320

Senior Member
Oct 4, 2012
488
440
Sydney, NSW
The root process worked for me. Now i can install link2sd and set up a swap partition.
I cant install TWRP and i think the reason is that the bat was having some problem to send that bootmenu.tar file to my sd card. I tried to send that file myself before starting the entire process and it didnt worked.
I took a picture of the error i'm getting . Thank you again, i was really mad about that low internal space xD

same problem... someone can fix it? please :)

Ok, I've made a fixed script here. The error was that the sdcard is a directory so it will refuse to push files into it.
Here's the updated script below. Just put the .bat file in the same place as the other files. :)
 
  • Like
Reactions: fca.sjc

fca.sjc

Member
Jun 26, 2012
19
2
Thanks

Ok, I've made a fixed script here. The error was that the sdcard is a directory so it will refuse to push files into it.
Here's the updated script below. Just put the .bat file in the same place as the other files. :)

Ty for the quickly answer.

Btw, my gsm network wasnt working after the root process. If the same thing happens to someone else, just do a master reset and it will work again.
 

fca.sjc

Member
Jun 26, 2012
19
2
pull command is working now

That sdcard copy part is working now. The TWRP process is still not working for me. I tried to do myself the commands using the adb interface and when i use the command to intall the tar, i got the message 'tar: no space left on device" . I hope you can help me with that and i'm sorry about all this questions xD .
 

rootdefyxt320

Senior Member
Oct 4, 2012
488
440
Sydney, NSW
That sdcard copy part is working now. The TWRP process is still not working for me. I tried to do myself the commands using the adb interface and when i use the command to intall the tar, i got the message 'tar: no space left on device" . I hope you can help me with that and i'm sorry about all this questions xD .

You must have more than 5MB free in your /system partition. Please move your apps to the /flex partition or delete the useless apps in /system.
 
  • Like
Reactions: sfoot13

rootdefyxt320

Senior Member
Oct 4, 2012
488
440
Sydney, NSW

sfoot13

Senior Member
Apr 24, 2013
587
239
www.flickr.com
Hi, it's me again... i have a new trouble
i installed the xt320_bootmenu.zip (from this thread http://forum.xda-developers.com/showthread.php?t=2229233) the first time that i rebooted works fine, but the on the second reboot it doesn't work, then i went to data to check if test.log was there and here's the problem... no test.log...
init.d was working fine until that i did it, i guess that my phone have troubles making work init.d
some solution for this annoying guy? thanks in advance!
 

rootdefyxt320

Senior Member
Oct 4, 2012
488
440
Sydney, NSW
Hi, it's me again... i have a new trouble
i installed the xt320_bootmenu.zip (from this thread http://forum.xda-developers.com/showthread.php?t=2229233) the first time that i rebooted works fine, but the on the second reboot it doesn't work, then i went to data to check if test.log was there and here's the problem... no test.log...
init.d was working fine until that i did it, i guess that my phone have troubles making work init.d
some solution for this annoying guy? thanks in advance!

Looks like 97bootmenu deleted itself, please reinstall the CWM zip again and it should work.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 25
    Motorola Defy Mini XT320/XT321 all-in-one script/utility

    I've ported mattlgroff's DROIDRAZR all-in-one Script to the Motorola Defy Mini XT320/XT321. This will make life easier and it will do it for you.
    Make sure you have fastboot mode if not please refer to this guide for fastboot but there is a fastboot checker in option 6 but it won't install fastboot for you.
    Link: http://forum.xda-developers.com/showpost.php?p=36199694&postcount=3

    Options available:

    1. Root your Motorola Defy Mini XT320/XT321
    2. Install 2nd-init/TWRP Recovery
    3. Overclock installation
    4. Unroot Device
    5. Wipe Data/Factory Reset
    6. Fastboot checker.
    7. Exit Utility

    Instructions:

    NEW PACKAGE & instructions
    1. Download the EXE file at http://www.mediafire.com/?c81fnrtrki65e9i
    2. Double click on the exe.
    3. Choose an option by entering a number from 1 to 7

    OLD PACKAGE & instructions
    1. Download package at [REMOVED OLD LINK]
    Please Download the fixed package at http://www.mediafire.com/?krxtemrthsz5ier
    EXE Version: http://www.mediafire.com/?0kwmx4whjj1ua8c
    2. Extract the zip file making sure all the files are in the same place.
    3. Click on the batch file named 'DefyMiniUtility.bat'
    4. Choose an option by entering a number from 1 to 7.

    Credits to:
    - Bernd.Defy for overclock module and Guitwo2 for init.d script
    - Guitwo2 and jkkk88 for TWRP and aweosomeabhjeet for 2nd-init
    - DoOMLoRD for unroot script
    - Mattlgroff for the original DROID RAZR all-in-one script

    If anyone knows if I missed a member for the credits, please PM me. Thanks
    Make sure press thanks if it works :D

    Guys please don't repost it as your own work, otherwise I'll report it and you will get banned from XDA.

    NOTE: If you have previously used the old EXE to install TWRP then please remove the old folders by using these instructions using cmd before using updated exe to install TWRP;

    1.
    Code:
    adb shell

    2.
    Code:
    su

    3.
    Code:
    mount -o remount,rw -t yaffs2 /dev/block/mtdblock11 /system

    4.
    Code:
    rm -R /system/bootmenu

    Then use the updated exe to install TWRP.

    NOTE: If you don't like TWRP, you can download Guitwo2's Permanent CWM at http://forum.xda-developers.com/attachment.php?attachmentid=1875373&d=1365682716
    Temporary CWM Recovery: http://forum.xda-developers.com/attachment.php?attachmentid=1875299&d=1365680458
    2nd-init does NOT work in CWM Recovery

    Thanks to @Guitwo2 for CWM Recovery.

    Instructions on how to install Permanent CWM Recovery:

    1. Make sure stericson-busybox is installed
    2. Put XT320_bootmenuV2.zip in the root of your sdcard
    3. Reboot into fastboot mode by typing this command in cmd:
    Code:
    adb reboot bootloader
    4. Then type this command in cmd:
    Code:
    fastboot boot recovery.img
    5. Then use volume keys to navigate and power button to select option. Select install zip from sdcard, then select XT320_bootmenuV2.zip and select yes to install the zip file
    6. Then reboot device by selecting reboot device now.

    CWM 6 has a bug where it asks you to 'disable recovery flash' when you select reboot system now make sure you select NO or you will soft brick your device.

    Changelog:

    -v2 No need to mount /sdcard in CWM Recovery. Fixed TWRP installation issues.
    -v2.0.1 Released an .exe version of script, to simplify installation
    -v2.0.1.1 Fixed bootmenu.zip
    1
    The root process worked for me. Now i can install link2sd and set up a swap partition.
    I cant install TWRP and i think the reason is that the bat was having some problem to send that bootmenu.tar file to my sd card. I tried to send that file myself before starting the entire process and it didnt worked.
    I took a picture of the error i'm getting . Thank you again, i was really mad about that low internal space xD

    same problem... someone can fix it? please :)

    Ok, I've made a fixed script here. The error was that the sdcard is a directory so it will refuse to push files into it.
    Here's the updated script below. Just put the .bat file in the same place as the other files. :)
    1
    That sdcard copy part is working now. The TWRP process is still not working for me. I tried to do myself the commands using the adb interface and when i use the command to intall the tar, i got the message 'tar: no space left on device" . I hope you can help me with that and i'm sorry about all this questions xD .

    You must have more than 5MB free in your /system partition. Please move your apps to the /flex partition or delete the useless apps in /system.
    1
    Thank u so much :D to everyone who make it possible xD
    (can i do now a overclock to 720 without problems?)

    Yes but it sometimes gets unstable so you should overclock to 700MHz which is the highest I got without reboots. pll2_l_val=73 gives you 700MHz. :)
    1
    Thank u so much :D and TWRP doesn't work xD i have 8.5 mb free on system but it can't create the folders on bootmenu :p

    I've released an .exe version of my script. This should work now :D.
    Link: http://www.mediafire.com/?0kwmx4whjj1ua8c
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone