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

Matsunichi/Innocomm 'Griffin' M6001 (aka Le Pan TC970) ICS/CM9 development thread

OP fv+

18th January 2012, 11:18 PM   |  #41  
Junior Member
Thanks Meter: 1
 
24 posts
Join Date:Joined: Dec 2011
This is awesome news. Based on the hardware specs of the tablet, in your opinion what is a reasonable "end game" scenario in terms of what custom firmware we should expect to run reasonably well? Will ICS perform reasonably? Will all the functions of the tablet work, like volume buttons, bluetooth keyboard pairing, GPS, wifi?
18th January 2012, 11:20 PM   |  #42  
OP Junior Member
Thanks Meter: 35
 
20 posts
Join Date:Joined: Oct 2010
Awesome chinabull!

Did you figure out how to generate the checksum for the full firmware or did you replace just the 'recovery' image with CWM?
If you figure out how to generate the checksum for the full firmware, do you mind telling us how you did (or PM me), so I can update the 'unpacker' code and write the 'packer'?

Also, which CWM did you use? The one for the Nook Color?

Again great job!

Franco
19th January 2012, 03:39 AM   |  #43  
chinabull's Avatar
Member
Flag ottawa
Thanks Meter: 63
 
73 posts
Join Date:Joined: Aug 2009
More
Like I said, I just randomly picked one OMAP3 CWM (For Motorola Defy, I believe)

No, I have not figured out the whole file SHA1 checksum yet. But to be honest, based on my experience here, only probably the INNOCOMM recovery program called idownloader cares about it. I can assure you that neither the MLO nor the u-boot cares about it.

So for your packer, you can put random numbers in or just zeros for now.

The boot up sequence for recovery is(Press and hold Volume- and Power):
- x-loader boots from NAND
- x-loader opens griffin.ifw
- x-loader load u-boot(iboot.ism) from griffin.ifw and verify the checksum.
- u-boot boots, loads recovery image from griffin.ifw and verify the checksum of recovery(ramfs).
- u-boot loads linux kernel image from griffin.ifw and boots up the kernel with rootfs on recovery ramfs.
- init.rc runs idownloader
The Following User Says Thank You to chinabull For This Useful Post: [ View ]
19th January 2012, 05:41 AM   |  #44  
chinabull's Avatar
Member
Flag ottawa
Thanks Meter: 63
 
73 posts
Join Date:Joined: Aug 2009
More
Update: It looks like not all the images in the griffin.ifw are needed for running CWM.
So I have cut the fat and redone the signature.

Now the CWM package griffin.ifw is only 5.3M as oppose to the original 94M.
So much easier and lighter now!

================================================== ================

I am happy to present a working version of CWM Recovery for our beloved LePan TC970.

You don't have to flash the CWM Recovery. It runs from external SD card directly.

I built it from the source so it's pretty much the latest version. 5.0.2.7

So far what is working:

- Keys, Volume -/+ to navigate the menu, Power key to select. The power key doesn't work right after boot. You would have to first scroll down the cursor to the bottom and you will see a message saying "Back menu button enabled". Then it works.
- Display is still up side down, well, what the hell!
- External SD card works and will be default place to be used for update/backup/restore.
- mounting /data, /system works. Mounting USB Storage works.
- Backup works.Assuming restore should work, too.
- Install from zip should work, though I have not tried it. I can browse the SD card contents.
- Power off/Reboot works.

Not working:
- /emmc mounting failed. That partition is not even there. So don't care.
- Display is up side down.


When kernel boot in recovery mode, it exposes all the mtd partitions including all the bootloaders, etc.

cat /proc/mtd
dev: size erasesize name
mtd0: 00080000 00020000 "iload"
mtd1: 00180000 00020000 "iboot"
mtd2: 00120000 00020000 "boardenv"
mtd3: 00280000 00020000 "innocomm"
mtd4: 00380000 00020000 "splash"
mtd5: 00180000 00020000 "chargesplash"
mtd6: 00180000 00020000 "badifw_logo"
mtd7: 003c0000 00020000 "recovery"
mtd8: 00200000 00020000 "rootfs"
mtd9: 003c0000 00020000 "kernel"
mtd10: 00080000 00020000 "misc"
mtd11: 000c0000 00020000 "kpanic"
mtd12: 10000000 00020000 "system"
mtd13: 003c0000 00020000 "cache"
mtd14: 0e560000 00020000 "userdata"


WARNING HERE: Please be super careful using the CWM "Mounts and Storage" menu - format options.
If you format the wrong partition like iload, iboot, your lepan could be totally dead.

Download the update package from here .

MD5SUM of the griffin.ifw (5,540,092 bytes):

872579029b22e05db1abdccfd2a9119e *griffin.ifw


Installation steps:

1. Please make sure you have enough battery left.
2. Copy the griffin.ifw to the external SD card and put it into Lepan.
3. Press and Hold both Volume - and Power key, Keep on holding it for at least 5 seconds after you see the LePan logo.
4. Release both buttons and wait. CWM should start automatically.

Have fun and good luck.
Last edited by chinabull; 20th January 2012 at 12:11 AM.
The Following 17 Users Say Thank You to chinabull For This Useful Post: [ View ]
19th January 2012, 05:48 AM   |  #45  
Member
Thanks Meter: 36
 
79 posts
Join Date:Joined: Dec 2010
More
You are a f@&?"&g champ!!!!!! Just opened the lepan community to the joys of custom rom development!!

I'd buy you a beer or three at the neighborhood bar if I could!

DerKoch

Sent from my SAMSUNG-SGH-I897 using XDA App
19th January 2012, 11:13 AM   |  #46  
Senior Member
Thanks Meter: 3
 
166 posts
Join Date:Joined: Jun 2008
Angry
Wow awesome!

upside down, right side up... who cares .. im sure a lot of ppl here will stand on there head to use it to flash a new rom :P... I think we better get starting on a FAQ and this is the first question i'm sure ppl will be asking
19th January 2012, 12:14 PM   |  #47  
dbaybay's Avatar
Senior Member
Flag Florida
Thanks Meter: 262
 
624 posts
Join Date:Joined: Oct 2011
More
Great work ChinaBull! You are quickly making me regret selling my TC970 for a Le Pan II. I hope you can bring the same type of brilliance to the Le Pan II.

Thanks again man, high five
19th January 2012, 02:49 PM   |  #48  
Junior Member
Flag Chilliwack
Thanks Meter: 7
 
17 posts
Join Date:Joined: Dec 2011
Donate to Me
More
Brilliant, dude.
Absolutely brilliant! Good on ya, dude! Thanks for the hard work, even though I, like dbaybay, went with the newer model.
19th January 2012, 06:07 PM   |  #49  
squirreltech's Avatar
Member
Flag Halifax, NS
Thanks Meter: 5
 
84 posts
Join Date:Joined: Oct 2008
More
Well done! Much thanks. Now we need our own forum

Sent from my Toshiba Thrive using XDA Premium
19th January 2012, 08:43 PM   |  #50  
Member
Thanks Meter: 3
 
74 posts
Join Date:Joined: Sep 2009
More
Awesome job getting CWM working!!!

Hopefully we can get some ROMs soon.

Post Reply Subscribe to Thread

Tags
cm9, griffin, ics, le pan, tc970
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes