yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] wetware05:
Hello again fun_

I believe that the key is in the directories creation. In a ROM 2.3.5 of Jostey that was working more or less well, the directories creation in the file "init.rc" was like that:

# believe mountpoints

mkdir/mnt 0775 root system

mkdir/mnt/sdcard 0000 system system

mount vfat mtd@user/mnt/sdcard

mkdir/mnt/sdcard/external_sd 0000 system system

mkdir/mnt/usb 0000 system system

And later:

# Backwards Compat - XXX: Going away in G*

symlink/mnt/sdcard/external_sd/sdcard

Perhaps the judgment:

mount vfat mtd@user/mnt/sdcard

be the one that creates a virtual division that is the one that works.

Later in the file "vold.fstab" in "/system/etc /" it is like that:

dev_mount flash/mnt/sdcard car/devices/virtual/block/mtdblock8

dev_mount sdcard/mnt/sdcard/external_sd car /devices/platform/rk28_sdmmc0/mmc_host/mmc0

dev_mount usb1/mnt/usb car/devices/platform/dwc_otg/usb1

Like that it is as I have it now and at least it works more or less well.

I am opened for suggestions.

---------- Post added at 03:49 PM ---------- Previous post was at 03:31 PM ----------

My ROM does not read .ext4, it is not also a problem since at least he reads.ext3

On the means topic the fact is that it is necessary to optimize some libraries, perhaps "framework/services.jar", Also perhaps be a problem of the database, since there is one "/system/framework/sqlite-jdbc" and in the directory "/system/lib /" the bookstores can intervene:

libmediaplayerservice.so

libmedia_jni.so

libmedia.so

But all this it it is me who already will look with at more calmness.
[Android Software/Hacking General [Developers Only]] fun_:
non-protected app can be moved to SD card with 2.1 kernel & modules. moving protected app will be failed. something is wrong around crypto framework. (maybe missing algorithm)

anyway, I'll add modules in next release for tablets which use 2.1 kernel. it will be useful on some cases.
[Android Software/Hacking General [Developers Only]] fun_:
20110717 files are uploaded.

internal nand(FAT) area is mounted on /mnt/nand (was /mnt/flash) now. sorry for this inconvenience.

Calibration app is replaced. it should work on any screen. if you have capacitive and no need to calibrate, just cancel (press BACK).

