yashsingh1/xdaforums huggingface dataset:
[Defy General] shah4344:
Good job

Thanks..its really works for me.. :victory:
[Defy General] Gr3yNinja:
Thank you!

thanks to your Tutorial i was able to root my xt321 in 10 mins flat!! :good:

used the 3rd method. simple and efficent.

but alas, i kinda messed it up while tryin to remove bloatware .

could please upload a stock version of the following sbf??? or redirect me??? hotfile hosting is down , and i'm lost! :confused:

Carrier Name: Retail

Firmware: TNBST_4_05.28.0BRPD_flex_IRD_SEA_Retail_v10

Software Full Version: 5.40.11.XT321.AsiaRetail.en.03
[Defy General] MauroSZ:
Hey guys, you should do a nandroid backup just after rooting to prevent this.

Sent by Smartphone Using Tapatalk 2
[Defy General] jazubon:
is it rooted?

Hi

I followed your instructions but I'm not sure if my phone is rooted...I am a complete novice and really have no idea what I should be seeing, but the phone looks exactly the same as before. Could you tell me what to do next? I'd be very grateful....I got all the way to 'YES to fix root' but I just don't know what to do now? All I want to do is get rid of all the apps that came with the phone, to make some space in ram.

Thanks, any info gratefully received
[Defy General] MauroSZ:
1) Do a nandroid backup ! Look up the post #47 of this same thread. If you mess up your phone trying uninstall blots you can recovery it easily.

2) Install Root Checker app from Google play and verify if your phone is really rooted.

The phone will be almost the same just after rooting. Actually you need root access do mod it, but it is the next step.

You can use the same ClockWorkMod to partition your SDCard creating a second EXT3 partition easily. If you use Minitool Partition Wizard instead (more difficult), you can choice EXT4 that is better. Copy your SD Card contents to PC before!

After partitioning your SD card, install Link2SD from Google Play and LINK ( I said "LINK", not "move") apps to sdcard second partition.

To LINK or uninstall native apps, you have to remount R/W the FLEX folder first otherwise it will fail. You can use Root Explorer or Root Browser Lite app to do it.
[Defy General] superk9:
Hi,

I'm having trouble with this, can someone please answer some questions before I pull out the last of my hair.........

Step 3 - Putting into flash mode. No problem here

Step 4 - RSD-lite install. I'm assuming this is installed on my PC/Laptop

I'm also assuming here that my phone should be visible in this tool if I click 'Show Device'?

My phone is not being picked up to display and I can't find it if I use the 'browse' icon.

What am I missing that I can't seem to view the phone on my PC?

I'm also assuming that I use the 'browse' option to find the 'fastboot.sbf' file, which then has it's properties displayed in the 'File Properties' section. and when I click 'start' thats what does the flashing?

Step 8 - What does 'USB debugging' mean?

Thanks, Rob.
[Defy General] darko150:
I've just so did.

my procedure:

1. made backup

2.with /system/app mover.apk declared undesirable system applications as user applications (Maps, Facebook, Twiter...) and then uninstall them.

3.partitioned SD card with MiniTool Partition Wizard Home Edition on my computer

4.install Link2Sd and link all user application on SD card
[Defy General] rootdefyxt320:
Make sure all the Motorola Drivers are installed to your computer, If not please download them from here: http://d-h.st/33x

Yes, when you click on Start on RSD-Lite, this will FLASH the SBF to your phone.

This will let you enable 'Fastboot Mode' on your phone.

USB Debugging means you debug it from a Windows, Linux or Mac as a host. This lets you use adb.
[Defy General] superk9:
Great thanks, I shall check when home tonight but am thinking I don't have the drivers.

Another couple of questions tho - sorry, this technology stuff is a bit over my head.

If you want a motorcycle restored I can help with that :laugh:

How do I take a nandroid backup so I can restore if I stuff it up removing bloatware?

How do I check that I have USB Debugging enabled?

Whats adb you mention above?

