Jump to content


Photo

[MOD][TOOL] DUAL BOOT FOR ZTE BLADE/MODIFY-BOOT TOOL [14/08]

* * * * * 1 votes

  • Please log in to reply
62 replies to this topic

#1
android@sam

android@sam

    Enthusiast

  • Members
  • PipPipPip
  • 259 posts
  • Gender:Male
  • Location:Nagpur,India
  • Interests:Computers, MObilez...
  • Devices:DELL XCD35 aka ZTE BLADE
Hello guys. This my dual booting project for our amazing ZTE BLADE!
What is this?>This mod works on the basis of two scripts which are to be executed in the terminal emulator or script manager and a modified boot.img to boot the rom from sdcard instead of NAND.

FOR ADVANCED USERS ONLY!!!
I WILL NOT BE RESPONSIBLE FOR ANY BRICKED DEVICES, DAMAGED SDCARDS ETC.DO IT AT YOUR OWN RISK!!!
It is in alpha stage, so lot of work is still needed to make it more safer and convenient.

Downloads:

cyanogenmod9(KonstKang)

boot.img- download
updater-script- download

cyanogenmod10

boot.img- download
updater-script- download

Gapps(thanks to tilal6991)(flash cfx2 gapps from skate)
Jellybean gapps updater scipt- Download

Tool:
Modify-boot- Download
-Now don't wait for me to modify the boot.img for a particular rom!!Use this tool for modify it for dual booting.Soon will add patcher for updater script!!Scroll down to second post for guide to use this tool:Thanks go to:
  • Sulthekk for guiding me towards right way.
  • SNAP.iT for giving me some mounting ideas.
  • All the people who have helped me(can't remember all names :P ).
  • And the big modaco community to test it for me.
SCROLL DOWN to 2nd POST FOR THE WHOLE GUIDE...

Edited by android@sam, 14 August 2012 - 04:05 AM.

  • 5

Sony Ericsson UI On your ZTE BLADE

"CYANSCAPE"


#2
android@sam

android@sam

    Enthusiast

  • Members
  • PipPipPip
  • 259 posts
  • Gender:Male
  • Location:Nagpur,India
  • Interests:Computers, MObilez...
  • Devices:DELL XCD35 aka ZTE BLADE
So here is the full guide: PARTITIONING SD CARD TO MOUNT /SYSTEM AND /DATA
  • Take the backup of your sd card data first
  • Make sure you have partitioned your sdcard before.
  • Connect your phone to your computer and mount usb storage.
  • Download the EASEUS partition manager from here.
  • Open partition manager and delete all partitions of your sdcard.
  • Right click on the 'unallocated' and click create partition.Don't label it select partition type as primary and filesystem as FAT32 and enter the partition size bot remember this will hold your photos,media etc,you should leave about 600 mb space free click OK.
  • right click again and create partition as primary and filesystem as EXT3 and size of 250 mb click OK.
  • Repeat above step again.
  • Apply all the changes by cliking on apply tap and you have succesfully partitioned your sdcard for dual booting.
GUIDE FOR THE MODIFY-BOOT TOOL
  • Download and unzip the tool to any directory.Here i will consider for the cygwin users, say c:\modify-boot.
  • Now,open the terminal or cygwin bash shell(for windows users) and mount the directory by typing:
​ cd c:\modify-boot and press enter.
  • Before doing anything further,put the boot.img you want to mod in the WORKING_313.
  • now execute the script by typing:
./modify-boot.txt
  • Now follow the tips in the tool!!! :P
  • No need to copy anything.The tool will itself do the work.
​ MODDING THE CM9 ROM FOR DUAL BOOTING
  • Open the rom.zip .
  • Get the modded boot.img from the tool and rename the .img file to boot.img.
  • Delete the boot.img from the rom and put the downloaded one.
  • Now download the attached updater-script (remove .txt) or from 1st post and replace the orignal one with this modded one(path to udater-script META-INF/com/google/android).
  • Zip up the rom.
FLASHING GUIDE
  • Remember, before partitioning the sd card you should wipe data and cache in the recovery during NAND rom installation or it will erase the partitions created before.
  • First flash the rom you want to install in the NAND,do not wipe data or anything do it before partitioning.
  • Then install the cm9 rom without wiping data or anything.
  • reboot the system. You will be in your sd card rom!!!
  • Now create folder in the sd card as /sdcard/multiboot.
  • Take both boot.img from NAND rom and cm9/cm10 rom rename the cm9/cm10 boot.img to bootsd.img and keep the NAND boot.img as it is.
  • Copy both imgs to multiboot folder.
  • Now download attached(or use above link for unregistered users) bootnand.sh and bootsd.sh and place at the root of the sdcard.
  • Open terminal emulator,type su and execute bootsd.sh to boot into sd card rom or execute bootnand.sh to boot into NAND rom.
​ THAT'S IT . ENJOY DUAL BOOT ON YOUR ZTE BLADE!!!!Attached File  updater-script.txt   28.03KB   29 downloadsAttached File  scipts.zip   408bytes   53 downloads

Edited by android@sam, 14 August 2012 - 04:08 AM.

  • 8

Sony Ericsson UI On your ZTE BLADE

"CYANSCAPE"


#3
Hayden3430

Hayden3430

    Enthusiast

  • Members
  • PipPipPip
  • 227 posts
  • Devices:ZTE Blade
Nice work, can't wait to easily switch between cm7 & cm9 :)

  • 0

#4
gunapriyan

gunapriyan

    Enthusiast

  • Members
  • PipPipPip
  • 219 posts
  • Gender:Male
  • Devices:ZTE Blade
Friend, Good Idea... Very Eager to see that....

  • 0

#5
targetbsp

targetbsp

    Hardcore

  • MoDaCo Silver
  • PipPipPipPipPipPip
  • 4,011 posts
  • Gender:Male
  • Devices:Hudl 2, Blade V
Now this would be cool. Good luck!

  • 0
My Blade site - includes vanilla KANGS's of CM7. Also available: modified GB Gapps with various market versions, mini ICS Gapps for 160mb system partitions and Flash for ARMv6
CM7 Blade changelog

#6
HarryPirate

HarryPirate

    Regular

  • Members
  • PipPip
  • 91 posts
  • Gender:Male
  • Devices:ZTE Libra (Sapo a5)
I'm eager to try this out!

  • 0
Device: ZTE Libra (Sapo a5)
ROM: The Most Recent CM
Recovery: ClockworkMod 5.0.2.0
External Storage: Transcend 8GB MicroSDHC (Class 4)
Current Launcher: Espier Launcher

#7
gunapriyan

gunapriyan

    Enthusiast

  • Members
  • PipPipPip
  • 219 posts
  • Gender:Male
  • Devices:ZTE Blade
Dear Friend, Thanks for your Great Work...But little hesitation to implement it.....I want to install CM9 and CM10 ROMS. Please create modded boot.img for CM9 and CM10 ROMS....Thanks in advance.

  • 0

#8
Ron=)