fix no "My Apps" on market. (but I'm not sure it happened on CM7 for RK2818 lol)

remove some extra packages e.g. wallpaper, sound, theme, TTS packs, and so on. there is issue around sound from beginning, so there is no selectable sound for ringtone/notification for now :(

not well tested so I'll update this post later.

EDIT:

DSPManager is removed due to always FC and dialog is popped :(
[Android Software/Hacking General [Developers Only]] splatterb0y:
First thing:

I sended you a pull request on github, with my patches for the device tree.

Second thing:

The Prestigo PMP3084B is running your cm7 also, you can add it to your list of devices. :)

Third thing:

I asked a company which is producing a tablet with the rk2818 chip for the android sources. I'll keep you informed as soon as I have their android sources and forward them to you.
[Android Software/Hacking General [Developers Only]] fun_:
for pull request, comment added, please check.

I'll update my site/OP when I have a time. thank you for your report.

personally I have no hope to get soure from chinese factory, but if you can, please tell me.

thank you for your help.
[Android Software/Hacking General [Developers Only]] splatterb0y:
I commented back on your comment.

No Problem. Your doing great work!

I got mail today that the person responsible for the sources is on holidays in the moment. He will contact me when he is back at work.
[Android Software/Hacking General [Developers Only]] fun_:
thank you for your comments.

to commit changes to my repos, it should be reasonable for me. for example, if it reduces size of system.img, then at least size of system partition, size of system.img before change and after should be explained clearly, in other words, what we get and what we lose by changing it should be clear and it's reasonable for me.

"(something) are defined in other port" without any technical background is not reasonable. at least "what is happen/changed if it defined/undefined" should be explained.

"fix bug" is reasonable, of course.

thank you.
[Android Software/Hacking General [Developers Only]] Sakhar:
Hello i wanna buy tablet Prestigo PMP3084B, and i need better android then 2.1 and no market.

If i can put this rom to this tablet i will very happy.

And how, i never instal new rom on other android, only on WM device.
[Android Software/Hacking General [Developers Only]] Kalimerou:
Hello !

I'd be very interested to have a Gingerbread on my RK2818 tablet, an Ainol Novo5.

The RK2818 is a wide-spread chipset, so it's easy to grab exchangeable firmwares on company's support sites.

I've detected that the Onda VX280W firmware is compatible with my Novo5. The VX580W runs Froyo, whereas there's another device, the Window N3net, for which the manufacturer provides a Gingerbread firmware. I managed to mix both firmwares... and it works on my Novo5 ;)

I anyone's interested, I'm not allowed to post outside links but I think you can PM me.
[Android Software/Hacking General [Developers Only]] Jostey:
I have a Bq Verne.

The internal nand now works. The camera asks me sdcard. What I can do?

Thank you :D.
[Android Software/Hacking General [Developers Only]] fun_:
thanks!

it seems they released 2.3 rom very recently

http://www.yuandaocn.com/down/N系列/N3/

http://www.yuandaocn.com/down/N系列/N3NET/

it will be helpful for us!

thank you for your info!
[Android Software/Hacking General [Developers Only]] Kalimerou:
You're welcome ;) and obviously you are allowed to post external links :p

By the way I've been digging quite a lot into the firmware so if there's any way I can help... I'm known as Kalimerou in MP4nation and ChinaDigitalComm forums.

I'll post the system unencrypted dump as soon as I can.
[Android Software/Hacking General [Developers Only]] fun_:
you inserted SD card but not detected?

I'm not sure camera works on my CM7... my tablet doesn't have camera, and probably no one report about camera yet. (sorry if I missed someone's report)
[Android Software/Hacking General [Developers Only]] fun_:
thanks, I'm still downloading slowly... ;)

I want to know kernel version in N3/N3net GB rom. if 2.6.25 is still used, it should be easy to port GB rom to other not 100% compatible RK2818 tablets.

EDIT:

for reference

http://www.chinadigitalcomm.com/onda-vi10/android2-3-for-vi10-vx580w-a-vx610a-t10620.html

http://www.mp4nation.net/forum/viewtopic.php?f=6&t=22611

(what is it? http://www.megaupload.com/?d=9X03YJLE downloading...)

EDIT2:

it seems it is already ported to other tablets with kernel for themsevles. nice.

and it seems G-sensor orientation is wrong on some tablets. yes, it should happen :) I saw same issue while testing 20+ RK2818 ROMs on my Mivvy A2. at least 2 kinds of configuration are exist.
[Android Software/Hacking General [Developers Only]] Kalimerou:
This is the N3net firmware re-packaged with the VX580w kernel (2.6.25) and settings (HWDEF and parameters).

How do you check the kernel version without flashing the firmware ?
[Android Software/Hacking General [Developers Only]] Kalimerou:
Here's the system dump : megaupload.com/?d=NDL0VZ86
[Android Software/Hacking General [Developers Only]] fun_:
thank you!

I managed to download N3 and N3net images from window. it seems N3 image is broken(?) so anyway only N3net can be used.

it has 2.6.25 kernel, nice :)

omg, they still uses opencore and no libstagefrighthw.so :(

I tried N3net boot/system.img on my Mivvy A2 (short time). it works with some small issues.

--

and now I'm building CM7 for RK2818 with files from N3net GB ROM.

accelerometer is working now :) orientation is wrong, but it's not big issue on my CM7. there is knobs to flip accelerometer axes so all you need is find correct settings, then it must work nicely :)

it seems graphic rendering speed is better than previous... at least "copybits failed" is gone.

still no hope for hw video and some strange crash on some services/apps.

anyway, I'll upload new image soon.
[Android Software/Hacking General [Developers Only]] fun_:
"strings kernel.img | grep Linux version" is enough for me :)

kernel in N3net GB ROM is "Linux version 2.6.25 (root@a-System-Product-Name) (gcc version 4.4.0 (GCC) ) #99 Wed Jul 13 09:41:24 CST 2011"

btw N3 and N3net have only 128MB ram... it seems too small for gingerbread ;)

people use only audio/video player app...?
[Android Software/Hacking General [Developers Only]] Jostey:
Hello!

Could you add some buttons for volume on the bottom bar?

Postscript: It sure is impossible .. hehe

Thanks!
[Android Software/Hacking General [Developers Only]] fun_:
20110725 uploaded

new proprietary files from yuandao N3net GB ROM are used.

copybits is working without error and get better performance.

accelerometer is working. you need to tweak following properties to get correct orientation (0: disable, 1: enable)

sensor.accelerometer.flip_xy
sensor.accelerometer.invert_x
sensor.accelerometer.invert_y
sensor.accelerometer.invert_z

probably following file will work on most tablets

sensor.accelerometer.flip_xy=1
sensor.accelerometer.invert_x=1
#sensor.accelerometer.invert_y=1
#sensor.accelerometer.invert_z=1

download http://androtab.info/files/rk2818/cm7/local.prop and put it as /data/local.prop

--

I don't have enough time today. my site/OP may have old info. I'll update them later...
[Android Software/Hacking General [Developers Only]] destilant:
Great work so far, I'll check the new update tonight on my Onetab.
[Android Software/Hacking General [Developers Only]] cajl:
i would like to install on Arnova (archos with rk2818)

but how intall this ?
[Android Software/Hacking General [Developers Only]] birdiebnl:
Hi fun_, i checked your changes in frameworks/base but in my opinion these changes aren't necessary. The most important change i think is that you now build against gingerbread proprietary files.

I tried myself, just removed the libmediaplayerservice source code, and build against the proprietary libmediaplayerservice.so. (by changing extract-files.sh). That also deliveres a working hw video build.

I had tried that before, but then it didn't work, now i know why, i did that with the froyo lib's.
[Android Software/Hacking General [Developers Only]] fun_:
I don't say your way is "wrong". but please look carefully about my way.

at first, I'm using gingerbread proprietary files from several months ago.

https://github.com/naobsd/cm_device_rockchip_rk2818/commit/464c396298bb4e8b8eea1c30cf83a9d2103cbf52

at this time, I added opencore/pvplayer files but I didn't use proprietary libmediaplayerservice.so. reason is simple, I like source code. I can change source code. for me, it's more important than using proprietary libmediaplayerservice.so.

and my change is recorded in git log. sometimes it's important e.g. to explain what I did clearly.

of course I don't think my way is perfect. it has issues. your way may be better. so I don't say your way is wrong. try both to compare pros/cons, should be good thing.

I also tried proprietary opencore/pvplayer files in froyo rom because there is mpeg2 support. I could make bootable rom with it, but it freeze easily when (try to) playing video with hw codec.

EDIT:

please don't think I want to say my work is great. as I said, and probably you can understand, it's very simple. I wonder why I didn't notice it's possible when I checked 2.3 rom... I'm not wise at all ;)

EDIT2:

one of issues in my way is, lib_rk_*.so. it's not linked from my libmediaplayerservice.so. currently no idea how it works.

EDIT3:

ah, sorry, probably you said about my message for 20111118 release, right? what I wanted to say in that message, "I already use gb props for long time, no need to remove DSPManager".

sorry for confusing.
[Android Software/Hacking General [Developers Only]] fun_:
ah, yes, I see. and I forgot to say thank you for your info! sorry! :)

little off-topic your info save some person but I should forget about it lol

I guess similar problem also happen in sw libstagefright (I said it media scanner problem). probably metadata is missing, but audio data can be played.

and I noticed Sound Recorder doesn't work well. audio input is fine (e.g. Voice Search works), but encoding seems to be failed.

probably PVMediaRecorder() and PVMetadataRetriever() should be disabled at some point. (there is property for recorder but not for retriever)

oh, froyo props have some problems and bad performance... ;)

thank you for your cooperation!
[Android Software/Hacking General [Developers Only]] Raef1979:
hi fun_

yes i want to enlarge "data" partition. and if is better enlarge cache to!

if you can help me : join original HWDEF and parameter file
[Android Software/Hacking General [Developers Only]] sega dude:
Would it be illegal to for me distribute a rom for the Craig CMP738a with the gapps included. This way people wouldn't have go threw the same hell I went threw. While playing around the recovery menu (I probably shouldn't have been) and I accidentally did a system recover. So I took this opportunity to test my hunch. Before, I had fixed permissions with rom manger and this made the rest of the gapps appear. So I did it again after reflashing. It did appear right away after I reboot but they did a few minutes later. They appeared after I connected to wifi but I don't think this has anything to do with it. So if we change the permissions to to proper ones and then assemble the system.img, this may solve our problem.

P.S. Keep up the amazing work fun_! This is by far the best rom I have ever used on this tablet. Also, the screen calibration is much better this time around, not sure what happened with my last flash.
[Android Software/Hacking General [Developers Only]] fredo57200:
hi,anyone have a new update with youtube hd video for arnova 10b??????????????,
[Android Software/Hacking General [Developers Only]] fun_:
please try to change following values (marked red)

in HWDEF:

userdata 0x000BA000:[B][COLOR="Red"]0x00100000[/COLOR][/B]:
user [B][COLOR="Red"]0x001BA000[/COLOR][/B]:0xFFFFFFFF:

in parameter:

CMDLINE: (snip),[B][COLOR="Red"]0x00100000[/COLOR][/B]@0x000BA000(userdata),-@[B][COLOR="Red"]0x001BA000[/COLOR][/B](user)

please don't snip anything ;)
[Android Software/Hacking General [Developers Only]] wdilbert66:
If you have a Craig CMP738a image already created, I would like to get it to try on my Craig.
[Android Software/Hacking General [Developers Only]] sere83:
Respect for this port but please please please forget about RK2818, and work on RK2918 instead. RK2818 is so slow, outdated & underpowered.

There is so much strong RK2918 hardware going around at the moment for cheap and being ARMv7 it is a far far more powerful chipset. An ICS port would be incredible.
[Android Software/Hacking General [Developers Only]] wdilbert66:
Craig cmp138a

I agree but I still have a craig that I need an image to work on.
[Android Software/Hacking General [Developers Only]] sega dude:
I can give you mine as soon as someone tells me if its illegal for me to distubte an image with gapps included or not.
[Android Software/Hacking General [Developers Only]] fun_:
please refer

http://wiki.cyanogenmod.com/wiki/What_is_CyanogenMod#Licensing_Controversy

http://wiki.cyanogenmod.com/index.php?title=Latest_Version#Google_Apps
[Android Software/Hacking General [Developers Only]] wdilbert66:
Criag CMP738a

Up it to Media Fire and give me the link to it.
[Android Software/Hacking General [Developers Only]] hanschke:
do you think it is not much better to port android 4?
[Android Software/Hacking General [Developers Only]] JoKeR_FaCe:
Android 4 use to much graphic power for the little rockchip.
[Android Software/Hacking General [Developers Only]] JDfense:
And the memory is too small for Android 4.

For my hannspad will may be soon come an android 4 rom.:D
[Android Software/Hacking General [Developers Only]] DaremoS:
Why are we going to skip steps?

Now I'm going to android 3.

If the device makes no explosion...