Cheers, Rob.
[Defy General] rootdefyxt320:
You make a Nandroid backup in CWM Recovery. You will see a screen on your phone saying 'ClockworkMod Recovery v6.0.2.9' Now using the Volume Buttons to navigate and Power Button to select option, go to 'Backup and Restore' then select 'Backup'

You check if USB Debugging is enabled by going to Settings -> Applications -> Development and now check if the USB Debugging box has a tick. Make sure your phone is turned on before using the file 'start_cwm_recovery.bat'

ADB is a protocol used to communicate and debug the device from the computer (host).
[Defy General] giovannirc:
A friend of mine asked me to help with her MOto Defy, she cant install app because there is no space available on the internal memory. So i decided to put a newer firmware but her phone doesnt have fastboot. I dont even know where should i start, is it from here? I dont know how motorola handles their software, but is it simple as flashing a kernel and then flashing a rom? What would you guys think i should do? Her phone is in 2.3.7 and i wanted to at least update it to 4.0.4. Her phone is from Brazil.

Thank you guys very much in advance and sorry for asking things like that, but i really have no clue where should i start.
[Defy General] overclockthesun:
Now that you have fastboot mode enabled on your phone, have you tried out hte motorola website? to unlock bootloader??

Someone here should try this out.

Btw, I am a defy user, will this work for us or brick our phone? Just asking.
[Defy General] rootdefyxt320:
Our Defy Mini Bootloader is still locked. We just use fastboot because we can fastboot boot img files. This won't work on your Defy MB525/Defy+ MB526 as it has a different chipset to Defy Mini. You won't brick it because the Defy Bootloader won't accept the SBF.
[Defy General] superk9:
hello again, thanks for your help but there is no 'Motorola Drivers.zip' file available at that link.

Just some .exe that loads up a registry cleaner amonst other things..

Are you able to check for me please.

thanks, Rob.
[Defy General] rootdefyxt320:
It's there. It looks like you clicked on a ad then?
[Defy General] superk9:
Hi, yes I did click on an ad! Once I found the actual download button hidden in there it was much better.

I'm still having problems with this and would appreciate some more of your time.........

Downloaded the drivers and I think installed OK.

Flashed the phone as per step 5 and got out of it OK.

Now my problem is I can't see where to copy the zip file, I'm expecting to be able to see the phone via windows explorer or something similar but alas no.

Also not sure if my phone should be on, off, in flash mode or something else?

Presumably it needs to be plugged into the laptop.

Sorry for the basic questions, thought this might have been a reasonably simple task :confused:

Thanks for your patience, Rob.
[Defy General] rootdefyxt320:
You copy the zip file to the root of your sd card. Then you turn on the phone and boot it to android. Then run the .bat file and it will boot you into CWM Recovery. Now read this post for the rest of the steps.

Press the thanks button if I helped you. :D
[Defy General] superk9:
sorry for being such a thicko, I just don't get it.

I understand the copying of the zip file but can't see my sd card to copy to.

Where do I find the root of the sd card, on the phone presumably but I can't figure out how to view it. The phone is connected and turned off.

Should I be using some sort of interface so I can see the files etc that are on the phone and I can then copy the zip file over with?

Thanks, Rob.

I'm using a phone from Telecom NZ if that makes any difference.
[Defy General] rootdefyxt320:
You mount USB Storage on your phone so that your computer can see the sd card.
[Defy General] MauroSZ:
Hey [MENTION=5599831]superk9[/MENTION] Rob, u also can get mass storage via CWM. On step 9, after double clicking .bat file wait boot into CWM. Navigate CWM looking up "usb mass storage" (please do NOT use mount sd card because it is wrong for the case). Now you can copy update.zip to your sd card and to continue step 10 after.

Sent by Smartphone Using Tapatalk 2
[Defy General] rootdefyxt320:
Good first post [MENTION=5637330]jonaut[/MENTION], Will add it to the 1st post to help of the thread. :D
[Defy General] chuhui164:
Thanks! This method is VERY helpful!

