GSM Shop GSM Shop
GSM-Forum  

Welcome to the GSM-Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features.
Only registered members may post questions, contact other members or search our database of over 8 million posts.

Registration is fast, simple and absolutely free so please - Click to REGISTER!

If you have any problems with the registration process or your account login, please contact contact us .

Go Back   GSM-Forum > Product Support Sections > Hard/Software Products (official support) > Easy-Jtag / Easy-Jtag Plus


Easy-Jtag / Easy-Jtag Plus The official support section. You can ask here your question and get answer regarding using Easy-Jtag / Easy-Jtag Plus.

Reply
 
LinkBack Thread Tools Display Modes
Old 09-04-2013, 15:59   #1 (permalink)
Insane Poster
 
Join Date: May 2009
Posts: 78
Member: 1031907
Status: Offline
Thanks Meter: 44
[TUTORIAL] How to use partition scripts


In this tutorial, you will find how to use the new script features for reading partitions, making your own backups for repairing phones and writing them. Using scripts is very easy. Please check each step carefully so that you wont miss anything.

1) Start Easy JTAG program and switch to the JTAG Flasher tab.



2) Select brand type and MCU, in my case m using Galaxy S3 R530U, so most of the similar phones init will work with this phone too. Hence i have selected SPH-L710.

3) Click Connect to device and check log for successful connection.



4) Now go to your Easy-JTAG installation directory, in my case it was H:\Mobiles\Z3x\EasyJTAG\ . Now go to scripts folder and copy file named "Show_Paritions_EMMC_GPT.txt".



5) Make a new folder some where with model name of the phone of which you are going to take backup, I made folder on my desktop as "R530". Paste the "Show_Paritions_EMMC_GPT.txt" file inside this folder.



6) Now in program, click on Run Script, and select the "Show_Paritions_EMMC_GPT.txt" files in the R530 folder you created. It will show log output in program if you have selected proper partitioning script. This will create 2 new files in the R530 folder, i.e. "dump_partitions.txt" and "write_partitions.txt".





7) Now open dump_partitions.txt and de-select partitions which you dont want to flash/restore/backup. You need to add # in the start of each partition, in this case, we are not going to backup MODEM,BOOT,SYSTEM,USERDATA,CACHE and GROW so i have added # in the start of each line.





8) Once the backup is done, you should see a log like this.



9) Now you need to similarly edit the write_partitions.txt file as you did with the dump_partitions.txt file. Now click on Run Script again and select "write_partitions.txt" file and you should see something like this.





10) Now connect phone which you want to repair, i.e another bricked R530 and click on Run Script. Select "write_partitions.txt" script inside the R530 folder and you will see something like this. Be sure that you have added # ahead of each partition line which you dont want to flash or which is not in the folder, do not rename the files.



So this is it, as you can see it is pretty much easy and hassle free. Enjoy your Z3X EasyJTAG box
  Reply With Quote
The Following 14 Users Say Thank You to kanishk For This Useful Post:
Show/Hide list of the thanked
Old 09-04-2013, 16:28   #2 (permalink)
Insane Poster
 
Join Date: May 2009
Posts: 78
Member: 1031907
Status: Offline
Thanks Meter: 44
NOTE: Do not always include EFS to flash, only restore in conditions which you are sure that the phone is having issues related to EFS
  Reply With Quote
The Following 2 Users Say Thank You to kanishk For This Useful Post:
Old 09-04-2013, 17:00   #3 (permalink)
No Life Poster
 
Hamidshah07's Avatar
 
Join Date: May 2007
Location: lahore
Posts: 1,387
Member: 504906
Status: Offline
Sonork: 1604032
Thanks Meter: 141
can we repair or change imei of lumia fones by z3x jtaq.
  Reply With Quote
Old 09-04-2013, 19:44   #4 (permalink)
No Life Poster
 
toninhosantos's Avatar
 
Join Date: Jun 2010
Location: Xique-Xique-Bahia, Brasil
Age: 46
Posts: 904
Member: 1320000
Status: Offline
Sonork: 100.1667898
Thanks Meter: 272
I feel much more riff box already does this for a long time and a lot easier to run. Not a big update for us users.
  Reply With Quote
Old 09-04-2013, 20:30   #5 (permalink)
No Life Poster
 
littmanr's Avatar
 
Join Date: Oct 2005
Posts: 668
Member: 190377
Status: Offline
Thanks Meter: 61
Nokia lumia 505 cpu Qualcomm MSM7227A
  Reply With Quote
Old 09-05-2013, 01:48   #6 (permalink)
Temporary banned !!
 
Join Date: Nov 2009
Location: P.H
Age: 38
Posts: 1,069
Member: 1151970
Status: Offline
Sonork: 100.1597000
Thanks Meter: 378
add unlocker sony............................
  Reply With Quote
Old 09-05-2013, 02:09   #7 (permalink)
No Life Poster
 
