MoDaCo is undergoing planned maintenance. Site functionality may be reduced - follow @modaco or @paulobrien on Twitter for updates.

  • Announcements

    • Reminder - MoDaCo position on illegal content

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such software
      Nintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)


      CUSTOM ROMS

      You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not be hosted directly in topic via the MoDaCo attachment system
      ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)
      ROMs must give full credit to the original author
      This decision has been taken in light of the huge amount of interest in this area of device customisation within the community, and member feedback! Please note that custom ROM discussion should be kept in specific device sub-areas, (e.g. Kaiser.MoDaCo.com for Kaiser based devices). ISSUES If you have any issues with this policy, please contact me directly via PM. P
    • Support MoDaCo by signing up to a MoDaCo Silver or Gold membership

      To sign up to an annual MoDaCo Silver subscription which will eliminate all ads from the site (as well as giving you access to the MoDaCo Online Kitchens for Android) for only £9.99 using PayPal, Credit or Debit Card, ensure you are logged in to the site, and then click the link below, which will take you directly to the subscription store! You can also sign up to an annual MoDaCo Gold subscription for £29.99, which adds the benefits listed below! PURCHASE A MODACO SUBSCRIPTION - FREE Titanium Backup Mobile for Android worth $5.99! - FREE 1 year PrivateInternetAccess.com worth $39.95! - FREE 1 year LastPass Premium worth $12! - FREE CalcConvert for Pocket PC from Binaryfish worth $17.95! - FREE Calendar Bar for Pocket PC from OmegaOne worth $9.99! - FREE CamerAware for Pocket PC and Smartphone from MoDaCo worth £19.99 / $30! - FREE Chronos for Pocket PC from ActiveKitten worth $14.95! - FREE CodeWallet Pro for Smartphone and Pocket PC from DeveloperOne worth up to $24.95! - FREE Concentrix for Pocket PC from eSoft Interactive worth $9.95! - FREE FlexMail for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE FTouchSL for Pocket PC from Vekoff s.r.o. worth 10 euro / $12.50! - FREE Jewel Challenge for Pocket PC from eSoft Interactive worth $9.95! - FREE John Cody's Alerts Pro for Smartphone from Omnisoft worth $14.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Dutch for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> French for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> German for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Italian for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Spanish for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Dutch for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> French for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> German for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Russian for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Turkish for Smartphone from Lingvosoft worth $49.95! - FREE Note2Self for Pocket PC and Smartphone from WebIS worth up to $19.90! - FREE Opera 8.60 for Pocket PC and Smartphone from Opera Software worth up to $48! - FREE Pocket Informant for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE Pocket Launcher for Pocket PC and Smartphone from Conduits worth $9.95! - FREE PTab for Pocket PC and Smartphone from z4soft worth up to $60! - FREE Resco Explorer for Pocket PC and Smartphone from Resco worth up to $49.90! - FREE Safemode for Pocket PC from monocube worth $12.95 - FREE SplashPhoto for Pocket PC and Smartphone from SplashData worth up to $59.90! - FREE Sprite Backup for Pocket PC and Smartphone from Sprite Software worth $29.95! - FREE Teksoft Glyphs UI for Pocket PC and Smartphone from Teksoft €9.95! - FREE Teksoft HeadsetRemote for Pocket PC and Smartphone from Teksoft €4.95! - FREE Traffic Jam for Pocket PC from eSoft Interactive worth $9.95! - FREE unlock (1 per year) from imei-check.co.uk - DISCOUNT of 10% at MoDaCo FairDeal - DISCOUNT of 10% at Semsons.com - FORUM - AD FREE SITE - FORUM - custom rank / title - FORUM - double competition entries - FORUM - double post attachment space - FORUM - no search flood control - FORUM - priority event registration - FORUM - triple PM space
    • Reminder: Selling items on the forum directly is not allowed

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspensions / ban.

Update on development.

39 posts in this topic

Posted · Report post

Just called paul @ andypad, and thought I'd post my results!

What I learned:
-People at andypad are genuinely nice people.
- I will be developing for the andypad pro.
- Kernel Source will be released soon for both andypads

Ill keep you posted and I should start developing next week!
2

Share this post


Link to post
Share on other sites

Posted · Report post

[quote name='Sami Beck' timestamp='1318245909' post='1821001']
Just called paul @ andypad, and thought I'd post my results!

What I learned:
-People at andypad are genuinely nice people.
- I will be developing for the andypad pro.
- Kernel Source will be released soon for both andypads

Ill keep you posted and I should start developing next week!
[/quote]
Well done, getting an AndyPad Soon. ;)
1

Share this post


Link to post
Share on other sites