Thanks! This method is VERY helpful!
[Defy General] :
Help Please

Hi, I attempted to flash my device using the fast boot sbf as outlined in step 5. But it resulted in a failure, the error that I was given involved a failure to flash the subscriber unit. Am I doing something wrong and can it be remedied?
[Defy General] Motomini:
Post #41

Hello rootdefyxt320, and others.

I have been following this thread for a few months now and its time to "Just Do it", as my poor Defy Mini really needs some space.

I wonder if this would work..... I think I can do thing is a different way.... maybe.

I have purchased a SD card (8gb class 10) and have partitioned it. The primary partition is still FATS and the second is now formated to EXT4 - using the "mini tool partition wizzard Home edition" as recommended on this thread.

This was done on my PC's Card Reader slot. Then I copied update.zip to the Primary partion of the SD card while it was still in the PC.

So the question is ... Will this work this was rather than step 6.

Also does "start_cwm_recovery.bat" need to be on the SD card as well in the Primary partition? if so can I also put it there BEFORE I start the farstboot process?

Thank you again for your work which will enable many used to extend the useful life of a great little and very robust cellphone.
[Defy General] leos0:
It must be on your computer hard drive ;)
[Defy General] MauroSZ:
[MENTION=5647543]Motomini[/MENTION] the root pack u downloaded should be extracted as a folder (use "extract files") asuring all files will be in the same place (same folder). Copy update.zip to fat32 sdcard 1st partition only.

Sent by Smartphone Using Tapatalk 2
[Defy General] rootdefyxt320:
It's a normal symptom as it doesn't have any other mbn files to flash. Just take out your battery and turn it back on. Your phone is alright.
[Defy General] alana.phil:
Having trouble with steps

Hi there, we are having trouble with steps 6 & 7. From what I can work out of Step 6 is the second attachment the Defy Mini Fastboot Files.zip ?? Or is there another attachment with a file we need to replace? Also Step 7 - we cant find a folder called CG2-Extracted. Is this because we cant do Step 6 properly?

Sorry am new to this so having a bit of trouble.

Thanks for your help so far - have rooted a month ago
[Defy General] MauroSZ:
[MENTION=5651843]alana.phil[/MENTION] perform post #41 instead. It is the easiest.

If you really want to make a custom SBF, about post #1:

step 6: the goal is to downgrade the bootloader, so you have overwrite that folder with attachment fasboot files.

Step 7: to repack the folder recreating cg.....

Note: Recalc software will repack the result with the rest finally creating a custom SBF.

Sent by Smartphone Using Tapatalk 2
[Defy General] alana.phil:
Post #41

Thanks - We have done Post #41 so how do we get CyanogenMod or is it not able to be done at this stage? I am trying to upgrade my operating system from Android 2.3.6
[Defy General] MauroSZ:
I think it is not able for while. You can follow in this thread:

http://xdaforums.com/showthread.php?t=2120700

If you want to test make a nandroid before. In this same thread read the post #47, #48 and #49

http://xdaforums.com/showpost.php?p=47094145&postcount=47
[Defy General] rootdefyxt320:
Good post, but I think you should edit the post and say that you edit firmware.xml using Notepad++ as it retains the Linux text format.
[Defy General] thiyaguece:
Hi ,