..::Thanh_gsm::..'s Avatar
 
Join Date: Dec 2005
Location: Ha Noi - Viet Nam
Age: 18
Posts: 1,289
Member: 207400
Status: Offline
Sonork: 100.1582556
Thanks Meter: 262
Quote:
Originally Posted by kanishk View Post
NOTE: Do not always include EFS to flash, only restore in conditions which you are sure that the phone is having issues related to EFS
And if I don't have dump by Easy-jtag how can I use write partitions script?

Example: I have 512mb full dump or seperate partition:

  Reply With Quote
Old 09-05-2013, 02:15   #8 (permalink)
Freak Poster
 
Join Date: Aug 2006
Posts: 229
Member: 337794
Status: Offline
Thanks Meter: 19
I suggest that the 2 step not need Select brand type and MCU Should be changed to automatic detection CPU Add automatic detection function option like atuo scan cpu


So that we don't know need to repair the mobile phone CPU model
  Reply With Quote
Old 09-05-2013, 04:13   #9 (permalink)
Insane Poster
 
Join Date: May 2009
Posts: 78
Member: 1031907
Status: Offline
Thanks Meter: 44
Quote:
Originally Posted by ..::Thanh_gsm::.. View Post
And if I don't have dump by Easy-jtag how can I use write partitions script?

Example: I have 512mb full dump or seperate partition:

Very easy, just rename files as in the script,i.e. rename LGF240L_SBL1.bin to sbl1.bin and copy to same folder in which the script is present. But before writing, please take working dump from a phone or manually edit partition length and start address in script.

Quote:
Originally Posted by Merry View Post
I suggest that the 2 step not need Select brand type and MCU Should be changed to automatic detection CPU Add automatic detection function option like atuo scan cpu


So that we don't know need to repair the mobile phone CPU model
No, even if different phones have same mcu, thr halt sequence can be different. Hence you need to manually select appropriate init/model first to properly halt and read from the device.

Last edited by kanishk; 09-05-2013 at 04:19.
  Reply With Quote
The Following User Says Thank You to kanishk For This Useful Post:
Old 09-05-2013, 10:51   #10 (permalink)
Temporary banned !!
 
Join Date: Nov 2009
Location: P.H
Age: 38
Posts: 1,069
Member: 1151970
Status: Offline
Sonork: 100.1597000
Thanks Meter: 378
add unlocking tools..........................
  Reply With Quote
The Following User Says Thank You to KIKO_GSM For This Useful Post:
Old 09-06-2013, 10:05   #11 (permalink)
Product Supporter
 
NoName®'s Avatar
 
Join Date: Mar 2005
Location: China
Posts: 3,338
Member: 129885
Status: Offline
Sonork: 100:1603514
Thanks Meter: 6,202
Quote:
Originally Posted by Merry View Post
I suggest that the 2 step not need Select brand type and MCU Should be changed to automatic detection CPU Add automatic detection function option like atuo scan cpu


So that we don't know need to repair the mobile phone CPU model
Thats impossible for new MCU , only for old ones. There are no universal loaders for all memory types. We can make suggestions for detected ID ( What inits may match your config )
  Reply With Quote
Old 09-06-2013, 11:42   #12 (permalink)
Temporary banned !!
 
Join Date: Nov 2009
Location: P.H
Age: 38
Posts: 1,069
Member: 1151970
Status: Offline
Sonork: 100.1597000
Thanks Meter: 378
cherry mobile s100 how to problem

# Hi , this is automatically generated write script
# Everything you need to do , are commant or uncomment
# Parts that you need to write to phone in automated mode
# -------------------------------------------------------
echo "Writing MBR"
emmc write 0 MBR.BIN 0x000000

# Script end HERE >
# -------------------------------------------------------



# Hi , this is automatically generated dump script
# Everything you need to do , are commant or uncomment
# Parts that you need to read from phone in automated mode
# -------------------------------------------------------
echo "Dumping MBR"
emmc dump 0 MBR.BIN 0x000000 0x200

EasyJtag Suite ver.: 1.0.64.0 started.
Operating system ver.: Windows 7 (build 7600).
For support and updates visit http://easy-jtag.com
Initialising: Samsung GT-S7562 Config ver.:1.00
I/O Level set to : 2600 mV
Box S/N
Connecting to Target...
JTAG device:
CPU IDCODE : 0x00000000 Mfg.: 0x000, Part: 0x0000, Ver.: 0x0
Halting CPU...
Initialize hardware...
Starting target communication...
Detecting emmc memory parameters of bank (0) ...
EMMC #0 : ID : 0x646F0000 Name : NROM M Size : 128.0 M , (262144) Blocks
eMMC flash device(s) found, Device ID : 0x0000006f
------------------------------------------------------
Executing: C:\Users\datu lakay\Desktop\New folder (4)\Show_Partitions_EMMC_GPT.txt
Searching for partition tables...
Error! Unexpected packet size... Code (FFFFFF00B9)
dcc_emmc_read_pages error (a:00000200,d:00000000,s:00000600,f:00) happened...
Reading EMMC flash page failed
Invalid EFI Signature.
Created helper script 'dump_partitions.txt' for dumping all regions in device
Created helper script 'write_partitions.txt' for writing all regions in device
OK
------------------------------------------------------
Executing: C:\Users\datu lakay\Desktop\New folder (4)\dump_partitions.txt
Dumping MBR
Reading 00000200 bytes from emmc adress 000000000000
Error! Unexpected packet size... Code (FFFFFF00B9)
dcc_emmc_read_pages error (a:00000000,d:00000000,s:00000200,f:00) happened...
reading emmc flash page failed
Done with error(s)...
------------------------------------------------------
Executing: C:\Users\datu lakay\Desktop\New folder (4)\write_partitions.txt
Writing MBR
eMMC Write OK! Elapsed time: 0.010000s (0.000 KiB/s)
OK
------------------------------------------------------
Executing: C:\Program Files\Z3X\EASYJTAG\Backups\readme.txt
Done with error(s)...

CPU IDCODE : 0x00000000 Mfg.: 0x000, Part: 0x0000, Ver.: 0x0
Halting CPU...
Initialize hardware...
Starting target communication...
Detecting emmc memory parameters of bank (0) ...
EMMC #0 : ID : 0x646F0000 Name : NROM M Size : 128.0 M , (262144) Blocks
eMMC flash device(s) found, Device ID : 0x0000006f

# Script end HERE >
# -------------------------------------------------------
  Reply With Quote
Old 09-06-2013, 20:47   #13 (permalink)
Product Supporter
 
NoName®'s Avatar
 
Join Date: Mar 2005
Location: China
Posts: 3,338
Member: 129885
Status: Offline
Sonork: 100:1603514
Thanks Meter: 6,202
Quote:
Originally Posted by KIKO_GSM View Post
cherry mobile s100 how to problem



Hello , it seems phone have EBR / MBR structure.
You should use Show_Partitions_EMMC_MBR.txt
  Reply With Quote
Old 09-07-2013, 06:42   #14 (permalink)
Temporary banned !!
 
Join Date: Nov 2009
Location: P.H
Age: 38
Posts: 1,069
Member: 1151970
Status: Offline
Sonork: 100.1597000
Thanks Meter: 378
# Hi , this is automatically generated write script
# Everything you need to do , are commant or uncomment
# Parts that you need to write to phone in automated mode
# -------------------------------------------------------
echo "Writing MBR"
emmc write 0 MBR.BIN 0x000000

echo "Writing MMCBLK0P0"
emmc write 0 MMCBLK0P0.BIN 0x90000000

echo "Writing MMCBLK0P1"
emmc write 0 MMCBLK0P1.BIN 0x17000

# Script end HERE >
# -------------------------------------------------------

Executing: C:\Users\datu lakay\Desktop\New folder (4)\Show_Partitions_EMMC_MBR.txt
Searching for partition tables...
Error! Unexpected packet size... Code (FFFFFF00B9)
dcc_emmc_read_pages error (a:00000000,d:00000000,s:00000400,f:00) happened...
Reading EMMC flash page failed
Note: mbr signature: 0 (bad)
Disk Signature: 80010000
MMCBLK0P0 BF:0x5c Type: Unknown:0x96 Start: 90000000 Len: D00D0E00
MMCBLK0P1 BF:0xb2 Type: NTFS Vol. Set Start: 17000 Len: 0
Created helper script 'dump_partitions.txt' for dumping all regions in device
Created helper script 'write_partitions.txt' for writing all regions in device
OK
  Reply With Quote
The Following User Says Thank You to KIKO_GSM For This Useful Post:
Old 09-07-2013, 07:48   #15 (permalink)
Temporary banned !!
 
Join Date: Nov 2009
Location: P.H
Age: 38
Posts: 1,069
Member: 1151970
Status: Offline
Sonork: 100.1597000
Thanks Meter: 378
how to Partitions_EMMC s100 cherry mobile

Executing: C:\Users\datu lakay\Desktop\New folder (4)\dump_partitions.txt
Dumping MBR
Continue 00000200 bytes from emmc adress 000000000000
Error! Unexpected packet size... Code (FFFFFF00B9)
dcc_emmc_read_pages error (a:00000000,d:00000000,s:00000200,f:00) happened...
reading emmc flash page failed
Done with error(s)...
  Reply With Quote
The Following User Says Thank You to KIKO_GSM For This Useful Post:
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 



All times are GMT +1. The time now is 12:31.



Powered by Searchlight © 2024 Axivo Inc.
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
- GSM Hosting Ltd. - 1999-2023 -
Page generated in 0.29746 seconds with 8 queries

SEO by vBSEO