[-]
Who's Online
There are currently 2249 online users. [Complete List]
» 1 Member(s) | 2248 Guest(s)
Avatar

[-]
Latest Threads
ZH960 Tablet Bricked
Last Post: luis mar que
2024-03-20 19:52
» Replies: 15
» Views: 9721
Thanks, I've been looking for this for a...
Last Post: StevenRip
2024-02-25 05:00
» Replies: 0
» Views: 35
[SOLVED] Need ROM for ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:59
» Replies: 0
» Views: 114
NEED ROM ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:53
» Replies: 18
» Views: 13580
Budget phone choice help needed
Last Post: sabir7272
2024-02-10 06:52
» Replies: 4
» Views: 4225
ZH960-MB-V3.1 SOLVE
Last Post: Pranav1
2023-12-20 20:22
» Replies: 77
» Views: 33622
Need ROM for SONIM XP7S Android 5.1.1
Last Post: Alpa
2023-11-29 22:17
» Replies: 0
» Views: 87
Need rom for X101 Mt6592
Last Post: carencell
2023-11-24 21:30
» Replies: 3
» Views: 2069
Gizbeat 101: Get your MTK6589 MTK6577 MT...
Last Post: Alexia78
2023-11-13 11:28
» Replies: 8
» Views: 22273
ZH960-MB-V3.1
Last Post: Giankyworld81
2023-11-01 19:35
» Replies: 21
» Views: 15393
Need rom for a tablet with board id "K10...
Last Post: oliver2
2023-10-24 20:23
» Replies: 6
» Views: 5283
How to Connect open public wifi
Last Post: oliverben45
2023-10-24 16:03
» Replies: 11
» Views: 8803
I NEED FILE FOR ITEL MOBILE PHONE AND TO...
Last Post: Meghnad45
2023-10-22 02:38
» Replies: 1
» Views: 1383
NEED Help Bricked my phone.
Last Post: Meghnad45
2023-10-22 02:36
» Replies: 4
» Views: 4794
Introduction
Last Post: ezrahidaya
2023-10-14 14:38
» Replies: 3
» Views: 1307
Needs help to root a china tablet brand ...
Last Post: ezrahidaya
2023-10-14 14:37
» Replies: 1
» Views: 182
Any tips to stay awake?
Last Post: ezrahidaya
2023-10-14 14:35
» Replies: 6
» Views: 5127
Need ROM for china TAb MT6797
Last Post: ezrahidaya
2023-10-14 14:34
» Replies: 1
» Views: 322
need this stock firmware for my tablet M...
Last Post: ramzii888
2023-10-14 02:20
» Replies: 4
» Views: 4477
Encryption Unsuccessful - Reset Android
Last Post: Aakriti
2023-10-13 16:51
» Replies: 3
» Views: 12384
betools
Last Post: egdeim
2023-09-21 12:41
» Replies: 4
» Views: 5026
[Movie Suggestion] Automata with Antonio...
Last Post: GottaGetX
2023-09-07 09:19
» Replies: 3
» Views: 4097
Suggest a movie thread
Last Post: GottaGetX
2023-09-07 09:17
» Replies: 5
» Views: 8783





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 !!!
poffsoft, nickc78, Shuvo007, Galectus, hitachi, gaf, Stefanic, rivomanana, GizBeat, backchrisi, georbe, kobpook, alfg, phnx55, mrweisslee, urbanchina, rstwingo, shrafeie, juanjose780, hasan, escafos, mixmiloud, somberi, verovarian, scorpion22, RickyGoldsmith, razornova, Dheeru_ram, ads007, chris_koz, deathfreak, sturen74, manutd1, sharma_kvs, Alpa 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,140 2020-04-11, 21:53
Last Post: romaneart
Thumbs Up [Tutorial] How to format your NAND Flash MT6589, MT6577, MT6582, MT6572 akwangwu 47 285,084 2019-03-18, 08:11
Last Post: abrahim
  [Tutorial] Ultimate no-root backup CWM MT6582 MT6592 MT6589 MT6589T MT6577 MT6595 Sniper47 39 114,665 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 29,902 2018-02-15, 06:46
Last Post: milantic
  fly swift gts porting costum recovery and costum rom xcoder 0 1,642 2017-10-07, 04:36