After connecting with RSD Lite, my device is not shown in list. And nothing happens next. How to solve this ?:(
[Defy General] rootdefyxt320:
Please install all your Motorola Drivers and make sure phone is in flash mode (Power Button, Volume Down and Camera Button). You can download Moto Drivers on their website.
[Defy General] superk9:
Just wanted to say thanks to all and especially Jonaut (post 70) for the simplified instructions on rooting this phone. First chance I've had to get back to it and went like a dream.

Cheers, Rob.
[Defy General] Motomini:
Linking to SD Card

Hi,

Rooted and checked with Root Checker

SD Card Partitioned and formatted to Ext4 by Mini Tool Partition Wizard ( Both are Primary) - As LINK2SD states.

However its not working because of Flex not being R/W but is R/O ( I Think). Installed Root Explorer, but can not find where to change (Remount) "Flex" to R/W. If that is my only issue...

Thanks again for real easy Rooting (Post#41)

Any further explaination would be appreciated

Thanks In Advance.
[Defy General] MauroSZ:
The native app has its apk file in FLEX (doesn't count as user internal storage) that is read only like SYSTEM and its dalvik and data in DATA that is R/W.

For while you can partial link natives app checking "Dalvik-cache" files to link. It will only fail linking APK files. Maybe you save Internal storage 10 or 15 MB .

Natives apps you don't want at all, for while you can freeze + partial link + wipe frozen app data like I did, then you will save storage,ram memory and battery. I haven't mounted /FLEX as R/W yet, but I can tray help you in the next days.

If you allow google play updating natives apps, the new apk version will placed in /DATA/APP folder, spending user internal storage. /FLEX folder doesn't count as explained before. I am waiting for a tutorial explaining how to replace original native apk with new version apk from /DATA/APP to /FLEX/APP releasing user internal storage ( [MENTION=4410026]junk33[/MENTION] ).

You also can read the post of link below to know which natives apps are really bloatware for you.

http://xdaforums.com/showpost.php?p=47090446&postcount=9

Both XT321 of my house have about 95MB free user internal storage and I have not uninstalled any native app yet.
[Defy General] azaraphel:
Re: New Way to Root DEFY MINI XT320/XT321 if you don't have fastboot.

Amazing! Thanks to you, I finally succeed to root my xt320 and I will able to sleep this morning. Thanks a lot !!! :victory:
[Defy General] Motomini:
Linking to SD Card

Thanks for fast reply.

Yes a tutorial on now to use link2sd would be really great. I read the description on Play Store, but that did not really help in understanding or using the app properly - to make more internal space.

At one stage I got to 30mb free :) but soon after it reduced again to 9 mb as I think Auto updates did their thing.

With a sucessful ROOT, I understood that I would be able to delete(remove) unwanted apps eg Facebook/twitter etc - but I don't know how to do this yet.

Also with a successful ROOT, I understood that I could make more space by linking and installing apps on the second partition of SD card - once again I don't know how to do this.

So a tutorial will be greatly appreciated.

Thank you also for the link you provided on Bloatware and native apps. But once again, how do you delete/get rid of unwanted stuff.

Its great that you have 95MB. This to will be my target. Why? - Because it will extend the life of a great and robust cellphone for sometime to come. As this will allow us to install more modern and useful apps.

*** I have made a Backup as described earlier in this thread ***. {Post # 47 }
[Defy General] MauroSZ:
[MENTION=5647543]Motomini[/MENTION], I will do it on the weekend.

Sent by Smartphone Using Tapatalk 2
[Defy General] cw64:
All I want is my phone rooted so I can uninstall some of the crap that came with it *sigh* Everytime I connect the USB when on bootloader it loads the wrong driver and RSD Lite will not detect the phone. What to do?
[Defy General] MauroSZ:
Which is the wrong driver name? On pc look up it computer/properties/.../device manager (or something like this).

Sent by Smartphone Using Tapatalk 2
[Defy General] cw64:
It loads the communications driver not the adp driver. I then have to mess around switiching the phone on and off otherwise the USB connection will not work at all when the phone is on normally.
[Defy General] Motomini:
Thank you, in advance, for your assistance.
[Defy General] MauroSZ:
Please, I asked the driver name, ok ? Choice the option bellow:

On PC (XT): My Computer Icon -> Property (right mouse button) -> Hardware -> Device Manager

1- ADB Interface -> Mot Composit ADB Interface

phone normally turned ON with USB debugging enabled

the phone plugged via USB

2- ADB Interface -> Android Sooner Single ADB Interface

phone booted into FASTBOOT MODE

Turn off the phone

Keep pressed vol- vol+ and power for 10 seconds and after plug it via USB

3- Motorola USB Driver -> Motorola Flash Interface

phone booted into Flash-mode

Turn off the phone

Keep pressed cam vol- and power for some seconds and after plug it via USB

To flash via RSD Lite the right option is 3.

---------- Post added at 05:47 PM ---------- Previous post was at 05:45 PM ----------

[MENTION=5647543]Motomini[/MENTION], sorry but this weekend my son traveled with his Defy Mini. I intended to test it with his defy mini.

My Idea is (do it at your own risk if you want):

1) Make a nandroid to rollback if something will go wrong

2) Make full backup with Titanium free version (Google Play)

3) Create Titanium_update.zip on SDCard using Titanium

