yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] surfer63:
@fun_:

I see in your init.rc that you start the console service with:

service console /system/bin/sh

In my (later) eclair and froyo roms I always use:

service console /system/bin/busybox sh

.

This makes busybox the shell and gives me the option to type, for example,

"ls -lart" instead of "busybox ls -lart"

or "tail somefile.txt" instead of "busybox tail somefile.txt"

or "dmesg" instead of "busybox dmesg"

or "grep ..." instead of "busybox grep .."

Well, I assume you get the concept. :) It saves a lot of typing. Not to mention the times you simply forget to type it

I modded your boot.img and replaced it there and it works just as well in CM7

(Note: I'm hvdwolf at archosfans)
[Android Software/Hacking General [Developers Only]] ny-hardcore:
new yarvik version based on 2808 images

New packaged version for yarvik tab210, based on boot & system.img from 28/08 (08/28)

https://code.google.com/p/rk2818cooking/downloads/detail?name=yarvik_cm7_29082011.img&can=2&q=
[Android Software/Hacking General [Developers Only]] JDfense:
Bug solution

I have combined fun_'s files with the stock ROM for my tablet Odys genesis and added gapps for cm7.

The result is a customized ROM with a very good calibration and good performance.

Open point:

After some time(minutes) in standby my tablet crashes. Then the tablet needs a reset.

-----------------Update-------------------------

1. If I switch off auto-rotate screen, I got no crashes anymore.

I use the fix for accelerometer adjust with one line in the built.prop:

sensor.accelerometer.invert_x=1

2. switch auto-rotate on again, changed the lock widget and finally no crashes anymore:D:D:D

3. Conclusion: Try out the settings/display and lock widget adjustments, if you have crashes in standby-modus.

4. Have a nice day.;)
[Android Software/Hacking General [Developers Only]] :
Works fine on my LL7CK100

Sim710
[Android Software/Hacking General [Developers Only]] darren3197:
Pls help with my HP Touchpad II Upgrade

Hi guys,

Just bought my wife an HP Touchpad II 7" and could not download apps from any android stores, so soon found out that i needed to flash to firmware 2.2 from cnm.

I have downloaded it and followed the instructions but for the love of god it wont work. I have unzipped the RK2818 android upgrade tool and on button 1. Followed the path to the upgrade 'image' then turn my touchpad on whilst holding the esc key and plug in with usb.

Apparently the device upgrade button should then light green and i let go of esc and click on upgrade...unfortunately this does just not happen. It did turn pink once apart from that zip.

Anyone pls help me as im close to sending it back.

many thanks
[Android Software/Hacking General [Developers Only]] psypreacher:
there is no android for touchpad at the moment! hp touchpad is running webos; so you cant flash cm7! also touchpad is not running on rk2818! you have to wait till the port of cm7 for touchpad is done. go buying an android-tablet ,-)

or hve a look here, cm7 is running on touchpad but without touchscreen: http://team-touchdroid.com/
[Android Software/Hacking General [Developers Only]] fred61:
there is no hp touchpad 2 ?! there is only one hp touchpad and it has got a 10.1" screen. i think you mean another tablet.
[Android Software/Hacking General [Developers Only]] skippycentraal:
Hi all,

I have made a simple script called "android custom rom creator"

It run only on windows 7

It's available in two languages dutch and english.

With this script you can create a custom rom, you can remove, change and update files.

it's based on cygwin with a .bat script with 4 options.

1. unpack a android rom

2. unpack system.img - so you can change files

3. repack system.img

4. create custom rom

instuction to install "ARC"

01. download ARC - DOWNLOAD

02. unrar to c:/ root it wil look like this c:\arc

03. put a android rom in c:\arc\originele_img\update.img <- change the name of the rom to update.img

04. run android_creator_NLD.bat for dutch or android_creator_ENG.bat for english

some of the android roms can give a warning at option 2 but don't worry it's normal.

this version is a beta and can be used at your own risk i am not responsible when it bricks.

I use this for a couple of days now without any trouble.
[Android Software/Hacking General [Developers Only]] DaremoS:
A hint about problem of harware video acceleration

Dear fun_

Problem seems to be located in module adobedevchk of system/bin (you know that Rockchip hardware acceleration requires Adobe) which in Gingerbread collide with wpa_supplicant.

Gingrebread 2.3.1 display fine videos but the can't make wifi work (they have also another problem supposedly with rockchipservice.apk)

GB 2.3.5 work great with wifi, but if it's included adobedevchk in system/bin, wifi is spoiled.

This only happens in GB but not in froyo or eclair.

I´ve seriously tested this issue.

Good night and happy Dragon party!!!:rolleyes::rolleyes::rolleyes:
[Android Software/Hacking General [Developers Only]] fun_:
well

on my CM7, you confirmed

1. put adobedevchk into /system/bin/ then wifi doesn't work

2. put adobedevchk into /system/bin/ then hardware acceleration works (which part of hardware? what is changed for example?)

?

EDIT

or you just talking about wifi issue on N3NET GB ROM?
[Android Software/Hacking General [Developers Only]] DaremoS:
- N3NET play video ok ... wifi is spoiled (in all Chinese ROMs).

- GB 2.3.5 (CM7) wifi works OK... video don't play... if it's added adobedevchk into /system/bin/ wifi doesn't work.

To make video work are required lots of code lines: adobedevchk, rockchipservice.apk, all codecs, some instructions in build.prop, etc etc etc.

For a week I won't be in my laboratory... then i'll finish my tests on this.

BTW... I'm not using CM anymore. I've just kept some of your code lines... thanks for that
[Android Software/Hacking General [Developers Only]] fun_:
hmm. thanks.

talking about my CM7, if adobedevchk will do something badly for wifi(I have no idea how it can), I'll remove it(at this time I have no reason to add it).

