yashsingh1/xdaforums huggingface dataset:
[Defy Android Development] Chamelleon:
Finally with help from people from many other forums Defy with BL7 was rooted.

For now we have no script to make it on the phone without wipe but I'm very happy that it's working.

Rooting Procedure

1. Wipe phone twice (2x make Wipe Data/Cache in stock recovery)

2. Flash 4.5.1-134 DFP-231 CN or 4.5.1-134 DFP-231 Retail.en.EU CEE (It doesn't matter what version of this two You flash but it must be the same with version from point 4).

3. Wipe again (Data/Factory Reset)

4. Flash rooted SBF 4.5.1-134 DFP-231 CN Rooted SBF Part.1, 4.5.1-134 DFP-231 CN Rooted SBF Part.2 or 4.5.1-134 DFP-231 Retail.en.EU CEE Rooted SBF

Thanks List:

- People from http://bbs.mfunz.com for ShellRoot and Rooted SBF

- coelho_ from XDA for help and translation ShellRoot procedure

- Joe31 from XDA for CEE Rooted SBF

- Math43 from XDA for links to CN Rooted SBF

- free2livefrom XDA for testing and helping with patching under linux

- and everyone who tried to help in this thread - THANK YOU

Old Post to let everyone know what we worked here.

I couldn't find any thread about rooting it and only few posts under roms threads so maybe we can start here. I was making backup of rooted DFP-231 en.EU but after this by mistake I restored 2.3.5 DFP-125 and I needed to reflash my Defy with full sbf of DFP-231 cause to make OTA I had to upgrade to BL7 so any chance to restore my backup is root full sbf DFP-231.

I was trying:
Root Tools:

- (XT800+)ROOT_MOTO_2.3.6
- Defy_2.3.6Root
- DooMLoRD_v4_ROOT-zergRush-busybox-su
- DROID 3 easy root script v7
- ME525 2.3.6 Root
- ROOT_MOTO_2.3.6
- root4defy134
- SuperOneClickv2.3.3-ShortFuse
- ZOC_FlashMasterV1.70
- unlockroot23-eng
- Motofail for Droid 4 and Razr
- SuperOneClick with new Exploit motofail hangs on 5th step

Downgrade to:
Every verion MB525, MB526, ME525, ME525+ starting from early versions of Eclair ending on DFP-2311 but only DFP-188 and DFP-231/DFP-2311 has BL7 and on all other verion phone is dead.

I was trying also modding sbf files by myself and few from Walter79 on DFP-188 thread and trying to force reflash under stock recovery but unfortunately still no luck and every time I had bootloader error or just dead phone.
From last few days I'm monitoring all German, Chinese, Spain and Russian forums about rooting this but still even no clue.
Only thing I learn is that every tool for root has problems with writing su app to phone so I think script to make it is wrong but I'm new in android and I have no idea how to edit it. I tried superuser under Ubuntu 11.04 also but I couldn't mount phone so another fail.

I'm screwed with BL7 so if someone have some ideas I'm opened for most options.
[Defy Android Development] coelho_:
are you try this ...3 link attached from xda http://www.android-hilfe.de/2729429-post10.html
[Defy Android Development] Chamelleon:
All tries to repack and pack back sbf ending with bootloader error.
[Defy Android Development] coelho_:
and if you flash the su zip http://www.android-hilfe.de/2742491-post20.html
[Defy Android Development] Chamelleon:
Signature Verification failed. Walter79 posted recovery from 4.5.1-134-DFP-74 for root with stock recovery but bootloader error after flash.
[Defy Android Development] royale1223:
Someone (walter79 I think) was talking of a tweaked sbf that could do the trick. Basically to create this you need to

1) unpack the bl7 sbf to a folder and get cg39.smg.

2) Mount cg39.smg as ext4 in ubuntu (sudo mkdir /mnt && sudo mount cg39.smg /mnt -o loop).

3) Now place su binary(su) in /mnt/xbin and Superuser.apk in /mnt/app (To find these files look inside superonclick zip archive)