4) Be sure SuperUser going on as system APP ( look for it in /SYSTEM/APP )

5) Factory reset on Defy Mini (the root access and fastboot will be preserved)

6) Install Titanium applying Titanium ZIP created before (via CWM )

7) Turn on the phone

8) Set Google Play to never perform app update automatically

9) Restore Link2SD via Titanium

10) Config Link2SD Linking apps automatically to 2nd SDCard (SD-EXT)

Check all 3 options: Apps, Dalvik Cache and Libs.

11) Natives App that you don't want : Freeze + wipe + partial link (dalvik only) as I explained before

12) Natives Apps that you want: partial Link (dalvik only)

13) Some apps like battery and Home: Don't do anything.

14) Restore user apps one by one using Titanium (Link2SD will link it automatically as you set before)

Don't restore natives apps. Restore system apps only data, as history calls and SMSs

15) Sign in Google Play but not Facebook, tweeter etc. (don't update anything for while)

16) If your internal storage is good ( >= 70MB ) and your phone is good do a Nandroid to save this point
[Defy General] cw64:
On PC (XT): My Computer Icon -> Property (right mouse button) -> Hardware -> Device Manager

1- ADB Interface -> Mot Composit ADB Interface

phone normally turned ON with USB debugging enabled

the phone plugged via USB

No. USB Composite Device

2- ADB Interface -> Android Sooner Single ADB Interface

phone booted into FASTBOOT MODE

Turn off the phone

Keep pressed vol- vol+ and power for 10 seconds and after plug it via USB

No fastboot

3- Motorola USB Driver -> 2 drivers loaded see below

phone booted into

bootloader

Turn off the phone

Keep pressed cam vol- and power for some seconds and after plug it via USB

Motorola Diagnostic Port (COM9)

Motorola USB Modem

I really hope I'm missing something painfully obvious because otherwise it seems that my phone is un-rootable, and that would suck.
[Defy General] rootdefyxt320:
Please flash the fastboot SBF using RSD-Lite in post 41 to get fastboot mode. Please read [MENTION=5637330]jonaut[/MENTION] post for info on how to root your phone.
[Defy General] MauroSZ:
[MENTION=5710725]cw64[/MENTION]

If you have not done yet, Google MOTOROLA DEVICE MANAGER and install it on your PC.

Sent by Smartphone Using Tapatalk 2
[Defy General] cw64:
RDS LITE WILL NOT DETECT THE PHONE! I stated this already. It will not flash I tried it already.
[Defy General] rootdefyxt320:
You have to read [MENTION=5637330]jonaut[/MENTION] post like what I said in the first post. You should uninstall and reinstall the drivers.
[Defy General] Motomini:
Job now done

@ MauroSZ and others

Thanks for your help and ideas.

I now have 150mb free internal memory. What I did was search these forums on "link2sd guide" and there are 2 or 3 good ones which detail how the app works. Now I have a great robust cellphone with another year or so of useful life.

So thanks again for your help.
[Defy General] MauroSZ:
[MENTION=5647543]Motomini[/MENTION] ,

Please, paste here the tutorial link that was usefull for you.

Thanks in advance.

