[ICS][4.0]CyanogenMod 9 from Rockchip RK2918 [no official] [30/09]

Search This thread

Astralix

Member
May 12, 2011
49
15
Ok, I have a good one for the specialists...

I modified gSensor in my Loox kernel to work correctly. So x,y,z axis are correct and homescreen is rotating perfect.

Now, the Loox tablet has only front CAM and it rotates correctly too, i.e. you can rotate the tablet but the picture stays always vertical.
But if you check the picture with something written or a barcode, you see, that it is mirrored horizontially.

Ok, I got the datasheet of the CAM and the sources, so I modified the OV7675 driver of the RK2918 kernel and the picture is not mirrored anymore... But now the rotation is broken again... if you rotate the tablet clockwise, the image doesn't stay vertical, it rotates counter clockwise.

I tried every combination of the rotation setting, and the options to flip the picture vertical or horizontally... Nothing helps. Either the picture is mirrored or the rotation is wrong...

I guess it must be fixed in the Android part of CM9, not the kernel?
So anyone with a good idea?

Astralix
 

it's

Member
Jun 10, 2011
47
3
Ok, I have a good one for the specialists...

I modified gSensor in my Loox kernel to work correctly. So x,y,z axis are correct and homescreen is rotating perfect.

Now, the Loox tablet has only front CAM and it rotates correctly too, i.e. you can rotate the tablet but the picture stays always vertical.
But if you check the picture with something written or a barcode, you see, that it is mirrored horizontially.

Ok, I got the datasheet of the CAM and the sources, so I modified the OV7675 driver of the RK2918 kernel and the picture is not mirrored anymore... But now the rotation is broken again... if you rotate the tablet clockwise, the image doesn't stay vertical, it rotates counter clockwise.

I tried every combination of the rotation setting, and the options to flip the picture vertical or horizontally... Nothing helps. Either the picture is mirrored or the rotation is wrong...

I guess it must be fixed in the Android part of CM9, not the kernel?
So anyone with a good idea?

Astralix

Perhaps something to dig around in the sensors.rk29board.so which is located in /system/lib/hw?
 

Astralix

Member
May 12, 2011
49
15
Oma, my question may be a little bit off-topic, but I hope you can help me. :) What is needed to see whether dual-touch can be implemented on a resistive tablet? I have done dmseg from adb and came to know that the touchscreen controller is a xpt_2046? Tried looking on the web, but no information about dual-touch or anything... Do I need to find out the lcd screen manufacturer and if yes, how to do it? :p

Fr3ts0n an me could follow the procedure of how the LZ300 driver for the resistive touch in the Odys Loox was done and we got it working including dual-touch. But the ADC was fairly dump and did give results below and beyond the original resistive screen values. So in case of dual touch you have parallel connected resistors and you have a shadow or mirror point along the diagonal of the screen. To figure out, where you are, your touch ADC must be able to switch sides. I.e. it must be ablte to measure from x top -> down and y left- > right and then from x bottom -> up and y right -> left.
The XPT seems only to provide 3 of the needed four and it uses it for measuring the pressure to detect if y finger tip or a pointer tool is used...

So my first rough guess is, that dual-touch is not easy on that Pad. Sorry.

Second, I tried compiling the sources and they fail at some silly thing. Should be able to fix that. But I checked the sources for the touchscreen driver and it is the usual RK mess. Multiple drivers for the same chip in slightly different flavours... Didn't check which of the sources is used by the Arnova kernel. Unfortunately, if you like to modify or test the touchscreen driver youn need a tablet at your hands. And you should have serial port debugger attached...

Astralix

---------- Post added at 12:14 AM ---------- Previous post was at 12:11 AM ----------

Perhaps something to dig around in the sensors.rk29board.so which is located in /system/lib/hw?

Unfortunately I never found these libs as sourcecode...

Astralix
 

it's

Member
Jun 10, 2011
47
3
Could you pls test kernel AndyPad and teclast P71 (see archive part III) from here?


- Oma -

It boots, it runs... :) On the other hand, I could not get it to calibrate right and it was slowish, perhaps the touchscreen is placed differently on mine. The touchscreen itself does register touches and I somehow got it to pass the unlock screen...
 

Oma7144

Senior Member
Jul 20, 2012
2,282
1,548
It boots, it runs... :) On the other hand, I could not get it to calibrate right and it was slowish, perhaps the touchscreen is placed differently on mine. The touchscreen itself does register touches and I somehow got it to pass the unlock screen...


Do you have dualtouch (tester)? Can I have the dmesg? Is there a config.gz in /proc?

- Oma -
 

sw6lee

Senior Member
Apr 20, 2011
595
32
Wow nice! There was a cm10 work going on for rk2918. I didn't know! :D

For CM10 as well, maybe Oma can help. I don't know if the fix process for youtube and web rendering for cm9 and cm10 are much different or not, but if it's not, then it could be easily fixed by Oma because he did that already for cm9. I'm not sure of course.. :)

THANKS Vurrut & Oma! Hope we can get orientation fixed also this time, along with all the important ones in cm10 for Cube u9gt2!
 

MikeyMan

Member
Nov 9, 2007
44
9
Tried this on a danew R701 with the same chip, but it gets stuck on the screen with "Android powered by vurrut".

Any idea?
 

Terence12

Member
Sep 27, 2009
6
3
root navon platinum rk2918 based tab

Hi. Can anybody help me for root my rk2918 based navon platinum 7 tablet. (ICS 4.0.3 kernel 3.0.8+) ???
Sorry for my english...
 

vurrut

Senior Member
Oct 4, 2010
118
776
New version released (22/09)

-full working webgl

In cm9 is on 90%, i am working on cm10, i need help.

Problem
Code:
W/dalvikvm( 3423): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Landroid/media/CameraProfile;
E/Zygote  ( 3423): Error preloading android.media.CameraProfile.


Any ideas?

Thanks.
 

edgardurao

Senior Member
Aug 16, 2005
268
40
Lisbon
Is the rotation problem solved? Assuming yes because its not in the bugs list but just want to check.

Sent from my STM805HCZ using Tapatalk 2
 

smoki3

Senior Member
Oct 29, 2010
1,713
1,243
Heidenheim
Yeahh.... Thank youuuuu!

Cm9 is the best rom i ever had on my cube :) I dont use the camera so it work for me 100%!!

If you will port CM10, it will be the greatest!

Gesendet von meinem Cube mit Tapatalk 2
 
  • Like
Reactions: sw6lee

Top Liked Posts

  • There are no posts matching your filters.
  • 16
    logo.png


    CyanogenMod is free, community built, the distribution of aftermarket firmware Android 4.0 (Ice cream), which is designed to increase performance and reliability in the stock Android for your device.

    Code:
    # include <std_disclaimer.h>
    / *
    *
    * Not responsible for bricks devices, SD cards dead
    * Thermonuclear war, or be fired because of the alarm application failed. Please
    * Do some research, if you have any questions about the features included in this ROM
    * Before flashing it! You are choosing to make these changes, and if
    * You point the finger at me for spoiling the device, I will laugh at you.
    * /


    CyanogenMod is based on the Android Open Source Project with additional contributions from many people within the Android community. Can be used without any need for any Google software installed. Linked below is a package that has come from another Android project to restore parts of Google. CyanogenMod are still included various hardware-specific code, which is also gradually open source anyway.

    All source code is available CyanogenMod Github repository CyanogenMod. And if you would like to contribute to CyanogenMod, please visit our Gerrit code review. You can also see the Changelog for a complete list of updates and features.

    Instructions:

    The first time you use CyanogenMod 9 on the device or from another ROM?

    1-Install ClockworkMod recovery. The instructions are available in the second post .
    2-Make a backup nandroid your current ROM. (in the Backup and recovery >> restore >> backup)
    3-Format the partition of data and cache device. (in the recovery >> Wipe data / factory reset
    4-CyanogenMod to flash (Install zip from sdcard, CM9-(fversion)-UNOFICIAL-pascal2.zip)
    5-Optional: Install the Google Apps package addon. (Install zip from sdcard gapps-ics-20120429-signed.zip)

    Upgrading from an earlier version of CyanogenMod 9

    Make a backup nandroid your current ROM.
    CyanogenMod flash (Google Apps will be a backup and restore automatically).

    problems

    Experience issues? Please provide the following information to our bug tracker:
    If the device was difficult to start the system, please provide the file "/ proc / last_kmsg".
    If the device was a soft reset, or "bootlooping", please run a Logcat and provide maximum power.
    Please use Pastebin when possible.


    Download Links:

    CyanogenMod 9:
    Latest version: 9_alpha [30/09]
    Download: http://d-h.st/3Di/

    GoogleApps (supplement):
    *Version: gapps-ics-20120429
    Mirror: http://goo.im/gapps/gapps-ics-20120429-signed.zip

    Moldels tested:

    Bq Pascal 2 (rk2918 7", 1gb ram)
    Bq Kepler 2 (rk2918 8", 1gb ram)
    11
    Not working:


    Minor faults:
    Problems with overlay (wallpapper aspect, laucher, dimensions ...)
    Not tested (HMDI)
    Sensor work bad.


    Changelog:

    30/09/2012
    -fix orientation camera
    -Update sources

    13/09/2012
    -Fix vpu/ion
    -fix camera

    10/09/2012
    -Fix rendering webgl (thanks to christiantroy)


    30/06/2012
    -Add recovery
    -Remove incompatibility with install(ro.product)
    -Add usb storage support.
    -Rendering(Faults in web browser).
    -Add own recovery in installer(non touch).


    Installation Instructions for vurrut ClockworkMod recovery(non touch):

    For Rktools (windows):

    1-Download and extract the file on the desktop recovery_RKtool_winV2.zip.
    2-Turn the tablet in any way jtag, (-) and insert the usb.
    3-Run the RK29update.exe (should appear under "device connected", if not, repeat step 2)
    4-Turn the tablet and turn into recovery mode ((-) and (power)).



    Restore to the previous ROM:
    1-Reboot in the Recovery.
    2-Backup and Restore >> Restore.
    3-You choose the date of restoration (if you miss several).
    7
    I need help from other developers

    To build:

    repo init -u git://github.com/CM9-Pascal2/android.git -b ics-release
    repo sync
    ./builder.sh pascal2 img.

    Things that has been made.
    -Gpu
    -Sensors.
    -Audio.
    -Custom releasedtools to build a package
    -Create a builder to create custom img. How to use??--->README
    3
    I just tried this ROM, and I think it's much faster and smoother than stock based cube roms! I have a huge problem though.. I think google play downloads apps, but it doesn't let me open any downloaded apps. If I open an app, it just takes me to the app page in the google play. I THINK it's related to the LCD density that they changed? Everything's tiny. Some people like that, but it causes some problems. So I can't download a file manager (actually can't open it, along with anything I download), so I have to disable my volume buttons because they are broken and acting weird if I don't disable them. Also, I tried downloading all these free apps I need from computer and tried moving to the tablet, and they were moved successfully, BUT I realized..without a file manager, I can't install any apks..damn!

    I don't know what to do??

    EDIT: NVM after rebooted, every app I downloaded appeared!

    BTW, any U9GT2 users who wants to try this rom, DO NOT use the CWM recovery posted in this thread. It bricked my tablet, then I recovered it luckly, and now everything's fine. Use the CWM posted on FlashMyAndroid forum in the recovery section of U9GT2 forum.

    ---------- Post added at 01:29 AM ---------- Previous post was at 01:19 AM ----------

    OMFG.. Today is THE day I started to actually like my tablet...since like February??

    Just changed the LCD density to 160 (original), and even the home screen is super smooth! Before, at density of 120, the home screen was kind of laggy, but all other system was smooth, but now everything is perfect! If you are an U9gt2 owner, and are somewhat frustrated with the ICS performance, DO TRY THIS, and do all the stuff that I stated above, including POST above! Oh and I changed to Apex Launcher btw.

    Cheers!!
    3
    New version released.30/06

    Please post the logcat, dmesg in pastebin to evaluate the errors.