I don't force people to use my CM7. please use stock rom or stock based custom rom to watch HQ videos :)
[Android Software/Hacking General [Developers Only]] JDfense:
Bad news.:(

Current Choices:

1. CM7 with a very good perfomance and perfect calibration, but no video or

2. Froyo with good performance and bad calibration and video or finally back to

3. Eclare low performance, good calibration and video

:rolleyes::rolleyes::rolleyes:
[Android Software/Hacking General [Developers Only]] ny-hardcore:
This maybe a daft question, but is it possible to make a

cyanogenmod 6 (froyo not GB) rom with hw acceleration myself?

Reason is that i still have to find a decently working froyo rom for my tablet (problems with g-sensor and orientation)..

If cm7 can be build for rk2818, can cm6 be build too?

And by adding some of the proprietary files from stock

rk2818 froyo roms get hw acceleration to work?
[Android Software/Hacking General [Developers Only]] i004909:
I have fun_'s ODYSCM7GB2.3.5 running on my PMP3084B with as you say above -

very good performance, perfect calibration, but no video.

I'm convinced my changes to build.prop have made a considerable difference in smoothness, responsiveness, even keyboard accuracy:

# Render UI with GPU

debug.sf.hw=1

# Improve scrolling responsiveness (Max is 300)

windowsmgr.max_events_per_sec=150

# Increase overall touch responsiveness

debug.performance.tuning=1

video.accelerate.hw=1

(not sure yet which settings exactly have made the big difference I'm seeing - but I suspect its the debug.sf.hw=1)

- I've also added an egl.cfg file - contains

0 1 android

in /lib/egl

(not sure any impact yet, also going to try adding 1 1 android (first is display number, second is hw acceleration on/off).

AND

(here's the kicker ;))

I've put adobedevchk in system/bin

and WiFi is working fine.

Still no video :(
[Android Software/Hacking General [Developers Only]] JDfense:
As DaremoS and I mentioned before, the videoproblem is more complex than to add or remove some lines or files. If I have some time, I will test your lines in the the built.prop, but currently I think about going back to froyo, when I see a possibility to improve the calibration.
[Android Software/Hacking General [Developers Only]] DaremoS:
You don't have it in your ROM :D
[Android Software/Hacking General [Developers Only]] DaremoS:
That's cool 4909!!!!... then continue ahead:

- add rockchipservice.apk in system/app,

- corresponding portion of adobe (copy it from a froyo ROM like froyo v5, where is imported from the chip)

- codecs in system/lib (also from froyo)

- some lines to system/etc/hw (froyo)

- few lines in system/framework (froyo)

step by step checking that the ROM still work... your enthusiasm can do marvels

good luck!!!

PD.: you can copy anything is needed from Froyo, specially those files with *rk* nothing have changed since Eclair, remember we are using a kernel for Donut.

- Finally if you pick a ROM of N3NET (2.3.1) you can copy everything from there, you'll notice that they use the same lines of Froyo... N3NET is displaying fine videos.

- There is also a mysterious statement in build.prop "rild.libpath=/system/lib/libreference-ril.so"
[Android Software/Hacking General [Developers Only]] fredo57200:
hi,anyone have cm7 on arnova 10b????can anybody build a update for this tab??
[Android Software/Hacking General [Developers Only]] Jostey:
:)

This library serves to keep the functionality of a mobile. As I have understood ... (3G, 4G,...).

Bye! :)
[Android Software/Hacking General [Developers Only]] Gnibbel2000:
Is anybody able to build a rom for wopad, no trackball, with capacitiv screen?

I dont`t need hardware-acelration for video!

But i don`t understand, what i have to change and do, to make it lonely.....

Or is the capacitiv screen incompatible?

Tanks gnibbel
[Android Software/Hacking General [Developers Only]] mylostblog:
It's working on ARNOVA 10!! :) But no video player.. :( Really Really Good BTW!! :) I just have a little problem with an axes.. is inverted but i don't know which..

How can I enable the USB host?? I really need this..
[Android Software/Hacking General [Developers Only]] fun_:
please read how to on my site.

How can I enable the USB host?? I really need this..[/QUOTE]

please try

echo 1 > /sys/bus/platform/drivers/dwc_otg/force_usb_mode

---------- Post added at 10:33 AM ---------- Previous post was at 10:20 AM ----------

did you read post#1, #2, #3 here?

---------- Post added at 10:37 AM ---------- Previous post was at 10:33 AM ----------

technically, yes.

sorry, I don't know.

---------- Post added at 10:44 AM ---------- Previous post was at 10:37 AM ----------

which kernel.img are you using? I remembered there is official beta 2.2 rom for your tablet. what happen if you use kernel.img from 2.2 rom?
[Android Software/Hacking General [Developers Only]] i004909:
- as per someone's quote to yours... this for the phone or something? I was wondering about Cell Standby battery use... hmmm... let me focus on the video for now.
[Android Software/Hacking General [Developers Only]] mylostblog:
It's working! :) thanks!! :) I need to do this anytime or just once?? can i add it to bluid.prop for my next release or i have to do this via terminal??

and there is any way to add a shortcut for unmount rapidly the usb? i get an error message evry time i remove the usb..
[Android Software/Hacking General [Developers Only]] JDfense:
As far as I know there is no odys genesis stock rom with froyo kernel. The update 1.34 is still eclaire.

http://www.odys.de/web/web_lan_de_hmp_1_mp_18_an_X610000_sw_ja.html

I took this rom kernel for your files. If there is a froyo-kernel, I will test it.:)
[Android Software/Hacking General [Developers Only]] fun_:
sorry, it was for prestigio PMP3084B here

http://marketing.prestigio.com/$Customer_Support/Drivers/Tablet_PC/PMP3084B/

I heard both are same hardware, right? then please try kernel.img from 2.1.15 and 2.2beta1.

---------- Post added at 09:43 PM ---------- Previous post was at 09:37 PM ----------

please do it every time you want to *change* USB mode. and USB mode will be reset to default on (re)boot.

use gscript instead of terminal.

http://code.google.com/p/gscript-android/

to switch USB device mode, use "echo 0" instead of "echo 1".
[Android Software/Hacking General [Developers Only]] mylostblog:
Thanks! :) do you know if can I install 2 USB? i need mouse and keyboard (my keyboard has two hub host) but i think it supports only one usb in mount.. am i wrong?
[Android Software/Hacking General [Developers Only]] Kalimerou:
fun_, your work on the CM7 is more than just a mod. It is very important to us, the RK2818-device owners :) And the first and only supported working Gingerbread for RK2818.

That's why it is worth improving it. I think that having hardware acceleration would be awesome !

Why not try DaremoS' suggestions ? I can try and provide you the stuff you want from Onda, Yuando, Cube... firmwares.

By the way, here's the latest N3Net system dump (updated 08/24) : http://www.megaupload.com/?d=R4VB5FZ0

Did you already notice the lib_rk_*, libomx_* and libopencore_* libs in /system/lib ? They indeed look like codecs.

The Rockchipservice.apk may be a good point too, as well as the adobedevchk.

Please keep going, this may be the last run before perfection ;)
[Android Software/Hacking General [Developers Only]] surfer63:
The lib_rk_* are codecs but they are for sound not for video.

The libomx* and libopencore* are neccessary for video/audo decoding of movies.

Note that you also need the /system/etc/pvplayer.cfg.

I'm also experimenting but these libs and the cfg are not enough, not even when combined with the adobedevchk. At least not on my tablet (Archos A7HTV2).

When combined with the system/appRockchipService.apk the tablet keeps hanging in the startup.
[Android Software/Hacking General [Developers Only]] fun_:
I don't have enough time, and I'm doing what I can do. if I can fix a bug within a month, it must be great progress.

but, please understand, I don't have any responsibility. and I don't stop someone who want to try something.

thanks for info. is it same as http://yuandaocn.com/DOWN/N系列/N3NET/n3net-2.3-20110722.zip ?

yes, of course. do you know there is no opencore support in AOSP/CM gingerbread?

I think rockchipservice does something about HDMI output and update service(handle update.img on NAND/SDCARD). it may be useful for CM7 but I'm not sure it does something about hw video.

adobedevchk seems to be very simple test program. probably it opens "test.pdf" and checks Adobe Reader Mobile SDK functionality. RMSDK provides support for PDF/EPUB with DRM. it is used by e-book reader app in stock rom.

thank you for your help. I can't see goal, but I'm try to keep going.

---------- Post added at 02:03 PM ---------- Previous post was at 01:58 PM ----------

sorry, I missed your 2nd question ;)

currently no support to use 2 USB storage at same time. only 1st one is mounted.

please use unmount SD card :) for /mnt/usb in Settings -> Storage.

---------- Post added at 02:57 PM ---------- Previous post was at 02:03 PM ----------

"debug.sf.hw" disable hw rendering when value is 0. otherwise(i.e. default) it does nothing. see frameworks/base/services/surfaceflinger/DisplayHardware/DisplayHardware.cpp.

default is 60 so it should change something. max may be different(I'm not sure about timer resolution in android).

increasing this value will give better responsiveness for move event, but it may have bad effect for other system.

see frameworks/base/libs/ui/InputDispatcher.cpp.

I can't find any reference for above 2 line in my CM7.

"android" provides only software rendering. "0 0 android" is default if there is no egl.cfg. "0 1 android" should not change anything because there is only software "android" renderer on my CM7.

see frameworks/base/opengl/libs/EGL/Loader.cpp.
[Android Software/Hacking General [Developers Only]] JDfense:
I have observed, that Prestigio PMP3084B rom won't work good as the original odys rom base. The calibration by example seemed to be a bit different. And the last Prestigio roms 2.1.13 up to .15 abort during flashing with RKupgradetool on my odys. Still don't know why.

Are you shure, that I can take the kernel.img from the prestigio PMP3084B?
[Android Software/Hacking General [Developers Only]] fun_:
sorry, it seems to be not good idea :(
[Android Software/Hacking General [Developers Only]] ThauExodus:
Could this help you?

https://github.com/CyanogenMod/android_external_opencore
[Android Software/Hacking General [Developers Only]] fun_:
sorry, how does it help me?
[Android Software/Hacking General [Developers Only]] DaremoS:
Believe or not all what I wrote is related with rockchip hardware accelerated video, I've said somewhere there is lot of lines required.

My suggestion is to take N3NET and Froyo firmware and copy statements into GB 2.3.5, nothing have changed in this matter, I mean in rockchip for android 2.2, 2.3.1 & 2.3.5, except the requirements of each android.

I've done it, but always having problems managing the required memory.
[Android Software/Hacking General [Developers Only]] Kalimerou:
Well, the point is that you have a far better knowledge of CM7 for RK2818 than most of us. But remember that you are not alone here ;) there's plenty of people here wishing to help, and I came to that thread because androtab.info said "need developers".

Maybe it would be a better time investment to open a sourceforge site and to publish the sources with a build tutorial. So that people wishing to help could try and do it. It would be an actual community ;)

Yes :D

Indeed, this firmware runs really smoothly on my Novo5. I can feel the benefit of odexing and hardware acceleration ! the only thing it lacks is internationalization.
[Android Software/Hacking General [Developers Only]] fun_:
all sources are published from the beginning. anyone who knows how to build android and use patches can build my CM7 for RK2818.

there is many documents/articles/blogs/etc as android build tutorials on the net.

people wishing to help can try at any time.
[Android Software/Hacking General [Developers Only]] ^BatVanko^:
Sorry but I'm a little confused. Are you talking about the N3NET rom?

I didn't have a chance to install it but I took a look at the system files it contains and it looks like a strange mixture of 2.1, 2.2 and 2.3. Also if this rom supports hardware acceleration it definitely uses the opencore pvplayer instead of the stagefright awesomeplayer, because the last one needs libstagefrighthw.so in order to use the hardware acceleration.
[Android Software/Hacking General [Developers Only]] fun_:
yes, it has opencore on gingerbread. /system/lib/opencore.ver says

