Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

MTK yaffs2

OP svukov21

12th February 2014, 12:00 PM   |  #1  
OP Junior Member
Thanks Meter: 0
 
9 posts
Join Date:Joined: Aug 2010
Hi!

Story goes like this. I have here clone Samsung S4 that I wanted to update the software trough CWM. Unfortunately phone died at some point and now is dead. But, I made backup of the flash with MTKDroidTools and with SP flash tool... and here comes the problems... I can not flash backup back to phone because yaffs2 files are not good page/spare ratio. Thanks to members rua1 and Alex1948 now it is more clear how to change spare ratio on yaffs2 files. Unfortunately I'm not very good with Linux, last night I boot Mint 16 from USB stick and was trying to repair my files but without success.
So, my question is: is someone willing to repair my files in Linux (who understand Linux terminal better)?

Here are some details from phone

Click image for larger version

Name:	MTK Info.jpg
Views:	100
Size:	112.6 KB
ID:	2574910

Click image for larger version

Name:	Block Info.jpg
Views:	90
Size:	206.8 KB
ID:	2574911

Click image for larger version

Name:	Scatter.jpg
Views:	65
Size:	130.7 KB
ID:	2574931


I only have problem with flashing yaffs2 files and secro.img all other are OK. If I try to flash those files I get this error


Click image for larger version

Name:	BROM.jpg
Views:	81
Size:	77.7 KB
ID:	2574929


In attachment is mtd, dumchar_info, MTKDroidTools log and Sp flash tool log so you can see my file structure.Log from MTKDroidTools is from version 2.5.2 because I was using this version when I was making backup from my original phone (you will see other phones data just scroll down to MT6575)

I'm uploading original yaffs files to google drive so later I will update this post with some links.

Thank you all in advance.

Best regards

P.S. INFO FROM MTKDroidTools IS TAKEN FROM SAME PHONE LIKE MINE (FRIENDS PHONE) YES, SAME ONE HARDWARE AND SOFTWARE IS 100% SAME.


Files on Google drive link

https://drive.google.com/file/d/0Bx8...it?usp=sharing
Attached Files
File Type: rar mtd_dumchar_info.rar - [Click for QR Code] (724 Bytes, 28 views)
File Type: rar Logs.rar - [Click for QR Code] (106.7 KB, 19 views)
Last edited by svukov21; 12th February 2014 at 01:28 PM.
12th February 2014, 03:34 PM   |  #2  
OP Junior Member
Thanks Meter: 0
 
9 posts
Join Date:Joined: Aug 2010
Little update (memory type)

Click image for larger version

Name:	Memory type.jpg
Views:	43
Size:	161.5 KB
ID:	2575196
14th February 2014, 02:57 PM   |  #3  
rua1's Avatar
Senior Member
Flag Tula
Thanks Meter: 865
 
113 posts
Join Date:Joined: Feb 2013
Donate to Me
More
  1. from guide:
    Quote:

    Аttention! Yaffs2 type blocks from this backup can't be Downloaded to phone, they aren't correct! Use backup on 9th step if phone have yaffs2 type blocks!

    files from archive is wrong
  2. from your log:
    Quote:

    10/02/14 11:43:23 Free space: system- 113.7M; data- 54.3M; sdcard- 16.7M; D:\ 170861M
    10/02/14 11:43:46 - ERROR - tar: write error: No space left on device

    it was necessary to release the free memory on SD card before
The Following User Says Thank You to rua1 For This Useful Post: [ View ]
14th February 2014, 08:25 PM   |  #4  
OP Junior Member
Thanks Meter: 0
 
9 posts
Join Date:Joined: Aug 2010
Hi!

First, thank you for your reply.

Yes , I did figure it out that my files are not OK. I was trying to make them manually in "yafey" for windows (software to create and edit yaffs2 images) but this software have to much bugs so one time it create system.img with full lib folder second time only half of lib files are there and also there is no option for spare ratio change.

So, MTKDroidTools did make my system backup in a folder on my PC but I can not make yaffs2 file from it because there is no software for windows that works fine (I don't use Linux). On Linux it is easy to do (at least for someone who understand Terminal commands).

So, I can send you my backuped system folder if you are willing to make yassf2 file from it (in Linux). Data and Cashe files I have create in yafey and thay are ok.

In yafey if I make new yaffs2 file and insert lib,etc,app,framework... it will not create all files in folders... and after that when I try to flash that created system.yaffs2.img I have error from BROM s_ft_readlen_not_page_aligment (4017) again problem with spare ratio.

I still have here my friends phone so if you have any idea what to do and how to do please tell. I made backup from my friends phone but same thing data,cache,system,secro files are not created correctly. I don't know why is this is it because of the MTKDroiTools or is it because of the phone?
Last edited by svukov21; 14th February 2014 at 09:06 PM.
14th February 2014, 09:36 PM   |  #5  
OP Junior Member
Thanks Meter: 0
 
9 posts
Join Date:Joined: Aug 2010
Aaaaaaaaaarghh!!!!!
You wouldn't beleive what I just discover I just try to put my friends phone in recovery so I give a try to make backup.
NORMALY my friends phone don't want to go in recovery (just light on screen), so I have call my friend to ask him does he do something with phones recovery and he said YES i flash some recovery from net trough CWM and after that he can not go in the recovery.
CAN YOU BELEIVE HOW UNLUCKY I AM????????

If someone have any idea???
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes