Android Tablets Forum banner
1 - 13 of 13 Posts

·
Registered
Joined
·
525 Posts
Discussion Starter · #3 ·
Rockchip flash tool for NetBSD is uploaded here.tools for unpacking update.img, header/crc generator for paramater and boot.img are also available.
 

·
Registered
Joined
·
954 Posts
I think you are the only one with a working install of NetBSD on the Apad right now. So without your rootfs we can't do anything with your script can we? If you distribute your build (does it run off SDcard?), preferably with SDCard mounting functions and your tools pre-compiled, we can point your flash tool to specific files on the SDCard and just use it as a recovery image. There is a working Linux located in the mydroiddevtool I heard, if you use the 'flash to RAM' function. I am not sure what functionality is there though. Since you already have most of this working I am not even sure if that is necessary.
 

·
Registered
Joined
·
525 Posts
Discussion Starter · #5 ·
xaueious;12963 said:
I think you are the only one with a working install of NetBSD on the Apad right now. So without your rootfs we can't do anything with your script can we?
I'm using NetBSD for *host* machine (i.e. my PC), not on Apad.my programs basically work on any POSIX (UNIX like) OS. if you are using non-Windows machine as a host, please try them.for now, rkflash command uses ugen device driver directly, which is only available on *BSD. but it can be replaced with libusb. libusb is portable library and it works on Linux, Mac OS X, and so on.
 

·
Registered
Joined
·
525 Posts
Discussion Starter · #8 ·
my programs are slightly updated.rkcrc now create complete file itself. (no <|> is required anymore;)rkunpack can unpack firmware for ARCHOS 7 HT and RAMos W7 now.I'll make packing utility, then porting rkflash to libusb. sorry for inconvenience;)
 

·
Registered
Joined
·
954 Posts
[quote name='fun_;13834][URL=https://sites.google.com/site/naobsd/android-tablet/apad-irobot]my programs[/URL] are slightly updated.rkcrc now create complete file itself. (no <|> is required anymore;)rkunpack can unpack firmware for ARCHOS 7 HT and RAMos W7 now.I'll make packing utility' date=' then porting rkflash to libusb. sorry for inconvenience;)[/QUOTE'] I wouldn't be sorry at all lol. Thanks for any progress.
 

·
Registered
Joined
·
784 Posts
Dear FUKAUMI Naoki,Your programs are coded very nicely, and work great. Thank you for investing time & effort into this project for the APAD, and thank you for having them under open license
. This is really needed code for all rom-makers out there.Did you sniff the USB data under WINE for example ? Or reverse-engineered from the exe on Windows ?
 

·
Registered
Joined
·
525 Posts
Discussion Starter · #11 ·
Hi Asure,Sorry, my programs are free/open, but it is not GPL. please read carefully.I used SniffUSB on real Windows machine. objdump -d was also very helpful.but most important, protocol/format is very simple:)
 

·
Registered
Joined
·
784 Posts
I updated my post, i misread the comment text in your code ;)I am not good with C code, last time i made some code was in assembly on the C64 processor, way too long ago. I still see the 'logic' in code, and can modify some things, but that's it.From your experience, can it be possible to extract (read) the firmware from the device if it is in recovery modus ? (Perhaps this could be good for people with a V1 to recover, if someone dumps the parts.)
 

·
Registered
Joined
·
525 Posts
Discussion Starter · #13 ·
[quote name='Asure;13939]From your experience' date=' can it be possible to extract (read) the firmware from the device if it is in recovery modus ? (Perhaps this could be good for people with a V1 to recover, if someone dumps the parts.)[/QUOTE']yes, firmware (contents of flash ROM) can be read with my program in update mode(not recovey mode).I don't have/know batch1 but it seems to use same rockchip protocol, so it should be read too.(update batch1 with batch2 firmware/tool can be possible(but bricked), is it right?)without my programs, it might be possible to read ROM from mtd device if some linux command line tools are installed in android.
 
1 - 13 of 13 Posts
Top