[-]
Who's Online
There are currently 1736 online users. [Complete List]
» 5 Member(s) | 1731 Guest(s)
AvatarAvatarAvatarAvatar
Avatar

[-]
Latest Threads
Need ROM for Q223_MB_V41
Last Post: aamm065065
2024-05-13 00:34
» Replies: 0
» Views: 915
K107-MB-V4.2
Last Post: Alby
2024-04-24 00:37
» Replies: 0
» Views: 514
[ROM] NEED ROM ZH960-MB-V5.0 MTK 6592
Last Post: sendycat2
2024-04-21 08:57
» Replies: 0
» Views: 606
ZH960 Tablet Bricked
Last Post: luis mar que
2024-03-20 19:52
» Replies: 14
» Views: 10316
Thanks, I've been looking for this for a...
Last Post: StevenRip
2024-02-25 05:00
» Replies: 0
» Views: 996
[SOLVED] Need ROM for ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:59
» Replies: 0
» Views: 646
NEED ROM ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:53
» Replies: 18
» Views: 14260
Budget phone choice help needed
Last Post: sabir7272
2024-02-10 06:52
» Replies: 4
» Views: 4559
ZH960-MB-V3.1 SOLVE
Last Post: Pranav1
2023-12-20 20:22
» Replies: 74
» Views: 34665
Need ROM for SONIM XP7S Android 5.1.1
Last Post: Alpa
2023-11-29 22:17
» Replies: 0
» Views: 436
Need rom for X101 Mt6592
Last Post: carencell
2023-11-24 21:30
» Replies: 3
» Views: 2553
Gizbeat 101: Get your MTK6589 MTK6577 MT...
Last Post: Alexia78
2023-11-13 11:28
» Replies: 8
» Views: 22643
Need rom for a tablet with board id "K10...
Last Post: oliver2
2023-10-24 20:23
» Replies: 6
» Views: 6217
How to Connect open public wifi
Last Post: oliverben45
2023-10-24 16:03
» Replies: 11
» Views: 9460
I NEED FILE FOR ITEL MOBILE PHONE AND TO...
Last Post: Meghnad45
2023-10-22 02:38
» Replies: 1
» Views: 1650
NEED Help Bricked my phone.
Last Post: Meghnad45
2023-10-22 02:36
» Replies: 4
» Views: 5114
Introduction
Last Post: ezrahidaya
2023-10-14 14:38
» Replies: 2
» Views: 1573
Needs help to root a china tablet brand ...
Last Post: ezrahidaya
2023-10-14 14:37
» Replies: 1
» Views: 474
Any tips to stay awake?
Last Post: ezrahidaya
2023-10-14 14:35
» Replies: 6
» Views: 8184
Need ROM for china TAb MT6797
Last Post: ezrahidaya
2023-10-14 14:34
» Replies: 1
» Views: 639
need this stock firmware for my tablet M...
Last Post: ramzii888
2023-10-14 02:20
» Replies: 4
» Views: 5057
Encryption Unsuccessful - Reset Android
Last Post: Aakriti
2023-10-13 16:51
» Replies: 3
» Views: 12862
betools
Last Post: egdeim
2023-09-21 12:41
» Replies: 4
» Views: 5236





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 !!!
ads007, poffsoft, mrweisslee, GizBeat, shrafeie, Galectus, Shuvo007, phnx55, Dheeru_ram, gaf, georbe, manutd1, urbanchina, sharma_kvs, verovarian, somberi, deathfreak, razornova, rstwingo, backchrisi, nickc78, hitachi, RickyGoldsmith, Alpa, hasan, chris_koz, rivomanana, mixmiloud, juanjose780, Stefanic, sturen74, alfg, escafos, kobpook, scorpion22 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
  [Tutorial] BACKUP, CUSTOM RECOVERY AND ROOT FOR MT67xx SMARTPHONES djtetei 14 24,457 2020-04-11, 21:53
Last Post: romaneart
Thumbs Up [Tutorial] How to format your NAND Flash MT6589, MT6577, MT6582, MT6572 akwangwu 47 285,586 2019-03-18, 08:11
Last Post: abrahim
  [Tutorial] Ultimate no-root backup CWM MT6582 MT6592 MT6589 MT6589T MT6577 MT6595 Sniper47 39 115,252 2018-04-17, 05:30
Last Post: lentmain
  [New flash method] MT6752 how to root & flash recovery MT67xx Ninja^F.U.B.A.R. 10 30,232 2018-02-15, 06:46
Last Post: milantic
  fly swift gts porting costum recovery and costum rom xcoder 0 1,659 2017-10-07, 04:36