Posted · Report post

Good news, I look forward to seeing what you do with it!

If there's anything I can help wtih gimme a shout. :)

P
2

Share this post


Link to post
Share on other sites

Posted · Report post

[quote name='Paul' timestamp='1318316853' post='1821661']
Good news, I look forward to seeing what you do with it!

If there's anything I can help wtih gimme a shout. :)

P
[/quote]

Looking to port clockwork recovery and that should open the gate to future development.
0

Share this post


Link to post
Share on other sites

Posted · Report post

[quote name='Sami Beck' timestamp='1318365273' post='1822165']
Looking to port clockwork recovery and that should open the gate to future development.
[/quote]

CWM isn't the most important right now, we got all the packing and flashing tools already. More likely setting up a vendor folder & getting all hardware to work in a clean aosp rom?
0

Share this post


Link to post
Share on other sites

Posted · Report post

[quote name='Csharpe' timestamp='1318446883' post='1822874']
More likely setting up a vendor folder & getting all hardware to work in a clean aosp rom?
[/quote]
^this is much more important than a recovery image for now. These Rockchip based tablets are handled differently from most other Android devices so you'll find that making a recovery image will actually be a lot more work.
0

Share this post


Link to post
Share on other sites

Posted · Report post

[quote name='flibblesan' timestamp='1318707729' post='1825136']
^this is much more important than a recovery image for now. These Rockchip based tablets are handled differently from most other Android devices so you'll find that making a recovery image will actually be a lot more work.
[/quote]

Do you fancy assisting flib?
0

Share this post


Link to post
Share on other sites

Posted · Report post

And what other options are there for flashing a ROM?
0

Share this post


Link to post
Share on other sites

Posted · Report post

[quote name='Sami Beck' timestamp='1318709311' post='1825147']
And what other options are there for flashing a ROM?
[/quote]

RKAndroidTool works perfectly on the device. There's also the AFPTool (by Wendal) which packs all the images to an update.img, that can be flashed using the official tools. (if you want, I'll upload those later).
I've tried setting up an android vendor, but without the kernel (which they are obligated to give us by GPL), it's rather useless.
After 3 mails, they still haven't sent me the source.
0

Share this post


Link to post
Share on other sites

Posted · Report post

[quote name='Csharpe' timestamp='1318766015' post='1825426']
RKAndroidTool works perfectly on the device. There's also the AFPTool (by Wendal) which packs all the images to an update.img, that can be flashed using the official tools. (if you want, I'll upload those later).
I've tried setting up an android vendor, but without the kernel (which they are obligated to give us by GPL), it's rather useless.
After 3 mails, they still haven't sent me the source.
[/quote]

Cant you just use stock rom kernel?
0

Share this post


Link to post
Share on other sites

Posted · Report post

[quote name='Sami Beck' timestamp='1318767489' post='1825440']
Cant you just use stock rom kernel?
[/quote]

Yes, but without kernel source, there are some things you can't. e.g. the cpu is UV'd, change some drivers, add better bluetooth functionality.
Making a ROM for the current one, is really useless. We could base it on the RockChip SDK2 firmware though, since that kernel sort of 'rocks', except the touchscreen driver is inverted there (or somewhere in framework.jar, not sure yet)

If anyone's interested working on it today, irc.freenode.net #andypad
1

Share this post


Link to post
Share on other sites

Posted · Report post

hi,

I'm surprising guys in here have interest bad chinese tablets :)

I'm doing some dev work for RK2808/RK2818 tablets from last year. I wrote some program, e.g. generate CRC for kernel/boot/recovery.img, dump ROM images on live tablet via broken MTD driver(it was terrible on 2808/2818), unpack update.img(like as AFPTool.exe from rockchip, but it can work other than Windows), and read/write flash ROM from PC via USB(like as RKAndroidTool, but w/o Windows).
I also made/making CyanogenMod7 for RK2818. very recently I got Yuandao(Window) N50, which have RK2918, and I want to make CM7 for it too.

then, how about your dev work? I want to talk with devs here.

thank you.
0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

hi,

I made & uploaded first CM7 images for RK2918 tablets.
[url="http://androtab.info/rockchip/cyanogenmod/"]http://androtab.info...ip/cyanogenmod/[/url]
I have only Yuandao(Window) N50DT. I think it will work on other tablets, but it may need some modification for them. this is first one, don't expect so many. I need your info to support more tablets.

please download boot.img(ramdisk) and system.img(in zip). you need at least 144MiB system partition. you can flash these images with RKAndroidTool or rkflash/rkflashtool, or you can use these images to make custom upate.img based on your stock update.img. (replace only boot.img and system.img. do not use update.img for other tablets, otherwise your tablet will be bricked)

if you are using SDK2.0 based ROM, your stock boot.img may include kernel and you may not have separated kernel.img. then, you need to split boot.img into kernel and ramdisk, and you need to make kernel.img from it.
[code]$ unpackbootimg -i boot.img
$ rkcrc -k boot.img-zImage kernel.img[/code]
don't forget to add/flash kernel.img into your update.img/ROM. flashed kernel.img will be used if boot.img/recovery.img is pre-SDK2.0 format, i.e. it has only ramdisk and no kernel.

new format used in SDK2.0 based ROM is almost same as common format for android. in general, mkbootimg can generate it. but Rockchip changed something. I can't regenerate same SHA1 hash value in header of boot.img(offset 0x240 bytes). it may use another value to generate hash, or it may not be SHA1.
anyway, we can split kernel and ramdisk from SDK2.0 boot.img, we can make pre-SDK2.0 kernel.img and boot.img(ramdisk) from it, so it should not be a problem.

--
if you want to build CM7 yourself, please use following repo as a base.
[url="https://github.com/naobsd/cm_device_rockchip_rk2918"]https://github.com/n...rockchip_rk2918[/url]

following utilities for RK28/29 may help you.
[url="https://github.com/naobsd/rkutils"]https://github.com/naobsd/rkutils[/url]
[url="http://forum.xda-developers.com/showthread.php?t=1286305"]http://forum.xda-dev...d.php?t=1286305[/url]

this is my free time project. I can do something only if I have enough time, and generally I have no time at all. if you want something, you can use my files freely. I may not be able to answer your question/request so many.

thank you.

EDIT:
(removed)

EDIT2:
what works: 3D, accelerometer, audio, gapps, internal NAND flash, SD card, touchscreen, USB host/device, wlan
Adobe Flash11 works fine.

EDIT3:
(removed)

EDIT4:
new images are uploaded. no workaround is needed for 3D.

EDIT5:
my web page/thread on XDA forum are prepared for my CM7 for RK2918. please use my page/thread for my CM7.
of course you can start your own thread, you can make your own custom rom based from my images, and you can build your own CM7 freely! Edited by fun_
0

Share this post


Link to post
Share on other sites

Posted · Report post

random notes for my CM7

about wlan, Realtek chip is used on N50DT. it may be different on your tablet. there are firmwares for Atheros, Broadcom, Marvell chip in /system/etc/firmware/ in stock ROM. you may need to copy them into /system/etc/firmware/ in CM7 image.

about accelerometer, buttons, touchscreen, and any other input devices, it may be different on your tablet. you may need to modify init.rc and/or some files in system.img.

about bluetooth and GPS, there is no on-board chip on N50DT. I'll add support for USB dongles. if you have on-board chip, you may need to modify init.rc.

about HDMI, there is no HDMI port no N50DT. I'm not sure how to use it.

anyway, if you have some problem, please tell me detail about your tablet e.g. "dmesg", "getevent -p", "ls /dev" "find /sys", and so on.
0

Share this post


Link to post
Share on other sites

Posted · Report post

Going to try this now. Thank you.
0

Share this post


Link to post
Share on other sites

Posted · Report post

did anyone try my images? if it doesn't work, please tell me.
0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

[quote name='fun_' timestamp='1322432471' post='1852806']
did anyone try my images? if it doesn't work, please tell me.
[/quote]

The ROM works except for the screen rotation. When holding the device horizontally, it gets set vertically. This still happens after calibration.
Touch input is correct.

edit: no wifi, camera. sound & gpu works! fastest rom ever ;) Edited by Csharpe
0

Share this post


Link to post
Share on other sites

Posted · Report post

[quote name='Csharpe' timestamp='1322512709' post='1853441']
The ROM works except for the screen rotation. When holding the device horizontally, it gets set vertically. This still happens after calibration.
Touch input is correct.

edit: no wifi, camera. sound & gpu works! fastest rom ever ;)
[/quote]

Any chance on some info on how you flashed it please? I've been using an unpacked stock rom and it doesnt seem to want to boot no matter how many times I copy fun_'s .imgs over the stock ones.
0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

[quote name='Csharpe' timestamp='1322512709' post='1853441']
The ROM works except for the screen rotation. When holding the device horizontally, it gets set vertically. This still happens after calibration.
Touch input is correct.

edit: no wifi, camera. sound & gpu works! fastest rom ever ;)
[/quote]

calibration is for TS. not for accelerometer.

for accelerometer, please enable "accelerometer.flip_xy=1" in build.prop at first. then, tweak "accelerometer.invert_x" and/or "accelerometer.invert_y=1" and/or "accelerometer.invert_z=1".