5) Set perm (sudo chmod +x /mnt/xbin/su)

6) Unmount (sudo umount /mnt)

7) Repack sbf.

8) Flash your phone with new sbf using Rsdlite

9) See if it's booting, if yes, let us know.

10) If no, reflash orginal sbf again.

Find most tools you need here : http://xdaforums.com/showthread.php?t=966537
[Defy Android Development] Chamelleon:
Ok, I'll try it and maybe it gonna work but I'm afraid that bootloader error shows after repacking sbf.
[Defy Android Development] royale1223:
If this fails with bl error it means that bl7 somehow checks the patency of mmcblk1p31 during boot. If that's the case then rooting these new sbf will be very very very difficult.

---------- Post added at 10:44 PM ---------- Previous post was at 10:36 PM ----------

Edit : use motoandroidepacker 1.3 from http://and-developers.com/sbf
[Defy Android Development] Joe31:
Hi.

Yes it is like this,i tried a things above, the result is boot err.

Tried, mount CG39.smg (no moding) umount than flash, Bootloader err.

I could try 1 more thing, from rooted telephone (bl7) you can pull CG39.smg by ADB.

adb shell:

su

dd if=/dev/block/system of=/sdcard/CG39.smg

Edit this, than flash.

Thanks
[Defy Android Development] Chamelleon:
Ok, I did what You said and used files from superuser site (bin su ofc) and unfortunately Bootloader error Err:A5,69,35,00,27 and after simple repack and build again without modification CG39.smg phone booting normally.
[Defy Android Development] Chamelleon:
Sorry but I don't understand what You just said cause I'm on Ubuntu from yesterday and it's my first contact with this system and to do thing with modding CG39.smg I needed to google how to copy something in Linux console so please explain steb by step what to and I'll try it if You can't.
[Defy Android Development] coelho_:
you can always go back and get your phone work with flashing this http://115.com/file/e7z2d0jd

it's a bl7
[Defy Android Development] Joe31:
It is only for people who have rooted phone.

Please who has rooted phone, help. (OTA update)

ADB:

Download sdk:LINK
[Defy Android Development] stanucc:
http://www.change.org/petitions/motorola-mobility-inc-unlock-all-smartphone-bootloaders-2#
[Defy Android Development] Joe31:
Not work!

Black screen!!
[Defy Android Development] Chamelleon:
Ofc it's not working, it's bl6 file and if u flash it on BL7 it's like reflash DFP-231 with any other lower version except DFP-188.
[Defy Android Development] royale1223:
Just to confirm : Did you use MotoAndroidDepacker 1.3? If it was MAD 1.2x, please repeat the steps with MAD 1.3.

I could see that you used a control to verify if depacker is working properly. That's smart. You could also try this: make a new sbf that only contains the modified cg39.smg. Delete other smg after depackin. Make sure that you use MAD 1.3. Good Luck.
[Defy Android Development] Chamelleon:
OFC I did all on MAD 1.3 but I think that problem isn't in content of package but modding CG39 cause after rebuilding clean sbf everything working fine and as someone said after only mount and unmount CG39 without modding bios shows error.
[Defy Android Development] Chamelleon:
Hi, new update for T-Mobile DFP-188 shows up and it's available here but already edited by uploader. I didn't installed it but I downloaded it and tried to modify it by myself. Added su, Superuser.apk and busybox from root4defy134 and added permissions for update script under rest of bin permissions but ofc after trying flash it by stock recovery, recovery shows error at verification. So maybe someone have any idea how to modify it to add root files and update?? Or maybe there isn't any chance to do it??
[Defy Android Development] Tranzior:
I want to talk about his attempt to gain root access. I have a PC installed eclipse and android SDK. If you try to copy any file in the System folder at once shows the error (read only filesystem). Today I tried to use the Kindle Fire Utility. Now, almost enable to copy the file to the section of System (ie it is copied by 99% and then gives an error). It seems to me that it might somehow help.

