FORUMS
Remove All Ads from XDA

[CWM] Motorola Fire / Spice Key: xt311 / xt316 / xt317

199 posts
Thanks Meter: 152
 
By Mazen.kh, Account currently disabled on 24th November 2012, 11:06 AM
Post Reply Email Thread
Hey Motorola Fire owners!
Here's ClockWorkMod for our beloved QWERTY phone [With nandroid backup minor issues]

Any damages, you're responsible of it.

The Steps:

1- Download busybox from playstore, i prefer stericson's one, install busybox binary.
2- Download Pimp My Rom from playstore, open it, click > Universal init.d support, then click > activate
3- Download latest zip (bootmenu 3-12-12.7z)
4- Extract it, and run Install-boot-menu.bat
If you want to know what the script does:
5- Download latest bootmenu folder, extract it, copy "bootmenu" folder to /system/ (by using any root browser of your choice)
6- Fix permission of all the files inside "/system/bootmenu/binary/" to: RWXR--R--
7- a- Create a new file with no extention, rename it to 97bootmenu, put it inside "/etc/init.d/" set it's permissions to RWXRWXRWX (full permissions)
7- b- inside this file paste this code and save it:
Code:
#!/system/bin/sh

stop
exec /system/bootmenu/binary/bootmenu

-Then Reboot
Now focus, while you're seeing motorola logo, the capacitive keys' leds will light up at certain timing, quickly press VOL- button before the lights go off, if you later, don't want to boot to bootmenu, just don't press the VOL- button, the phone will boot normally to system
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
To restore backed up nandroid system.yaffs2.img
In terminal emulator or adb shell type:
cd /sdcard/clockworkmod/backup/YYYY-MM-DD.HH.MM.SS/
md5sum *.img > nandroid.md5

Where <YYYY-MM-DD.HH.MM.SS> is the folder of your backup.
Then go to cwm again and restore ( i prefer advanced restore > system )