I'll go to 4... waiting for 5

And this is not a joke, donaldj83 from this thread burn his PMP3084B

installing Honeycomb.

But I'll do it anyway.

:D

PS: only if fun_ gives me support
[Android Software/Hacking General [Developers Only]] sega dude:
Check your PM's
[Android Software/Hacking General [Developers Only]] wdilbert66:
Craig CMP738a with fun_'s rk2818 cyanogenmod 7 port

This is the default 2.2 Froyo. Can you up the Craig CMP738a with fun_'s rk2818 cyanogenmod 7 port. I appreciate the effort.
[Android Software/Hacking General [Developers Only]] sega dude:
Are you sure? Did you actually flash it? I assembled the rom from the official 2.2.
[Android Software/Hacking General [Developers Only]] wdilbert66:
rk2818 cyanogenmod 7 port

Flashed with RKAndroidBatchUpgrade.exe and it said ver. 2.2.1. It didnt show any cyanogenmod 7 upgrades. Unless I did something wrong.
[Android Software/Hacking General [Developers Only]] sega dude:
I apologize. I'm not sure what happened. I assemble a new rom for u.
[Android Software/Hacking General [Developers Only]] wdilbert66:
rk2818 cyanogenmod 7 port

Downloaded file again and it flashed correctly this time. Thanks, this looks great. Appreciate your help.
[Android Software/Hacking General [Developers Only]] sega dude:
Glad I could help. Enjoy!

Can I safely delete the useless phone, messaging and camera apps?
[Android Software/Hacking General [Developers Only]] ny-hardcore:
Not sure about phone but i deleted messsging and camera before without problems
[Android Software/Hacking General [Developers Only]] ThauExodus:
Can somebody tell me, which apks I have to delete to remove the telephony & mms functions? My tab doesn't have 3g so I don't need these functions.

And has somebody tried to strip entries out of the settings apk? If yes how? I decompiled the settings.apk, removed the settings and recompiled it as a system apk, but it doesn't start...
[Android Software/Hacking General [Developers Only]] JDfense:
I haven't done stripping the settings.apk until now, but why is this necessary. Take out telephone.apk and mms.apk. If I would do your stripping, I can't recommend to rename the settings.apk because of the relationship to other parts of the rom.
[Android Software/Hacking General [Developers Only]] ThauExodus:
I haven't renamed the settings apk.. But I will try to remove these two apks. In my actual try, I had removed too much apks and now I cant add a google account :D but AUFS seems to be working
[Android Software/Hacking General [Developers Only]] JDfense:
Yes, it is very easy to destroy google sync. I think you need googlemail, contactsync, calendarsync and frameservice. Carefully with any *provider apk. Maybe there is relation. I haven't figure out the complete relationship for googlesync.
[Android Software/Hacking General [Developers Only]] ThauExodus:
yeah.. i removed some provider apks.. telephonyprovider and a few more *arrrgg* >.<
[Android Software/Hacking General [Developers Only]] JDfense:
Fun_stuff 18.11. feedback from a non-dev

Hi fun_,

back again in your great thread with the second trial to get a working rom with your last system for Odys Genesis.

Here comes my small feedback:

+hd video

+audio

+ no freezing anymore while booting so fare

+fast rom

+fully functional gsync add

- no market - installer failed while Iam sign in my google account

-still SOD's - everytime my tablet breaks down after some minutes in standby, then I need a reset, this is an old problem in your system but this time I haven't found the right trick in the settings to fix this( Maybe I need more discipline while playing with the settings;))

-crashes after some time with audio and video

Resume:

Nice rom, but DaremoS gingerbread work more stable and functional for me. I wait better some time for your work in progress, before I brew a genesis version.

In your two systems are lot of differences, as fare as I can evaluate this android stuff as a non-dev. Maybe a closer look inside of both help to get a perfect gingerbread for all.:rolleyes:

Comparing is a step in learning:D:D:D
[Android Software/Hacking General [Developers Only]] Hitcher99:
Hi, i have used, the lastet rom from you on an "Archos 70b ereader".

Kernel i used is from Bq Readers.

It seems to work fine for me. a little bit slow but ok

I have just 2 questions

Is there anychance for an custom kernel??

Cause everytime when i launch the Archos70b ereader, it shows me an static bq logo 1-2seconds.. than my custom boot image (initlogo.rle) and than comes my boot anmination..

And i dont want that static bq logo.. i musst kill (delete) it but how?

2 Question:

The Archos 70b erader has an "MicroUsb" Port, i have managed to get an Keyboard working on this, but if i disconnect the Keyboard the wohle tablet is freezing. How could this been happen?

Kepp to good work UP guys, im reading every day in this thread, nice to see what this little rockchip all can do :)
[Android Software/Hacking General [Developers Only]] surfer63:
Below mentioned apk's are "phone" apks and can be removed.

Phone.apk

Mms.apk

VoiceDialer.apk

CarHomeGoogle.apk

Talk.apk

TelephonyProvider.apk

GoogleFeedback.apk

NetworkLocation.apk

Provision.apk

Note that there are also several *ril* libraries but be very careful with them. The main ril library is a dependency for many other apks.

The following libs can safely be removed on MY Archos A7HTV2 tablet.

libreference-cdma-sms.so

libreference-ril-23d.so

libreference-ril-rk29-mid.so

libreference-ril.so

Note that it can be different for yours.

I have an A7HTV2, which is a rockchip device without fancy extensions. Therefore I can also remove:

android.rockchip.hdmi.jar

android.rockchip.manager.jar

android.rockchip.tvout.jar
[Android Software/Hacking General [Developers Only]] davidzwb:
Hello Fun-:

Since I can't get the CM7 run on my device, I use the same method(unpack and replace boot & system img)to use other rk2818's official ROMs, but always get wrong accelerometers, I tried to use the solution you mentioned, added sensor.accelerometer.flip_xy=1

sensor.accelerometer.invert_x=1 and other combinations, but they didn't work ,does these properties only apply to CM ROMs? Can you tell me what should I add to change the acceleromter in the official Roms?
[Android Software/Hacking General [Developers Only]] ThauExodus:
Thanks for that, i will try that first with system overlay... i hate reflashing >.<

I dont have fancy extensions, too. It has just a trackball...

And does anyone know, how to remove the Signal Icon
[Android Software/Hacking General [Developers Only]] fun_:
CM7 for RK2918 is uploaded.

it's tested on Yuandao N50DT. if you have problem on "work" things, please tell me detail about your tablet e.g. "dmesg", "getevent -p", "ls /dev" "find /sys", and so on.

--

I saw random crash and no notifications/ringtones issue on RK2918 when I tried to use cramfs for system partition. they were disappeared after I switched to use ext3 for system partition.

I guess it's same for RK2818. I'll try another fs.
[Android Software/Hacking General [Developers Only]] fun_:
it happened only very short time frame. I was very lucky ;)

it will be disappeared again (like as my old images) on my next image.

EDIT:

btw there is SIP function in GB/CM7. and I think it's possible to use USB 3G dongles after necessary work/modification. you'll need files related to phone/sms for them.
[Android Software/Hacking General [Developers Only]] fun_:
it works only CM7 build with my patch.

you need to modify kernel, sensor.so, library, or class file.
[Android Software/Hacking General [Developers Only]] fun_:
is there any reason not to use your stock kernel for 70b?
[Android Software/Hacking General [Developers Only]] JDfense:
Fun_ did I get any comment you or did I lost you while using DaremoS stuff, too?

My goal is to brew the best gingerbread as possible, not making conflicts about thieve of not a thieve.
[Android Software/Hacking General [Developers Only]] wg542262963:
thanks,i am user of N50DT

is viedo not work?

:)