Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,738,775 Members 41,045 Now Online
XDA Developers Android and Mobile Development Forum

[Fastboot]Custom Kernel for Motorola Defy Mini XT320/XT321

Tip us?
 
rootdefyxt320
Old
(Last edited by rootdefyxt320; 18th March 2014 at 09:17 AM.)
#1  
Senior Member - OP
Thanks Meter 344
Posts: 373
Join Date: Oct 2012
Location: Sydney, NSW, Australia
Default [Fastboot]Custom Kernel for Motorola Defy Mini XT320/XT321

First custom kernel for Defy Mini XT320/XT321 is here!

Featured on XDA Portal: http://www.xda-developers.com/androi...ini-xt320xt32/

@MauroSZ @Bernd.Defy @junk031

Despite us having a locked bootloader, we can boot a custom kernel via fastboot.

Technical Details:

Fastboot is stored as a secondary bootloader in Defy Mini. On older firmwares, the secondary bootloader had fastboot enabled but newer firmwares don't. This is why Motorola left a vulnerability in fastboot which allowed us to fastboot boot img files.

Kernel Source: https://github.com/rootdefyxt320/and...orola_tinboost

This kernel is made for Defy Mini stock ROM's.

Details:
Linux Kernel version 2.6.38.6

Features:
-Swap
-Insecure

To Do:
-Add overclock
-Add custom governors

Limitations:
-You must use fastboot everytime you want to boot a custom kernel so it requires a computer.

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
Code:
Select Code
fastboot boot name-of-recovery.img
4. Now type these commands in cmd:

Code:
Select Code
adb shell mount -a
Code:
Select Code
adb push modules.zip /sdcard
Code:
Select Code
adb shell
Code:
Select Code
cd /system/lib/modules
Code:
Select Code
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:

Code:
Select Code
cd /system/lib
Code:
Select Code
chmod 755 modules/*
Code:
Select Code
exit
Code:
Select Code
adb reboot-bootloader
Code:
Select Code
fastboot boot boot.img
Updated to v2 in Post 8: http://forum.xda-developers.com/show...20&postcount=8

Same installation instructions as v1.
Attached Files
File Type: img boot.img - [Click for QR Code] (3.57 MB, 225 views)
File Type: zip modules.zip - [Click for QR Code] (752.0 KB, 221 views)
Devices:
Motorola Defy Mini XT320- Stock 2.3.6 Rooted.
Sony Xperia X10 Mini Pro U20i- Cyanogenmod 10.

Press the thanks button if I helped you instead of saying thanks

The Following 10 Users Say Thank You to rootdefyxt320 For This Useful Post: [ Click to Expand ]
 
aweosomeabhijeet
Old
#2  
aweosomeabhijeet's Avatar
Senior Member
Thanks Meter 883
Posts: 785
Join Date: Oct 2012
Location: Jaipur

 
DONATE TO ME
Lol, I compiled one for XT530 with OC and undervolt, but never released as thought it would be tough to boot it everytime
Well, nice start. I'm currently working on kexec, would possibly release it when kexec would be ready.
Never be satisfied with what you get .
Devices :
Xperia M
XT530
 
sfoot13
Old
#3  
sfoot13's Avatar
Member
Thanks Meter 12
Posts: 76
Join Date: Apr 2013
Quote:
Originally Posted by rootdefyxt320 View Post
Limitations:
-You must use fastboot everytime you want to boot a custom kernel so it requires a computer.
it's possible make it permanent?
 
rootdefyxt320
Old
#4  
Senior Member - OP
Thanks Meter 344
Posts: 373
Join Date: Oct 2012
Location: Sydney, NSW, Australia
Quote:
Originally Posted by sfoot13 View Post
it's possible make it permanent?
Locked bootloader prevents this. Until I can conpile kexec, I can make it permanent.
Devices:
Motorola Defy Mini XT320- Stock 2.3.6 Rooted.
Sony Xperia X10 Mini Pro U20i- Cyanogenmod 10.

Press the thanks button if I helped you instead of saying thanks

 
sfoot13
Old
#5  
sfoot13's Avatar
Member
Thanks Meter 12
Posts: 76
Join Date: Apr 2013
Quote:
Originally Posted by rootdefyxt320 View Post
Locked bootloader prevents this. Until I can conpile kexec, I can make it permanent.
You're a genius! i hope you can have success with the kexec!
You know if swap will make any difference in the performance?
 
rootdefyxt320
Old
#6  
Senior Member - OP
Thanks Meter 344
Posts: 373
Join Date: Oct 2012
Location: Sydney, NSW, Australia
Quote:
Originally Posted by sfoot13 View Post
You're a genius! i hope you can have success with the kexec!
You know if swap will make any difference in the performance?
I built an 800MHz overclock kernel but beware you can burn your NAND but we can now use @cute_prince method to have a 878 MHz PLL2 overclock without burning NAND It's not modded numbers
Devices:
Motorola Defy Mini XT320- Stock 2.3.6 Rooted.
Sony Xperia X10 Mini Pro U20i- Cyanogenmod 10.

Press the thanks button if I helped you instead of saying thanks

 
sfoot13
Old
#7  
sfoot13's Avatar
Member
Thanks Meter 12
Posts: 76
Join Date: Apr 2013
Quote:
Originally Posted by rootdefyxt320 View Post
I built an 800MHz overclock kernel but beware you can burn your NAND but we can now use @cute_prince method to have a 878 MHz PLL2 overclock without burning NAND It's not modded numbers
are you working on it? (878 MHZ overclocking)... thanks for your work bro!
 
feline2611
Old
#8  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: Apr 2008
sorry i am geting unzip write: no space left on device ,
i have no experience in this, please help
 
rootdefyxt320
Old
#9  
Senior Member - OP
Thanks Meter 344
Posts: 373
Join Date: Oct 2012
Location: Sydney, NSW, Australia
Quote:
Originally Posted by feline2611 View Post
sorry i am geting unzip write: no space left on device ,
i have no experience in this, please help
You will have to delete stuff in /system.
Devices:
Motorola Defy Mini XT320- Stock 2.3.6 Rooted.
Sony Xperia X10 Mini Pro U20i- Cyanogenmod 10.

Press the thanks button if I helped you instead of saying thanks

 
junk031
Old
#10  
junk031's Avatar
Senior Member
Thanks Meter 22
Posts: 194
Join Date: Oct 2012
Location: Osijek
Smile Good job!

Hi guys, havent been on the forums for long time, but I was checking stuff here for a last of few days, and I must say, good job guys!
Especially you rootdefyxt320, good job! Keep up.
I traded the Defy Mini with my mom for a iPhone 3GS, it was a bad decision. This phone is real crap.
I am maybe getting a Huawei Ascen Y300, what do you think about it, anybody tried it?
Tags
custom kernel, defy mini, xt320, xt321
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes