AMLogic Tablets, 7033, 7035, 7065, 7060, and So On: Repair Tablet from SD Card

mcclain_ts

Senior Member
Aug 29, 2013
120
42
I'm realizing to try the "boot from ext_sd", I might have to go boot up my dad's computer. I run a PuppyLinux distro on that one. I've been meaning to partition this one, and run Debian or Ubuntu next to XP, but have been a little too busy lately. GParted is on that box. As for the hex editor, I'll get that going too. I don't think I installed the DEV files for that Puppy, but I get some time, I'll definitely give her a go.(smilz) How'd that work out today? I missed it. Did tpaine ever get it going? I got an 8065 around here too.(somewhere) The digitizer has one crack on that, but the touch still works for the most part. I can do some testing later on that one too. I'll need to root it, and get CWM going.
 

vampirefo.

Senior Member
Developer
Nov 8, 2011
3,836
1,394
@ mcclain_ts
Your dump is good, as far as alternative to Coby, I want to look at rca tablets. RCA 9" Dual Core Tablet

As far as recovery, I am going to try and get all these tablets to use my fake recovery. Coby_7065_fake_recovery
Basically we just need to swap out the recovery in the recovery.img with the one from 1060, as it just uses google test key signature so it can flash my fake recovery or any zip signed by google test key.

the fake recovery works per flash, meaning it's not written to tablet, when one wants to use cw recovery, they boot into stock recovery, flash the fake recovery, once they reboot they are back to stock recovery.

as each tablet might have a different recovery.fstab, each user can simply unzip fake recovery add their own recovery.fstab then rezip it, so I wont have to make a bunch of different recoveries everyone can use the same one and modify to their tablet.

tpaine never said if he got it working or not.
 
Last edited:

tpaine

Senior Member
Aug 18, 2012
525
130
Still working on recovery sdcard. Having trouble with card being recognised.
 
Last edited:

tpaine

Senior Member
Aug 18, 2012
525
130
Ok, past above problem (don't know or care why, just followed partitioning steps.) In lenovo cwm recovery. Attempting to mount /external_sd. CWM reports:

Error mounting /external_sd!

Not sure where to go next.

Card does boot in 8065 with uIlmge_recovery
 
Last edited:

vampirefo.

Senior Member
Developer
Nov 8, 2011
3,836
1,394
Ok, past above problem (don't know or care why, just followed partitioning steps.) In lenovo cwm recovery. Attempting to mount /external_sd. CWM reports:

Error mounting /external_sd!

Not sure where to go next.

You know you can't run from sdcard til you download kernel source build modules, then edit boot.img to use the modules and mount sdcard as system?

Sent from my SPH-D710 using Android Tablet
 
Last edited:

tpaine

Senior Member
Aug 18, 2012
525
130
You know you can't run from sdcard til you download kernel source build modules, then edit boot.img to use the modules and mount sdcard as system?

Sent from my SPH-D710 using Android Tablet

Not specifically, lol. I thought it might be complex when all the bootimage splitters that worked on the 7042 boot image didn't work on the 8065. I'm so lame in linux, but the only way to learn is to do it. Do I need those modules to get the recovery.fstab file ?

Anyway, the tablet boots from the ext-sd with the bootloader on the ext-sd, so thats proof of concept on the 8065-
 

vampirefo.

Senior Member
Developer
Nov 8, 2011
3,836
1,394
I will add cwm to 8065 recovery this weekend. If we get the 7033 booting from sdcard, then I will cwm to it also.

Sent from my SPH-D710 using Android Tablet
 

tpaine

Senior Member
Aug 18, 2012
525
130
I will add cwm to 8065 recovery this weekend. If we get the 7033 booting from sdcard, then I will cwm to it also.

Sent from my SPH-D710 using Android Tablet

Sounds great. I'm still working toward running from ext-sd. But no rush for me. Step by step. But if you happen to have the 8065 recovery.fstab lying around, I could work with the Fake recovery. It will be a while to set this up.
 

vampirefo.

Senior Member
Developer
Nov 8, 2011
3,836
1,394
Sounds great. I'm still working toward running from ext-sd. But no rush for me. Step by step. But if you happen to have the 8065 recovery.fstab lying around, I could work with the Fake recovery. It will be a while to set this up.

I an unable to unpack your boot.img or recovery.img, either they are corrupt most likely or they are compressed with an unknown compression.

try to remake the recovery.img and boot.img

Here are the scripts I use to unpack 7065 boot.img and recovery.img


7065 boot/recovery unpack scripts
 
Last edited:

tpaine

Senior Member
Aug 18, 2012
525
130
update 11-20-13
********************

Found my error in backup methodology:

cat /dev/mtd/mtd4 > /sdcard/dump/boot.img >>>>>> This works like post 1 (DUMB) see my error below

********************

This looks bad:

cat /proc/mtd
dev: size erasesize name
mtd0: 00800000 00200000 "bootloader"
mtd1: 00800000 00200000 "logo"
mtd2: 00800000 00200000 "aml_logo"
mtd3: 00800000 00200000 "recovery"
mtd4: 00800000 00200000 "boot"
mtd5: 20400000 00200000 "system"
mtd6: 08000000 00200000 "factory"
mtd7: 20000000 00200000 "cache"
mtd8: 90000000 00200000 "userdata"
mtd9: 123c00000 00200000 "NFTL_Part"
shell@android:/ # cat /dev/mtd4 > /sdcard/dump/boot.img
cat /dev/mtd4 > /sdcard/dump/boot.img
/dev/mtd4: No such file or directory
1|shell@android:/ # cat /dev/mtd3 > /sdcard/dump/recovery.img
cat /dev/mtd3 > /sdcard/dump/recovery.img
/dev/mtd3: No such file or directory
1|shell@android:/ # cat /dev/mtd0 > /sdcard/dump/bootloader.img
cat /dev/mtd0 > /sdcard/dump/bootloader.img
/dev/mtd0: No such file or directory


shell@android:/ $ su
su
shell@android:/ # cat /dev/mtd4 > /sdcard/dump/boot.img
cat /dev/mtd4 > /sdcard/dump/boot.img
/dev/mtd4: No such file or directory
1|shell@android:/ # cat /dev/block/nandc > sdcard/dump/boot.img
cat /dev/block/nandc > sdcard/dump/boot.img
/dev/block/nandc: No such file or directory
1|shell@android:/ #

Something has changed and the only thing I can thik of is my booting to the 7065 recovery... my own choice. Good new is, I have another. untouched. Don't want to root it just yet, till I know whats going on.
 
Last edited:

vampirefo.

Senior Member
Developer
Nov 8, 2011
3,836
1,394
I don't understand windows read out, my guess you don't have the dump fold on your sdcard.
 

tpaine

Senior Member
Aug 18, 2012
525
130
I don't understand windows read out, my guess you don't have the dump fold on your sdcard.

This is the problem, can't get this method to work:

shell@android:/ # cat /dev/mtd4 > /sdcard/dump/boot.img
cat /dev/mtd4 > /sdcard/dump/boot.img
/dev/mtd4: No such file or directory

So I did this, which is what I did first.

1|shell@android:/ # cat /dev/block/mtdblock4 > sdcard/dump/boot.img
cat /dev/block/mtdblock4 > sdcard/dump/boot.img
shell@android:/ #


Is this method valid ? Here is my new dump. 8065-2nd

I'm setting up my 64bit ubuntu system. Thanks for the tools. I'll check the out in the new system.
 

vampirefo.

Senior Member
Developer
Nov 8, 2011
3,836
1,394
I can't unpack your boot.img or recovery.img, you have the scripts so you can try yourself.
 
Top