Jump to content


Photo

Team Win Recovery for Huawei U8815/Ascend G 300

* * * * * 1 votes

  • Please log in to reply
44 replies to this topic

#41
b4da55

b4da55

    Addict

  • Members
  • PipPipPipPipPip
  • 919 posts
Anyone know the command to flash a recovery img through terminal emulator

  • 0

#42
Cyda

Cyda

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,448 posts
  • Gender:Male
  • Location:Wales
  • Devices:Nexus 4 & 7 running PAC
One problem I have with this recovery is if you mistakenly select a 0mb partition to backup, the backup hangs on the 0mb partition. I just made this mistake and my phone has been sitting at...

[ (0 MB) ]
... backing up / partition.


For about 10 minutes now. I'll give it a few minutes before I pull the battery and redo the backup (making sure I untick the 0mb partition (not even sure which partition it is)).

Edit: Ok, something odds seems to be going on. I pulled the battery as the backup was just hanging. I go to redo the backup and look at the partition list, the only partition listed as 0MB is the datadata partition which I believe is the internal sd. I know for a fact that the internal sd has 250mb is data on it so I have no idea why datadata is showing as 0MB.

I unticked datadata and started the backup. While watching the backup I notice that the backup does /system, then /data and then /datadata even though /datadata was not ticked for backup. I also notice that when /datadata was being backed-up it did show 250mb of data...

Edit2: Recovery logs below of backup described above.

After looking at the logs; is the 0MB partition actually /sd-ext? I guess this would be a 0MB partition as I don't currently have a second sd partition setup but if so why is it being reported as /datadata?

I:Attempt to create folder '/sdcard/TWRP/BACKUPS/c92c02b1/2012-08-06--11-40-53/'
[BACKUP STARTED]
* Backup Folder: /sdcard/TWRP/BACKUPS/c92c02b1/2012-08-06--11-40-53/
* Verifying filesystems...
I:=> Let's update filesystem types via verifyFst aka blkid.
* Verifying partition sizes...
+----------+-----------------------------+--------+----------+----------+---+---+
| Mount	| Block Device				| fst	| Size(KB) | Used(KB) | M | B |
+----------+-----------------------------+--------+----------+----------+---+---+
|		  |							 |		|		0 |		0 | 0 | u |
|   system |	   /dev/block/mmcblk0p12 |   ext4 |   393216 |   173780 | 1 | f |
|	 data |	   /dev/block/mmcblk0p13 |   ext4 |   786432 |   284444 | 1 | f |
| datadata |	   /dev/block/mmcblk0p19 |   vfat |  2154496 |   262944 | 1 | f |
|	 boot |	   /dev/block/mmcblk0p15 |   emmc |	 8192 |	 8192 | 0 | i |
| recovery |	   /dev/block/mmcblk0p16 |   emmc |	20480 |	20480 | 0 | i |
|	cache |		/dev/block/mmcblk0p6 |   ext4 |   196608 |	 4320 | 1 | f |
|   sdcard |		/dev/block/mmcblk1p1 |   vfat | 15639246 |  5965384 | 1 | n |
|		  |							 |		|		0 |		0 | 0 | n |
|   andsec |					 /sdcard |   vfat |	38576 |	38576 | 0 | f |
|   sd-ext |		/dev/block/mmcblk1p2 |		|		0 |		0 | 1 | f |
|	 cust |	   /dev/block/mmcblk0p18 |   ext4 |	81920 |	 4136 | 1 | f |
|		  |							 |		|		0 |		0 | 0 | f |
|		  |							 |		|		0 |		0 | 0 | n |
+----------+-----------------------------+--------+----------+----------+---+---+
I:Using external storage.
I:Calculating backup details...
I:Done calculating backup details.
* Total number of partition to back up: 8
* Total size of all data, in KB: 796872
* Available space on the SD card, in KB: 9673862
I:Estimated Total time: 394  Estimated remaining time: 394
I:=> Size of /system is 173780 KB.
[SYSTEM (169 MB)]
...Backing up /system partition.
I:=> Filename: system.ext4.win
I:Backup command: 'cd /system && tar -cz -f /sdcard/TWRP/BACKUPS/c92c02b1/2012-08-06--11-40-53/system.ext4.win ./*'
* Done.
* Verifying backup size.
* File size: 117176050 bytes.
* Generating md5...
....MD5 Created.
[SYSTEM DONE (133 SECONDS)]
I:Partition Backup time: 134
I:Estimated Total time: 394  Estimated remaining time: 305
I:=> Size of /data is 284444 KB.
[DATA (277 MB)]
...Backing up /data partition.
I:=> Filename: data.ext4.win
I:Backup command: 'cd /data && tar -cz -f /sdcard/TWRP/BACKUPS/c92c02b1/2012-08-06--11-40-53/data.ext4.win ./*'
tar: ./radio/qmux_connect_socket: socket ignored
tar: ./rapi_socket: socket ignored
* Done.
* Verifying backup size.
* File size: 166507982 bytes.
* Generating md5...
....MD5 Created.
[DATA DONE (225 SECONDS)]
I:Partition Backup time: 225
I:Estimated Total time: 394  Estimated remaining time: 159
I:=> Size of /datadata is 262944 KB.
[DATADATA (256 MB)]
...Backing up /datadata partition.
I:=> Filename: datadata.vfat.win
I:Backup command: 'cd /datadata && tar -cz -f /sdcard/TWRP/BACKUPS/c92c02b1/2012-08-06--11-40-53/datadata.vfat.win ./*'
* Done.
* Verifying backup size.
* File size: 224658959 bytes.
* Generating md5...
....MD5 Created.
[DATADATA DONE (221 SECONDS)]
I:Partition Backup time: 221
I:Estimated Total time: 394  Estimated remaining time: 25
I:=> Size of boot is 8192 KB.
[BOOT (8 MB)]
...Backing up boot partition.
I:=> Filename: boot.emmc.win
I:Backup command: 'dd bs=4096 if=/dev/block/mmcblk0p15 of=/sdcard/TWRP/BACKUPS/c92c02b1/2012-08-06--11-40-53/boot.emmc.win'
2048+0 records in
2048+0 records out
8388608 bytes (8.0MB) copied, 0.340252 seconds, 23.5MB/s
* Done.
* Verifying backup size.
* File size: 8388608 bytes.
I: * Expected size: 8388608 Got: 8388608
* Generating md5...
....MD5 Created.
[BOOT DONE (0 SECONDS)]
I:Partition Backup time: 0
I:Estimated Total time: 394  Estimated remaining time: 25
I:=> Size of recovery is 20480 KB.
[RECOVERY (20 MB)]
...Backing up recovery partition.
I:=> Filename: recovery.emmc.win
I:Backup command: 'dd bs=4096 if=/dev/block/mmcblk0p16 of=/sdcard/TWRP/BACKUPS/c92c02b1/2012-08-06--11-40-53/recovery.emmc.win'
5120+0 records in
5120+0 records out
20971520 bytes (20.0MB) copied, 0.691633 seconds, 28.9MB/s
* Done.
* Verifying backup size.
* File size: 20971520 bytes.
I: * Expected size: 20971520 Got: 20971520
* Generating md5...
....MD5 Created.
[RECOVERY DONE (2 SECONDS)]
I:Partition Backup time: 2
I:Estimated Total time: 394  Estimated remaining time: 24
I:=> Size of /cache is 4320 KB.
[CACHE (4 MB)]
...Backing up /cache partition.
I:=> Filename: cache.ext4.win
I:Backup command: 'cd /cache && tar -cz -f /sdcard/TWRP/BACKUPS/c92c02b1/2012-08-06--11-40-53/cache.ext4.win ./*'
* Done.
* Verifying backup size.
* File size: 5156 bytes.
* Generating md5...
....MD5 Created.
[CACHE DONE (0 SECONDS)]
I:Partition Backup time: 0
I:Estimated Total time: 394  Estimated remaining time: 21
I:=> Size of /cust is 4136 KB.
[CUST (4 MB)]
...Backing up /cust partition.
I:=> Filename: cust.ext4.win
I:Backup command: 'cd /cust && tar -cz -f /sdcard/TWRP/BACKUPS/c92c02b1/2012-08-06--11-40-53/cust.ext4.win ./*'
* Done.
* Verifying backup size.
* File size: 85 bytes.
* Generating md5...
....MD5 Created.
[CUST DONE (0 SECONDS)]
I:Partition Backup time: 0
I:Estimated Total time: 394  Estimated remaining time: 19
I:=> Size of /sdcard/.android_secure is 38576 KB.
[.ANDROID_SECURE (37 MB)]
...Backing up /sdcard/.android_secure partition.
I:=> Filename: and-sec.vfat.win
I:Backup command: 'cd /sdcard/.android_secure && tar -cz -f /sdcard/TWRP/BACKUPS/c92c02b1/2012-08-06--11-40-53/and-sec.vfat.win ./*'
* Done.
* Verifying backup size.
* File size: 34707270 bytes.
* Generating md5...
....MD5 Created.
[.ANDROID_SECURE DONE (32 SECONDS)]
I:Partition Backup time: 32
* Verifying filesystems...
I:=> Let's update filesystem types via verifyFst aka blkid.
* Verifying partition sizes...
+----------+-----------------------------+--------+----------+----------+---+---+
| Mount	| Block Device				| fst	| Size(KB) | Used(KB) | M | B |
+----------+-----------------------------+--------+----------+----------+---+---+
|		  |							 |		|		0 |		0 | 0 | u |
|   system |	   /dev/block/mmcblk0p12 |   ext4 |   393216 |   173780 | 1 | f |
|	 data |	   /dev/block/mmcblk0p13 |   ext4 |   786432 |   284444 | 1 | f |
| datadata |	   /dev/block/mmcblk0p19 |   vfat |  2154496 |   262944 | 1 | f |
|	 boot |	   /dev/block/mmcblk0p15 |   emmc |	 8192 |	 8192 | 0 | i |
| recovery |	   /dev/block/mmcblk0p16 |   emmc |	20480 |	20480 | 0 | i |
|	cache |		/dev/block/mmcblk0p6 |   ext4 |   196608 |	 4320 | 1 | f |
|   sdcard |		/dev/block/mmcblk1p1 |   vfat | 15639246 |  6524472 | 1 | n |
|		  |							 |		|		0 |		0 | 0 | n |
|   andsec |					 /sdcard |   vfat |	38576 |	38576 | 0 | f |
|   sd-ext |		/dev/block/mmcblk1p2 |		|		0 |		0 | 1 | f |
|	 cust |	   /dev/block/mmcblk0p18 |   ext4 |	81920 |	 4136 | 1 | f |
|		  |							 |		|		0 |		0 | 0 | f |
|		  |							 |		|		0 |		0 | 0 | n |
+----------+-----------------------------+--------+----------+----------+---+---+
I:img_bps = 14680064  total_img_bytes = 29360128  img_byte_time = 2
Average backup rate for file systems: 1 MB/sec
Average backup rate for imaged drives: 14 MB/sec
[545 MB TOTAL BACKED UP]
[BACKUP COMPLETED IN 615 SECONDS]

Edited by Cyda, 06 August 2012 - 11:26 AM.

  • 0

#43
b4da55

b4da55

    Addict

  • Members
  • PipPipPipPipPip
  • 919 posts
Any chance of a flashable zip of battery fix version


  • 0

#44
Cyda

Cyda

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,448 posts
  • Gender:Male
  • Location:Wales
  • Devices:Nexus 4 & 7 running PAC
I've had to remove this and go back to cwm after twice having failed restores. Not sure exactly what happens but the result is a black screen and a battery pull is required. The first time it happened I thought it was a corrupt backup but then it happened again with a different backup.

  • 0

#45
elperroderoke

elperroderoke

    Regular

  • Members
  • PipPip
  • 113 posts
  • Devices:Defy+; U8650; U8815

Any chance of a flashable zip of battery fix version

http://www.mediafire.com/download.php?yndl02o7hth4mxm
Regards.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users