Or with fastboot: By typing: "fastboot flash system system.yaffs2.img"

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Now the most important part, press thanks button, it motivates me :P
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I'd like to thank those who made this dream come true: GentryLamp - 7amdoun (Thanks alot bro) - Aweosomeabhijeet - Mr. indigo - Andrewidya - AndYRo - Chen2011521
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Changelog:
  • 3-12-12
    -Added automatic installer (abhijeet's idea)
  • 1-12-12
    -Booting to bootmenu through volume down button (Thanks alot 7amdoun!)
    -Now you don't have to delete 97bootmenu at all
    -Unified bootmenu-recovery background :P
  • 30-11-12: Very old build
    -Removed ability to backup data via clockworkmod since it probably is corrupted, causing bootloops when restoring, you can backup the whole rom using onandroid backup instead
    -Ability to restore nandroids
  • 28-11-12: Very old build
    -Fixed font size of the recovery, (Thanks chen2011521)
    -Changed wallpaper because i got bored
  • 25-11-12: Very old build
    -Modified Stock.sh so when you select [+boot] > [stock] it boots normally to stock system, Without needing pc. (Thanks aweosomeabhijeet)
    -Fixed some mounting issues, may be able to backup .android_secure
  • 24-11-12: Very old build
    -First alpha release
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Downloads:
Removed old builds, for the user not to download them and use the new incompatible steps.
Attached Files
File Type: 7z MAJOR, bootmenu v2 1-12-12.7z - [Click for QR Code] (1.47 MB, 1122 views)
File Type: 7z bootmenu 3-12-12.7z - [Click for QR Code] (1.58 MB, 2545 views)
The Following 21 Users Say Thank You to Mazen.kh For This Useful Post: [ View ] Gift Mazen.kh Ad-Free
24th November 2012, 03:40 PM |#2  
andyro2008's Avatar
Senior Member
Flag Rosario
Thanks Meter: 89
 
More
Just registered!

---------- Post added at 04:40 PM ---------- Previous post was at 03:43 PM ----------

Only just created a bunch of commands to mount secure.android. After normal backup of system and data, gave me this error:

Backing up .android_secure...
Freeing space...
sh: dedupe: not found
Done freeing space.
sh: dedupe: not found
24th November 2012, 03:42 PM |#3  
Nemo84gr's Avatar
Junior Member
Flag Athens
Thanks Meter: 0
 
More
Already did it!!
Waiting for more to come
24th November 2012, 04:59 PM |#4  
andyro2008's Avatar
Senior Member
Flag Rosario
Thanks Meter: 89
 
More
No more dedupe error, tar generated correctly! but more mounting problems! The last logs lines:

Backing up .android_secure...
com.joelapenna.foursquared
com.google.android.youtube

W:Unable to get recovery.fstab info for /datadata during fstab generation!
W:Unable to get recovery.fstab info for /emmc during fstab generation!

So fstab is sill umcomplete!

---------- Post added at 05:59 PM ---------- Previous post was at 05:42 PM ----------

Im startint to think that every sbf has diferents mounts...
25th November 2012, 04:58 AM |#5  
chen2011521's Avatar
Senior Member
Flag NanJing
Thanks Meter: 32
 
More
xt316 chinese 2.3.5

97bootmenu permission 744
and reboot into bootmenu
but not full permission.

Backup stuck at /system
....
Did you port the recovery from source? You can change it font smaller.
25th November 2012, 09:15 AM |#6  
aweosomeabhijeet's Avatar
Senior Member
Flag Jaipur
Thanks Meter: 976
 
Donate to Me
More
Quote:
Originally Posted by Mazen.kh

Hey Motorola Fire owners!
Here's CWM for our beloved QWERTY phone [Still have issues with nandroid backup]


Okay so first of all this is not only my work
I only built CWM6 and put it inside the bootmenu, also helped in discovering init.d support, and when you nandroid backup, i fixed the creation of system.img and data.img (with help of dear friends from taringa.net)

The Steps:

1- Download busybox from playstore, i prefer stericson's one, install busybox binary.
2- Download PimpMyRom.apk from attachments and install it, because the one in the market have some errors causing FCs
3- From Pimp my rom, click > Universal init.d support, then click > activate
4- Download bootmenu.zip, extract it, copy "bootmenu" folder to /system/ (by using any root browser of your choice)
5- Fix permission of all the files inside "/system/bootmenu/binary/" to: RWXR--R--
6- a- Create a new file with no extention, rename it to 97bootmenu, put it inside "/etc/init.d/" set it's permissions to RWXRWXRWX (full permissions)
6- b- inside this file paste this code and save it:

HTML Code:
#!/system/bin/sh

stop
exec /system/bootmenu/binary/bootmenu
7- Reboot

After reboot, android bootmenu will appear, choose recovery, then select custom recovery
Now you entered CWM 6
Please don't select the "mounts" section, still needs fixes, might be dangerous
If you take nandroid it will successfully backup system.img and data.img without sd-ext.
You may not be able to restore them through cwm.
But you can restore them through FASTBOOT.

I flashed many zips through this recovery successfully.

PS: to boot again to system, normally connect the device through adb, and type:
adb shell
rm -r /system/etc/init.d/97bootmenu

Then reboot using "adb reboot" or reboot function in bootmenu

Now the most important part, press thanks button, it motivates me to keep up the good work

I'd like to thank those who helped in getting this bootmenu to work:
- Gentry Lamp
- 7amdoun
- Aweosomeabhijeet
- Mr. indigo
- Andrewidya
- AndYRo (from Taringa.net)

probably others that i forgot to mention

I'll keep updating the recovery until it becomes perfect

Hey Mazen I would like to suggest you something.

Open bootmenu folder go to script folder and open stock.sh
and add

Code:
rm -r /system/etc/init.d/97bootmenu
reboot
Then if you select boot>Stock your phone will reboot twice and boot normally.
then no need of using adb in PC.
The Following User Says Thank You to aweosomeabhijeet For This Useful Post: [ View ] Gift aweosomeabhijeet Ad-Free
25th November 2012, 11:01 AM |#7  
mEmoZz's Avatar
Senior Member
Flag Inside your Mind!! …… PoooH :-O
Thanks Meter: 252
 
Donate to Me
More
I make everything as u say and restarted it above 6 times but nothing happens and my device starts normally!!!

EDIT: try to change permissions of 97bootmenu to rwxr-r- & restart 2 times but nothing happened!!
25th November 2012, 11:16 AM |#8  
OP Account currently disabled
Flag cairo egypt
Thanks Meter: 152
 
More
Quote:
Originally Posted by chen2011521

xt316 chinese 2.3.5

97bootmenu permission 744
and reboot into bootmenu
but not full permission.

Backup stuck at /system
....
Did you port the recovery from source? You can change it font smaller.

I built it online and modded some files, couldn't build from source, the font is not so important right now so i'm working on fixing the nandroid backup

Quote:
Originally Posted by aweosomeabhijeet

Hey Mazen I would like to suggest you something.

Open bootmenu folder go to script folder and open stock.sh
and add

Code:
rm -r /system/etc/init.d/97bootmenu
reboot
Then if you select boot>Stock your phone will reboot twice and boot normally.
then no need of using adb in PC.

I tried that once and it booted to the bootmenu again but i will retry, thanks
The Following User Says Thank You to Mazen.kh For This Useful Post: [ View ] Gift Mazen.kh Ad-Free
25th November 2012, 01:25 PM |#10  
mEmoZz's Avatar
Senior Member
Flag Inside your Mind!! …… PoooH :-O
Thanks Meter: 252
 
Donate to Me
More
I follow ur steps and I fail in problem! just tell me what shoud I do NW?
and nothing wrong in my device!

EDIT: I change some permissions and it's work but I forgot what I do and I reboot without need PC!
I advice u guys to make that suggest by aweosomeabhijeet it's awesome
The Following User Says Thank You to mEmoZz For This Useful Post: [ View ] Gift mEmoZz Ad-Free
25th November 2012, 01:39 PM |#11  
aweosomeabhijeet's Avatar
Senior Member
Flag Jaipur
Thanks Meter: 976
 
Donate to Me
More
Ok remember to use reboot after rm command.

Sent from my XT530 using xda app-developers app
Post Reply Subscribe to Thread

Tags
cwm, fire, motorola, xt311, xt316

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes