[-]
Who's Online
There are currently 2206 online users. [Complete List]
» 55 Member(s) | 2151 Guest(s)
AvatarAvatarAvatarAvatar
AvatarAvatarAvatarAvatar
AvatarAvatarAvatarAvatar
AvatarAvatarAvatarAvatar
AvatarAvatarAvatarSee all...

[-]
Tech & Science
[Wired] 5G Networks Could Throw Weather Forecasting Into Cha...
Last Post: Wired Magazine
Today 18:51
» Replies: 0
» Views: 6
[Science Daily] Australian islands home to 414 million piece...
Last Post: Science Daily
Today 18:51
» Replies: 0
» Views: 6
[Science Daily] Octopus-inspired wearable sensor
Last Post: Science Daily
Today 18:51
» Replies: 0
» Views: 5
[Sci-Am] Why Do Some Green Activists Eat Meat?
Last Post: Scientific American
Today 09:06
» Replies: 0
» Views: 95
[Harvard] Harvard researcher records neural activity ‘live’
Last Post: Harvard
Today 05:26
» Replies: 0
» Views: 97
[Wired] Atmospheric Methane Levels Are Going Up—And No One K...
Last Post: Wired Magazine
Today 05:26
» Replies: 0
» Views: 83
[Science Daily] A new way of diagnosing and treating disease...
Last Post: Science Daily
Today 05:26
» Replies: 0
» Views: 81
[Science Daily] New method could shed light on workers' hist...
Last Post: Science Daily
Today 05:26
» Replies: 0
» Views: 81
[Sci-Am] The Polycystic Sisterhood
Last Post: Scientific American
Yesterday 19:41
» Replies: 0
» Views: 178
[Wired] SpaceX Is Banking on Satellite Internet. Maybe It Sh...
Last Post: Wired Magazine
Yesterday 16:01
» Replies: 0
» Views: 145
[Science Daily] Clearing toxins from water, including fracki...
Last Post: Science Daily
Yesterday 16:01
» Replies: 0
» Views: 149
[Sci-Am] I Hate the Month of May
Last Post: Scientific American
Yesterday 06:21
» Replies: 0
» Views: 230
[Wired] What's So Special About Human Screams? Ask a Screamo...
Last Post: Wired Magazine
Yesterday 02:30
» Replies: 0
» Views: 227
[Science Daily] Amount of carbon stored in forests reduced a...
Last Post: Science Daily
Yesterday 02:30
» Replies: 0
» Views: 216
[Science Daily] Synthetic biologists hack bacterial sensors
Last Post: Science Daily
Yesterday 02:30
» Replies: 0
» Views: 204

[-]
Latest Threads
Azumi phone discharged completely
Last Post: MegaManX
Today 18:30
» Replies: 1
» Views: 25
Vernee Apollo X - CUSTOM ROMS
Last Post: Guilherme Arcini
Today 11:01
» Replies: 51
» Views: 18467
ZTE Axon 9 Pro and ZTE Axon 10 Pro
Last Post: DerDat
Today 04:00
» Replies: 7
» Views: 122
Ulefone Tiger - TWRP and Roms
Last Post: dickbacke
Yesterday 19:08
» Replies: 33
» Views: 17226
root mtk 6737 should i use miracle box?
Last Post: mako
Yesterday 09:51
» Replies: 2
» Views: 70
OUKITEL Y4800 Leaked Showcasing a 48MP C...
Last Post: DerDat
2019-05-23 11:47
» Replies: 1
» Views: 66
Large Display and Big battery, OUKITEL I...
Last Post: amindz
2019-05-21 23:33
» Replies: 3
» Views: 377
Replacement for ZTE Axon 7
Last Post: marcusah
2019-05-20 23:21
» Replies: 0
» Views: 64
Beelink GT King Review
Last Post: Blinky
2019-05-20 05:02
» Replies: 0
» Views: 78
Zh960
Last Post: locomani
2019-05-16 23:40
» Replies: 2
» Views: 2750
7 Inch Android 8.0 Double Din Stereo Rad...
Last Post: mayconcf
2019-05-16 03:24
» Replies: 0
» Views: 109
CUBE T8-PA STOCK FIRMWARE ANDROID 6.0
Last Post: scientistnature@yahoo.com
2019-05-16 03:01
» Replies: 0
» Views: 114
it can put the j2 prime rom to cubito ma...
Last Post: IMgroot
2019-05-15 20:10
» Replies: 1
» Views: 129
OUKITEL K9 Full Introduction: More than ...
Last Post: amindz
2019-05-15 06:06
» Replies: 0
» Views: 135
[Doogee Mix] camera not working
Last Post: Stepenwolf
2019-05-13 19:48
» Replies: 12
» Views: 5425
Cube iPlay 10. U83. MT8163
Last Post: guruboy
2019-05-12 04:22
» Replies: 9
» Views: 5460
How ROOT Hardware : MT8163? TABLET
Last Post: guruboy
2019-05-12 04:15
» Replies: 1
» Views: 1077
[Modify] Modify / Change Partitions MTK6...
Last Post: valassinhen
2019-05-09 07:04
» Replies: 24
» Views: 40635
solve this "jlink Error, please update f...
Last Post: csgmoodletest
2019-05-08 13:51
» Replies: 0
» Views: 175
Rooting this chinese tablet
Last Post: guruboy
2019-05-07 17:20
» Replies: 0
» Views: 167
rom for BMXC K107 tablet pls
Last Post: ocacandela
2019-05-07 05:38
» Replies: 52
» Views: 28410
OUKITEL K9 Presale is Starting on May 13...
Last Post: DirKNirK
2019-05-07 03:36
» Replies: 1
» Views: 230
Need rom
Last Post: TojoKael
2019-05-04 16:29
» Replies: 0
» Views: 258


Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tutorial] Build your own CWM recovery
#1
The procedure in short is:
A. Read the ROM
B. Process the ROM and generate the recovery (should be automatic)
C. Flash the generated recovery

In a bit more details:
A. Read the ROM which includes these sub steps:
1. Create a scatter file for your phone with MTKDroidTools and leave MTKDroidTools open
2. Open SP Flash Tools and load the scatter file you just created
3. Go to ReadBack Tab and Add a new entry - name it as you wish but leave the ROM_0 prefix - double tap the new entry and choose the length of ROM you want to read - to create the recovery it is enough to put the number of the partition right after the recovery (you can take that number from the scatter file you created) - Keep in mind the number must be in Hex - so when you copy it from the scatter file - make sure it's with the 0x prefix - something like 0x03d80000 for example.
4. Hit the Readback and disconnect your phone from the computer, shut it down, pull out the battery for a few seconds and then put the battery back - don't turn the phone on - just connect it to the usb - it should start the readback and eventually should finish with a green circle - if everything went good Smiling

B. Process the ROM and generate the recovery (should be automatic):
1. Go back to your MTKDroidTools - which should still be open from before - and hit "Process ROM" and choose the one you just read from the SP Flash Tools.
2. If the reading was successful - you should see the partitions you read being copied - and you would be asked if to create CWM recovery automatically - answer YES Smiling
3. After this process has ended successfully - go into the backups folder inside the mtkdroidtools folder - and you should see the ROM partitions you read - including the original boot.img and recovery.img as well as the newly created patched_recovery.img and patched_boot.img

C. Flash the generated recovery:
1. Create a new folder and copy your original scatter file you created in step A1 and your patched_recovery.img into this new folder.
2. In the new folder you created, rename the patched_recovery.img to just recovery.img
3. Open SP Flash Tools, choose the scatter file you copied in the new folder and you should see that it also adds automatically the recovery (make sure it's the correct folder) - Make sure that ONLY recovery section is selected !!!!!!
- hit Download and disconnect your phone from the computer, shut it down, pull out the battery for a few seconds and then put the battery back - don't turn the phone on - just connect it to the usb - it should start the flashing of the recovery and upon successful flash - you will see the green circle ;)

As always, I did it on my own device and it worked - but I can't guarantee for any others - so use this method at your own risk !!!
georbe, urbanchina, sharma_kvs, rstwingo, rivomanana, somberi, sturen74, mixmiloud, RickyGoldsmith, alfg, Dheeru_ram, kobpook, verovarian, hitachi, ads007, escafos, manutd1, poffsoft, razornova, gaf, GizBeat, deathfreak, juanjose780, scorpion22, Stefanic, mrweisslee, phnx55, Galectus, chris_koz, shrafeie, nickc78, Alpa, Shuvo007, backchrisi, hasan like this post
Reply
#2
Thanks for taking the time to write out this tutorial Yulypis. Excellent breakdown.
You and yulypis like this post
Two roads diverged in a yellow wood,
And sorry I could not travel both
And be one traveler, long I stood
And looked down one as far as I could
To where it bent in the undergrowth
Reply
#3
Thanks for the guide! This one is very easy to follow. Are there any good guides/reading that you guys could recommend for a beginner to read to learn android development?
You and gia1 like this post
Reply
#4
(2013-04-22, 00:35)phnx55 Wrote: [Only registered and activated users can see links Click here to register]
Two roads diverged in a yellow wood,
And sorry I could not travel both
And be one traveler, long I stood
And looked down one as far as I could
To where it bent in the undergrowth
Reply
#5
I tried to follow the steps, but at B2 I recieve the following message:

Code:
In system already available:  Android Debug Bridge version 1.0.31
--- Unknown ROM structure, backup NOT possible!
--- ATTENTION!  Recovery doesn't suit this phone!
--- Unknown ROM structure, backup NOT possible!

--- The preservation folder on the computer: D:\MTK_Droid_Tools_2.4.4\backups\M6589_130402_ForFlashtoolFromReadBack_130428-023324\

--- scatter is write to the file:
D:\MTK_Droid_Tools_2.4.4\backups\M6589_130402_ForFlashtoolFromReadBack_130428-023324\MT6589_Android_scatter_emmc.txtcopying is complete

[color=#FF0000]ATTENTION! [/color] File /system/recovery-from-boot.p which restore factory recovery in case of phone switching on in a normal mode Is Found!
After CWM Downloading in FlashTool, turn on phone only in the recovery mode! Press and retain volume-up with the Power button. The cable shall is connected to PC!

--- task is complete  ---
--- task is complete  ---
--- Unknown ROM structure, backup NOT possible!
--- ATTENTION!  Recovery doesn't suit this phone!
--- Unknown ROM structure, backup NOT possible!

This happens when I connect my phone both as normal as in recovery mode. Any thoughts?
You and iykedroid like this post
Reply
#6
I'm stuck at A4 because my Windows 7 box does not understand the CDC Serial USB Driver. Angry
You like this post
Reply
#7
Thanks very much for the guide
You like this post
Reply
#8
can you help me for the number of the partition right after the recovery?

here is my scatter file :

PRELOADER 0x0
{
}
DSP_BL 0x40000
{
}
__NODL_NVRAM 0x100000
{
}
__NODL_SECCNFG 0x400000
{
}
UBOOT 0x420000
{
}
BOOTIMG 0x480000
{
}
RECOVERY 0xa80000
{
}
SEC_RO 0x1080000
{
}
__NODL_MISC 0x11a0000
{
}
LOGO 0x1200000
{
}
__NODL_EXPDB 0x1500000
{
}
ANDROID 0x15a0000
{
}
CACHE 0xc180000
{
}
USRDATA 0xfd80000
{
}
__NODL_BMTPOOL 0xFFFF0050
{
}


so in read method what im choose? and start address, Length

thanks


i'm put in Legtth : 0x1080000
and get his erors

so what i must to do?

thanks
sharma_kvs likes this post


Attached Files Thumbnail(s)
   
Reply
#9
(2013-04-28, 08:37)mailis Wrote: I tried to follow the steps, but at B2 I recieve the following message:

Code:
In system already available:  Android Debug Bridge version 1.0.31
--- Unknown ROM structure, backup NOT possible!
--- ATTENTION!  Recovery doesn't suit this phone!
--- Unknown ROM structure, backup NOT possible!

--- The preservation folder on the computer: D:\MTK_Droid_Tools_2.4.4\backups\M6589_130402_ForFlashtoolFromReadBack_130428-023324\

--- scatter is write to the file:
D:\MTK_Droid_Tools_2.4.4\backups\M6589_130402_ForFlashtoolFromReadBack_130428-023324\MT6589_Android_scatter_emmc.txtcopying is complete

[color=#FF0000]ATTENTION! [/color] File /system/recovery-from-boot.p which restore factory recovery in case of phone switching on in a normal mode Is Found!
After CWM Downloading in FlashTool, turn on phone only in the recovery mode! Press and retain volume-up with the Power button. The cable shall is connected to PC!

--- task is complete  ---
--- task is complete  ---
--- Unknown ROM structure, backup NOT possible!
--- ATTENTION!  Recovery doesn't suit this phone!
--- Unknown ROM structure, backup NOT possible!

This happens when I connect my phone both as normal as in recovery mode. Any thoughts?


Hi mailis,as I see you´re trying to get a backup of cubot m6589,right?
Could you please,link it in some way when you are successul?
Some of us got ours totally bricked!
You like this post
Reply
#10
Hi Everyone,
Is there a way to do automatic rom recovery for
HDC Galaxy S4 H9500 MTK MT6589
Thanks
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  [New flash method] MT6752 how to root & flash recovery MT67xx Ninja^F.U.B.A.R. 10 25,026 2018-02-15, 06:46
Last Post: milantic
  fly swift gts porting costum recovery and costum rom xcoder 0 950 2017-10-07, 04:36
Last Post: xcoder
  [Tutorial] BACKUP, CUSTOM RECOVERY AND ROOT FOR MT67xx SMARTPHONES djtetei 13 13,480 2017-09-01, 00:32
Last Post: bikefire511
  [How-To] ** Create new Touch or nonTouch CWM-Recovery on MTK-Phones ** Louis777 27 36,887 2016-08-27, 02:11
Last Post: Ferdinand. Kamei
  [ROM] Colors Xfactor Elite E20 - stock rom,Custom rom, CM Rom & TWRP, CWM recovery. amarlohani 2 3,491 2016-06-22, 20:27
Last Post: amarlohani

Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Sponsor deals
WD Elements 2TB External Hard Drives- Si...
Last Post: GearVita.com
Today 13:51
» Replies: 0
» Views: 12
Xiaomi Mesh Router - A WiFi System to Ha...
Last Post: GearVita.com
Today 10:44
» Replies: 0
» Views: 19
8Bitdo N30 Gamepad - Perfect Way to Enjo...
Last Post: GearVita.com
Yesterday 15:17
» Replies: 0
» Views: 26
Zeblaze Thor 5 Smartwatch - Dual System,...
Last Post: GearVita.com
Yesterday 10:51
» Replies: 0
» Views: 26
Beelink GT-King TV Box - SoC Amlogic S92...
Last Post: GearVita.com
2019-05-23 13:42
» Replies: 0
» Views: 28
OUKITEL Y4800 Leaked Showcasing a 48MP C...
Last Post: DerDat
2019-05-23 11:47
» Replies: 1
» Views: 66
Asus ZenFone 6 - Flip Camera, Snapdragon...
Last Post: GearVita.com
2019-05-23 10:21
» Replies: 0
» Views: 39
Xiaomi Solove W2 - Convenient Combinatio...
Last Post: GearVita.com
2019-05-22 18:30
» Replies: 0
» Views: 40
Xiaomi Mijia Seabird 4K Sport Camera - D...
Last Post: GearVita.com
2019-05-22 10:51
» Replies: 0
» Views: 42
Large Display and Big battery, OUKITEL I...
Last Post: amindz
2019-05-21 23:33
» Replies: 3
» Views: 377
Ticwatch E Smartwatch - Designed to Fit ...
Last Post: GearVita.com
2019-05-21 15:23
» Replies: 0
» Views: 43
Huawei Y9 2019 - 6.5" Big Screen, 4 AI C...
Last Post: GearVita.com
2019-05-21 09:58
» Replies: 0
» Views: 39
DJI Osmo Action Camera - Dual Screens, R...
Last Post: GearVita.com
2019-05-20 16:27
» Replies: 0
» Views: 56
OnePlus 7 Pro - Fluid AMOLED Screen, 48M...
Last Post: GearVita.com
2019-05-20 09:56
» Replies: 0
» Views: 49
Xiaomi Beebest 8X Binocular Telescope - ...
Last Post: GearVita.com
2019-05-17 16:28
» Replies: 0
» Views: 69
JJRC H73 1080P 5G WiFi RC Drone - Satisf...
Last Post: GearVita.com
2019-05-17 10:37
» Replies: 0
» Views: 71
P1 GPS Sports Smartwatch - Born for Runn...
Last Post: GearVita.com
2019-05-16 17:12
» Replies: 0
» Views: 68
Huawei WiFi 2 mini - 4G-WiFi Available A...
Last Post: GearVita.com
2019-05-16 10:44
» Replies: 0
» Views: 79
Razer Kraken Gaming Headset - Experience...
Last Post: GearVita.com
2019-05-15 15:51
» Replies: 0
» Views: 81
MADV Mini Panorama Camera - Open Your Ne...
Last Post: GearVita.com
2019-05-15 09:54
» Replies: 0
» Views: 75

[-]
Tech & Science
[Wired] 5G Networks Could Throw Weather Forecasting Into Cha...
Last Post: Wired Magazine
Today 18:51
» Replies: 0
» Views: 6
[Science Daily] Australian islands home to 414 million piece...
Last Post: Science Daily
Today 18:51
» Replies: 0
» Views: 6
[Science Daily] Octopus-inspired wearable sensor
Last Post: Science Daily
Today 18:51
» Replies: 0
» Views: 5
[Sci-Am] Why Do Some Green Activists Eat Meat?
Last Post: Scientific American
Today 09:06
» Replies: 0
» Views: 95
[Harvard] Harvard researcher records neural activity ‘live’
Last Post: Harvard
Today 05:26
» Replies: 0
» Views: 97
[Wired] Atmospheric Methane Levels Are Going Up—And No One K...
Last Post: Wired Magazine
Today 05:26
» Replies: 0
» Views: 83
[Science Daily] A new way of diagnosing and treating disease...
Last Post: Science Daily
Today 05:26
» Replies: 0
» Views: 81
[Science Daily] New method could shed light on workers' hist...
Last Post: Science Daily
Today 05:26
» Replies: 0
» Views: 81
[Sci-Am] The Polycystic Sisterhood
Last Post: Scientific American
Yesterday 19:41
» Replies: 0
» Views: 178
[Wired] SpaceX Is Banking on Satellite Internet. Maybe It Sh...
Last Post: Wired Magazine
Yesterday 16:01
» Replies: 0
» Views: 145
[Science Daily] Clearing toxins from water, including fracki...
Last Post: Science Daily
Yesterday 16:01
» Replies: 0
» Views: 149
[Sci-Am] I Hate the Month of May
Last Post: Scientific American
Yesterday 06:21
» Replies: 0
» Views: 230
[Wired] What's So Special About Human Screams? Ask a Screamo...
Last Post: Wired Magazine
Yesterday 02:30
» Replies: 0
» Views: 227
[Science Daily] Amount of carbon stored in forests reduced a...
Last Post: Science Daily
Yesterday 02:30
» Replies: 0
» Views: 216
[Science Daily] Synthetic biologists hack bacterial sensors
Last Post: Science Daily
Yesterday 02:30
» Replies: 0
» Views: 204
[Sci-Am] Organ Stealing and Slavery Rampant Among—Plan...
Last Post: Scientific American
2019-05-23 16:42
» Replies: 0
» Views: 264
[Wired] NASA Needs $1.6 Billion More to Send a Human to the ...
Last Post: Wired Magazine
2019-05-23 13:10
» Replies: 0
» Views: 273
[Science Daily] Breakthrough in new material to harness sola...
Last Post: Science Daily
2019-05-23 13:10
» Replies: 0
» Views: 273
[Sci-Am] Moon Blobs, Collapsars and Long Planets
Last Post: Scientific American
2019-05-23 03:08
» Replies: 0
» Views: 294
[Wired] Daimler Plans to Make Its Cars Carbon Neutral by 203...
Last Post: Wired Magazine
2019-05-22 23:48
» Replies: 0
» Views: 280