Last Post: xcoder

Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Tech & Science
[Sci-Am] Why Hypochondria Can Be Deadly, and How Newer Treat...
Last Post: Scientific American
Today 01:39
» Replies: 0
» Views: 14
[Sci-Am] Horse Domestication Story Gets a Surprising Rewrite
Last Post: Scientific American
Yesterday 12:08
» Replies: 0
» Views: 29
[Sci-Am] Fossil Fuels Are Not Essential
Last Post: Scientific American
2024-11-29 22:32
» Replies: 0
» Views: 64
[Sci-Am] See How Close We Are to Gender Equality around the ...
Last Post: Scientific American
2024-11-29 09:02
» Replies: 0
» Views: 48
[Sci-Am] Mathematicians Discover a New Kind of Shape That’s ...
Last Post: Scientific American
2024-11-28 06:17
» Replies: 0
» Views: 100
[Sci-Am] Curiosity, Horses and Hypochondria
Last Post: Scientific American
2024-11-27 16:52
» Replies: 0
» Views: 72
[Harvard] Amid Hurricane Milton’s devastation, a sliver of g...
Last Post: Harvard
2024-11-27 16:52
» Replies: 0
» Views: 30
[Sci-Am] Contributors to Scientific American’s December 2024...
Last Post: Scientific American
2024-11-27 03:17
» Replies: 0
» Views: 37
[Sci-Am] Exotic Powder Pulls Carbon Dioxide from the Air at ...
Last Post: Scientific American
2024-11-26 13:56
» Replies: 0
» Views: 42
[Sci-Am] Enjoy Holiday Food without the Anxiety
Last Post: Scientific American
2024-11-25 11:05
» Replies: 0
» Views: 93
[Sci-Am] Climate Change Is Altering Animals’ Colors
Last Post: Scientific American
2024-11-24 21:08
» Replies: 0
» Views: 35
[Sci-Am] Drought across the U.S., H5N1 in Canada and Uranus ...
Last Post: Scientific American
2024-11-24 07:31
» Replies: 0
» Views: 47
[Sci-Am] Some Counties Voted for Trump and Approved Climate ...
Last Post: Scientific American
2024-11-23 17:36
» Replies: 0
» Views: 43
[Sci-Am] Fun Facts about Teeth across the Animal Kingdom
Last Post: Scientific American
2024-11-23 03:45
» Replies: 0
» Views: 62
[Sci-Am] The U.S. Must Lead the Global Fight against Superbu...
Last Post: Scientific American
2024-11-20 21:24
» Replies: 0
» Views: 134
[Sci-Am] Trump Administration Likely to Repeal Methane Leak ...
Last Post: Scientific American
2024-11-20 07:40
» Replies: 0
» Views: 55
[Harvard] Mars may have been habitable much more recently th...
Last Post: Harvard
2024-11-20 07:40
» Replies: 0
» Views: 39
[Sci-Am] Clean Energy Is Bringing Electricity to Many in the...
Last Post: Scientific American
2024-11-19 18:11
» Replies: 0
» Views: 48
[Sci-Am] The Law Must Respond When Science Changes
Last Post: Scientific American
2024-11-19 04:42
» Replies: 0
» Views: 43
[Harvard] What happened when a meteorite the size of four Mo...
Last Post: Harvard
2024-11-19 04:42
» Replies: 0
» Views: 22
[Sci-Am] Epic Gravity Lens Lines Up Seven-Galaxy View
Last Post: Scientific American
2024-11-18 01:54
» Replies: 0
» Views: 88
[Sci-Am] Voting Has Never Been More Secure Than It Is Right ...
Last Post: Scientific American
2024-11-17 10:52
» Replies: 0
» Views: 48
[Sci-Am] The Virus That Causes Mpox Keeps Getting Better at ...
Last Post: Scientific American
2024-11-16 20:14
» Replies: 0
» Views: 64
[Sci-Am] How to Calm Your Election Anxiety—Even after Polls ...
Last Post: Scientific American
2024-11-16 06:43
» Replies: 0
» Views: 113
[Harvard] When we say ‘smart,’ what do we mean?
Last Post: Harvard
2024-11-15 03:38
» Replies: 0
» Views: 138
[Sci-Am] Why Election Polling Has Become Less Reliable
Last Post: Scientific American
2024-11-14 14:18
» Replies: 0
» Views: 50
[Harvard] Big discovery about microscopic ‘water bears’
Last Post: Harvard
2024-11-14 14:18
» Replies: 0
» Views: 34
[Sci-Am] The Universe in 100 Colors Provides a Stunning Tour...
Last Post: Scientific American
2024-11-14 00:31
» Replies: 0
» Views: 72
[Sci-Am] One in Three Tree Species Is at Risk of Extinction
Last Post: Scientific American
2024-11-13 11:08
» Replies: 0
» Views: 61
[Sci-Am] A Bird Flu Vaccine Might Come Too Late to Save Us f...
Last Post: Scientific American
2024-11-12 20:46
» Replies: 0
» Views: 124
[Sci-Am] Why Are Close Elections So Common?
Last Post: Scientific American
2024-11-12 07:16
» Replies: 0
» Views: 100
[Sci-Am] More Men Are Getting Vasectomies Since Roe Was Over...
Last Post: Scientific American
2024-11-11 17:54
» Replies: 0
» Views: 77
[Sci-Am] Exploring the Science of Spookiness at the Recreati...
Last Post: Scientific American
2024-11-10 14:38
» Replies: 0
» Views: 132
[Sci-Am] Underwater Temple from ‘Indiana Jones Civilization’...
Last Post: Scientific American
2024-11-10 01:00
» Replies: 0
» Views: 171
[Sci-Am] Math and Puzzle Fans Find Magic in Martin Gardner’s...
Last Post: Scientific American
2024-11-09 11:01
» Replies: 0
» Views: 83
[Sci-Am] How Harris’s Medicare Plan Could Make At-Home Care ...
Last Post: Scientific American
2024-11-08 21:03
» Replies: 0
» Views: 81
[Sci-Am] Wildfires Are Moving Faster and Causing More Damage
Last Post: Scientific American
2024-11-08 07:40
» Replies: 0
» Views: 78