Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,730,983 Members 46,200 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
sockbot
Old
#41  
Junior Member
Thanks Meter 1
Posts: 24
Join Date: 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?
 
fv+
Old
#42  
Junior Member - OP
Thanks Meter 35
Posts: 20
Join Date: 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
 
chinabull
Old
#43  
chinabull's Avatar
Member
Thanks Meter 62
Posts: 70
Join Date: Aug 2009
Location: ottawa
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: [ Click to Expand ]
 
chinabull
Old
(Last edited by chinabull; 19th January 2012 at 11:11 PM.)
#44  
chinabull's Avatar
Member
Thanks Meter 62
Posts: 70
Join Date: Aug 2009
Location: ottawa
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.
The Following 17 Users Say Thank You to chinabull For This Useful Post: [ Click to Expand ]
 
DerKoch
Old
#45  
Member
Thanks Meter 36
Posts: 79
Join Date: Dec 2010
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
 
QkSi1ver
Old
#46  
Senior Member
Thanks Meter 3
Posts: 166
Join Date: Jun 2008
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
 
dbaybay
Old
#47  
dbaybay's Avatar
Senior Member
Thanks Meter 260
Posts: 619
Join Date: Oct 2011
Location: Florida
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
 
adamvan2000
Old
#48  
Junior Member
Thanks Meter 7
Posts: 17
Join Date: Dec 2011
Location: Chilliwack

 
DONATE TO ME
Default Brilliant, dude.

Absolutely brilliant! Good on ya, dude! Thanks for the hard work, even though I, like dbaybay, went with the newer model.
 
squirreltech
Old
#49  
squirreltech's Avatar
Member
Thanks Meter 5
Posts: 83
Join Date: Oct 2008
Location: Halifax, NS
Well done! Much thanks. Now we need our own forum

Sent from my Toshiba Thrive using XDA Premium
Squirrel
 
touche112
Old
#50  
Member
Thanks Meter 1
Posts: 50
Join Date: Sep 2009
Awesome job getting CWM working!!!

Hopefully we can get some ROMs soon.

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

Advanced Search
Display Modes