[-]
Who's Online
There are currently 1706 online users. [Complete List]
» 4 Member(s) | 1702 Guest(s)
AvatarAvatarAvatarAvatar

[-]
Latest Threads
Need ROM for Q223_MB_V41
Last Post: aamm065065
2024-05-13 00:34
» Replies: 0
» Views: 874
K107-MB-V4.2
Last Post: Alby
2024-04-24 00:37
» Replies: 0
» Views: 484
[ROM] NEED ROM ZH960-MB-V5.0 MTK 6592
Last Post: sendycat2
2024-04-21 08:57
» Replies: 0
» Views: 566
ZH960 Tablet Bricked
Last Post: luis mar que
2024-03-20 19:52
» Replies: 14
» Views: 10261
Thanks, I've been looking for this for a...
Last Post: StevenRip
2024-02-25 05:00
» Replies: 0
» Views: 872
[SOLVED] Need ROM for ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:59
» Replies: 0
» Views: 604
NEED ROM ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:53
» Replies: 18
» Views: 14207
Budget phone choice help needed
Last Post: sabir7272
2024-02-10 06:52
» Replies: 4
» Views: 4540
ZH960-MB-V3.1 SOLVE
Last Post: Pranav1
2023-12-20 20:22
» Replies: 74
» Views: 34598
Need ROM for SONIM XP7S Android 5.1.1
Last Post: Alpa
2023-11-29 22:17
» Replies: 0
» Views: 406
Need rom for X101 Mt6592
Last Post: carencell
2023-11-24 21:30
» Replies: 3
» Views: 2500
Gizbeat 101: Get your MTK6589 MTK6577 MT...
Last Post: Alexia78
2023-11-13 11:28
» Replies: 8
» Views: 22617
Need rom for a tablet with board id "K10...
Last Post: oliver2
2023-10-24 20:23
» Replies: 6
» Views: 6140
How to Connect open public wifi
Last Post: oliverben45
2023-10-24 16:03
» Replies: 11
» Views: 9427
I NEED FILE FOR ITEL MOBILE PHONE AND TO...
Last Post: Meghnad45
2023-10-22 02:38
» Replies: 1
» Views: 1635
NEED Help Bricked my phone.
Last Post: Meghnad45
2023-10-22 02:36
» Replies: 4
» Views: 5081
Introduction
Last Post: ezrahidaya
2023-10-14 14:38
» Replies: 2
» Views: 1555
Needs help to root a china tablet brand ...
Last Post: ezrahidaya
2023-10-14 14:37
» Replies: 1
» Views: 450
Any tips to stay awake?
Last Post: ezrahidaya
2023-10-14 14:35
» Replies: 6
» Views: 8165
Need ROM for china TAb MT6797
Last Post: ezrahidaya
2023-10-14 14:34
» Replies: 1
» Views: 622
need this stock firmware for my tablet M...
Last Post: ramzii888
2023-10-14 02:20
» Replies: 4
» Views: 5037
Encryption Unsuccessful - Reset Android
Last Post: Aakriti
2023-10-13 16:51
» Replies: 3
» Views: 12731
betools
Last Post: egdeim
2023-09-21 12:41
» Replies: 4
» Views: 5221





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 !!!
shrafeie, sturen74, GizBeat, urbanchina, Dheeru_ram, nickc78, kobpook, sharma_kvs, rivomanana, Alpa, mixmiloud, razornova, chris_koz, Stefanic, verovarian, scorpion22, poffsoft, alfg, backchrisi, somberi, hasan, gaf, Shuvo007, juanjose780, georbe, manutd1, ads007, rstwingo, escafos, phnx55, mrweisslee, Galectus, deathfreak, hitachi, RickyGoldsmith 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,439 2020-04-11, 21:53
Last Post: romaneart
Thumbs Up [Tutorial] How to format your NAND Flash MT6589, MT6577, MT6582, MT6572 akwangwu 47 285,565 2019-03-18, 08:11
Last Post: abrahim
  [Tutorial] Ultimate no-root backup CWM MT6582 MT6592 MT6589 MT6589T MT6577 MT6595 Sniper47 39 115,224 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,220 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] How Harris’s Medicare Plan Could Make At-Home Care ...