Sent by Smartphone Using Tapatalk 2
[Defy General] rootdefyxt320:
[MENTION=5013979]MauroSZ[/MENTION] I managed to boot a custom kernel on my Defy Mini!!!!!!!!!!!!!!!!! Here's my screenshot :D

http://s889.photobucket.com/user/Alexander_Tran/media/tmpshot_zps6e2bdcc8.png.html
[Defy General] MauroSZ:
Have you used 2nd init due locked bootloader ? I could see battery level does`t 5 by 5 anymore. Can you overclock without using PLL ? (only processor) ? SWAP ? ZRAM ? You intend making a tutorial ?
[Defy General] rootdefyxt320:
No, overclock on MSM7225A is controlled by PLL2. I just recompiled the kernel using unmodified Moto sources. It really works. I booted it via fastboot boot :D That was just a test kernel, I will add more features in the future. I have to study for my upcoming exams so I will be really busy with work this year and next year.
[Defy General] rootdefyxt320:
Test Custom Kernel Here :)

Hey guys, I managed to recompile a test custom kernel on Defy Mini. Everything seems to work. This is based on Motorola's unmodified source code. I have trouble implementing a custom governors and overclock. If anyone can help me, that will be cool.

[MENTION=5013979]MauroSZ[/MENTION] [MENTION=4888288]junk031[/MENTION] [MENTION=5101064]Bernd.Defy[/MENTION] [MENTION=5223897]wilberfish[/MENTION] [MENTION=4745666]Guitwo2[/MENTION]

Source Code: http://sourceforge.net/projects/xt3...20/TNBST_4_02.19.08RPD/kernel.tar.gz/download

Instructions:

1. Download boot.img from attachments

2. Download modules.zip from attachments.

3. Make sure you have CWM Recovery, if not download it from Post #41

4. Now boot into CWM Recovery using the batch script or typing the command in cmd

fastboot boot name-of-recovery.img

4. Now type these commands in cmd:

adb shell mount -a

adb push modules.zip

adb shell

cd /system/lib/modules

busybox unzip /sdcard/modules.zip

Then it will ask you to overwrite the files, press A on the keyboard.

Now type the next commands in cmd

cd /system/lib

chmod 755 modules/*

exit

adb reboot-bootloader

fastboot boot boot.img

This kernel should boot on XT320/XT321.
[Defy General] rootdefyxt320:
[MENTION=5013979]MauroSZ[/MENTION] [MENTION=4944908]zhalx[/MENTION] [MENTION=4707888]luxxx123[/MENTION] Please give me your config.gz so I can compile a custom kernel.

Type this command in cmd:

adb pull /proc/config.gz

And upload it in the attachments.
[Defy General] MauroSZ:
I've pulled both configs, from XT687 and XT321 and zipped the .gz file ( I have not unpacked the gz, actually I unpacked the .gz creating a zip file using 7zip).

If you have some time, please, create a custom kernel to my XT687 because we need SWAP support. The XT321 always works with about 200MB free RAM, it is a nice number, but XT687 not rarely works with only 50MB or 40MB free RAM. I use greenify root app ( it is ICS), it helps but is not sufficient.

Thanks in advance.
[Defy General] s27moto:
please some one make custom from TNBST_4_17.21.A5RPS_flex_WE_Retail_MEA_v3_0522_NOAPR_sec_20120522
[Defy General] MauroSZ:
Perform the tutorial of post #41 of this thred instead keeping your original firmware. It is the easiest and you will save your time.

Link

http://xdaforums.com/showthread.php?p=46445136

Sent by Smartphone Using Tapatalk 2
[Defy General] edis_mehmedali:
yeah so I tried this and I only got to the point where I am in flash mode. I tried connecting it to the pc but rsd is not showing anything.. I tried clicking show device, I tried flashing fastboot anyway but nothing happens... seems that the drivers are still needed but you didn't provide a link for them?
[Defy General] zhalx:
here sir.

https://docs.google.com/file/d/0B5yPKdDj7bNeX0pNVXpVX1dKNVU/edit?usp=docslist_api