opencore version 295 + cmmb version 137 for android2.3 phone provide by csy 20110329_10:40
[Android Software/Hacking General [Developers Only]] Kalimerou:
OK, the CM7 sources are available and so are the patches. But not all developers are used to Android cooking (I am not) and there's no precise tutorial about how to build the system.img as you do.

My point is to contribute to your work, rather than to help you. It's the way of a community ;)
[Android Software/Hacking General [Developers Only]] hanschke:
cm sources are now available again. hope you will bring a new release nightly too :D
[Android Software/Hacking General [Developers Only]] fun_:
kernel.org is still down but github is always fine so I can make CM7 at any time :)

any noticeable changes for us were merged?

---------- Post added at 10:18 AM ---------- Previous post was at 09:53 AM ----------

Kalimerou, you are good person. please understand I don't intend any offensive action for you.

as I said, there is tutorial about how to build android/cyanogenmod. anyone can build CM7 for RK2818 with that tutorial and my patches.

it may be difficult. but I think if someone want to try, then try 1st and learn about it. waiting "easy, complete, trouble-free step-by-step tutorial without learning" is not good idea. at least I don't have time to write such a perfect tutorial for everyone :(
[Android Software/Hacking General [Developers Only]] ^BatVanko^:
... speaking of building from sources: I have a problem with the sound with my build:

E/ALSALib ( 787): external/alsa-lib/src/control/setup.c:565:(add_elem) Cannot obtain info for CTL elem (MIXER,'Speaker normal Switch',0,0,0): No such file or directory
E/ALSALib ( 787): external/alsa-lib/src/pcm/pcm.c:2226:(snd_pcm_open_noupdate) Unknown PCM AndroidPlayback_Speaker
E/ALSALib ( 787): external/alsa-lib/src/pcm/pcm.c:2226:(snd_pcm_open_noupdate) Unknown PCM AndroidPlayback
I/ALSAModule( 787): Initialized ALSA PLAYBACK device default
D/AudioFlinger( 787): setParameters(): io 1, keyvalue routing=2, tid 853, calling tid 787
I/AudioFlinger( 787): AudioFlinger's thread 0x32c48 ready to run
D/ALSAModule( 787): route called for devices 00000002 in mode 0...
D/AudioPolicyManagerBase( 787): AudioPolicyManagerALSA::computeVolume : stream = 0, index = 1, volume = 1.000000
I/SamplingProfilerIntegration( 786): Profiler is disabled.

Any suggestions?
[Android Software/Hacking General [Developers Only]] fun_:
can you hear any sound with your build?

my CM7 for RK2818 is really incomplete. you can see a lot of issues even if you built from source properly. if you can hear some sound, then you built it properly.

I didn't investigate almost of all issues yet. probably there is same issue with my build and I don't have answer for it at this time. if you can, please try to identify this issue.
[Android Software/Hacking General [Developers Only]] ^BatVanko^:
vold issue

I apologize if this is not the appropriate thread for such issues, but after I synced the source this weekend I couldn't make a working image. The issue is with the vold. I saw that few days ago some changes in the config parser were commited, but even after reverting the change my build is continuously throwing this:

I/Vold ( 1452): Vold 2.1 (the revenge) firing up
D/Vold ( 1452): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 1452): Volume nand state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 1452): Volume usb state changing -1 (Initializing) -> 0 (No-Media)
F//system/bin/vold( 1452): stack corruption detected: aborted
W/MountService( 854): Waiting too long for mReady!
W/MountService( 854): Waiting too long for mReady!
E/VoldConnector( 854): Communications error

Yeah... the vold is crashing with "stack corruption detected". I went through most of the vold code but couldn't find any potential buffer overflow or something that may corrupt the stack :-(

I didn't make any changes except the patch mentioned in the OP.

If anybody had similar issues please share?

Any suggestions will be appreciated.
[Android Software/Hacking General [Developers Only]] fun_:
here is dev thread to discuss issues such as you reported :)

very strange. I'll try to build/check latest source too but probably it's difficult.

btw I saw some processes were crashed e.g. bus error. really strange. I guess some critical part is broken...

as you can see I already disabled some optimization in libskia :(
[Android Software/Hacking General [Developers Only]] sega dude:
I have installed this on my Craig CMP738a tablet. It works great and I love it. There is sound but no video in the youtube app. I was able to connect to my wireless with no problem. It is much faster and more responsive than any other rom I've used on this device. I screen orientation is reversed. When I have it horizontal the screen is vertical and vice versa. But thats probably my fault for not doing step 3 and 4. Even with the bugs this is by far the best rom i've used on this device.