Last Post: Scientific American
Yesterday 21:03
» Replies: 0
» Views: 32
[Sci-Am] Wildfires Are Moving Faster and Causing More Damage
Last Post: Scientific American
Yesterday 07:40
» Replies: 0
» Views: 49
[Sci-Am] Climate Goal “Will Be Dead Within a Few Years” Unle...
Last Post: Scientific American
2024-11-07 04:40
» Replies: 0
» Views: 116
[Sci-Am] This Is Your Robot Brain on Mushrooms
Last Post: Scientific American
2024-11-06 15:00
» Replies: 0
» Views: 86
[Sci-Am] The Unsettled Science behind Weight-Loss Drugs for ...
Last Post: Scientific American
2024-11-06 01:19
» Replies: 0
» Views: 69
[Sci-Am] Treat or Trick? Astronomical Objects Are Beautiful—...
Last Post: Scientific American
2024-11-05 11:42
» Replies: 0
» Views: 62
[Sci-Am] Celebrating Spooky Lake Month with Its Creator Geo ...
Last Post: Scientific American
2024-11-04 20:46
» Replies: 0
» Views: 74
[Sci-Am] Hurricane Helene Disrupted Abortion Care in the Sou...
Last Post: Scientific American
2024-11-04 07:11
» Replies: 0
» Views: 88
[Sci-Am] These Hornets Can Thrive on Just Alcohol without Ge...
Last Post: Scientific American
2024-11-03 17:38
» Replies: 0
» Views: 56
[Sci-Am] Apples Have Never Tasted So Delicious. Here’s Why
Last Post: Scientific American
2024-11-03 03:45
» Replies: 0
» Views: 78
[Sci-Am] Climate Change Is Raising the Temperature on Global...
Last Post: Scientific American
2024-11-02 13:38
» Replies: 0
» Views: 73
[Sci-Am] Largest-Ever Pair of Black Hole Jets Stretches 23 M...
Last Post: Scientific American
2024-11-02 00:01
» Replies: 0
» Views: 64
[Sci-Am] We Need More Meds, Not Beds, to Help People Recover...
Last Post: Scientific American
2024-11-01 10:40
» Replies: 0
» Views: 83
[Sci-Am] Did Decriminalizing Drugs Such As Fentanyl Cause Op...
Last Post: Scientific American
2024-10-31 21:16
» Replies: 0
» Views: 94
[Sci-Am] The Colors of Fall Leaves Are Shaped by Climate Cha...
Last Post: Scientific American
2024-10-31 07:34
» Replies: 0
» Views: 83
[Harvard] The making of the gut
Last Post: Harvard
2024-10-31 07:34
» Replies: 0
» Views: 32
[Sci-Am] Millions of Aging Americans Are Facing Dementia by ...
Last Post: Scientific American
2024-10-30 17:56
» Replies: 0
» Views: 111
[Harvard] How whales and dolphins adapted for life on the wa...
Last Post: Harvard
2024-10-30 17:56
» Replies: 0
» Views: 26
[Sci-Am] 'Wonder Drug' Explores Thalidomide’s Secret History...
Last Post: Scientific American
2024-10-30 03:55
» Replies: 0
» Views: 96
[Harvard] Journey to a key front in climate-change fight
Last Post: Harvard
2024-10-30 03:55
» Replies: 0
» Views: 21
[Sci-Am] Numbers Are Persuasive—If Used in Moderation
Last Post: Scientific American
2024-10-29 14:27
» Replies: 0
» Views: 76
[Harvard] A birder’s biggest enemy in rainforest: complacenc...
Last Post: Harvard
2024-10-29 14:27
» Replies: 0
» Views: 28
[Sci-Am] Flying Conservationists Teach Endangered Birds to M...
Last Post: Scientific American
2024-10-28 23:41
» Replies: 0
» Views: 78
[Harvard] Redefining the good life
Last Post: Harvard
2024-10-28 23:41
» Replies: 0
» Views: 19
[Sci-Am] Climate Change Action Depends on the 2024 Election
Last Post: Scientific American
2024-10-28 10:20
» Replies: 0
» Views: 56
[Harvard] Blue, green, gold: Why eyes of wild cats vary in c...
Last Post: Harvard
2024-10-28 10:20
» Replies: 0
» Views: 22
[Sci-Am] How Implicit Bias Affects Your Medical Care
Last Post: Scientific American
2024-10-27 20:23
» Replies: 0
» Views: 60
[Harvard] An idea with legs
Last Post: Harvard
2024-10-27 20:23
» Replies: 0
» Views: 25
[Sci-Am] SpaceX Catches a Falling Starship—A First in Spacef...
Last Post: Scientific American
2024-10-27 07:01
» Replies: 0
» Views: 74
[Harvard] How well do you know your dog?
Last Post: Harvard
2024-10-27 07:01
» Replies: 0
» Views: 18
[Sci-Am] Climate-Fueled Disasters Are Raising Insurance Rate...
Last Post: Scientific American
2024-10-26 15:58
» Replies: 0
» Views: 105
[Harvard] So why does Mr. Whiskers meow?
Last Post: Harvard
2024-10-26 15:58
» Replies: 0
» Views: 30
[Sci-Am] Smart Tech Would Make Your Office Building Greener
Last Post: Scientific American
2024-10-26 02:33
» Replies: 0
» Views: 70
[Sci-Am] Lucy Turns 50, and Dark Energy Gets More Mysterious
Last Post: Scientific American
2024-10-25 12:53
» Replies: 0
» Views: 90
[Harvard] A smoother way to study ‘twistronics’
Last Post: Harvard
2024-10-25 12:53
» Replies: 0
» Views: 39
[Sci-Am] Book Review: The Big Costs of Mining the Planet for...
Last Post: Scientific American
2024-10-24 21:46
» Replies: 0
» Views: 84
[Harvard] Professor tailored AI tutor to physics course. Eng...
Last Post: Harvard
2024-10-24 21:46
» Replies: 0
» Views: 24