Last Post: xcoder

Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Tech & Science
[Sci-Am] We Are Living in the Pyrocene, the Age of Fire that...
Last Post: Scientific American
Today 16:45
» Replies: 0
» Views: 1
[Harvard] Hate mosquitoes? Who doesn’t? But maybe we shouldn...
Last Post: Harvard
Today 03:05
» Replies: 0
» Views: 18
[Sci-Am] Why Some People Always Get Lost—And Others Never Do
Last Post: Scientific American
Yesterday 13:33
» Replies: 0
» Views: 28
[Sci-Am] U.S. Carbon Removal Needs Have a $100-Billion Price...
Last Post: Scientific American
2024-04-16 23:48
» Replies: 0
» Views: 30
[Sci-Am] New Books Help Parents Explain Climate Disasters to...
Last Post: Scientific American
2024-04-16 10:13
» Replies: 0
» Views: 46
[Sci-Am] Renewable Energy Shatters Records in the U.S.
Last Post: Scientific American
2024-04-15 20:19
» Replies: 0
» Views: 63
[Sci-Am] The Dunning-Kruger Effect Shows that People Don’t K...
Last Post: Scientific American
2024-04-15 06:47
» Replies: 0
» Views: 63
[Sci-Am] AI Chatbots Will Never Stop Hallucinating
Last Post: Scientific American
2024-04-14 17:12
» Replies: 0
» Views: 53
[Sci-Am] How Do Periodical Cicadas Know When to Emerge?
Last Post: Scientific American
2024-04-14 03:11
» Replies: 0
» Views: 43
[Sci-Am] It’s Never Too Late to Take Climate Action
Last Post: Scientific American
2024-04-13 13:43
» Replies: 0
» Views: 53
[Sci-Am] To Ancient Maya, Solar Eclipses Signified Clashing ...
Last Post: Scientific American
2024-04-12 23:09
» Replies: 0
» Views: 54
[Sci-Am] What We Know about Taiwan’s Magnitude 7.4 Earthquak...
Last Post: Scientific American
2024-04-12 09:25
» Replies: 0
» Views: 74
[Sci-Am] Plastic Pollution Is Drowning Earth. A Global Treat...
Last Post: Scientific American
2024-04-11 19:50
» Replies: 0
» Views: 73
[Sci-Am] Eclipses Reveal a Comforting Clockwork in Our Chaot...
Last Post: Scientific American
2024-04-11 06:28
» Replies: 0
» Views: 41
[Harvard] ‘Harvard Thinking’: Climate alignment is no easy t...
Last Post: Harvard
2024-04-11 06:28
» Replies: 0
» Views: 40
[Sci-Am] Men Succumb to Anesthesia More Easily than Women
Last Post: Scientific American
2024-04-09 14:02
» Replies: 0
» Views: 56
[Sci-Am] How to Watch the Total Solar Eclipse Online
Last Post: Scientific American
2024-04-09 00:30
» Replies: 0
» Views: 71
[Sci-Am] Memories Are Made by Breaking DNA — and Fixing It, ...
Last Post: Scientific American
2024-04-08 10:50
» Replies: 0
» Views: 50
[Sci-Am] Ever Larger Cargo Ships Threaten Bridges, Ports and...
Last Post: Scientific American
2024-04-07 21:14
» Replies: 0
» Views: 55
[Sci-Am] Baltimore Bridge Collapse Will Teach Engineers to B...
Last Post: Scientific American
2024-04-07 07:47
» Replies: 0
» Views: 48
[Sci-Am] Pregnancy Increases Biological Age, but Giving Birt...
Last Post: Scientific American
2024-04-06 18:13
» Replies: 0
» Views: 18
[Sci-Am] Understanding Dyscalculia, Dyslexia’s Numeric Count...
Last Post: Scientific American
2024-04-06 04:35
» Replies: 0
» Views: 12
[Sci-Am] Baltimore Bridge Collapse Wreaks Havoc on Coal, Car...
Last Post: Scientific American
2024-04-05 15:14
» Replies: 0
» Views: 11
[Harvard] A playbook for policy change
Last Post: Harvard
2024-04-05 15:14
» Replies: 0
» Views: 12
[Sci-Am] Does Long-Term Benadryl Use Increase Dementia Risk?
Last Post: Scientific American
2024-04-05 01:43
» Replies: 0
» Views: 20
[Sci-Am] How Visually Impaired People Can Experience Solar E...
Last Post: Scientific American
2024-04-04 11:44
» Replies: 0
» Views: 17
[Harvard] Under pressure
Last Post: Harvard
2024-04-04 11:44
» Replies: 0
» Views: 36
[Sci-Am] Wild Birds Gesture ‘After You’ to Insist Their Mate...
Last Post: Scientific American
2024-04-03 08:12
» Replies: 0
» Views: 86
[Harvard] Glimpse into how mind may affect healing
Last Post: Harvard
2024-04-03 08:12
» Replies: 0
» Views: 51
[Sci-Am] The Future of Driving in the U.S. Is Electric—Sort ...
Last Post: Scientific American
2024-04-02 18:49
» Replies: 0
» Views: 22
[Sci-Am] What Climate Change Means for Your Garden
Last Post: Scientific American
2024-04-02 05:13
» Replies: 0
» Views: 46
[Sci-Am] Banning TikTok Would Do Basically Nothing to Protec...
Last Post: Scientific American
2024-04-01 15:15
» Replies: 0
» Views: 50
[Sci-Am] Can AI Replace Human Research Participants? These S...
Last Post: Scientific American
2024-04-01 01:16
» Replies: 0
» Views: 58
[Sci-Am] We Need a Public Service Internet to Free Us from B...
Last Post: Scientific American
2024-03-31 10:31
» Replies: 0
» Views: 70
[Sci-Am] How Do Babies Realize They Can Influence the World?
Last Post: Scientific American
2024-03-30 19:18
» Replies: 0
» Views: 64
[Sci-Am] Earth Has More Than One Moon
Last Post: Scientific American
2024-03-30 05:26
» Replies: 0
» Views: 65
[Sci-Am] Kitten Season Is Out of Control. Are Warmer Winters...
Last Post: Scientific American
2024-03-29 15:41
» Replies: 0
» Views: 54