Ron=)

    Enthusiast

  • Members
  • PipPipPip
  • 292 posts
  • Gender:Male
  • Location:London
  • Devices:Zte Blade (TFT)
Fantastic. Appears to be working as it should!

  • 0

#9
pengeren

pengeren

    Newbie

  • Members
  • Pip
  • 25 posts
  • Gender:Male
  • Location:Czech Republic
  • Devices:Zte Blade
Tested on class4 32Gb sd card and it works great. :) Thank you. And what about s2e with this mod, can i just create another ext3 partition ?

Edited by pengeren, 08 August 2012 - 10:43 PM.

  • 0

#10
379864067

379864067

    Newbie

  • Members
  • Pip
  • 2 posts
  • Devices:ZTE Blade
That sounds great! thank you very munch! :P

  • 0

#11
379864067

379864067

    Newbie

  • Members
  • Pip
  • 2 posts
  • Devices:ZTE Blade
That sounds great! thank you very munch! :P

  • 0

#12
Mtman1

Mtman1

    Addict

  • Members
  • PipPipPipPipPip
  • 686 posts
  • Gender:Male
  • Devices:Liquid MT
Wow!!! Amazing! Do you think you could tell us what you modified in the boot.img to get it to work?, or is there to much to tell?

Edited by Mtman1, 09 August 2012 - 09:06 AM.

  • 0

#13
tilal6991

tilal6991

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 3,781 posts
  • Gender:Male
  • Devices:ZTE Skate, Huawei U8150
Very simple. He changed the mount commands to mount the /system partiton on the sdcard rather than on the nand. It's a change of 5 lines in init.rc.

  • 0
If you like my work or if I helped, click the Plus button.

#14
Mtman1

Mtman1

    Addict

  • Members
  • PipPipPipPipPip
  • 686 posts
  • Gender:Male
  • Devices:Liquid MT

Very simple. He changed the mount commands to mount the /system partiton on the sdcard rather than on the nand. It's a change of 5 lines in init.rc.

thanks :)

  • 0

#15
Black & White

Black & White

    Newbie

  • Members
  • Pip
  • 2 posts
android@sam

Please add support :

1. MIUIv4 by sanek1804

2. CyanogenMod 7

  • 0

#16
android@sam

android@sam

    Enthusiast

  • Members
  • PipPipPip
  • 259 posts
  • Gender:Male
  • Location:Nagpur,India
  • Interests:Computers, MObilez...
  • Devices:DELL XCD35 aka ZTE BLADE

android@sam

Please add support :

1. MIUIv4 by sanek1804

2. CyanogenMod 7

Can you upload boot.img and updater script for both roms?

  • 0

Sony Ericsson UI On your ZTE BLADE

"CYANSCAPE"


#17
wuiwu

wuiwu

    Regular

  • Members
  • PipPip
  • 54 posts
  • Devices:blade
thanks,man
can it support ubuntu?

Edited by wuiwu, 09 August 2012 - 01:12 PM.

  • 1

#18
karololszak

karololszak

    Regular

  • Members
  • PipPip
  • 72 posts
It's so nice to see my idea have made some people do some awesome work :) I can't wait to test it out, we'll see how it goes :)

  • 0

FREE BITCOINS! Yes, we give away bitcoins for absolutely free! Check it out!


#19
android@sam

android@sam

    Enthusiast

  • Members
  • PipPipPip
  • 259 posts
  • Gender:Male
  • Location:Nagpur,India
  • Interests:Computers, MObilez...
  • Devices:DELL XCD35 aka ZTE BLADE

thanks,man
can it support ubuntu?

I will try it soon!
can you link me to the booting ubuntu for our blade?

  • 1

Sony Ericsson UI On your ZTE BLADE

"CYANSCAPE"


#20
Sulthekk

Sulthekk

    Addict

  • Members
  • PipPipPipPipPip
  • 619 posts
  • Devices:ZTE Blade

I will try it soon!
can you link me to the booting ubuntu for our blade?


I don't think there is a boot.img for that, it may be used via chroot though. Good luck on that! :)

EDIT:

Since you always replace the same values (ie. yaffs2 to ext4, a specific nand partition to a specific sd partition) what about creating a patcher, that way you wouldn't need to create a separate boot.img for every single rom.

Edited by Sulthekk, 09 August 2012 - 02:54 PM.

  • 1




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users