[-]
Who's Online
There are currently no members online.

[-]
Latest Threads
User What is the effect of food intake o...
Last Post: fildena150as
2024-03-13 16:37
» Replies: 0
» Views: 12
Thanks, I've been looking for this for a...
Last Post: StevenRip
2024-02-25 05:00
» Replies: 0
» Views: 12
[SOLVED] Need ROM for ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:59
» Replies: 0
» Views: 61
NEED ROM ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:53
» Replies: 18
» Views: 13517
Budget phone choice help needed
Last Post: sabir7272
2024-02-10 06:52
» Replies: 4
» Views: 4180
ZH960-MB-V3.1 SOLVE
Last Post: Pranav1
2023-12-20 20:22
» Replies: 77
» Views: 33562
Need ROM for SONIM XP7S Android 5.1.1
Last Post: Alpa
2023-11-29 22:17
» Replies: 0
» Views: 64
Need rom for X101 Mt6592
Last Post: carencell
2023-11-24 21:30
» Replies: 3
» Views: 2032
Gizbeat 101: Get your MTK6589 MTK6577 MT...
Last Post: Alexia78
2023-11-13 11:28
» Replies: 8
» Views: 22259
ZH960-MB-V3.1
Last Post: Giankyworld81
2023-11-01 19:35
» Replies: 21
» Views: 15339
Need rom for a tablet with board id "K10...
Last Post: oliver2
2023-10-24 20:23
» Replies: 6
» Views: 4986
How to Connect open public wifi
Last Post: oliverben45
2023-10-24 16:03
» Replies: 11
» Views: 8787
I NEED FILE FOR ITEL MOBILE PHONE AND TO...
Last Post: Meghnad45
2023-10-22 02:38
» Replies: 1
» Views: 1374
NEED Help Bricked my phone.
Last Post: Meghnad45
2023-10-22 02:36
» Replies: 4
» Views: 4783
Introduction
Last Post: ezrahidaya
2023-10-14 14:38
» Replies: 3
» Views: 1288
Needs help to root a china tablet brand ...
Last Post: ezrahidaya
2023-10-14 14:37
» Replies: 1
» Views: 160
Any tips to stay awake?
Last Post: ezrahidaya
2023-10-14 14:35
» Replies: 6
» Views: 4858
Need ROM for china TAb MT6797
Last Post: ezrahidaya
2023-10-14 14:34
» Replies: 1
» Views: 297
need this stock firmware for my tablet M...
Last Post: ramzii888
2023-10-14 02:20
» Replies: 4
» Views: 4437
Encryption Unsuccessful - Reset Android
Last Post: Aakriti
2023-10-13 16:51
» Replies: 3
» Views: 12373
betools
Last Post: egdeim
2023-09-21 12:41
» Replies: 4
» Views: 5016
[Movie Suggestion] Automata with Antonio...
Last Post: GottaGetX
2023-09-07 09:19
» Replies: 3
» Views: 4079
Suggest a movie thread
Last Post: GottaGetX
2023-09-07 09:17
» Replies: 5
» Views: 8775





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

Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Tech & Science
[Sci-Am] How the Seven Bridges of Königsberg Spawned New Mat...
Last Post: Scientific American
Today 04:51
» Replies: 0
» Views: 5
[Sci-Am] Biden’s State of the Union Promises Big Job Gains f...
Last Post: Scientific American
Yesterday 14:15
» Replies: 0
» Views: 18
[Sci-Am] Paying Attention to Sensations Can Help Reset the M...
Last Post: Scientific American
Yesterday 00:26
» Replies: 0
» Views: 25
[Sci-Am] How Arguments that Embryos Are People Pose a Threat...
Last Post: Scientific American
2024-03-17 10:12
» Replies: 0
» Views: 30
[Sci-Am] NASA’s Hopes for Space Solar Power Are Looking Dim
Last Post: Scientific American
2024-03-16 19:58
» Replies: 0
» Views: 31
[Sci-Am] Deepwater Sharks Are Threatened by Demand for Liver...
Last Post: Scientific American
2024-03-16 06:21
» Replies: 0
» Views: 34
[Sci-Am] The Amazing Aerial Adventures of the 'Flying Femini...
Last Post: Scientific American
2024-03-15 16:28
» Replies: 0
» Views: 44
[Sci-Am] We Need Small Astronomy as Much as Big Astronomy
Last Post: Scientific American
2024-03-15 02:13
» Replies: 0
» Views: 37
[Sci-Am] Two Giant U.S. Telescopes Are Threatened by Federal...
Last Post: Scientific American
2024-03-14 11:57
» Replies: 0
» Views: 11
[Harvard] Did fermented foods fuel brain growth?
Last Post: Harvard
2024-03-14 11:57
» Replies: 0
» Views: 22
[Sci-Am] What Are the Benefits of Sleeping Alone?
Last Post: Scientific American
2024-03-13 22:27
» Replies: 0
» Views: 3
[Sci-Am] Is Raw Milk Cheese Safe to Eat?
Last Post: Scientific American
2024-03-13 08:41
» Replies: 0
» Views: 2
[Sci-Am] Why Do So Many Mental Illnesses Overlap?
Last Post: Scientific American
2024-03-12 17:56
» Replies: 0
» Views: 3
[Sci-Am] Sora Is OpenAI’s New Text-to-Video Generator. Here’...
Last Post: Scientific American
2024-03-12 03:40
» Replies: 0
» Views: 9
[Sci-Am] Is This the Earliest Evidence of Human Cannibalism?
Last Post: Scientific American
2024-03-11 13:29
» Replies: 0
» Views: 10
[Sci-Am] This New Antivenom Defangs the Toxins of Cobras, Bl...
Last Post: Scientific American
2024-03-10 09:19
» Replies: 0
» Views: 20
[Sci-Am] Florida Surgeon General Risks Making a Dangerous Me...
Last Post: Scientific American
2024-03-09 19:15
» Replies: 0
» Views: 18
[Sci-Am] A Sexbot Gains Sentience in an Eerie New Novel
Last Post: Scientific American
2024-03-08 16:14
» Replies: 0
» Views: 34
[Sci-Am] A Solar Eclipse, Cancer Treatments and Robots with ...
Last Post: Scientific American
2024-03-08 01:32
» Replies: 0
» Views: 49
[Sci-Am] By Preserving Resources, We’re Protecting People, T...
Last Post: Scientific American
2024-03-07 10:49
» Replies: 0
» Views: 41
[Sci-Am] Even 'Twilight Zone' Coral Reefs Aren't Safe from B...
Last Post: Scientific American
2024-03-06 20:41
» Replies: 0
» Views: 51
[Sci-Am] The Life and Gruesome Death of a Bog Man Revealed a...
Last Post: Scientific American
2024-03-06 06:39
» Replies: 0
» Views: 23
[Harvard] ‘Radcliffe Wave’ is waving
Last Post: Harvard
2024-03-06 06:39
» Replies: 0
» Views: 47
[Sci-Am] Stunning Comet Could Photobomb This April's Total S...
Last Post: Scientific American
2024-03-05 16:23
» Replies: 0
» Views: 27
[Sci-Am] The Industrial Designer behind the N95 Mask
Last Post: Scientific American
2024-03-05 01:03
» Replies: 0
» Views: 50
[Sci-Am] Asexuality Research Has Reached New Heights. What A...
Last Post: Scientific American
2024-03-03 20:21
» Replies: 0
» Views: 29
[Sci-Am] Russia's War on Ukraine Chills Arctic Climate Scien...
Last Post: Scientific American
2024-03-03 06:58
» Replies: 0
» Views: 5
[Harvard] Aramont Fellows bring cutting-edge scientific inno...
Last Post: Harvard
2024-03-03 06:58
» Replies: 0
» Views: 3
[Sci-Am] JWST Is Tracking Down the Cosmic Origins of Earth's...
Last Post: Scientific American
2024-03-02 16:02
» Replies: 0
» Views: 14
[Harvard] What shapes your dog’s personality
Last Post: Harvard
2024-03-02 16:02
» Replies: 0
» Views: 14
[Sci-Am] Flimsy Antiabortion Studies Cited in Case to Ban Mi...
Last Post: Scientific American
2024-03-02 01:37
» Replies: 0
» Views: 13
[Harvard] Deep in the Amazon, SEAS team tracks a mobile elem...
Last Post: Harvard
2024-03-02 01:37
» Replies: 0
» Views: 14
[Sci-Am] Why Writing by Hand Is Better for Memory and Learni...
Last Post: Scientific American
2024-03-01 11:16
» Replies: 0
» Views: 11
[Sci-Am] Shifting to EVs Could Prevent Millions of Childhood...
Last Post: Scientific American
2024-02-29 21:47
» Replies: 0
» Views: 39
How to increase likes and followers on Facebook
Last Post: vigreen
2024-02-28 18:02
» Replies: 0
» Views: 89
[Sci-Am] How to Close the 'Orgasm Gap' for Heterosexual Coup...
Last Post: Scientific American
2024-02-28 17:23
» Replies: 0
» Views: 57
[Sci-Am] Sculptures about to Land on the Moon Join a Long Hi...
Last Post: Scientific American
2024-02-28 04:01
» Replies: 0
» Views: 39