http://random.kennocha.com/kindle/utility/Kindle_Fire_Utility_v0.9.3.zip
[Defy Android Development] caizzz:
"Wipe 2x, install sbf asia retai dfp231 sbf, wipe, flash firmware.sbf (attached), wipe, enjoy. "

by the way, sndinit is working? Pls try!
[Defy Android Development] caizzz:
Finallyyyyy!! \o/
[Defy Android Development] Math43:
Works for me too !
[Defy Android Development] Math43:
There is a bug in the rom flash with the SBF, status bar disappear sometimes :s
[Defy Android Development] Joe31:
Hi.

I created CEE 2.3.6 (BL7) Rooted version.

1. flash original CEE 2.3.6 (BL7) ROM: Link

2.Wipe

3. flash CEE 2.3.6 (BL7) Rooted version: Link
[Defy Android Development] caizzz:
yeah, finally i have CM9 installed, bye bye DFP231 ;DD
[Defy Android Development] Math43:
Thanks !

What the name of the CEE version on http://sbf.droid-developers.org/umts_jordanplus/list.php ?
[Defy Android Development] Joe31:
Hi.

Link
[Defy Android Development] Math43:
Thanks.

I've a last question, what's mean CEE ?
[Defy Android Development] Chamelleon:
Could You tell me how it works?? I just flashed my phone with chinese rooted sbf but I need to know how it's patched. I was trying to do the same thing and it failed so I'm so curious how they make it. And really thank for CEE.
[Defy Android Development] Joe31:
Central Eastern Europe
[Defy Android Development] Math43:
Ok, and could you make one for this rom http://sbf.droid-developers.org/umt...JRDNGIBRRTFR_P020_A024_M002_Service1FF.sbf.gz ?

Thanks a lot if you can !
[Defy Android Development] Joe31:
I can't! :( Sorry!!!

This Central Eastern Europa was a variant on my device.
[Defy Android Development] coelho_:
can you find you devise here http://sbf.droid-developers.org/umts_jordanplus/list.php
[Defy Android Development] Math43:
Ok, don't worry !

me ?
[Defy Android Development] Joe31:
Hi.

Link

1. flash original chinese ROM (BL7)

2. Wipe

3. flash rooted chinese ROM (BL7)

4. 2indInit install

5. restore nandroid backup CEE 125 (BL6)

6. uninsatall bootmenu, remove root

7. Wipe

8. You run shellRoot (usb debug on...)

9. Device restart recovery mod

10. I change Recovery mod to Bootloader

11. flash CEE 231 Original ROM (not close root window)

12. flash success, automatically continue root window

13. You run ddsystem, this save system in sd card
[Defy Android Development] coelho_:
non joe31;)
[Defy Android Development] pranks1989:
Another update: It works even if you don't do data wipe! I dint do data wipe even once and it works!! :)
[Defy Android Development] Chamelleon:
But wipe between original and rooted sbf is needed, otherwise You'll have bootloader error.
[Defy Android Development] Chamelleon:
Ok I updated first post for everyone who is searching for root.
[Defy Android Development] coolgame:
Hey I would like to know what is the difference between the various versions of bootloaders and the advantage of the new bootloader
[Defy Android Development] Math43:
Same bug with CEE Rom !

EDIT: I find the solution to this bug http://xdaforums.com/showpost.php?p=24719471&postcount=8
[Defy Android Development] pranks1989:
As i told I dint do a wipe even once! Installed TB after reboot and backed up my whole phone and then installed CWM and now am back to CM9! And it worked fine. May be I was just lucky.... But technically bootloader error should not come! Because it comes due to changes in CG39 etc. and none of them are affected by data wipe. THe only issue may be slow or broken home or bootloop(may be not) !!

---------- Post added at 03:15 PM ---------- Previous post was at 03:10 PM ----------