camera must not work because I did nothing yet. wifi will work after some files are added but I need detail info about your tablet. please give me at least dmesg (just after boot, with wifi on).

please give me info, then I'll make packed image for Andypad(Pro) for a while. and please read info in my site and post#1-3 on my XDA thread. Edited by fun_
0

Share this post


Link to post
Share on other sites

Posted · Report post

I can boot the kernel and connect with adb but it doesn't seem to get any further. my dmesg output has this in it:


<6>[ 11.668391] kjournald starting. Commit interval 5 seconds
<3>[ 11.674235] VFS: Can't find ext3 filesystem on dev mtdblock7.
<3>[ 11.679987] VFS: Can't find ext3 filesystem on dev mtdblock6.
<3>[ 11.692812] init: Unable to open persistent property directory /data/property errno: 2

Which is the last thing it seems to do. Does this mean that my cache and userfiles partition are not in the right format?
0

Share this post


Link to post
Share on other sites

Posted · Report post

[quote name='tumby' timestamp='1322515812' post='1853486']
Any chance on some info on how you flashed it please? I've been using an unpacked stock rom and it doesnt seem to want to boot no matter how many times I copy fun_'s .imgs over the stock ones.
[/quote]

I'll make packed image for Andypad(Pro). please tell me where can I download official non-modified rom image for Andypad(Pro).
0

Share this post


Link to post
Share on other sites

Posted · Report post

[quote name='tumby' timestamp='1322523537' post='1853602']
I can boot the kernel and connect with adb but it doesn't seem to get any further. my dmesg output has this in it:


<6>[ 11.668391] kjournald starting. Commit interval 5 seconds
<3>[ 11.674235] VFS: Can't find ext3 filesystem on dev mtdblock7.
<3>[ 11.679987] VFS: Can't find ext3 filesystem on dev mtdblock6.
<3>[ 11.692812] init: Unable to open persistent property directory /data/property errno: 2

Which is the last thing it seems to do. Does this mean that my cache and userfiles partition are not in the right format?
[/quote]

sorry, I have no info about whole image you flashed. please tell/send me your original image.
0

Share this post


Link to post
Share on other sites

Posted · Report post

[quote name='fun_' timestamp='1322523862' post='1853604']
sorry, I have no info about whole image you flashed. please tell/send me your original image.
[/quote]

I'm uploading it now.

Also, if its any use to you, the kernel source for the andypad is available here: [url="https://bitbucket.org/paulobrien/android_kernel_andypad/src"]https://bitbucket.org/paulobrien/android_kernel_andypad/src[/url]
0

Share this post


Link to post
Share on other sites

Posted · Report post

Ill try building from source tommorow, Csharpe please tell me the image you used?
0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

random notes. these are not specific to CM7.

* boot.img/system.img format

my images are already packed/converted to proper format. boot.img is cpio+gz archive with Rockchip header and trailing CRC(like as pre-SDK2 ROM). system.img is ext3 fs image(like as SDK2 ROM).

if you want to make old format kernel.img/boot.img from SDK2 boot.img(kernel+ramdisk), please use "unpackbootimg -i" and "rkcrc -k" commands.
you can use old format kernel.img/boot.img with SDK2 bootloader/kernel.

if you want to make ext3 system.img, please make empty ext3 image, mount it, then extract cramfs/yaffs2/something system.img on it. you need to preserve permission, owner, group info.
you can use ext3 system.img on pre-SDK2 ROM with necessary modification to init.rc.

* misc.img

it just contain command for recovery. normally it's "wipe all" command. if you flashed it into misc partition, next boot will go into recovery, and "wipe all" will start automatically.
(it's not "must" thing for wipe. there is another way to wipe)

* very first logo on boot.

I think first logo is in kernel. it's same as tux(penguin) logo on Linux.
(I'm not sure on RK2918. but it's true on RK28x8)

* MTD partition layout

there are 2 info, one for kernel, one for flash tool. both need to be synced.

for kernel, there is CMDLINE: ... mtdparts=... in parameter file. you can change it with text editor.

for flash tool, there is offset/size info in header of update.img. it should be generated by AFPTool.exe with definitions in HWDEF file. there is no HWDEF for RK2918 ROM, but this way works for RK2818 ROM.
or, my rkafpack tool can set these values without HWDEF file. I confirmed it works for RK2918 ROM.
or, RKAndroidTool.exe can be used.

anyway, when you try complete new ROM (e.g. my CM7) first time, you should not change anything. please confirm procedure with working image at first, then verify what works, or not works. then you'll know what need to be modified/added for your tablet. Edited by fun_
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.