No advantage!! Not difference. Only thing is that you can't downgrade! You will be stuck in the version you have (if it is newer). For more info related to y not downgradable read the Defy begginer guide in dev section(efuse explanation)
[Defy Android Development] Chamelleon:
I'm using this rom from almost 3 weeks and I don't have this bug. Maybe thats why cause I'm using only ADW ex.

I had fully configured system CEE so I tried it without wipe to not lose config and after flash this rooted CEE I had bootloader error. Next after reflash clean CEE > wipe > and flash rooted SBF > wipe everything works fine so maybe I just had bad luck. :)
[Defy Android Development] pranks1989:
Nope.. I think its because I already had AsiaRetail.MB526. !! That is what has been asked to flash in step 1... Since I had that and firmware.sbf was also the same I could make it without data wipe!! :)
[Defy Android Development] pppn:
Hello!

I want flash this ( http://xdaforums.com/showthread.php?t=1498843 ) ROM, but I'm not sure what should I do... now I have DFP-231 original ROM whitout root.

Could you write a step by step tutorial to this, because I don't want brick my phone... :(

Thanks
[Defy Android Development] Chamelleon:
Follow instruction in first post, install bootmenu (2ndInit) and install rom You wish. It should be fine but ask someone how it is with downgrading cause I can't tell You this cause I'm prefer stock rom and using DFP-231.
[Defy Android Development] LeopardSurd:
You cannot brick your phone (in theory, Defy is „unbrickable”). Just try it (be carefull to have full battery) and if it doesn't work just install again the full sbf or the sbf with the firmware.sbf from here.

I think there is enought info for flashing in CyanogenMod area. The steps are almost the same or identical.
[Defy Android Development] kolbaszmen:
ok thx! root work it! YES

...if i' flash miui or custom roms, game over :)
[Defy Android Development] Chamelleon:
So You're saying no way to downgrade still??
[Defy Android Development] coelho_:
I think we stay for stand a bl8
[Defy Android Development] pss214:
ok... managed to root the phone

installed 2nd init 1.4.2 for defy

but now when i try to install CM 7.2 RC gives me an error after the package is verified :(

it says it's not signed... :confused:

help
[Defy Android Development] Chamelleon:
Hmm are You trying to flash it through stock or custom recovery??
[Defy Android Development] pss214:
with 2nd init / custom recovery
[Defy Android Development] Chamelleon:
Use Apply update.zip from sdcard or if it wont work try to use Backup and Restore/Advanced Restore
[Defy Android Development] LeopardSurd:
How about those that flashed this ROM on their Defy (not Plus). What custom roms can they use (with working camera and battery)?
[Defy Android Development] bone101:
Great work guys !!!
[Defy Android Development] Chamelleon:
Hard to say cause I have only Defy Plus to test and my knowledge is too low to say without testing. Thats why if someone flashed any custom rom on Defy/Defy Plus post please what rom/build You tested and what is working on this rooted SBF's.
[Defy Android Development] pss214:
yay... now i'm stuck with a rooted phone.... back to square one :(:(:(:(:(:(
[Defy Android Development] LeopardSurd:
Someone tested:

If in this case is used CM7 for Defy, it will not boot (kernel doesn't match). If used CM7 for Defy+, the phone boots but there are problems with the cam and the battery. Some patch is needed.

Also, will see if a nandroid backup of a CM7 for Defy can boot in this case (it can solve the kernel conflict).
[Defy Android Development] vaserbanix:
Don't work!

I made one and did not work

until now work only Defy+ custom roms with or without camera(for green lense)
[Defy Android Development] free2live:
Please install latest 2nd init... With 1.4.2 you will always get error...

Moto sucks. My DEFY rocks
[Defy Android Development] pss214:
i did that... still get bootloader error... i need a working gingerbread custom rom for Defy green lens :(
[Defy Android Development] free2live:
Try MS2Ginger with greenbread mod from Walter. It should work

Moto sucks. My DEFY rocks
[Defy Android Development] neo.ank:
Okay..its finally rooted.. installed 2ndinit..

Goin' for CM7.. will post the result soon..
[Defy Android Development] pss214:
no custom ROM for me ? :(
[Defy Android Development] Rapid81:
I installed the update with MSU, then flashed the rooted SBF without wipe and now I have 2.3.6 with root and with all my installed apps and settings. :D
[Defy Android Development] delviso:
Alguna rom que ande?
[Defy Android Development] pppn:
Hello!

I have a Defy+ with red led and DFP-231 rom... can I flash any custom rom?

And I read in this topic someone rooted his defy without wipe... How can I do this?

Thanks
[Defy Android Development] Chamelleon:
If You have DFP-231 You can flash CN or CEE if You don't have one of them already and next flash rooted SBF with matched version from first post. If You have one of this versions already just flash rooted SBF with matched version and it is quite possible that You wont have any error. I can't tell You about flashing custom roms alot cause I'm using stock CEE with my own modifications and I'm using Defy+ so hard to say how regular Defy react with custom roms on this firmware. If You don't wanna mess with it You should wait until someone will test it and confirm what custom roms can be used on regular Defy green/red and Defy+ with this firmware.
[Defy Android Development] da^Ivan:
Can confirm it works. :):):):):)

Tested the CEE Version on a Defy+ from Germany. Also can confirm not wiping does work. Still have everything (Apps, contacts, etc). Furthermore Camera, Bluetooth, Video, Wlan does work, found nothing which didn't. As soon as i find something that doesn't i'll let you know.

Now im finnally able to use my VPN, Titanium Backup etc :D

I love each and everyone, who made this root possible. THANKS!!!! :):):):):):) (Had nearly given up hope, allready started searching for an BL6 Defy+)
[Defy Android Development] neo.ank:
Please restrict yourself from posting the same question in multiple threads.

Post it once, it will be answered.
[Defy Android Development] da^Ivan:
To root without wipe, you just need to follow the instructions in the first post of this thread, just ignore the wiping parts. In short just flash the two different roms. At least thats what i did, but do make a backup of your important files(internal storage),contacts,sms,etc. Just in case somethings go wrong.

And yes after successful rooting you're able to flash, with the help of 2nd init, custom roms, but no full sbf (more info is to be found in the beginners guide).
[Defy Android Development] julianpaul:
Do you mean follow steps 2 & 4 or only step 4?

P.s. Defy+ previously 1321 now (stupidly) updated OTA to 231
[Defy Android Development] da^Ivan:
2 & 4

but like it says stick to either the CN sbfs or the CEE sbfs, ive flashed the CEE Version.
[Defy Android Development] julianpaul:
You mean stick to either the CN or CEE for both 2 & 4 right?

Is there any way CN or CE are better than each other?

p.s. my 231 is an asia (india) version. as mentioned earlier updated OTA from 1321. Would this be an issue if flashing without wipe? What's the worst case, wipe anyway then flash? Or would it require a complete 231 reflash, then follow steps 1-4?

Edit: I had asked another question here but no replies yet.

It was "I have a question regarding defy+ on 231. If i root it using the new root methods for BL7, will I be able to install a dual boot system, i.e. retaining my stock rom AND adding cm9 (either quarx or epsilon)?

If I can't do the dual boot install, will only cm9 install?"
[Defy Android Development] kolbaszmen:
work it, without wipe :)

2 rom sucess

1.

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

2.

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

multilanguage
[Defy Android Development] hafanana:
Does it work with 45.0.2310.en GB or I should flash asian or CE firmware?
[Defy Android Development] etherea:
For me worked like a charm.

The only problem I got was using Titanium Backup to restore: sadly used the "restore all" option and overwrote even fabric settings.

Reflashed, all is fine, so thank you!
[Defy Android Development] mmanojkry:
is there is any method to downgrade bl7 to bl6 on defy+?
[Defy Android Development] pss214:
is there is any method to downgrade bl7 to bl6 on defy green lens ? :(
[Defy Android Development] neo.ank:
NO..

And please try to post questions in Q&A section..

Doesn't matter from where I send it, what matters is written above
[Defy Android Development] gentle_giant:
Did it as per instructions at the start of this tread.

I now am the proud owner of a rooted Defy+, Build number:4.5.1-134_DFP-231, Android version: 2.3.6.

System version changed from:

System version 45.0.2310.MB526.retail.en.DE to:

System version 45.0.2310.MB526.NonEFIGSRetail.en.EU

Next step: ROM installation

A big THANK YOU to all (wo)men who worked hard to make this happen.
[Defy Android Development] shaGGy5678:
Thnks My Defy Rocks Now

yUpp Thanks for it

Finally my Defy Rooted with no Wipe

Thanks

and keep it up;)

If Possible please release method of Downgrading BL7 to Froyo

I M using Defy With DEFYPLus 231 Sbf

Thanks Bro:):)
[Defy Android Development] gamzmasta:
Hi everyone, I am new to this.

I have done the following, I installed the defy plus onto my defy. I have done as the above suggests and now have super user in the menu.

What do I do next to get my camera working?

Someone said that some Defy plus have the green lens, which firmware is that, and will that correct the camera on my defy?

I look forward to hearing from yourselves.
[Defy Android Development] neo.ank:
Why did you flash a defy plus SBF without k owing the type of your device..

If its a green lens defy, your camera might won't work ever..
[Defy Android Development] juried:
Yep you're screwed.
[Defy Android Development] pranks1989:
since you already rooted now. Try installing CM7 or CM9 and do a search here you might find a camera fix for green lens. If you do find you are saved!
[Defy Android Development] Acceleracer:
maybe a stupid question, but why do have to make the wipe/factory reset twice? Doesnt once delete really everything or is it just for safety? I didnt tried it with flashing only once but it im interested why we have to do that twice...

Another Quastion: Now I am on unrooted 2.3.6 DPP-231, but I have no PC which is able to recognize my Defy+ with RSD Lite 5.6, what can I do to root my phone? Why does RSD Lite 5.6 NOT work on any PC for my Defy+? I choose the correct rooted .sbf an when i click "start" or "show device" nothing happens, what can I do?

When I am in stock recovery and I connect my Defy+ to PC nothing happens, my PC doesnt seem to have any connection, it doesnt say anything like device driver installation failed or something and the device manager says everything is completly OK installed. Anybody any idea?
[Defy Android Development] neo.ank:
Double wipe is for playing safe.

You need to boot into bootloader mode, not stock recovery for RsdLite to recognise your device and have correct drivers installed..

PS: Post questions in Q&A.. development forums isn't meant for questions.
[Defy Android Development] vrl13:
Many thanks

Thank you very much, the procedure laid down on the first page worked flawlessly.

One thing i believe should be added to the procedure is the recommendation to use and a download link for RSDLite and perhapse 7zip

RSDLite5.6.rar

Regards.
[Defy Android Development] kdarknight:
You can find all the necessary details here.. http://xdaforums.com/showthread.php?t=1820282

I just collected all the data at one place for ease of access, thanks to Chamelleon thread. Also the if someone getting baseband issues check the above thread for baseband switcher :)
[Defy Android Development] cromfr:
Hi can you or someone else explain how you cretaed such a rooted version ? I'd like to create one based on the retail french sbf.
[Defy Android Development] Tapajyoti:
is the root links given here the correct one??because the links thats given at the first post was said to cause bootloader error..?

first we have flash the cee...

then data wipe..

then flash the rooted sbf??

am I correct???

and do i have to both data and cache wipe??or only data wipe???

---------- Post added 5th September 2012 at 12:02 AM ---------- Previous post was 4th September 2012 at 11:56 PM ----------

bro is the wipe data/factory reset in the 3rd step done in the stock recovery mode too???can i do any one???either wipe data or factory reset or do i have to do both???
[Defy Android Development] ela1103:
Accidentally i flash the bl7 firmware in defy .i cannot able to root the bl7

i tried DFP-188, DFP-231, DFP-2311 BL7 Finally Rooted this method but no success

please help me guys